]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use greg_t and uintptr_t in x86-64 __makecontext
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6b6cd74b
L
12012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5 adresses to uintptr_t. Replace "long int" and "unsigned long
6 int" with "greg_t" on va_arg.
7
f1a77b01
L
82012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9
10 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
11 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12
13 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14 Move e_machine check before EI_CLASS check. Handle x32
15 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17 SKIP_EM_IA_64 and include
18 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19
20 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22 (add_system_dir): New macro.
23
24 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26
11b90b9f
JM
272012-03-16 Joseph Myers <joseph@codesourcery.com>
28
c36e1d23
JM
29 [BZ #2551]
30 [BZ #2552]
31 [BZ #2553]
32 [BZ #2554]
33 [BZ #2562]
34 [BZ #2563]
35 [BZ #2565]
36 [BZ #2566]
37 [BZ #2576]
38 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39 (y0): Likewise.
40 * math/w_j0f.c (j0f): Likewise.
41 (y0f): Likewise.
42 * math/w_j0l.c (__j0l): Likewise.
43 (__y0l): Likewise.
44 * math/w_j1.c (j1): Likewise.
45 (y1): Likewise.
46 * math/w_j1f.c (j1f): Likewise.
47 (y1f): Likewise.
48 * math/w_j1l.c (__j1l): Likewise.
49 (__y1l): Likewise.
50 * math/w_jn.c (jn): Likewise.
51 (yn): Likewise.
52 * math/w_jnf.c (jnf): Likewise.
53 (ynf): Likewise.
54 * math/w_jnl.c (__jnl): Likewise.
55 (__ynl): Likewise.
56 * math/libm-test.inc (j0_test): Add more tests.
57 (j1_test): Likewise.
58 (jn_test): Likewise. Add trailing semicolon to existing test.
59 (y0_test): Likewise.
60 (y1_test): Likewise.
61 * sysdeps/i386/fpu/libm-test-ulps: Update.
62 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63
11b90b9f
JM
64 [BZ #13851]
65 [BZ #13854]
66 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70 (__tanl): Set errno for infinite argument.
71 * sysdeps/i386/fpu/mptan.c: Remove.
72 * sysdeps/i386/fpu/s_tan.S: Likewise.
73 * sysdeps/i386/fpu/s_tanl.S: Likewise.
74 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
76 * math/libm-test.inc (tan_test): Add more tests and enable more
77 tests for double and long double.
78 * sysdeps/i386/fpu/libm-test-ulps: Update.
79 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80
6a1bd2a1
JK
812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
82
83 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
85
10a803e0
RM
862012-03-16 Roland McGrath <roland@hack.frob.com>
87
88 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
89 * configure.in: Use it for both main tree and add-ons.
90 * configure: Regenerated.
91
f196c7f7
L
922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
93
94 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
95
8848d99d
JM
962012-03-16 Joseph Myers <joseph@codesourcery.com>
97
96cbe7f4
JM
98 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
99 in comment.
100
8848d99d
JM
101 [BZ #13851]
102 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
103 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
104 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
105 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
106 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
107 infinite argument.
108 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
109 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
110 != 0 for prec == 2.
111 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
112 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
113 * sysdeps/i386/fpu/s_cosl.S: Likewise.
114 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
115 * sysdeps/i386/fpu/s_sinl.S: Likewise.
116 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
117 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
118 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
119 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
120 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
121 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
122 * math/libm-test.inc (cos_test): Add more tests and enable more
123 tests for long double.
124 (sin_test): Likewise.
125 (sincos_test): Likewise.
126 * sysdeps/i386/fpu/libm-test-ulps: Update.
127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
128
dd7f4703
DM
1292012-03-16 David S. Miller <davem@davemloft.net>
130
131 * sysdeps/sparc/fpu/math_private.h: New file.
132
006f1daa
DM
1332012-03-15 David S. Miller <davem@davemloft.net>
134
c0c83bc8
DM
135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
136 file.
e6a62e18 137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
139 file.
e6a62e18
DM
140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
146 sysdep routines.
147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
148
88cb87d9
DM
149 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
150 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
151
006f1daa 152 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
154 sparc-ifunc.h
006f1daa 155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
157 Likewise.
158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
159 Likewise.
006f1daa
DM
160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
164 Likewise.
006f1daa
DM
165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
170 Likewise.
171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
172 Likewise.
006f1daa
DM
173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
195 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
197
11e0098e
AS
1982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
199
200 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
201 scaling.
202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
203
e85b09d0
AJ
2042012-03-15 Andreas Jaeger <aj@suse.de>
205
206 [BZ #13852]
207 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
208 ieee754/flt-32 implementation for sin, cos and sincos.
209 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
210 * sysdeps/i386/fpu/s_cosf.S: Likewise.
211 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
212 * sysdeps/i386/fpu/s_sinf.S: Likewise.
213 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
214 ieee754/flt-32 implementation for tan.
215
216 * math/libm-test.inc (cos_test): Enable some large input tests for
217 float as well
218 (sin_test): Likewise.
219 (sincos_test): Likewise.
220 (tan_test): Add tests for large input.
221
222 * sysdeps/i386/fpu/libm-test-ulps: Update.
223
81c64153
AJ
2242012-03-15 Andreas Jaeger <aj@suse.de>
225
226 [BZ #13658]
227 * math/libm-test.inc (cos_test): Add more test cases.
228 (sin_test): Likewise.
229 (sincos_test): Likewise.
230
7bbfa5c6
AJ
2312012-03-15 Andreas Jaeger <aj@suse.de>
232
233 [BZ #13837]
234 * math/libm-test.inc (cos_test): Add a test case for large input
235 value.
236 (sin_test): Likewise.
237 (sincos_test): Likewise.
238
2392012-03-15 Andreas Jaeger <aj@suse.de>,
240 Joseph Myers <joseph@codesourcery.com>
241
242 [BZ #13658]
0671f479 243 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
244 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
245 * sysdeps/i386/fpu/branred.c: Likewise.
246 * sysdeps/i386/fpu/dosincos.c: Likewise.
247 * sysdeps/i386/fpu/mpa.c: Likewise.
248 * sysdeps/i386/fpu/s_cos.S: Likewise.
249 * sysdeps/i386/fpu/s_sin.S: Likewise.
250 * sysdeps/i386/fpu/s_sincos.S: Likewise.
251 * sysdeps/i386/fpu/sincos32.c: Likewise.
252
253 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
254 Define.
255 (libc_feupdateenv_53bit): Define.
256 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
257 Define.
258 (libc_feupdateenv_53bit): Define.
259
260 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
261 53 bit (without extend i386 double precision).
262
263 * math/libm-test.inc (sincos_test): Add tests for large input.
264 (sin): Likewise.
265 (cos): Likewise.
266
267 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
268
9cad04ea
AS
2692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
270
271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
272
f7062b9a
DM
2732012-03-15 David S. Miller <davem@davemloft.net>
274
275 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
276 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
277 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
278 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
291 file.
f7062b9a 292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
294 file.
f7062b9a 295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
297 file.
f7062b9a 298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
300 file.
f7062b9a
DM
301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
303 fmin/fmax sysdep routines.
304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
305
7bd951ff
DM
3062012-03-14 David S. Miller <davem@davemloft.net>
307
559398ab
DM
308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
337 routines.
338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
339 file.
559398ab 340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
342 file.
559398ab 343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
345 file.
559398ab 346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
348 file.
559398ab 349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
351 file.
559398ab 352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
354 file.
355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
356 file.
357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
358 file.
359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
360 file.
361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
362 New file.
363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
364 file.
365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
366 file.
559398ab 367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
369 file.
559398ab 370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
372 file.
559398ab 373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
375 file.
559398ab 376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
378 VIS3 routines.
559398ab
DM
379
380 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
381 New file.
382
5a1c1e32
DM
383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
384
eae47a36
DM
385 * sysdeps/sparc/configure.in: New file.
386 * sysdeps/sparc/configure: Generate.
387 * configure.in (libc_cv_sparc_as_vis3): Substitute.
388 * configure: Regenerate.
389 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
390 * config.make.in (have-as-vis3): New.
391 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
392 available use -Av9d instead of -Av9a.
393 * sysdeps/sparc/sparc64/Makefile: Likewise.
394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
396 New file.
397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
398 file.
399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
400 New file.
401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
402 file.
eae47a36
DM
403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
408
c0c83bc8
DM
409 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
410 fzeros/fnegs to load 0x80000000 into a float register instead of
411 using the stack.
7bd951ff
DM
412 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
413
bd951ccb
JM
4142012-03-14 Joseph Myers <joseph@codesourcery.com>
415
416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
417 bits/syscall.h.
418 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
419 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
420 ($(inst_includedir)/bits/syscall.h): Remove rule.
421 ($(objpfx)bits/syscall.d): Include instead of
422 $(objpfx)syscall-list.d.
423 (generated): Change syscall-list.h and syscall-list.d to
424 bits/syscall.h and bits/syscall.d.
425
bb4e6db2
RM
4262012-03-14 Roland McGrath <roland@hack.frob.com>
427
428 [BZ #13846]
429 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
430
aa4a2ae1
JM
4312012-03-14 Joseph Myers <joseph@codesourcery.com>
432
e456826d
JM
433 [BZ #13841]
434 * math/s_csqrt.c: Include <float.h>.
435 (__csqrt): Scale large or subnormal inputs.
436 * math/s_csqrtf.c: Likewise.
437 * math/s_csqrtl.c: Likewise.
438 * math/libm-test.inc (csqrt_test): Add more tests.
439 * sysdeps/i386/fpu/libm-test-ulps: Update.
440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
441
aa4a2ae1
JM
442 [BZ #13840]
443 * math/libm-test.inc (hypot_test): Add more tests.
444
7c10fd35
DM
4452012-03-13 David S. Miller <davem@davemloft.net>
446
447 [BZ #13840]
448 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
449 double-precision for the calculation instead of scaling.
450
f453b98b
JM
4512012-03-13 Joseph Myers <joseph@codesourcery.com>
452
453 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
454 manipulate bits before adding and subtracting TWO52[sx].
455 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
456 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
457 Likewise.
458 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
459
09a3453f
DM
4602012-03-13 David S. Miller <davem@davemloft.net>
461
8e59da90
DM
462 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
463 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
465 rtld-global-offsets.h
466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
467
2a8ab7f2
DM
468 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
469 large parameters.
470
10f62770
DM
471 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
472
5f0bdb18
DM
473 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
474 'err' in the ifdef scope in which it is actually used.
475
09a3453f
DM
476 * nss/nss_db/db-init.c: Include string.h
477
b4b2eb5e
DM
4782012-03-12 David S. Miller <davem@davemloft.net>
479
98bb2f1c
DM
480 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
481 masking out of the most significant byte of random value used.
482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
483 Fix coding style in previous change.
484
b4b2eb5e
DM
485 * sysdeps/unix/sysv/linux/kernel-features.h
486 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
487 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
488 expression.
489 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
490 later.
491
6e226b09
DM
4922012-03-11 David S. Miller <davem@davemloft.net>
493
a1bcbd40
DM
494 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
495 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
496 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
497 for 'resultvar' otherwise things get truncated on 64-bit.
498
cb9d6174
DM
499 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
500 Fix masking out of the most significant byte of random value used.
501
6e226b09
DM
502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
503
058c132d
AS
5042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
505
506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
507
2d2cd515
DM
5082012-03-09 David S. Miller <davem@davemloft.net>
509
510 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
511 variables with appropriate CPP guards.
512 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
513 frame pointer, not the stack pointer. Correct layout comments. Fix test
514 on resulting framesize and the management of the outregs buffer for pltexit.
515 Preserve floating point return values across _dl_call_pltexit call.
516 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
517 framesize and the management of the outregs buffer for pltexit.
518 Preserve floating point return values across _dl_call_pltexit
519 call.
520 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
521 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
522 (print_exit): Fix format string for return register value.
523
9a07f9d0
JM
5242012-03-10 Joseph Myers <joseph@codesourcery.com>
525
526 * sunrpc/Makefile (others): Add rpcgen.
527 ($(objpfx)rpcgen): Remove special build rule and dependency on
528 libc.
529 * sunrpc/rpcgen.c: New file.
530
547b5e30
PE
5312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
532
c524201a
PE
533 [BZ #13673]
534 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
535 * stdio-common/bug-vfprintf-nargs.c: Likewise.
536 * sysdeps/i386/crti.S: Likewise.
537 * sysdeps/i386/crtn.S: Likewise.
538 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
539 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
540 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
541 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
542 * sysdeps/sh/crti.S: Likewise.
543 * sysdeps/sh/crtn.S: Likewise.
544 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
545
7b6235f2
PE
546 [BZ #13673]
547 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
548 with URL.
549 * locale/programs/locfile-kw.gperf: Likewise.
550 * locale/programs/charmap-kw.h: Regenerated.
551 * locale/programs/locfile-kw.h: Likewise.
552
547b5e30
PE
553 [BZ #13673]
554 * intl/plural.y: Replace FSF snail mail address with URL.
555 * intl/plural.c: Regenerated.
556
5f0a5dae
RH
5572012-03-09 Richard Henderson <rth@twiddle.net>
558
559 * include/math_private.h: Remove file.
560 * math/math_private.h: Move file ...
561 * sysdeps/generic/math_private.h: ... here.
562
b8c03620
RH
563 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
564 * sysdeps/powerpc/fpu/math_private.h: Likewise.
565 * sysdeps/x86_64/fpu/math_private.h: Likewise.
566
4e234f5d 567 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
568 and <math_private.h>.
569 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
570 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
571 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
572 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
573 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
574 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
575 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
577 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
578 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
580 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
581 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
582 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
583 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
584 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
585 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
586 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
587 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
588 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
590 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
591 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
592 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
593 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
594 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
595 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
598 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
599 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
601 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
602 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
603 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
604 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
605 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
606 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
607 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
608 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
609 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
610 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
611 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
612 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
613 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
614 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
615 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
616 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
617 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
618 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
619 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
620 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
621 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
622 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
623 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
624 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
625 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
626 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
627 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
628 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
630 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
632 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
633 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
634 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
635 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
636 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
637 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
638 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
639 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
640 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
641 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
642 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
643 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
645 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
648 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
649 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
650 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
651 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
652 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
656 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
657 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
658 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
659 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
660 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
661 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
662 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
663 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
664 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
665 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
666 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
667 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
668 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
669 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
670 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
671 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
672 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
673 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
674 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
675 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
676 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
677 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
679 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
680 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
681 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
682 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
683 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
685 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
686 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
687 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
688 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
689 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
690 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
691 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
692 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
693 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
694 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
695 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
696 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
697 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
698 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
699 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
700 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
701 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
702 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
703 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
704 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
705 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
706 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
707 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
708 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
709 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
710 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
711 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
712 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
713 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
714 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
715 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
716 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
717 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
718 * sysdeps/ieee754/k_standard.c: Likewise.
719 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
720 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
722 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
723 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
724 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
725 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
726 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
727 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
728 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
729 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
730 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
731 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
732 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
733 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
734 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
735 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
736 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
737 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
738 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
739 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
740 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
741 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
742 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
743 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
744 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
745 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
746 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
747 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
748 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
749 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
750 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
751 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
752 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
753 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
754 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
756 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
757 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
758 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
759 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
760 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
761 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
762 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
763 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
764 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
765 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
767 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
768 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
769 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
770 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
771 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
772 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
775 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
776 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
777 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
778 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
779 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
780 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
781 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
783 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
784 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
785 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
786 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
788 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
789 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
793 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
794 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
795 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
796 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
797 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
798 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
799 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
800 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
803 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
804 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
806 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
807 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
810 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
812 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
813 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
814 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
815 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
816 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
817 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
818 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
820 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
821 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
823 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
824 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
825 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
826 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
827 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
828 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
829 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
830 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
831 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
832 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
833 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
834 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
835 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
836 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
837 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
838 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
839 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
840 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
841 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
842 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
843 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
844 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
845 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
846 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
847 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
848 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
849 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
850 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
851 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
852 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
853 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
854 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
855 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
856 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
857 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
858 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
859 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
860 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
861 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
862 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
863 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
864 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
865 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
866 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
867 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
868 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
869 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
870 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
871 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
872 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
873 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
874 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
875 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
876 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
877 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
878 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
879 * sysdeps/ieee754/s_lib_version.c: Likewise.
880 * sysdeps/ieee754/s_matherr.c: Likewise.
881 * sysdeps/ieee754/s_signgam.c: Likewise.
882 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
883 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
884 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
885 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
886 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
887 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
888 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
889 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
890 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
891 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
892 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
893 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
894 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
895 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
896 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
897 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
898 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
899 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
900 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
901 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 903
1991fa03
JM
9042012-03-09 Joseph Myers <joseph@codesourcery.com>
905
906 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
907 * sunrpc/rpc_main.c: Likewise.
908 * sunrpc/rpc_svcout.c: Likewise.
909
60d6f5a6
DM
9102012-03-09 David S. Miller <davem@davemloft.net>
911
912 * include/math_private.h: New file.
913
4962050e
JM
9142012-03-09 Joseph Myers <joseph@codesourcery.com>
915
02a6f887
JM
916 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
917 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
918 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
919 from <bits/socket_type.h>.
920 (enum __socket_type): Don't define here.
921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
923 bits/socket_type.h.
924
c6e013c1
JM
925 [BZ #13566]
926 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
927 checking __USE_GNU.
928
4962050e
JM
929 * Makerules ($(inst_includedir)/%.h): New rule.
930 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
931 (install-others): Remove variable setting.
932 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
933
38842f45
RH
9342012-03-08 Richard Henderson <rth@twiddle.net>
935
67bb6da6
RH
936 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
937 from macro to inline function; merge with the
938 !__LIBC_INTERNAL_MATH_INLINES version.
939 (__ieee754_sqrtf): Likewise.
940
15194b4b
RH
941 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
942 to inline function.
943 (__rintf, __floor, __floorf): Likewise.
944
64e21ede
RH
945 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
946 macro to inline function.
947 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
948
38842f45
RH
949 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
950 not <math/math_private.h>.
951
c64bf5fe
DM
9522012-03-08 David S. Miller <davem@davemloft.net>
953
954 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
955 copyright year.
956 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
957
82d86f28
TS
9582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
959
960 * resolv/gai_misc.c (handle_requests): Fix struct timespec
961 normalization.
962 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
963 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
964
aea5d727
UD
9652012-03-08 Ulrich Drepper <drepper@gmail.com>
966
967 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
968 be defined individually, they must be defined as a block. Define
969 S for printing a string instead of hidint the different by using a
970 macro for adding the 'l'.
971 * stdio-common/tst-fphex-wide.c: Adjust.
972
70bca0a3
MP
9732012-03-07 Marek Polacek <polacek@redhat.com>
974
975 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
976
65b81130
MP
9772012-03-08 Marek Polacek <polacek@redhat.com>
978
979 [BZ #13806]
980 * stdio-common/Makefile (tests): Add tst-fphex-wide.
981 * stdio-common/tst-fphex.c: Define a few macros to make the
982 test reusable. Use them.
983 * stdio-common/tst-fphex-wide.c: New file.
984
07037eeb
JM
9852012-03-08 Joseph Myers <joseph@codesourcery.com>
986
a7a93d50
JM
987 [BZ #6911]
988 * manual/macros.texi (gnusystems): New macro.
989 (nongnusystems): Likewise.
990 (gnulinuxhurdsystems): Likewise.
991 (gnuhurdsystems): Likewise..
992 (gnulinuxsystems): Likewise.
993 * manual/charset.texi: Use new macros or @theglibc{} to refer to
994 variants of the GNU system, not "GNU system".
995 * manual/conf.texi: Likewise.
996 * manual/errno.texi: Likewise. Update example of errno macro
997 expansion.
998 * manual/filesys.texi: Likewise.
999 (getumask): Document as specific to GNU/Hurd.
1000 * manual/install.texi: Likewise. Reword some references to
1001 GNU/Linux.
1002 * manual/intro.texi: Likewise.
1003 * manual/io.texi: Likewise.
1004 (File Name Portability): Detail which constraints are inapplicable
1005 to all GNU systems and which are only inapplicable to GNU/Hurd.
1006 * manual/job.texi: Likewise.
1007 * manual/llio.texi: Likewise.
1008 (O_NOCTTY): Document as present on GNU/Linux.
1009 * manual/maint.texi: Likewise.
1010 * manual/memory.texi: Likewise.
1011 * manual/pattern.texi: Likewise.
1012 * manual/pipe.texi: Likewise.
1013 * manual/process.texi: Likewise.
1014 * manual/resource.texi: Likewise.
1015 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1016 child on GNU/Hurd.
1017 * manual/setjmp.texi: Likewise.
1018 * manual/signal.texi: Likewise.
1019 * manual/startup.texi: Likewise.
1020 * manual/stdio.texi: Likewise.
1021 * manual/terminal.texi: Likewise.
1022 (ONLCR): Document as POSIX.
1023 (OXTABS): Document availability on GNU/Linux as XTABS.
1024 (ONOEOT): Document availability separately from other bits.
1025 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1026 * manual/time.texi: Likewise.
1027 * manual/users.texi: Likewise.
1028 * INSTALL: Regenerated.
1029 * sysdeps/gnu/errlist.c: Regenerated.
1030
07037eeb
JM
1031 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1032 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1033 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1034 puts.
1035 * configure: Regenerated.
1036
d1d3431a
JM
10372012-03-07 Joseph Myers <joseph@codesourcery.com>
1038
af6a1e37
JM
1039 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1040 default includes instead of AC_HEADER_CHECK.
1041 * sysdeps/i386/configure: Regenerated.
1042
d1d3431a
JM
1043 [BZ #10716]
1044 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1045 * math/s_cacoshf.c (__cacoshf): Likewise.
1046 * math/s_cacoshl.c (__cacoshl): Likewise.
1047 * math/s_casinh.c (__casinh): Set signs of result from argument.
1048 * math/s_casinhf.c (__casinhf): Likewise.
1049 * math/s_casinhl.c (__casinhl): Likewise.
1050 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1051 (casinh_test): Add more tests.
1052 * sysdeps/i386/fpu/libm-test-ulps: Update.
1053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1054
482ff4da
UD
10552012-03-07 Ulrich Drepper <drepper@gmail.com>
1056
872fda05
UD
1057 * po/zh_TW.po: Update from translation team.
1058
a4300c7a
UD
1059 * login/Makefile (distribute): Remove variable.
1060 * catgets/Makefile: Likewise.
1061 * mach/Makefile: Likewise.
1062 * malloc/Makefile: Likewise.
1063 * misc/Makefile: Likewise.
1064 * iconv/Makefile: Likewise.
1065 * nscd/Makefile: Likewise.
1066 * hurd/Makefile: Likewise.
1067 * manual/Makefile: Likewise.
1068 * locale/Makefile: Likewise.
1069 * intl/Makefile: Likewise.
1070 * conform/Makefile: Likewise.
1071 * nss/Makefile: Likewise.
1072 * time/Makefile: Likewise.
1073 * soft-fp/Makefile: Likewise.
1074 * dirent/Makefile: Likewise.
1075 * gmon/Makefile: Likewise.
1076 * po/Makefile: Likewise.
1077 * rt/Makefile: Likewise.
1078 * socket/Makefile: Likewise.
1079 * math/Makefile: Likewise.
1080 * signal/Makefile: Likewise.
1081 * debug/Makefile: Likewise.
1082 * elf/Makefile: Likewise.
1083 * timezone/Makefile: Likewise.
1084 * stdlib/Makefile: Likewise.
1085 * iconvdata/Makefile: Likewise.
1086 * sunrpc/Makefile: Likewise.
1087 * io/Makefile: Likewise.
1088 * argp/Makefile: Likewise.
1089 * inet/Makefile: Likewise.
1090 * hesiod/Makefile: Likewise.
1091 * grp/Makefile: Likewise.
1092 * csu/Makefile: Likewise.
1093 * wctype/Makefile: Likewise.
1094 * crypt/Makefile: Likewise.
1095 * libio/Makefile: Likewise.
1096 * string/Makefile: Likewise.
1097 * nis/Makefile: Likewise.
1098 * resolv/Makefile: Likewise.
1099 * stdio-common/Makefile: Likewise.
1100 * wcsmbs/Makefile: Likewise.
1101 * dlfcn/Makefile: Likewise.
1102 * posix/Makefile: Likewise.
1103
482ff4da
UD
1104 * timezone/Makefile: Don't install timezone files, just the programs
1105 and scripts.
1106
f72ed77d
UD
11072012-03-06 Ulrich Drepper <drepper@gmail.com>
1108
a000466f
UD
1109 * nss/databases.def: Add missing gshadow entry.
1110
f72ed77d
UD
1111 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1112
a53b7a4e
MP
11132012-03-06 Marek Polacek <polacek@redhat.com>
1114
1115 [BZ #13726]
1116 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1117 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1118 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1119 * stdio-common/tst-long-dbl-fphex.c: New file.
1120
e9258400
DM
11212012-03-06 David S. Miller <davem@davemloft.net>
1122
1123 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1124 (set_obp_int): New function.
1125 (get_obp_int): New function.
1126 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1127 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1128 Avoid unused variable warnings on 'val' and use builtin_expect.
1129 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1130 __builtin_expect.
e9258400
DM
1131 (INLINE_CLONE_SYSCALL): Likewise.
1132
3bd2c723
DM
11332012-03-05 David S. Miller <davem@davemloft.net>
1134
1135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1136
bbb78d03
AS
11372012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1138
884c5db4
AS
1139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1140
bbb78d03
AS
1141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1142 only for |x| >= 40.
1143 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1144
1c9f702a 11452012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1146
1147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1148 Replace gettimeofday with __vdso_gettimeofday.
1149
7be16f82
RM
1150 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1151 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1152 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1153
1154 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1155 time with __vdso_time.
1156
ed58a00f
JM
11572012-03-05 Joseph Myers <joseph@codesourcery.com>
1158
1159 * manual/lang.texi (size_t): Note types to which size_t may be
1160 equivalent with the GNU C Library, but do not describe when
1161 differences between them are significant.
1162
30ee4ced
AJ
11632012-03-05 Andreas Jaeger <aj@suse.de>
1164
1165 * sysdeps/i386/fpu/libm-test-ulps: Update.
1166
b7cd39e8
JM
11672012-03-05 Joseph Myers <joseph@codesourcery.com>
1168
1169 [BZ #3976]
1170 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1171 (__ieee754_pow): Save and restore rounding mode and use
1172 round-to-nearest for main computations.
1173 * math/libm-test.inc (pow_test_tonearest): New function.
1174 (pow_test_towardzero): Likewise.
1175 (pow_test_downward): Likewise.
1176 (pow_test_upward): Likewise.
1177 (main): Call the new functions.
1178 * sysdeps/i386/fpu/libm-test-ulps: Update.
1179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1180
1181 [BZ #3976]
1182 * math/libm-test.inc (cosh_test_tonearest): New function.
1183 (cosh_test_towardzero): Likewise.
1184 (cosh_test_downward): Likewise.
1185 (cosh_test_upward): Likewise.
1186 (sinh_test_tonearest): Likewise.
1187 (sinh_test_towardzero): Likewise.
1188 (sinh_test_downward): Likewise.
1189 (sinh_test_upward): Likewise.
1190 (main): Call the new functions.
1191 * sysdeps/i386/fpu/libm-test-ulps: Update.
1192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1193
6c6a98c9
TV
11942012-03-05 Tom de Vries <tom@codesourcery.com>
1195
1196 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1197 default stack guard is set in last bytes.
1198 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1199
21bb2d2e 12002012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1201
21bb2d2e 1202 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1203
21bb2d2e
AJ
1204 [BZ #13656]
1205 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1206 possibly allocate from heap instead of stack.
1207 * stdio-common/bug-vfprintf-nargs.c: New file.
1208 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1209
c6922934
AS
12102012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1211
1212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1213
bc957d53
MP
12142012-03-03 Marek Polacek <polacek@redhat.com>
1215
1216 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1217 * math/math_private.h: Likewise.
1218 * stdlib/tst-strtod.c: Likewise.
1219 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1220 * sysdeps/x86_64/bits/atomic.h: Likewise.
1221
6358490d
DM
12222012-03-02 David S. Miller <davem@davemloft.net>
1223
1224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1228 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1229 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1230 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1231 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1232
01ae168d
RM
12332012-03-02 Roland McGrath <roland@hack.frob.com>
1234
d9a17c07
RM
1235 [BZ #13792]
1236 * manual/examples/README: New file, says the example source files
1237 can be used under GPL>=2.
1238 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1239 line containing just "*/".
1240 * manual/examples/add.c: Add copyright header (GPL>=2).
1241 * manual/examples/argp-ex1.c: Likewise.
1242 * manual/examples/argp-ex2.c: Likewise.
1243 * manual/examples/argp-ex3.c: Likewise.
1244 * manual/examples/argp-ex4.c: Likewise.
1245 * manual/examples/atexit.c: Likewise.
1246 * manual/examples/db.c: Likewise.
1247 * manual/examples/dir.c: Likewise.
1248 * manual/examples/dir2.c: Likewise.
1249 * manual/examples/execinfo.c: Likewise.
1250 * manual/examples/filecli.c: Likewise.
1251 * manual/examples/filesrv.c: Likewise.
1252 * manual/examples/fmtmsgexpl.c: Likewise.
1253 * manual/examples/genpass.c: Likewise.
1254 * manual/examples/inetcli.c: Likewise.
1255 * manual/examples/inetsrv.c: Likewise.
1256 * manual/examples/isockad.c: Likewise.
1257 * manual/examples/longopt.c: Likewise.
1258 * manual/examples/memopen.c: Likewise.
1259 * manual/examples/memstrm.c: Likewise.
1260 * manual/examples/mkfsock.c: Likewise.
1261 * manual/examples/mkisock.c: Likewise.
1262 * manual/examples/mygetpass.c: Likewise.
1263 * manual/examples/pipe.c: Likewise.
1264 * manual/examples/popen.c: Likewise.
1265 * manual/examples/rprintf.c: Likewise.
1266 * manual/examples/search.c: Likewise.
1267 * manual/examples/select.c: Likewise.
1268 * manual/examples/setjmp.c: Likewise.
1269 * manual/examples/sigh1.c: Likewise.
1270 * manual/examples/sigusr.c: Likewise.
1271 * manual/examples/stpcpy.c: Likewise.
1272 * manual/examples/strdupa.c: Likewise.
1273 * manual/examples/strftim.c: Likewise.
1274 * manual/examples/strncat.c: Likewise.
1275 * manual/examples/subopt.c: Likewise.
1276 * manual/examples/swapcontext.c: Likewise.
1277 * manual/examples/termios.c: Likewise.
1278 * manual/examples/testopt.c: Likewise.
1279 * manual/examples/testpass.c: Likewise.
1280 * manual/examples/timeval_subtract.c: Likewise.
1281
01ae168d
RM
1282 [BZ #13792]
1283 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1284 function to ...
1285 * manual/timeval_subtract.c.texi: ... here, new file.
1286
49efa33d
DM
12872012-03-02 David S. Miller <davem@davemloft.net>
1288
1289 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1290
28afd92d
JM
12912012-03-02 Joseph Myers <joseph@codesourcery.com>
1292
804360ed
JM
1293 [BZ #3976]
1294 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1295 (__sin): Save and restore rounding mode and use round-to-nearest
1296 for all computations.
1297 (__cos): Save and restore rounding mode and use round-to-nearest
1298 for all computations.
1299 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1300 <fenv.h>.
1301 (tan): Save and restore rounding mode and use round-to-nearest for
1302 all computations.
1303 * math/libm-test.inc (cos_test_tonearest): New function.
1304 (cos_test_towardzero): Likewise.
1305 (cos_test_downward): Likewise.
1306 (cos_test_upward): Likewise.
1307 (sin_test_tonearest): Likewise.
1308 (sin_test_towardzero): Likewise.
1309 (sin_test_downward): Likewise.
1310 (sin_test_upward): Likewise.
1311 (tan_test_tonearest): Likewise.
1312 (tan_test_towardzero): Likewise.
1313 (tan_test_downward): Likewise.
1314 (tan_test_upward): Likewise.
1315 (main): Call the new functions.
1316 * sysdeps/i386/fpu/libm-test-ulps: Update.
1317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1318
a6d06d7b
JM
1319 [BZ #10135]
1320 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1321 small n, then large n, before computing and testing k+n.
1322 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1323 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1324 Likewise.
1325 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1326 Likewise.
1327 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1328 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1329 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1330 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1333 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1334 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1335 * math/libm-test.inc (scalbn_test): Add more tests.
1336 (scalbln_test): Likewise.
1337
07e12bb3
JM
1338 * manual/filesys.texi (mode_t): Describe constraints on size and
1339 signedness, not exact equivalence to a particular type.
1340 (ino_t): Likewise.
1341 (ino64_t): Likewise.
1342 (dev_t): Likewise.
1343 (nlink_t): Likewise.
1344 (blkcnt_t): Likewise.
1345 (blkcnt64_t): Likewise.
1346 * manual/llio.texi (off_t): Likewise.
1347
28afd92d
JM
1348 [BZ #3976]
1349 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1350 (__ieee754_exp): Save and restore rounding mode and use
1351 round-to-nearest for all computations.
1352 * math/libm-test.inc (exp_test_tonearest): New function.
1353 (exp_test_towardzero): Likewise.
1354 (exp_test_downward): Likewise.
1355 (exp_test_upward): Likewise.
1356 (main): Call the new functions.
1357 * sysdeps/i386/fpu/libm-test-ulps: Update.
1358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1359
b1eeb65d
CD
13602012-03-01 Chris Demetriou <cgd@google.com>
1361
1362 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1363 have predictable order.
1364
53362a4b
DM
13652012-03-01 David S. Miller <davem@davemloft.net>
1366
3c969083
DM
1367 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1368
759707de
DM
1369 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1370 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1371 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1372 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1373
dfdb8ff2
DM
1374 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1375 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1376 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1378 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1379 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1380 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1381 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1382 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1383
ead89f96
DM
1384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1385
7f66bd07
DM
1386 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1387 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1388 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1389
53362a4b
DM
1390 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1391 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1392 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1393 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1394 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1396 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1397 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1398 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1399 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1400 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1401 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1404 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1406 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1407 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1408 * sysdeps/sparc/elf/configure: Regenerated.
1409
7b1902cb
JM
14102012-03-01 Joseph Myers <joseph@codesourcery.com>
1411
bec039bc
JM
1412 * configure.in (AS, LD): Require binutils 2.20 or later.
1413 * configure: Regenerated.
1414 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1415 as required minimum version.
1416 * INSTALL: Regenerated.
1417
7b1902cb
JM
1418 [BZ #2541]
1419 [BZ #4108]
1420 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1421 before squaring exponent.
1422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1423 bottom long double and 27 bits of top long double before squaring
1424 exponent.
1425 * math/libm-test.inc (erfc_test): Add more tests.
1426 * sysdeps/i386/fpu/libm-test-ulps: Update.
1427 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1429
f775c276
KT
14302012-03-01 Kai Tietz <ktietz@redhat.com>
1431
1432 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1433 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1434 containing bit-fields.
1435 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1436 * soft-fp/single.h (_FP_UNION_S): Likewise.
1437 * soft-fp/double.h (_FP_UNION_D): Likewise.
1438
5b8a4d4a
JM
14392012-02-29 Joseph Myers <joseph@codesourcery.com>
1440
0bab47b6
JM
1441 [BZ #13786]
1442 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1443 not include ../strcmp.S.
1444 [USE_AS_STRNCASECMP_L]: Likewise.
1445 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1446 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1447 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1448 (__strncasecmp_l_ia32): Define as alias to
1449 __strncasecmp_l_nonascii.
1450
0fcad3e2
JM
1451 [BZ #5794]
1452 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1453 * sysdeps/i386/fpu/libm-test-ulps: Update.
1454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1455
5b8a4d4a
JM
1456 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1458
8fdceb2e
JL
14592012-02-29 Jeff Law <law@redhat.com>
1460
1461 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1462 out of bounds read.
1463
1f393a11
MP
14642012-02-29 Marek Polacek <polacek@redhat.com>
1465
1466 [BZ #13706]
1467 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1468 * elf/Makefile: Add rules to run tst-unused-dep.out.
1469
8847f037
DM
14702012-02-28 David S. Miller <davem@davemloft.net>
1471
1472 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1473 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1476 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1477 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1478
169d7f11
JM
14792012-02-29 Joseph Myers <joseph@codesourcery.com>
1480
1481 * math/libm-test.inc (llround_test): Move one test from
1482 lround_test. Use TEST_f_L in moved test.
1483 (lround_test): Move misplaced test to llround_test. Add testcase
1484 from bug 2561.
1485
39adf059
UD
14862012-02-28 Ulrich Drepper <drepper@gmail.com>
1487
1488 * sysdeps/x86_64/fpu/e_expf.S: New file.
1489 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1490
71b5d1c5
SB
14912012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1492
1493 [BZ #13637]
1494 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1495 of remain_len that may cause incomplete multi-byte character and
1496 false match.
1497 * posix/bug-regex33.c: New file.
1498 * posix/Makefile (tests): Add bug-regex33.
1499
1f77f049
JM
15002012-02-28 Joseph Myers <joseph@codesourcery.com>
1501
1502 * manual/macros.texi: New file.
1503 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1504 * manual/libc.texinfo: Include macros.texi.
1505 * manual/creatute.texi: Likewise.
1506 * manual/install.texi: Likewise.
1507 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1508 @glibcadj{} in references to the GNU C Library.
1509 * manual/charset.texi: Likewise.
1510 * manual/conf.texi: Likewise.
1511 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1512 when not using those macros.
1513 * manual/creature.texi: Likewise.
1514 * manual/crypt.texi: Likewise.
1515 * manual/errno.texi: Likewise.
1516 * manual/filesys.texi: Likewise.
1517 * manual/header.texi: Likewise.
1518 * manual/install.texi: Likewise.
1519 * manual/intro.texi: Likewise.
1520 * manual/io.texi: Likewise.
1521 * manual/job.texi: Likewise.
1522 * manual/lang.texi: Likewise.
1523 * manual/libc.texiinfo: Likewise.
1524 * manual/llio.texi: Likewise.
1525 * manual/locale.texi: Likewise.
1526 * manual/maint.texi: Likewise.
1527 * manual/math.texi: Likewise.
1528 * manual/memory.texi: Likewise.
1529 * manual/message.texi: Likewise.
1530 * manual/nss.texi: Likewise.
1531 * manual/pattern.texi: Likewise.
1532 * manual/process.texi: Likewise.
1533 * manual/resource.texi: Likewise.
1534 * manual/search.texi: Likewise.
1535 * manual/setjmp.texi: Likewise.
1536 * manual/signal.texi: Likewise.
1537 * manual/socket.texi: Likewise.
1538 * manual/startup.texi: Likewise.
1539 * manual/stdio.texi: Likewise.
1540 * manual/string.texi: Likewise.
1541 * manual/sysinfo.texi: Likewise.
1542 * manual/syslog.texi: Likewise.
1543 * manual/terminal.texi: Likewise.
1544 * manual/time.texi: Likewise.
1545 * manual/users.texi: Likewise.
1546 * INSTALL: Regenerated.
1547 * NOTES: Regenerated.
d40c5d54 1548 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1549
450bf206
AS
15502012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1551
1552 * include/dirent.h: Include <dirstream.h> before
1553 <dirent/dirent.h>.
1554
741a235b
DM
15552012-02-28 David S. Miller <davem@davemloft.net>
1556
1557 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1558 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1559 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1560 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1561
d6b5aa58
DM
15622012-02-27 David S. Miller <davem@davemloft.net>
1563
1aff59a3
DM
1564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1566 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1567 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1568
d6b5aa58
DM
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1570 frame pointer instead of stack pointer relative arg slot.
1571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1572 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1573 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1574
433f48bf
CD
15752012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1576
1577 [BZ #3992]
1578 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1579
d674b76d
DM
15802012-02-27 David S. Miller <davem@davemloft.net>
1581
1582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1586 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1587 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1588 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1589 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1590
0e7727f7
JM
15912012-02-27 Joseph Myers <joseph@codesourcery.com>
1592
1593 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1594 later. Allow versions 5-9.
43be4ca2 1595 * configure: Regenerated.
0e7727f7
JM
1596 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1597 required minimum version and 4.6 as recommended version. Do not
1598 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1599 * INSTALL: Regenerated.
0e7727f7 1600
a78bc654
DM
16012012-02-27 David S. Miller <davem@davemloft.net>
1602
428d5830
DM
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1607 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1608 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1609 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1610 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1611
a78bc654
DM
1612 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1613 manipulate bits before adding and subtracting TWO112[sx].
1614 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1615
4579f81c
RM
16162012-02-27 Roland McGrath <roland@hack.frob.com>
1617
36c8acb4
RM
1618 [BZ #13775]
1619 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1620 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1621 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1622 being in POSIX, because they are in 1003.1-2008.
1623
84ad622b
RM
1624 * rt/tst-aio.c: Include <fcntl.h>.
1625 * rt/tst-aio7.c: Likewise.
1626 * rt/tst-aio64.c: Likewise.
1627
4579f81c
RM
1628 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1629
abd923db
JM
16302012-02-27 Joseph Myers <joseph@codesourcery.com>
1631
1632 * manual/install.texi (--with-headers): Describe headers as
1633 interface headers, not private headers.
1634 (Specific advice for GNU/Linux systems): Describe use of headers
1635 from "make headers_install", not private headers from older
1636 kernels.
43be4ca2 1637 * INSTALL: Regenerated.
abd923db
JM
1638 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1639 Change to 2.6.19.
1640 * sysdeps/unix/sysv/linux/configure: Regenerated.
1641
6664049b
JM
1642 * manual/llio.texi (fclean): Remove documentation.
1643
bb8b6697
JM
1644 * manual/Makefile (libc-texi-generated): New variable. Include
1645 version.texi.
1646 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1647 $(libc-texi-generated), not duplicated list of files.
1648 (version.texi, stamp-version): New rules.
1649 (realclean): Remove $(libc-texi-generated), not individual files
1650 from that list. Do not remove dir-add.texinfo.
1651 * manual/libc.texinfo: Comment out uses of edition numbers and
1652 references to printed manual. Remove last-updated dates.
1653 (EDITION): Comment out.
1654 (ISBN): Likewise.
1655 (VERSION, UPDATED): Remove.
1656 (version.texi): Include.
1657
12e5c3b9
AS
16582012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1659
1660 * sysdeps/posix/spawni.c: Include <signal.h>.
1661 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1662 * sysdeps/pthread/aio_fsync.c: Likewise.
1663
4efeffc1 16642012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1665
ba63ba08
UD
1666 * conform/Makefile (tests): Run only when not cross-compiling and
1667 when fast-check is not defined.
1668
d94a4670
UD
1669 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1670 * conform/data/limits.h-data: Fixes for POSIX2008.
1671 * conform/run-conformtest.sh: Run all tests.
1672 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1673 headers.
1674 * include/bits/dlfcn.h: Likewise.
1675 * include/langinfo.h: Likewise.
1676 * include/monetary.h: Likewise.
1677 * include/sys/poll.h: Likewise.
1678
1679 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1680 for __USE_GNU.
1681 * posix/spawn.h: Define __need_sigset_t.
1682 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1683 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1684 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1685 to get sigevent_t only.
1686 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1687 only for __USE_GNU.
1688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1689 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1690 process_vm_writev only for __USE_GNU.
1691 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1692
1693 * conform/Makefile: For now ignore errors from run-conformtest.
1694 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1695 POSIX to avoid namespace pollution. Don't prepend headers.
1696 * conform/data/aio.h-data: Fixes for POSIX testing.
1697 * conform/data/fcntl.h-data: Likewise.
1698 * conform/data/glob.h-data: Likewise.
1699 * conform/data/grp.h-data: Likewise.
1700 * conform/data/pthread.h-data: Likewise.
1701 * conform/data/pwd.h-data: Likewise.
1702 * conform/data/signal.h-data: Likewise.
1703 * conform/data/spawn.h-data: Likewise.
1704 * conform/data/stdio.h-data: Likewise.
1705 * conform/data/stdlib.h-data: Likewise.
1706 * conform/data/stropts.h-data: Likewise.
1707 * conform/data/sys/mman.h-data: Likewise.
1708 * conform/data/sys/stat.h-data: Likewise.
1709 * conform/data/sys/types.h-data: Likewise.
1710 * conform/data/sys/wait.h-data: Likewise.
1711 * conform/data/time.h-data: Likewise.
1712 * conform/data/unistd.h-data: Likewise.
1713 * conform/data/utime.h-data: Likewise.
1714
1715 * io/sys/stat.h: fchmod was always in POSIX.
1716 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1717 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1718 * rt/aio.h: Define __need_timespec before including <time.h>.
1719 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1720 struct. Add forward declaration of pthread_attr_t and use it in
1721 sigevent.
1722 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1723 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1724 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1725 always remove CLK_TCK definition.
1726
c20105c3
AS
17272012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1728
1729 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1730
7a270350
UD
17312012-02-25 Ulrich Drepper <drepper@gmail.com>
1732
31341567
UD
1733 * conform/run-conformtest.sh: New file.
1734 * conform/Makefile: Run run-conformtest for tests.
1735 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1736 support.
1737
1738 * conform/data/uchar.h-data: New file.
1739 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1740 * conform/data/arpa/inet.h-data: Likewise.
1741 * conform/data/assert.h-data: Likewise.
1742 * conform/data/complex.h-data: Likewise.
1743 * conform/data/cpio.h-data: Likewise.
1744 * conform/data/ctype.h-data: Likewise.
1745 * conform/data/dirent.h-data: Likewise.
1746 * conform/data/dlfcn.h-data: Likewise.
1747 * conform/data/errno.h-data: Likewise.
1748 * conform/data/fcntl.h-data: Likewise.
1749 * conform/data/float.h-data: Likewise.
1750 * conform/data/fmtmsg.h-data: Likewise.
1751 * conform/data/fnmatch.h-data: Likewise.
1752 * conform/data/ftw.h-data: Likewise.
1753 * conform/data/glob.h-data: Likewise.
1754 * conform/data/grp.h-data: Likewise.
1755 * conform/data/iconv.h-data: Likewise.
1756 * conform/data/inttypes.h-data: Likewise.
1757 * conform/data/langinfo.h-data: Likewise.
1758 * conform/data/libgen.h-data: Likewise.
1759 * conform/data/limits.h-data: Likewise.
1760 * conform/data/locale.h-data: Likewise.
1761 * conform/data/math.h-data: Likewise.
1762 * conform/data/monetary.h-data: Likewise.
1763 * conform/data/mqueue.h-data: Likewise.
1764 * conform/data/ndbm.h-data: Likewise.
1765 * conform/data/net/if.h-data: Likewise.
1766 * conform/data/netdb.h-data: Likewise.
1767 * conform/data/netinet/in.h-data: Likewise.
1768 * conform/data/nl_types.h-data: Likewise.
1769 * conform/data/poll.h-data: Likewise.
1770 * conform/data/pthread.h-data: Likewise.
1771 * conform/data/pwd.h-data: Likewise.
1772 * conform/data/regex.h-data: Likewise.
1773 * conform/data/sched.h-data: Likewise.
1774 * conform/data/search.h-data: Likewise.
1775 * conform/data/semaphore.h-data: Likewise.
1776 * conform/data/setjmp.h-data: Likewise.
1777 * conform/data/signal.h-data: Likewise.
1778 * conform/data/spawn.h-data: Likewise.
1779 * conform/data/stdarg.h-data: Likewise.
1780 * conform/data/stdio.h-data: Likewise.
1781 * conform/data/stdlib.h-data: Likewise.
1782 * conform/data/string.h-data: Likewise.
1783 * conform/data/strings.h-data: Likewise.
1784 * conform/data/stropts.h-data: Likewise.
1785 * conform/data/sys/ipc.h-data: Likewise.
1786 * conform/data/sys/mman.h-data: Likewise.
1787 * conform/data/sys/msg.h-data: Likewise.
1788 * conform/data/sys/resource.h-data: Likewise.
1789 * conform/data/sys/select.h-data: Likewise.
1790 * conform/data/sys/sem.h-data: Likewise.
1791 * conform/data/sys/shm.h-data: Likewise.
1792 * conform/data/sys/socket.h-data: Likewise.
1793 * conform/data/sys/stat.h-data: Likewise.
1794 * conform/data/sys/statvfs.h-data: Likewise.
1795 * conform/data/sys/time.h-data: Likewise.
1796 * conform/data/sys/timeb.h-data: Likewise.
1797 * conform/data/sys/times.h-data: Likewise.
1798 * conform/data/sys/types.h-data: Likewise.
1799 * conform/data/sys/uio.h-data: Likewise.
1800 * conform/data/sys/un.h-data: Likewise.
1801 * conform/data/sys/utsname.h-data: Likewise.
1802 * conform/data/sys/wait.h-data: Likewise.
1803 * conform/data/syslog.h-data: Likewise.
1804 * conform/data/tar.h-data: Likewise.
1805 * conform/data/termios.h-data: Likewise.
1806 * conform/data/utime.h-data: Likewise.
1807 * conform/data/utmpx.h-data: Likewise.
1808 * conform/data/varargs.h-data: Likewise.
1809 * conform/data/wchar.h-data: Likewise.
1810 * conform/data/wctype.h-data: Likewise.
1811 * conform/data/wordexp.h-data: Likewise.
1812
1813 * include/stropts.h: New file.
1814 * include/uchar.h: New file.
1815 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1816 * include/assert.h: Likewise.
1817 * include/ctype.h: Likewise.
1818 * include/dirent.h: Likewise.
1819 * include/dlfcn.h: Likewise.
1820 * include/fcntl.h: Likewise.
1821 * include/fnmatch.h: Likewise.
1822 * include/glob.h: Likewise.
1823 * include/grp.h: Likewise.
1824 * include/libio.h: Likewise.
1825 * include/locale.h: Likewise.
1826 * include/math.h: Likewise.
1827 * include/net/if.h: Likewise.
1828 * include/netdb.h: Likewise.
1829 * include/netinet/in.h: Likewise.
1830 * include/pthread.h: Likewise.
1831 * include/pwd.h: Likewise.
1832 * include/regex.h: Likewise.
1833 * include/sched.h: Likewise.
1834 * include/search.h: Likewise.
1835 * include/setjmp.h: Likewise.
1836 * include/signal.h: Likewise.
1837 * include/stdio.h: Likewise.
1838 * include/stdlib.h: Likewise.
1839 * include/string.h: Likewise.
1840 * include/sys/cdefs.h: Likewise.
1841 * include/sys/mman.h: Likewise.
1842 * include/sys/msg.h: Likewise.
1843 * include/sys/resource.h: Likewise.
1844 * include/sys/select.h: Likewise.
1845 * include/sys/socket.h: Likewise.
1846 * include/sys/stat.h: Likewise.
1847 * include/sys/statvfs.h: Likewise.
1848 * include/sys/time.h: Likewise.
1849 * include/sys/times.h: Likewise.
1850 * include/sys/uio.h: Likewise.
1851 * include/sys/utsname.h: Likewise.
1852 * include/sys/wait.h: Likewise.
1853 * include/termios.h: Likewise.
1854 * include/time.h: Likewise.
1855 * include/ulimit.h: Likewise.
1856 * include/unistd.h: Likewise.
1857 * include/utime.h: Likewise.
1858 * include/wchar.h: Likewise.
1859 * include/wctype.h: Likewise.
1860 * include/wordexp.h: Likewise.
1861
1862 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1863
7a270350
UD
1864 * time/time.h: TIME_UTC must be a macro.
1865 Make timespec_get available for ISO C11 only as well.
1866
7724defc
UD
18672012-02-24 Ulrich Drepper <drepper@gmail.com>
1868
1869 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1870 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1871
6b1d1d46
JM
18722012-02-24 Joseph Myers <joseph@codesourcery.com>
1873
1874 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1875
0f8bbd69
JM
18762012-02-24 Joseph Myers <joseph@codesourcery.com>
1877
1878 * manual/texinfo.tex: Update to version 2012-01-19.16.
1879
66ab80bc
JM
18802012-02-24 Joseph Myers <joseph@codesourcery.com>
1881
1882 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1883
74981cc5
RM
18842012-02-24 Roland McGrath <roland@hack.frob.com>
1885
ee968201
RM
1886 [BZ #13738]
1887 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1888 * manual/fdl-1.3.texi: New file.
1889 * manual/fdl-1.1.texi: File removed.
1890
74981cc5
RM
1891 [BZ #13738]
1892 * manual/libc.texinfo (FDL_VERSION): New @set.
1893 Use it for mention of FDL in cover text.
1894 (Documentation License): Use it in @include file name.
1895
7bb764bc
JM
18962012-02-22 Joseph Myers <joseph@codesourcery.com>
1897 Roland McGrath <roland@hack.frob.com>
1898
1899 [BZ #5461]
1900 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1901 not LONG_LONG_MAX and LONG_LONG_MIN.
1902 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1903 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1904 name.
1905 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1906
6cbeae47
JM
19072012-02-22 Joseph Myers <joseph@codesourcery.com>
1908
1909 [BZ #2547]
1910 [BZ #11365]
1911 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1912 manipulate bits before adding and subtracting TWO23[sx].
1913 * math/libm-test.inc (nearbyint_test): Add more tests.
1914
fe45ce09
JM
19152012-02-22 Joseph Myers <joseph@codesourcery.com>
1916
1917 [BZ #2548]
1918 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1919 bits before adding and subtracting TWO23[sx].
1920 * math/libm-test.inc (rint_test): Add more tests.
1921 (rint_test_tonearest): Likewise.
1922 (rint_test_towardzero): Likewise.
1923 (rint_test_downward): Likewise.
1924 (rint_test_upward: Likewise.
1925
ff3b3d82
JM
19262012-02-22 Joseph Myers <joseph@codesourcery.com>
1927
1928 [BZ #10110]
1929 * include/stdc-predef.h: New file. Extracted from features.h.
1930 * include/features.h: Include stdc-predef.h.
1931 * Makefile (headers): Add stdc-predef.h.
1932 * CONFORMANCE (Compiler limitations): Update.
1933
ef0aab35
JM
19342012-02-22 Joseph Myers <joseph@codesourcery.com>
1935
1936 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1937
58639409
DM
19382012-02-21 David S. Miller <davem@davemloft.net>
1939
1940 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1941 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1942
c0e70b25
DM
19432012-02-20 David S. Miller <davem@davemloft.net>
1944
1945 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1946 using a normal save/restore sequence, rather than allocating a
1947 dummy stack frame just to store a frame pointer and restore.
1948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1949
fb06851d
JM
19502012-02-21 Joseph Myers <joseph@codesourcery.com>
1951
1952 * manual/install.texi: Fix stray word in line-wrapped comment.
1953
7a8b71c3
DM
19542012-02-20 David S. Miller <davem@davemloft.net>
1955
d510c123
DM
1956 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1957 both binutils and gcc support GOTDATA.
1958
0722d7c2
DM
1959 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1960 "rd %pc" in the PIC register setup sequences.
1961
3d2b3019
DM
1962 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1963 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1964 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1965 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1966 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1967 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1968 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1971 (SYSCALL_ERROR_HANDLER): Likewise.
1972 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1973 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1975 (SYSCALL_ERROR_HANDLER): Likewise.
1976
c80098a9
DM
1977 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1978 (HAVE_GCC_GOTDATA): New.
1979 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1980 relocation support in both binutils and gcc.
1981 * sysdeps/sparc/elf/configure: Regenerate.
1982
3a2545a0
DM
1983 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1984 * sysdeps/sparc/sparc32/elf/configure: Delete.
1985 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1986 * sysdeps/sparc/sparc64/elf/configure: Delete.
1987 * sysdeps/sparc/elf/configure.in: New file.
1988 * sysdeps/sparc/elf/configure: Generate.
1989
7a8b71c3
DM
1990 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1991 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1992 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1993 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1994 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1995
f1e86fca
JM
19962012-02-21 Joseph Myers <joseph@codesourcery.com>
1997
1998 * manual/install.texi: Do not mention specific glibc version
1999 numbers.
2000 * manual/libc.texinfo (VERSION, UPDATED): Update.
2001 (@copying): Use @copyright{} and range of years.
2002
0e7dfaef
JM
20032012-02-21 Joseph Myers <joseph@codesourcery.com>
2004
2005 [BZ #13695]
2006 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2007 [crti.S not in sysdirs] (generated): Do not append.
2008 [crti.S not in sysdirs] (omit-deps): Likewise.
2009 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2010 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2011 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2012 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2013 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2014 Likewise.
2015 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2016 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2017 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2018 * csu/defs.awk: Remove file.
2019 * sysdeps/generic/initfini.c: Likewise.
2020 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2021 variable.
2022 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2023 Likewise.
2024
599af3ca
JM
20252012-02-20 Joseph Myers <joseph@codesourcery.com>
2026
2027 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2028 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2029 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2030 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2031 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2032 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2033 <bits/epoll.h>.
2034 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2035 (__EPOLL_PACKED): Define to empty if not defined by
2036 <bits/epoll.h>.
2037 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2039 bits/epoll.h.
2040
0e499750
JM
20412012-02-20 Joseph Myers <joseph@codesourcery.com>
2042
2043 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2044 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2046 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2047 <bits/timerfd.h>.
2048 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2050 bits/timerfd.h.
2051
5ad91f6e
JM
20522012-02-20 Joseph Myers <joseph@codesourcery.com>
2053
2054 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2055 in C locale.
2056 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2057 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2058 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2060
06b99b02
AJ
20612012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2062
2063 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2064 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2065
7638c0fd
AS
20662012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2067
2068 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2069 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2070 defined.
2071 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2072 Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2074 entry for 2.16.
2075
92221550
AJ
20762012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2077
2078 * math/w_acos.c: Use non-signaling floating-point comparisons.
2079 * math/w_acosf.c: Likewise.
2080 * math/w_acosh.c: Likewise.
2081 * math/w_acoshf.c: Likewise.
2082 * math/w_acoshl.c: Likewise.
2083 * math/w_acosl.c: Likewise.
2084 * math/w_asin.c: Likewise.
2085 * math/w_asinf.c: Likewise.
2086 * math/w_asinl.c: Likewise.
2087 * math/w_atanh.c: Likewise.
2088 * math/w_atanhf.c: Likewise.
2089 * math/w_atanhl.c: Likewise.
2090 * math/w_exp2.c: Likewise.
2091 * math/w_exp2f.c: Likewise.
2092 * math/w_exp2l.c: Likewise.
2093 * math/w_j0.c: Likewise.
2094 * math/w_j0f.c: Likewise.
2095 * math/w_j0l.c: Likewise.
2096 * math/w_j1.c: Likewise.
2097 * math/w_j1f.c: Likewise.
2098 * math/w_j1l.c: Likewise.
2099 * math/w_jn.c: Likewise.
2100 * math/w_jnf.c: Likewise.
2101 * math/w_log.c: Likewise.
2102 * math/w_log10.c: Likewise.
2103 * math/w_log10f.c: Likewise.
2104 * math/w_log10l.c: Likewise.
2105 * math/w_log2.c: Likewise.
2106 * math/w_log2f.c: Likewise.
2107 * math/w_log2l.c: Likewise.
2108 * math/w_logf.c: Likewise.
2109 * math/w_logl.c: Likewise.
2110 * math/w_sqrt.c: Likewise.
2111 * math/w_sqrtf.c: Likewise.
2112 * math/w_sqrtl.c: Likewise.
2113 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2114 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2115 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2116 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2117 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2118
ebaf36eb
JM
21192012-02-19 Joseph Myers <joseph@codesourcery.com>
2120
2121 [BZ #9739]
2122 * manual/string.texi (strnlen): Use correct parameter name in
2123 equivalent expression.
2124
71c254a6
JM
21252012-02-19 Joseph Myers <joseph@codesourcery.com>
2126
2127 [BZ #11174]
2128 * manual/users.texi (seteuid): Consistently use neweuid for
2129 argument name.
2130
16d2c631
JM
21312012-02-19 Joseph Myers <joseph@codesourcery.com>
2132
2133 [BZ #13704]
2134 * manual/nss.texi (Services in the NSS configuration): Correct
2135 list of services in example configuration file.
2136
cd837b09
NB
21372012-02-19 Nick Bowler <nbowler@draconx.ca>
2138
2139 [BZ #11322]
2140 * manual/arith.texi: Remove statements about negative zero
2141 behaving identically to zero.
2142
02c4bbad
JM
21432012-02-18 Joseph Myers <joseph@codesourcery.com>
2144
2145 [BZ #5993]
2146 * manual/install.texi: Do not document upgrading from libc5.
2147
366842e7
JM
21482012-02-18 Joseph Myers <joseph@codesourcery.com>
2149
2150 [BZ #4596]
2151 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2152
dd54084d
DM
21532012-02-18 David S. Miller <davem@davemloft.net>
2154
2155 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2156 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2157 %o7 across the call.
2158 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2159 instead.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2161 SETUP_PIC_REG_LEAF.
2162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2163 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2164 * sysdeps/sparc/crtn.S: Likewise.
2165
2bcc53a3
UD
21662012-02-17 Ulrich Drepper <drepper@gmail.com>
2167
2168 * aout/Makefile: Remove.
2169
09c093b5
RK
21702012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2171
2172 [BZ #13058]
2173 * manual/examples/argp-ex1.c (main): Format definition in GNU
2174 style.
2175 * manual/examples/argp-ex2.c (main): Likewise.
2176 * manual/examples/argp-ex3.c (main): Likewise.
2177 * manual/examples/argp-ex4.c (main): Likewise.
2178 * manual/examples/longopt.c (main): Use new-style prototype
2179 definition.
2180 * manual/examples/strncat.c (main): Specify return type and use
2181 (void) for arguments.
2182 * manual/examples/subopt.c (main): Use char **argv argument.
2183
2ee633a2
JM
21842012-02-17 Joseph Myers <joseph@codesourcery.com>
2185
2186 [BZ #5077]
2187 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2188 rounding modes.
2189
0520adde
FB
21902012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2191
2192 [BZ #6907]
2193 * manual/string.texi (strchr): Change when strchrnul is
2194 recommended.
2195
3f4081cd
DGM
21962012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2197
2198 [BZ #174]
2199 * manual/locale.texi (setlocale): Document LOCPATH.
2200
d1b10e78
JM
22012012-02-17 Joseph Myers <joseph@codesourcery.com>
2202
2203 [BZ #10210]
2204 * manual/process.texi (execle): Move @dots{} before last argument.
2205
79c6869c
PB
22062012-02-17 Paul Bolle <pebolle@tiscali.nl>
2207
2208 [BZ #12047]
2209 * manual/charset.texi (Generic Charset Conversion): Fix typo
2210 (LC_TYPE -> LC_CTYPE).
2211
cc6e48bc
NB
22122012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2213
2214 [BZ #5805]
2215 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2216 (scalbnf): Likewise.
2217 (scalbnl): Likewise.
2218 (scalbln): Likewise.
2219 (scalblnf): Likewise.
2220 (scalblnl): Likewise.
2221 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2222 (vwarnx): Likewise.
2223 (verr): Likewise.
2224 (verrx): Likewise.
2225 * manual/filesys.texi (telldir): Use braces around return type.
2226 * manual/llio.texi (mmap): Add space after comma.
2227 (mmap64): Likewise.
2228 * manual/math.texi (jn): Use @var{} on parameter names.
2229 (jnf): Likewise.
2230 (jnl): Likewise.
2231 (yn): Likewise.
2232 (ynf): Likewise.
2233 (ynl): Likewise.
2234 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2235 line.
2236 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2237 "...".
2238 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2239 (sched_get_priority_max): Likewise.
2240 * manual/signal.texi (sigvec): Add space after comma.
2241 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2242 names.
2243 (if_indextoname): Likewise.
2244 (if_freenameindex): Likewise.
2245 (sendto): Use ',' instead of '.' in prototype.
2246 * manual/startup.texi (syscall): Use @dots{} instead of literal
2247 "...".
2248 * manual/stdio.texi (__fpending): Separate initial words of
2249 paragraph from @deftypefun line.
2250 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2251 "...".
2252 (vsyslog): Use @var{} on parameter names.
2253 * manual/terminal.texi (stty): Use @var{} on parameter names.
2254 * manual/users.texi (getutmp): Use @var{} on parameter names.
2255 (getutmpx): Likewise.
2256
5b23062f
JM
22572012-02-17 Joseph Myers <joseph@codesourcery.com>
2258
2259 [BZ #6884]
2260 * manual/stdio.texi (fopen): Fix typos in description of
2261 ",ccs=STRING".
2262
8dee4833
AJ
22632012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2264
2265 [BZ #4026]
2266 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2267 get clock_id definition.
2268
9078ce93
TS
22692012-02-17 Thomas Schwinge <thomas@schwinge.name>
2270
2271 [BZ #4822]
2272 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2273 (madvise): Cast every argument to void on its own.
2274
3835c55f
JM
22752012-02-17 Joseph Myers <joseph@codesourcery.com>
2276
2277 [BZ #9902]
2278 * manual/startup.texi (Exit Status): Fix typo.
2279
35c47e37
JM
22802012-02-17 Joseph Myers <joseph@codesourcery.com>
2281
2282 [BZ #10140]
2283 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2284 * manual/examples/argp-ex2.c: Likewise.
2285 * manual/examples/argp-ex3.c: Likewise.
2286
e3b69ca7
RH
22872012-02-16 Richard Henderson <rth@redhat.com>
2288
2289 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2290 * sysdeps/s390/s390-32/initfini.c: Remove.
2291 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2292 * sysdeps/s390/s390-64/initfini.c: Remove.
2293
df83af67
KK
22942012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2295
2296 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2297 compiler output for sysdeps/generic/initfini.c.
2298 * sysdeps/sh/elf/initfini.c: Remove file.
2299
f63f3380
DM
23002012-02-16 David S. Miller <davem@davemloft.net>
2301
fb59b3a4
DM
2302 [BZ #11494]
2303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2304
f63f3380
DM
2305 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2306 * sysdeps/sparc/crti.S: New file.
2307 * sysdeps/sparc/crtn.S: New file.
2308 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2309 * sysdeps/sparc/sparc64/Makefile: Likewise.
2310
df6a4a4a
MF
23112012-02-15 Mike Frysinger <vapier@gentoo.org>
2312
6dd8f3dc 2313 [BZ #3335]
df6a4a4a
MF
2314 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2315
1cac7236
RM
23162012-02-15 Roland McGrath <roland@hack.frob.com>
2317
d2c736f8
RM
2318 [BZ #4822]
2319 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2320
1cac7236
RM
2321 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2322 (write, read, close): Likewise.
2323 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2324
8e475601
JM
23252012-02-15 Joseph Myers <joseph@codesourcery.com>
2326
2327 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2328 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2329 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2330 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2331 <bits/signalfd.h>.
2332 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2334 bits/signalfd.h.
2335
ed656b40
MP
23362012-02-14 Marek Polacek <polacek@redhat.com>
2337
2338 * sysdeps/x86_64/crti.S: New file.
2339 * sysdeps/x86_64/crtn.S: New file.
2340 * sysdeps/x86_64/elf/initfini.c: Remove file.
2341
2a979d3a
JM
23422012-02-13 Joseph Myers <joseph@codesourcery.com>
2343
2344 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2345 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2346 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2347 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2348 <bits/inotify.h>.
2349 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2351 bits/inotify.h.
2352
2a418ac3
JM
23532012-02-13 Joseph Myers <joseph@codesourcery.com>
2354
2355 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2356 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2357 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2358 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2359 <bits/eventfd.h>.
2360 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2362 bits/eventfd.h.
2363
fb779be7
TS
23642012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2365
e19e83c5
RM
2366 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2367 __feraiseexcept instead of feraiseexcept.
7c35ffed 2368
fb779be7
TS
2369 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2370 nanosleep invocations.
2371 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2372 strings, and add error checking for a nanosleep invocations.
2373
59ba27a6
PE
23742012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2375
2376 Replace FSF snail mail address with URLs, as per GNU coding standards.
2377 Most of the snail mail addresses were wrong anyway, and omitting
2378 them makes the source code easier to maintain. Almost all of the
2379 changes are to license notices and to locale LC_IDENTIFICATION
2380 addresses, except for this one:
2381 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2382 not its snail mail address.
2383
57b957eb
RH
23842012-02-09 Richard Henderson <rth@twiddle.net>
2385
af850b1c
RH
2386 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2387 of kernel-features.h.
2388
57b957eb
RH
2389 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2390
6b73181a
MP
23912012-02-08 Marek Polacek <polacek@redhat.com>
2392
2393 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2394 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2395 * sysdeps/gnu/_G_config.h: Likewise.
2396 * sysdeps/generic/_G_config.h: Likewise.
2397
26ecc33a
AS
23982012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2399
6c6dbc63
AS
2400 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2401 tests.
2402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2403
e216c012
AS
2404 * sysdeps/powerpc/powerpc32/crti.S: New file.
2405 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2406 * sysdeps/powerpc/powerpc64/crti.S: New file.
2407 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2408
26ecc33a
AS
2409 * Makeconfig (have-initfini): Don't set.
2410 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2411 * configure.in (nopic_initfini): Don't substitute.
2412 * config.h.in (HAVE_INITFINI): Don't #undef.
2413 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2414 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2415
3add8e13
JM
24162012-02-08 Joseph Myers <joseph@codesourcery.com>
2417
2418 Support crti.S and crtn.S provided directly by architectures.
2419 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2420 [crti.S in sysdirs] (omit-deps): Likewise.
2421 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2422 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2423 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2424 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2425 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2426 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2427 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2428 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2429 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2430 compiler output for sysdeps/generic/initfini.c.
2431 * sysdeps/i386/elf/Makefile: Remove file.
2432 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2433
a22f12b4
MP
24342012-02-07 Marek Polacek <polacek@redhat.com>
2435
2436 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2437 * sysdeps/gnu/_G_config.h: Likewise.
2438 * sysdeps/mach/hurd/_G_config.h: Likewise.
2439
148cf100
MP
24402012-02-07 Marek Polacek <polacek@redhat.com>
2441
2442 * math/Makefile (tests): Add tst-CMPLX2.
2443 * math/tst-CMPLX2.c: New file.
2444
cfdc0dd7
AS
24452012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2446
84ba42c4
AS
2447 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2448
cfdc0dd7
AS
2449 * math/libm-test.inc (jn_test): Add missing L suffix.
2450
622c86f4
MP
24512012-02-06 Marek Polacek <polacek@redhat.com>
2452
2453 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2454 * sysdeps/i386/fpu/e_powf.S: Likewise.
2455 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2456 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2457 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2458 * sysdeps/i386/fpu/e_pow.S: Likewise.
2459 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2460 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2461 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2462 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2463 * sysdeps/i386/fpu/e_log2.S: Likewise.
2464 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2465 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2466 * sysdeps/i386/fpu/e_powl.S: Likewise.
2467 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2468 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2469 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2470 * sysdeps/i386/fpu/e_logl.S: Likewise.
2471 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2472 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2473 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2474 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2475 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2476 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2477 * sysdeps/i386/fpu/e_log.S: Likewise.
2478 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2479 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2480 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2481 * sysdeps/i386/fpu/e_logf.S: Likewise.
2482 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2483 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2484 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2485 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2486 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2487 * sysdeps/i386/fpu/e_log10.S: Likewise.
2488 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2489 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2490 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2491 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2492 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2493 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2494 * sysdeps/i386/asm-syntax.h: Likewise.
2495 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2496 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2497 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2498 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2499 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2500 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2501 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2502 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2503 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2504 * sysdeps/powerpc/sysdep.h: Likewise.
2505 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2506 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2507
d4a54ac6
JM
25082012-02-06 Joseph Myers <joseph@codesourcery.com>
2509
2510 [BZ #411]
2511 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2512
314054ea
JM
25132012-02-06 Joseph Myers <joseph@codesourcery.com>
2514
2515 * sysdeps/i386/sysdep.h: Include <features.h>.
2516 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2517 version.
2518
d8e0ca50
JM
25192012-02-05 Joseph Myers <joseph@codesourcery.com>
2520
2521 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2522 Define.
2523 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2524 LOAD_PIC_REG_STR.
2525
b1da7dd9
JM
25262012-02-03 Joseph Myers <joseph@codesourcery.com>
2527
2528 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2529 (SETUP_PIC_REG): Use GET_PC_THUNK.
2530 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2531 macro.
2532
9a1d9254
JM
25332012-02-03 Joseph Myers <joseph@codesourcery.com>
2534
2535 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2536 for non-PIC compilation.
2537 (SETUP_PIC_REG): Add .p2align directive.
2538 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2539 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2540 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2541 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2542 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2543 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2544 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2545 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2546 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2547 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2548 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2549 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2550 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2551 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2552 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2553 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2554 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2555 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2556 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2557 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2558 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2559 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2560 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2561 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2562 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2563 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2564 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2565 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2566 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2567 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2568 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2569 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2570 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2571 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2572 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2573 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2574 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2575 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2576 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2577 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2578 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2579
65dc3b75
JM
25802012-02-03 Joseph Myers <joseph@codesourcery.com>
2581
2582 * math/tst-CMPLX.c: Include <stdio.h>.
2583
d55bf177
JM
25842012-01-31 Joseph Myers <joseph@codesourcery.com>
2585
2586 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2587 float.
2588 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2589 * sysdeps/sparc/bits/mathdef.h: Likewise.
2590
69db4f8f
MP
25912012-01-31 Marek Polacek <polacek@redhat.com>
2592
2593 * libio/libio.h: Don't define _PARAMS.
2594 * locale/programs/config.h: Don't define PARAMS.
2595 * stdlib/strtol_l.c: Likewise.
2596 (__strtol_l): Remove PARAMS from the prototype.
2597
41b81892
UD
25982012-01-31 Ulrich Drepper <drepper@gmail.com>
2599
3b49edc0
UD
2600 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2601 names. Just use the correct names. Remove unnecessary wrapper
2602 functions.
2603 * malloc/arena.c: Likewise.
2604 * malloc/hooks.c: Likewise.
2605
41b81892
UD
2606 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2607 ARENA_TEST says not to. Simplify test for creation of a new arena.
2608 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2609
27a25b6e
UD
26102012-01-30 Ulrich Drepper <drepper@gmail.com>
2611
2612 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2613 into tail calls.
2614 (update_get_addr): New function.
2615 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2616 GET_ADDR_MODULE parameter.
2617
c8a89e7d
JM
26182012-01-30 Joseph Myers <joseph@codesourcery.com>
2619
2620 * crypt/cert.c: Remove __STDC__ conditionals.
2621 * crypt/crypt-entry.c: Likewise.
2622 * crypt/crypt_util.c: Likewise.
2623 * libio/filedoalloc.c: Likewise.
2624 * libio/fileops.c: Likewise.
2625 * libio/genops.c: Likewise.
2626 * libio/iofclose.c: Likewise.
2627 * libio/iofdopen.c: Likewise.
2628 * libio/iofopen.c: Likewise.
2629 * libio/iofopen64.c: Likewise.
2630 * libio/iogetdelim.c: Likewise.
2631 * libio/iopopen.c: Likewise.
2632 * libio/obprintf.c: Likewise.
2633 * libio/oldfileops.c: Likewise.
2634 * libio/oldiofclose.c: Likewise.
2635 * libio/oldiofdopen.c: Likewise.
2636 * libio/oldiofopen.c: Likewise.
2637 * libio/oldiopopen.c: Likewise.
2638 * libio/wfiledoalloc.c: Likewise.
2639 * libio/wgenops.c: Likewise.
2640 * locale/programs/xmalloc.c: Likewise.
2641 * misc/syslog.c: Likewise.
2642 * stdio-common/xbug.c: Likewise.
2643 * string/memchr.c: Likewise.
2644 * string/memcmp.c: Likewise.
2645 * string/memrchr.c: Likewise.
2646 * string/rawmemchr.c: Likewise.
2647 * sysdeps/posix/getcwd.c: Likewise.
2648 * time/strftime_l.c: Likewise.
2649
3b100462
JM
26502012-01-30 Joseph Myers <joseph@codesourcery.com>
2651
2652 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2653 * config.make.in (config-cflags-sse2avx): Define.
2654 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2655 Fix typo.
2656
607998af
CM
26572012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2658
2659 * scripts/config.guess: Update from upstream config git repository.
2660 * scripts/config.sub: Likewise.
2661
3601428f
CM
26622012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2663
3ac8b282
CM
2664 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2665 (EM_NUM): Update.
2666 (R_TILEPRO_*, R_TILEGX_*): New macros.
2667
e034841e
CM
2668 * scripts/firstversions.awk: Fix bug in version range handling.
2669
540d7568
CM
2670 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2671
3601428f
CM
2672 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2673
463de862
CM
2674 * include/sys/epoll.h: New file.
2675 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2676 libc_hidden_def.
2677
73139a76
UD
26782012-01-28 Ulrich Drepper <drepper@gmail.com>
2679
96bc5b45
UD
2680 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2681 Avoid unnecessary __WORDSIZE == 64 test.
2682 (fmaxf): Use VEX format if possible.
2683 (fmax): Likewise.
2684 (fminf): Likewise.
2685 (fmin): Likewise.
2686
56f6f6a2
UD
2687 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2688 * math/math_private.h: Remove libc_fegetround* and
2689 libc_fesetround*.
2690 * sysdeps/i386/configure.in: Check for -msse2avx.
2691 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2692 also if SSE2AVX is defined.
2693 Remove libc_fegetround* and libc_fesetround*.
2694 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2695 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2696 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2697 of HAS_YMM_USABLE.
2698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2699 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2700 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2701 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2703
73139a76
UD
2704 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2705
d73f93a4
AZ
27062012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2707
2708 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2709 size is not set.
2710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2711
6ee65ed6
UD
27122012-01-27 Ulrich Drepper <drepper@gmail.com>
2713
2714 [BZ #13618]
2715 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2716 relocation.
2717 * Makeconfig (libm): Define.
2718 * elf/Makefile: Add rules to build and run tst-relsort1.
2719 * elf/tst-relsort1.c: New file.
2720 * elf/tst-relsort1mod1.c: New file.
2721 * elf/tst-relsort1mod2.c: New file.
2722
8db21882
JM
27232012-01-27 Joseph Myers <joseph@codesourcery.com>
2724
2725 * math/s_ldexp.c: Remove __STDC__ conditionals.
2726 * math/s_ldexpf.c: Likewise.
2727 * math/s_ldexpl.c: Likewise.
2728 * math/s_nextafter.c: Likewise.
2729 * math/s_nexttowardf.c: Likewise.
2730 * math/s_significand.c: Likewise.
2731 * math/s_significandf.c: Likewise.
2732 * math/s_significandl.c: Likewise.
2733 * math/w_jnl.c: Likewise.
2734 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2735 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2736 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2737 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2738 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2753 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2754 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2756 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2758 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2759 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2760 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2761 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2762 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2763 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2764 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2765 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2766 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2767 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2768 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2769 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2770 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2771 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2772 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2773 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2774 * sysdeps/ieee754/k_standard.c: Likewise.
2775 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2777 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2778 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2779 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2780 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2781 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2782 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2783 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2784 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2785 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2786 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2787 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2788 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2789 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2790 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2791 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2792 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2793 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2794 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2795 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2796 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2797 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2798 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2799 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2800 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2801 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2803 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2804 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2806 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2807 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2808 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2809 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2810 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2811 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2812 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2813 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2833 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2834 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2836 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2840 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2841 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2842 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2844 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2846 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2848 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2849 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2850 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2851 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2852 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2854 * sysdeps/ieee754/s_matherr.c: Likewise.
2855 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2856 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2857 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2858 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2859
965a54a4
JM
28602012-01-26 Joseph Myers <joseph@codesourcery.com>
2861
2862 * crypt/md5.h: Remove __STDC__ conditionals.
2863 * libio/libioP.h: Likewise.
2864 * locale/programs/config.h: Likewise.
2865 * sysdeps/generic/sysdep.h: Likewise.
2866 * sysdeps/i386/asm-syntax.h: Likewise.
2867 * sysdeps/s390/asm-syntax.h: Likewise.
2868 * sysdeps/unix/sysdep.h: Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2871
7071ad79
JM
28722012-01-26 Joseph Myers <joseph@codesourcery.com>
2873
2874 * libio/libio.h: Remove __STDC__ conditionals.
2875 * malloc/obstack.h: Likewise.
2876 * math/complex.h: Likewise.
2877 * math/math.h: Likewise.
2878 * sysdeps/generic/_G_config.h: Likewise.
2879 * sysdeps/gnu/_G_config.h: Likewise.
2880 * sysdeps/mach/hurd/_G_config.h: Likewise.
2881 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2882 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2883 * sysdeps/sparc/bits/mathdef.h: Likewise.
2884
afc5ed09
UD
28852012-01-26 Ulrich Drepper <drepper@gmail.com>
2886
2887 [BZ #13583]
2888 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2889 Clean up HAS_* macros.
afc5ed09 2890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2891 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2892 possible.
2893 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2894 HAS_AVX.
2895 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2896 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2897 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2898 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2899 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2900
bdb6de1d
JM
29012012-01-25 Joseph Myers <joseph@codesourcery.com>
2902
2903 * elf/tst-unique3.cc (gets): Remove declaration.
2904 * elf/tst-unique3lib.cc (gets): Likewise.
2905 * elf/tst-unique3lib2.cc (gets): Likewise.
2906 * elf/tst-unique4.cc (gets): Likewise.
2907
b15549e6
UD
29082012-01-24 Ulrich Drepper <drepper@gmail.com>
2909
2910 * include/stdio.h: Add C++ protection. Add gets declarations and
2911 definitions.
2912 * debug/tst-chk1.c: Don't declare gets here.
2913 * stdio-common/tst-gets.c: Likewise.
2914
a037381f
JM
29152012-01-24 Joseph Myers <joseph@codesourcery.com>
2916
2917 * posix/glob: Remove directory.
2918
f1d4aa75
JM
29192012-01-24 Joseph Myers <joseph@codesourcery.com>
2920
2921 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2922
81c0c964
PT
29232012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2924
2925 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2926 of the non-standard EPFNOSUPPORT.
2927
0ea698ae
ST
29282011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2929
2930 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2931 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2932 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2933
d220b117
UD
29342012-01-21 Ulrich Drepper <drepper@gmail.com>
2935
2936 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2937
3e1aa84e
UD
29382012-01-20 Ulrich Drepper <drepper@gmail.com>
2939
2940 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2941 transient errors.
2942 * nscd/grpcache.c (cache_addgr): Likewise.
2943 * nscd/hstcache.c (cache_addhst): Likewise.
2944 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2945 * nscd/pwdcache.c (cache_addpw): Likewise.
2946 * nscd/servicescache.c (cache_addserv): Likewise.
2947
400aa020
UD
29482012-01-16 Ulrich Drepper <drepper@gmail.com>
2949
d77e7869
UD
2950 * malloc/malloc.c: Various cleanups.
2951 * malloc/hooks.c: Likewise.
2952
400aa020
UD
2953 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2954 * stdlib/bug-fmtmsg1.c: New file.
2955
2956 * stdlib/fmtmsg.c (init): Add missing unlock.
2957 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2958
e0a309cf
MP
29592012-01-12 Marek Polacek <polacek@redhat.com>
2960
2961 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2962 and _GNU_SOURCE.
2963
929d11c7
WS
29642012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2965
2966 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2967 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2968 macro to ensure uniqueness of label name.
2969 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2970 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2971
41d0e869
UD
29722012-01-11 Ulrich Drepper <drepper@gmail.com>
2973
0cc5ed3b
UD
2974 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2975
41d0e869
UD
2976 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2977 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2978 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2980
a47a831a
UD
29812012-01-10 Ulrich Drepper <drepper@gmail.com>
2982
daa891c0
UD
2983 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2984
2985 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2986 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2987 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2988
e58ef0f2
UD
2989 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2990
a47a831a 2991 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2992 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2993 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2994 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2995
2996 * math/bits/math-finite.h: Add ldexp support.
2997
a0bfc9c7
MP
29982012-01-10 Marek Polacek <polacek@redhat.com>
2999
3000 * locale/programs/localedef.h (show_archive_content): Add noreturn
3001 attribute.
3002
d6e97a1d
UD
30032012-01-09 Ulrich Drepper <drepper@gmail.com>
3004
3005 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3006
d5835c26
UD
30072012-01-08 Ulrich Drepper <drepper@gmail.com>
3008
e5f484c6
UD
3009 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3010
d5835c26
UD
3011 * io/Makefile (headers): Add bits/poll2.h.
3012
d1f741e9
WS
30132011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3014
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3016 typo #include statement.
3017
ec09c1c4
UD
30182012-01-08 Ulrich Drepper <drepper@gmail.com>
3019
3020 * include/sys/cdefs.h: Define __attribute_alloc_size.
3021 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3022 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3023 * elf/pldd.c: Likewise.
3024 * iconv/iconv_charmap.c: Likewise.
3025 * iconv/iconvconfig.c: Likewise.
3026 * iconv/strtab.c: Likewise.
3027 * locale/programs/locale.c: Likewise.
3028 * locale/programs/localedef.h: Likewise.
3029 * locale/programs/simple-hash.c: Likewise.
3030 * nscd/nscd.h: Likewise.
3031 * nss/makedb.c: Likewise.
3032 * sysdeps/generic/ldconfig.h: Likewise.
3033 * locale/programs/localedef.c: Remove xmalloc prototype.
3034 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3035
20b38e03
PP
30362012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3037
3038 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3039 appropriate.
3040
a0da5fe1
UD
30412012-01-08 Ulrich Drepper <drepper@gmail.com>
3042
1d5a644a 3043 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3044 * math/tst-CMPLX.c: New file.
1d5a644a 3045
8784a6db
UD
3046 * math/complex.h (CMPLXL): Fix typo.
3047
d9a216c0
UD
3048 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3049 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3050 GLIBC_2.16.
3051 * debug/tst-chk1.c: Add poll and ppoll tests.
3052 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3053 * include/sys/poll.h: Add hidden proto for ppoll.
3054 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3055 * sysdeps/mach/hurd/ppoll.c: Likewise.
3056 * io/ppoll.c: Likewise.
3057 * debug/poll_chk.c: New file.
3058 * debug/ppoll_chk.c: New file.
3059 * include/bits/poll2.h: New file.
3060 * io/bits/poll2.h: New file.
3061
ac097f5c
UD
3062 [BZ #1350]
3063 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3064
2119dcfa
UD
3065 * configure.in: static is always set to yes. Remove.
3066 * config.make.in: Don't set build-static.
3067 * Makeconfig: Remove use of build-static.
3068 * dlfcn/Makefile: Likewise.
3069 * elf/Makefile: Likewise.
3070 * math/Makefile: Likewise.
3071 * misc/Makefile: Likewise.
3072 * nptl/Makefile: Likewise.
3073 * sysdeps/mach/hurd/Makefile: Likewise.
3074
121766a9
UD
3075 * configure.in: PWD_P is not used anymore.
3076 * config.make.in: Remove PWD_P entry.
3077
51a1d39c 3078 * configure.in: Remove last remnants of RANLIB.
8720d066 3079 No need to check for signed size_t anymore.
215f4bdc
UD
3080 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3081 and IA-64.
3857022a 3082 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3083 * aclocal.m4: Likewise.
3084
d3ed7225
UD
3085 * wcsmbs/mbrtoc16.c: Implement using towc function.
3086 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3087 * wcsmbs/wcsmbsload.c: Likewise.
3088 * iconv/gconv_simple.c: Likewise.
3089 * iconv/gconv_int.h: Likewise.
3090 * iconv/gconv_builtin.h: Likewise.
3091 * iconv/iconv_prog.c: Remove CHAR16 handling.
3092
3093 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3094
3095 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3096
a0da5fe1
UD
3097 * configure.in: Remove --with-elf and --enable-bounded options.
3098 Dont set base_machine for ia64. More non-ELF conditions removed.
3099 Remove testing and setting of leading underscore information.
3100 * config.make.in (build-bounded): Set to no.
3101 * config.h.in: Remove NO_UNDERSCORES entry.
3102 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3103 them.
3104 * csu/start.c: Remove !NO_UNDERSCORE code.
3105 * locale/localeinfo.h: Likewise.
3106 * sysdeps/generic/machine-gmon.h: Likewise.
3107 * sysdeps/generic/sysdep.h: Likewise.
3108 * sysdeps/i386/sysdep.h: Likewise.
3109 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3110 * sysdeps/mach/sysdep.h: Likewise.
3111 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3112 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3113 * sysdeps/sh/sysdep.h: Likewise.
3114 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3115 * sysdeps/unix/i386/sysdep.S: Likewise.
3116 * sysdeps/unix/sparc/start.c: Likewise.
3117 * sysdeps/unix/sparc/sysdep.S: Likewise.
3118 * sysdeps/unix/sparc/sysdep.h: Likewise.
3119 * sysdeps/unix/start.c: Likewise.
3120 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3121 * sysdeps/x86_64/sysdep.h: Likewise.
3122
df78418a
UD
31232012-01-07 Ulrich Drepper <drepper@gmail.com>
3124
a784e502
UD
3125 [BZ #13553]
3126 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3127 for non-gcc.
3128 * argp/argp-fmtstream.h: Use const instead __const.
3129 * argp/argp.h: Likewise.
3130 * assert/assert.h: Likewise.
3131 * bits/fenv.h: Likewise.
3132 * bits/sched.h: Likewise.
3133 * bits/sigset.h: Likewise.
3134 * bits/sigthread.h: Likewise.
3135 * catgets/nl_types.h: Likewise.
3136 * conform/data/pthread.h-data: Likewise.
3137 * crypt/crypt-private.h: Likewise.
3138 * crypt/crypt.h: Likewise.
3139 * crypt/crypt_util.c: Likewise.
3140 * ctype/ctype.h: Likewise.
3141 * debug/execinfo.h: Likewise.
3142 * debug/mbsnrtowcs_chk.c: Likewise.
3143 * debug/mbsrtowcs_chk.c: Likewise.
3144 * debug/wcsnrtombs_chk.c: Likewise.
3145 * debug/wcsrtombs_chk.c: Likewise.
3146 * debug/wcstombs_chk.c: Likewise.
3147 * dirent/dirent.h: Likewise.
3148 * dlfcn/dlfcn.h: Likewise.
3149 * elf/neededtest4.c: Likewise.
3150 * grp/grp.h: Likewise.
3151 * gshadow/gshadow.h: Likewise.
3152 * iconv/gconv.h: Likewise.
3153 * iconv/gconv_int.h: Likewise.
3154 * iconv/gconv_simple.c: Likewise.
3155 * iconv/iconv.h: Likewise.
3156 * iconv/loop.c: Likewise.
3157 * iconv/skeleton.c: Likewise.
3158 * include/aio.h: Likewise.
3159 * include/aliases.h: Likewise.
3160 * include/argz.h: Likewise.
3161 * include/arpa/inet.h: Likewise.
3162 * include/assert.h: Likewise.
3163 * include/dirent.h: Likewise.
3164 * include/dlfcn.h: Likewise.
3165 * include/execinfo.h: Likewise.
3166 * include/fcntl.h: Likewise.
3167 * include/fenv.h: Likewise.
3168 * include/glob.h: Likewise.
3169 * include/grp.h: Likewise.
3170 * include/libintl.h: Likewise.
3171 * include/mntent.h: Likewise.
3172 * include/netdb.h: Likewise.
3173 * include/pwd.h: Likewise.
3174 * include/rpc/netdb.h: Likewise.
3175 * include/sched.h: Likewise.
3176 * include/search.h: Likewise.
3177 * include/shadow.h: Likewise.
3178 * include/signal.h: Likewise.
3179 * include/stdio.h: Likewise.
3180 * include/stdlib.h: Likewise.
3181 * include/string.h: Likewise.
3182 * include/sys/socket.h: Likewise.
3183 * include/sys/stat.h: Likewise.
3184 * include/sys/statfs.h: Likewise.
3185 * include/sys/statvfs.h: Likewise.
3186 * include/sys/syslog.h: Likewise.
3187 * include/sys/time.h: Likewise.
3188 * include/sys/uio.h: Likewise.
3189 * include/time.h: Likewise.
3190 * include/unistd.h: Likewise.
3191 * include/utmp.h: Likewise.
3192 * include/wchar.h: Likewise.
3193 * include/wctype.h: Likewise.
3194 * inet/aliases.h: Likewise.
3195 * inet/arpa/inet.h: Likewise.
3196 * inet/netinet/ether.h: Likewise.
3197 * inet/netinet/in.h: Likewise.
3198 * intl/libintl.h: Likewise.
3199 * io/bits/fcntl2.h: Likewise.
3200 * io/fcntl.h: Likewise.
3201 * io/ftw.h: Likewise.
3202 * io/sys/poll.h: Likewise.
3203 * io/sys/stat.h: Likewise.
3204 * io/sys/statfs.h: Likewise.
3205 * io/sys/statvfs.h: Likewise.
3206 * io/utime.h: Likewise.
3207 * libio/bits/stdio.h: Likewise.
3208 * libio/bits/stdio2.h: Likewise.
3209 * libio/libio.h: Likewise.
3210 * libio/libioP.h: Likewise.
3211 * libio/stdio.h: Likewise.
3212 * locale/lc-ctype.c: Likewise.
3213 * locale/locale.h: Likewise.
3214 * login/utmp.h: Likewise.
3215 * malloc/arena.c: Likewise.
3216 * malloc/malloc.c: Likewise.
3217 * malloc/malloc.h: Likewise.
3218 * malloc/mcheck.c: Likewise.
3219 * malloc/mtrace.c: Likewise.
3220 * math/bits/mathcalls.h: Likewise.
3221 * math/fenv.h: Likewise.
3222 * math/math_private.h: Likewise.
3223 * misc/bits/error.h: Likewise.
3224 * misc/bits/syslog.h: Likewise.
3225 * misc/err.h: Likewise.
3226 * misc/error.h: Likewise.
3227 * misc/fstab.h: Likewise.
3228 * misc/mntent.h: Likewise.
3229 * misc/regexp.h: Likewise.
3230 * misc/search.h: Likewise.
3231 * misc/sgtty.h: Likewise.
3232 * misc/sys/mman.h: Likewise.
3233 * misc/sys/syslog.h: Likewise.
3234 * misc/sys/uio.h: Likewise.
3235 * misc/sys/xattr.h: Likewise.
3236 * misc/ttyent.h: Likewise.
3237 * nis/rpcsvc/ypclnt.h: Likewise.
3238 * nss/nss.h: Likewise.
3239 * posix/bits/unistd.h: Likewise.
3240 * posix/fnmatch.h: Likewise.
3241 * posix/glob.h: Likewise.
3242 * posix/sched.h: Likewise.
3243 * posix/spawn.h: Likewise.
3244 * posix/sys/wait.h: Likewise.
3245 * posix/unistd.h: Likewise.
3246 * posix/wordexp.h: Likewise.
3247 * pwd/pwd.h: Likewise.
3248 * resolv/netdb.h: Likewise.
3249 * resource/sys/resource.h: Likewise.
3250 * rt/aio.h: Likewise.
3251 * rt/bits/mqueue2.h: Likewise.
3252 * rt/mqueue.h: Likewise.
3253 * shadow/shadow.h: Likewise.
3254 * signal/signal.h: Likewise.
3255 * socket/send.c: Likewise.
3256 * socket/sendto.c: Likewise.
3257 * socket/sys/socket.h: Likewise.
3258 * stdio-common/printf.h: Likewise.
3259 * stdlib/bits/stdlib.h: Likewise.
3260 * stdlib/fmtmsg.h: Likewise.
3261 * stdlib/monetary.h: Likewise.
3262 * stdlib/stdlib.h: Likewise.
3263 * stdlib/ucontext.h: Likewise.
3264 * streams/stropts.h: Likewise.
3265 * string/argz.h: Likewise.
3266 * string/bits/string2.h: Likewise.
3267 * string/string.h: Likewise.
3268 * string/strings.h: Likewise.
3269 * sunrpc/rpc/auth.h: Likewise.
3270 * sunrpc/rpc/auth_des.h: Likewise.
3271 * sunrpc/rpc/clnt.h: Likewise.
3272 * sunrpc/rpc/netdb.h: Likewise.
3273 * sunrpc/rpc/pmap_clnt.h: Likewise.
3274 * sunrpc/rpc/xdr.h: Likewise.
3275 * sysdeps/generic/inttypes.h: Likewise.
3276 * sysdeps/generic/net/if.h: Likewise.
3277 * sysdeps/generic/sys/swap.h: Likewise.
3278 * sysdeps/gnu/net/if.h: Likewise.
3279 * sysdeps/gnu/utmpx.h: Likewise.
3280 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3281 * sysdeps/i386/i486/bits/string.h: Likewise.
3282 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3283 * sysdeps/s390/bits/string.h: Likewise.
3284 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3285 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3286 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3287 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3288 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3289 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3290 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3291 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3292 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3293 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3294 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3295 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3296 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3297 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3298 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3299 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3300 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3303 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3305 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3306 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3307 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3308 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3309 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3310 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3312 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3313 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3314 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3315 * sysvipc/sys/ipc.h: Likewise.
3316 * sysvipc/sys/msg.h: Likewise.
3317 * sysvipc/sys/sem.h: Likewise.
3318 * sysvipc/sys/shm.h: Likewise.
3319 * termios/termios.h: Likewise.
3320 * time/sys/time.h: Likewise.
3321 * time/time.h: Likewise.
3322 * wcsmbs/bits/wchar2.h: Likewise.
3323 * wcsmbs/uchar.h: Likewise.
3324 * wcsmbs/wchar.h: Likewise.
3325 * wctype/wctype.h: Likewise.
3326
0269750c
UD
3327 [BZ #13551]
3328 * Makeconfig: Remove all but ELF support including AIX support.
3329 * Makerules: Likewise.
3330 * config.h.in: Likewise.
3331 * config.make.in: Likewise.
3332 * configure: Likewise.
3333 * configure.in: Likewise.
3334 * csu/Makefile: Likewise.
3335 * csu/version.c: Likewise.
3336 * debug/Makefile: Likewise.
3337 * dlfcn/Makefile: Likewise.
3338 * elf/Makefile: Likewise.
3339 * extra-lib.mk: Likewise.
3340 * iconv/Makefile: Likewise.
3341 * include/libc-symbols.h: Likewise.
3342 * include/shlib-compat.h: Likewise.
3343 * resolv/Makefile: Likewise.
3344 * resolv/res_libc.c: Likewise.
3345 * rt/Makefile: Likewise.
3346 * sysdeps/i386/asm-syntax.h: Likewise.
3347 * sysdeps/i386/sysdep.h: Likewise.
3348 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3349 * sysdeps/mach/sysdep.h: Likewise.
3350 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3351 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3352 * sysdeps/s390/asm-syntax.h: Likewise.
3353 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3354 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3355 * sysdeps/sh/sysdep.h: Likewise.
3356 * sysdeps/unix/sparc/sysdep.h: Likewise.
3357 * sysdeps/wordsize-32/divdi3.c: Likewise.
3358 * sysdeps/x86_64/sysdep.h: Likewise.
3359
00bbd29b
UD
3360 * argp/Versions: Remove _argp_unlock_xxx.
3361
3362 [BZ #13559]
3363 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3364 * abilist/libBrokenLocale.abilist: Likewise.
3365 * abilist/libanl.abilist: Likewise.
3366 * abilist/libc.abilist: Likewise.
3367 * abilist/libcrypt.abilist: Likewise.
3368 * abilist/libdl.abilist: Likewise.
3369 * abilist/libm.abilist: Likewise.
3370 * abilist/libnsl.abilist: Likewise.
3371 * abilist/libpthread.abilist: Likewise.
3372 * abilist/libresolv.abilist: Likewise.
3373 * abilist/librt.abilist: Likewise.
3374 * abilist/libthread_db.abilist: Likewise.
3375 * abilist/libutil.abilist: Likewise.
3376 * abilist/libnss_db.abilist: New file.
3377
3378 * scripts/abilist.awk: Add support for indirect functions.
3379
a2693a0e
UD
3380 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3381
3f05895f
UD
3382 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3383
ecb6fb48
UD
3384 * shlib-versions: Remove entries for ports architectures.
3385
664f8cb9
UD
3386 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3387 files in ports.
3388 * elf/stackguard-macros.h: Remove support for IA-64.
3389 * elf/tst-auditmod1.c: Likewise.
3390 * sysdeps/generic/ldsodefs.h: Likewise.
3391
7ae81d88
UD
3392 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3393 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3394 configure files.
3395
bdeba135
UD
3396 [BZ #13552]
3397 * configure.in: Remove --enable-omitfp support.
3398 * FAQ.in: Adjust.
3399 * config.make.in: Likewise.
3400 * Makeconfig: Likewise.
3401 * manual/install.texi: Likewise.
3402
d75a0a62
UD
3403 In case anyone cares, the IA-64 architecture could move to ports.
3404 * sysdeps/ia64/*: Removed.
3405 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3406 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3407
dcc9756b
UD
3408 [BZ #13555]
3409 * configure.in: Remove entries for unsupported architectures.
3410
d3761ebc 3411 [BZ #13533]
9954432e
UD
3412 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3413 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3414 routines.
3415 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3416 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3417 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3418 fall back to using wcrtomb.
3419 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3420 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3421 renaming.
3422 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3423 * wcsmbs/tst-c16c32-1.c: New file.
3424
3425 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3426 local variable.
3427
c3a87236
UD
3428 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3429
28926a1b
UD
3430 * elf/tst-unique3.cc: Add explicit declaration of gets.
3431 * elf/tst-unique3lib.cc: Likewise.
3432 * elf/tst-unique3lib2.cc: Likewise.
3433 * elf/tst-unique4.cc: Likewise.
3434
df78418a
UD
3435 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3436
8ecd6b2a
JM
34372012-01-06 Joseph Myers <joseph@codesourcery.com>
3438
3439 [BZ #13566]
3440 * assert/assert.h (static_assert): Don't define for C++.
3441 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3442 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3443
9f115170
UD
34442012-01-03 Ulrich Drepper <drepper@gmail.com>
3445
5e0d0300
UD
3446 * iconv/loop.c (single loop): Fix assertion in storing of
3447 remaining bytes.
3448
9f115170
UD
3449 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3450
81fb02b0
UD
34512012-01-01 Ulrich Drepper <drepper@gmail.com>
3452
3453 * posix/getconf.c: Update copyright year.
3454 * nss/getent.c: Likewise.
a316c1f6 3455 * nss/makedb.c: Likewise.
81fb02b0
UD
3456 * iconv/iconvconfig.c: Likewise.
3457 * iconv/iconv_prog.c: Likewise.
3458 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3459 * elf/pldd.c: Likewise.
3460 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3461 * catgets/gencat.c: Likewise.
3462 * csu/version.c: Likewise.
3463 * elf/ldd.bash.in: Likewise.
3464 * elf/sprof.c (print_version): Likewise.
3465 * locale/programs/locale.c: Likewise.
3466 * locale/programs/localedef.c: Likewise.
a316c1f6 3467 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3468 * nscd/nscd.c (print_version): Likewise.
3469 * debug/xtrace.sh: Likewise.
3470 * malloc/memusage.sh: Likewise.
3471 * malloc/mtrace.pl: Likewise.
3472 * debug/catchsegv.sh: Likewise.
3473
2ba92745
JJ
34742011-12-30 Jakub Jelinek <jakub@redhat.com>
3475
3476 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3477 pure attribute.
3478
dadebdae
UD
34792011-12-24 Ulrich Drepper <drepper@gmail.com>
3480
d3761ebc 3481 [BZ #13533]
db6af3eb
UD
3482 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3483 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3484 transformations.
3485 * iconv/gconv_int.h: Likewise.
3486 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3487 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3488 from libc for GLIBC_2.16.
3489 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3490 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3491 * wcsmbs/uchar.h: Really define mbstate_t.
3492 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3493 * wcsmbs/c16rtomb.c: New file.
3494 * wcsmbs/mbrtoc16.c: New file.
3495 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3496 for C/POSIX locale.
3497 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3498 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3499
dadebdae
UD
3500 * wcsmbs/wchar.h: Add missing __restrict.
3501
67371b56
UD
35022011-12-23 Ulrich Drepper <drepper@gmail.com>
3503
74033a25
UD
3504 [BZ #13532]
3505 * time/Makefile (routines): Add timespec_get.
3506 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3507 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3508 timespec for ISO C11.
3509 * time/timespec_get.c: New file.
3510 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3511 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3512
380d7e87
UD
3513 [BZ #13531]
3514 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3515 * stdlib/stdlib.h: Declare aligned_alloc.
3516 * Versions.def: Add GLIBC_2.16 for libc.
3517 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3518
4e9e7a35
UD
3519 [BZ 13527]
3520 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3521 ISO C11.
3522
380d7e87 3523 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3524 code.
3525
03a71829
UD
3526 [BZ #13528]
3527 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3528
839e283e
UD
3529 [BZ #13529]
3530 * assert/assert.h (static_assert): Define.
3531
ce5294e2 3532 * version.h: Update for 2.16 development version.
90fa7312 3533
8d44e150 3534 [BZ #13526]
d7809905
UD
3535 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3536 _ISOC11_SOURCE.
3537
c0da14cd
UD
3538 * version.h (RELEASE): Bump for 2.15 release.
3539 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3540
530a3249
MP
3541 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3542 Patch by Marek Polacek <mpolacek@redhat.com>.
3543
67371b56
UD
3544 * bits/byteswap.h: Protect long long constants with __extension__.
3545 * sysdeps/i386/bits/byteswap.h: Likewise.
3546 * sysdeps/ia64/bits/byteswap.h: Likewise.
3547 * sysdeps/s390/bits/byteswap.h: Likewise.
3548 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3549
15db4de1
LD
35502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3551
3552 [BZ #13540]
bbe315ea
LD
3553 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3554 destination buffer.
15db4de1
LD
3555 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3556
2b2596b1
MP
35572011-12-23 Marek Polacek <polacek@redhat.com>
3558
3559 * elf/dl-addr.c (determine_info): Add inline keyword.
3560 * elf/tst-auditmod4b.c (check_avx): Likewise.
3561 * elf/tst-auditmod6b.c (check_avx): Likewise.
3562 * elf/tst-auditmod6c.c (check_avx): Likewise.
3563 * elf/tst-auditmod7b.c (check_avx): Likewise.
3564
70c6c246
UD
35652011-12-23 Ulrich Drepper <drepper@gmail.com>
3566
3567 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3568 !__SSE_MATH__.
3569
c044cf14
LD
35702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3571
15db4de1 3572 [BZ #13540]
c044cf14
LD
3573 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3574 processing for last bytes.
3575
6b13d9d9
BH
35762011-08-06 Bruno Haible <bruno@clisp.org>
3577
d455f537
BH
3578 [BZ #13061]
3579 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3580 U+0385, not to U+1FEE.
3581
6b13d9d9
BH
3582 [BZ #13062]
3583 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3584 entry for U+00A5 U+0301.
3585
db910efd
UD
35862011-12-22 Ulrich Drepper <drepper@gmail.com>
3587
27deeafc
UD
3588 [BZ #13166]
3589 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3590 buffer for the output is too small.
3591
aed9d171
UD
3592 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3593 optimization.
3594
db910efd
UD
3595 [BZ #13185]
3596 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3597 SSE flags if possible.
3598
2bd779ae
LD
35992011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3600
e7f9dac3 3601 [BZ #13540]
2bd779ae
LD
3602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3603 processing for last bytes.
3604
154bfc16
JM
36052011-12-22 Joseph Myers <joseph@codesourcery.com>
3606
3607 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3608 (syscall-list-default-options, syscall-list-default-condition)
3609 (syscall-list-includes): Define.
3610 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3611 list of ABIs and options and #if conditions for each ABI. Do not
3612 handle common syscalls between ABIs specially.
3613 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3614 Remove.
3615 (syscall-list-variants, syscall-list-32bit-options)
3616 (syscall-list-32bit-condition, syscall-list-64bit-options)
3617 (syscall-list-64bit-condition): Define.
3618 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3619 (syscall-list-variants, syscall-list-32bit-options)
3620 (syscall-list-32bit-condition, syscall-list-64bit-options)
3621 (syscall-list-64bit-condition): Define.
3622 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3623 Remove.
3624 (syscall-list-variants, syscall-list-32bit-options)
3625 (syscall-list-32bit-condition, syscall-list-64bit-options)
3626 (syscall-list-64bit-condition): Define.
3627 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3628 Remove.
3629 (syscall-list-variants, syscall-list-32bit-options)
3630 (syscall-list-32bit-condition, syscall-list-64bit-options)
3631 (syscall-list-64bit-condition): Define.
3632
21eaf3a5
UD
36332011-12-22 Ulrich Drepper <drepper@gmail.com>
3634
16c6f992
UD
3635 * locale/iso-639.def: Add brx entry.
3636
41043168
UD
3637 [BZ #13328]
3638 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3639 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3640
21eaf3a5
UD
3641 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3642 __feraiseexcept_renamed.
3643
e3a851a2
UD
36442011-12-21 Ulrich Drepper <drepper@gmail.com>
3645
4920765e
UD
3646 [BZ #13538]
3647 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3648 EPOLLET with unsigned values.
3649 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3651
e3a851a2
UD
3652 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3653 to large cancellation.
3654 * math/s_cacoshf.c: Likewise.
3655 * math/s_cacoshl.c: Likewise.
3656
b27e24b8
RK
36572011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3658
3659 [BZ #13305]
aebefeee 3660 [BZ #12786]
b27e24b8
RK
3661 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3662 * math/s_cacoshf.c: Likewise.
3663 * math/s_cacoshl.c: Likewise.
3664
ee190f67
UD
36652011-12-21 Ulrich Drepper <drepper@gmail.com>
3666
3667 [BZ #13439]
3668 * iconv/gconv.h: Define __GCONV_SWAP.
3669 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3670 * iconvdata/utf-16.c: Likewise.
3671 * iconvdata/utf-32.c: Likewise.
3672
707f25df
AS
36732011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3674
3675 [BZ #13524]
3676 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3677 numerator after shifting it by one limb.
3678
d2daaa1e
RÁE
36792011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3680
3681 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3682 under [__USE_EXTERN_INLINES].
3683
a4647e72
UD
36842011-12-17 Ulrich Drepper <drepper@gmail.com>
3685
3686 [BZ #13446]
3687 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3688
f0b264f1
AZ
36892011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3690
3691 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3692 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3693 optimized code.
3694 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3695 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3696 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3697 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3698 for strncasecmp/strncasecmp_l compilation.
3699 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3700 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3701
8ef4f244
MP
37022011-12-08 Marek Polacek <mpolacek@redhat.com>
3703
3704 [BZ #13484]
3705 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3706 of __asm__.
3707
97ac2654
UD
37082011-12-17 Ulrich Drepper <drepper@gmail.com>
3709
3710 [BZ #13506]
3711 * time/tzfile.c (__tzfile_read): Check values from file header.
3712
91d2a845
WS
37132011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3714
3715 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3716 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3717 * powerpc/powerpc32/dl-start.S: Likewise.
3718 * powerpc/powerpc32/elf/start.S: Likewise.
3719 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3720 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3721 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3722 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3723 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3724 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3725 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3726 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3727 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3728 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3729 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3730 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3731 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3732 * powerpc/powerpc32/memset.S: Likewise.
3733 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3734 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3735 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3736 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3737 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3738 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3739 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3740 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3741 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3742 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3743 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3744 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3745 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3746
a1267ba1
AZ
37472011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3748
3749 * math/libm-test.inc: Added more nearbyint tests.
3750 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3751 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3754
ad8ac1bd
RL
37552011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3756
3757 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3758 FD_CLOEXEC.
3759
1d3e4b61
UD
37602011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3761
3762 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3763 Add wcscpy-ssse3 wcscpy-c.
3764 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3765 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3766 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3767 * sysdeps/x86_64/wcschr.S: New file.
3768 * sysdeps/x86_64/wcsrchr.S: New file.
3769 * string/test-strcmp.c: Remove checking of wcscmp function for
3770 wrong alignments.
3771 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3772 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3773 wcsrchr-sse2 wcsrchr-c.
3774 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3775 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3776 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3777 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3778 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3779 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3780 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3781 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3782 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3783 * wcsmbc/wcschr.c (WCSCHR): New macro.
3784
5b330a2d
UD
37852011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3786
3787 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3788 * wcsmbs/test-wcsrchr.c: New file.
3789 * string/test-strrchr.c: Add wcsrchr support.
3790 (WIDE): New macro.
3791 * wcsmbs/test-wcscpy.c: New file.
3792 * string/test-strcpy.c: Add wcscpy support.
3793 (WIDE): New macro.
26428b7c 3794
f039c043
UD
37952011-12-10 Ulrich Drepper <drepper@gmail.com>
3796
3797 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3798 the inner loop.
3799
850fb039
AS
38002011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3801
3802 [BZ #13472]
3803 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3804
4efbd5cb
UD
38052011-12-04 Ulrich Drepper <drepper@gmail.com>
3806
52ff5dd0 3807 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3808 Minor optimizations.
52ff5dd0 3809
4efbd5cb
UD
3810 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3811 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3812 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3813
8a426e12
UD
38142011-12-03 Ulrich Drepper <drepper@gmail.com>
3815
aff2453d
UD
3816 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3817 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3818 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3819 for gcc to avoid warnings.
3820 * inet/Makefile (tests): Add tst-checks.
3821 * inet/tst-checks.c: New file.
3822
3823 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3824 warning.
3825
3826 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3827 __wmemcmp_sse2.
3828
3829 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3830 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3831
8a426e12
UD
3832 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3833
9bea3473
UD
38342011-12-02 Ulrich Drepper <drepper@gmail.com>
3835
3a965496
UD
3836 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3837 problem.
3838
9bea3473
UD
3839 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3840
f101631b
UD
38412011-11-29 Joseph Myers <joseph@codesourcery.com>
3842
3843 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3844 conditional on GCC version.
3845 (__arch_compare_and_exchange_val_8_acq)
3846 (__arch_compare_and_exchange_val_16_acq)
3847 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3848 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3849 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3850
a98275aa
UD
38512011-12-02 Joseph Myers <joseph@codesourcery.com>
3852
3853 * sysdeps/sh/backtrace.c: New file.
3854
d4cc29a2
AS
38552011-12-02 Andreas Schwab <schwab@redhat.com>
3856
3857 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3858 parenthesis.
3859
6257af2d
AS
38602011-12-01 Andreas Schwab <schwab@redhat.com>
3861
3862 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3863 falling back to utime.
3864
b5f44c1a
AS
38652011-11-30 Andreas Schwab <schwab@redhat.com>
3866
3867 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3868 expectations for float.
3869
f3a6cc0a
AS
38702011-11-29 Andreas Schwab <schwab@redhat.com>
3871
3872 * locale/weight.h (findidx): Add parameter len.
3873 * locale/weightwc.h (findidx): Likewise.
3874 * posix/fnmatch_loop.c (FCT): Adjust caller.
3875 * posix/regcomp.c (build_equiv_class): Likewise.
3876 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3877 * posix/regexec.c (check_node_accept_bytes): Likewise.
3878 * string/strcoll_l.c (STRCOLL): Likewise.
3879 * string/strxfrm_l.c (STRXFRM): Likewise.
3880
9d65ea3a
UD
38812011-11-17 Ulrich Drepper <drepper@gmail.com>
3882
3883 * Makefile.in: Remove CVSOPT handling.
3884 * configure.in: Remove use of AC_REVISION.
3885 * iconvdata/Makefile (distribute): No need to filter out CVS.
3886 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3887 handling.
3888
5583a086
AS
38892011-11-16 Andreas Schwab <schwab@redhat.com>
3890
3891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3892 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3893 [USE_AS_STRNCASECMP_L]: Likewise.
3894 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3895 NO_TLS_DIRECT_SEG_REFS.
3896 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3897 Fix argument offsets for non-PIC.
3898 [USE_AS_STRNCASECMP_L]: Likewise.
3899 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3900 NO_TLS_DIRECT_SEG_REFS.
3901
d62a8200
UD
39022011-11-15 Ulrich Drepper <drepper@gmail.com>
3903
9d65ea3a 3904 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3905 O_CLOEXEC.
3906 * locale/loadlocale.c (_nl_load_locale): Likewise.
3907
09f93bd3
AS
39082011-11-15 Andreas Schwab <schwab@redhat.com>
3909
446514f9
AS
3910 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3911 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3912 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3913 (SYSCALL_GETTIME): Set errno on error.
3914
09f93bd3
AS
3915 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3916 count references to noai6ai_cached.
3917
312be3f9
UD
39182011-11-15 Ulrich Drepper <drepper@gmail.com>
3919
3920 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3921
3922 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3923 FD_CLOEXEC for /proc/self/maps.
3924
3925 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3926 FD_CLOEXEC for /proc/meminfo.
3927
3928 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3929 gai.conf.
3930
3931 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3932 FD_CLOEXEC for given file.
3933
3934 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3935
3936 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3937 FD_CLOEXEC for /etc/hosts.
3938 (_gethtent): Likewise.
3939
3940 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3941
3942 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3943 cancellation and set FD_CLOEXEC for /etc/netgroup.
3944
3945 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3946 reading /etc/publickey.
3947
3948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3949 allow cancellation when reading /etc/group.
3950
3951 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3952 cancellation.
3953 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3954
3955 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3956 when using data file.
3957
3958 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3959
3960 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3961 (write_nis_obj): Use "c" and "e" in fopen.
3962
3963 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3964
3965 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3966
3967 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3968
3969 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3970
3971 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3972 locale.alias.
3973
3974 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3975
3976 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3977
3978 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3979
3980 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3981 file parsing and set FD_CLOEXEC.
3982
82af0fa8
UD
39832011-11-14 Ulrich Drepper <drepper@gmail.com>
3984
3985 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3986
a5fb313c
AS
39872011-11-14 Andreas Schwab <schwab@redhat.com>
3988
3989 * malloc/arena.c (arena_get2): Don't call reused_arena when
3990 _int_new_arena failed.
3991
6abf3465
UD
39922011-11-14 Ulrich Drepper <drepper@gmail.com>
3993
3994 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3995 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3996 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3997 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3998 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4000 to compile strcasecmp and strncasecmp.
4001 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4002 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4003
4004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4005
76e3966e
UD
40062011-11-13 Ulrich Drepper <drepper@gmail.com>
4007
4008 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4009 locale-defines.sym to gen-as-const-headers.
4010 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4011 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4013 to compile strcasecmp and strncasecmp.
4014 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4015 strcasecmp_l and strncasecmp_l.
4016 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4017 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4018 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4019 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4020 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4021 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4022 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4023 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4024 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4025 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4026 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4027
ab26144e
UD
40282011-11-12 Ulrich Drepper <drepper@gmail.com>
4029
7edb22ef
UD
4030 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4031 result of SYSDEP_GETTIME_CPU to retval.
4032 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4033 parameter list to macro. Remove trailing semicolon. Adjust users.
4034
9694fc44
UD
4035 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4036 variable.
4037
8ad89ef8
UD
4038 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4039 mantissa words.
4040 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4041
0c822ef9
UD
4042 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4043 from unused variable.
4044
874e0564
UD
4045 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4046 DWARF definitions.
4047 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4048 for assembling.
4049
3a2edc79
UD
4050 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4051 over namespaces.
4052
f3c2577f
UD
4053 * sunrpc/rpc_prot.c (rejected): Fix case value.
4054
294ce126
UD
4055 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4056 unsigned long long int to avoid warnings in shift.
4057
5e2b63c6
UD
4058 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4059 of use of trans.
4060 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4061 variable tmp.
4062
e7f4b08e
UD
4063 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4064 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4065 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4066
ab26144e
UD
4067 * nis/nis_table.c (nis_list): Use variable of correct type for
4068 result of __follow_path call.
4069
8a6d5255
AZ
40702011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4071
4072 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4073 of math functions ceil, trunc, floor, round, and sqrt, when
4074 avaliable on the platform.
4075 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4076 name clash.
4077 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4078 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4079 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4080
aaddc98c
MP
40812011-10-30 Marek Polacek <mpolacek@redhat.com>
4082
4083 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4084 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4085
95b7042b
RM
40862011-11-11 Roland McGrath <roland@hack.frob.com>
4087
4088 * include/unistd.h: Fix __readlink return type.
4089 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4090
57769839
UD
40912011-11-11 Ulrich Drepper <drepper@gmail.com>
4092
4093 * stdlib/ucontext.h: Undo last change for makecontext.
4094
edc5984d
AS
40952011-11-11 Andreas Schwab <schwab@redhat.com>
4096
98591e58
AS
4097 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4098
edc5984d
AS
4099 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4100 * setjmp/setjmp.h: Mark functions as non-leaf.
4101 * setjmp/bits/setjmp2.h: Likewise.
4102 * stdlib/ucontext.h: Likewise.
4103
77cdc054
AS
41042011-11-10 Andreas Schwab <schwab@redhat.com>
4105
4106 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4107 (reused_arena): Don't check arena limit.
4108 (arena_get2): Atomically check arena limit.
4109
fe72eebd
UD
41102011-11-08 Ulrich Drepper <drepper@gmail.com>
4111
5f078c32
UD
4112 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4113 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4114
fe72eebd
UD
4115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4116 instructions.
4117
ae1bc2fa
AS
41182011-11-07 Andreas Schwab <schwab@redhat.com>
4119
7583a88d
AS
4120 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4121 handler when locking.
4122
ae1bc2fa
AS
4123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4124 Fix size of allocated buffer.
4125
10fb0bfa
AS
41262011-11-04 Andreas Schwab <schwab@redhat.com>
4127
998832a4
AS
4128 [BZ #10103]
4129 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4130 declarations for long double functions.
4131 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4132
10fb0bfa
AS
4133 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4134
3d7ba52b
AS
41352011-11-03 Andreas Schwab <schwab@redhat.com>
4136
a9ae54a1
AS
4137 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4138 installed.
4139
3d7ba52b
AS
4140 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4141 is disabled.
4142
bc8db248
ST
41432011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4144
4145 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4146
45b96dd6
AS
41472011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4148
647776f6
AS
4149 * include/alloca.h (stackinfo_alloca_round): Define.
4150 (extend_alloca): Use it.
4151 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4152 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4153 here.
4154
d91a8b93
AS
4155 * scripts/check-local-headers.sh: Ignore libaudit.h.
4156
45b96dd6
AS
4157 * nscd/Makefile (extra-objs): Make recursively expanded.
4158
432d41ce
UD
41592011-11-01 Ulrich Drepper <drepper@gmail.com>
4160
34372fc6
UD
4161 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4162 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4163
fadb59f8
UD
4164 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4165 * posix/tst-rfc3484-2.c: Likewise.
4166 * posix/tst-rfc3484-3.c: Likewise.
4167
78239589
UD
4168 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4169 process_vm_writev.
4170 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4171 process_vm_writev.
4172 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4173 process_vm_writev from libc using GLIBC_2.15 version.
4174
432d41ce
UD
4175 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4176
02f9c6cf
PP
41772011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4178
4179 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4180 stack usage.
4181
3a2c0242
UD
41822011-10-31 Ulrich Drepper <drepper@gmail.com>
4183
f4ec4833
UD
4184 [BZ #13367]
4185 * nss/getent.c (initgroups_keys): Show error message in case no group
4186 names are given.
4187
3a2c0242
UD
4188 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4189 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4190 __bump_nl_timestamp.
4191 * nscd/connections (nscd_init): When host database is served open
4192 netlink socket and request notification about configuration changes.
4193 (main_loop_poll): Track netlink file descriptor and bump timestamp
4194 in case data becomes available.
4195 (main_loop_epoll): Likewise.
4196 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4197 (database_pers_head): Add extra_data fileds.
4198 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4199 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4200 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4201 Adjust caller.
4202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4203 in6ai data, call __free_in6ai.
4204 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4205 Add -DHAVE_NETLINK.
4206 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4207 interface information. Reuse previous data if netlink timestamp
4208 is not changed.
4209 (__bump_nl_timestamp): New function.
4210 (__free_in6ai): New function.
4211
636064eb
UD
42122011-10-30 Ulrich Drepper <drepper@gmail.com>
4213
4214 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4215 close_not_cancel_no_status here.
4216 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4217
9beb2334
UD
42182011-10-29 Ulrich Drepper <drepper@gmail.com>
4219
6ef76f3b
UD
4220 [BZ #13276]
4221 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4222 return value.
4223
0ffc4f3e 4224 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4225 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4226 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4227
cb95113e
UD
42282011-07-03 Andreas Jaeger <aj@suse.de>
4229
4230 [BZ #10709]
4231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4232 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4233 * math/libm-test.inc (sin_test): Add test case.
4234
a1b560ff
UD
42352011-10-29 Ulrich Drepper <drepper@gmail.com>
4236
c9aaface
UD
4237 [BZ #13337]
4238 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4239 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4240
d272e7f1
UD
4241 * elf/chroot_canon.c (chroot_canon): Cleanups.
4242
1bc33071
UD
4243 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4244
1760874d
TJ
4245 [BZ #13335]
4246 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4247 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4248
51d91b18
UD
4249 * string/test-strchr.c: Make usable for strchrnul testing.
4250 * string/test-strchrnul.c: New file.
4251 * string/Makefile (strop-tests): Add strchrnul.
4252
a1b560ff 4253 * po/it.po: Update from translation team.
b611fb81 4254 * po/es.po: Likewise.
a1b560ff 4255
a5b81e1f
UD
42562011-10-28 Ulrich Drepper <drepper@gmail.com>
4257
fd52bc6d
UD
4258 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4259 the three constants needed as parameters. Drop the others.
4260 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4261 __m128i_strloadu_tolower.
52e4b9eb
UD
4262 Create and initialize variable zero and use it in all the places
4263 where _mm_setzero_si128 was used.
fd52bc6d 4264
a5b81e1f
UD
4265 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4266 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4267 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4269 anymore.
4270 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4271 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4272 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4273 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4274 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4275 __mpranred, __mptan.
4276 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4277 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4278 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4279 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4280 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4281 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4282 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4283 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4284 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4285
b4343346
AS
42862011-10-28 Andreas Schwab <schwab@redhat.com>
4287
0c92d8a8
AS
4288 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4289 redefine if SHARED.
4290 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4291
b4343346
AS
4292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4293 wide char related routines to wcsmbs subdir.
4294
3871f58f
AS
42952011-10-27 Andreas Schwab <schwab@redhat.com>
4296
4297 [BZ #13344]
4298 * misc/sys/cdefs.h (__THROWNL): Define.
4299 * posix/unistd.h: Use __THREADNL instead of __THREAD
4300 for memory synchronization functions.
4301
94d44d9f
RM
43022011-10-26 Roland McGrath <roland@hack.frob.com>
4303
21b64b15 4304 [BZ #13349]
94d44d9f
RM
4305 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4306 doesn't exist.
4307 * manual/stdio.texi (Obstack Streams): Node removed.
4308
f6ce9294
AS
43092011-10-26 Andreas Schwab <schwab@redhat.com>
4310
80479147
AS
4311 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4312 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4313 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4314
f6ce9294
AS
4315 * math/math_private.h (math_force_eval): Allow non-addressable
4316 arguments.
4317 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4318
618280a1
UD
43192011-10-25 Ulrich Drepper <drepper@gmail.com>
4320
e0016b11
UD
4321 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4322 file is not needed.
4323
4324 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4325 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4331 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4332 Add AVX variants.
4333 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4334 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4335 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4336 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4337 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4338 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4339 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4340 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4341 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4342 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4343 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4344 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4345 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4346 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4347 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4348 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4349 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4350 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4351 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4352
4353 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4354 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4355
618280a1
UD
4356 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4357 place. Use VEX encoding when compiling for AVX.
4358
37822576
AS
43592011-10-25 Andreas Schwab <schwab@redhat.com>
4360
1f1e1947
AS
4361 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4362 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4363
37822576
AS
4364 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4365
31ea014d
UD
43662011-10-25 Ulrich Drepper <drepper@gmail.com>
4367
d7826aa1 4368 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4369 useless if() expression.
d7826aa1
UD
4370 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4371 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4372 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4373 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4374 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4375 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4376 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4378 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4379 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4380 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4381 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4382 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4383 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4384 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4385 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4386 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4388 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4389
31ea014d
UD
4390 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4391
16437fec
AS
43922011-10-25 Andreas Schwab <schwab@redhat.com>
4393
4394 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4395 condition.
4396 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4397
31d3cc00
UD
43982011-10-25 Ulrich Drepper <drepper@gmail.com>
4399
4400 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4401 .text section. Avoid duplicate constants.
4402 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4403 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4410 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4411 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4412 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4414 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4416 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4417 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4419 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4429 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4430 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4431 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4432 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4433 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4434 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4435 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4436 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4437 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4438 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4439 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4440 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4441 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4442 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4443 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4444 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4445 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4446 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4447
58985aa9
UD
44482011-10-24 Ulrich Drepper <drepper@gmail.com>
4449
202c9deb
UD
4450 * sysdeps/x86_64/dla.h: Move to ...
4451 * sysdeps/x86_64/fpu/dla.h: ...here.
4452 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4453 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4454
af968f62
UD
4455 * config.make.in: Add have-mfma4 entry.
4456 * configure.in: Substitute libc_cv_cc_fma4.
4457 * math/Makefile (dbl-only-routines): Add sincostab.
4458 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4459 Use __sincostab not sincos.
4460 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4461 name is a macro.
4462 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4466 using __copysign.
4467 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4468 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4469 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4470 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4471 and __inv.
4472 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4473 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4474 __copysign.
4475 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4476 define aliases when function name is a macro.
4477 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4478 sysdeps/ieee754/dbl-64/sincos.tbl.
4479 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4480 fma4-enabled routines.
4481 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4482 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4483 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4484 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4485 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4486 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4487 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4488 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4489 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4490 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4491 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4492 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4493 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4494 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4495 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4496 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4497 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4498 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4499 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4500 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4501 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4502 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4503 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4504 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4505 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4506 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4507 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4508 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4509 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4510 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4511
58985aa9
UD
4512 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4513 rename.
4514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4522
a201fbcf
AS
45232011-10-24 Andreas Schwab <schwab@redhat.com>
4524
4525 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4526
fc2ee42a
LD
45272011-10-23 Ulrich Drepper <drepper@gmail.com>
4528
bb3129bd
UD
4529 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4530
0275fff8
UD
4531 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4532 prediction.
4533 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4534
2fa2ae85
UD
4535 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4536 Remove unused variable magic_bits.
4537 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4538
fc2ee42a
LD
4539 * string/strnlen.c: Define and use STRNLEN macro.
4540 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4541 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4542 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4543 * wcsmbs/wcslen.c: Define and use WCSLEN.
4544 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4545 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4546 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4547 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4548 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4549 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4550 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4551
ce7dd29f
LD
45522011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4553
4554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4555 strnlen-sse2-no-bsf.
4556 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4558 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4559 Add strnlen support.
4560 (USE_AS_STRNLEN): New macro.
4561 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4562 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4563 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4564 * sysdeps/x86_64/wcslen.S: New file.
4565
979c70a3
MZ
45662011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4567
4568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4569 XMM-moves are used for copying on small sizes.
4570
2d09f82f
LD
45712011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4572
4573 * wcsmbs/Makefile (strop-tests): Add wcschr.
4574 * wcsmbs/test-wcschr.c: New file.
4575 * string/test-strchr.c: Update.
4576 Add wcschr support.
4577 (WIDE): New macro.
4578
619fccca
LD
45792011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4580
2d09f82f 4581 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4582 * wcsmbs/test-wcslen.c: New file.
4583 * string/test-strlen.c: Update.
4584 Add wcslen support.
4585 (WIDE): New macro.
4586
09f699ea
UD
45872011-10-23 Ulrich Drepper <drepper@gmail.com>
4588
4589 * po/it.po: Update from translation team.
4590
95584d3b
LD
45912011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4592
4593 * sysdeps/x86_64/wcscmp.S: Update.
4594 Fix wrong comparison semantics.
4595 wcscmp shall use signed comparison not unsigned.
4596 Don't use substraction to avoid overflow bug.
4597 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4598 * wcsmbc/wcscmp.c: Likewise.
4599 * string/test-strcmp.c: Likewise.
4600 Add new tests to check cases with negative values.
4601
c8b3296b
UD
46022011-10-23 Ulrich Drepper <drepper@gmail.com>
4603
4604 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4605 * sysdeps/x86_64/dla.h: ...here. New file.
4606 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4607 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4608 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4611 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4615
246ad57a
AS
46162011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4617
4618 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4619 __ynl_finite aliases.
4620
a1a87169
UD
46212011-10-22 Ulrich Drepper <drepper@gmail.com>
4622
0d355eb7
UD
4623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4624
a1a87169
UD
4625 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4626 define DLA_FMA.
4627 [DLA_FMA] (EMULV): Use DLA_FMA.
4628 [DLA_FMA] (MUL12): Use EMULV.
4629 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4630 that are not needed.
4631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4638
ee2aafe0
AS
46392011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4640
4641 * math/s_nan.c: Undef __nan.
4642 * math/s_nanf.c: Undef __nanf.
4643 * math/s_nanl.c: Undef __nanl.
4644 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4645 "math_private.h".
4646
bc62c2fb
UD
46472011-10-22 Ulrich Drepper <drepper@gmail.com>
4648
77425c63
UD
4649 * math/s_catan.c: Add branch predictions.
4650 * math/s_catanf.c: Likewise.
4651 * math/s_catanh.c: Likewise.
4652 * math/s_catanhf.c: Likewise.
4653 * math/s_catanhl.c: Likewise.
4654 * math/s_catanl.c: Likewise.
4655 * math/s_cexp.c: Likewise.
4656 * math/s_cexpf.c: Likewise.
4657 * math/s_cexpl.c: Likewise.
4658 * math/s_clog.c: Likewise.
4659 * math/s_clog10.c: Likewise.
4660 * math/s_clog10f.c: Likewise.
4661 * math/s_clog10l.c: Likewise.
4662 * math/s_clogf.c: Likewise.
4663 * math/s_clogl.c: Likewise.
4664 * math/s_csqrt.c: Likewise.
4665 * math/s_csqrtf.c: Likewise.
4666 * math/s_csqrtl.c: Likewise.
4667 * math/s_ctanf.c: Likewise.
4668 * math/s_ctanh.c: Likewise.
4669 * math/s_ctanhf.c: Likewise.
4670 * math/s_ctanhl.c: Likewise.
4671 * math/s_ctanl.c: Likewise.
4672
bc62c2fb
UD
4673 * math/math_private.h: Define __nan, __nanf, __nanl.
4674 * math/s_cacosh.c: Include <math_private.h>.
4675 * math/s_cacoshl.c: Likewise.
4676 * math/s_casinh.c: Likewise.
4677 * math/s_casinhf.c: Likewise.
4678 * math/s_casinhl.c: Likewise.
4679 * math/s_ccos.c: Rely entire on ccosh.
4680 * math/s_ccosf.c: Rely entire on ccoshf.
4681 * math/s_ccosl.c: Rely entirely on ccoshl.
4682 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4683 Remove tests for FE_INVALID.
4684 * math/s_ccoshf.c: Likewise.
4685 * math/s_ccoshl.c: Likewise.
4686 * math/s_csin.c: Likewise.
4687 * math/s_csinf.c: Likewise.
4688 * math/s_csinh.c Likewise.
4689 * math/s_csinhf.c: Likewise.
4690 * math/s_csinhl.c: Likewise.
4691 * math/s_csinl.c: Likewise.
4692 * math/s_ctan.c: Likewise.
4693 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4694 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4695 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4696
8ec250a4
UD
46972011-10-21 Ulrich Drepper <drepper@gmail.com>
4698
c196fed8
UD
4699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4700 compilation problems.
4701
8ec250a4
UD
4702 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4703 __builtin_expect.
4704
8d4f46c6
UD
47052011-10-20 Ulrich Drepper <drepper@gmail.com>
4706
ed72b654
UD
4707 * sysdeps/i386/configure.in: Test for -mfma4 option.
4708 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4709 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4710 COMMON_CPUID_INDEX_80000001.
4711 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4712 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4713 use it if FMA3 is not supported.
4714 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4715
8d4f46c6
UD
4716 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4717 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4718
d45c60c2
AS
47192011-10-20 Andreas Schwab <schwab@redhat.com>
4720
4721 [BZ #12892]
4722 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4723 it would create a cycle with a link time dependency.
4724
d9a4d2ab
UD
47252011-10-19 Ulrich Drepper <drepper@gmail.com>
4726
855d1560
UD
4727 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4728 instruction.
4729 * string/Makefile (strop-tests): Add rawmemchr.
4730 * string/test-rawmemchr.c: New file.
4731
d9a4d2ab
UD
4732 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4733 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4734 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4735 when compiling str{,n}casecmp and when AVX is available. Hook up
4736 new optimized code in initializers.
4737
8f3b1ffe
AS
47382011-10-19 Andreas Schwab <schwab@redhat.com>
4739
4740 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4741 __feraiseexcept instead of feraiseexcept.
4742
d38f1dba
UD
47432011-10-18 Ulrich Drepper <drepper@gmail.com>
4744
d9a8d0ab
UD
4745 * math/math_private.h: Define defaults for libc_fetestexcept and
4746 libc_feupdateenv.
4747 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4748 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4749 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4750 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4751 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4752 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4753 libc_fetestexcept and libc_feupdateenv.
4754
4855e3dd
UD
4755 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4756 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4757 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4758 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4759 libc_feholdexcept_setround.
4760
581d30e3
UD
4761 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4762 Add s_nearbyint-c and s_nearbyintf-c.
4763 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4764 nearbyintf inlines.
4765 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4766 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4767 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4768 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4769
d38f1dba
UD
4770 * math/math_private.h: Define defaults for libc_fegetround,
4771 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4772 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4773 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4774 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4775 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4776 standard functions.
4777 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4778 Remove comments and hacks for old compiler versions.
4779 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4780 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4781 libc_feholdexceptl.
4782
caa6c9d8
AS
47832011-10-18 Andreas Schwab <schwab@redhat.com>
4784
4785 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4786 (__feraiseexcept_renamed): Add __NTH.
4787 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4788 namespace violations.
4789
97c066e6
UD
47902011-10-17 Ulrich Drepper <drepper@gmail.com>
4791
99ce7b04
UD
4792 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4793
1004d182
UD
4794 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4795
228a984d
UD
4796 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4797 recently added interfaces.
4798 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4799
c8553a6a
UD
4800 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4801 about macro parameter expansion.
4802
ed22dcf6
UD
4803 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4804 __NO_MATH_INLINES is defined. Cleanups.
4805
4806 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4807 and __floorf is target has SSE4.1.
4808 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4809 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4810 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4811 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4812
b171c137
UD
4813 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4814 name.
4815 (floorf): Likewise.
4816
97c066e6
UD
4817 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4818
629f62ef
AS
48192011-10-17 Andreas Schwab <schwab@redhat.com>
4820
49a43d80
AS
4821 * misc/sys/cdefs.h: Fix last change.
4822
629f62ef
AS
4823 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4824 database lookup.
4825
e453f6cd
UD
48262011-10-16 Ulrich Drepper <drepper@gmail.com>
4827
aa78043a
UD
4828 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4829
ad0f5cad
UD
4830 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4831 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4832 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4833 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4834 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4835 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4836 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4837 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4838 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4839 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4840 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4841 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4842 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4843 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4844 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4845 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4846 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4847 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4848 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4849 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4850 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4851 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4852
4853 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4854 ceil, ceilf, floor, floorf.
4855
4856 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4857 Perform IRELATIVE relocations last.
4858
e453f6cd
UD
4859 * elf/do-rel.h: Add another parameter nrelative, replacing the
4860 local variable with the same name. Change name of the function
4861 to end in Rel or Rela (uppercase).
4862 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4863 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4864 elf_dynamic_do_##reloc function.
4865
fd5bdc09
UD
48662011-10-15 Ulrich Drepper <drepper@gmail.com>
4867
79b195b5
UD
4868 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4869 is sufficient, at least on modern CPUs.
4870
d4a28569
UD
4871 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4872
b61099b5
UD
4873 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4874 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4875
bcf01e6d
UD
4876 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4877 __expl_finite.
4878 * math/bits/math-finite.h: Add entries for exp.
4879 * math/e_expl.c: Add __*_finite alias.
4880 * sysdeps/i386/fpu/e_exp.S: Likewise.
4881 * sysdeps/i386/fpu/e_expf.S: Likewise.
4882 * sysdeps/i386/fpu/e_expl.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4884 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4887 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4888 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4889 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4890
ba1a0d59
UD
4891 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4892 is sufficient, at least on modern CPUs.
4893
fd5bdc09
UD
4894 * ctype/ctype-info.c (__ctype_init): Define.
4895 * include/ctype.h (__ctype_init): Declare.
4896 (__ctype_b_loc): The variable is always initialized.
4897 (__ctype_toupper_loc): Likewise.
4898 (__ctype_tolower_loc): Likewise.
4899 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4900 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4901
7872cfb0
AS
49022011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4903
b468825a
AS
4904 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4905
7872cfb0
AS
4906 * configure.in: Also look in $cxxmachine/include for C++ system
4907 headers.
4908
be13f7bf
LD
49092011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4910
4911 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4912 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4913 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4914 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4915 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4916 (USE_AS_WMEMCMP): New macro.
4917 Fixing indents.
4918 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4919 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4920 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4921 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4923 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4924 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4925 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4926 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4927 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4928 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4929 (USE_AS_WMEMCMP): New macro.
4930 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4931 * sysdeps/string/test-memcmp.c: Update.
4932 Fix simple_wmemcmp.
4933 Add new tests.
4934 * wcsmbs/wmemcmp.c: Update.
4935 (WMEMCMP): New macro.
4936 Fix overflow bug.
4937
556a2007
AJ
49382011-10-12 Andreas Jaeger <aj@suse.de>
4939
4940 [BZ #13268]
4941 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4942
538faaa7
UD
49432011-10-15 Ulrich Drepper <drepper@gmail.com>
4944
ab6737ff
UD
4945 * libio/iofwide.c (do_length): Avoid warning.
4946
538faaa7
UD
4947 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4948
396a21b1
UD
49492011-10-14 Ulrich Drepper <drepper@gmail.com>
4950
cdf2901f
UD
4951 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4952
38ad40ce
UD
4953 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4954 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4955 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4956 * sysdeps/i386/i686/fpu/e_log.S: New file.
4957 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4958 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4959
396a21b1
UD
4960 * ctype/ctype.h: Add support for inlined isXXX functions when
4961 compiling C++ code.
4962
6b1f68c9
AS
49632011-10-14 Andreas Schwab <schwab@redhat.com>
4964
349290c0
AS
4965 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4966
6b1f68c9
AS
4967 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4968
f2282d42
RM
49692011-10-13 Roland McGrath <roland@hack.frob.com>
4970
4971 [BZ #13291]
4972 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4973
5298ffa8
AS
49742011-10-13 Andreas Schwab <schwab@redhat.com>
4975
714fad23
AS
4976 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4977 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4978 feraiseexcept.
4979
81dcc7fb
AS
4980 * sysdeps/x86_64/memrchr.S: Check for zero size.
4981
5298ffa8
AS
4982 * string/stratcliff.c: Add memrchr tests.
4983
951fbcec
LD
49842011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4985
4986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4987 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4988 rawmemchr-sse2 rawmemchr-sse2-bsf.
4989 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4990 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4991 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4992 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4993 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4994 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4995 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4996 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4997 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4998 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4999 * string/memrchr.c (MEMRCHR): New macro.
5000
0ac5ae23
UD
50012011-10-12 Ulrich Drepper <drepper@gmail.com>
5002
5003 Add integration with gcc's -ffinite-math-only and optimize wrapper
5004 functions in libm.
5005 * Versions.def: Define GLIBC_2.15 version for libm.
5006 * math/Makefile (headers): Add bits/math-finite.h.
5007 * math/bits/math-finite.h: New file.
5008 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5009 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5010 * math/e_acoshl.c: Add __*_finite alias.
5011 * math/e_acosl.c: Likewise.
5012 * math/e_asinl.c: Likewise.
5013 * math/e_atan2l.c: Likewise.
5014 * math/e_atanhl.c: Likewise.
5015 * math/e_coshl.c: Likewise.
5016 * math/e_exp10.c: Likewise.
5017 * math/e_exp10f.c: Likewise.
5018 * math/e_exp10l.c: Likewise.
5019 * math/e_exp2l.c: Likewise.
5020 * math/e_fmodl.c: Likewise.
5021 * math/e_gammal_r.c: Likewise.
5022 * math/e_hypotl.c: Likewise.
5023 * math/e_j0l.c: Likewise.
5024 * math/e_j1l.c: Likewise.
5025 * math/e_jnl.c: Likewise.
5026 * math/e_lgammal_r.c: Likewise.
5027 * math/e_log10l.c: Likewise.
5028 * math/e_log2l.c: Likewise.
5029 * math/e_logl.c: Likewise.
5030 * math/e_powl.c: Likewise.
5031 * math/e_sinhl.c: Likewise.
5032 * math/e_sqrtl.c: Likewise.
5033 * math/e_scalb.c: Completely rewritten and optimized.
5034 * math/e_scalbf.c: Likewise.
5035 * math/e_scalbl.c: Likewise.
5036 * math/w_acos.c: Likewise.
5037 * math/w_acosf.c: Likewise.
5038 * math/w_acosl.c: Likewise.
5039 * math/w_acosh.c: Likewise.
5040 * math/w_acoshf.c: Likewise.
5041 * math/w_acoshl.c: Likewise.
5042 * math/w_asin.c: Likewise.
5043 * math/w_asinf.c: Likewise.
5044 * math/w_asinl.c: Likewise.
5045 * math/w_atan2.c: Likewise.
5046 * math/w_atan2f.c: Likewise.
5047 * math/w_atan2l.c: Likewise.
5048 * math/w_atanh.c: Likewise.
5049 * math/w_atanhf.c: Likewise.
5050 * math/w_atanhl.c: Likewise.
5051 * math/w_exp10.c: Likewise.
5052 * math/w_exp10f.c: Likewise.
5053 * math/w_exp10l.c: Likewise.
5054 * math/w_fmod.c: Likewise.
5055 * math/w_fmodf.c: Likewise.
5056 * math/w_fmodl.c: Likewise.
5057 * math/w_j0.c: Likewise.
5058 * math/w_j0f.c: Likewise.
5059 * math/w_j0l.c: Likewise.
5060 * math/w_j1.c: Likewise.
5061 * math/w_j1f.c: Likewise.
5062 * math/w_j1l.c: Likewise.
5063 * math/w_jn.c: Likewise.
5064 * math/w_jnf.c: Likewise.
5065 * math/w_log.c: Likewise.
5066 * math/w_logf.c: Likewise.
5067 * math/w_logl.c: Likewise.
5068 * math/w_log10.c: Likewise.
5069 * math/w_log10f.c: Likewise.
5070 * math/w_log10l.c: Likewise.
5071 * math/w_log2.c: Likewise.
5072 * math/w_log2f.c: Likewise.
5073 * math/w_log2l.c: Likewise.
5074 * math/w_pow.c: Likewise.
5075 * math/w_powf.c: Likewise.
5076 * math/w_powl.c: Likewise.
5077 * math/w_remainder.c: Likewise.
5078 * math/w_remainderf.c: Likewise.
5079 * math/w_remainderl.c: Likewise.
5080 * math/w_scalb.c: Likewise.
5081 * math/w_scalbf.c: Likewise.
5082 * math/w_scalbl.c: Likewise.
5083 * math/w_sqrt.c: Likewise.
5084 * math/w_sqrtf.c: Likewise.
5085 * math/w_sqrtl.c: Likewise.
5086 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5087 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5088 used.
5089 * math/math_private.h: Declare __kernel_standard_f.
5090 * math/w_cosh.c: Remove cruft and optimize a bit.
5091 * math/w_coshf.c: Likewise.
5092 * math/w_coshl.c: Likewise.
5093 * math/w_exp2.c: Likewise.
5094 * math/w_exp2f.c: Likewise.
5095 * math/w_exp2l.c: Likewise.
5096 * math/w_hypot.c: Likewise.
5097 * math/w_hypotf.c: Likewise.
5098 * math/w_hypotl.c: Likewise.
5099 * math/w_lgamma.c: Likewise.
5100 * math/w_lgamma_r.c: Likewise.
5101 * math/w_lgammaf.c: Likewise.
5102 * math/w_lgammaf_r.c: Likewise.
5103 * math/w_lgammal.c: Likewise.
5104 * math/w_lgammal_r.c: Likewise.
5105 * math/w_sinh.c: Likewise.
5106 * math/w_sinhf.c: Likewise.
5107 * math/w_sinhl.c: Likewise.
5108 * math/w_tgamma.c: Likewise.
5109 * math/w_tgammaf.c: Likewise.
5110 * math/w_tgammal.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5113 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5114 Minor optimizations. Pretty printing. Remove cruft.
5115 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5116 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5117 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5118 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5119 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5120 * sysdeps/i386/fpu/e_asin.S: Likewise.
5121 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5122 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5123 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5124 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5125 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5126 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5127 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5128 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5129 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5130 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5131 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5132 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5133 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5134 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5135 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5136 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5137 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5138 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5139 * sysdeps/i386/fpu/e_log.S: Likewise.
5140 * sysdeps/i386/fpu/e_log10.S: Likewise.
5141 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5142 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5143 * sysdeps/i386/fpu/e_log2.S: Likewise.
5144 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5145 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5146 * sysdeps/i386/fpu/e_logf.S: Likewise.
5147 * sysdeps/i386/fpu/e_logl.S: Likewise.
5148 * sysdeps/i386/fpu/e_pow.S: Likewise.
5149 * sysdeps/i386/fpu/e_powf.S: Likewise.
5150 * sysdeps/i386/fpu/e_powl.S: Likewise.
5151 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5152 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5153 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5154 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5155 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5156 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5157 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5158 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5159 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5161 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5163 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5164 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5165 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5166 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5167 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5171 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5174 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5175 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5176 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5177 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5178 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5180 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5181 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5182 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5183 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5184 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5185 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5186 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5187 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5188 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5189 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5190 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5191 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5193 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5194 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5195 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5196 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5197 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5198 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5199 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5200 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5201 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5241 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5243 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5245 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5246 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5248 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5251 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5252 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5253 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5254 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5255 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5256 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5257 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5258 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5259 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5260 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5261 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5262 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5263 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5264 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5265 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5266 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5267 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5268 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5269 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5270 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5271 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5272 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5273 (__isnanf): Likewise.
5274 (__isinf_ns): Likewise.
5275 (__isinf_nsf): Likewise.
5276 (__finite): Likewise.
5277 (__finitef): Likewise.
5278 (__ieee754_sqrt): Define as macro.
5279 (__ieee754_sqrtf): Define as macro.
5280 (__ieee754_sqrtl): Define as macro.
5281 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5282 inlined copy.
5283 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5284 __FINITE_MATH_ONLY__ consistent.
5285 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5286
12cc2fcd
AS
52872011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5288
a843a204
AS
5289 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5290 of rawmemchr.
5291
12cc2fcd
AS
5292 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5293
c853acd5
UD
52942011-10-09 Ulrich Drepper <drepper@gmail.com>
5295
5296 * po/ja.po: Update from translation team.
5297
c658d255
RM
52982011-10-08 Roland McGrath <roland@hack.frob.com>
5299
110946e4
RM
5300 * locale/programs/locarchive.c (prepare_address_space): New function.
5301 (create_archive, enlarge_archive, open_archive): Use it.
5302
50604220
RM
5303 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5304 inside [SHARED], where it is used.
5305
c658d255
RM
5306 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5307
5308 * nss/getent.c (netgroup_keys): Remove unused variable.
5309 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5310
6a621eb7
UD
53112011-10-08 Ulrich Drepper <drepper@gmail.com>
5312
7edb55ce
UD
5313 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5314 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5315 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5316 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5317 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5318 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5319 * math/Makefile (libm-calls): Add s_isinf_ns.
5320 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5321 * math/multc3.c: Likewise.
5322 * math/s_casin.c: Likewise.
5323 * math/s_casinf.c: Likewise.
5324 * math/s_casinl.c: Likewise.
5325 * math/s_ccos.c: Likewise.
5326 * math/s_ccosf.c: Likewise.
5327 * math/s_ccosl.c: Likewise.
5328 * math/s_ctan.c: Likewise.
5329 * math/s_ctanf.c: Likewise.
5330 * math/s_ctanh.c: Likewise.
5331 * math/s_ctanhf.c: Likewise.
5332 * math/s_ctanhl.c: Likewise.
5333 * math/s_ctanl.c: Likewise.
5334 * math/w_fmod.c: Likewise.
5335 * math/w_fmodf.c: Likewise.
5336 * math/w_fmodl.c: Likewise.
5337 * math/w_remainder.c: Likewise.
5338 * math/w_remainderf.c: Likewise.
5339 * math/w_remainderl.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5341 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5342 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5343 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5344 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5345 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5346 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5347 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5348
187da0ae
UD
5349 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5350 of the number.
5351 * stdio-common/printf_fphex.c: Likewise.
5352 * stdio-common/printf_size.c: Likewise.
5353
9277c064
UD
5354 * math/e_exp10.c: Include math_private.h using <...> not "...".
5355 * math/e_exp10f.c: Likewise.
5356 * math/e_exp10l.c: Likewise.
5357 * math/e_exp2l.c: Likewise.
5358 * math/e_j0l.c: Likewise.
5359 * math/e_j1l.c: Likewise.
5360 * math/e_jnl.c: Likewise.
5361 * math/e_lgammal_r.c: Likewise.
5362 * math/e_rem_pio2l.c: Likewise.
5363 * math/e_scalb.c: Likewise.
5364 * math/e_scalbf.c: Likewise.
5365 * math/e_scalbl.c: Likewise.
5366 * math/k_cosl.c: Likewise.
5367 * math/k_sinl.c: Likewise.
5368 * math/k_tanl.c: Likewise.
5369 * math/s_cacoshf.c: Likewise.
5370 * math/s_catan.c: Likewise.
5371 * math/s_catanf.c: Likewise.
5372 * math/s_catanh.c: Likewise.
5373 * math/s_catanhf.c: Likewise.
5374 * math/s_catanhl.c: Likewise.
5375 * math/s_catanl.c: Likewise.
5376 * math/s_ccosh.c: Likewise.
5377 * math/s_ccoshf.c: Likewise.
5378 * math/s_ccoshl.c: Likewise.
5379 * math/s_cexp.c: Likewise.
5380 * math/s_cexpf.c: Likewise.
5381 * math/s_cexpl.c: Likewise.
5382 * math/s_clog.c: Likewise.
5383 * math/s_clog10.c: Likewise.
5384 * math/s_clog10f.c: Likewise.
5385 * math/s_clog10l.c: Likewise.
5386 * math/s_clogf.c: Likewise.
5387 * math/s_clogl.c: Likewise.
5388 * math/s_csin.c: Likewise.
5389 * math/s_csinf.c: Likewise.
5390 * math/s_csinh.c: Likewise.
5391 * math/s_csinhf.c: Likewise.
5392 * math/s_csinhl.c: Likewise.
5393 * math/s_csinl.c: Likewise.
5394 * math/s_csqrt.c: Likewise.
5395 * math/s_csqrtf.c: Likewise.
5396 * math/s_csqrtl.c: Likewise.
5397 * math/s_ctan.c: Likewise.
5398 * math/s_ctanf.c: Likewise.
5399 * math/s_ctanh.c: Likewise.
5400 * math/s_ctanhf.c: Likewise.
5401 * math/s_ctanhl.c: Likewise.
5402 * math/s_ctanl.c: Likewise.
5403 * math/s_ldexp.c: Likewise.
5404 * math/s_ldexpf.c: Likewise.
5405 * math/s_ldexpl.c: Likewise.
5406 * math/s_significand.c: Likewise.
5407 * math/s_significandf.c: Likewise.
5408 * math/s_significandl.c: Likewise.
5409 * math/w_acos.c: Likewise.
5410 * math/w_acosf.c: Likewise.
5411 * math/w_acosh.c: Likewise.
5412 * math/w_acoshf.c: Likewise.
5413 * math/w_acoshl.c: Likewise.
5414 * math/w_acosl.c: Likewise.
5415 * math/w_asin.c: Likewise.
5416 * math/w_asinf.c: Likewise.
5417 * math/w_asinl.c: Likewise.
5418 * math/w_atan2.c: Likewise.
5419 * math/w_atan2f.c: Likewise.
5420 * math/w_atan2l.c: Likewise.
5421 * math/w_atanh.c: Likewise.
5422 * math/w_atanhf.c: Likewise.
5423 * math/w_atanhl.c: Likewise.
5424 * math/w_cosh.c: Likewise.
5425 * math/w_coshf.c: Likewise.
5426 * math/w_coshl.c: Likewise.
5427 * math/w_dremf.c: Likewise.
5428 * math/w_exp10.c: Likewise.
5429 * math/w_exp10f.c: Likewise.
5430 * math/w_exp10l.c: Likewise.
5431 * math/w_exp2.c: Likewise.
5432 * math/w_exp2f.c: Likewise.
5433 * math/w_fmod.c: Likewise.
5434 * math/w_fmodf.c: Likewise.
5435 * math/w_fmodl.c: Likewise.
5436 * math/w_hypot.c: Likewise.
5437 * math/w_hypotf.c: Likewise.
5438 * math/w_hypotl.c: Likewise.
5439 * math/w_j0.c: Likewise.
5440 * math/w_j0f.c: Likewise.
5441 * math/w_j0l.c: Likewise.
5442 * math/w_j1.c: Likewise.
5443 * math/w_j1f.c: Likewise.
5444 * math/w_j1l.c: Likewise.
5445 * math/w_jn.c: Likewise.
5446 * math/w_jnf.c: Likewise.
5447 * math/w_jnl.c: Likewise.
5448 * math/w_lgamma.c: Likewise.
5449 * math/w_lgamma_r.c: Likewise.
5450 * math/w_lgammaf.c: Likewise.
5451 * math/w_lgammaf_r.c: Likewise.
5452 * math/w_lgammal.c: Likewise.
5453 * math/w_lgammal_r.c: Likewise.
5454 * math/w_log.c: Likewise.
5455 * math/w_log10.c: Likewise.
5456 * math/w_log10f.c: Likewise.
5457 * math/w_log10l.c: Likewise.
5458 * math/w_log2.c: Likewise.
5459 * math/w_log2f.c: Likewise.
5460 * math/w_log2l.c: Likewise.
5461 * math/w_logf.c: Likewise.
5462 * math/w_logl.c: Likewise.
5463 * math/w_pow.c: Likewise.
5464 * math/w_powf.c: Likewise.
5465 * math/w_powl.c: Likewise.
5466 * math/w_remainder.c: Likewise.
5467 * math/w_remainderf.c: Likewise.
5468 * math/w_remainderl.c: Likewise.
5469 * math/w_scalb.c: Likewise.
5470 * math/w_scalbf.c: Likewise.
5471 * math/w_scalbl.c: Likewise.
5472 * math/w_sinh.c: Likewise.
5473 * math/w_sinhf.c: Likewise.
5474 * math/w_sinhl.c: Likewise.
5475 * math/w_sqrt.c: Likewise.
5476 * math/w_sqrtf.c: Likewise.
5477 * math/w_sqrtl.c: Likewise.
5478 * math/w_tgamma.c: Likewise.
5479 * math/w_tgammaf.c: Likewise.
5480 * math/w_tgammal.c: Likewise.
5481
6a621eb7
UD
5482 * po/ja.po: Update from translation team.
5483
bf582445
AJ
54842011-09-29 Andreas Jaeger <aj@suse.de>
5485
f9efbf3a
AJ
5486 [BZ #13179]
5487 * sunrpc/netname.c (netname2host): Fix logic.
5488
bf582445
AJ
5489 [BZ #6779]
5490 [BZ #6783]
5491 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5492 correctly.
5493 * math/w_remainder.c (__remainder): Likewise.
5494 * math/w_remainderf.c (__remainderf): Likewise.
5495 * math/libm-test.inc (remainder_test): Add test cases.
5496
48693bea
AK
54972011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5498
5499 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5500 sdiv_qrnnd.
5501
42622229
LD
55022011-10-07 Ulrich Drepper <drepper@gmail.com>
5503
5504 * string/test-memcmp.c: Avoid unncessary #defines.
5505 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5506
093ecf92
LD
55072011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5508
5509 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5510 Use new sse2 version for core i3 - i7 as it's faster
5511 than sse42 version.
5512 (bit_Prefer_PMINUB_for_stringop): New.
5513 * sysdeps/x86_64/rawmemchr.S: Update.
5514 Replace with faster SSE2 version.
5515 * sysdeps/x86_64/memrchr.S: New file.
5516 * sysdeps/x86_64/memchr.S: Update.
5517 Replace with faster SSE2 version.
5518
fde56e5c
MP
55192011-09-12 Marek Polacek <mpolacek@redhat.com>
5520
5521 * elf/dl-load.c (lose): Add cast to avoid warning.
5522
21fd49a9
UD
55232011-10-07 Ulrich Drepper <drepper@gmail.com>
5524
5a06e643
UD
5525 * po/ca.po: Update from translation team.
5526
684ae515
UD
5527 * inet/getnetgrent_r.c: Hook up nscd.
5528 * nscd/Makefile (routines): Add nscd_netgroup.
5529 (nscd-modules): Add netgroupcache.
5530 (CFLAGS-netgroupcache.c): Define.
5531 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5532 (cache_search): Add const to second parameter.
5533 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5534 INNETGR.
5535 (dbs): Add netgrdb entry.
5536 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5537 (verify_persistent_db): Handle netgrdb.
5538 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5539 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5540 GETFDNETGR.
5541 (netgroup_response_header): Define.
5542 (innetgroup_response_header): Define.
5543 (datahead): Add netgroup_response_header and innetgroup_response_header
5544 elements.
5545 * nscd/nscd.conf: Add entries for netgroup cache.
5546 * nscd/nscd.h (dbtype): Add netgrdb.
5547 (_PATH_NSCD_NETGROUP_DB): Define.
5548 (netgroup_iov_disabled): Declare.
5549 (xmalloc, xcalloc, xrealloc): Move declarations here.
5550 (cache_search): Adjust prototype.
5551 Add netgroup-related prototypes.
5552 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5553 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5554 (__nscd_innetgr): Declare.
5555 * nscd/selinux.c (perms): Use access_vector_t as element type and
5556 add netgroup-related initializers.
5557 * nscd/netgroupcache.c: New file.
5558 * nscd/nscd_netgroup.c: New file.
5559 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5560 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5561 For four parameters use innetgr.
5562 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5563 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5564 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5565 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5566
21fd49a9
UD
5567 * nscd/connections.c (register_traced_file): Don't register file
5568 for disabled databases.
5569
054c0457
UD
55702011-10-06 Ulrich Drepper <drepper@gmail.com>
5571
32b63198
UD
5572 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5573
054c0457
UD
5574 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5575 from tree and freeing node.
5576
64031225
JO
55772011-09-25 Jiri Olsa <jolsa@redhat.com>
5578
5579 * nss/nsswitch.c (__nss_database_lookup): Handle
5580 nss_parse_service_list out of memory case.
5581
0490345c
JO
55822011-09-15 Jiri Olsa <jolsa@redhat.com>
5583
5584 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5585 out of memory case.
5586
3a62d00d
AS
55872011-10-04 Andreas Schwab <schwab@redhat.com>
5588
5589 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5590 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5591 pass it down.
5592 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5593 elf_machine_rela, elf_machine_lazy_rel.
5594 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5595 (ELF_DYNAMIC_DO_REL): Likewise.
5596 (ELF_DYNAMIC_DO_RELA): Likewise.
5597 (ELF_DYNAMIC_RELOCATE): Likewise.
5598 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5599 to ELF_DYNAMIC_DO_REL.
5600 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5601 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5602 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5603 elf_machine_rela.
5604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5605 skip_ifunc, don't call ifunc function if non-zero.
5606 (elf_machine_rela): Likewise.
5607 (elf_machine_lazy_rel): Likewise.
5608 (elf_machine_lazy_rela): Likewise.
5609 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5610 (elf_machine_lazy_rel): Likewise.
5611 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5612 Likewise.
5613 (elf_machine_lazy_rel): Likewise.
5614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5615 Likewise.
5616 (elf_machine_lazy_rel): Likewise.
5617 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5618 (elf_machine_lazy_rel): Likewise.
5619 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5620 (elf_machine_lazy_rel): Likewise.
5621 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5622 (elf_machine_lazy_rel): Likewise.
5623 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5624 (elf_machine_lazy_rel): Likewise.
5625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5626 (elf_machine_lazy_rel): Likewise.
5627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5628 (elf_machine_lazy_rel): Likewise.
5629
68577918
UD
56302011-09-28 Ulrich Drepper <drepper@gmail.com>
5631
5632 * nss/nss_files/files-init.c (_nss_files_init): Use static
5633 initialization for all the *_traced_file variables.
5634
68822d74
AS
56352011-09-28 Andreas Schwab <schwab@redhat.com>
5636
5637 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5638
2056100b
RM
56392011-09-27 Roland McGrath <roland@hack.frob.com>
5640
5641 [BZ #13226]
5642 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5643
32c76b63
AS
56442011-09-27 Andreas Schwab <schwab@redhat.com>
5645
5646 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5647 Reread the line before reparsing it.
5648
bf972c9d
AS
56492011-09-26 Andreas Schwab <schwab@redhat.com>
5650
5651 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5652
e057a1b5
JM
56532011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5654 Maxim Kuvyrkov <maxim@codesourcery.com>
5655 Joseph Myers <joseph@codesourcery.com>
5656
5657 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5658 if needed for __stack_chk_guard.
5659
bc7e1c36
RM
56602011-09-19 Roland McGrath <roland@hack.frob.com>
5661
ecb1482f
RM
5662 * sysdeps/posix/spawni.c (script_execute): Always define it.
5663 It will be optimized away if unused.
5664 (maybe_script_execute): New function.
5665 (__spawni): Call it.
5666
bc7e1c36
RM
5667 * Makerules: Don't include tls.make.
5668 (config-tls): Always set to thread.
5669 * tls.make.c: File removed.
5670
1c3b002b
MF
56712011-09-19 Mike Frysinger <vapier@gentoo.org>
5672
5673 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5674 * config.make.in (CPPFLAGS-config): New substituted variable.
5675
2840865d
UD
56762011-09-15 Ulrich Drepper <drepper@gmail.com>
5677
88738eb6
UD
5678 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5679
cbf645a6 5680 [BZ #13192]
2840865d
UD
5681 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5682 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5683
b402e91a
RM
56842011-09-15 Roland McGrath <roland@hack.frob.com>
5685
5686 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5687 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5688 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5689 (CALL_FAIL): Likewise.
5690 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5691 (CALL_FAIL): Macro removed.
5692 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5693
4c1a1f71
UD
56942011-09-15 Ulrich Drepper <drepper@gmail.com>
5695
5696 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5697 for __FINITE_MATH_ONLY__ == 1.
5698
edc121be
AS
56992011-09-15 Andreas Schwab <schwab@redhat.com>
5700
5701 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5702 __ieee754_sqrt instead of sqrt.
5703 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5704 __ieee754_sqrtf instead of sqrtf.
5705 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5706 __floorf instead of floorf.
5707 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5708 __floorf, __truncf instead of floorf, truncf.
5709
cd205654
UD
57102011-09-14 Ulrich Drepper <drepper@gmail.com>
5711
ee4d0315
UD
5712 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5713
cd205654
UD
5714 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5715 __extern_always_inline.
5716 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5717 32-bit.
5718
48b67d71
AS
57192011-09-14 Andreas Schwab <schwab@redhat.com>
5720
5721 * elf/rtld.c (dl_main): Also relocate in dependency order when
5722 doing symbol dependency testing.
5723
1ae12c75
AS
57242011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5725
5726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5727 Always define `refsym'.
5728
995a80df
AS
57292011-09-13 Andreas Schwab <schwab@redhat.com>
5730
e529793b
AS
5731 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5732 (__FD_ELT): Renamed from __FDELT.
5733 * misc/bits/select2.h (__FD_ELT): Likewise.
5734 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5735 __FD_MASK instead of __FDELT, __FDMASK.
5736 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5737 Likewise.
5738 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5739 Likewise.
5740
52d4fef8
AS
5741 * elf/Makefile (gen-ldd): Fix pattern.
5742
995a80df
AS
5743 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5744 (init_tls): Likewise.
5745
8682f8b0
UD
57462011-09-12 Ulrich Drepper <drepper@gmail.com>
5747
5748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5749
de82006d
AS
57502011-09-12 Andreas Schwab <schwab@redhat.com>
5751
a7c8e6a1
AS
5752 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5753 `struct cmsghdr *' instead of `void *'.
5754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5755 Likewise.
5756
0f31fe77
AS
57572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5758
5759 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5760 if non-absolute.
5761 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5762 ldd_rewrite_script.
0f31fe77 5763
32b4c839
UD
57642011-09-11 Ulrich Drepper <drepper@gmail.com>
5765
83cd1420
UD
5766 * configure.in: Remove --with-tls option.
5767 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5768 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5769 out in case it is missing.
5770 * sysdeps/ia64/elf/configure.in: Likewise.
5771 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5772 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5773 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5774 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5775 * sysdeps/sh/elf/configure.in: Likewise.
5776 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5777 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5778 * sysdeps/x86_64/elf/configure.in: Likewise.
5779 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5780 * sysdeps/mach/hurd/tls.h: Likewise.
5781
633f745d
UD
5782 [BZ #13067]
5783 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5784
f318beb8
UD
5785 [BZ #13090]
5786 * configure.in: Fix use of AC_INIT.
5787
32b4c839
UD
5788 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5789
3ce1f295
UD
57902011-09-10 Ulrich Drepper <drepper@gmail.com>
5791
bb016596
UD
5792 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5793 __set_errno.
8e58439c
UD
5794 * malloc/hooks.c: Likewise.
5795
aebae053 5796 [BZ #11929]
02d46fc4
UD
5797 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5798 variables statically.
5799 (narenas): Initialize.
5800 (list_lock): Initialize.
bb016596
UD
5801 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5802 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5803 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5804 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5805 Add initializers to main_arena and mp_.
5806 (malloc_state): Remove pagesize member. Change all users to use
5807 GLRO(dl_pagesize).
5808
5809 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5810 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5811 is always initialized.
5812
22a89187
UD
5813 * malloc/malloc.c: Removed unused configurations and dead code.
5814 * malloc/arena.c: Likewise.
5815 * malloc/hooks.c: Likewise.
02d46fc4 5816 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5817
d063d164
UD
5818 * include/tls.h: Removed. USE___THREAD must always be defined.
5819 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5820 * elf/dl-libc.c: Likewise.
5821 * elf/dl-tsd.c: Likewise.
5822 * include/errno.h: Likewise.
5823 * include/netdb.h: Likewise.
5824 * include/resolv.h: Likewise.
5825 * inet/herrno-loc.c: Likewise.
5826 * inet/herrno.c: Likewise.
5827 * malloc/arena.c: Likewise.
5828 * malloc/hooks.c: Likewise.
5829 * malloc/malloc.c: Likewise.
5830 * resolv/res-state.c: Likewise.
5831 * resolv/res_libc.c: Likewise.
5832 * sysdeps/i386/dl-machine.h: Likewise.
5833 * sysdeps/ia64/dl-machine.h: Likewise.
5834 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5835 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5836 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5837 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5838 * sysdeps/sh/dl-machine.h: Likewise.
5839 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5840 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5841 * sysdeps/unix/i386/sysdep.S: Likewise.
5842 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5843 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5845 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5848 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5852 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5853 * sysdeps/x86_64/dl-machine.h: Likewise.
5854 * tls.make.c: Likewise.
5855
3ce1f295
UD
5856 * configure.in: Remove --with-__thread option. Make tests for
5857 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5858 tls_model attribute fail if no support is available. Remove
5859 USE_IN_LIBIO.
5860 * Makeconfig: Adjust for dropped configure option. All features are
5861 now mandatory.
5862 * Makerules: Likewise.
5863 * Versions.def: Likewise.
5864 * argp/argp-fmtstream.c: Likewise.
5865 * argp/argp-fmtstream.h: Likewise.
5866 * argp/argp-help.c: Likewise.
5867 * assert/assert.c: Likewise.
5868 * config.h.in: Likewise.
5869 * config.make.in: Likewise.
5870 * configure: Likewise.
5871 * configure.in: Likewise.
5872 * csu/Versions: Likewise.
5873 * csu/init.c: Likewise.
5874 * elf/tst-audit2.c: Likewise.
5875 * elf/tst-tls10.c: Likewise.
5876 * elf/tst-tls10.h: Likewise.
5877 * elf/tst-tls11.c: Likewise.
5878 * elf/tst-tls12.c: Likewise.
5879 * elf/tst-tls14.c: Likewise.
5880 * elf/tst-tlsmod11.c: Likewise.
5881 * elf/tst-tlsmod12.c: Likewise.
5882 * elf/tst-tlsmod13.c: Likewise.
5883 * elf/tst-tlsmod13a.c: Likewise.
5884 * elf/tst-tlsmod14a.c: Likewise.
5885 * elf/tst-tlsmod15b.c: Likewise.
5886 * elf/tst-tlsmod16a.c: Likewise.
5887 * elf/tst-tlsmod16b.c: Likewise.
5888 * elf/tst-tlsmod7.c: Likewise.
5889 * elf/tst-tlsmod8.c: Likewise.
5890 * elf/tst-tlsmod9.c: Likewise.
5891 * gmon/gmon.c: Likewise.
5892 * grp/fgetgrent_r.c: Likewise.
5893 * grp/putgrent.c: Likewise.
5894 * hurd/fopenport.c: Likewise.
5895 * include/libc-symbols.h: Likewise.
5896 * include/tls.h: Likewise.
5897 * intl/gettextP.h: Likewise.
5898 * intl/loadinfo.h: Likewise.
5899 * locale/global-locale.c: Likewise.
5900 * locale/localeinfo.h: Likewise.
5901 * mach/devstream.c: Likewise.
5902 * malloc/arena.c: Likewise.
5903 * malloc/set-freeres.c: Likewise.
5904 * misc/err.c: Likewise.
5905 * misc/getttyent.c: Likewise.
5906 * misc/mntent_r.c: Likewise.
5907 * posix/getopt.c: Likewise.
5908 * posix/wordexp.c: Likewise.
5909 * pwd/fgetpwent_r.c: Likewise.
5910 * resolv/Versions: Likewise.
5911 * resolv/res_hconf.c: Likewise.
5912 * shadow/fgetspent_r.c: Likewise.
5913 * shadow/putspent.c: Likewise.
5914 * stdio-common/printf_fphex.c: Likewise.
5915 * stdio-common/tmpfile.c: Likewise.
5916 * stdlib/abort.c: Likewise.
5917 * stdlib/fmtmsg.c: Likewise.
5918 * sunrpc/auth_unix.c: Likewise.
5919 * sunrpc/clnt_perr.c: Likewise.
5920 * sunrpc/clnt_tcp.c: Likewise.
5921 * sunrpc/clnt_udp.c: Likewise.
5922 * sunrpc/clnt_unix.c: Likewise.
5923 * sunrpc/openchild.c: Likewise.
5924 * sunrpc/svc_simple.c: Likewise.
5925 * sunrpc/svc_tcp.c: Likewise.
5926 * sunrpc/svc_udp.c: Likewise.
5927 * sunrpc/svc_unix.c: Likewise.
5928 * sunrpc/xdr.c: Likewise.
5929 * sunrpc/xdr_array.c: Likewise.
5930 * sunrpc/xdr_rec.c: Likewise.
5931 * sunrpc/xdr_ref.c: Likewise.
5932 * sunrpc/xdr_stdio.c: Likewise.
5933
1248c1c4
PB
59342011-09-09 Ulrich Drepper <drepper@gmail.com>
5935
5936 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5937
59382011-07-03 Andreas Jaeger <aj@suse.de>
5939
5940 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5941 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5942 regenerate with gen-libm-tests.pl.
5943
59442010-05-12 Petr Baudis <pasky@suse.cz>
5945
5946 [BZ #11589]
5947 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5948 around j0() zero points by switching to j1().
5949 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5952 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5953
f22e1074
UD
59542011-09-09 Ulrich Drepper <drepper@gmail.com>
5955
f19009c1
UD
5956 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5957 instead of 0.
5958 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5959 instead of 0. .
5960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5961 Patch in part by Pavel Roskin <proski@gnu.org>.
5962
3f8cc204
UD
5963 [BZ #13138]
5964 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5965 realloc.
5966 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5967 Free memory block if necessary.
5968
f22e1074
UD
5969 [BZ #12847]
5970 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5971 be NULL. Don't lock in this case.
5972
0a2349f9
RM
59732011-09-09 Roland McGrath <roland@hack.frob.com>
5974
5975 * elf/elf.h (ELFOSABI_GNU): New macro.
5976 (ELFOSABI_LINUX): Define to that.
5977
f3cdd467
DZ
59782011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5979
5980 * string/strncat.c (strncat): Undef the symbol in case it has been
5981 defined in bits/string.h.
5982
74718d13
UD
59832011-09-09 Ulrich Drepper <drepper@gmail.com>
5984
633e9e0f
UD
5985 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5986
0a2349f9 5987 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5988 link map.
5989
f9924780
AJ
59902011-08-17 Andreas Jaeger <aj@suse.de>
5991
5992 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5993
7f5517aa
PP
59942011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5995 Ian Lance Taylor <iant@google.com>
5996
5997 * math/libm-test.inc (lround_test): New testcase.
5998 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5999
762011fe
UD
60002011-09-08 Ulrich Drepper <drepper@gmail.com>
6001
92963737
UD
6002 * Makefile: Remove support for automatic cvs check-ins.
6003 * Makerules: Likewise.
6004 * config.make.in: Likewise.
6005 * configure.in: Likewise.
6006 * intl/Makefile: Likewise.
6007 * locale/Makefile: Likewise.
6008 * po/Makefile: Likewise.
6009 * posix/Makefile: Likewise.
6010 * sysdeps/gnu/Makefile: Likewise.
6011 * sysdeps/mach/hurd/Makefile: Likewise.
6012 * sysdeps/sparc/sparc32/Makefile: Likewise.
6013
b0727fd8
JS
6014 [BZ #13118]
6015 * posix/Makefile (bug-regex32-ENV): Define.
6016 Patch by John Stanley <jpsinthemix@verizon.net>.
6017
a0f33f99
UD
6018 * misc/Makefile (headers): Add bits/select2.h.
6019 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6020 * misc/bits/select2.h: New file.
6021 * include/bits/select2.h: New file.
6022 * debug/Makefile (routines): Add fdelt_chk.
6023 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6024 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6025 FD_ISSET.
6026 * debug/fdelt_chk.c: New file.
6027
762011fe
UD
6028 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6029 * wcsmbs/test-wmemcmp.c: Likewise.
6030 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6031 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6032
60332011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6034
6035 * string/Makefile (strop-tests): Add memcmp.
6036 * string/test-wmemcmp.c: New file.
6037 * string/test-memcmp.c: Add wmemcmp support.
6038
7f513ec8
RM
60392011-09-08 Roland McGrath <roland@hack.frob.com>
6040
0442afb4
RM
6041 [BZ #13153]
6042 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6043 2011-07-19 change.
6044
7f513ec8
RM
6045 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6046 garbage value in a __mach_port_mod_refs call in the cases of the
6047 task-self and thread-self ports.
6048
a12b2239
ST
60492011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6050
6051 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6052
610f9ab4
AS
60532011-09-08 Andreas Schwab <schwab@redhat.com>
6054
7f513ec8 6055 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6056
48882a1a
LD
60572011-09-07 Ulrich Drepper <drepper@gmail.com>
6058
b49865be
UD
6059 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6060
fdc86bc9
UD
6061 * elf/dl-libc.c (dlerror_run): Pass back error code from
6062 dl_catch_error.
6063
c966526a
UD
6064 [BZ #13123]
6065 * elf/dl-load.c (lose): Free l_origin if it is valid.
6066
48882a1a
LD
6067 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6068 names.
6069 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6070 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6073 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6074 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6075
77a2a8b4
AZ
60762011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6077
6078 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6079 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6080 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6081 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6082 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6083 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6084 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6085 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6086 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6087 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6088
24f579d8
AM
60892011-08-15 Alan Modra <amodra@gmail.com>
6090
6091 [BZ #13092]
6092 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6093 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6094 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6095 ppc_mcount to static-only-routines.
6096 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6097 __mcount_internal.
6098 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6099 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6100
3d4837df
UD
61012011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6102
6103 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6104 for finite and infinity parameters.
6105
22700377
WS
61062011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6107
6108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6109 and add nop instructions for throughput optimization.
6110 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6111
5025581e
WS
61122011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6113
6114 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6115 aligned copy for power7 with vector-scalar instructions.
6116 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6117
08a300c9
L
61182011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6119
6120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6121 AVX check.
6122
59178ef9
AS
61232011-09-07 Andreas Schwab <schwab@redhat.com>
6124
6125 [BZ #13144]
6126 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6127 last change.
6128
e38ba7ab
UD
61292011-09-07 Ulrich Drepper <drepper@gmail.com>
6130
6131 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6132 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6133 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6134 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6135 clock_gettime.
6136
d53a73ac
UD
61372011-09-06 Ulrich Drepper <drepper@gmail.com>
6138
fc8bffcc
UD
6139 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6140 Forgot to demangle the pointer.
6141
ceaa0c5d
UD
6142 * sysdeps/i386/sysdep.h: Define atom_text_section.
6143 * sysdeps/x86_64/sysdep.h: Likewise.
6144 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6145 section with atom_text_section.
6146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6147 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6148 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6150 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6151
a77d3c17
UD
6152 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6153 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6154 already be defined. Change to take two parameters and don't assign
6155 result to variable. Adjust all users.
6156 Define INTERNAL_GETTIME if not already defined.
6157 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6158 call.
6159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6160 HAVE_CLOCK_GETTIME_VSYSCALL.
6161 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6162
d53a73ac
UD
6163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6164 gettimeofday vsyscall, just use time.
6165
a8f84144
AS
61662011-09-06 Andreas Schwab <schwab@redhat.com>
6167
6168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6169 <errno.h>.
6170
ef606249
UD
61712011-09-06 Ulrich Drepper <drepper@gmail.com>
6172
6173 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6174 syscall on x86-64.
6175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6176 syscall.
6177 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6178 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6179 syscall if possible.
6180
6585cb60
UD
61812011-09-05 Ulrich Drepper <drepper@gmail.com>
6182
6183 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6184 e_ident. Don't pass to find_mapsXX.
6185 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6186
a5f524e4
LD
61872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6188
6189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6190 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6191 * sysdeps/x86_64/multiarch/strchr.S: Update.
6192 Check bit_slow_BSF bit.
6193 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6194 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6195 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6196
554881ef
UD
61972011-09-05 Ulrich Drepper <drepper@gmail.com>
6198
d96de963
UD
6199 [BZ #13134]
6200 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6201 before glibc 2.15.
6202 (tryshell): Define.
6203 (__spawni): Change last parameter to be flag. Test
6204 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6205 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6206 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6207 * posix/spawni.c: Likewise.
6208 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6209 * posix/spawnp.c: Likewise. Change normal version to use
6210 SPAWN_XFLAGS_USE_PATH.
6211 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6212 SPAWN_XFLAGS_TRY_SHELL.
6213
d48e5868
UD
6214 [BZ #13150]
6215 * posix/glob.h: Remove gcc 1.x support.
6216
554881ef
UD
6217 [BZ #13068]
6218 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6219
693fb948
LD
62202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6221
6222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6223 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6224 strrchr-sse2-bsf
6225 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6226 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6227 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6228 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6229 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6230 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6231
1b48c537
UD
62322011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6233
49d42c37
UD
6234 * sysdeps/x86_64/wcscmp.S: New file.
6235
1b48c537
UD
6236 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6237 wcscmp-c wcscmp-sse2
6238 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6239 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6240 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6241 * wcsmbs/wcscmp.c: Allow renaming.
6242
15c95c5d
DM
62432011-09-05 David S. Miller <davem@davemloft.net>
6244
6245 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6246 stack slot, rather than the struct return pointer slot.
6247 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6248 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6250 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6251
2f0ad8f3
UD
62522011-09-05 Ulrich Drepper <drepper@gmail.com>
6253
d88ae418
UD
6254 * po/ja.po: Update from translation team.
6255
2f0ad8f3
UD
6256 [BZ #13144]
6257 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6258 kernel in 64-bit binaries.
6259
5f4318d1
DM
62602011-09-01 David S. Miller <davem@davemloft.net>
6261
6262 * elf/elf.h (HWCAP_SPARC_*): Move to..
6263 * sysdeps/sparc/sysdep.h: this new file and add new values.
6264 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6265 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6266 _DL_HWCAP_COUNT to 24.
6267 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6268 entries.
6269 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6270 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6271 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6273 instead of magic constants.
6274 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6275
3ba57516
DM
62762011-08-31 David S. Miller <davem@davemloft.net>
6277
6278 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6280 Reimplement to do errno handling inline.
6281 (SYSCALL_ERROR_HANDLER): New macro.
6282 (__SYSCALL_STRING): Do not do errno handling in asm.
6283 (__CLONE_SYSCALL_STRING): Delete.
6284 (__INTERNAL_SYSCALL_STRING): Delete.
6285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6286 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6287 (PSEUDO): Reimplement to do errno handling inline.
6288 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6289 (SYSCALL_ERROR_HANDLER): New macro.
6290 (__SYSCALL_STRING): Do not do errno handling in asm.
6291 (__CLONE_SYSCALL_STRING): Delete.
6292 (__INTERNAL_SYSCALL_STRING): Delete.
6293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6294 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6295 i386.
6296 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6297 (inline_syscall*): Add 'err' argument.
6298 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6299 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6300 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6301 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6302
6303 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6304 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6305
2bc17433
AS
63062011-08-30 Andreas Schwab <schwab@redhat.com>
6307
6308 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6309
fbeb5f4d
JO
63102011-08-29 Jiri Olsa <jolsa@redhat.com>
6311
6312 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6313 directive.
6314
ad69cc26
DM
63152011-08-24 David S. Miller <davem@davemloft.net>
6316
6317 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6318
39dd69df
AS
63192011-08-24 Andreas Schwab <schwab@redhat.com>
6320
6321 * elf/Makefile: Add rules to build and run unload8 test.
6322 * elf/unload8.c: New file.
6323 * elf/unload8mod1.c: New file.
6324 * elf/unload8mod1x.c: New file.
6325 * elf/unload8mod2.c: New file.
6326 * elf/unload8mod3.c: New file.
6327
6328 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6329 it wasn't used.
6330
2c0b250a
DM
63312011-08-23 David S. Miller <davem@davemloft.net>
6332
6333 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6334 subtract stack bias.
6335 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6336 %sp not %fp in calculations.
6337 (_JMPBUF_UNWINDS_ADJ): Likewise.
6338
22044b48
DM
6339 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6340 (aio_suspend): Call it to force an exception region around the
6341 AIO_MISC_WAIT() invocation.
6342
2cae4995
AS
63432011-08-23 Andreas Schwab <schwab@redhat.com>
6344
6345 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6346 backslash.
6347
873a772e
AJ
63482011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6349
6350 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6351 protection macro.
6352 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6353 and <dl-machine.h>.
6354 (Elf64_FuncDesc): Remove.
6355
25ad0df1
DM
63562011-08-22 David S. Miller <davem@davemloft.net>
6357
6358 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6359 sigaltstack check, add missing cfi directives.
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6361 missing cfi directives, and sigaltstack handling.
6362
e888bcbe
AS
63632011-08-16 Andreas Schwab <schwab@redhat.com>
6364
6365 [BZ #11724]
6366 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6367 object is seen twice.
6368 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6369
6370 * elf/Makefile (distribute): Add tst-initorder2.c.
6371 (tests): Add tst-initorder2.
6372 (modules-names): Add tst-initorder2a tst-initorder2b
6373 tst-initorder2c tst-initorder2d. Add rules to build them.
6374 ($(objpfx)tst-initorder2.out): New rule.
6375 * elf/tst-initorder2.c: New file.
6376 * elf/tst-initorder2.exp: New file.
6377
87162f46
AS
63782011-08-22 Andreas Schwab <schwab@redhat.com>
6379
70538b7f
AS
6380 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6381
f55ffe58
AS
6382 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6383 dependencies back to end of function.
6384
87162f46
AS
6385 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6386 $(elfobjdir)/ld.so.
6387
91b392a4
UD
63882011-08-21 Ulrich Drepper <drepper@gmail.com>
6389
6390 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6391 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6392 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6393 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6394 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6395 of __vdso_gettimeofday.
6396 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6397 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6398 attribute_hidden.
6399 (_libc_vdso_platform_setup): Remove initialization of
6400 __vdso_gettimeofday and __vdso_time.
6401
5c43483f
UD
64022011-08-20 Ulrich Drepper <drepper@gmail.com>
6403
775a77e7
UD
6404 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6405 and fgetc_unlocked.
6406 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6407 getc_unlocked.
89f447ed 6408
49c74ba9
UD
6409 * elf/dl-open.c (add_to_global): Report additions to the global scope
6410 for LD_DEBUG=scopes.
6411 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6412 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6413
5c43483f
UD
6414 [BZ #13114]
6415 * stdio-common/Makefile (tests): Add bug24.
6416 * stdio-common/bug24.c: New file.
6417
a101b025
AJ
64182011-08-19 Andreas Jaeger <aj@suse.de>
6419
6420 [BZ #13114]
6421 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6422 non-existant file when using close-on-exec mode.
6423
c88f1766
UD
64242011-08-20 Ulrich Drepper <drepper@gmail.com>
6425
0276a718
UD
6426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6427 the very first instruction.
6428
c88f1766
UD
6429 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6430 the CFI state in the end.
6431 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6432 inclusion of dl-trampoline.h.
6433 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6434
51ccffa0
AS
64352011-08-19 Andreas Schwab <schwab@redhat.com>
6436
94d7165f
AS
6437 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6438 expectations for long double.
6439
51ccffa0
AS
6440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6441 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6442
fd708658 64432011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6444
6445 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6446 artificual limit depends upon the system page size.
6447
44f0a71e
UD
64482011-08-17 Ulrich Drepper <drepper@gmail.com>
6449
6450 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6451 * resolv/Makefile: Define CFLAGS-libresolv.
6452
8de79a24
AS
64532011-08-17 Andreas Schwab <schwab@redhat.com>
6454
6455 * nss/makedb.c (compute_tables): Make variables used in nested
6456 function static.
6457
27724598
UD
64582011-08-17 Ulrich Drepper <drepper@gmail.com>
6459
c5305d88
UD
6460 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6461 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6462 if buffer was too small.
6463
27724598
UD
6464 * elf/pldd.c (main): Attach to all threads in the process.
6465 Rewrite /proc handling to use *at functions.
6466
076fe015
UD
64672011-08-16 Ulrich Drepper <drepper@gmail.com>
6468
174baab3
UD
6469 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6470 specifies first scope to show.
6471 (dl_open_worker): Update callers. Move printing scope of new
6472 object to before the relocation.
44f0a71e 6473 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6474 * sysdeps/generic/ldsodefs.h: Update declaration.
6475
076fe015
UD
6476 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6477 string for the scope number.
6478
a60df2c3
UD
64792011-08-14 Ulrich Drepper <drepper@gmail.com>
6480
6481 * nscd/servicescache.c (cache_addserv): Make sure written is always
6482 initialized.
6483
5e4287d1
RM
64842011-08-14 Roland McGrath <roland@hack.frob.com>
6485
85ae0589
RM
6486 * sysdeps/i386/i486/bits/atomic.h
6487 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6488 statement expression, so as to suppress "set but not used" warning.
6489 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6490
69f63097
RM
6491 * string/strncat.c (STRNCAT): Use prototype definition.
6492
675456ef
RM
6493 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6494 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6495 -Iprograms here.
6496 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6497 (localedef-modules): Add localedef.
6498 (locale-modules): Add locale.
6499
5e4287d1
RM
6500 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6501 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6502 to avoid a warning.
6503
9c96ff23
DM
65042011-08-14 David S. Miller <davem@davemloft.net>
6505
6506 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6507 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6508
f9ddf089
UD
65092011-08-13 Ulrich Drepper <drepper@gmail.com>
6510
44f0a71e 6511 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6512 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6513 * elf/rtld.c (dl_main): Set l_name of vDSO.
6514 Call _dl_show_scope when DL_DEBUG_SCOPES.
6515 (process_dl_debug): Recognize scopes flag and also set it for all.
6516 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6517 Declare _dl_show_scope.
6518
1dc27704
UD
6519 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6520 (do_dlopen): Pass caller_dlopen to dl_open.
6521 (__libc_dlopen_mode): Initialize caller_dlopen.
6522
f9ddf089
UD
6523 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6524 of libc. Make tolower call locale-independent. Optimize a bit by
6525 using isdigit instead of isalnum.
6526 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6527
9ac533d3
UD
65282011-08-12 Ulrich Drepper <drepper@gmail.com>
6529
6530 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6531 was a dependency or dynamically loaded.
6532
89edf2e9
UD
65332011-08-11 Ulrich Drepper <drepper@gmail.com>
6534
8e999d29
UD
6535 * intl/l10nflist.c: Allow architecture-specific pop function.
6536 * sysdeps/x86_64/l10nflist.c: New file.
6537
89edf2e9
UD
6538 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6539 classification.
6540
14d96785
AS
65412011-08-10 Andreas Schwab <schwab@redhat.com>
6542
6543 * include/dirent.h: Add libc_hidden_proto for scandirat and
6544 scandirat64. Don't declare __scandirat64.
6545 * dirent/scandirat.c: Add libc_hidden_def.
6546 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6547 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6548
6761ac04
DM
65492011-08-10 David S. Miller <davem@davemloft.net>
6550
6551 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6552 enum.
6553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6554 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6555 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6556
c55fbd1e
UD
65572011-08-09 Ulrich Drepper <drepper@gmail.com>
6558
6559 * Versions.def [libc]: Add GLIBC_2.15.
6560 * dirent/Makefile (routines): Add scandirat and scandirat64.
6561 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6562 GLIBC_2.15.
6563 * dirent/dirent.h: Declare scandirat and scandirat64.
6564 * dirent/scandirat.c: New file.
6565 * dirent/scandirat64.c: New file.
6566 * sysdeps/wordsize-64/scandirat.c: New file.
6567 * sysdeps/wordsize-64/scandirat64.c: New file.
6568 * dirent/opendir.c: Define opendirat.
6569 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6570 using scandirat.
6571 * dirent/scandir64.c: Adjust for scandir.c change.
6572 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6573 __scandirat64, and __scandir_cancel_handler.
6574 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6575 additional parameter and use openat instead of open (outside of ld.so).
6576 Add new __opendir as wrapper around __opendirat.
6577 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6578 here without requiring old scandirat implementation.
6579
879165f2
UD
65802011-08-08 Ulrich Drepper <drepper@gmail.com>
6581
6582 * dirent/scandir.c (cancel_handler): Renamed to
6583 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6584 defined. Adjust users.
6585 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6586 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6587
cb7e923b
UD
65882011-08-04 Ulrich Drepper <drepper@gmail.com>
6589
16292edd
UD
6590 * string/test-string.h (IMPL): Use __STRING to expand name and then
6591 stringify it.
6592
cb7e923b
UD
6593 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6594 of cleanups.
6595
cff82933
LD
65962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6597
6598 * string/Makefile: Update.
6599 (strop-tests): Append strncat.
6600 * string/test-wcscmp.c: New file.
6601 New comprehensive test for wcscmp.
6602 * string/test-strcmp.c: Update.
6603 (WIDE): New define.
6604
9be9bfcc
AS
66052011-07-22 Andreas Schwab <schwab@redhat.com>
6606
6607 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6608 line.
6609
2e96f1c7
AS
66102011-07-26 Andreas Schwab <schwab@redhat.com>
6611
6612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6613 encoding to ACE if AI_IDN.
6614
85188888
JJ
66152011-08-01 Jakub Jelinek <jakub@redhat.com>
6616
6617 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6618 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6619
5fa16e9b
LD
66202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6621
6622 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6623 Fix overflow bug in strncat.
6624 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6625
6626 * string/test-strncat.c: Update.
6627 Add new tests for checking overflow bugs.
6628
66292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6630
6631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6632 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6633 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6634 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6635 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6636 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6637 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6638 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6639 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6640
6641 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6642 (USE_AS_STRCAT): Define.
6643 Add strcat and strncat support.
6644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6645
8c1a459f
AS
66462011-07-25 Andreas Schwab <schwab@redhat.com>
6647
6648 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6649 __n bigger than INT_MAX+1.
6650 (__strncmp_g): Likewise.
6651
bba33c28
UD
66522011-07-23 Ulrich Drepper <drepper@gmail.com>
6653
798be72d
UD
6654 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6655 * libio/stido.h: Likewise.
6656
8accd4dc
UD
6657 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6658 (AF_NFC): Define.
6659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6660 (AF_NFC): Define.
6661
cbff0d96
UD
6662 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6663 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6665 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6667
9191c04a
UD
6668 [BZ #13021]
6669 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6670 installed.
6671
bba33c28
UD
6672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6673 typo.
6674 (_dl_x86_64_save_sse): Likewise.
6675
90f139dd
UD
66762011-07-22 Ulrich Drepper <drepper@gmail.com>
6677
1aae088a
UD
6678 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6679 OSXSAVE.
6680 (_dl_x86_64_save_sse): Likewise.
6681
8e2045f5
UD
6682 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6683
90f139dd
UD
6684 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6685
1d002f25
AS
66862011-07-21 Andreas Schwab <schwab@redhat.com>
6687
6688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6689 change.
6690 (_dl_x86_64_save_sse): Use correct AVX check.
6691
21137f89
UD
66922011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6693
6694 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6695 bug in strncpy/strncat.
6696 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6697
a65c0b7a
UD
66982011-07-21 Ulrich Drepper <drepper@gmail.com>
6699
6700 * string/tester.c (test_strcat): Add tests for different alignments
6701 of source and destination.
6702 (test_strncat): Likewise.
6703
6986b98a
UD
67042011-07-20 Ulrich Drepper <drepper@gmail.com>
6705
90bb2039
UD
6706 [BZ #12852]
6707 * posix/glob.c (glob): Check passed in values before using them in
6708 expressions to avoid some overflows.
6709 (glob_in_dir): Likewise.
6710
5644ef54
UD
6711 [BZ #13007]
6712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6713 check for AVX enablement so that we don't crash with old kernels and
6714 new hardware.
6715 * elf/tst-audit4.c: Add same checks here.
6716 * elf/tst-audit6.c: Likewise.
6717
6718 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6719
bfc9dc9b
AS
67202011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6721
6722 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6723
702e64bb
UD
67242011-07-20 Ulrich Drepper <drepper@gmail.com>
6725
6726 * po/cs.po: Update from translation team.
6727 * po/bg.po: Likewise.
6728
295e904f
MP
67292011-07-12 Marek Polacek <mpolacek@redhat.com>
6730
6731 * misc/sys/cdefs.h: Add support for const attribute.
6732 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6733 to gnu_dev_{major,minor,makedev} functions.
6734
3ff94596
MP
67352011-07-20 Marek Polacek <mpolacek@redhat.com>
6736
6737 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6738
28b59fca
AS
67392011-07-20 Andreas Schwab <schwab@redhat.com>
6740
6741 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6742 strlen results.
6743
19df733e
AK
67442011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6745
6746 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6747 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6748 register in order to avoid conflicts with the soft frame pointer
6749 being held in r11 when necessary.
6750 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6751 (INTERNAL_VSYSCALL_NCS): Likewise.
6752
c8835729
MP
67532011-07-14 Marek Polacek <mpolacek@redhat.com>
6754
6755 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6756 * elf/dl-fini.c (_dl_fini): Adjust caller.
6757 * elf/dl-close.c (_dl_close_worker): Likewise.
6758 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6759
b902330c
MP
67602011-07-15 Marek Polacek <mpolacek@redhat.com>
6761
8991e135
MP
6762 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6763 "aux_cache->nlibs < 0".
6764
b902330c
MP
6765 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6766 in the reload-count case.
6767
99710781
LD
67682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6769
6770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6771 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6772 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6773 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6774 * sysdeps/x86_64/multiarch/strcat.S: New file.
6775 * sysdeps/x86_64/multiarch/strncat.S: New file.
6776 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6777 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6778 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6779 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6780 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6781 (USE_AS_STRCAT): Define.
6782 Add strcat and strncat support.
6783 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6784 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6785 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6786 * string/strncat.c: Update.
6787 (USE_AS_STRNCAT): Define.
6788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6789 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6790 and i7.
6791 * sysdeps/x86_64/multiarch/init-arch.h
6792 (bit_Prefer_PMINUB_for_stringop): New.
6793 (index_Prefer_PMINUB_for_stringop): Likewise.
6794 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6795 bit_Prefer_PMINUB_for_stringop.
6796
7dc6bd90
UD
67972011-07-19 Ulrich Drepper <drepper@gmail.com>
6798
6799 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6800 buffer64.
6801 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6802 of casting of buffer.
6803 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6804 buffer32 and buffer64.
6805 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6806 writes instead of casting of buffer.
6807 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6808 buffer32.
6809 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6810 casting of buffer.
6811
e0e72284
AS
68122011-07-19 Andreas Schwab <schwab@redhat.com>
6813
6814 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6815
feb1eb0b
UD
68162011-07-19 Ulrich Drepper <drepper@gmail.com>
6817
6818 * nscd/nscd.c (termination_handler): Don't do anything for a database
6819 if it has not yet been initialized.
6820
298711ff
UD
68212011-07-18 Ulrich Drepper <drepper@gmail.com>
6822
6823 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6824
68252011-07-15 Marek Polacek <mpolacek@redhat.com>
6826
6827 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6828
f9d68389
UD
68292011-07-18 Ulrich Drepper <drepper@gmail.com>
6830
6831 * po/nl.po: Update from translation team.
6832 * po/sv.po: Likewise.
6833
db290cf5
RM
68342011-07-16 Roland McGrath <roland@hack.frob.com>
6835
6836 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6837 now disallowed by GCC.
5c550700 6838
fd5e21c7
RM
6839 * configure.in (use-default-link): Default to yes if a test -shared
6840 link meets our qualifications.
6841 * configure: Regenerated.
6842
5c550700
RM
6843 * config.make.in (output-format): New variable.
6844 * configure.in: Check for ld --print-output-format support.
6845 * configure: Regenerated.
6846 * Makerules ($(common-objpfx)format.lds)
6847 [$(output-format) != unknown]: Just use $(output-format),
6848 instead of the linker-script munging.
6849
9fa2c032
RM
68502011-07-14 Roland McGrath <roland@hack.frob.com>
6851
a6928d51
RM
6852 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6853 of $(common-objpfx)shlib.lds.
6854 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6855
661607b3
RM
6856 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6857 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6858
9fa2c032
RM
6859 * configure.in (-z relro check): Adjust test code to add a large
6860 writable data section after it.
6861 * configure: Regenerated.
6862
defe9061
RM
68632011-07-11 Roland McGrath <roland@hack.frob.com>
6864
6865 * configure.in (-z relro check): Fix test code to make the variable
6866 truly const.
6867 * configure: Regenerated.
6868
319b9ad4
UD
68692011-07-11 Ulrich Drepper <drepper@gmail.com>
6870
6871 * nscd/nscd.h (struct traced_file): Define.
6872 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6873 elements. Add traced_files.
6874 (inotify_fd): Declare.
6875 (register_traced_file): Declare.
6876 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6877 (inotify_fd): Export.
6878 (resolv_conf_descr): Remove.
6879 (nscd_init): Move inotify descriptor creation to main.
6880 Don't register files for notification here.
6881 (register_traced_file): New function.
6882 (invalidate_cache): Don't use reset_res to determine whether to call
6883 res_init, go through the list of registered files.
6884 (main_loop_poll): The inotify descriptors are now stored in the
6885 structures for the traced files.
6886 (main_loop_epoll): Likewise
6887 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6888 to __nss_disable_nscd.
6889 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6890 for a database anymore. Check the records for all the registered
6891 files instead.
6892 * nss/Makefile (libnss_files-routines): Add files-init.
6893 (libnss_db-routines): Add db-init.
6894 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6895 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6896 * nss/nss_db/db-init.c: New file.
6897 * nss/nss_files/files-init.c: New file.
6898 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6899 __nss_lookup_function.
6900 (__nss_lookup_function): Call nss_load_library.
6901 (nss_load_all_libraries): New function.
6902 (__nss_disable_nscd): Take parameter with callback function for files
6903 to register. Set is_nscd. Load all the DSOs for the NSS modules
6904 used for the cached services.
6905 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6906 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6907 options for features to all the files in nscd.
6908
6909 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6910
23bee3e8
RM
69112011-07-10 Roland McGrath <roland@hack.frob.com>
6912
6913 * csu/elf-init.c (__libc_csu_init): Comment typo.
6914
46a5b7f0
UD
69152011-07-09 Ulrich Drepper <drepper@gmail.com>
6916
6917 * po/pl.po: Update from translation team.
6918 * po/ja.po: Likewise.
6919 * po/ru.po: Likewise.
6920 * po/ko.po: Likewise.
6921 * po/fr.po: Likewise.
6922
d30cf5bb
RM
69232011-07-09 Roland McGrath <roland@hack.frob.com>
6924
113ddea4
RM
6925 * configure.in (.ctors/.dtors header and trailer check):
6926 Use an empirical test on a built program.
6927 * configure: Regenerated.
6928
574920b4
RM
6929 * configure.in (-z relro check): Use an empirical test on a built DSO.
6930 Detect, but do not require, on ia64.
6931 * configure: Regenerated.
6932
d30cf5bb
RM
6933 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6934 Update tests that use readelf to use $READELF instead.
6935 * configure: Regenerated.
6936
8538fdb3
UD
69372011-07-08 Ulrich Drepper <drepper@gmail.com>
6938
6939 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6940 if the result is not used.
6941
04d08991
AJ
69422011-07-05 Andreas Jaeger <aj@suse.de>
6943
6944 [BZ#9696]
6945 * stdlib/tst-strtod.c: Add testcase.
6946
de283087
AD
69472011-07-07 Ulrich Drepper <drepper@gmail.com>
6948
4e5f31c8 6949 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6950 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6951 The latter has a higher limit. Take additional parameter to pass to
6952 the new function.
6953 (__pathconf): Pass file to __statfs_link_max.
6954 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6955 __statfs_link_max.
6956 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6957 __statfs_link_max.
6958
de283087
AD
6959 [BZ #12868]
6960 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6961 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6962 Handle Lustre.
6963 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6964 (__statfs_filesize_max): Likewise.
6965 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6966
c75fa153
AJ
69672011-07-05 Andreas Jaeger <aj@suse.de>
6968
6969 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6970
1a544854
UD
69712011-07-06 Marek Polacek <mpolacek@redhat.com>
6972
6973 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6974 `status' variable.
6975 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6976 Likewise.
6977
6f0eec67
UD
69782011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6979
6980 * Makefile (strop-tests): Add strncat.
6981 * string/test-strncat.c: New file.
6982
aae30307
UD
69832011-06-30 Marek Polacek <mpolacek@redhat.com>
6984
6985 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6986
c0cfb5eb
UD
69872011-06-21 Andreas Jaeger <aj@suse.de>
6988
6989 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6990 Copy rule from iconvdata/Makefile.
6991
01636b21
UD
69922011-07-06 Ulrich Drepper <drepper@gmail.com>
6993
6994 [BZ #12922]
6995 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6996 but no long options are defined, just return 'W'.
6997
9895c8bc
UD
69982011-06-22 Marek Polacek <mpolacek@redhat.com>
6999
7000 [BZ #9696]
7001 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7002
5d4cf042
UD
70032011-07-06 Ulrich Drepper <drepper@gmail.com>
7004
7005 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7006 netgroups to read.
960e5535 7007 (innetgr): Likewise.
5d4cf042 7008
751eb97e
RM
70092011-07-05 Roland McGrath <roland@hack.frob.com>
7010
7011 * config.make.in (install_root): Default to $(DESTDIR).
7012
f15f1e45
UD
70132011-07-05 Ulrich Drepper <drepper@gmail.com>
7014
7015 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7016
4e34ac6a
RM
70172011-07-02 Roland McGrath <roland@hack.frob.com>
7018
5e9b6af4
RM
7019 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7020
84f9ea0f
RM
7021 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7022 containing directory rather than embedding absolute directory names.
7023
ea5ee9f7
RM
7024 * scripts/check-local-headers.sh: Rewritten using awk.
7025 Match by word, not by line. Print error messages for matches.
7026 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7027
1b74661a
RM
7028 * Makerules [shlib-lds-flags empty]:
7029 ($(common-objpfx)libc_pic.opts): New target.
7030 ($(common-objpfx)libc_pic.os.clean): New target.
7031 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7032
7033 * config.make.in (OBJCOPY): New variable.
7034 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7035 * configure: Regenerated.
7036
f781ef40
RM
7037 * config.make.in (use-default-link): New variable.
7038 * configure.in (use_default_link): Grok --with-default-link to set it.
7039 * configure: Regenerated.
7040 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7041 (shlib-lds, shlib-lds-flags): Define to empty.
7042
2d4fa81e
RM
7043 * Makerules (shlib-lds): New variable.
7044 (shlib-lds-flags): New variable.
7045 (build-shlib, build-moduile, build-module-asneeded): Use it.
7046 ($(common-objpfx)libc.so): Use $(shlib-lds).
7047 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7048 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7049
31fffa6b
RM
7050 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7051 DT_FLAGS/DT_FLAGS_1 with zero flags.
7052
4e34ac6a
RM
7053 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7054 linker script munging.
7055
fcfc776b
UD
70562011-07-02 Ulrich Drepper <drepper@gmail.com>
7057
7058 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7059 as 128-bit value.
7060 * crypt/sha512.c (sha512_process_block): Perform total addition using
7061 128-bit if possible.
7062 (__sha512_finish_ctx): Likewise.
7063 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7064 as 64-bit value.
7065 * crypt/sha256.c (SWAP64): Define.
7066 (sha256_process_block): Perform total addition using 64-bit if
7067 possible.
7068 (__sha256_finish_ctx): Likewise.
7069
99231d9a
UD
70702011-07-01 Ulrich Drepper <drepper@gmail.com>
7071
7072 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7073 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7074 * nscd/hstcache.c (cache_addhst): Likewise.
7075 * nscd/grpcache.c (cache_addgr): Likewise.
7076 * nscd/aicache.c (addhstaiX): Likewise
7077 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7078
445b4a53
TK
70792011-07-01 Thorsten Kukuk <kukuk@suse.de>
7080
7081 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7082 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7083 * nscd/hstcache.c (cache_addhst): Likewise.
7084 * nscd/grpcache.c (cache_addgr): Likewise.
7085 * nscd/aicache.c (addhstaiX): Likewise
7086
6d4d8e8e
AS
70872011-07-01 Andreas Schwab <schwab@redhat.com>
7088
7089 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7090 domain only when needed.
7091
89f654c5
AS
70922011-06-30 Andreas Schwab <schwab@redhat.com>
7093
7094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7095 is always restored.
7096
cf3b23ff
UD
70972011-06-29 Ulrich Drepper <drepper@gmail.com>
7098
7099 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7100 are re-adding the entry.
7101 * nscd/servicescache.c (cache_addserv): Likewise.
7102
751626f9
AJ
71032011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7104
7105 * sysdeps/generic/dl-irel.h: fix protection against multiple
7106 inclusions.
7107 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7108
9113ea1f
UD
71092011-06-28 Ulrich Drepper <drepper@gmail.com>
7110
5c0b8d90
UD
7111 [BZ #12935]
7112 * malloc/memusage.sh: Fix quoting in message.
7113 * debug/xtrace.sh: Likewise.
7114
9113ea1f
UD
7115 * configure.in: Remove support for --experimental-malloc option, make
7116 it the default.
7117 * config.make.in: Likewise.
7118 * malloc/Makefile: Likewise.
7119
a4172181
AS
71202011-06-27 Andreas Schwab <schwab@redhat.com>
7121
7122 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7123 two-byte characters.
7124
78a7eee7
RM
71252011-06-27 Roland McGrath <roland@hack.frob.com>
7126
62bede13
RM
7127 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7128 AC_CACHE_CHECK invocation.
7129 * configure: Regenerated.
7130
78a7eee7
RM
7131 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7132
5ce33a62
UD
71332011-06-27 Ulrich Drepper <drepper@gmail.com>
7134
034807a9
UD
7135 [BZ #12350]
7136 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7137 bit from old_res_options.
7138
4902da17
UD
7139 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7140
5ce33a62
UD
7141 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7142 value type for setfct.
7143
c2344f56
L
71442011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7145
7146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7147 __gettimeofday instead of gettimeofday.
7148
68468076
UD
71492011-06-26 Ulrich Drepper <drepper@gmail.com>
7150
7151 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7152
acb0d739
L
71532011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7154
7155 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7156
7157 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7158 info.
7159
8912479f
L
71602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7161
7162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7163 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7164 strcpy-sse2-unaligned strncpy-sse2-unaligned
7165 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7166 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7167 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7168 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7169 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7170 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7171 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7172 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7173 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7174 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7175 (STRCPY): Support SSE2 and SSSE3 versions.
7176
d5495a11
UD
71772011-06-24 Ulrich Drepper <drepper@gmail.com>
7178
7179 [BZ #12874]
7180 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7181 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7182 kernels which artificially limit size of requests.
7183
0b1cbaae
L
71842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7185
7186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7187 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7188 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7189 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7190 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7191 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7192 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7193 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7194 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7196 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7197 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7198 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7199 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7200 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7202 Enable unaligned load optimization for Intel Core i3, i5 and i7
7203 processors.
7204 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7205 Define.
7206 (index_Fast_Unaligned_Load): Define.
7207 (HAS_FAST_UNALIGNED_LOAD): Define.
7208
07f494a0
MP
72092011-06-23 Marek Polacek <mpolacek@redhat.com>
7210
7211 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7212
fa3fc0fe
UD
72132011-06-22 Ulrich Drepper <drepper@gmail.com>
7214
7215 [BZ #12907]
7216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7217 until it is clear that the information is realy needed.
7218 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7219
e12df166
AS
72202011-06-22 Andreas Schwab <schwab@redhat.com>
7221
7222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7223
852eb34d
UD
72242011-06-22 Ulrich Drepper <drepper@gmail.com>
7225
84e2a551
UD
7226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7227 /sys/devices/system/cpu/online if it is usable.
7228
852eb34d
UD
7229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7230 reading the information from the /proc filesystem to once a second.
7231
6e502e19
UD
72322011-06-21 Andreas Jaeger <aj@suse.de>
7233
7234 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7235 NULL after inclusion of kernel headers.
7236
75d39ff2
UD
72372011-06-21 Ulrich Drepper <drepper@gmail.com>
7238
51f9aa6a
UD
7239 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7240 calls to internal_setent.
7241
c0244a9d
UD
7242 [BZ #12885]
7243 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7244 addresses using gethostbyname4_r ignore IPv4 addresses.
7245
c5e3c2ae
UD
7246 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7247 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7248
75d39ff2
UD
7249 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7250
42675c6f
DM
72512011-06-20 David S. Miller <davem@davemloft.net>
7252
7253 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7254 inclusions.
7255 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7256
7257 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7258 (elf_irel): Use it.
7259 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7260 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7261 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7262 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7263 * sysdeps/x86_64/dl-irel.h: Likewise.
7264
7265 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7266 * elf/dl-sym.c: Likewise.
7267
57912a71
UD
72682011-06-15 Ulrich Drepper <drepper@gmail.com>
7269
7270 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7271 need to dereference resplen2.
7272
ee22793d
AS
72732011-06-14 Andreas Schwab <schwab@redhat.com>
7274
7275 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7276
a9e836b0
UD
72772011-06-15 Ulrich Drepper <drepper@gmail.com>
7278
77fb9117
UD
7279 * Makeconfig: Define vardbdir and inst_vardbdir.
7280 * nss/Makefile: Add rules to install db-Makefile.
7281
40c1b22c
UD
7282 * nss/nss_db/db-XXX.c: Cleanup.
7283
9f2da732
UD
7284 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7285 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7286 GLIBC_PRIVATE.
7287 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7288 * nss/makedb.c: Implement -g option to specify that value strings
7289 are generated and should not be added to table iterated over for
7290 get*ent calls.
7291 * nss/nss_db/db-initgroups.c: New file.
7292
82e9a1f7
UD
7293 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7294 interface.
7295
c41af17e
UD
7296 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7297 (internal_getgrouplist): Adjust to name change.
7298 Update use_initgroups_entry if this is not the first call.
7299 * nss/databases.def: Add initgroups entry.
7300
a9e836b0
UD
7301 * nss/makedb.c (compute_tables): Check result of multiple hash table
7302 sizes to minimize maximum chain length.
7303
2666d441
UD
73042011-06-14 Ulrich Drepper <drepper@gmail.com>
7305
7306 * Versions.def: Add entry for libnss_db.
7307 * shlib-versions: Likewise.
7308 * nss/Makefile: Add rules to build libnss_db.
7309 * nss/Versions: Add libnss_db information. Organize libnss_files
7310 entries better.
7311 * nss/db-Makefile: Add gshadow support. Change rules for the new
7312 makedb progra. Some minor improvements to generate smaller files.
7313 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7314 here from...
7315 * nss/makedb.c: ...here.
7316 Improve database format to be smaller and require less memory at
7317 runtime.
7318 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7319 db anymore.
7320 * nss/nss_db/db-netgrp.c: Likewise.
7321 * nss/nss_db/db-open.c: Likewise.
7322 * nss/nss_files/flies-XXX.x: Adjust comments.
7323 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7324 * nss/nss_files/files-grp.c: Likewise.
7325 * nss/nss_files/files-hosts.c: Likewise.
7326 * nss/nss_files/files-network.c: Likewise.
7327 * nss/nss_files/files-proto.c: Likewise.
7328 * nss/nss_files/files-pwd.c: Likewise.
7329 * nss/nss_files/files-rpc.c: Likewise.
7330 * nss/nss_files/files-service.c: Likewise.
7331 * nss/nss_files/files-sgrp.c: Likewise.
7332 * nss/nss_files/files-spwd.c: Likewise.
7333 * nss/nss_db/db-alias.c: Removed.
7334 * nss/nss_db/dummy-db.h: Removed.
7335
9ee76b5a
UD
73362011-06-02 Ulrich Drepper <drepper@gmail.com>
7337
7338 * nss/makedb.c: Rewritten to not use database library.
7339 * nss/Makefile: Update to build new makedb program.
7340
c71ca1f8
AJ
73412011-06-14 Andreas Jaeger <aj@suse.de>
7342
7343 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7344 memset declaration.
7345
3154bfb8
UD
73462011-06-10 Andreas Schwab <schwab@redhat.com>
7347
7348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7349 tmpbuf.
7350
b350afab
RM
73512011-06-10 Roland McGrath <roland@hack.frob.com>
7352
decd4e50
RM
7353 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7354 * elf/Makefile ($(objpfx)ld.so): Likewise.
7355
5615eaf2
RM
7356 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7357 Don't list ld.so twice in dependencies.
7358
7359 * posix/bug-regex31.c: Include <stdlib.h>.
7360
7361 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7362
7363 * nis/nss_compat/compat-spwd.c
7364 (getspent_next_nss_netgr): Remove unused variable.
7365 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7366
7367 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7368 nonmembers" output to use the right array.
7369
7370 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7371
7372 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7373
7374 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7375 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7376 * catgets/gencat.c (read_input_file): Likewise.
7377 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7378
7379 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7380 variable definition inside #if's controlling its use.
7381
7382 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7383
7384 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7385
7386 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7387
7388 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7389 unreachable code.
7390
7391 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7392
b68e08db
RM
7393 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7394 * configure: Regenerated.
7395
b350afab
RM
7396 * Makerules: Revert last change.
7397 * elf/Makefile: Likewise.
7398
28368601
RM
73992011-06-09 Roland McGrath <roland@hack.frob.com>
7400
7401 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7402 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7403 (reloc-link): Likewise.
7404
11988f8f
UD
74052011-06-09 Ulrich Drepper <drepper@gmail.com>
7406
7407 * elf/Makefile: Add rules to build pldd.
7408 * elf/pldd.c: New file.
7409 * elf/pldd-xx.c: New file.
7410
e80fab37
UD
74112011-06-07 Ulrich Drepper <drepper@gmail.com>
7412
7413 * version.h: Update for 2.15 development version.
7414
9b849836
DM
74152011-06-07 David S. Miller <davem@davemloft.net>
7416
7417 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7418 ifuncs.
7419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7420 elf_machine_lazy_rel): Likewise.
7421 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7423 elf_machine_lazy_rel): Likewise.
7424 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7425 dl_hwcap via passed in argument.
7426 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7427 Likewise.
7428
5a31b283
AK
74292011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7430
7431 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7432
069e52f8
RM
74332011-06-06 Roland McGrath <roland@hack.frob.com>
7434
7435 [BZ #12849]
7436 * manual/fdl-1.1.texi: New file, verbatim from:
7437 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7438 * manual/lgpl-2.1.texi: New file, verbatim from:
7439 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7440 * manual/Makefile (licenses): New variable, list those new file names.
7441 (texis): Use it.
7442 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7443
7444 * manual/fdl.texi: File removed.
7445 * manual/lesser.texi: File removed.
7446 * manual/libc.texinfo (Copying, Documentation License):
7447 Use new @include file names, put @appendix directive before @include.
7448
f16846a5
JJ
74492011-06-04 Jakub Jelinek <jakub@redhat.com>
7450
7451 [BZ #12841]
7452 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7453 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7454 (mq_open): Add __NTH.
7455
3d29045b
L
74562011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7457
7458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7459 Assume Intel Core i3/i5/i7 processor if AVX is available.
7460
8c297311
UD
74612011-05-31 Ulrich Drepper <drepper@gmail.com>
7462
7463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7464 typo.
7465
c8fc0c91
UD
74662011-05-31 Andreas Schwab <schwab@redhat.com>
7467
7468 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7469 memory. Use alloca_account. Fix memory leak when retrying.
7470
5b27a807
UD
74712011-05-31 Ulrich Drepper <drepper@gmail.com>
7472
356f8bc6
UD
7473 * version.h (RELEASE): Bump for 2.14 release.
7474 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7475
5b27a807
UD
7476 * config.make.in (RANLIB): Remove entry.
7477
01f16ab0
UD
74782011-05-30 Ulrich Drepper <drepper@gmail.com>
7479
41fce8bd
UD
7480 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7481 (libc.pot): Work around missing support for .ksh extension in xgettext.
7482
4769ae77
UD
7483 [BZ #12684]
7484 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7485 if both request failed.
7486 (send_dg): In case of server errors clear resplen or *resplen2.
7487
6b1e7d19
UD
7488 [BZ #12454]
7489 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7490 when there are multiple maps.
7491 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7492 (_dl_fini): Remove test here.
7493
01f16ab0
UD
7494 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7495
b1ebd700
UD
74962011-05-29 Ulrich Drepper <drepper@gmail.com>
7497
7ae22829
UD
7498 [BZ #12350]
7499 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7500 bit from old_res_options.
7501 (gaih_inet): Likewise.
7502
553149f6 7503 [BZ #11099]
18a84741 7504 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7505 as signed.
7506
652ffab1
UD
7507 * resolv/res_init.c (res_setoptions): Make the code more compact.
7508
16985fd0
UD
7509 [BZ #11558]
7510 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7511 set RES_USEVC.
7512
0464f746
UD
7513 [BZ #11634]
7514 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7515
7d17596c
UD
7516 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7517
cf6bbbd7
UD
7518 [BZ #11781]
7519 * malloc/malloc.h: Declare malloc hook variables as volatile.
7520
13f1ab36
UD
7521 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7522 in last patch.
7523
b1ebd700
UD
7524 [BZ #11799]
7525 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7526 raise in the comment.
80e2212d
UD
7527 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7528 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7529 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7530
ce67228d
UD
75312011-05-28 Ulrich Drepper <drepper@gmail.com>
7532
8887a920
UD
7533 [BZ #12811]
7534 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7535 grow the buffers more if it already has to be sufficient.
7536 (build_wcs_upper_buffer): Likewise.
7537 * posix/regexec.c (check_matching): Likewise.
7538 (clean_state_log_if_needed): Likewise.
7539 (extend_buffers): Don't enlarge buffers beyond size of the input
7540 buffer.
7541 Patches mostly by Emil Wojak <emil@wojak.eu>.
7542 * posix/bug-regex32.c: New file.
7543 * posix/Makefile (tests): Add bug-regex32.
7544
4f031072
UD
7545 * locale/findlocale.c (_nl_find_locale): Return right away if
7546 _nl_explode_name failed.
7547 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7548
d0478f0c
UD
7549 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7550
de81b246
UD
7551 * debug/xtrace.sh: Unify messages.
7552 * malloc/memusage.sh: Likewise.
7553
c738465a
UD
7554 [BZ #12813]
7555 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7556 time symbol from vDSO. Substitute with vsyscall if not available.
7557 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7558 __vdso_time.
7559
f1f929d7
UD
7560 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7561 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7562 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7563 Add sendmmsg and internal_sendmmsg.
7564 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7565 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7566 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7567
ce67228d
UD
7568 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7569 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7570 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7571
e57420c6
UD
75722011-05-27 Ulrich Drepper <drepper@gmail.com>
7573
a8509ca5
UD
7574 [BZ #12813]
7575 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7576 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7577 available.
7578 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7579 __vdso_getcpu.
7580
e57420c6
UD
7581 [BZ #12814]
7582 * iconvdata/Makefile (tests): Add bug-iconv9.
7583 * iconvdata/bug-iconv9.c: New file.
7584
4d07db15
AS
75852011-05-27 Andreas Schwab <schwab@redhat.com>
7586
7587 [BZ #12814]
7588 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7589
ea486f69
JJ
75902011-05-25 Jakub Jelinek <jakub@redhat.com>
7591
7592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7593 (struct user_regs_struct): Change intcs field back to cs.
7594
6f038433
UD
75952011-05-25 Ulrich Drepper <drepper@gmail.com>
7596
7597 * po/ja.po: Update from translation team.
7598
67f86a25
UD
75992011-05-23 Ulrich Drepper <drepper@gmail.com>
7600
7601 [BZ #12795]
7602 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7603 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7604
def7fbd6
AS
76052011-05-20 Andreas Schwab <schwab@redhat.com>
7606
7607 * stdlib/longlong.h: Update from GCC.
7608
f50ef8f1
AS
76092011-05-23 Andreas Schwab <schwab@redhat.com>
7610
7611 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7612 parameter name.
7613 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7614 Add parameter name.
7615 (__sysconf): Pass it down.
7616
de7ce8f1
UD
76172011-05-22 Ulrich Drepper <drepper@gmail.com>
7618
f2962a71
UD
7619 [BZ #12671]
7620 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7621 some situations.
7622 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7623 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7624 add in in __libc_use_alloca calls. Adjust callers.
7625 (glob): Use malloc in some situations.
7626
de7ce8f1
UD
7627 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7628 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7629 pltexit.
7630
aec84f53
UD
76312011-05-21 Ulrich Drepper <drepper@gmail.com>
7632
05bb4a68
UD
7633 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7634 and CLOCK_BOOTTIME_ALARM.
7635
7ea72f99
UD
7636 [BZ #12782]
7637 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7638 is returned.
7639
7e4afad5
UD
7640 * string/_strerror.c (__strerror_r): Print negative errors as signed
7641 numbers.
7642
8e211fec
UD
7643 [BZ #12777]
7644 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7645 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7646 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7647
f7d82dc9
UD
7648 * configure.in: Fix typo in redirection and correct removal of test
7649 files in two cases.
7650
cc9e536d
UD
7651 [BZ #12788]
7652 * locale/setlocale.c (new_composite_name): Fix test to check for
7653 identical name of all categories.
7654
aec84f53
UD
7655 [BZ #12792]
7656 * libio/filedoalloc.c (local_isatty): New function.
7657 (_IO_file_doallocate): Use local_isatty.
7658 * stdio-common/perror.c (perror): In case a new stream is used
7659 forward the stream error.
7660 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7661 error flag.
7662
78e64fdc
RT
76632011-05-20 Ulrich Drepper <drepper@gmail.com>
7664
34a9094f
UD
7665 [BZ #11869]
7666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7667 alloca.
7668 * include/alloca.h (extend_alloca_account): Define.
7669
78e64fdc
RT
7670 [BZ #11857]
7671 * posix/regex.h: Fix comments with documentation of user-accessible
7672 fields after compilation and describe correct free'ing of pattern
7673 after re_compile_pattern.
7674 Patch by Reuben Thomas <rrt@sc3d.org>.
7675
457bddfc
RA
76762011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7677
7678 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7679 and -mno-altivec to prevent the compiler from using Altivec and/or
7680 VSX instructions when the corresponding registers are not available.
7681
a4527b51
AS
76822011-05-19 Andreas Schwab <schwab@redhat.com>
7683
7684 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7685
ed690b2f
UD
76862011-05-19 Ulrich Drepper <drepper@gmail.com>
7687
7688 * libio/freopen.c (freopen): Use __dup2, not dup2.
7689 * libio/freopen64.c (freopen64): Likewise.
7690
8db73634
L
76912011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7692
7693 [BZ #12775]
7694 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7695 * math/Makefile (tests): Add test-powl.
7696 (CFLAGS-test-powl.c): Define.
7697 * math/test-powl.c: New file.
7698
0a197a9d
L
76992011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7700
7701 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7702
ee30c380
UD
77032011-05-17 Ulrich Drepper <drepper@gmail.com>
7704
7705 [BZ #11837]
7706 * iconvdata/gb18030.c: Update to GB18020-2005.
7707
6ce75379
UD
77082011-05-16 Ulrich Drepper <drepper@gmail.com>
7709
a4b89fd8
AR
7710 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7711 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7712 Patch by Aharon Robbins <arnold@skeeve.com>.
7713
ea389b12
UD
7714 [BZ #11892]
7715 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7716 on the stack.
7717
68a3f91f
UD
7718 [BZ #11895]
7719 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7720 through underflows.
7721
15cc7dd1
UD
7722 [BZ #12766]
7723 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7724 point to strings before performing equality test for error_one_per_line
7725 mode.
7726
f3799213
UD
7727 [BZ #11697]
7728 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7729
d79a9c94
UD
7730 [BZ #11820]
7731 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7732 (struct user_fpregs_struct): Avoid __uint*_t types.
7733
56e5eb46
UD
7734 [BZ #6420]
7735 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7736 symbol info. Use it instead of calling _dl_addr locally.
7737 (lock_and_info): New function.
7738 (tr_freehook): Call lock_and_info and pass symbol info as additional
7739 parameter to tr_where.
7740 (tr_mallochook): Likewise.
7741 (tr_reallochook): Likewise.
7742 (tr_memalignhook): Likewise.
7743
6ce75379
UD
7744 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7745 used and couldn't be at all thread-safe.
7746
f8a3b5bf
UD
77472011-05-15 Ulrich Drepper <drepper@gmail.com>
7748
94b7cc37
UD
7749 * libio/freopen.c (freopen): Don't close old file descriptor
7750 before the new one is opened. Instead dup the new file descriptor
7751 to the old one after the new stream is created.
7752 * libio/freopen64.c (freopen64): Likewise.
7753 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7754 * libio/fileops.c (_IO_new_file_close_it): Handle new
7755 _IO_FLAGS2_NOCLOSE flag.
7756 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7757 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7758 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7759 _IO_FLAGS2_NOCLOSE flag.
7760 * include/unistd.h: Add hidden_proto for dup3.
7761 Define __have_dup3.
7762 * io/dup3.c: Define hidden symbol.
7763 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7764
bd25564e
UD
7765 [BZ #7101]
7766 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7767 when an incomplete long option is used.
7768 * posix/tst-getopt_long1.c: New file.
7769 * posix/Makefile (tests): Add tst-getopt_long1.
7770
c84cfef4
UD
7771 [BZ #10138]
7772 * scripts/config.guess: Update from autoconf-2.68.
7773 * scripts/config.sub: Likewise.
7774
3b85df27
UD
7775 [BZ #10157]
7776 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7777 tests into ...
7778 (has_cpuclock): ...this. New function.
7779 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7780 macro here based on has_cpuclock code.
7781
15a856b1
UD
7782 [BZ #10149]
7783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7784 First byte (not low byte) is now always NUL.
7785 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7786
05f399e6
UD
7787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7788 Use non-cancelable interfaces.
7789
10a52685 7790 [BZ #9809]
94ecc67d
UD
7791 * locale/iso-639.def: Add entry for Sorani.
7792
f8a3b5bf
UD
7793 [BZ #11901]
7794 * include/stdlib.h: Move include protection to the right place.
7795 Define abort_msg_s. Declare __abort_msg with it.
7796 * stdlib/abort.c (__abort_msg): Adjust type.
7797 * assert/assert.c (__assert_fail_base): New function. Majority
7798 of code from __assert_fail. Allocate memory for __abort_msg with
7799 mmap.
7800 (__assert_fail): Now call __assert_fail_base.
7801 * assert/assert-perr.c: Remove bulk of implementation. Use
7802 __assert_fail_base.
7803 * include/assert.hL Declare __assert_fail_base.
7804 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7805 mmap.
7806 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7807
1af4e298
UD
78082011-05-14 Ulrich Drepper <drepper@gmail.com>
7809
f8a3b5bf 7810 [BZ #11952]
d26dfc60
MG
7811 [BZ #12453]
7812 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7813 until all modules are registered in the DTV.
7814 * elf/Makefile: Add rules to build and run tst-tls19.
7815 * elf/tst-tls19.c: New file.
7816 * elf/tst-tls19mod1.c: New file.
7817 * elf/tst-tls19mod2.c: New file.
7818 * elf/tst-tls19mod3.c: New file.
7819 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7820
2fc54d6f
UD
7821 [BZ #12083]
7822 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7823 correctly.
7824
98d76b46
UD
7825 [BZ #12601]
7826 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7827 two-byte sequence errors.
7828 * iconvdata/Makefile (tests): Add bug-iconv8.
7829 * iconvdata/bug-iconv8.c: New file.
7830
da3c19ef
UD
7831 [BZ #12626]
7832 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7833 buf2 definition.
7834
ca408c15
UD
7835 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7836
d6f67f7d
UD
7837 [BZ #12432]
7838 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7839 (dummy_getcfa): New function.
7840 (init): Get _Unwind_GetCFA address, use dummy if not found.
7841 (backtrace_helper): In recursion check, also check whether CFA changes.
7842 (__backtrace): Completely initialize arg.
7843
1af4e298 7844 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7845 storing incomplete byte sequence in state object. Avoid testing for
7846 guaranteed too small input if we know there is enough data available.
1af4e298 7847
da62f81b
AS
78482011-05-11 Andreas Schwab <schwab@redhat.com>
7849
7850 * Makeconfig (+link-pie): Indent.
7851 * Rules (binaries-pie): Define if $(have-fpie) and
7852 $(build-shared).
7853 (binaries-shared): Also filter out $(binaries-pie).
7854 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7855 * nscd/Makefile (others-pie): Add nscd.
7856 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7857 ($(objpfx)nscd): Remove command override.
7858 * login/Makefile (others-pie): Add pt_chown.
7859 ($(objpfx)pt_chown): Remove command override.
7860 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7861 remove command overrides.
7862
fcabc0f8
UD
78632011-05-13 Ulrich Drepper <drepper@gmail.com>
7864
20030ae6
UD
7865 * libio/tst_putwc.c: Fix error messages.
7866
fcabc0f8
UD
7867 [BZ #12724]
7868 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7869 currently writing and seek to current position when not.
7870 * libio/Makefile (tests): Add bug-fclose1.
7871 * libio/bug-fclose1.c: New file.
7872
320a5dc0
PB
78732011-05-12 Ulrich Drepper <drepper@gmail.com>
7874
7875 [BZ #12511]
7876 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7877 don't set DF_1_NODELETE here.
7878 (do_lookup_x): When entering new entry test for copy relocation
7879 and if necessary set DF_1_NODELETE flag.
7880 * elf/tst-unique4.cc: New file.
7881 * elf/tst-unique4.h: New file.
7882 * elf/tst-unique4lib.cc: New file.
7883 * elf/Makefile: Add rules to build and run tst-unique4.
7884 Patch by Piotr Bury <pbury@goahead.com>.
7885
22836f52
UD
78862011-05-11 Ulrich Drepper <drepper@gmail.com>
7887
f574184a
UD
7888 [BZ #12052]
7889 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7890
e1fb097f
UD
7891 [BZ #12625]
7892 * misc/mntent_r.c (addmntent): Flush the stream after the output
7893
22836f52
UD
7894 [BZ #12393]
7895 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7896 (is_trusted_path_normalize): Skip initial colon. Append slash
7897 to empty buffer. Duplicate is_trusted_path code but allow
7898 constructed patch to be prefix.
7899 (is_dst): Allow $ORIGIN followed by /.
7900 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7901 Correct testing of result of is_trusted_path_normalize
7902 (decompose_rpath): Fix warning.
7903
7b3b0b2a
UD
79042011-05-10 Ulrich Drepper <drepper@gmail.com>
7905
7906 [BZ #11257]
7907 * grp/initgroups.c (internal_getgrouplist): When we found the service
7908 list through the initgroups entry in nsswitch.conf do not always
7909 continue on a successful lookup. Don't always use the
eac80ce2 7910 __nss_group_database value if it is set.
7b3b0b2a
UD
7911 * nss/nsswitch.conf (initgroups): Change action for successful db
7912 lookup to continue for compatibility.
7913
2a81eaa5
UD
79142011-05-09 Ulrich Drepper <drepper@gmail.com>
7915
be97a69e
UD
7916 [BZ #11532]
7917 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7918 and CP774 modules.
7919 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7920 and CP774 modules.
7921 * iconvdata/tst-tables.sh: Likewise.
7922 * iconvdata/cp770.c: New file.
7923 * iconvdata/cp771.c: New file.
7924 * iconvdata/cp772.c: New file.
7925 * iconvdata/cp773.c: New file.
7926 * iconvdata/cp774.c: New file.
7927 * iconvdata/testdata/CP770: New file.
7928 * iconvdata/testdata/CP770..UTF8: New file.
7929 * iconvdata/testdata/CP771: New file.
7930 * iconvdata/testdata/CP771..UTF8: New file.
7931 * iconvdata/testdata/CP772: New file.
7932 * iconvdata/testdata/CP772..UTF8: New file.
7933 * iconvdata/testdata/CP773: New file.
7934 * iconvdata/testdata/CP773..UTF8: New file.
7935 * iconvdata/testdata/CP774: New file.
7936 * iconvdata/testdata/CP774..UTF8: New file.
7937
7938 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7939 END CHARMAP line.
7940 * iconvdata/gen-8bit-gap.sh: Likewise.
7941 * iconvdata/gen-8bit.sh: Likewise.
7942
c1e9e399
UD
7943 * locale/iso-639.def: Add ary entry.
7944
24c55fb3 7945 [BZ #11258]
96b4b1b0
UD
7946 * locale/C-translit.h.in: Add U20A1 transliteration.
7947
bdc2f971
KB
7948 [BZ #12178]
7949 * locale/iso-639.def: Add wae entry.
7950 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7951
2952b117
UD
7952 [BZ #12545]
7953 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7954 for n.
7955
2a81eaa5
UD
7956 [BZ #12711]
7957 * locale/C-translit.h.in: Add entry for U20B9.
7958 Patch by pravin.d.s@gmail.com.
7959
28377d1b
UD
79602011-05-08 Ulrich Drepper <drepper@gmail.com>
7961
7fb90fb8
UD
7962 [BZ #12713]
7963 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7964 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7965 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7966 in rtld. Use *stat64.
7fb90fb8 7967 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7968 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7969 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7970 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7971 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7972 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7973 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7974 __fstatat64 macros.
7fb90fb8
UD
7975 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7976 * dirent/rewinddir.c: Add libc_hidden_def.
7977 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7978 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7979
28377d1b
UD
7980 * include/dirent.h (__alloc_dir): Add flags parameter.
7981 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7982 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7983 __alloc_dir.
7984 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7985 from fdopendir if O_CLOEXEC is already set.
7986
66bdbaa4
AM
79872011-03-15 Alan Modra <amodra@gmail.com>
7988
7989 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7990 l_tls_firstbyte_offset non-zero. Save padding offset in
7991 l_tls_firstbyte_offset for later use.
7992 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7993 freeing static tls block.
7994
95721191
JN
79952011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7996
7997 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7998 where #ifdef was intended. The intent is to prevent ARG_MAX from
7999 being defined by the kernel headers.
8000
f87dfb1f
UD
80012011-05-07 Ulrich Drepper <drepper@gmail.com>
8002
8003 [BZ #12734]
8004 * resolv/resolv.h: Define RES_NOTLDQUERY.
8005 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8006 no-tld-query and set RES_NOTLDQUERY.
8007 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8008 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8009 modern BIND to search name as TLD unless forbidden.
8010
47c3cd7a
UD
80112011-05-07 Petr Baudis <pasky@suse.cz>
8012 Ulrich Drepper <drepper@gmail.com>
8013
8014 [BZ #12393]
8015 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8016 (is_trusted_path): ...to here.
c1e9ea35 8017 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8018 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8019 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8020
8a35c912
PP
80212011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8022
8023 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8024 __BEGIN/__END_DECLS.
8025
acd41f47
UD
80262011-05-06 Ulrich Drepper <drepper@gmail.com>
8027
8028 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8029 NSS_STATUS_NOTFOUND if no record was found.
8030
597df647
AS
80312011-05-05 Andreas Schwab <schwab@redhat.com>
8032
8033 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8034 (headers-not-in-tirpc): Remove rpc/netdb.h
8035 * resolv/netdb.h: Revert last change.
8036
b9af1301
PP
80372011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8038
8039 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8040 circular dependency between libgcc.a and libc.a.
8041
4e34d5f5
AS
80422011-05-05 Andreas Schwab <schwab@redhat.com>
8043
8044 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8045 * nis/Makefile: Don't install rpcsvc/*.
8046 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8047 instead of <rpc/types.h>.
8048 (MAXHOSTNAMELEN): Define.
8049
00ee369c
AS
80502011-05-03 Andreas Schwab <schwab@redhat.com>
8051
8052 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8053
0b592a30
MB
80542011-04-28 Maciej Babinski <mbabinski@google.com>
8055
8056 [BZ #12714]
8057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8058 gethostbyname4_r when IPv6 results are possible.
8059
6e04cbbe
UD
80602011-05-02 Ulrich Drepper <drepper@gmail.com>
8061
8062 [BZ #12723]
8063 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8064 _PC_PIPE_BUF handling.
8065
e4ecafe0
BH
80662011-04-30 Bruno Haible <bruno@clisp.org>
8067
8068 [BZ #12717]
8069 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8070 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8071 to 'int'.
8072 * inet/getnameinfo.c (getnameinfo): Likewise.
8073
125ee683
UD
80742011-04-29 Ulrich Drepper <drepper@gmail.com>
8075
8076 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8077 to groups setting in database lookup.
8078 * nss/nsswitch.conf: Add initgroups entry.
8079
b722481a
EB
80802011-04-22 Ulrich Drepper <drepper@gmail.com>
8081
8082 [BZ #12685]
8083 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8084 mode string.
8085 Patch by Eric Blake <eblake@redhat.com>.
8086
4df46dbd
L
80872011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8088
8089 * sunrpc/Makefile (need-export-routines): Add svc_run.
8090 (routines): Remove svc_run.
8091 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8092 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8093 * sunrpc/svc_run.c (svc_run): Likewise.
8094 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8095
e84142d2
UD
80962011-04-21 Ulrich Drepper <drepper@gmail.com>
8097
8098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8099 problem in reallocation in last patch.
8100
877175d8
UD
81012011-04-20 Ulrich Drepper <drepper@gmail.com>
8102
8103 * sunrpc/Makefile: Move inclusion of Rules.
8104
ab8eed78
UD
81052011-04-19 Ulrich Drepper <drepper@gmail.com>
8106
8107 * nss/nss_files/files-initgroups.c: New file.
8108 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8109 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8110 _nss_files_initgroups_dyn.
8111
e3d8f584
RS
81122011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8113
8114 * elf/elf.h (R_ARM_IRELATIVE): Define.
8115
af190f45
UD
81162011-04-19 Ulrich Drepper <drepper@gmail.com>
8117
8118 * po/ru.po: Update from translation team.
8119
53cf59ef
UD
81202011-04-17 Ulrich Drepper <drepper@gmail.com>
8121
8122 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8123 dependencies.
8124
4c559bcd
MF
81252011-02-06 Mike Frysinger <vapier@gentoo.org>
8126
8127 [BZ #12653]
8128 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8129 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8130 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8132 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8133
4420675c
AS
81342011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8135
8136 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8137 differing bytes.
8138 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8140 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8141
75ea32ab
UD
81422011-04-17 Ulrich Drepper <drepper@gmail.com>
8143
8144 [BZ #12420]
8145 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8146 storing it.
8147 * stdlib/bug-getcontext.c: New file.
8148 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8149
27390476
AK
81502011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8151
8152 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8153 instructions into .machine "z9-109".
8154 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8155 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8156
10442705
AK
81572011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8158
8159 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8160 between environment variables and auxiliary vector.
8161
7b57bfe5
UD
81622011-04-16 Ulrich Drepper <drepper@gmail.com>
8163
8164 * Makefile: Add rules to build linkobj/libc.so.
8165 * include/libc-symbols.h: Define libc_hidden_nolink.
8166 * include/rpc/auth.h: Mark functions which are to be hidden.
8167 * include/rpc/auth_des.h: Likewise.
8168 * include/rpc/auth_unix.h: Likewise.
8169 * include/rpc/clnt.h: Likewise.
8170 * include/rpc/des_crypt.h: Likewise.
8171 * include/rpc/key_prot.h: Likewise.
8172 * include/rpc/pmap_clnt.h: Likewise.
8173 * include/rpc/pmap_prot.h: Likewise.
8174 * include/rpc/pmap_rmt.h: Likewise.
8175 * include/rpc/rpc_msg.h: Likewise.
8176 * include/rpc/svc.h: Likewise.
8177 * include/rpc/svc_auth.h: Likewise.
8178 * include/rpc/xdr.h: Likewise.
8179 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8180 * nss/Makefile: Likewise.
8181 * sunrpc/Makefile: Don't install headers. Build library with normal
8182 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8183 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8184 for the compat linking library. Remove use of INTDEF/INTUSE.
8185 * sunrpc/auth_none.c: Likewise.
8186 * sunrpc/auth_unix.c: Likewise.
8187 * sunrpc/authdes_prot.c: Likewise.
8188 * sunrpc/authuxprot.c: Likewise.
8189 * sunrpc/clnt_gen.c: Likewise.
8190 * sunrpc/clnt_perr.c: Likewise.
8191 * sunrpc/clnt_raw.c: Likewise.
8192 * sunrpc/clnt_simp.c: Likewise.
8193 * sunrpc/clnt_tcp.c: Likewise.
8194 * sunrpc/clnt_udp.c: Likewise.
8195 * sunrpc/clnt_unix.c: Likewise.
8196 * sunrpc/des_crypt.c: Likewise.
8197 * sunrpc/des_soft.c: Likewise.
8198 * sunrpc/get_myaddr.c: Likewise.
8199 * sunrpc/key_call.c: Likewise.
8200 * sunrpc/key_prot.c: Likewise.
8201 * sunrpc/netname.c: Likewise.
8202 * sunrpc/pm_getmaps.c: Likewise.
8203 * sunrpc/pm_getport.c: Likewise.
8204 * sunrpc/pmap_clnt.c: Likewise.
8205 * sunrpc/pmap_prot.c: Likewise.
8206 * sunrpc/pmap_prot2.c: Likewise.
8207 * sunrpc/pmap_rmt.c: Likewise.
8208 * sunrpc/publickey.c: Likewise.
8209 * sunrpc/rpc_cmsg.c: Likewise.
8210 * sunrpc/rpc_common.c: Likewise.
8211 * sunrpc/rpc_dtable.c: Likewise.
8212 * sunrpc/rpc_prot.c: Likewise.
8213 * sunrpc/rpc_thread.c: Likewise.
8214 * sunrpc/rtime.c: Likewise.
8215 * sunrpc/svc.c: Likewise.
8216 * sunrpc/svc_auth.c: Likewise.
8217 * sunrpc/svc_authux.c: Likewise.
8218 * sunrpc/svc_raw.c: Likewise.
8219 * sunrpc/svc_run.c: Likewise.
8220 * sunrpc/svc_simple.c: Likewise.
8221 * sunrpc/svc_tcp.c: Likewise.
8222 * sunrpc/svc_udp.c: Likewise.
8223 * sunrpc/svc_unix.c: Likewise.
8224 * sunrpc/svcauth_des.c: Likewise.
8225 * sunrpc/xcrypt.c: Likewise.
8226 * sunrpc/xdr.c: Likewise.
8227 * sunrpc/xdr_array.c: Likewise.
8228 * sunrpc/xdr_float.c: Likewise.
8229 * sunrpc/xdr_intXX_t.c: Likewise.
8230 * sunrpc/xdr_mem.c: Likewise.
8231 * sunrpc/xdr_rec.c: Likewise.
8232 * sunrpc/xdr_ref.c: Likewise.
8233 * sunrpc/xdr_sizeof.c: Likewise.
8234 * sunrpc/xdr_stdio.c: Likewise.
8235
e6c61494
UD
82362011-04-10 Ulrich Drepper <drepper@gmail.com>
8237
8238 [BZ #12650]
8239 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8240 * sysdeps/ia64/dl-tls.h: Likewise.
8241 * sysdeps/powerpc/dl-tls.h: Likewise.
8242 * sysdeps/s390/dl-tls.h: Likewise.
8243 * sysdeps/sh/dl-tls.h: Likewise.
8244 * sysdeps/sparc/dl-tls.h: Likewise.
8245 * sysdeps/x86_64/dl-tls.h: Likewise.
8246 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8247
34fe483e
AS
82482011-03-14 Andreas Schwab <schwab@redhat.com>
8249
8250 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8251 rpath element also skip the following colon.
8252 (expand_dynamic_string_token): Add is_path parameter and pass
8253 down to DL_DST_REQUIRED and _dl_dst_substitute.
8254 (decompose_rpath): Call expand_dynamic_string_token with
8255 non-zero is_path. Ignore empty rpaths.
8256 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8257 with zero is_path.
8258
f12a32e6
AS
82592011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8260
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8262 Make cancelable.
8263
38a7d692
UD
82642011-04-09 Ulrich Drepper <drepper@gmail.com>
8265
8266 [BZ #12655]
8267 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8268 Patch by Filipe David Manana <fdmanana@apache.org>.
8269
e451d22b
AS
82702011-04-07 Andreas Schwab <schwab@redhat.com>
8271
8272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8273 Maintain aligned stack.
8274 (CHECK_RSP): Remove unused macro.
8275
dedc7c7b
UD
82762011-04-03 Ulrich Drepper <drepper@gmail.com>
8277
8278 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8279 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8280
94521213
UD
82812011-04-02 Ulrich Drepper <drepper@gmail.com>
8282
8283 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8284
8cb700c0 8285 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8286
0354e355
L
82872011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8288
8289 [BZ #12518]
8290 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8291 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8292 * sysdeps/x86_64/memmove.c: New file.
8293 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8294 (memcpy): Renamed to ...
8295 (__new_memcpy): This.
8296 (memcpy): Provide GLIBC_2_14 memcpy.
8297 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8298 (memcpy): Provide GLIBC_2_2_5 memcpy.
8299
8593482f
UD
83002011-04-01 Ulrich Drepper <drepper@gmail.com>
8301
8302 [BZ #12631]
8303 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8304
81a5726b
AS
83052011-03-30 Andreas Schwab <schwab@redhat.com>
8306
8307 * misc/syncfs.c: New file.
8308 * misc/Makefile (routines): Add syncfs.
8309 * posix/unistd.h: Declare syncfs.
8310 * sysdeps/unix/syscalls.list: Add syncfs.
8311
00e5419f
AS
83122011-04-01 Andreas Schwab <schwab@redhat.com>
8313
8314 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8315 open_by_handle_at.
8316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8321 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8323
748876bf
UD
83242011-04-01 Ulrich Drepper <drepper@gmail.com>
8325
658e451d
UD
8326 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8327 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8328 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8330 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8332 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8333
748876bf
UD
8334 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8335 sync_file_range.c with -fexceptions.
8336 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8337 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8338 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8339 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8340 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8341 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8342 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8343 sync_file_range as cancellation point
8344 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8345 now a wrapper around __call_sync_file_range with cancellation handling.
8346 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8347 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8348 function name to __call_sync_file_range.
8349 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8350 Add call_sync_file_range.
748876bf 8351
6e63d5e1
AS
83522011-04-01 Andreas Schwab <schwab@redhat.com>
8353
8354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8355 bits/timex.h.
6e63d5e1 8356
46998f74
UD
83572011-04-01 Ulrich Drepper <drepper@gmail.com>
8358
4c1423ed
UD
8359 * iconv/iconv.h: Fix typo in comment.
8360 * io/fcntl.h: Likewise.
8361 * libio/stdio.h: Likewise.
8362 * posix/spawn.h: Likewise.
8363 * posix/unistd.h: Likewise.
8364 * stdlib/stdlib.h: Likewise.
8365 * time/time.h: Likewise.
8366 * wcsmbs/wchar.h: Likewise.
8367
158648c0
UD
8368 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8369 open_by_handle): Add.
8370 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8371 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8372 Augment a few comments.
8373 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8375 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8378 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8379 open_by_handle.
8380
46998f74
UD
8381 * io/fcntl.h (AT_EMPTY_PATH): Define.
8382
83fe108b
UD
83832011-03-30 Ulrich Drepper <drepper@gmail.com>
8384
8385 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8386 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8387 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8388 to...
8389 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8390 * Versions.def: Add GLIBC_2.14.
8391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8392 Export.
83fe108b 8393
bb242059
UD
83942011-03-22 Ulrich Drepper <drepper@gmail.com>
8395
8396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8397 round counter.
8398 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8399
c97a1282
L
84002011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8401
8402 [BZ #12597]
8403 * string/test-strncmp.c (do_page_test): New function.
8404 (check2): Likewise.
8405 (test_main): Call check2.
8406 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8407
2a115601
UD
84082011-03-20 Ulrich Drepper <drepper@gmail.com>
8409
8410 [BZ #12587]
8411 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8412 Handle cache information in CPU leaf 4.
8413 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8414
8126d904
UD
84152011-03-18 Ulrich Drepper <drepper@gmail.com>
8416
042c49c6 8417 [BZ #12583]
8126d904
UD
8418 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8419 character representation.
8420 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8421
ccfe366e
RA
84222011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8423
8424 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8425 END(__isnan) to END(__isnanf) to match function entry point/label
8426 EALIGN(__isnanf,...).
8427
c6e13027
JJ
84282011-03-10 Jakub Jelinek <jakub@redhat.com>
8429
8430 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8431
33f85a3f
UD
84322011-03-10 Ulrich Drepper <drepper@gmail.com>
8433
028478fa
UD
8434 [BZ #12510]
8435 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8436 copy from the symbol referenced in the relocation to initialize the
8437 used variable.
8438 Patch by Piotr Bury <pbury@goahead.com>.
8439 * elf/Makefile: Add rules to build and tst-unique3.
8440 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8441 * elf/tst-unique3.cc: New file.
8442 * elf/tst-unique3.h: New file.
8443 * elf/tst-unique3lib.cc: New file.
8444 * elf/tst-unique3lib2.cc: New file.
8445
33f85a3f
UD
8446 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8447
03592fc7
MF
84482011-03-10 Mike Frysinger <vapier@gentoo.org>
8449
8450 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8451 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8452 to _start.
03592fc7 8453
6a5ee102
UD
84542011-03-06 Ulrich Drepper <drepper@gmail.com>
8455
8456 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8457 to-be-loaded object along a path to loader is ld.so.
8458
7e4ba49c
HJ
84592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8460 Ulrich Drepper <drepper@gmail.com>
8461
8462 * sysdeps/x86_64/memset.S: After aligning destination, code
8463 branches to different locations depending on the value of
8464 misalignment, when multiarch is enabled. Fix this.
8465
84662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8467
8468 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8469 Set _x86_64_preferred_memory_instruction for AMD processsors.
8470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8471 Set bit_Prefer_SSE_for_memop for AMD processors.
8472
13a804de
UD
84732011-03-04 Ulrich Drepper <drepper@gmail.com>
8474
8475 * libio/fmemopen.c (fmemopen): Optimize a bit.
8476
9d25c392
AS
84772011-03-03 Andreas Schwab <schwab@redhat.com>
8478
8479 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8480
a5543c6a
RM
84812011-03-03 Roland McGrath <roland@redhat.com>
8482
8483 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8484
012d35f7
DM
84852011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8486
7e4ba49c 8487 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8488 __bzero_ultra1 instead of __memset_ultra1.
8489
4bff6e01
AS
84902011-02-23 Andreas Schwab <schwab@redhat.com>
8491 Ulrich Drepper <drepper@gmail.com>
8492
8493 [BZ #12509]
8494 * include/link.h (struct link_map): Add l_orig_initfini.
8495 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8496 returning unsuccessfully.
8497 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8498 close of a file loaded at startup, restore the original l_initfini
8499 list.
8500 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8501 list, store the pointer.
8502 * elf/Makefile ($(objpfx)noload-mem): New rule.
8503 (noload-ENV): Define.
8504 (tests): Add $(objpfx)noload-mem.
8505 * elf/noload.c: Include <memcheck.h>.
8506 (main): Call mtrace. Close all opened handles.
8507
f2092faf
AS
85082011-02-17 Andreas Schwab <schwab@redhat.com>
8509
8510 [BZ #12454]
8511 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8512 dependencies are missing.
8513
6c8a2e88
ST
85142011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8515
f2092faf 8516 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8517 Hurd needs munmap.
8518 * sysdeps/mach/hurd/ifreq.h: New file.
8519
84a42118
PB
85202011-01-27 Petr Baudis <pasky@suse.cz>
8521 Ulrich Drepper <drepper@gmail.com>
8522
071f805e 8523 [BZ 12445]#
84a42118
PB
8524 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8525 to extend_alloca().
8526 * stdio-common/bug23.c: New file.
8527 * stdio-common/Makefile (tests): Add bug23.
8528
e23fe25b
AS
85292010-09-28 Andreas Schwab <schwab@redhat.com>
8530 Ulrich Drepper <drepper@gmail.com>
8531
8532 [BZ #12489]
8533 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8534 before performing relro protection. At old place add assertion
8535 to make sure nothing changed.
8536
d3f02e10
NS
85372011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8538 Glauber de Oliveira Costa <glommer@gmail.com>
8539
8540 * elf/elf.h: Add new ARM TLS relocs.
8541
d55fd7a5
RA
85422011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8543
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8545 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8546 cast from r3.
8547 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8548 'tests' variable.
8549 * sysdeps/wordsize-64/tst-writev.c: New file.
8550
2206397e
RA
85512011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8552
8553 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8554 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8555 insns in _dl_start to prevent a TOC reference before relocs are
8556 resolved.
8557
e9433893
UD
85582011-02-15 Ulrich Drepper <drepper@gmail.com>
8559
8560 [BZ #12469]
8561 * Makeconfig: Remove RANLIB definition.
8562 * Makerules: Don't use RANLIB.
8563 * aclocal.m4: Remove ranlib test.
8564 * configure.in: No need to check for ranlib.
8565 * elf/rtld-Rules: Don't use RANLIB.
8566
f75286c6
ST
85672011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8568
8e31c82d
ST
8569 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8570 protection macro.
8571 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8572 inclusion protection macro.
8573
f75286c6
ST
8574 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8575 SIGRTMIN and SIGRTMAX and print information in that case only when
8576 SIGRTMIN is defined.
8577
c1d0e639
JJ
85782011-02-11 Jakub Jelinek <jakub@redhat.com>
8579
8580 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8581 arginfo fn returning -1.
8582
8583 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8584 and thousands string is zero terminated.
8585
edf9294e
AS
85862011-02-03 Andreas Schwab <schwab@redhat.com>
8587
8588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8589 sysdeps/unix/sysv/linux/bits/socket.h.
8590
2b7e92df
ST
85912011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8592
edf9294e
AS
8593 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8594 (__CPU_COUNT): Remove old macros.
8595 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8596 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8597 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8598 (__sched_cpualloc, __sched_cpufree): Add declarations.
8599
a4c7ea7b
UD
86002011-02-05 Ulrich Drepper <drepper@gmail.com>
8601
8602 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8603 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8604 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8605 (readdhstai): Return value of addhstaiX call.
8606 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8607 (addgrbyX): Return value returned by cache_addgr.
8608 (readdgrbyname): Return value returned by addgrbyX.
8609 (readdgrbygid): Likewise.
8610 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8611 (addpwbyX): Return value returned by cache_addpw.
8612 (readdpwbyname): Return value returned by addhstbyX.
8613 (readdpwbyuid): Likewise.
8614 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8615 (addservbyX): Return value returned by cache_addserv.
8616 (readdservbyname): Return value returned by addservbyX:
8617 (readdservbyport): Likewise.
8618 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8619 (addhstbyX): Return value returned by cache_addhst.
8620 (readdhstbyname): Return value returned by addhstbyX.
8621 (readdhstbyaddr): Likewise.
8622 (readdhstbynamev6): Likewise.
8623 (readdhstbyaddrv6): Likewise.
8624 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8625 (readdinitgroups): Return value returned by addinitgroupsX.
8626 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8627 (prune_cache): Keep track of timeout value of re-added entries.
8628 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8629 * nscd/nscd.h: Adjust prototypes of readd* functions.
8630
a0bf67cc
RM
86312011-02-04 Roland McGrath <roland@redhat.com>
8632
8633 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8634 (nis_stats): Likewise.
8635 * nis/nis_modify.c (nis_modify): Likewise.
8636 * nis/nis_remove.c (nis_remove): Likewise.
8637 * nis/nis_add.c (nis_add): Likewise.
8638
8639 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8640
8641 * posix/fnmatch_loop.c: Add some consts.
8642
8643 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8644
435b95eb
L
86452011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8646
8647 [BZ #12460]
8648 * config.make.in (config-cflags-novzeroupper): Define.
8649 * configure.in: Substitute libc_cv_cc_novzeroupper.
8650 * elf/Makefile (AVX-CFLAGS): Define.
8651 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8652 (CFLAGS-tst-auditmod4a.c): Likewise.
8653 (CFLAGS-tst-auditmod4b.c): Likewise.
8654 (CFLAGS-tst-auditmod6b.c): Likewise.
8655 (CFLAGS-tst-auditmod6c.c): Likewise.
8656 (CFLAGS-tst-auditmod7b.c): Likewise.
8657 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8658
8517b15e
UD
86592011-02-02 Ulrich Drepper <drepper@gmail.com>
8660
8661 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8662 function to the callback.
8663 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8664
10a656fe
AS
86652011-02-02 Andreas Schwab <schwab@redhat.com>
8666
8667 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8668 of errno.
8669
968dad0a
UD
86702011-01-19 Ulrich Drepper <drepper@gmail.com>
8671
9f94d2ea 8672 [BZ #11724]
968dad0a
UD
8673 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8674 of constructors.
8675 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8676 of destructors.
8677 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8678
8679 [BZ #11724]
8680 * elf/Makefile: Add rules to build and run new test.
8681 * elf/tst-initorder.c: New file.
8682 * elf/tst-initorder.exp: New file.
8683 * elf/tst-initordera1.c: New file.
8684 * elf/tst-initordera2.c: New file.
8685 * elf/tst-initordera3.c: New file.
8686 * elf/tst-initordera4.c: New file.
8687 * elf/tst-initorderb1.c: New file.
8688 * elf/tst-initorderb2.c: New file.
8689 * elf/tst-order-a1.c: New file.
8690 * elf/tst-order-a2.c: New file.
8691 * elf/tst-order-a3.c: New file.
8692 * elf/tst-order-a4.c: New file.
8693 * elf/tst-order-b1.c: New file.
8694 * elf/tst-order-b2.c: New file.
8695 * elf/tst-order-main.c: New file.
8696 New test case by George Gensure <werkt0@gmail.com>.
8697
86e92359
UD
86982010-10-01 Andreas Schwab <schwab@redhat.com>
8699
8700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8701 decoding ACE if AI_CANONIDN.
8702
5d5732b0
UD
87032011-01-18 Ulrich Drepper <drepper@gmail.com>
8704
8705 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8706
a77e8cbc
UD
87072011-01-17 Ulrich Drepper <drepper@gmail.com>
8708
6392473f
UD
8709 * version.h (RELEASE): Bump for 2.13 release.
8710 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8711
620a0529
UD
8712 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8713
18ba70a5
UD
8714 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8715 MADV_NOHUGEPAGE.
32465c3e
UD
8716 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8718 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8719 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8720 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8721 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8722
c0dafcf1
UD
8723 * posix/getconf.c: Update copyright year.
8724 * catgets/gencat.c: Likewise.
8725 * csu/version.c: Likewise.
8726 * debug/catchsegv.sh: Likewise.
8727 * debug/xtrace.sh: Likewise.
8728 * elf/ldconfig.c: Likewise.
8729 * elf/ldd.bash.in: Likewise.
8730 * elf/sprof.c (print_version): Likewise.
8731 * iconv/iconv_prog.c: Likewise.
8732 * iconv/iconvconfig.c: Likewise.
8733 * locale/programs/locale.c: Likewise.
8734 * locale/programs/localedef.c: Likewise.
8735 * malloc/memusage.sh: Likewise.
8736 * malloc/mtrace.pl: Likewise.
8737 * nscd/nscd.c (print_version): Likewise.
8738 * nss/getent.c: Likewise.
8739
a77e8cbc
UD
8740 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8741 PF_CAIF, and PF_ALG.
8742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8743
77e8bddf
AS
87442011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8745
1f20b93a
AS
8746 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8747 (modules-names): Use them.
8748 (ifunc-test-modules, ifunc-pie-tests): Define.
8749 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8750 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8751 (test-extras): Likewise.
8752 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8753 $(compile-command.c).
8754 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8755 (all-built-dso): Define.
8756 (check-textrel.out, check-execstack.out): Depend on it.
8757
77e8bddf
AS
8758 * configure.in: Don't override --enable-multi-arch.
8759
bc425b33
UD
87602011-01-15 Ulrich Drepper <drepper@gmail.com>
8761
8762 [BZ #6812]
8763 * nscd/hstcache.c (tryagain): Define.
8764 (cache_addhst): Return tryagain not notfound for temporary errors.
8765 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8766 failed.
8767
794c3ad3
UD
87682011-01-14 Ulrich Drepper <drepper@gmail.com>
8769
70181fdd
UD
8770 [BZ #10563]
8771 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8772 to make the syscall.
8773 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8774
794c3ad3
UD
8775 [BZ #12378]
8776 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8777 and fall back to matching as normal character if the string ends before
8778 the matching ']' is found. This is what POSIX requires.
8779 * posix/testfnm.c: Adjust test result.
8780 * posix/globtest.sh: Adjust test result. Add new test.
8781 * posix/tst-fnmatch.input: Likewise.
8782 * posix/tst-fnmatch2.c: Add new test.
8783
68dc9497
AS
87842010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8785
8786 * elf/Makefile (check-execstack): Revert last change. Depend on
8787 check-execstack.h.
8788 (check-execstack.h): New target.
8789 (generated): Add check-execstack.h.
8790 * elf/check-execstack.c: Include "check-execstack.h".
8791 (main): Revert last change.
8792 (handle_file): Return zero if GNU_STACK is absent and
8793 DEFAULT_STACK_PERMS doesn't include PF_X.
8794
451f001b
UD
87952011-01-13 Ulrich Drepper <drepper@gmail.com>
8796
cfa28e56
UD
8797 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8798 in child fails because the descriptor is already closed.
8cf8ce17
UD
8799 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8800 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8801 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8802
1086d70d
UD
8803 [BZ #12397]
8804 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8805 syscall.
8806
451f001b
UD
8807 [BZ #10484]
8808 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8809 temporary buffer used to handle multi lookups locally.
a85b5cb4 8810 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8811
08769175
UD
88122011-01-12 Ulrich Drepper <drepper@gmail.com>
8813
8814 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8815 loader is ld.so.
8816
5e49c52e
UD
88172011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8818
8819 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8820 alignment for SSE2.
8821
60522a5f
UD
88222011-01-12 Ulrich Drepper <drepper@gmail.com>
8823
8824 [BZ #12394]
8825 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8826 characters. When rounding increased number of integer digits recompute
8827 number of groups.
8828 * stdio-common/tst-grouping.c: New file.
8829 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8830
f257bbd7
UD
88312011-01-09 Ulrich Drepper <drepper@gmail.com>
8832
8833 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8834 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8835
8836 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8837 void.
8838 * bits/select.h: Likewise.
8839
fa9c15cb
UD
88402011-01-08 Ulrich Drepper <drepper@gmail.com>
8841
8842 * po/ja.po: Update from translation team.
8843
16c2895f
DM
88442011-01-04 David S. Miller <davem@sunset.davemloft.net>
8845
8846 [BZ #11155]
8847 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8848 implementation just like for lxstat, fxstatat, et al.
8849
2543fef2
JM
88502010-12-27 Jim Meyering <meyering@redhat.com>
8851
8852 [BZ #12348]
8853 * posix/regexec.c (build_trtable): Return failure indication upon
8854 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8855
98727dbe
UD
88562010-12-25 Ulrich Drepper <drepper@gmail.com>
8857
5bd6dc5c
UD
8858 [BZ #12201]
8859 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8860 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8861 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8862 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8863
97983464
UD
8864 [BZ #12207]
8865 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8866
98727dbe
UD
8867 [BZ #12204]
8868 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8869 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8870
4a531bb0
L
88712010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8872
8873 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8874 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8875 script has SORT_BY_INIT_PRIORITY.
8876 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8877 NO_CTORS_DTORS_SECTIONS is defined.
8878 * elf/soinit.c: Likewise.
8879 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8880 NO_CTORS_DTORS_SECTIONS is defined.
8881 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8882 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8883 * sysdeps/sh/init-first.c: Likewise.
8884 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8885
07eb4b71
UD
88862010-12-24 Ulrich Drepper <drepper@gmail.com>
8887
8888 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8889 always use the slow path.
8890
30950a5f
RA
88912010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8892
8893 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8894 similar rule which adds the sysdep directories to the header search in
8895 order to pick up the correct platform stackinfo.h.
8896 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8897 perform test if it is, otherwise return successfully without testing.
8898 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8899 DEFAULT_STACK_PERMS define in stackinfo.h.
8900 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8901 defined in stackinfo.h.
8902 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8903 DEFAULT_STACK_PERMS defined in stackinfo.h.
8904 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8905 * sysdeps/ia64/stackinfo.h: Likewise.
8906 * sysdeps/s390/stackinfo.h: Likewise.
8907 * sysdeps/sh/stackinfo.h: Likewise.
8908 * sysdeps/sparc/stackinfo.h: Likewise.
8909 * sysdeps/x86_64/stackinfo.h: Likewise.
8910 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8911 PF_X for powerpc64. Retain PF_X for powerpc32.
8912
db753e2c
UD
89132010-12-19 Ulrich Drepper <drepper@gmail.com>
8914
14b697f7
UD
8915 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8916 accurately.
db753e2c
UD
8917 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8918 GETDENTS_64BIT_ALIGNED.
8919
28300719
UD
89202010-12-14 Ulrich Drepper <dreper@gmail.com>
8921
14b697f7 8922 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8923
4f197237
AS
89242010-12-10 Andreas Schwab <schwab@redhat.com>
8925
dbb0472f
AS
8926 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8927 _GNU_SOURCE.
8928
4f197237
AS
8929 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8930 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8931 Remove __restrict.
8932 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8933 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8934
fb88ac72
UD
89352010-12-09 Ulrich Drepper <drepper@gmail.com>
8936
8937 [BZ #11655]
8938 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8939 are initialized.
8940
42acbb92
JJ
89412010-12-09 Jakub Jelinek <jakub@redhat.com>
8942
8943 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8944
c038d98d
UD
89452010-12-03 Ulrich Drepper <drepper@gmail.com>
8946
8947 * po/it.po: Update from translation team.
8948
3a4a2499
L
89492010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8950
8951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8952 unused codes.
8953
1e24cf6e
UD
89542010-11-30 Ulrich Drepper <drepper@gmail.com>
8955
8956 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8957
a7690819
AS
89582010-11-24 Andreas Schwab <schwab@redhat.com>
8959
8960 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8961 specially.
8962 (gaih_getanswer_slice): Likewise.
8963
3bf8d1b1
JJ
89642010-10-20 Jakub Jelinek <jakub@redhat.com>
8965
8966 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8967
6db52fbb
PB
89682010-05-31 Petr Baudis <pasky@suse.cz>
8969
8970 [BZ #11149]
8971 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8972 silently even in the chroot mode.
8973
eaca7569
UD
89742010-11-22 Ulrich Drepper <drepper@gmail.com>
8975
8976 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8977 last patch a bit. Pretty printing
8978
3056dcdb
UD
89792010-05-31 Petr Baudis <pasky@suse.cz>
8980
8981 [BZ #10085]
8982 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8983 initialization of skip_initgroups_dyn.
8984
cf7c9078
UD
89852010-11-19 Ulrich Drepper <drepper@gmail.com>
8986
8987 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8988 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8989
a1fb5e3e
UD
89902010-11-16 Ulrich Drepper <drepper@gmail.com>
8991
8992 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8993
3540d66b
AS
89942010-11-11 Andreas Schwab <schwab@redhat.com>
8995
8996 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8997 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8998 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8999 ($(objpfx)tst-fnmatch-mem): New rule.
9000 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9001 * posix/tst-fnmatch.c (main): Call mtrace.
9002
13b69574
L
90032010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9004
9005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9006 Support Intel processor model 6 and model 0x2c.
9007
da93d214
LM
90082010-11-10 Luis Machado <luisgpm@br.ibm.com>
9009
9010 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9011 signed comparison.
9012
8ca52c6e
L
90132010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9014
9015 [BZ #12205]
9016 * string/test-strncasecmp.c (check_result): New function.
9017 (do_one_test): Use it.
9018 (check1): New function.
9019 (test_main): Use it.
9020 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9021 Support strcasecmp and strncasecmp.
9022
69da074d
UD
90232010-11-08 Ulrich Drepper <drepper@gmail.com>
9024
9025 [BZ #12194]
9026 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9028
ff02d528
L
90292010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9032 IFUNC support.
9033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9034 memset-x86-64.
9035 * sysdeps/x86_64/multiarch/bzero.S: New file.
9036 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9037 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9038 * sysdeps/x86_64/multiarch/memset.S: New file.
9039 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9041 Set bit_Prefer_SSE_for_memop for Intel processors.
9042 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9043 Define.
9044 (index_Prefer_SSE_for_memop): Define.
9045 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9046
344d0b54
LM
90472010-11-04 Luis Machado <luisgpm@br.ibm.com>
9048
9049 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9050 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9051
c0dde15b
UD
90522010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9053
9054 [BZ #12191]
9055 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9056 (__x86_64_raw_data_cache_size_half): Likewise.
9057 (__x86_64_raw_shared_cache_size): Likewise.
9058 (__x86_64_raw_shared_cache_size_half): Likewise.
9059
9060 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9061 (__x86_64_raw_data_cache_size_half): Likewise.
9062 (__x86_64_raw_shared_cache_size): Likewise.
9063 (__x86_64_raw_shared_cache_size_half): Likewise.
9064 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9065 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9066 and __x86_64_raw_shared_cache_size_half. Round
9067 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9068 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9069 to multiple of 256 bytes.
9070
0e516e0e
MS
90712010-11-03 Ulrich Drepper <drepper@gmail.com>
9072
9073 [BZ #12167]
9074 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9075 of inacessible symlinks. Verify result of symlink before returning it.
9076 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9077 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9078
0e012e87
ER
90792010-10-28 Erich Ritz <erichritz@gmail.com>
9080
9081 * math/math.h (isinf): Fix typo in comment.
9082
de0ff7bc
UD
90832010-11-01 Ulrich Drepper <drepper@gmail.com>
9084
9085 * po/da.po: Update from translation team.
9086
fa41c84d
UD
90872010-10-26 Ulrich Drepper <drepper@gmail.com>
9088
9089 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9090 is added to the list.
9091
f0967738
AK
90922010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9093 Ulrich Drepper <drepper@gmail.com>
9094
9095 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9096 the global list here. Move code to...
9097 (_dl_add_to_namespace_list): ...here. New function.
9098 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9099 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9100 * elf/dl-load.c (lose): Don't remove the element from the list.
9101 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9102 (_dl_map_object): Likewise.
9103
91042010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9105
9106 [BZ #12159]
9107 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9108 into all bytes of SSE register.
9109 Patch by Richard Li <richardpku@gmail.com>.
9110
f0967738 91112010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9112
9113 [BZ #12140]
9114 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9115 perturbing.
9116
d0b9e94f
MB
91172010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9118
9119 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9120 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9121 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9122 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9124 submachine.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9126
8e9f92e9
AS
91272010-10-22 Andreas Schwab <schwab@redhat.com>
9128
9129 * include/dlfcn.h (__RTLD_SECURE): Define.
9130 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9131 mode & __RTLD_SECURE instead.
9132 (open_path): Rename preloaded parameter to secure.
9133 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9134 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9135 * elf/dl-deps.c (openaux): Likewise.
9136 * elf/rtld.c (struct map_args): Remove is_preloaded.
9137 (map_doit): Don't use it.
9138 (dl_main): Likewise.
9139 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9140 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9141
bc96fbda
AS
91422010-09-09 Andreas Schwab <schwab@redhat.com>
9143
9144 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9145 (sysd-rules-targets): Remove duplicates.
9146 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9147 rtld-%.$o dependency.
9148
22cd1c9b
AS
91492010-10-18 Andreas Schwab <schwab@redhat.com>
9150
9151 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9152 _dl_map_object do it.
9153
18edac48
UD
91542010-10-19 Ulrich Drepper <drepper@gmail.com>
9155
9156 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9157 fast fma builtins, define the macros in the C99 standard.
9158 (FP_FAST_FMAF): Likewise.
9159 (FP_FAST_FMAL): Likewise.
9160 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9161
9162 * bits/mathdef.h: Update copyright year.
9163 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9164
d2050124
MM
91652010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9166
9167 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9168 builtins, define the macros in the C99 standard.
9169 (FP_FAST_FMAF): Likewise.
9170 (FP_FAST_FMAL): Likewise.
9171 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9172 multiply/add.
9173 (FP_FAST_FMAF): Likewise.
9174
475facd1
JJ
91752010-10-15 Jakub Jelinek <jakub@redhat.com>
9176
9177 [BZ #3268]
9178 * math/libm-test.inc (fma_test): Some new testcases.
9179 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9180 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9181 y and infinite z. Do multiplication by C already in long double.
9182 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9184 y and infinite z. Do bitwise or of inexact bit into u.d.
9185 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9186 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9187 * sysdeps/i386/fpu/s_fma.S: Removed.
9188 * sysdeps/i386/fpu/s_fmal.S: Removed.
9189
7c08a05c
JJ
91902010-10-16 Jakub Jelinek <jakub@redhat.com>
9191
9192 [BZ #3268]
9193 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9195 computation is not scheduled after fetestexcept. Fix value
9196 of minimum denormal long double.
9197
f3f7372d
JJ
91982010-10-14 Jakub Jelinek <jakub@redhat.com>
9199
9200 [BZ #3268]
9201 * math/libm-test.inc (fma_test): Add some more tests.
9202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9203 correctly.
9204
14d43591
AS
92052010-10-15 Andreas Schwab <schwab@redhat.com>
9206
9207 * scripts/data/localplt-s390-linux-gnu.data: New file.
9208 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9209
5e908464
JJ
92102010-10-13 Jakub Jelinek <jakub@redhat.com>
9211
9212 [BZ #3268]
9213 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9214 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9215 instead of dbl-64.
9216 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9217 inlines.
9218 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9220 if one of x and y is very large and the other is subnormal.
9221 * sysdeps/s390/fpu/s_fmaf.c: New file.
9222 * sysdeps/s390/fpu/s_fma.c: New file.
9223 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9224 * sysdeps/powerpc/fpu/s_fma.S: New file.
9225 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9226 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9227 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9228
92292010-10-12 Jakub Jelinek <jakub@redhat.com>
9230
9231 [BZ #3268]
9232 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9233 fma tests.
9234 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9235 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9236 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9237 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9238 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9239 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9241
b833d51f
UD
92422010-10-12 Ulrich Drepper <drepper@redhat.com>
9243
9244 [BZ #12078]
9245 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9246 * posix/bug-regex31.input: Add test case.
9247
1751705d
UD
92482010-10-11 Ulrich Drepper <drepper@gmail.com>
9249
e9b9cbf5
UD
9250 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9251 * posix/bug-regex31.input: New file.
9252
9253 [BZ #12078]
9254 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9255 (parse_sub_exp): Fix last change, use postorder.
9256
ef06edbe
UD
9257 * posix/bug-regex31.c: New file.
9258 * posix/Makefile: Add rules to build and run bug-regex31.
9259
a129c80d
UD
9260 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9261
9262 [BZ #12078]
9263 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9264
b76b818e
UD
9265 [BZ #12108]
9266 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9267 to have entries in sys_siglist.
9268
1751705d
UD
9269 [BZ #12093]
9270 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9271 be NULL.
9272
9ff8d36f
JJ
92732010-10-07 Jakub Jelinek <jakub@redhat.com>
9274
9275 [BZ #3268]
9276 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9277 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9278 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9279 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9280 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9281 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9282 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9283 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9284 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9285 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9286 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9287 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9288 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9289 * math/ftestexcept.c (fetestexcept): Likewise.
9290 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9291 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9292 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9293 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9294 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9295 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9296 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9297
af325969
UD
92982010-10-11 Ulrich Drepper <drepper@gmail.com>
9299
c579b202 9300 [BZ #12107]
af325969
UD
9301 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9302 newline.
9303
67a67b95
UD
93042010-10-06 Ulrich Drepper <drepper@gmail.com>
9305
9306 * string/bug-strstr1.c: New file.
9307 * string/Makefile: Add rules to build and run bug-strstr1.
9308
5fb308bc
EB
93092010-10-05 Eric Blake <eblake@redhat.com>
9310
9311 [BZ #12092]
9312 * string/str-two-way.h (two_way_long_needle): Always clear memory
9313 when skipping input due to the shift table.
9314
45db99c7
UD
93152010-10-03 Ulrich Drepper <drepper@gmail.com>
9316
3b111893
UD
9317 [BZ #12005]
9318 * malloc/mcheck.c: Handle large requests.
9319
45db99c7
UD
9320 [BZ #12077]
9321 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9322 for strncmp and strncasecmp.
9323 * string/stratcliff.c: Add tests for strcmp and strncmp.
9324 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9325
cf7a1eb8
NI
93262010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9327
9328 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9329 __set_fpscr.
9330
6484ba5e
AJ
93312010-09-30 Andreas Jaeger <aj@suse.de>
9332
9333 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9334 (CGROUP_SUPER_MAGIC): Define.
9335 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9336 Handle btrfs and cgroup file systems.
9337 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9338 Likewise.
9339
91c42559
LM
93402010-09-27 Luis Machado <luisgpm@br.ibm.com>
9341
9342 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9343 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9344
87a97932
AK
93452010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9346
9347 [BZ #12067]
9348 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9349 trying to locate the ELF header.
9350
c21cc9bc
AS
93512010-09-27 Andreas Schwab <schwab@redhat.com>
9352
9353 [BZ #11611]
9354 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9355 Mask out sign-bit copies when constructing f_fsid.
9356
315970f6
PB
93572010-09-24 Petr Baudis <pasky@suse.cz>
9358
9359 * debug/stack_chk_fail_local.c: Add missing licence exception.
9360 * debug/warning-nop.c: Likewise.
9361
1ac7a2c7
JM
93622010-09-15 Joseph Myers <joseph@codesourcery.com>
9363
9364 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9365 implementing getdents64 using getdents syscall, set d_type if
9366 __ASSUME_GETDENTS32_D_TYPE.
9367
56801c50
AS
93682010-09-16 Andreas Schwab <schwab@redhat.com>
9369
9370 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9371 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9372
dda51327
UD
93732010-09-21 Ulrich Drepper <drepper@redhat.com>
9374
9375 [BZ #12037]
9376 * posix/unistd.h: Undo change of feature selection for ftruncate from
9377 2010-01-11.
9378
8ffcee4a
UD
93792010-09-20 Ulrich Drepper <drepper@redhat.com>
9380
a545ecd9 9381 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9382 detection.
9383
e24f0a8b
AS
93842010-09-20 Andreas Schwab <schwab@redhat.com>
9385
9386 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9387 fanotify_mark.
9388 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9389
7291c56f
AS
93902010-09-14 Andreas Schwab <schwab@redhat.com>
9391
9392 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9393 variables after CHECK_SP call.
9394 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9395
bc5fb037
AS
93962010-09-13 Andreas Schwab <schwab@redhat.com>
9397 Ulrich Drepper <drepper@redhat.com>
9398
9399 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9400 re-relocationg ld.so.
9401 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9402 _dl_init_paths call.
9403 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9404 here anymore.
9405
e66e7419
UD
94062010-09-14 Ulrich Drepper <drepper@redhat.com>
9407
9408 * resolv/res_init.c (__res_vinit): Count the default server we added.
9409
c044aa75
CLT
94102010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9411 Ulrich Drepper <drepper@redhat.com>
9412
9413 [BZ #11968]
9414 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9415 (____longjmp_chk): Use %ebx for saving value across system call.
9416 Add unwind info.
9417
32cf4069
AS
94182010-09-06 Andreas Schwab <schwab@redhat.com>
9419
9420 * manual/Makefile: Don't mix pattern rules with normal rules.
9421
817328ee
AS
94222010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9423
9424 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9425 operation.
9426 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9427 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9428 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9429 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9430 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9431 Likewise.
9432
29fddf61
UD
94332010-09-04 Ulrich Drepper <drepper@redhat.com>
9434
9435 [BZ #11979]
9436 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9437 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9438
0959ffc9
UD
94392010-09-02 Ulrich Drepper <drepper@redhat.com>
9440
9441 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9442 * sysdeps/x86_64/addmul_1.S: Likewise.
9443 * sysdeps/x86_64/lshift.S: Likewise.
9444 * sysdeps/x86_64/mul_1.S: Likewise.
9445 * sysdeps/x86_64/rshift.S: Likewise.
9446 * sysdeps/x86_64/sub_n.S: Likewise.
9447 * sysdeps/x86_64/submul_1.S: Likewise.
9448
ece29840
ST
94492010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9450
0959ffc9
UD
9451 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9452 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9453 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9454 * bits/sched.h [__need_schedparam]
ece29840 9455 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9456 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9457 (__defined_schedparam): Define to 1.
ece29840
ST
9458 (__sched_param): New structure, identical to sched_param.
9459 (__need_schedparam): Undefine.
9460
e53a31fe
MF
94612010-08-31 Mike Frysinger <vapier@gentoo.org>
9462
fdc0c10d
MF
9463 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9464 (epoll_create1): Declare.
9465
e53a31fe
MF
9466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9467
a726d796
AS
94682010-08-31 Andreas Schwab <schwab@redhat.com>
9469
9470 [BZ #7066]
9471 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9472 shifting retval into place.
9473
2f3e3dc7
UD
94742010-09-01 Ulrich Drepper <drepper@redhat.com>
9475
f2933da9
UD
9476 * nis/rpcsvc/nis.h: Update copyright notice.
9477 * nis/rpcsvc/nis.x: Likewise.
9478 * nis/rpcsvc/nis_callback.h: Likewise.
9479 * nis/rpcsvc/nis_callback.x: Likewise.
9480 * nis/rpcsvc/nis_object.x: Likewise.
9481 * nis/rpcsvc/nis_tags.h: Likewise.
9482 * nis/rpcsvc/yp.h: Likewise.
9483 * nis/rpcsvc/yp.x: Likewise.
9484 * nis/rpcsvc/ypupd.h: Likewise.
9485 * nis/yp_xdr.c: Likewise.
9486 * nis/ypupdate_xdr.c: Likewise.
9487
2f3e3dc7
UD
9488 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9489 mainly the body of pmap_getport. Add parameters to specify timeouts.
9490 (pmap_getport): Use __libc_rpc_getport.
9491 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9492 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9493 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9494
f3dcc2f9
AS
94952010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9496
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9498 fanotify_mark.
9499
6d34eb5b
RM
95002010-08-27 Roland McGrath <roland@redhat.com>
9501
9502 * sysdeps/i386/i686/multiarch/Makefile
9503 (CFLAGS-varshift.c): New variable.
9504
9ea3de11
UD
95052010-08-27 Ulrich Drepper <drepper@redhat.com>
9506
c96d23fc
UD
9507 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9508 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9509
9ea3de11
UD
9510 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9511
9512 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9513
623aac7f
L
95142010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9515
9516 * sysdeps/x86_64/strlen.S: Unroll the loop.
9517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9518 strlen-sse2 strlen-sse2-bsf.
9519 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9520 __strlen_no_bsf if bit_Slow_BSF is set.
9521 (__strlen_sse42): Removed.
9522 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9523 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9524
8b2b7715
RM
95252010-08-25 Roland McGrath <roland@redhat.com>
9526
9527 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9528 * sysdeps/x86_64/multiarch/varshift.c: New file.
9529 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9530 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9531 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9532 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9533
e73015f2
L
95342010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9535
9536 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9537 strlen-sse2 strlen-sse2-bsf.
9538 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9539 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9540 (__strlen_sse2): Removed.
9541 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9542 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9544 bit_Slow_BSF for Atom.
9545 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9546 (index_Slow_BSF): Define.
9547 (HAS_SLOW_BSF): Define.
9548
df24a73e
UD
95492010-08-25 Ulrich Drepper <drepper@redhat.com>
9550
9551 [BZ #10851]
9552 * resolv/res_init.c (__res_vinit): When no server address at all
9553 is given default to loopback.
9554
f2ac4868
RM
95552010-08-24 Roland McGrath <roland@redhat.com>
9556
09055553
RM
9557 * configure.in: Remove config-name.h generation.
9558 * configure: Regenerated.
9559 * config-name.in: File removed.
9560 * scripts/config-uname.sh: New file.
9561 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9562 ($(objdir)config-name.h): New target.
9563
f2ac4868
RM
9564 * sunrpc/rpc_parse.h: Avoid nested comment.
9565
73f27d5e
RH
95662010-08-24 Richard Henderson <rth@redhat.com>
9567 Ulrich Drepper <drepper@redhat.com>
9568 H.J. Lu <hongjiu.lu@intel.com>
9569
9570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9572 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9573 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9574 _mm_alignr_epi8 with _mm_loadu_si128.
9575 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9576 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9577 (__m128i_shift_right): Removed.
9578 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9579 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9580 * sysdeps/x86_64/multiarch/varshift.h: New file.
9581 * sysdeps/x86_64/multiarch/varshift.S: New file.
9582
84b9230c
MF
95832010-08-21 Mike Frysinger <vapier@gentoo.org>
9584
9585 * configure.in: Move assembler checks to before sysdep dir checking.
9586
9bbd0ddc
PB
95872010-08-20 Petr Baudis <pasky@suse.cz>
9588
9589 * LICENSES: Sync the sunrpc license.
9590
9da4bb31
UD
95912010-08-19 Ulrich Drepper <drepper@redhat.com>
9592
a7ab6ec8
UD
9593 * sunrpc/auth_des.c: Update copyright notice once again.
9594 * sunrpc/auth_none.c: Likewise.
9595 * sunrpc/auth_unix.c: Likewise.
9596 * sunrpc/authdes_prot.c: Likewise.
9597 * sunrpc/authuxprot.c: Likewise.
9598 * sunrpc/bindrsvprt.c: Likewise.
9599 * sunrpc/clnt_gen.c: Likewise.
9600 * sunrpc/clnt_perr.c: Likewise.
9601 * sunrpc/clnt_raw.c: Likewise.
9602 * sunrpc/clnt_simp.c: Likewise.
9603 * sunrpc/clnt_tcp.c: Likewise.
9604 * sunrpc/clnt_udp.c: Likewise.
9605 * sunrpc/clnt_unix.c: Likewise.
9606 * sunrpc/des_crypt.c: Likewise.
9607 * sunrpc/des_soft.c: Likewise.
9608 * sunrpc/get_myaddr.c: Likewise.
9609 * sunrpc/getrpcport.c: Likewise.
9610 * sunrpc/key_call.c: Likewise.
9611 * sunrpc/key_prot.c: Likewise.
9612 * sunrpc/openchild.c: Likewise.
9613 * sunrpc/pm_getmaps.c: Likewise.
9614 * sunrpc/pm_getport.c: Likewise.
9615 * sunrpc/pmap_clnt.c: Likewise.
9616 * sunrpc/pmap_prot.c: Likewise.
9617 * sunrpc/pmap_prot2.c: Likewise.
9618 * sunrpc/pmap_rmt.c: Likewise.
9619 * sunrpc/rpc/auth.h: Likewise.
9620 * sunrpc/rpc/auth_unix.h: Likewise.
9621 * sunrpc/rpc/clnt.h: Likewise.
9622 * sunrpc/rpc/des_crypt.h: Likewise.
9623 * sunrpc/rpc/key_prot.h: Likewise.
9624 * sunrpc/rpc/netdb.h: Likewise.
9625 * sunrpc/rpc/pmap_clnt.h: Likewise.
9626 * sunrpc/rpc/pmap_prot.h: Likewise.
9627 * sunrpc/rpc/pmap_rmt.h: Likewise.
9628 * sunrpc/rpc/rpc.h: Likewise.
9629 * sunrpc/rpc/rpc_des.h: Likewise.
9630 * sunrpc/rpc/rpc_msg.h: Likewise.
9631 * sunrpc/rpc/svc.h: Likewise.
9632 * sunrpc/rpc/svc_auth.h: Likewise.
9633 * sunrpc/rpc/types.h: Likewise.
9634 * sunrpc/rpc/xdr.h: Likewise.
9635 * sunrpc/rpc_clntout.c: Likewise.
9636 * sunrpc/rpc_cmsg.c: Likewise.
9637 * sunrpc/rpc_common.c: Likewise.
9638 * sunrpc/rpc_cout.c: Likewise.
9639 * sunrpc/rpc_dtable.c: Likewise.
9640 * sunrpc/rpc_hout.c: Likewise.
9641 * sunrpc/rpc_main.c: Likewise.
9642 * sunrpc/rpc_parse.c: Likewise.
9643 * sunrpc/rpc_parse.h: Likewise.
9644 * sunrpc/rpc_prot.c: Likewise.
9645 * sunrpc/rpc_sample.c: Likewise.
9646 * sunrpc/rpc_scan.c: Likewise.
9647 * sunrpc/rpc_scan.h: Likewise.
9648 * sunrpc/rpc_svcout.c: Likewise.
9649 * sunrpc/rpc_tblout.c: Likewise.
9650 * sunrpc/rpc_util.c: Likewise.
9651 * sunrpc/rpc_util.h: Likewise.
9652 * sunrpc/rpcinfo.c: Likewise.
9653 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9654 * sunrpc/rpcsvc/key_prot.x: Likewise.
9655 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9656 * sunrpc/rpcsvc/mount.x: Likewise.
9657 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9658 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9659 * sunrpc/rpcsvc/rex.x: Likewise.
9660 * sunrpc/rpcsvc/rstat.x: Likewise.
9661 * sunrpc/rpcsvc/rusers.x: Likewise.
9662 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9663 * sunrpc/rpcsvc/spray.x: Likewise.
9664 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9665 * sunrpc/rtime.c: Likewise.
9666 * sunrpc/svc.c: Likewise.
9667 * sunrpc/svc_auth.c: Likewise.
9668 * sunrpc/svc_authux.c: Likewise.
9669 * sunrpc/svc_raw.c: Likewise.
9670 * sunrpc/svc_run.c: Likewise.
9671 * sunrpc/svc_simple.c: Likewise.
9672 * sunrpc/svc_tcp.c: Likewise.
9673 * sunrpc/svc_udp.c: Likewise.
9674 * sunrpc/svc_unix.c: Likewise.
9675 * sunrpc/svcauth_des.c: Likewise.
9676 * sunrpc/xcrypt.c: Likewise.
9677 * sunrpc/xdr.c: Likewise.
9678 * sunrpc/xdr_array.c: Likewise.
9679 * sunrpc/xdr_float.c: Likewise.
9680 * sunrpc/xdr_mem.c: Likewise.
9681 * sunrpc/xdr_rec.c: Likewise.
9682 * sunrpc/xdr_ref.c: Likewise.
9683 * sunrpc/xdr_sizeof.c: Likewise.
9684 * sunrpc/xdr_stdio.c: Likewise.
9685
9da4bb31
UD
9686 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9687 handling.
9688
bdaa77bc
AS
96892010-08-19 Andreas Schwab <schwab@redhat.com>
9690
9691 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9692
fe2f79db
LM
96932010-08-19 Luis Machado <luisgpm@br.ibm.com>
9694
9695 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9696 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9697 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9698 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9699 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9700 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9701 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9702 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9703 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9704 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9705 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9706 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9707 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9708 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9709
b9b42ee0
AB
97102010-07-26 Anton Blanchard <anton@samba.org>
9711
9712 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9713 * malloc/arena.c (heap_trim): Likewise.
9714
1c06ba31
UD
97152010-08-16 Ulrich Drepper <drepper@redhat.com>
9716
9717 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9718 here. Not...
9719 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9720 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9721
f8392f40
L
97222010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9723
9724 * sysdeps/i386/elf/Makefile: New file.
9725
3162f12e
AS
97262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9727
9728 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9729 from fanotify_init.
9730 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9732
28c90b2c
UD
97332010-08-15 Ulrich Drepper <drepper@redhat.com>
9734
9735 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9736 of strncasecmp_l.
1feccb6c 9737 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9738
ca6bb004
UD
97392010-08-14 Ulrich Drepper <drepper@redhat.com>
9740
e9f82e0d
UD
9741 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9742 strncase_l-nonascii.
9743 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9744 Add strncase_l-ssse3.
9745 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9746 * sysdeps/x86_64/strcmp.S: Likewise.
9747 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9748 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9749 * sysdeps/x86_64/strncase.S: New file.
9750 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9751 * sysdeps/x86_64/strncase_l.S: New file.
9752 * string/Makefile (strop-tests): Add strncasecmp.
9753 * string/test-strncasecmp.c: New file.
9754
9755 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9756 warning.
9757
ca6bb004
UD
9758 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9759 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9760
052fa7b3
AS
97612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9762
9763 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9764
962dba78
UD
97652010-08-12 Ulrich Drepper <drepper@redhat.com>
9766
9767 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9768 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9769 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9770
bebff237
AM
97712010-05-01 Alan Modra <amodra@gmail.com>
9772
9773 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9774 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9775 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9776 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9777 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9778 tidying. Don't tail-call __sigjmp_save for static lib.
9779 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9780 save location.
9781 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9782 (CALL_MCOUNT): Add eh info, and nop after bl.
9783 (TAIL_CALL_SYSCALL_ERROR): New macro.
9784 (PSEUDO_RET): Use it.
9785 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9786 Correct save location of integer regs and cr.
9787 (_dl_profile_resolve): Correct cr save location. Delete nops
9788 after bl when SHARED. Reduce cfi size a little by better
9789 placement of cfi directives.
9790 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9791 make a stack frame. Instead use parm save area as a temp.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9793 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9795 Don't make a stack frame for parent, use parm save area.
9796 Increase child stack frame to 112 bytes. Don't save unused reg,
9797 and adjust reg usage. Set up cfi on error recovery and
9798 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9800 (__makecontext): Add dummy nop after jump to exit.
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9802 Use correct parm save area and cr save, reduce stack frame.
9803 Correct cfi for possible PSEUDO_RET frame setup.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9805 Branch to local label emitted by PSEUDO_RET rather than
9806 __syscall_error.
9807
02637374
AS
98082010-08-12 Andreas Schwab <schwab@redhat.com>
9809
9810 [BZ #11904]
9811 * locale/programs/locale.c (print_assignment): New function.
9812 (show_locale_vars): Use it.
9813
c3e2f19b
UD
98142010-08-11 Ulrich Drepper <drepper@redhat.com>
9815
3cdaa6ad
UD
9816 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9817 field.
9818 (struct statfs64): Likewise.
9819 (_STATFS_F_FLAGS): Define.
9820 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9822 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9823 (ST_VALID): Define locally.
9824 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9825 __statvfs_getflags, use the provided value.
9826 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9827 __ASSUME_STATFS_F_FLAGS.
9828
754f7da3
UD
9829 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9830
10b3bedc
UD
9831 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9832 Add sys/fanotify.h.
9833 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9834 fanotify_mask for GLIBC_2.13.
9835 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9836 fanotify_init and fanotify_mark.
9837 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9838 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9839
c08fb0d7
UD
9840 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9841 Add prlimit.
9842 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9843 prlimit64 for GLIBC_2.13.
9844 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9845 prlimit64.
9846 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9847 syscall.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9849 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9850 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9851 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9852 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9853 add prlimit alias.
9854 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9855
15bac72b
UD
9856 [BZ #11903]
9857 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9858 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9859
c3e2f19b
UD
9860 * nss/Makefile: Add rules to build and run tst-nss-test1.
9861 * shlib-versions: Add entry for libnss_test1.
9862 * nss/nss_test1.c: New file.
9863 * nss/tst-nss-test1.c: New file.
9864
9865 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9866 (__nss_configure_lookup): Set appropriate entry in
9867 __nss_configure_lookup to true.
9868 * nss/nsswitch.h: Define enum with indeces of databases in
9869 databases and __nss_database_custom arrays. Declare
9870 __nss_database_custom.
9871 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9872 to avoid using nscd when custom rules are installed.
9873 * nss/getXXbyYY_r.c: Likewise.
9874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9875
9876 * nss/nss_files/files-parse.c: Whitespace fixes.
9877
f15ce4d8
UD
98782010-08-09 Ulrich Drepper <drepper@redhat.com>
9879
9880 [BZ #11883]
9881 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9882 * posix/fnmatch_loop.c: Likewise.
9883
d22e4cc9
AK
98842010-07-17 Andi Kleen <ak@linux.intel.com>
9885
9886 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9887 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9888 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9889 * Versions.def [GLIBC_2.13]: Add.
9890
805bc17d
UD
98912010-08-06 Ulrich Drepper <drepper@redhat.com>
9892
9893 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9894 Also fail if tpwd after pwuid call is NULL.
9895
5a42321d
ST
98962010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9897
9898 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9899 when converting to ms.
9900
fd3ebeda
ST
99012010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9902
9903 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9904 EOPNOTSUPP errors with ENOTTY.
9905 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9906 EOPNOTSUPP errors with ENOTTY.
9907
73507d3a
UD
99082010-07-31 Ulrich Drepper <drepper@redhat.com>
9909
9910 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9911 Add strcasecmp_l-ssse3.
9912 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9913 strcasecmp.
9914 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9915 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9916 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9917
fe36dd02
UD
99182010-07-30 Ulrich Drepper <drepper@redhat.com>
9919
66f6765a
UD
9920 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9921
42e08a54
UD
9922 * string/Makefile (strop-tests): Add strcasecmp.
9923 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9924 strcasecmp_l-nonascii.
9925 (gen-as-const-headers): Add locale-defines.sym.
9926 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9927 * sysdeps/x86_64/strcasecmp.S: New file.
9928 * sysdeps/x86_64/strcasecmp_l.S: New file.
9929 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9930 * sysdeps/x86_64/locale-defines.sym: New file.
9931 * string/test-strcasecmp.c: New file.
9932
fe36dd02
UD
9933 * string/test-strcasestr.c: Test both ends of the range of characters.
9934 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9935
48cbc0d6
RM
99362010-07-29 Roland McGrath <roland@redhat.com>
9937
76e6d6bc 9938 [BZ #11856]
48cbc0d6
RM
9939 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9940
880113d9
UD
99412010-07-27 Ulrich Drepper <drepper@redhat.com>
9942
9943 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9944 for ld.so.
9945
deb9cabb
AS
99462010-07-27 Andreas Schwab <schwab@redhat.com>
9947
9948 * manual/memory.texi (Malloc Tunable Parameters): Document
9949 M_PERTURB.
9950
1c7570ff
RM
99512010-07-26 Roland McGrath <roland@redhat.com>
9952
9953 [BZ #11840]
9954 * configure.in (-fgnu89-inline check): Set and substitute
9955 gnu89_inline, not libc_cv_gnu89_inline.
9956 * configure: Regenerated.
9957 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9958
24fb0f88
UD
99592010-07-26 Ulrich Drepper <drepper@redhat.com>
9960
9961 * string/test-strnlen.c: New file.
9962 * string/Makefile (strop-tests): Add strnlen.
9963 * string/tester.c (test_strnlen): Add a few more test cases.
9964 * string/tst-strlen.c: Better error reporting.
9965
9966 * sysdeps/x86_64/strnlen.S: New file.
9967
8e96b93a
UD
99682010-07-24 Ulrich Drepper <drepper@redhat.com>
9969
9970 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9971 lower-latency instructions.
9972
dbc676d4
UD
99732010-07-23 Ulrich Drepper <drepper@redhat.com>
9974
9975 * string/test-strcasestr.c: New file.
9976 * string/test-strstr.c: New file.
9977 * string/Makefile (strop-tests): Add strstr and strcasestr.
9978 * string/str-two-way.h: Don't undefine MAX.
9979 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9980
f6a31e0e
AS
99812010-07-21 Andreas Schwab <schwab@redhat.com>
9982
9983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9984 strcasestr-nonascii.
9985 (CFLAGS-strcasestr-nonascii.c): Define.
9986 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9987 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9988 Remove unused attribute.
9989
5dbc3b6c
RM
99902010-07-20 Roland McGrath <roland@redhat.com>
9991
9992 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9993 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9994 ld.so.cache was broken. With it, there is no way to disable dsocaps
9995 like LD_HWCAP_MASK can disable hwcaps.
9996
23d101d8
EPM
99972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9998
9999 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10000
cc9f2e47
UD
100012010-07-16 Ulrich Drepper <drepper@redhat.com>
10002
10003 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10004 call in strcasestr.
10005 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10006 __strcasestr_sse42_nonascii.
10007 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10008 strcasestr-nonascii.c.
10009 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10010
77c1b069
LM
100112010-06-15 Luis Machado <luisgpm@br.ibm.com>
10012
10013 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10014 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10015 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10016 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10017
440566c3
UD
100182010-07-09 Ulrich Drepper <drepper@redhat.com>
10019
10020 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10021 fcntl.
10022
5be9d05d
AS
100232010-07-06 Andreas Schwab <schwab@redhat.com>
10024
c30b7ee2 10025 [BZ #11577]
5be9d05d
AS
10026 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10027 dl_signal_cerror.
10028
8a492a67
UD
100292010-07-06 Ulrich Drepper <drepper@redhat.com>
10030
10031 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10032 _PC_PIPE_BUF using F_GETPIPE_SZ.
10033
713df3d5
RM
100342010-07-05 Roland McGrath <roland@redhat.com>
10035
10036 * manual/arith.texi (Rounding Functions): Fix rint description
10037 implicit in round description.
10038
702e8f14
UD
100392010-07-02 Ulrich Drepper <drepper@redhat.com>
10040
10041 * elf/Makefile: Fix linking for a few tests to make recent linker
10042 happy.
10043
52ed8be9
AS
100442010-06-30 Andreas Schwab <schwab@redhat.com>
10045
10046 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10047 $(common-objpfx)libc_nonshared.a.
10048
f47c9a11
LM
100492010-06-21 Luis Machado <luisgpm@br.ibm.com>
10050
10051 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10052 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10053 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10054 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10055 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10056 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10057 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10058 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10073 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10074 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10075 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10076 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10077 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10078 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10079 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10080 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10081 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10082 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10083 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10084 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10099
6fb8cbcb
L
101002010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10101
10102 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10103 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10104 * string/memmove.c (memmove): Renamed to ...
10105 (MEMMOVE): ...this. Default to memmove.
10106 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10107 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10108 (END_CHK): Define.
10109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10110 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10111 mempcpy-ssse3-back memmove-ssse3-back.
10112 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10114 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10115 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10116 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10117 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10118 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10119 * sysdeps/x86_64/multiarch/memmove.c: New file.
10120 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10121 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10122 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10123 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10124 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10126 Define.
10127 (index_Fast_Copy_Backward): Define.
10128 (HAS_ARCH_FEATURE): Define.
10129 (HAS_FAST_REP_STRING): Define.
10130 (HAS_FAST_COPY_BACKWARD): Define.
10131
4e733bac 101322010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10133
10134 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10135 Restore proper fallback handling.
10136
63c4ed22
UD
101372010-06-19 Ulrich Drepper <drepper@redhat.com>
10138
ac2b484c
UD
10139 [BZ #11701]
10140 * posix/group_member.c (__group_member): Correct checking loop.
10141
63c4ed22
UD
10142 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10143 OOM in getpwuid_r correctly. Return error number when the caller
10144 should return, otherwise -1.
10145 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10146 call returning > 0 value.
10147 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10148
765ade4b
AS
101492010-06-07 Andreas Schwab <schwab@redhat.com>
10150
10151 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10152 libc_nonshared.a from targets in modules-names.
10153
80da2e09
KS
101542010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10155
10156 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10157 requires it.
10158
158db122
LM
101592010-06-10 Luis Machado <luisgpm@br.ibm.com>
10160
10161 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10162 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10165
caa78cf8
AS
101662010-06-02 Andreas Schwab <schwab@redhat.com>
10167
10168 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10169
b2ef2c01
UD
101702010-06-14 Ulrich Drepper <drepper@redhat.com>
10171
10172 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10173 and F_GETPIPE_SZ.
10174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10175 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10179 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10180
fbd643b6
RM
101812010-06-14 Roland McGrath <roland@redhat.com>
10182
10183 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10184
f32f2869
JJ
101852010-06-07 Jakub Jelinek <jakub@redhat.com>
10186
10187 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10188 __REDIRECT followed by __THROW.
10189 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10190 * posix/getopt.h (getopt): Likewise.
10191
2a50c078
EPM
101922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10193
10194 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10195 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10196 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10197 in AT_FLAGS.
10198 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10199 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10200
eb5ad2eb
LM
102012010-05-28 Luis Machado <luisgpm@br.ibm.com>
10202
10203 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10204
3c88fe1e
L
102052010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10206
10207 [BZ #11640]
10208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10209 Properly check family and model.
10210
d2f73151
TY
102112010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10212
10213 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10214
ebd2e13d
LM
102152010-05-24 Luis Machado <luisgpm@br.ibm.com>
10216
10217 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10218
b32b8b45
UD
102192010-05-21 Ulrich Drepper <drepper@redhat.com>
10220
10221 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10222 symbol reference.
10223
9acbe24d
AS
102242010-05-19 Andreas Schwab <schwab@redhat.com>
10225
10226 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10227 symbol reference.
10228
f0ccf6ea
AS
102292010-05-21 Andreas Schwab <schwab@redhat.com>
10230
3d04ff3a
AS
10231 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10232 and internal_recvmmsg.
10233 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10234 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10235 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10236 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10237
f0ccf6ea
AS
10238 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10239 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10240 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10241
5b08ac57
AS
102422010-05-20 Andreas Schwab <schwab@redhat.com>
10243
10244 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10245
4828935d
LM
102462010-05-17 Luis Machado <luisgpm@br.ibm.com>
10247
10248 POWER7 optimizations.
10249 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10250 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10251
373d545e
UD
102522010-05-19 Ulrich Drepper <drepper@redhat.com>
10253
10254 * version.h: Update for 2.13 development version.
10255
21a2b1ae
AS
102562010-05-12 Andrew Stubbs <ams@codesourcery.com>
10257
10258 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10259 exceptions. Return 0.
10260
3f7dcb2b
RM
102612010-05-07 Roland McGrath <roland@redhat.com>
10262
10263 * elf/ldconfig.c (main): Add a const.
10264
5f24d53a 102652010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10266
a160f8d8
UD
10267 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10268 (args_options): Add no-idn option.
10269 (ahosts_keys_int): Add idn_flags to ai_flags.
10270 (parse_option): Handle 'i' option to clear idn_flags.
10271
5f24d53a
UD
10272 * malloc/malloc.c (_int_free): Possible race in the most recently
10273 added check. Only act on the data if no current modification
10274 happened.
265bb1ce
UD
10275
10276See ChangeLog.17 for earlier changes.