]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update powerpc libm test ULPs
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e79d442e
AS
12012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
90b80344
DM
52012-03-17 David S. Miller <davem@davemloft.net>
6
7 [BZ #6471]
8 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9 for 2.16.
10
edc21804
DM
112012-03-16 David S. Miller <davem@davemloft.net>
12
77e927af
DM
13 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14 warnings.
15
374976dd
DM
16 [BZ #6471]
17 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18 properly.
19 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21 sysdep_routines when subdir is sysvipc.
22 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23 __getshmlba helper.
24
edc21804
DM
25 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26
473c3ef3
L
272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28
29 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30 [__LP64__].
31
eb0f39b6
L
322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33
34 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36 (__lround): Renamed to ...
37 (__llround): This. Replace long int with long long int.
38 Define lround functions as aliases of llround functions.
39 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40
6b6cd74b
L
412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42
43 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45 adresses to uintptr_t. Replace "long int" and "unsigned long
46 int" with "greg_t" on va_arg.
47
f1a77b01
L
482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49
50 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52
53 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54 Move e_machine check before EI_CLASS check. Handle x32
55 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
57 SKIP_EM_IA_64 and include
58 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
59
60 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
62 (add_system_dir): New macro.
63
64 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66
11b90b9f
JM
672012-03-16 Joseph Myers <joseph@codesourcery.com>
68
c36e1d23
JM
69 [BZ #2551]
70 [BZ #2552]
71 [BZ #2553]
72 [BZ #2554]
73 [BZ #2562]
74 [BZ #2563]
75 [BZ #2565]
76 [BZ #2566]
77 [BZ #2576]
78 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79 (y0): Likewise.
80 * math/w_j0f.c (j0f): Likewise.
81 (y0f): Likewise.
82 * math/w_j0l.c (__j0l): Likewise.
83 (__y0l): Likewise.
84 * math/w_j1.c (j1): Likewise.
85 (y1): Likewise.
86 * math/w_j1f.c (j1f): Likewise.
87 (y1f): Likewise.
88 * math/w_j1l.c (__j1l): Likewise.
89 (__y1l): Likewise.
90 * math/w_jn.c (jn): Likewise.
91 (yn): Likewise.
92 * math/w_jnf.c (jnf): Likewise.
93 (ynf): Likewise.
94 * math/w_jnl.c (__jnl): Likewise.
95 (__ynl): Likewise.
96 * math/libm-test.inc (j0_test): Add more tests.
97 (j1_test): Likewise.
98 (jn_test): Likewise. Add trailing semicolon to existing test.
99 (y0_test): Likewise.
100 (y1_test): Likewise.
101 * sysdeps/i386/fpu/libm-test-ulps: Update.
102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
103
11b90b9f
JM
104 [BZ #13851]
105 [BZ #13854]
106 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
107 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
108 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
109 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
110 (__tanl): Set errno for infinite argument.
111 * sysdeps/i386/fpu/mptan.c: Remove.
112 * sysdeps/i386/fpu/s_tan.S: Likewise.
113 * sysdeps/i386/fpu/s_tanl.S: Likewise.
114 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
115 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
116 * math/libm-test.inc (tan_test): Add more tests and enable more
117 tests for double and long double.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
120
6a1bd2a1
JK
1212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
122
123 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
124 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
125
10a803e0
RM
1262012-03-16 Roland McGrath <roland@hack.frob.com>
127
128 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
129 * configure.in: Use it for both main tree and add-ons.
130 * configure: Regenerated.
131
f196c7f7
L
1322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
133
134 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
135
8848d99d
JM
1362012-03-16 Joseph Myers <joseph@codesourcery.com>
137
96cbe7f4
JM
138 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
139 in comment.
140
8848d99d
JM
141 [BZ #13851]
142 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
143 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
144 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
145 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
146 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
147 infinite argument.
148 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
150 != 0 for prec == 2.
151 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
152 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
153 * sysdeps/i386/fpu/s_cosl.S: Likewise.
154 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
155 * sysdeps/i386/fpu/s_sinl.S: Likewise.
156 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
157 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
158 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
159 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
160 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
161 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
162 * math/libm-test.inc (cos_test): Add more tests and enable more
163 tests for long double.
164 (sin_test): Likewise.
165 (sincos_test): Likewise.
166 * sysdeps/i386/fpu/libm-test-ulps: Update.
167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
168
dd7f4703
DM
1692012-03-16 David S. Miller <davem@davemloft.net>
170
171 * sysdeps/sparc/fpu/math_private.h: New file.
172
006f1daa
DM
1732012-03-15 David S. Miller <davem@davemloft.net>
174
c0c83bc8
DM
175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
176 file.
e6a62e18 177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
179 file.
e6a62e18
DM
180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
186 sysdep routines.
187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
188
88cb87d9
DM
189 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
190 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
191
006f1daa 192 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
194 sparc-ifunc.h
006f1daa 195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
197 Likewise.
198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
199 Likewise.
006f1daa
DM
200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
204 Likewise.
006f1daa
DM
205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
210 Likewise.
211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
212 Likewise.
006f1daa
DM
213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
231 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
237
11e0098e
AS
2382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
239
240 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
241 scaling.
242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
243
e85b09d0
AJ
2442012-03-15 Andreas Jaeger <aj@suse.de>
245
246 [BZ #13852]
247 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
248 ieee754/flt-32 implementation for sin, cos and sincos.
249 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
250 * sysdeps/i386/fpu/s_cosf.S: Likewise.
251 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
252 * sysdeps/i386/fpu/s_sinf.S: Likewise.
253 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
254 ieee754/flt-32 implementation for tan.
255
256 * math/libm-test.inc (cos_test): Enable some large input tests for
257 float as well
258 (sin_test): Likewise.
259 (sincos_test): Likewise.
260 (tan_test): Add tests for large input.
261
262 * sysdeps/i386/fpu/libm-test-ulps: Update.
263
81c64153
AJ
2642012-03-15 Andreas Jaeger <aj@suse.de>
265
266 [BZ #13658]
267 * math/libm-test.inc (cos_test): Add more test cases.
268 (sin_test): Likewise.
269 (sincos_test): Likewise.
270
7bbfa5c6
AJ
2712012-03-15 Andreas Jaeger <aj@suse.de>
272
273 [BZ #13837]
274 * math/libm-test.inc (cos_test): Add a test case for large input
275 value.
276 (sin_test): Likewise.
277 (sincos_test): Likewise.
278
2792012-03-15 Andreas Jaeger <aj@suse.de>,
280 Joseph Myers <joseph@codesourcery.com>
281
282 [BZ #13658]
0671f479 283 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
284 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
285 * sysdeps/i386/fpu/branred.c: Likewise.
286 * sysdeps/i386/fpu/dosincos.c: Likewise.
287 * sysdeps/i386/fpu/mpa.c: Likewise.
288 * sysdeps/i386/fpu/s_cos.S: Likewise.
289 * sysdeps/i386/fpu/s_sin.S: Likewise.
290 * sysdeps/i386/fpu/s_sincos.S: Likewise.
291 * sysdeps/i386/fpu/sincos32.c: Likewise.
292
293 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
294 Define.
295 (libc_feupdateenv_53bit): Define.
296 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
297 Define.
298 (libc_feupdateenv_53bit): Define.
299
300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
301 53 bit (without extend i386 double precision).
302
303 * math/libm-test.inc (sincos_test): Add tests for large input.
304 (sin): Likewise.
305 (cos): Likewise.
306
307 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
308
9cad04ea
AS
3092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
310
311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
312
f7062b9a
DM
3132012-03-15 David S. Miller <davem@davemloft.net>
314
315 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
316 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
317 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
318 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
331 file.
f7062b9a 332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
334 file.
f7062b9a 335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
337 file.
f7062b9a 338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
340 file.
f7062b9a
DM
341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
343 fmin/fmax sysdep routines.
344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
345
7bd951ff
DM
3462012-03-14 David S. Miller <davem@davemloft.net>
347
559398ab
DM
348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
369 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
372 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
373 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
377 routines.
378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
379 file.
559398ab 380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
382 file.
559398ab 383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
385 file.
559398ab 386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
388 file.
559398ab 389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
391 file.
559398ab 392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
394 file.
395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
396 file.
397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
398 file.
399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
400 file.
401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
402 New file.
403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
404 file.
405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
406 file.
559398ab 407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
409 file.
559398ab 410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
412 file.
559398ab 413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
415 file.
559398ab 416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
418 VIS3 routines.
559398ab
DM
419
420 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
421 New file.
422
5a1c1e32
DM
423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
424
eae47a36
DM
425 * sysdeps/sparc/configure.in: New file.
426 * sysdeps/sparc/configure: Generate.
427 * configure.in (libc_cv_sparc_as_vis3): Substitute.
428 * configure: Regenerate.
429 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
430 * config.make.in (have-as-vis3): New.
431 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
432 available use -Av9d instead of -Av9a.
433 * sysdeps/sparc/sparc64/Makefile: Likewise.
434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
436 New file.
437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
438 file.
439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
440 New file.
441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
442 file.
eae47a36
DM
443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
444 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
445 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
448
c0c83bc8
DM
449 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
450 fzeros/fnegs to load 0x80000000 into a float register instead of
451 using the stack.
7bd951ff
DM
452 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
453
bd951ccb
JM
4542012-03-14 Joseph Myers <joseph@codesourcery.com>
455
456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
457 bits/syscall.h.
458 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
459 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
460 ($(inst_includedir)/bits/syscall.h): Remove rule.
461 ($(objpfx)bits/syscall.d): Include instead of
462 $(objpfx)syscall-list.d.
463 (generated): Change syscall-list.h and syscall-list.d to
464 bits/syscall.h and bits/syscall.d.
465
bb4e6db2
RM
4662012-03-14 Roland McGrath <roland@hack.frob.com>
467
468 [BZ #13846]
469 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
470
aa4a2ae1
JM
4712012-03-14 Joseph Myers <joseph@codesourcery.com>
472
e456826d
JM
473 [BZ #13841]
474 * math/s_csqrt.c: Include <float.h>.
475 (__csqrt): Scale large or subnormal inputs.
476 * math/s_csqrtf.c: Likewise.
477 * math/s_csqrtl.c: Likewise.
478 * math/libm-test.inc (csqrt_test): Add more tests.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
481
aa4a2ae1
JM
482 [BZ #13840]
483 * math/libm-test.inc (hypot_test): Add more tests.
484
7c10fd35
DM
4852012-03-13 David S. Miller <davem@davemloft.net>
486
487 [BZ #13840]
488 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
489 double-precision for the calculation instead of scaling.
490
f453b98b
JM
4912012-03-13 Joseph Myers <joseph@codesourcery.com>
492
493 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
494 manipulate bits before adding and subtracting TWO52[sx].
495 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
496 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
497 Likewise.
498 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
499
09a3453f
DM
5002012-03-13 David S. Miller <davem@davemloft.net>
501
8e59da90
DM
502 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
503 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
505 rtld-global-offsets.h
506 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
507
2a8ab7f2
DM
508 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
509 large parameters.
510
10f62770
DM
511 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
512
5f0bdb18
DM
513 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
514 'err' in the ifdef scope in which it is actually used.
515
09a3453f
DM
516 * nss/nss_db/db-init.c: Include string.h
517
b4b2eb5e
DM
5182012-03-12 David S. Miller <davem@davemloft.net>
519
98bb2f1c
DM
520 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
521 masking out of the most significant byte of random value used.
522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
523 Fix coding style in previous change.
524
b4b2eb5e
DM
525 * sysdeps/unix/sysv/linux/kernel-features.h
526 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
527 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
528 expression.
529 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
530 later.
531
6e226b09
DM
5322012-03-11 David S. Miller <davem@davemloft.net>
533
a1bcbd40
DM
534 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
535 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
536 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
537 for 'resultvar' otherwise things get truncated on 64-bit.
538
cb9d6174
DM
539 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
540 Fix masking out of the most significant byte of random value used.
541
6e226b09
DM
542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
543
058c132d
AS
5442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
545
546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
547
2d2cd515
DM
5482012-03-09 David S. Miller <davem@davemloft.net>
549
550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
551 variables with appropriate CPP guards.
552 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
553 frame pointer, not the stack pointer. Correct layout comments. Fix test
554 on resulting framesize and the management of the outregs buffer for pltexit.
555 Preserve floating point return values across _dl_call_pltexit call.
556 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
557 framesize and the management of the outregs buffer for pltexit.
558 Preserve floating point return values across _dl_call_pltexit
559 call.
560 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
561 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
562 (print_exit): Fix format string for return register value.
563
9a07f9d0
JM
5642012-03-10 Joseph Myers <joseph@codesourcery.com>
565
566 * sunrpc/Makefile (others): Add rpcgen.
567 ($(objpfx)rpcgen): Remove special build rule and dependency on
568 libc.
569 * sunrpc/rpcgen.c: New file.
570
547b5e30
PE
5712012-03-09 Paul Eggert <eggert@cs.ucla.edu>
572
c524201a
PE
573 [BZ #13673]
574 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
575 * stdio-common/bug-vfprintf-nargs.c: Likewise.
576 * sysdeps/i386/crti.S: Likewise.
577 * sysdeps/i386/crtn.S: Likewise.
578 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
579 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
580 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
581 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
582 * sysdeps/sh/crti.S: Likewise.
583 * sysdeps/sh/crtn.S: Likewise.
584 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
585
7b6235f2
PE
586 [BZ #13673]
587 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
588 with URL.
589 * locale/programs/locfile-kw.gperf: Likewise.
590 * locale/programs/charmap-kw.h: Regenerated.
591 * locale/programs/locfile-kw.h: Likewise.
592
547b5e30
PE
593 [BZ #13673]
594 * intl/plural.y: Replace FSF snail mail address with URL.
595 * intl/plural.c: Regenerated.
596
5f0a5dae
RH
5972012-03-09 Richard Henderson <rth@twiddle.net>
598
599 * include/math_private.h: Remove file.
600 * math/math_private.h: Move file ...
601 * sysdeps/generic/math_private.h: ... here.
602
b8c03620
RH
603 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
604 * sysdeps/powerpc/fpu/math_private.h: Likewise.
605 * sysdeps/x86_64/fpu/math_private.h: Likewise.
606
4e234f5d 607 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
608 and <math_private.h>.
609 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
610 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
611 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
612 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
613 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
614 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
615 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
617 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
618 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
620 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
621 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
623 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
624 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
625 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
626 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
627 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
628 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
630 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
631 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
633 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
634 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
635 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
636 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
637 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
638 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
639 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
641 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
642 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
643 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
644 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
645 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
646 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
647 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
648 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
649 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
650 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
651 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
652 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
653 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
654 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
655 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
656 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
657 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
658 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
659 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
660 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
661 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
662 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
663 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
664 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
665 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
666 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
667 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
668 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
669 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
670 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
671 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
672 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
673 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
674 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
675 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
676 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
677 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
678 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
679 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
680 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
681 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
684 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
686 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
688 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
689 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
690 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
691 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
692 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
693 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
694 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
696 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
697 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
698 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
699 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
700 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
702 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
703 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
704 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
705 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
706 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
707 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
708 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
709 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
710 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
711 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
712 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
713 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
714 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
715 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
716 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
717 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
719 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
720 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
721 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
722 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
723 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
724 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
725 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
726 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
727 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
728 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
729 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
730 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
731 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
732 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
733 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
734 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
735 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
736 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
737 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
738 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
739 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
740 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
741 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
742 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
743 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
744 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
745 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
746 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
747 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
748 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
749 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
750 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
751 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
752 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
753 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
754 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
755 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
756 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
757 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
758 * sysdeps/ieee754/k_standard.c: Likewise.
759 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
760 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
761 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
762 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
763 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
764 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
765 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
766 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
767 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
769 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
771 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
772 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
773 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
774 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
775 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
776 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
777 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
778 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
779 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
780 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
781 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
782 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
783 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
784 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
785 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
786 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
787 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
789 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
790 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
791 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
792 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
793 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
794 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
795 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
796 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
797 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
798 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
799 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
800 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
801 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
802 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
803 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
804 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
805 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
806 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
807 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
808 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
809 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
810 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
811 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
812 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
813 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
814 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
815 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
816 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
817 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
818 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
819 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
820 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
821 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
822 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
824 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
825 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
826 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
827 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
828 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
829 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
830 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
831 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
832 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
833 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
835 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
836 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
837 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
838 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
839 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
840 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
841 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
842 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
844 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
845 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
846 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
847 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
849 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
850 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
851 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
852 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
853 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
854 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
855 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
856 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
857 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
858 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
859 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
860 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
861 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
862 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
863 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
866 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
867 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
868 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
869 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
870 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
871 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
872 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
873 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
874 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
875 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
876 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
877 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
878 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
879 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
880 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
881 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
882 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
884 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
885 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
886 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
887 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
888 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
889 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
890 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
891 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
892 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
893 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
894 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
895 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
896 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
897 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
898 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
899 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
900 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
901 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
902 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
903 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
904 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
905 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
906 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
907 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
908 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
909 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
910 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
911 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
912 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
913 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
914 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
915 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
916 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
917 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
918 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
919 * sysdeps/ieee754/s_lib_version.c: Likewise.
920 * sysdeps/ieee754/s_matherr.c: Likewise.
921 * sysdeps/ieee754/s_signgam.c: Likewise.
922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
924 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
925 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
926 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
927 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
928 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
929 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
930 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
931 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
932 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
933 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
934 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
935 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
936 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
937 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
938 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
939 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
940 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
942 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 943
1991fa03
JM
9442012-03-09 Joseph Myers <joseph@codesourcery.com>
945
946 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
947 * sunrpc/rpc_main.c: Likewise.
948 * sunrpc/rpc_svcout.c: Likewise.
949
60d6f5a6
DM
9502012-03-09 David S. Miller <davem@davemloft.net>
951
952 * include/math_private.h: New file.
953
4962050e
JM
9542012-03-09 Joseph Myers <joseph@codesourcery.com>
955
02a6f887
JM
956 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
957 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
958 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
959 from <bits/socket_type.h>.
960 (enum __socket_type): Don't define here.
961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
963 bits/socket_type.h.
964
c6e013c1
JM
965 [BZ #13566]
966 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
967 checking __USE_GNU.
968
4962050e
JM
969 * Makerules ($(inst_includedir)/%.h): New rule.
970 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
971 (install-others): Remove variable setting.
972 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
973
38842f45
RH
9742012-03-08 Richard Henderson <rth@twiddle.net>
975
67bb6da6
RH
976 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
977 from macro to inline function; merge with the
978 !__LIBC_INTERNAL_MATH_INLINES version.
979 (__ieee754_sqrtf): Likewise.
980
15194b4b
RH
981 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
982 to inline function.
983 (__rintf, __floor, __floorf): Likewise.
984
64e21ede
RH
985 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
986 macro to inline function.
987 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
988
38842f45
RH
989 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
990 not <math/math_private.h>.
991
c64bf5fe
DM
9922012-03-08 David S. Miller <davem@davemloft.net>
993
994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
995 copyright year.
996 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
997
82d86f28
TS
9982012-03-08 Thomas Schwinge <thomas@codesourcery.com>
999
1000 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1001 normalization.
1002 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1003 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1004
aea5d727
UD
10052012-03-08 Ulrich Drepper <drepper@gmail.com>
1006
1007 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1008 be defined individually, they must be defined as a block. Define
1009 S for printing a string instead of hidint the different by using a
1010 macro for adding the 'l'.
1011 * stdio-common/tst-fphex-wide.c: Adjust.
1012
70bca0a3
MP
10132012-03-07 Marek Polacek <polacek@redhat.com>
1014
1015 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1016
65b81130
MP
10172012-03-08 Marek Polacek <polacek@redhat.com>
1018
1019 [BZ #13806]
1020 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1021 * stdio-common/tst-fphex.c: Define a few macros to make the
1022 test reusable. Use them.
1023 * stdio-common/tst-fphex-wide.c: New file.
1024
07037eeb
JM
10252012-03-08 Joseph Myers <joseph@codesourcery.com>
1026
a7a93d50
JM
1027 [BZ #6911]
1028 * manual/macros.texi (gnusystems): New macro.
1029 (nongnusystems): Likewise.
1030 (gnulinuxhurdsystems): Likewise.
1031 (gnuhurdsystems): Likewise..
1032 (gnulinuxsystems): Likewise.
1033 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1034 variants of the GNU system, not "GNU system".
1035 * manual/conf.texi: Likewise.
1036 * manual/errno.texi: Likewise. Update example of errno macro
1037 expansion.
1038 * manual/filesys.texi: Likewise.
1039 (getumask): Document as specific to GNU/Hurd.
1040 * manual/install.texi: Likewise. Reword some references to
1041 GNU/Linux.
1042 * manual/intro.texi: Likewise.
1043 * manual/io.texi: Likewise.
1044 (File Name Portability): Detail which constraints are inapplicable
1045 to all GNU systems and which are only inapplicable to GNU/Hurd.
1046 * manual/job.texi: Likewise.
1047 * manual/llio.texi: Likewise.
1048 (O_NOCTTY): Document as present on GNU/Linux.
1049 * manual/maint.texi: Likewise.
1050 * manual/memory.texi: Likewise.
1051 * manual/pattern.texi: Likewise.
1052 * manual/pipe.texi: Likewise.
1053 * manual/process.texi: Likewise.
1054 * manual/resource.texi: Likewise.
1055 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1056 child on GNU/Hurd.
1057 * manual/setjmp.texi: Likewise.
1058 * manual/signal.texi: Likewise.
1059 * manual/startup.texi: Likewise.
1060 * manual/stdio.texi: Likewise.
1061 * manual/terminal.texi: Likewise.
1062 (ONLCR): Document as POSIX.
1063 (OXTABS): Document availability on GNU/Linux as XTABS.
1064 (ONOEOT): Document availability separately from other bits.
1065 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1066 * manual/time.texi: Likewise.
1067 * manual/users.texi: Likewise.
1068 * INSTALL: Regenerated.
1069 * sysdeps/gnu/errlist.c: Regenerated.
1070
07037eeb
JM
1071 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1072 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1073 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1074 puts.
1075 * configure: Regenerated.
1076
d1d3431a
JM
10772012-03-07 Joseph Myers <joseph@codesourcery.com>
1078
af6a1e37
JM
1079 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1080 default includes instead of AC_HEADER_CHECK.
1081 * sysdeps/i386/configure: Regenerated.
1082
d1d3431a
JM
1083 [BZ #10716]
1084 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1085 * math/s_cacoshf.c (__cacoshf): Likewise.
1086 * math/s_cacoshl.c (__cacoshl): Likewise.
1087 * math/s_casinh.c (__casinh): Set signs of result from argument.
1088 * math/s_casinhf.c (__casinhf): Likewise.
1089 * math/s_casinhl.c (__casinhl): Likewise.
1090 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1091 (casinh_test): Add more tests.
1092 * sysdeps/i386/fpu/libm-test-ulps: Update.
1093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1094
482ff4da
UD
10952012-03-07 Ulrich Drepper <drepper@gmail.com>
1096
872fda05
UD
1097 * po/zh_TW.po: Update from translation team.
1098
a4300c7a
UD
1099 * login/Makefile (distribute): Remove variable.
1100 * catgets/Makefile: Likewise.
1101 * mach/Makefile: Likewise.
1102 * malloc/Makefile: Likewise.
1103 * misc/Makefile: Likewise.
1104 * iconv/Makefile: Likewise.
1105 * nscd/Makefile: Likewise.
1106 * hurd/Makefile: Likewise.
1107 * manual/Makefile: Likewise.
1108 * locale/Makefile: Likewise.
1109 * intl/Makefile: Likewise.
1110 * conform/Makefile: Likewise.
1111 * nss/Makefile: Likewise.
1112 * time/Makefile: Likewise.
1113 * soft-fp/Makefile: Likewise.
1114 * dirent/Makefile: Likewise.
1115 * gmon/Makefile: Likewise.
1116 * po/Makefile: Likewise.
1117 * rt/Makefile: Likewise.
1118 * socket/Makefile: Likewise.
1119 * math/Makefile: Likewise.
1120 * signal/Makefile: Likewise.
1121 * debug/Makefile: Likewise.
1122 * elf/Makefile: Likewise.
1123 * timezone/Makefile: Likewise.
1124 * stdlib/Makefile: Likewise.
1125 * iconvdata/Makefile: Likewise.
1126 * sunrpc/Makefile: Likewise.
1127 * io/Makefile: Likewise.
1128 * argp/Makefile: Likewise.
1129 * inet/Makefile: Likewise.
1130 * hesiod/Makefile: Likewise.
1131 * grp/Makefile: Likewise.
1132 * csu/Makefile: Likewise.
1133 * wctype/Makefile: Likewise.
1134 * crypt/Makefile: Likewise.
1135 * libio/Makefile: Likewise.
1136 * string/Makefile: Likewise.
1137 * nis/Makefile: Likewise.
1138 * resolv/Makefile: Likewise.
1139 * stdio-common/Makefile: Likewise.
1140 * wcsmbs/Makefile: Likewise.
1141 * dlfcn/Makefile: Likewise.
1142 * posix/Makefile: Likewise.
1143
482ff4da
UD
1144 * timezone/Makefile: Don't install timezone files, just the programs
1145 and scripts.
1146
f72ed77d
UD
11472012-03-06 Ulrich Drepper <drepper@gmail.com>
1148
a000466f
UD
1149 * nss/databases.def: Add missing gshadow entry.
1150
f72ed77d
UD
1151 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1152
a53b7a4e
MP
11532012-03-06 Marek Polacek <polacek@redhat.com>
1154
1155 [BZ #13726]
1156 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1157 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1158 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1159 * stdio-common/tst-long-dbl-fphex.c: New file.
1160
e9258400
DM
11612012-03-06 David S. Miller <davem@davemloft.net>
1162
1163 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1164 (set_obp_int): New function.
1165 (get_obp_int): New function.
1166 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1167 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1168 Avoid unused variable warnings on 'val' and use builtin_expect.
1169 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1170 __builtin_expect.
e9258400
DM
1171 (INLINE_CLONE_SYSCALL): Likewise.
1172
3bd2c723
DM
11732012-03-05 David S. Miller <davem@davemloft.net>
1174
1175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1176
bbb78d03
AS
11772012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1178
884c5db4
AS
1179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1180
bbb78d03
AS
1181 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1182 only for |x| >= 40.
1183 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1184
1c9f702a 11852012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1186
1187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1188 Replace gettimeofday with __vdso_gettimeofday.
1189
7be16f82
RM
1190 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1191 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1192 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1193
1194 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1195 time with __vdso_time.
1196
ed58a00f
JM
11972012-03-05 Joseph Myers <joseph@codesourcery.com>
1198
1199 * manual/lang.texi (size_t): Note types to which size_t may be
1200 equivalent with the GNU C Library, but do not describe when
1201 differences between them are significant.
1202
30ee4ced
AJ
12032012-03-05 Andreas Jaeger <aj@suse.de>
1204
1205 * sysdeps/i386/fpu/libm-test-ulps: Update.
1206
b7cd39e8
JM
12072012-03-05 Joseph Myers <joseph@codesourcery.com>
1208
1209 [BZ #3976]
1210 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1211 (__ieee754_pow): Save and restore rounding mode and use
1212 round-to-nearest for main computations.
1213 * math/libm-test.inc (pow_test_tonearest): New function.
1214 (pow_test_towardzero): Likewise.
1215 (pow_test_downward): Likewise.
1216 (pow_test_upward): Likewise.
1217 (main): Call the new functions.
1218 * sysdeps/i386/fpu/libm-test-ulps: Update.
1219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1220
1221 [BZ #3976]
1222 * math/libm-test.inc (cosh_test_tonearest): New function.
1223 (cosh_test_towardzero): Likewise.
1224 (cosh_test_downward): Likewise.
1225 (cosh_test_upward): Likewise.
1226 (sinh_test_tonearest): Likewise.
1227 (sinh_test_towardzero): Likewise.
1228 (sinh_test_downward): Likewise.
1229 (sinh_test_upward): Likewise.
1230 (main): Call the new functions.
1231 * sysdeps/i386/fpu/libm-test-ulps: Update.
1232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1233
6c6a98c9
TV
12342012-03-05 Tom de Vries <tom@codesourcery.com>
1235
1236 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1237 default stack guard is set in last bytes.
1238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1239
21bb2d2e 12402012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1241
21bb2d2e 1242 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1243
21bb2d2e
AJ
1244 [BZ #13656]
1245 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1246 possibly allocate from heap instead of stack.
1247 * stdio-common/bug-vfprintf-nargs.c: New file.
1248 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1249
c6922934
AS
12502012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1251
1252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1253
bc957d53
MP
12542012-03-03 Marek Polacek <polacek@redhat.com>
1255
1256 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1257 * math/math_private.h: Likewise.
1258 * stdlib/tst-strtod.c: Likewise.
1259 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1260 * sysdeps/x86_64/bits/atomic.h: Likewise.
1261
6358490d
DM
12622012-03-02 David S. Miller <davem@davemloft.net>
1263
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1268 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1269 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1270 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1271 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1272
01ae168d
RM
12732012-03-02 Roland McGrath <roland@hack.frob.com>
1274
d9a17c07
RM
1275 [BZ #13792]
1276 * manual/examples/README: New file, says the example source files
1277 can be used under GPL>=2.
1278 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1279 line containing just "*/".
1280 * manual/examples/add.c: Add copyright header (GPL>=2).
1281 * manual/examples/argp-ex1.c: Likewise.
1282 * manual/examples/argp-ex2.c: Likewise.
1283 * manual/examples/argp-ex3.c: Likewise.
1284 * manual/examples/argp-ex4.c: Likewise.
1285 * manual/examples/atexit.c: Likewise.
1286 * manual/examples/db.c: Likewise.
1287 * manual/examples/dir.c: Likewise.
1288 * manual/examples/dir2.c: Likewise.
1289 * manual/examples/execinfo.c: Likewise.
1290 * manual/examples/filecli.c: Likewise.
1291 * manual/examples/filesrv.c: Likewise.
1292 * manual/examples/fmtmsgexpl.c: Likewise.
1293 * manual/examples/genpass.c: Likewise.
1294 * manual/examples/inetcli.c: Likewise.
1295 * manual/examples/inetsrv.c: Likewise.
1296 * manual/examples/isockad.c: Likewise.
1297 * manual/examples/longopt.c: Likewise.
1298 * manual/examples/memopen.c: Likewise.
1299 * manual/examples/memstrm.c: Likewise.
1300 * manual/examples/mkfsock.c: Likewise.
1301 * manual/examples/mkisock.c: Likewise.
1302 * manual/examples/mygetpass.c: Likewise.
1303 * manual/examples/pipe.c: Likewise.
1304 * manual/examples/popen.c: Likewise.
1305 * manual/examples/rprintf.c: Likewise.
1306 * manual/examples/search.c: Likewise.
1307 * manual/examples/select.c: Likewise.
1308 * manual/examples/setjmp.c: Likewise.
1309 * manual/examples/sigh1.c: Likewise.
1310 * manual/examples/sigusr.c: Likewise.
1311 * manual/examples/stpcpy.c: Likewise.
1312 * manual/examples/strdupa.c: Likewise.
1313 * manual/examples/strftim.c: Likewise.
1314 * manual/examples/strncat.c: Likewise.
1315 * manual/examples/subopt.c: Likewise.
1316 * manual/examples/swapcontext.c: Likewise.
1317 * manual/examples/termios.c: Likewise.
1318 * manual/examples/testopt.c: Likewise.
1319 * manual/examples/testpass.c: Likewise.
1320 * manual/examples/timeval_subtract.c: Likewise.
1321
01ae168d
RM
1322 [BZ #13792]
1323 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1324 function to ...
1325 * manual/timeval_subtract.c.texi: ... here, new file.
1326
49efa33d
DM
13272012-03-02 David S. Miller <davem@davemloft.net>
1328
1329 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1330
28afd92d
JM
13312012-03-02 Joseph Myers <joseph@codesourcery.com>
1332
804360ed
JM
1333 [BZ #3976]
1334 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1335 (__sin): Save and restore rounding mode and use round-to-nearest
1336 for all computations.
1337 (__cos): Save and restore rounding mode and use round-to-nearest
1338 for all computations.
1339 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1340 <fenv.h>.
1341 (tan): Save and restore rounding mode and use round-to-nearest for
1342 all computations.
1343 * math/libm-test.inc (cos_test_tonearest): New function.
1344 (cos_test_towardzero): Likewise.
1345 (cos_test_downward): Likewise.
1346 (cos_test_upward): Likewise.
1347 (sin_test_tonearest): Likewise.
1348 (sin_test_towardzero): Likewise.
1349 (sin_test_downward): Likewise.
1350 (sin_test_upward): Likewise.
1351 (tan_test_tonearest): Likewise.
1352 (tan_test_towardzero): Likewise.
1353 (tan_test_downward): Likewise.
1354 (tan_test_upward): Likewise.
1355 (main): Call the new functions.
1356 * sysdeps/i386/fpu/libm-test-ulps: Update.
1357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1358
a6d06d7b
JM
1359 [BZ #10135]
1360 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1361 small n, then large n, before computing and testing k+n.
1362 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1364 Likewise.
1365 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1366 Likewise.
1367 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1368 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1369 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1370 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1373 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1374 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1375 * math/libm-test.inc (scalbn_test): Add more tests.
1376 (scalbln_test): Likewise.
1377
07e12bb3
JM
1378 * manual/filesys.texi (mode_t): Describe constraints on size and
1379 signedness, not exact equivalence to a particular type.
1380 (ino_t): Likewise.
1381 (ino64_t): Likewise.
1382 (dev_t): Likewise.
1383 (nlink_t): Likewise.
1384 (blkcnt_t): Likewise.
1385 (blkcnt64_t): Likewise.
1386 * manual/llio.texi (off_t): Likewise.
1387
28afd92d
JM
1388 [BZ #3976]
1389 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1390 (__ieee754_exp): Save and restore rounding mode and use
1391 round-to-nearest for all computations.
1392 * math/libm-test.inc (exp_test_tonearest): New function.
1393 (exp_test_towardzero): Likewise.
1394 (exp_test_downward): Likewise.
1395 (exp_test_upward): Likewise.
1396 (main): Call the new functions.
1397 * sysdeps/i386/fpu/libm-test-ulps: Update.
1398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1399
b1eeb65d
CD
14002012-03-01 Chris Demetriou <cgd@google.com>
1401
1402 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1403 have predictable order.
1404
53362a4b
DM
14052012-03-01 David S. Miller <davem@davemloft.net>
1406
3c969083
DM
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1408
759707de
DM
1409 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1410 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1411 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1412 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1413
dfdb8ff2
DM
1414 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1415 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1416 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1418 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1419 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1420 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1421 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1422 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1423
ead89f96
DM
1424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1425
7f66bd07
DM
1426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1427 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1428 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1429
53362a4b
DM
1430 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1431 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1432 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1433 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1434 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1435 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1436 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1437 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1438 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1439 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1440 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1446 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1447 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1448 * sysdeps/sparc/elf/configure: Regenerated.
1449
7b1902cb
JM
14502012-03-01 Joseph Myers <joseph@codesourcery.com>
1451
bec039bc
JM
1452 * configure.in (AS, LD): Require binutils 2.20 or later.
1453 * configure: Regenerated.
1454 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1455 as required minimum version.
1456 * INSTALL: Regenerated.
1457
7b1902cb
JM
1458 [BZ #2541]
1459 [BZ #4108]
1460 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1461 before squaring exponent.
1462 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1463 bottom long double and 27 bits of top long double before squaring
1464 exponent.
1465 * math/libm-test.inc (erfc_test): Add more tests.
1466 * sysdeps/i386/fpu/libm-test-ulps: Update.
1467 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1469
f775c276
KT
14702012-03-01 Kai Tietz <ktietz@redhat.com>
1471
1472 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1473 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1474 containing bit-fields.
1475 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1476 * soft-fp/single.h (_FP_UNION_S): Likewise.
1477 * soft-fp/double.h (_FP_UNION_D): Likewise.
1478
5b8a4d4a
JM
14792012-02-29 Joseph Myers <joseph@codesourcery.com>
1480
0bab47b6
JM
1481 [BZ #13786]
1482 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1483 not include ../strcmp.S.
1484 [USE_AS_STRNCASECMP_L]: Likewise.
1485 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1486 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1487 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1488 (__strncasecmp_l_ia32): Define as alias to
1489 __strncasecmp_l_nonascii.
1490
0fcad3e2
JM
1491 [BZ #5794]
1492 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1495
5b8a4d4a
JM
1496 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1498
8fdceb2e
JL
14992012-02-29 Jeff Law <law@redhat.com>
1500
1501 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1502 out of bounds read.
1503
1f393a11
MP
15042012-02-29 Marek Polacek <polacek@redhat.com>
1505
1506 [BZ #13706]
1507 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1508 * elf/Makefile: Add rules to run tst-unused-dep.out.
1509
8847f037
DM
15102012-02-28 David S. Miller <davem@davemloft.net>
1511
1512 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1513 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1514 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1516 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1517 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1518
169d7f11
JM
15192012-02-29 Joseph Myers <joseph@codesourcery.com>
1520
1521 * math/libm-test.inc (llround_test): Move one test from
1522 lround_test. Use TEST_f_L in moved test.
1523 (lround_test): Move misplaced test to llround_test. Add testcase
1524 from bug 2561.
1525
39adf059
UD
15262012-02-28 Ulrich Drepper <drepper@gmail.com>
1527
1528 * sysdeps/x86_64/fpu/e_expf.S: New file.
1529 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1530
71b5d1c5
SB
15312012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1532
1533 [BZ #13637]
1534 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1535 of remain_len that may cause incomplete multi-byte character and
1536 false match.
1537 * posix/bug-regex33.c: New file.
1538 * posix/Makefile (tests): Add bug-regex33.
1539
1f77f049
JM
15402012-02-28 Joseph Myers <joseph@codesourcery.com>
1541
1542 * manual/macros.texi: New file.
1543 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1544 * manual/libc.texinfo: Include macros.texi.
1545 * manual/creatute.texi: Likewise.
1546 * manual/install.texi: Likewise.
1547 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1548 @glibcadj{} in references to the GNU C Library.
1549 * manual/charset.texi: Likewise.
1550 * manual/conf.texi: Likewise.
1551 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1552 when not using those macros.
1553 * manual/creature.texi: Likewise.
1554 * manual/crypt.texi: Likewise.
1555 * manual/errno.texi: Likewise.
1556 * manual/filesys.texi: Likewise.
1557 * manual/header.texi: Likewise.
1558 * manual/install.texi: Likewise.
1559 * manual/intro.texi: Likewise.
1560 * manual/io.texi: Likewise.
1561 * manual/job.texi: Likewise.
1562 * manual/lang.texi: Likewise.
1563 * manual/libc.texiinfo: Likewise.
1564 * manual/llio.texi: Likewise.
1565 * manual/locale.texi: Likewise.
1566 * manual/maint.texi: Likewise.
1567 * manual/math.texi: Likewise.
1568 * manual/memory.texi: Likewise.
1569 * manual/message.texi: Likewise.
1570 * manual/nss.texi: Likewise.
1571 * manual/pattern.texi: Likewise.
1572 * manual/process.texi: Likewise.
1573 * manual/resource.texi: Likewise.
1574 * manual/search.texi: Likewise.
1575 * manual/setjmp.texi: Likewise.
1576 * manual/signal.texi: Likewise.
1577 * manual/socket.texi: Likewise.
1578 * manual/startup.texi: Likewise.
1579 * manual/stdio.texi: Likewise.
1580 * manual/string.texi: Likewise.
1581 * manual/sysinfo.texi: Likewise.
1582 * manual/syslog.texi: Likewise.
1583 * manual/terminal.texi: Likewise.
1584 * manual/time.texi: Likewise.
1585 * manual/users.texi: Likewise.
1586 * INSTALL: Regenerated.
1587 * NOTES: Regenerated.
d40c5d54 1588 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1589
450bf206
AS
15902012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1591
1592 * include/dirent.h: Include <dirstream.h> before
1593 <dirent/dirent.h>.
1594
741a235b
DM
15952012-02-28 David S. Miller <davem@davemloft.net>
1596
1597 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1598 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1599 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1600 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1601
d6b5aa58
DM
16022012-02-27 David S. Miller <davem@davemloft.net>
1603
1aff59a3
DM
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1606 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1607 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1608
d6b5aa58
DM
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1610 frame pointer instead of stack pointer relative arg slot.
1611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1612 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1613 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1614
433f48bf
CD
16152012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1616
1617 [BZ #3992]
1618 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1619
d674b76d
DM
16202012-02-27 David S. Miller <davem@davemloft.net>
1621
1622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1626 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1627 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1628 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1629 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1630
0e7727f7
JM
16312012-02-27 Joseph Myers <joseph@codesourcery.com>
1632
1633 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1634 later. Allow versions 5-9.
43be4ca2 1635 * configure: Regenerated.
0e7727f7
JM
1636 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1637 required minimum version and 4.6 as recommended version. Do not
1638 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1639 * INSTALL: Regenerated.
0e7727f7 1640
a78bc654
DM
16412012-02-27 David S. Miller <davem@davemloft.net>
1642
428d5830
DM
1643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1647 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1648 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1649 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1650 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1651
a78bc654
DM
1652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1653 manipulate bits before adding and subtracting TWO112[sx].
1654 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1655
4579f81c
RM
16562012-02-27 Roland McGrath <roland@hack.frob.com>
1657
36c8acb4
RM
1658 [BZ #13775]
1659 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1660 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1661 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1662 being in POSIX, because they are in 1003.1-2008.
1663
84ad622b
RM
1664 * rt/tst-aio.c: Include <fcntl.h>.
1665 * rt/tst-aio7.c: Likewise.
1666 * rt/tst-aio64.c: Likewise.
1667
4579f81c
RM
1668 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1669
abd923db
JM
16702012-02-27 Joseph Myers <joseph@codesourcery.com>
1671
1672 * manual/install.texi (--with-headers): Describe headers as
1673 interface headers, not private headers.
1674 (Specific advice for GNU/Linux systems): Describe use of headers
1675 from "make headers_install", not private headers from older
1676 kernels.
43be4ca2 1677 * INSTALL: Regenerated.
abd923db
JM
1678 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1679 Change to 2.6.19.
1680 * sysdeps/unix/sysv/linux/configure: Regenerated.
1681
6664049b
JM
1682 * manual/llio.texi (fclean): Remove documentation.
1683
bb8b6697
JM
1684 * manual/Makefile (libc-texi-generated): New variable. Include
1685 version.texi.
1686 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1687 $(libc-texi-generated), not duplicated list of files.
1688 (version.texi, stamp-version): New rules.
1689 (realclean): Remove $(libc-texi-generated), not individual files
1690 from that list. Do not remove dir-add.texinfo.
1691 * manual/libc.texinfo: Comment out uses of edition numbers and
1692 references to printed manual. Remove last-updated dates.
1693 (EDITION): Comment out.
1694 (ISBN): Likewise.
1695 (VERSION, UPDATED): Remove.
1696 (version.texi): Include.
1697
12e5c3b9
AS
16982012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1699
1700 * sysdeps/posix/spawni.c: Include <signal.h>.
1701 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1702 * sysdeps/pthread/aio_fsync.c: Likewise.
1703
4efeffc1 17042012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1705
ba63ba08
UD
1706 * conform/Makefile (tests): Run only when not cross-compiling and
1707 when fast-check is not defined.
1708
d94a4670
UD
1709 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1710 * conform/data/limits.h-data: Fixes for POSIX2008.
1711 * conform/run-conformtest.sh: Run all tests.
1712 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1713 headers.
1714 * include/bits/dlfcn.h: Likewise.
1715 * include/langinfo.h: Likewise.
1716 * include/monetary.h: Likewise.
1717 * include/sys/poll.h: Likewise.
1718
1719 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1720 for __USE_GNU.
1721 * posix/spawn.h: Define __need_sigset_t.
1722 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1723 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1724 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1725 to get sigevent_t only.
1726 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1727 only for __USE_GNU.
1728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1729 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1730 process_vm_writev only for __USE_GNU.
1731 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1732
1733 * conform/Makefile: For now ignore errors from run-conformtest.
1734 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1735 POSIX to avoid namespace pollution. Don't prepend headers.
1736 * conform/data/aio.h-data: Fixes for POSIX testing.
1737 * conform/data/fcntl.h-data: Likewise.
1738 * conform/data/glob.h-data: Likewise.
1739 * conform/data/grp.h-data: Likewise.
1740 * conform/data/pthread.h-data: Likewise.
1741 * conform/data/pwd.h-data: Likewise.
1742 * conform/data/signal.h-data: Likewise.
1743 * conform/data/spawn.h-data: Likewise.
1744 * conform/data/stdio.h-data: Likewise.
1745 * conform/data/stdlib.h-data: Likewise.
1746 * conform/data/stropts.h-data: Likewise.
1747 * conform/data/sys/mman.h-data: Likewise.
1748 * conform/data/sys/stat.h-data: Likewise.
1749 * conform/data/sys/types.h-data: Likewise.
1750 * conform/data/sys/wait.h-data: Likewise.
1751 * conform/data/time.h-data: Likewise.
1752 * conform/data/unistd.h-data: Likewise.
1753 * conform/data/utime.h-data: Likewise.
1754
1755 * io/sys/stat.h: fchmod was always in POSIX.
1756 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1757 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1758 * rt/aio.h: Define __need_timespec before including <time.h>.
1759 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1760 struct. Add forward declaration of pthread_attr_t and use it in
1761 sigevent.
1762 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1764 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1765 always remove CLK_TCK definition.
1766
c20105c3
AS
17672012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1768
1769 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1770
7a270350
UD
17712012-02-25 Ulrich Drepper <drepper@gmail.com>
1772
31341567
UD
1773 * conform/run-conformtest.sh: New file.
1774 * conform/Makefile: Run run-conformtest for tests.
1775 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1776 support.
1777
1778 * conform/data/uchar.h-data: New file.
1779 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1780 * conform/data/arpa/inet.h-data: Likewise.
1781 * conform/data/assert.h-data: Likewise.
1782 * conform/data/complex.h-data: Likewise.
1783 * conform/data/cpio.h-data: Likewise.
1784 * conform/data/ctype.h-data: Likewise.
1785 * conform/data/dirent.h-data: Likewise.
1786 * conform/data/dlfcn.h-data: Likewise.
1787 * conform/data/errno.h-data: Likewise.
1788 * conform/data/fcntl.h-data: Likewise.
1789 * conform/data/float.h-data: Likewise.
1790 * conform/data/fmtmsg.h-data: Likewise.
1791 * conform/data/fnmatch.h-data: Likewise.
1792 * conform/data/ftw.h-data: Likewise.
1793 * conform/data/glob.h-data: Likewise.
1794 * conform/data/grp.h-data: Likewise.
1795 * conform/data/iconv.h-data: Likewise.
1796 * conform/data/inttypes.h-data: Likewise.
1797 * conform/data/langinfo.h-data: Likewise.
1798 * conform/data/libgen.h-data: Likewise.
1799 * conform/data/limits.h-data: Likewise.
1800 * conform/data/locale.h-data: Likewise.
1801 * conform/data/math.h-data: Likewise.
1802 * conform/data/monetary.h-data: Likewise.
1803 * conform/data/mqueue.h-data: Likewise.
1804 * conform/data/ndbm.h-data: Likewise.
1805 * conform/data/net/if.h-data: Likewise.
1806 * conform/data/netdb.h-data: Likewise.
1807 * conform/data/netinet/in.h-data: Likewise.
1808 * conform/data/nl_types.h-data: Likewise.
1809 * conform/data/poll.h-data: Likewise.
1810 * conform/data/pthread.h-data: Likewise.
1811 * conform/data/pwd.h-data: Likewise.
1812 * conform/data/regex.h-data: Likewise.
1813 * conform/data/sched.h-data: Likewise.
1814 * conform/data/search.h-data: Likewise.
1815 * conform/data/semaphore.h-data: Likewise.
1816 * conform/data/setjmp.h-data: Likewise.
1817 * conform/data/signal.h-data: Likewise.
1818 * conform/data/spawn.h-data: Likewise.
1819 * conform/data/stdarg.h-data: Likewise.
1820 * conform/data/stdio.h-data: Likewise.
1821 * conform/data/stdlib.h-data: Likewise.
1822 * conform/data/string.h-data: Likewise.
1823 * conform/data/strings.h-data: Likewise.
1824 * conform/data/stropts.h-data: Likewise.
1825 * conform/data/sys/ipc.h-data: Likewise.
1826 * conform/data/sys/mman.h-data: Likewise.
1827 * conform/data/sys/msg.h-data: Likewise.
1828 * conform/data/sys/resource.h-data: Likewise.
1829 * conform/data/sys/select.h-data: Likewise.
1830 * conform/data/sys/sem.h-data: Likewise.
1831 * conform/data/sys/shm.h-data: Likewise.
1832 * conform/data/sys/socket.h-data: Likewise.
1833 * conform/data/sys/stat.h-data: Likewise.
1834 * conform/data/sys/statvfs.h-data: Likewise.
1835 * conform/data/sys/time.h-data: Likewise.
1836 * conform/data/sys/timeb.h-data: Likewise.
1837 * conform/data/sys/times.h-data: Likewise.
1838 * conform/data/sys/types.h-data: Likewise.
1839 * conform/data/sys/uio.h-data: Likewise.
1840 * conform/data/sys/un.h-data: Likewise.
1841 * conform/data/sys/utsname.h-data: Likewise.
1842 * conform/data/sys/wait.h-data: Likewise.
1843 * conform/data/syslog.h-data: Likewise.
1844 * conform/data/tar.h-data: Likewise.
1845 * conform/data/termios.h-data: Likewise.
1846 * conform/data/utime.h-data: Likewise.
1847 * conform/data/utmpx.h-data: Likewise.
1848 * conform/data/varargs.h-data: Likewise.
1849 * conform/data/wchar.h-data: Likewise.
1850 * conform/data/wctype.h-data: Likewise.
1851 * conform/data/wordexp.h-data: Likewise.
1852
1853 * include/stropts.h: New file.
1854 * include/uchar.h: New file.
1855 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1856 * include/assert.h: Likewise.
1857 * include/ctype.h: Likewise.
1858 * include/dirent.h: Likewise.
1859 * include/dlfcn.h: Likewise.
1860 * include/fcntl.h: Likewise.
1861 * include/fnmatch.h: Likewise.
1862 * include/glob.h: Likewise.
1863 * include/grp.h: Likewise.
1864 * include/libio.h: Likewise.
1865 * include/locale.h: Likewise.
1866 * include/math.h: Likewise.
1867 * include/net/if.h: Likewise.
1868 * include/netdb.h: Likewise.
1869 * include/netinet/in.h: Likewise.
1870 * include/pthread.h: Likewise.
1871 * include/pwd.h: Likewise.
1872 * include/regex.h: Likewise.
1873 * include/sched.h: Likewise.
1874 * include/search.h: Likewise.
1875 * include/setjmp.h: Likewise.
1876 * include/signal.h: Likewise.
1877 * include/stdio.h: Likewise.
1878 * include/stdlib.h: Likewise.
1879 * include/string.h: Likewise.
1880 * include/sys/cdefs.h: Likewise.
1881 * include/sys/mman.h: Likewise.
1882 * include/sys/msg.h: Likewise.
1883 * include/sys/resource.h: Likewise.
1884 * include/sys/select.h: Likewise.
1885 * include/sys/socket.h: Likewise.
1886 * include/sys/stat.h: Likewise.
1887 * include/sys/statvfs.h: Likewise.
1888 * include/sys/time.h: Likewise.
1889 * include/sys/times.h: Likewise.
1890 * include/sys/uio.h: Likewise.
1891 * include/sys/utsname.h: Likewise.
1892 * include/sys/wait.h: Likewise.
1893 * include/termios.h: Likewise.
1894 * include/time.h: Likewise.
1895 * include/ulimit.h: Likewise.
1896 * include/unistd.h: Likewise.
1897 * include/utime.h: Likewise.
1898 * include/wchar.h: Likewise.
1899 * include/wctype.h: Likewise.
1900 * include/wordexp.h: Likewise.
1901
1902 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1903
7a270350
UD
1904 * time/time.h: TIME_UTC must be a macro.
1905 Make timespec_get available for ISO C11 only as well.
1906
7724defc
UD
19072012-02-24 Ulrich Drepper <drepper@gmail.com>
1908
1909 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1910 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1911
6b1d1d46
JM
19122012-02-24 Joseph Myers <joseph@codesourcery.com>
1913
1914 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1915
0f8bbd69
JM
19162012-02-24 Joseph Myers <joseph@codesourcery.com>
1917
1918 * manual/texinfo.tex: Update to version 2012-01-19.16.
1919
66ab80bc
JM
19202012-02-24 Joseph Myers <joseph@codesourcery.com>
1921
1922 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1923
74981cc5
RM
19242012-02-24 Roland McGrath <roland@hack.frob.com>
1925
ee968201
RM
1926 [BZ #13738]
1927 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1928 * manual/fdl-1.3.texi: New file.
1929 * manual/fdl-1.1.texi: File removed.
1930
74981cc5
RM
1931 [BZ #13738]
1932 * manual/libc.texinfo (FDL_VERSION): New @set.
1933 Use it for mention of FDL in cover text.
1934 (Documentation License): Use it in @include file name.
1935
7bb764bc
JM
19362012-02-22 Joseph Myers <joseph@codesourcery.com>
1937 Roland McGrath <roland@hack.frob.com>
1938
1939 [BZ #5461]
1940 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1941 not LONG_LONG_MAX and LONG_LONG_MIN.
1942 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1943 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1944 name.
1945 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1946
6cbeae47
JM
19472012-02-22 Joseph Myers <joseph@codesourcery.com>
1948
1949 [BZ #2547]
1950 [BZ #11365]
1951 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1952 manipulate bits before adding and subtracting TWO23[sx].
1953 * math/libm-test.inc (nearbyint_test): Add more tests.
1954
fe45ce09
JM
19552012-02-22 Joseph Myers <joseph@codesourcery.com>
1956
1957 [BZ #2548]
1958 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1959 bits before adding and subtracting TWO23[sx].
1960 * math/libm-test.inc (rint_test): Add more tests.
1961 (rint_test_tonearest): Likewise.
1962 (rint_test_towardzero): Likewise.
1963 (rint_test_downward): Likewise.
1964 (rint_test_upward: Likewise.
1965
ff3b3d82
JM
19662012-02-22 Joseph Myers <joseph@codesourcery.com>
1967
1968 [BZ #10110]
1969 * include/stdc-predef.h: New file. Extracted from features.h.
1970 * include/features.h: Include stdc-predef.h.
1971 * Makefile (headers): Add stdc-predef.h.
1972 * CONFORMANCE (Compiler limitations): Update.
1973
ef0aab35
JM
19742012-02-22 Joseph Myers <joseph@codesourcery.com>
1975
1976 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1977
58639409
DM
19782012-02-21 David S. Miller <davem@davemloft.net>
1979
1980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1981 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1982
c0e70b25
DM
19832012-02-20 David S. Miller <davem@davemloft.net>
1984
1985 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1986 using a normal save/restore sequence, rather than allocating a
1987 dummy stack frame just to store a frame pointer and restore.
1988 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1989
fb06851d
JM
19902012-02-21 Joseph Myers <joseph@codesourcery.com>
1991
1992 * manual/install.texi: Fix stray word in line-wrapped comment.
1993
7a8b71c3
DM
19942012-02-20 David S. Miller <davem@davemloft.net>
1995
d510c123
DM
1996 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1997 both binutils and gcc support GOTDATA.
1998
0722d7c2
DM
1999 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2000 "rd %pc" in the PIC register setup sequences.
2001
3d2b3019
DM
2002 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2003 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2004 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2005 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2006 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2008 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2009 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2010 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2011 (SYSCALL_ERROR_HANDLER): Likewise.
2012 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2013 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2015 (SYSCALL_ERROR_HANDLER): Likewise.
2016
c80098a9
DM
2017 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2018 (HAVE_GCC_GOTDATA): New.
2019 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2020 relocation support in both binutils and gcc.
2021 * sysdeps/sparc/elf/configure: Regenerate.
2022
3a2545a0
DM
2023 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2024 * sysdeps/sparc/sparc32/elf/configure: Delete.
2025 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2026 * sysdeps/sparc/sparc64/elf/configure: Delete.
2027 * sysdeps/sparc/elf/configure.in: New file.
2028 * sysdeps/sparc/elf/configure: Generate.
2029
7a8b71c3
DM
2030 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2031 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2032 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2033 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2034 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2035
f1e86fca
JM
20362012-02-21 Joseph Myers <joseph@codesourcery.com>
2037
2038 * manual/install.texi: Do not mention specific glibc version
2039 numbers.
2040 * manual/libc.texinfo (VERSION, UPDATED): Update.
2041 (@copying): Use @copyright{} and range of years.
2042
0e7dfaef
JM
20432012-02-21 Joseph Myers <joseph@codesourcery.com>
2044
2045 [BZ #13695]
2046 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2047 [crti.S not in sysdirs] (generated): Do not append.
2048 [crti.S not in sysdirs] (omit-deps): Likewise.
2049 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2050 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2051 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2052 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2053 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2054 Likewise.
2055 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2056 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2057 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2058 * csu/defs.awk: Remove file.
2059 * sysdeps/generic/initfini.c: Likewise.
2060 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2061 variable.
2062 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2063 Likewise.
2064
599af3ca
JM
20652012-02-20 Joseph Myers <joseph@codesourcery.com>
2066
2067 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2068 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2069 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2073 <bits/epoll.h>.
2074 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2075 (__EPOLL_PACKED): Define to empty if not defined by
2076 <bits/epoll.h>.
2077 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2079 bits/epoll.h.
2080
0e499750
JM
20812012-02-20 Joseph Myers <joseph@codesourcery.com>
2082
2083 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2084 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2085 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2086 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2087 <bits/timerfd.h>.
2088 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2090 bits/timerfd.h.
2091
5ad91f6e
JM
20922012-02-20 Joseph Myers <joseph@codesourcery.com>
2093
2094 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2095 in C locale.
2096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2097 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2098 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2100
06b99b02
AJ
21012012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2102
2103 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2104 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2105
7638c0fd
AS
21062012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2107
2108 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2109 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2110 defined.
2111 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2112 Likewise.
2113 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2114 entry for 2.16.
2115
92221550
AJ
21162012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2117
2118 * math/w_acos.c: Use non-signaling floating-point comparisons.
2119 * math/w_acosf.c: Likewise.
2120 * math/w_acosh.c: Likewise.
2121 * math/w_acoshf.c: Likewise.
2122 * math/w_acoshl.c: Likewise.
2123 * math/w_acosl.c: Likewise.
2124 * math/w_asin.c: Likewise.
2125 * math/w_asinf.c: Likewise.
2126 * math/w_asinl.c: Likewise.
2127 * math/w_atanh.c: Likewise.
2128 * math/w_atanhf.c: Likewise.
2129 * math/w_atanhl.c: Likewise.
2130 * math/w_exp2.c: Likewise.
2131 * math/w_exp2f.c: Likewise.
2132 * math/w_exp2l.c: Likewise.
2133 * math/w_j0.c: Likewise.
2134 * math/w_j0f.c: Likewise.
2135 * math/w_j0l.c: Likewise.
2136 * math/w_j1.c: Likewise.
2137 * math/w_j1f.c: Likewise.
2138 * math/w_j1l.c: Likewise.
2139 * math/w_jn.c: Likewise.
2140 * math/w_jnf.c: Likewise.
2141 * math/w_log.c: Likewise.
2142 * math/w_log10.c: Likewise.
2143 * math/w_log10f.c: Likewise.
2144 * math/w_log10l.c: Likewise.
2145 * math/w_log2.c: Likewise.
2146 * math/w_log2f.c: Likewise.
2147 * math/w_log2l.c: Likewise.
2148 * math/w_logf.c: Likewise.
2149 * math/w_logl.c: Likewise.
2150 * math/w_sqrt.c: Likewise.
2151 * math/w_sqrtf.c: Likewise.
2152 * math/w_sqrtl.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2155 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2156 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2157 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2158
ebaf36eb
JM
21592012-02-19 Joseph Myers <joseph@codesourcery.com>
2160
2161 [BZ #9739]
2162 * manual/string.texi (strnlen): Use correct parameter name in
2163 equivalent expression.
2164
71c254a6
JM
21652012-02-19 Joseph Myers <joseph@codesourcery.com>
2166
2167 [BZ #11174]
2168 * manual/users.texi (seteuid): Consistently use neweuid for
2169 argument name.
2170
16d2c631
JM
21712012-02-19 Joseph Myers <joseph@codesourcery.com>
2172
2173 [BZ #13704]
2174 * manual/nss.texi (Services in the NSS configuration): Correct
2175 list of services in example configuration file.
2176
cd837b09
NB
21772012-02-19 Nick Bowler <nbowler@draconx.ca>
2178
2179 [BZ #11322]
2180 * manual/arith.texi: Remove statements about negative zero
2181 behaving identically to zero.
2182
02c4bbad
JM
21832012-02-18 Joseph Myers <joseph@codesourcery.com>
2184
2185 [BZ #5993]
2186 * manual/install.texi: Do not document upgrading from libc5.
2187
366842e7
JM
21882012-02-18 Joseph Myers <joseph@codesourcery.com>
2189
2190 [BZ #4596]
2191 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2192
dd54084d
DM
21932012-02-18 David S. Miller <davem@davemloft.net>
2194
2195 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2196 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2197 %o7 across the call.
2198 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2199 instead.
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2201 SETUP_PIC_REG_LEAF.
2202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2203 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2204 * sysdeps/sparc/crtn.S: Likewise.
2205
2bcc53a3
UD
22062012-02-17 Ulrich Drepper <drepper@gmail.com>
2207
2208 * aout/Makefile: Remove.
2209
09c093b5
RK
22102012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2211
2212 [BZ #13058]
2213 * manual/examples/argp-ex1.c (main): Format definition in GNU
2214 style.
2215 * manual/examples/argp-ex2.c (main): Likewise.
2216 * manual/examples/argp-ex3.c (main): Likewise.
2217 * manual/examples/argp-ex4.c (main): Likewise.
2218 * manual/examples/longopt.c (main): Use new-style prototype
2219 definition.
2220 * manual/examples/strncat.c (main): Specify return type and use
2221 (void) for arguments.
2222 * manual/examples/subopt.c (main): Use char **argv argument.
2223
2ee633a2
JM
22242012-02-17 Joseph Myers <joseph@codesourcery.com>
2225
2226 [BZ #5077]
2227 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2228 rounding modes.
2229
0520adde
FB
22302012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2231
2232 [BZ #6907]
2233 * manual/string.texi (strchr): Change when strchrnul is
2234 recommended.
2235
3f4081cd
DGM
22362012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2237
2238 [BZ #174]
2239 * manual/locale.texi (setlocale): Document LOCPATH.
2240
d1b10e78
JM
22412012-02-17 Joseph Myers <joseph@codesourcery.com>
2242
2243 [BZ #10210]
2244 * manual/process.texi (execle): Move @dots{} before last argument.
2245
79c6869c
PB
22462012-02-17 Paul Bolle <pebolle@tiscali.nl>
2247
2248 [BZ #12047]
2249 * manual/charset.texi (Generic Charset Conversion): Fix typo
2250 (LC_TYPE -> LC_CTYPE).
2251
cc6e48bc
NB
22522012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2253
2254 [BZ #5805]
2255 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2256 (scalbnf): Likewise.
2257 (scalbnl): Likewise.
2258 (scalbln): Likewise.
2259 (scalblnf): Likewise.
2260 (scalblnl): Likewise.
2261 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2262 (vwarnx): Likewise.
2263 (verr): Likewise.
2264 (verrx): Likewise.
2265 * manual/filesys.texi (telldir): Use braces around return type.
2266 * manual/llio.texi (mmap): Add space after comma.
2267 (mmap64): Likewise.
2268 * manual/math.texi (jn): Use @var{} on parameter names.
2269 (jnf): Likewise.
2270 (jnl): Likewise.
2271 (yn): Likewise.
2272 (ynf): Likewise.
2273 (ynl): Likewise.
2274 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2275 line.
2276 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2277 "...".
2278 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2279 (sched_get_priority_max): Likewise.
2280 * manual/signal.texi (sigvec): Add space after comma.
2281 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2282 names.
2283 (if_indextoname): Likewise.
2284 (if_freenameindex): Likewise.
2285 (sendto): Use ',' instead of '.' in prototype.
2286 * manual/startup.texi (syscall): Use @dots{} instead of literal
2287 "...".
2288 * manual/stdio.texi (__fpending): Separate initial words of
2289 paragraph from @deftypefun line.
2290 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2291 "...".
2292 (vsyslog): Use @var{} on parameter names.
2293 * manual/terminal.texi (stty): Use @var{} on parameter names.
2294 * manual/users.texi (getutmp): Use @var{} on parameter names.
2295 (getutmpx): Likewise.
2296
5b23062f
JM
22972012-02-17 Joseph Myers <joseph@codesourcery.com>
2298
2299 [BZ #6884]
2300 * manual/stdio.texi (fopen): Fix typos in description of
2301 ",ccs=STRING".
2302
8dee4833
AJ
23032012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2304
2305 [BZ #4026]
2306 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2307 get clock_id definition.
2308
9078ce93
TS
23092012-02-17 Thomas Schwinge <thomas@schwinge.name>
2310
2311 [BZ #4822]
2312 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2313 (madvise): Cast every argument to void on its own.
2314
3835c55f
JM
23152012-02-17 Joseph Myers <joseph@codesourcery.com>
2316
2317 [BZ #9902]
2318 * manual/startup.texi (Exit Status): Fix typo.
2319
35c47e37
JM
23202012-02-17 Joseph Myers <joseph@codesourcery.com>
2321
2322 [BZ #10140]
2323 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2324 * manual/examples/argp-ex2.c: Likewise.
2325 * manual/examples/argp-ex3.c: Likewise.
2326
e3b69ca7
RH
23272012-02-16 Richard Henderson <rth@redhat.com>
2328
2329 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2330 * sysdeps/s390/s390-32/initfini.c: Remove.
2331 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2332 * sysdeps/s390/s390-64/initfini.c: Remove.
2333
df83af67
KK
23342012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2335
2336 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2337 compiler output for sysdeps/generic/initfini.c.
2338 * sysdeps/sh/elf/initfini.c: Remove file.
2339
f63f3380
DM
23402012-02-16 David S. Miller <davem@davemloft.net>
2341
fb59b3a4
DM
2342 [BZ #11494]
2343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2344
f63f3380
DM
2345 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2346 * sysdeps/sparc/crti.S: New file.
2347 * sysdeps/sparc/crtn.S: New file.
2348 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2349 * sysdeps/sparc/sparc64/Makefile: Likewise.
2350
df6a4a4a
MF
23512012-02-15 Mike Frysinger <vapier@gentoo.org>
2352
6dd8f3dc 2353 [BZ #3335]
df6a4a4a
MF
2354 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2355
1cac7236
RM
23562012-02-15 Roland McGrath <roland@hack.frob.com>
2357
d2c736f8
RM
2358 [BZ #4822]
2359 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2360
1cac7236
RM
2361 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2362 (write, read, close): Likewise.
2363 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2364
8e475601
JM
23652012-02-15 Joseph Myers <joseph@codesourcery.com>
2366
2367 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2368 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2369 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2370 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2371 <bits/signalfd.h>.
2372 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2374 bits/signalfd.h.
2375
ed656b40
MP
23762012-02-14 Marek Polacek <polacek@redhat.com>
2377
2378 * sysdeps/x86_64/crti.S: New file.
2379 * sysdeps/x86_64/crtn.S: New file.
2380 * sysdeps/x86_64/elf/initfini.c: Remove file.
2381
2a979d3a
JM
23822012-02-13 Joseph Myers <joseph@codesourcery.com>
2383
2384 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2385 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2386 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2387 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2388 <bits/inotify.h>.
2389 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2391 bits/inotify.h.
2392
2a418ac3
JM
23932012-02-13 Joseph Myers <joseph@codesourcery.com>
2394
2395 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2396 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2397 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2398 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2399 <bits/eventfd.h>.
2400 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2402 bits/eventfd.h.
2403
fb779be7
TS
24042012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2405
e19e83c5
RM
2406 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2407 __feraiseexcept instead of feraiseexcept.
7c35ffed 2408
fb779be7
TS
2409 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2410 nanosleep invocations.
2411 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2412 strings, and add error checking for a nanosleep invocations.
2413
59ba27a6
PE
24142012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2415
2416 Replace FSF snail mail address with URLs, as per GNU coding standards.
2417 Most of the snail mail addresses were wrong anyway, and omitting
2418 them makes the source code easier to maintain. Almost all of the
2419 changes are to license notices and to locale LC_IDENTIFICATION
2420 addresses, except for this one:
2421 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2422 not its snail mail address.
2423
57b957eb
RH
24242012-02-09 Richard Henderson <rth@twiddle.net>
2425
af850b1c
RH
2426 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2427 of kernel-features.h.
2428
57b957eb
RH
2429 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2430
6b73181a
MP
24312012-02-08 Marek Polacek <polacek@redhat.com>
2432
2433 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2434 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2435 * sysdeps/gnu/_G_config.h: Likewise.
2436 * sysdeps/generic/_G_config.h: Likewise.
2437
26ecc33a
AS
24382012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2439
6c6dbc63
AS
2440 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2441 tests.
2442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2443
e216c012
AS
2444 * sysdeps/powerpc/powerpc32/crti.S: New file.
2445 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2446 * sysdeps/powerpc/powerpc64/crti.S: New file.
2447 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2448
26ecc33a
AS
2449 * Makeconfig (have-initfini): Don't set.
2450 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2451 * configure.in (nopic_initfini): Don't substitute.
2452 * config.h.in (HAVE_INITFINI): Don't #undef.
2453 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2454 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2455
3add8e13
JM
24562012-02-08 Joseph Myers <joseph@codesourcery.com>
2457
2458 Support crti.S and crtn.S provided directly by architectures.
2459 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2460 [crti.S in sysdirs] (omit-deps): Likewise.
2461 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2462 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2463 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2464 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2465 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2466 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2467 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2468 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2469 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2470 compiler output for sysdeps/generic/initfini.c.
2471 * sysdeps/i386/elf/Makefile: Remove file.
2472 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2473
a22f12b4
MP
24742012-02-07 Marek Polacek <polacek@redhat.com>
2475
2476 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2477 * sysdeps/gnu/_G_config.h: Likewise.
2478 * sysdeps/mach/hurd/_G_config.h: Likewise.
2479
148cf100
MP
24802012-02-07 Marek Polacek <polacek@redhat.com>
2481
2482 * math/Makefile (tests): Add tst-CMPLX2.
2483 * math/tst-CMPLX2.c: New file.
2484
cfdc0dd7
AS
24852012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2486
84ba42c4
AS
2487 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2488
cfdc0dd7
AS
2489 * math/libm-test.inc (jn_test): Add missing L suffix.
2490
622c86f4
MP
24912012-02-06 Marek Polacek <polacek@redhat.com>
2492
2493 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2494 * sysdeps/i386/fpu/e_powf.S: Likewise.
2495 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2496 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2497 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2498 * sysdeps/i386/fpu/e_pow.S: Likewise.
2499 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2500 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2501 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2502 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2503 * sysdeps/i386/fpu/e_log2.S: Likewise.
2504 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2505 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2506 * sysdeps/i386/fpu/e_powl.S: Likewise.
2507 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2508 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2509 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2510 * sysdeps/i386/fpu/e_logl.S: Likewise.
2511 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2512 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2513 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2514 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2515 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2516 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2517 * sysdeps/i386/fpu/e_log.S: Likewise.
2518 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2519 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2520 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2521 * sysdeps/i386/fpu/e_logf.S: Likewise.
2522 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2524 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2525 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2526 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2527 * sysdeps/i386/fpu/e_log10.S: Likewise.
2528 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2529 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2530 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2531 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2533 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2534 * sysdeps/i386/asm-syntax.h: Likewise.
2535 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2536 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2537 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2538 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2539 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2540 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2541 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2542 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2543 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2544 * sysdeps/powerpc/sysdep.h: Likewise.
2545 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2546 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2547
d4a54ac6
JM
25482012-02-06 Joseph Myers <joseph@codesourcery.com>
2549
2550 [BZ #411]
2551 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2552
314054ea
JM
25532012-02-06 Joseph Myers <joseph@codesourcery.com>
2554
2555 * sysdeps/i386/sysdep.h: Include <features.h>.
2556 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2557 version.
2558
d8e0ca50
JM
25592012-02-05 Joseph Myers <joseph@codesourcery.com>
2560
2561 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2562 Define.
2563 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2564 LOAD_PIC_REG_STR.
2565
b1da7dd9
JM
25662012-02-03 Joseph Myers <joseph@codesourcery.com>
2567
2568 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2569 (SETUP_PIC_REG): Use GET_PC_THUNK.
2570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2571 macro.
2572
9a1d9254
JM
25732012-02-03 Joseph Myers <joseph@codesourcery.com>
2574
2575 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2576 for non-PIC compilation.
2577 (SETUP_PIC_REG): Add .p2align directive.
2578 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2579 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2580 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2581 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2583 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2584 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2585 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2586 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2587 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2588 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2589 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2590 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2591 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2592 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2593 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2594 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2595 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2596 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2597 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2598 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2599 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2600 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2601 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2602 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2603 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2604 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2605 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2606 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2607 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2608 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2609 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2610 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2611 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2612 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2613 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2614 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2615 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2616 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2617 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2618 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2619
65dc3b75
JM
26202012-02-03 Joseph Myers <joseph@codesourcery.com>
2621
2622 * math/tst-CMPLX.c: Include <stdio.h>.
2623
d55bf177
JM
26242012-01-31 Joseph Myers <joseph@codesourcery.com>
2625
2626 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2627 float.
2628 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2629 * sysdeps/sparc/bits/mathdef.h: Likewise.
2630
69db4f8f
MP
26312012-01-31 Marek Polacek <polacek@redhat.com>
2632
2633 * libio/libio.h: Don't define _PARAMS.
2634 * locale/programs/config.h: Don't define PARAMS.
2635 * stdlib/strtol_l.c: Likewise.
2636 (__strtol_l): Remove PARAMS from the prototype.
2637
41b81892
UD
26382012-01-31 Ulrich Drepper <drepper@gmail.com>
2639
3b49edc0
UD
2640 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2641 names. Just use the correct names. Remove unnecessary wrapper
2642 functions.
2643 * malloc/arena.c: Likewise.
2644 * malloc/hooks.c: Likewise.
2645
41b81892
UD
2646 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2647 ARENA_TEST says not to. Simplify test for creation of a new arena.
2648 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2649
27a25b6e
UD
26502012-01-30 Ulrich Drepper <drepper@gmail.com>
2651
2652 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2653 into tail calls.
2654 (update_get_addr): New function.
2655 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2656 GET_ADDR_MODULE parameter.
2657
c8a89e7d
JM
26582012-01-30 Joseph Myers <joseph@codesourcery.com>
2659
2660 * crypt/cert.c: Remove __STDC__ conditionals.
2661 * crypt/crypt-entry.c: Likewise.
2662 * crypt/crypt_util.c: Likewise.
2663 * libio/filedoalloc.c: Likewise.
2664 * libio/fileops.c: Likewise.
2665 * libio/genops.c: Likewise.
2666 * libio/iofclose.c: Likewise.
2667 * libio/iofdopen.c: Likewise.
2668 * libio/iofopen.c: Likewise.
2669 * libio/iofopen64.c: Likewise.
2670 * libio/iogetdelim.c: Likewise.
2671 * libio/iopopen.c: Likewise.
2672 * libio/obprintf.c: Likewise.
2673 * libio/oldfileops.c: Likewise.
2674 * libio/oldiofclose.c: Likewise.
2675 * libio/oldiofdopen.c: Likewise.
2676 * libio/oldiofopen.c: Likewise.
2677 * libio/oldiopopen.c: Likewise.
2678 * libio/wfiledoalloc.c: Likewise.
2679 * libio/wgenops.c: Likewise.
2680 * locale/programs/xmalloc.c: Likewise.
2681 * misc/syslog.c: Likewise.
2682 * stdio-common/xbug.c: Likewise.
2683 * string/memchr.c: Likewise.
2684 * string/memcmp.c: Likewise.
2685 * string/memrchr.c: Likewise.
2686 * string/rawmemchr.c: Likewise.
2687 * sysdeps/posix/getcwd.c: Likewise.
2688 * time/strftime_l.c: Likewise.
2689
3b100462
JM
26902012-01-30 Joseph Myers <joseph@codesourcery.com>
2691
2692 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2693 * config.make.in (config-cflags-sse2avx): Define.
2694 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2695 Fix typo.
2696
607998af
CM
26972012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2698
2699 * scripts/config.guess: Update from upstream config git repository.
2700 * scripts/config.sub: Likewise.
2701
3601428f
CM
27022012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2703
3ac8b282
CM
2704 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2705 (EM_NUM): Update.
2706 (R_TILEPRO_*, R_TILEGX_*): New macros.
2707
e034841e
CM
2708 * scripts/firstversions.awk: Fix bug in version range handling.
2709
540d7568
CM
2710 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2711
3601428f
CM
2712 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2713
463de862
CM
2714 * include/sys/epoll.h: New file.
2715 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2716 libc_hidden_def.
2717
73139a76
UD
27182012-01-28 Ulrich Drepper <drepper@gmail.com>
2719
96bc5b45
UD
2720 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2721 Avoid unnecessary __WORDSIZE == 64 test.
2722 (fmaxf): Use VEX format if possible.
2723 (fmax): Likewise.
2724 (fminf): Likewise.
2725 (fmin): Likewise.
2726
56f6f6a2
UD
2727 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2728 * math/math_private.h: Remove libc_fegetround* and
2729 libc_fesetround*.
2730 * sysdeps/i386/configure.in: Check for -msse2avx.
2731 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2732 also if SSE2AVX is defined.
2733 Remove libc_fegetround* and libc_fesetround*.
2734 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2735 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2736 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2737 of HAS_YMM_USABLE.
2738 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2739 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2740 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2741 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2742 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2743
73139a76
UD
2744 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2745
d73f93a4
AZ
27462012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2747
2748 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2749 size is not set.
2750 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2751
6ee65ed6
UD
27522012-01-27 Ulrich Drepper <drepper@gmail.com>
2753
2754 [BZ #13618]
2755 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2756 relocation.
2757 * Makeconfig (libm): Define.
2758 * elf/Makefile: Add rules to build and run tst-relsort1.
2759 * elf/tst-relsort1.c: New file.
2760 * elf/tst-relsort1mod1.c: New file.
2761 * elf/tst-relsort1mod2.c: New file.
2762
8db21882
JM
27632012-01-27 Joseph Myers <joseph@codesourcery.com>
2764
2765 * math/s_ldexp.c: Remove __STDC__ conditionals.
2766 * math/s_ldexpf.c: Likewise.
2767 * math/s_ldexpl.c: Likewise.
2768 * math/s_nextafter.c: Likewise.
2769 * math/s_nexttowardf.c: Likewise.
2770 * math/s_significand.c: Likewise.
2771 * math/s_significandf.c: Likewise.
2772 * math/s_significandl.c: Likewise.
2773 * math/w_jnl.c: Likewise.
2774 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2775 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2776 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2777 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2778 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2793 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2794 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2795 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2796 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2797 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2798 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2799 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2800 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2801 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2802 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2803 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2804 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2805 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2806 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2807 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2808 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2809 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2810 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2811 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2812 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2813 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2814 * sysdeps/ieee754/k_standard.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2841 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2844 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2846 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2848 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2849 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2851 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2852 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2874 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2875 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2876 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2881 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2884 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2890 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2894 * sysdeps/ieee754/s_matherr.c: Likewise.
2895 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2896 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2899
965a54a4
JM
29002012-01-26 Joseph Myers <joseph@codesourcery.com>
2901
2902 * crypt/md5.h: Remove __STDC__ conditionals.
2903 * libio/libioP.h: Likewise.
2904 * locale/programs/config.h: Likewise.
2905 * sysdeps/generic/sysdep.h: Likewise.
2906 * sysdeps/i386/asm-syntax.h: Likewise.
2907 * sysdeps/s390/asm-syntax.h: Likewise.
2908 * sysdeps/unix/sysdep.h: Likewise.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2911
7071ad79
JM
29122012-01-26 Joseph Myers <joseph@codesourcery.com>
2913
2914 * libio/libio.h: Remove __STDC__ conditionals.
2915 * malloc/obstack.h: Likewise.
2916 * math/complex.h: Likewise.
2917 * math/math.h: Likewise.
2918 * sysdeps/generic/_G_config.h: Likewise.
2919 * sysdeps/gnu/_G_config.h: Likewise.
2920 * sysdeps/mach/hurd/_G_config.h: Likewise.
2921 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2922 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2923 * sysdeps/sparc/bits/mathdef.h: Likewise.
2924
afc5ed09
UD
29252012-01-26 Ulrich Drepper <drepper@gmail.com>
2926
2927 [BZ #13583]
2928 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2929 Clean up HAS_* macros.
afc5ed09 2930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2931 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2932 possible.
2933 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2934 HAS_AVX.
2935 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2936 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2937 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2938 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2939 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2940
bdb6de1d
JM
29412012-01-25 Joseph Myers <joseph@codesourcery.com>
2942
2943 * elf/tst-unique3.cc (gets): Remove declaration.
2944 * elf/tst-unique3lib.cc (gets): Likewise.
2945 * elf/tst-unique3lib2.cc (gets): Likewise.
2946 * elf/tst-unique4.cc (gets): Likewise.
2947
b15549e6
UD
29482012-01-24 Ulrich Drepper <drepper@gmail.com>
2949
2950 * include/stdio.h: Add C++ protection. Add gets declarations and
2951 definitions.
2952 * debug/tst-chk1.c: Don't declare gets here.
2953 * stdio-common/tst-gets.c: Likewise.
2954
a037381f
JM
29552012-01-24 Joseph Myers <joseph@codesourcery.com>
2956
2957 * posix/glob: Remove directory.
2958
f1d4aa75
JM
29592012-01-24 Joseph Myers <joseph@codesourcery.com>
2960
2961 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2962
81c0c964
PT
29632012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2964
2965 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2966 of the non-standard EPFNOSUPPORT.
2967
0ea698ae
ST
29682011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2969
2970 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2971 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2972 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2973
d220b117
UD
29742012-01-21 Ulrich Drepper <drepper@gmail.com>
2975
2976 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2977
3e1aa84e
UD
29782012-01-20 Ulrich Drepper <drepper@gmail.com>
2979
2980 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2981 transient errors.
2982 * nscd/grpcache.c (cache_addgr): Likewise.
2983 * nscd/hstcache.c (cache_addhst): Likewise.
2984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2985 * nscd/pwdcache.c (cache_addpw): Likewise.
2986 * nscd/servicescache.c (cache_addserv): Likewise.
2987
400aa020
UD
29882012-01-16 Ulrich Drepper <drepper@gmail.com>
2989
d77e7869
UD
2990 * malloc/malloc.c: Various cleanups.
2991 * malloc/hooks.c: Likewise.
2992
400aa020
UD
2993 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2994 * stdlib/bug-fmtmsg1.c: New file.
2995
2996 * stdlib/fmtmsg.c (init): Add missing unlock.
2997 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2998
e0a309cf
MP
29992012-01-12 Marek Polacek <polacek@redhat.com>
3000
3001 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3002 and _GNU_SOURCE.
3003
929d11c7
WS
30042012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3005
3006 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3007 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3008 macro to ensure uniqueness of label name.
3009 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3010 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3011
41d0e869
UD
30122012-01-11 Ulrich Drepper <drepper@gmail.com>
3013
0cc5ed3b
UD
3014 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3015
41d0e869
UD
3016 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3017 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3018 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3020
a47a831a
UD
30212012-01-10 Ulrich Drepper <drepper@gmail.com>
3022
daa891c0
UD
3023 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3024
3025 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3026 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3027 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3028
e58ef0f2
UD
3029 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3030
a47a831a 3031 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3032 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3033 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3035
3036 * math/bits/math-finite.h: Add ldexp support.
3037
a0bfc9c7
MP
30382012-01-10 Marek Polacek <polacek@redhat.com>
3039
3040 * locale/programs/localedef.h (show_archive_content): Add noreturn
3041 attribute.
3042
d6e97a1d
UD
30432012-01-09 Ulrich Drepper <drepper@gmail.com>
3044
3045 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3046
d5835c26
UD
30472012-01-08 Ulrich Drepper <drepper@gmail.com>
3048
e5f484c6
UD
3049 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3050
d5835c26
UD
3051 * io/Makefile (headers): Add bits/poll2.h.
3052
d1f741e9
WS
30532011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3054
3055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3056 typo #include statement.
3057
ec09c1c4
UD
30582012-01-08 Ulrich Drepper <drepper@gmail.com>
3059
3060 * include/sys/cdefs.h: Define __attribute_alloc_size.
3061 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3062 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3063 * elf/pldd.c: Likewise.
3064 * iconv/iconv_charmap.c: Likewise.
3065 * iconv/iconvconfig.c: Likewise.
3066 * iconv/strtab.c: Likewise.
3067 * locale/programs/locale.c: Likewise.
3068 * locale/programs/localedef.h: Likewise.
3069 * locale/programs/simple-hash.c: Likewise.
3070 * nscd/nscd.h: Likewise.
3071 * nss/makedb.c: Likewise.
3072 * sysdeps/generic/ldconfig.h: Likewise.
3073 * locale/programs/localedef.c: Remove xmalloc prototype.
3074 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3075
20b38e03
PP
30762012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3077
3078 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3079 appropriate.
3080
a0da5fe1
UD
30812012-01-08 Ulrich Drepper <drepper@gmail.com>
3082
1d5a644a 3083 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3084 * math/tst-CMPLX.c: New file.
1d5a644a 3085
8784a6db
UD
3086 * math/complex.h (CMPLXL): Fix typo.
3087
d9a216c0
UD
3088 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3089 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3090 GLIBC_2.16.
3091 * debug/tst-chk1.c: Add poll and ppoll tests.
3092 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3093 * include/sys/poll.h: Add hidden proto for ppoll.
3094 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3095 * sysdeps/mach/hurd/ppoll.c: Likewise.
3096 * io/ppoll.c: Likewise.
3097 * debug/poll_chk.c: New file.
3098 * debug/ppoll_chk.c: New file.
3099 * include/bits/poll2.h: New file.
3100 * io/bits/poll2.h: New file.
3101
ac097f5c
UD
3102 [BZ #1350]
3103 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3104
2119dcfa
UD
3105 * configure.in: static is always set to yes. Remove.
3106 * config.make.in: Don't set build-static.
3107 * Makeconfig: Remove use of build-static.
3108 * dlfcn/Makefile: Likewise.
3109 * elf/Makefile: Likewise.
3110 * math/Makefile: Likewise.
3111 * misc/Makefile: Likewise.
3112 * nptl/Makefile: Likewise.
3113 * sysdeps/mach/hurd/Makefile: Likewise.
3114
121766a9
UD
3115 * configure.in: PWD_P is not used anymore.
3116 * config.make.in: Remove PWD_P entry.
3117
51a1d39c 3118 * configure.in: Remove last remnants of RANLIB.
8720d066 3119 No need to check for signed size_t anymore.
215f4bdc
UD
3120 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3121 and IA-64.
3857022a 3122 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3123 * aclocal.m4: Likewise.
3124
d3ed7225
UD
3125 * wcsmbs/mbrtoc16.c: Implement using towc function.
3126 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3127 * wcsmbs/wcsmbsload.c: Likewise.
3128 * iconv/gconv_simple.c: Likewise.
3129 * iconv/gconv_int.h: Likewise.
3130 * iconv/gconv_builtin.h: Likewise.
3131 * iconv/iconv_prog.c: Remove CHAR16 handling.
3132
3133 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3134
3135 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3136
a0da5fe1
UD
3137 * configure.in: Remove --with-elf and --enable-bounded options.
3138 Dont set base_machine for ia64. More non-ELF conditions removed.
3139 Remove testing and setting of leading underscore information.
3140 * config.make.in (build-bounded): Set to no.
3141 * config.h.in: Remove NO_UNDERSCORES entry.
3142 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3143 them.
3144 * csu/start.c: Remove !NO_UNDERSCORE code.
3145 * locale/localeinfo.h: Likewise.
3146 * sysdeps/generic/machine-gmon.h: Likewise.
3147 * sysdeps/generic/sysdep.h: Likewise.
3148 * sysdeps/i386/sysdep.h: Likewise.
3149 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3150 * sysdeps/mach/sysdep.h: Likewise.
3151 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3152 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3153 * sysdeps/sh/sysdep.h: Likewise.
3154 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3155 * sysdeps/unix/i386/sysdep.S: Likewise.
3156 * sysdeps/unix/sparc/start.c: Likewise.
3157 * sysdeps/unix/sparc/sysdep.S: Likewise.
3158 * sysdeps/unix/sparc/sysdep.h: Likewise.
3159 * sysdeps/unix/start.c: Likewise.
3160 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3161 * sysdeps/x86_64/sysdep.h: Likewise.
3162
df78418a
UD
31632012-01-07 Ulrich Drepper <drepper@gmail.com>
3164
a784e502
UD
3165 [BZ #13553]
3166 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3167 for non-gcc.
3168 * argp/argp-fmtstream.h: Use const instead __const.
3169 * argp/argp.h: Likewise.
3170 * assert/assert.h: Likewise.
3171 * bits/fenv.h: Likewise.
3172 * bits/sched.h: Likewise.
3173 * bits/sigset.h: Likewise.
3174 * bits/sigthread.h: Likewise.
3175 * catgets/nl_types.h: Likewise.
3176 * conform/data/pthread.h-data: Likewise.
3177 * crypt/crypt-private.h: Likewise.
3178 * crypt/crypt.h: Likewise.
3179 * crypt/crypt_util.c: Likewise.
3180 * ctype/ctype.h: Likewise.
3181 * debug/execinfo.h: Likewise.
3182 * debug/mbsnrtowcs_chk.c: Likewise.
3183 * debug/mbsrtowcs_chk.c: Likewise.
3184 * debug/wcsnrtombs_chk.c: Likewise.
3185 * debug/wcsrtombs_chk.c: Likewise.
3186 * debug/wcstombs_chk.c: Likewise.
3187 * dirent/dirent.h: Likewise.
3188 * dlfcn/dlfcn.h: Likewise.
3189 * elf/neededtest4.c: Likewise.
3190 * grp/grp.h: Likewise.
3191 * gshadow/gshadow.h: Likewise.
3192 * iconv/gconv.h: Likewise.
3193 * iconv/gconv_int.h: Likewise.
3194 * iconv/gconv_simple.c: Likewise.
3195 * iconv/iconv.h: Likewise.
3196 * iconv/loop.c: Likewise.
3197 * iconv/skeleton.c: Likewise.
3198 * include/aio.h: Likewise.
3199 * include/aliases.h: Likewise.
3200 * include/argz.h: Likewise.
3201 * include/arpa/inet.h: Likewise.
3202 * include/assert.h: Likewise.
3203 * include/dirent.h: Likewise.
3204 * include/dlfcn.h: Likewise.
3205 * include/execinfo.h: Likewise.
3206 * include/fcntl.h: Likewise.
3207 * include/fenv.h: Likewise.
3208 * include/glob.h: Likewise.
3209 * include/grp.h: Likewise.
3210 * include/libintl.h: Likewise.
3211 * include/mntent.h: Likewise.
3212 * include/netdb.h: Likewise.
3213 * include/pwd.h: Likewise.
3214 * include/rpc/netdb.h: Likewise.
3215 * include/sched.h: Likewise.
3216 * include/search.h: Likewise.
3217 * include/shadow.h: Likewise.
3218 * include/signal.h: Likewise.
3219 * include/stdio.h: Likewise.
3220 * include/stdlib.h: Likewise.
3221 * include/string.h: Likewise.
3222 * include/sys/socket.h: Likewise.
3223 * include/sys/stat.h: Likewise.
3224 * include/sys/statfs.h: Likewise.
3225 * include/sys/statvfs.h: Likewise.
3226 * include/sys/syslog.h: Likewise.
3227 * include/sys/time.h: Likewise.
3228 * include/sys/uio.h: Likewise.
3229 * include/time.h: Likewise.
3230 * include/unistd.h: Likewise.
3231 * include/utmp.h: Likewise.
3232 * include/wchar.h: Likewise.
3233 * include/wctype.h: Likewise.
3234 * inet/aliases.h: Likewise.
3235 * inet/arpa/inet.h: Likewise.
3236 * inet/netinet/ether.h: Likewise.
3237 * inet/netinet/in.h: Likewise.
3238 * intl/libintl.h: Likewise.
3239 * io/bits/fcntl2.h: Likewise.
3240 * io/fcntl.h: Likewise.
3241 * io/ftw.h: Likewise.
3242 * io/sys/poll.h: Likewise.
3243 * io/sys/stat.h: Likewise.
3244 * io/sys/statfs.h: Likewise.
3245 * io/sys/statvfs.h: Likewise.
3246 * io/utime.h: Likewise.
3247 * libio/bits/stdio.h: Likewise.
3248 * libio/bits/stdio2.h: Likewise.
3249 * libio/libio.h: Likewise.
3250 * libio/libioP.h: Likewise.
3251 * libio/stdio.h: Likewise.
3252 * locale/lc-ctype.c: Likewise.
3253 * locale/locale.h: Likewise.
3254 * login/utmp.h: Likewise.
3255 * malloc/arena.c: Likewise.
3256 * malloc/malloc.c: Likewise.
3257 * malloc/malloc.h: Likewise.
3258 * malloc/mcheck.c: Likewise.
3259 * malloc/mtrace.c: Likewise.
3260 * math/bits/mathcalls.h: Likewise.
3261 * math/fenv.h: Likewise.
3262 * math/math_private.h: Likewise.
3263 * misc/bits/error.h: Likewise.
3264 * misc/bits/syslog.h: Likewise.
3265 * misc/err.h: Likewise.
3266 * misc/error.h: Likewise.
3267 * misc/fstab.h: Likewise.
3268 * misc/mntent.h: Likewise.
3269 * misc/regexp.h: Likewise.
3270 * misc/search.h: Likewise.
3271 * misc/sgtty.h: Likewise.
3272 * misc/sys/mman.h: Likewise.
3273 * misc/sys/syslog.h: Likewise.
3274 * misc/sys/uio.h: Likewise.
3275 * misc/sys/xattr.h: Likewise.
3276 * misc/ttyent.h: Likewise.
3277 * nis/rpcsvc/ypclnt.h: Likewise.
3278 * nss/nss.h: Likewise.
3279 * posix/bits/unistd.h: Likewise.
3280 * posix/fnmatch.h: Likewise.
3281 * posix/glob.h: Likewise.
3282 * posix/sched.h: Likewise.
3283 * posix/spawn.h: Likewise.
3284 * posix/sys/wait.h: Likewise.
3285 * posix/unistd.h: Likewise.
3286 * posix/wordexp.h: Likewise.
3287 * pwd/pwd.h: Likewise.
3288 * resolv/netdb.h: Likewise.
3289 * resource/sys/resource.h: Likewise.
3290 * rt/aio.h: Likewise.
3291 * rt/bits/mqueue2.h: Likewise.
3292 * rt/mqueue.h: Likewise.
3293 * shadow/shadow.h: Likewise.
3294 * signal/signal.h: Likewise.
3295 * socket/send.c: Likewise.
3296 * socket/sendto.c: Likewise.
3297 * socket/sys/socket.h: Likewise.
3298 * stdio-common/printf.h: Likewise.
3299 * stdlib/bits/stdlib.h: Likewise.
3300 * stdlib/fmtmsg.h: Likewise.
3301 * stdlib/monetary.h: Likewise.
3302 * stdlib/stdlib.h: Likewise.
3303 * stdlib/ucontext.h: Likewise.
3304 * streams/stropts.h: Likewise.
3305 * string/argz.h: Likewise.
3306 * string/bits/string2.h: Likewise.
3307 * string/string.h: Likewise.
3308 * string/strings.h: Likewise.
3309 * sunrpc/rpc/auth.h: Likewise.
3310 * sunrpc/rpc/auth_des.h: Likewise.
3311 * sunrpc/rpc/clnt.h: Likewise.
3312 * sunrpc/rpc/netdb.h: Likewise.
3313 * sunrpc/rpc/pmap_clnt.h: Likewise.
3314 * sunrpc/rpc/xdr.h: Likewise.
3315 * sysdeps/generic/inttypes.h: Likewise.
3316 * sysdeps/generic/net/if.h: Likewise.
3317 * sysdeps/generic/sys/swap.h: Likewise.
3318 * sysdeps/gnu/net/if.h: Likewise.
3319 * sysdeps/gnu/utmpx.h: Likewise.
3320 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3321 * sysdeps/i386/i486/bits/string.h: Likewise.
3322 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3323 * sysdeps/s390/bits/string.h: Likewise.
3324 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3325 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3326 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3327 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3328 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3329 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3330 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3331 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3332 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3333 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3334 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3335 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3336 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3337 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3338 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3339 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3340 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3341 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3342 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3346 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3347 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3348 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3349 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3350 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3352 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3353 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3354 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3355 * sysvipc/sys/ipc.h: Likewise.
3356 * sysvipc/sys/msg.h: Likewise.
3357 * sysvipc/sys/sem.h: Likewise.
3358 * sysvipc/sys/shm.h: Likewise.
3359 * termios/termios.h: Likewise.
3360 * time/sys/time.h: Likewise.
3361 * time/time.h: Likewise.
3362 * wcsmbs/bits/wchar2.h: Likewise.
3363 * wcsmbs/uchar.h: Likewise.
3364 * wcsmbs/wchar.h: Likewise.
3365 * wctype/wctype.h: Likewise.
3366
0269750c
UD
3367 [BZ #13551]
3368 * Makeconfig: Remove all but ELF support including AIX support.
3369 * Makerules: Likewise.
3370 * config.h.in: Likewise.
3371 * config.make.in: Likewise.
3372 * configure: Likewise.
3373 * configure.in: Likewise.
3374 * csu/Makefile: Likewise.
3375 * csu/version.c: Likewise.
3376 * debug/Makefile: Likewise.
3377 * dlfcn/Makefile: Likewise.
3378 * elf/Makefile: Likewise.
3379 * extra-lib.mk: Likewise.
3380 * iconv/Makefile: Likewise.
3381 * include/libc-symbols.h: Likewise.
3382 * include/shlib-compat.h: Likewise.
3383 * resolv/Makefile: Likewise.
3384 * resolv/res_libc.c: Likewise.
3385 * rt/Makefile: Likewise.
3386 * sysdeps/i386/asm-syntax.h: Likewise.
3387 * sysdeps/i386/sysdep.h: Likewise.
3388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3389 * sysdeps/mach/sysdep.h: Likewise.
3390 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3391 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3392 * sysdeps/s390/asm-syntax.h: Likewise.
3393 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3394 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3395 * sysdeps/sh/sysdep.h: Likewise.
3396 * sysdeps/unix/sparc/sysdep.h: Likewise.
3397 * sysdeps/wordsize-32/divdi3.c: Likewise.
3398 * sysdeps/x86_64/sysdep.h: Likewise.
3399
00bbd29b
UD
3400 * argp/Versions: Remove _argp_unlock_xxx.
3401
3402 [BZ #13559]
3403 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3404 * abilist/libBrokenLocale.abilist: Likewise.
3405 * abilist/libanl.abilist: Likewise.
3406 * abilist/libc.abilist: Likewise.
3407 * abilist/libcrypt.abilist: Likewise.
3408 * abilist/libdl.abilist: Likewise.
3409 * abilist/libm.abilist: Likewise.
3410 * abilist/libnsl.abilist: Likewise.
3411 * abilist/libpthread.abilist: Likewise.
3412 * abilist/libresolv.abilist: Likewise.
3413 * abilist/librt.abilist: Likewise.
3414 * abilist/libthread_db.abilist: Likewise.
3415 * abilist/libutil.abilist: Likewise.
3416 * abilist/libnss_db.abilist: New file.
3417
3418 * scripts/abilist.awk: Add support for indirect functions.
3419
a2693a0e
UD
3420 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3421
3f05895f
UD
3422 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3423
ecb6fb48
UD
3424 * shlib-versions: Remove entries for ports architectures.
3425
664f8cb9
UD
3426 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3427 files in ports.
3428 * elf/stackguard-macros.h: Remove support for IA-64.
3429 * elf/tst-auditmod1.c: Likewise.
3430 * sysdeps/generic/ldsodefs.h: Likewise.
3431
7ae81d88
UD
3432 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3433 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3434 configure files.
3435
bdeba135
UD
3436 [BZ #13552]
3437 * configure.in: Remove --enable-omitfp support.
3438 * FAQ.in: Adjust.
3439 * config.make.in: Likewise.
3440 * Makeconfig: Likewise.
3441 * manual/install.texi: Likewise.
3442
d75a0a62
UD
3443 In case anyone cares, the IA-64 architecture could move to ports.
3444 * sysdeps/ia64/*: Removed.
3445 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3446 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3447
dcc9756b
UD
3448 [BZ #13555]
3449 * configure.in: Remove entries for unsupported architectures.
3450
d3761ebc 3451 [BZ #13533]
9954432e
UD
3452 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3453 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3454 routines.
3455 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3456 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3457 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3458 fall back to using wcrtomb.
3459 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3460 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3461 renaming.
3462 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3463 * wcsmbs/tst-c16c32-1.c: New file.
3464
3465 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3466 local variable.
3467
c3a87236
UD
3468 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3469
28926a1b
UD
3470 * elf/tst-unique3.cc: Add explicit declaration of gets.
3471 * elf/tst-unique3lib.cc: Likewise.
3472 * elf/tst-unique3lib2.cc: Likewise.
3473 * elf/tst-unique4.cc: Likewise.
3474
df78418a
UD
3475 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3476
8ecd6b2a
JM
34772012-01-06 Joseph Myers <joseph@codesourcery.com>
3478
3479 [BZ #13566]
3480 * assert/assert.h (static_assert): Don't define for C++.
3481 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3482 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3483
9f115170
UD
34842012-01-03 Ulrich Drepper <drepper@gmail.com>
3485
5e0d0300
UD
3486 * iconv/loop.c (single loop): Fix assertion in storing of
3487 remaining bytes.
3488
9f115170
UD
3489 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3490
81fb02b0
UD
34912012-01-01 Ulrich Drepper <drepper@gmail.com>
3492
3493 * posix/getconf.c: Update copyright year.
3494 * nss/getent.c: Likewise.
a316c1f6 3495 * nss/makedb.c: Likewise.
81fb02b0
UD
3496 * iconv/iconvconfig.c: Likewise.
3497 * iconv/iconv_prog.c: Likewise.
3498 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3499 * elf/pldd.c: Likewise.
3500 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3501 * catgets/gencat.c: Likewise.
3502 * csu/version.c: Likewise.
3503 * elf/ldd.bash.in: Likewise.
3504 * elf/sprof.c (print_version): Likewise.
3505 * locale/programs/locale.c: Likewise.
3506 * locale/programs/localedef.c: Likewise.
a316c1f6 3507 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3508 * nscd/nscd.c (print_version): Likewise.
3509 * debug/xtrace.sh: Likewise.
3510 * malloc/memusage.sh: Likewise.
3511 * malloc/mtrace.pl: Likewise.
3512 * debug/catchsegv.sh: Likewise.
3513
2ba92745
JJ
35142011-12-30 Jakub Jelinek <jakub@redhat.com>
3515
3516 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3517 pure attribute.
3518
dadebdae
UD
35192011-12-24 Ulrich Drepper <drepper@gmail.com>
3520
d3761ebc 3521 [BZ #13533]
db6af3eb
UD
3522 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3523 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3524 transformations.
3525 * iconv/gconv_int.h: Likewise.
3526 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3527 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3528 from libc for GLIBC_2.16.
3529 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3530 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3531 * wcsmbs/uchar.h: Really define mbstate_t.
3532 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3533 * wcsmbs/c16rtomb.c: New file.
3534 * wcsmbs/mbrtoc16.c: New file.
3535 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3536 for C/POSIX locale.
3537 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3538 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3539
dadebdae
UD
3540 * wcsmbs/wchar.h: Add missing __restrict.
3541
67371b56
UD
35422011-12-23 Ulrich Drepper <drepper@gmail.com>
3543
74033a25
UD
3544 [BZ #13532]
3545 * time/Makefile (routines): Add timespec_get.
3546 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3547 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3548 timespec for ISO C11.
3549 * time/timespec_get.c: New file.
3550 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3551 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3552
380d7e87
UD
3553 [BZ #13531]
3554 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3555 * stdlib/stdlib.h: Declare aligned_alloc.
3556 * Versions.def: Add GLIBC_2.16 for libc.
3557 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3558
4e9e7a35
UD
3559 [BZ 13527]
3560 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3561 ISO C11.
3562
380d7e87 3563 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3564 code.
3565
03a71829
UD
3566 [BZ #13528]
3567 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3568
839e283e
UD
3569 [BZ #13529]
3570 * assert/assert.h (static_assert): Define.
3571
ce5294e2 3572 * version.h: Update for 2.16 development version.
90fa7312 3573
8d44e150 3574 [BZ #13526]
d7809905
UD
3575 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3576 _ISOC11_SOURCE.
3577
c0da14cd
UD
3578 * version.h (RELEASE): Bump for 2.15 release.
3579 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3580
530a3249
MP
3581 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3582 Patch by Marek Polacek <mpolacek@redhat.com>.
3583
67371b56
UD
3584 * bits/byteswap.h: Protect long long constants with __extension__.
3585 * sysdeps/i386/bits/byteswap.h: Likewise.
3586 * sysdeps/ia64/bits/byteswap.h: Likewise.
3587 * sysdeps/s390/bits/byteswap.h: Likewise.
3588 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3589
15db4de1
LD
35902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3591
3592 [BZ #13540]
bbe315ea
LD
3593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3594 destination buffer.
15db4de1
LD
3595 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3596
2b2596b1
MP
35972011-12-23 Marek Polacek <polacek@redhat.com>
3598
3599 * elf/dl-addr.c (determine_info): Add inline keyword.
3600 * elf/tst-auditmod4b.c (check_avx): Likewise.
3601 * elf/tst-auditmod6b.c (check_avx): Likewise.
3602 * elf/tst-auditmod6c.c (check_avx): Likewise.
3603 * elf/tst-auditmod7b.c (check_avx): Likewise.
3604
70c6c246
UD
36052011-12-23 Ulrich Drepper <drepper@gmail.com>
3606
3607 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3608 !__SSE_MATH__.
3609
c044cf14
LD
36102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3611
15db4de1 3612 [BZ #13540]
c044cf14
LD
3613 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3614 processing for last bytes.
3615
6b13d9d9
BH
36162011-08-06 Bruno Haible <bruno@clisp.org>
3617
d455f537
BH
3618 [BZ #13061]
3619 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3620 U+0385, not to U+1FEE.
3621
6b13d9d9
BH
3622 [BZ #13062]
3623 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3624 entry for U+00A5 U+0301.
3625
db910efd
UD
36262011-12-22 Ulrich Drepper <drepper@gmail.com>
3627
27deeafc
UD
3628 [BZ #13166]
3629 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3630 buffer for the output is too small.
3631
aed9d171
UD
3632 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3633 optimization.
3634
db910efd
UD
3635 [BZ #13185]
3636 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3637 SSE flags if possible.
3638
2bd779ae
LD
36392011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3640
e7f9dac3 3641 [BZ #13540]
2bd779ae
LD
3642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3643 processing for last bytes.
3644
154bfc16
JM
36452011-12-22 Joseph Myers <joseph@codesourcery.com>
3646
3647 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3648 (syscall-list-default-options, syscall-list-default-condition)
3649 (syscall-list-includes): Define.
3650 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3651 list of ABIs and options and #if conditions for each ABI. Do not
3652 handle common syscalls between ABIs specially.
3653 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3654 Remove.
3655 (syscall-list-variants, syscall-list-32bit-options)
3656 (syscall-list-32bit-condition, syscall-list-64bit-options)
3657 (syscall-list-64bit-condition): Define.
3658 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3659 (syscall-list-variants, syscall-list-32bit-options)
3660 (syscall-list-32bit-condition, syscall-list-64bit-options)
3661 (syscall-list-64bit-condition): Define.
3662 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3663 Remove.
3664 (syscall-list-variants, syscall-list-32bit-options)
3665 (syscall-list-32bit-condition, syscall-list-64bit-options)
3666 (syscall-list-64bit-condition): Define.
3667 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3668 Remove.
3669 (syscall-list-variants, syscall-list-32bit-options)
3670 (syscall-list-32bit-condition, syscall-list-64bit-options)
3671 (syscall-list-64bit-condition): Define.
3672
21eaf3a5
UD
36732011-12-22 Ulrich Drepper <drepper@gmail.com>
3674
16c6f992
UD
3675 * locale/iso-639.def: Add brx entry.
3676
41043168
UD
3677 [BZ #13328]
3678 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3679 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3680
21eaf3a5
UD
3681 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3682 __feraiseexcept_renamed.
3683
e3a851a2
UD
36842011-12-21 Ulrich Drepper <drepper@gmail.com>
3685
4920765e
UD
3686 [BZ #13538]
3687 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3688 EPOLLET with unsigned values.
3689 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3690 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3691
e3a851a2
UD
3692 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3693 to large cancellation.
3694 * math/s_cacoshf.c: Likewise.
3695 * math/s_cacoshl.c: Likewise.
3696
b27e24b8
RK
36972011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3698
3699 [BZ #13305]
aebefeee 3700 [BZ #12786]
b27e24b8
RK
3701 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3702 * math/s_cacoshf.c: Likewise.
3703 * math/s_cacoshl.c: Likewise.
3704
ee190f67
UD
37052011-12-21 Ulrich Drepper <drepper@gmail.com>
3706
3707 [BZ #13439]
3708 * iconv/gconv.h: Define __GCONV_SWAP.
3709 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3710 * iconvdata/utf-16.c: Likewise.
3711 * iconvdata/utf-32.c: Likewise.
3712
707f25df
AS
37132011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3714
3715 [BZ #13524]
3716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3717 numerator after shifting it by one limb.
3718
d2daaa1e
RÁE
37192011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3720
3721 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3722 under [__USE_EXTERN_INLINES].
3723
a4647e72
UD
37242011-12-17 Ulrich Drepper <drepper@gmail.com>
3725
3726 [BZ #13446]
3727 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3728
f0b264f1
AZ
37292011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730
3731 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3732 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3733 optimized code.
3734 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3736 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3737 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3738 for strncasecmp/strncasecmp_l compilation.
3739 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3740 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3741
8ef4f244
MP
37422011-12-08 Marek Polacek <mpolacek@redhat.com>
3743
3744 [BZ #13484]
3745 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3746 of __asm__.
3747
97ac2654
UD
37482011-12-17 Ulrich Drepper <drepper@gmail.com>
3749
3750 [BZ #13506]
3751 * time/tzfile.c (__tzfile_read): Check values from file header.
3752
91d2a845
WS
37532011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3754
3755 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3756 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3757 * powerpc/powerpc32/dl-start.S: Likewise.
3758 * powerpc/powerpc32/elf/start.S: Likewise.
3759 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3760 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3761 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3762 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3763 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3764 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3765 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3766 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3767 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3768 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3769 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3770 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3771 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3772 * powerpc/powerpc32/memset.S: Likewise.
3773 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3774 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3775 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3776 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3777 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3778 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3779 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3780 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3781 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3782 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3783 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3784 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3785 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3786
a1267ba1
AZ
37872011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3788
3789 * math/libm-test.inc: Added more nearbyint tests.
3790 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3792 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3793 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3794
ad8ac1bd
RL
37952011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3796
3797 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3798 FD_CLOEXEC.
3799
1d3e4b61
UD
38002011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3801
3802 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3803 Add wcscpy-ssse3 wcscpy-c.
3804 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3805 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3806 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3807 * sysdeps/x86_64/wcschr.S: New file.
3808 * sysdeps/x86_64/wcsrchr.S: New file.
3809 * string/test-strcmp.c: Remove checking of wcscmp function for
3810 wrong alignments.
3811 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3812 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3813 wcsrchr-sse2 wcsrchr-c.
3814 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3815 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3816 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3817 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3818 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3819 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3820 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3821 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3822 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3823 * wcsmbc/wcschr.c (WCSCHR): New macro.
3824
5b330a2d
UD
38252011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3826
3827 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3828 * wcsmbs/test-wcsrchr.c: New file.
3829 * string/test-strrchr.c: Add wcsrchr support.
3830 (WIDE): New macro.
3831 * wcsmbs/test-wcscpy.c: New file.
3832 * string/test-strcpy.c: Add wcscpy support.
3833 (WIDE): New macro.
26428b7c 3834
f039c043
UD
38352011-12-10 Ulrich Drepper <drepper@gmail.com>
3836
3837 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3838 the inner loop.
3839
850fb039
AS
38402011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3841
3842 [BZ #13472]
3843 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3844
4efbd5cb
UD
38452011-12-04 Ulrich Drepper <drepper@gmail.com>
3846
52ff5dd0 3847 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3848 Minor optimizations.
52ff5dd0 3849
4efbd5cb
UD
3850 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3851 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3852 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3853
8a426e12
UD
38542011-12-03 Ulrich Drepper <drepper@gmail.com>
3855
aff2453d
UD
3856 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3857 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3858 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3859 for gcc to avoid warnings.
3860 * inet/Makefile (tests): Add tst-checks.
3861 * inet/tst-checks.c: New file.
3862
3863 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3864 warning.
3865
3866 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3867 __wmemcmp_sse2.
3868
3869 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3870 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3871
8a426e12
UD
3872 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3873
9bea3473
UD
38742011-12-02 Ulrich Drepper <drepper@gmail.com>
3875
3a965496
UD
3876 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3877 problem.
3878
9bea3473
UD
3879 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3880
f101631b
UD
38812011-11-29 Joseph Myers <joseph@codesourcery.com>
3882
3883 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3884 conditional on GCC version.
3885 (__arch_compare_and_exchange_val_8_acq)
3886 (__arch_compare_and_exchange_val_16_acq)
3887 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3888 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3889 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3890
a98275aa
UD
38912011-12-02 Joseph Myers <joseph@codesourcery.com>
3892
3893 * sysdeps/sh/backtrace.c: New file.
3894
d4cc29a2
AS
38952011-12-02 Andreas Schwab <schwab@redhat.com>
3896
3897 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3898 parenthesis.
3899
6257af2d
AS
39002011-12-01 Andreas Schwab <schwab@redhat.com>
3901
3902 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3903 falling back to utime.
3904
b5f44c1a
AS
39052011-11-30 Andreas Schwab <schwab@redhat.com>
3906
3907 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3908 expectations for float.
3909
f3a6cc0a
AS
39102011-11-29 Andreas Schwab <schwab@redhat.com>
3911
3912 * locale/weight.h (findidx): Add parameter len.
3913 * locale/weightwc.h (findidx): Likewise.
3914 * posix/fnmatch_loop.c (FCT): Adjust caller.
3915 * posix/regcomp.c (build_equiv_class): Likewise.
3916 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3917 * posix/regexec.c (check_node_accept_bytes): Likewise.
3918 * string/strcoll_l.c (STRCOLL): Likewise.
3919 * string/strxfrm_l.c (STRXFRM): Likewise.
3920
9d65ea3a
UD
39212011-11-17 Ulrich Drepper <drepper@gmail.com>
3922
3923 * Makefile.in: Remove CVSOPT handling.
3924 * configure.in: Remove use of AC_REVISION.
3925 * iconvdata/Makefile (distribute): No need to filter out CVS.
3926 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3927 handling.
3928
5583a086
AS
39292011-11-16 Andreas Schwab <schwab@redhat.com>
3930
3931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3932 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3933 [USE_AS_STRNCASECMP_L]: Likewise.
3934 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3935 NO_TLS_DIRECT_SEG_REFS.
3936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3937 Fix argument offsets for non-PIC.
3938 [USE_AS_STRNCASECMP_L]: Likewise.
3939 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3940 NO_TLS_DIRECT_SEG_REFS.
3941
d62a8200
UD
39422011-11-15 Ulrich Drepper <drepper@gmail.com>
3943
9d65ea3a 3944 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3945 O_CLOEXEC.
3946 * locale/loadlocale.c (_nl_load_locale): Likewise.
3947
09f93bd3
AS
39482011-11-15 Andreas Schwab <schwab@redhat.com>
3949
446514f9
AS
3950 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3951 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3952 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3953 (SYSCALL_GETTIME): Set errno on error.
3954
09f93bd3
AS
3955 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3956 count references to noai6ai_cached.
3957
312be3f9
UD
39582011-11-15 Ulrich Drepper <drepper@gmail.com>
3959
3960 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3961
3962 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3963 FD_CLOEXEC for /proc/self/maps.
3964
3965 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3966 FD_CLOEXEC for /proc/meminfo.
3967
3968 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3969 gai.conf.
3970
3971 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3972 FD_CLOEXEC for given file.
3973
3974 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3975
3976 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3977 FD_CLOEXEC for /etc/hosts.
3978 (_gethtent): Likewise.
3979
3980 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3981
3982 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3983 cancellation and set FD_CLOEXEC for /etc/netgroup.
3984
3985 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3986 reading /etc/publickey.
3987
3988 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3989 allow cancellation when reading /etc/group.
3990
3991 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3992 cancellation.
3993 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3994
3995 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3996 when using data file.
3997
3998 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3999
4000 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4001 (write_nis_obj): Use "c" and "e" in fopen.
4002
4003 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4004
4005 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4006
4007 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4008
4009 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4010
4011 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4012 locale.alias.
4013
4014 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4015
4016 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4017
4018 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4019
4020 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4021 file parsing and set FD_CLOEXEC.
4022
82af0fa8
UD
40232011-11-14 Ulrich Drepper <drepper@gmail.com>
4024
4025 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4026
a5fb313c
AS
40272011-11-14 Andreas Schwab <schwab@redhat.com>
4028
4029 * malloc/arena.c (arena_get2): Don't call reused_arena when
4030 _int_new_arena failed.
4031
6abf3465
UD
40322011-11-14 Ulrich Drepper <drepper@gmail.com>
4033
4034 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4035 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4036 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4039 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4040 to compile strcasecmp and strncasecmp.
4041 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4042 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4043
4044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4045
76e3966e
UD
40462011-11-13 Ulrich Drepper <drepper@gmail.com>
4047
4048 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4049 locale-defines.sym to gen-as-const-headers.
4050 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4051 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4053 to compile strcasecmp and strncasecmp.
4054 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4055 strcasecmp_l and strncasecmp_l.
4056 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4057 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4058 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4059 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4060 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4061 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4062 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4063 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4064 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4065 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4066 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4067
ab26144e
UD
40682011-11-12 Ulrich Drepper <drepper@gmail.com>
4069
7edb22ef
UD
4070 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4071 result of SYSDEP_GETTIME_CPU to retval.
4072 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4073 parameter list to macro. Remove trailing semicolon. Adjust users.
4074
9694fc44
UD
4075 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4076 variable.
4077
8ad89ef8
UD
4078 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4079 mantissa words.
4080 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4081
0c822ef9
UD
4082 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4083 from unused variable.
4084
874e0564
UD
4085 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4086 DWARF definitions.
4087 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4088 for assembling.
4089
3a2edc79
UD
4090 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4091 over namespaces.
4092
f3c2577f
UD
4093 * sunrpc/rpc_prot.c (rejected): Fix case value.
4094
294ce126
UD
4095 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4096 unsigned long long int to avoid warnings in shift.
4097
5e2b63c6
UD
4098 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4099 of use of trans.
4100 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4101 variable tmp.
4102
e7f4b08e
UD
4103 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4104 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4105 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4106
ab26144e
UD
4107 * nis/nis_table.c (nis_list): Use variable of correct type for
4108 result of __follow_path call.
4109
8a6d5255
AZ
41102011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4111
4112 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4113 of math functions ceil, trunc, floor, round, and sqrt, when
4114 avaliable on the platform.
4115 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4116 name clash.
4117 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4118 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4119 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4120
aaddc98c
MP
41212011-10-30 Marek Polacek <mpolacek@redhat.com>
4122
4123 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4124 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4125
95b7042b
RM
41262011-11-11 Roland McGrath <roland@hack.frob.com>
4127
4128 * include/unistd.h: Fix __readlink return type.
4129 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4130
57769839
UD
41312011-11-11 Ulrich Drepper <drepper@gmail.com>
4132
4133 * stdlib/ucontext.h: Undo last change for makecontext.
4134
edc5984d
AS
41352011-11-11 Andreas Schwab <schwab@redhat.com>
4136
98591e58
AS
4137 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4138
edc5984d
AS
4139 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4140 * setjmp/setjmp.h: Mark functions as non-leaf.
4141 * setjmp/bits/setjmp2.h: Likewise.
4142 * stdlib/ucontext.h: Likewise.
4143
77cdc054
AS
41442011-11-10 Andreas Schwab <schwab@redhat.com>
4145
4146 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4147 (reused_arena): Don't check arena limit.
4148 (arena_get2): Atomically check arena limit.
4149
fe72eebd
UD
41502011-11-08 Ulrich Drepper <drepper@gmail.com>
4151
5f078c32
UD
4152 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4153 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4154
fe72eebd
UD
4155 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4156 instructions.
4157
ae1bc2fa
AS
41582011-11-07 Andreas Schwab <schwab@redhat.com>
4159
7583a88d
AS
4160 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4161 handler when locking.
4162
ae1bc2fa
AS
4163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4164 Fix size of allocated buffer.
4165
10fb0bfa
AS
41662011-11-04 Andreas Schwab <schwab@redhat.com>
4167
998832a4
AS
4168 [BZ #10103]
4169 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4170 declarations for long double functions.
4171 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4172
10fb0bfa
AS
4173 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4174
3d7ba52b
AS
41752011-11-03 Andreas Schwab <schwab@redhat.com>
4176
a9ae54a1
AS
4177 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4178 installed.
4179
3d7ba52b
AS
4180 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4181 is disabled.
4182
bc8db248
ST
41832011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4184
4185 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4186
45b96dd6
AS
41872011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4188
647776f6
AS
4189 * include/alloca.h (stackinfo_alloca_round): Define.
4190 (extend_alloca): Use it.
4191 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4192 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4193 here.
4194
d91a8b93
AS
4195 * scripts/check-local-headers.sh: Ignore libaudit.h.
4196
45b96dd6
AS
4197 * nscd/Makefile (extra-objs): Make recursively expanded.
4198
432d41ce
UD
41992011-11-01 Ulrich Drepper <drepper@gmail.com>
4200
34372fc6
UD
4201 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4203
fadb59f8
UD
4204 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4205 * posix/tst-rfc3484-2.c: Likewise.
4206 * posix/tst-rfc3484-3.c: Likewise.
4207
78239589
UD
4208 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4209 process_vm_writev.
4210 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4211 process_vm_writev.
4212 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4213 process_vm_writev from libc using GLIBC_2.15 version.
4214
432d41ce
UD
4215 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4216
02f9c6cf
PP
42172011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4218
4219 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4220 stack usage.
4221
3a2c0242
UD
42222011-10-31 Ulrich Drepper <drepper@gmail.com>
4223
f4ec4833
UD
4224 [BZ #13367]
4225 * nss/getent.c (initgroups_keys): Show error message in case no group
4226 names are given.
4227
3a2c0242
UD
4228 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4229 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4230 __bump_nl_timestamp.
4231 * nscd/connections (nscd_init): When host database is served open
4232 netlink socket and request notification about configuration changes.
4233 (main_loop_poll): Track netlink file descriptor and bump timestamp
4234 in case data becomes available.
4235 (main_loop_epoll): Likewise.
4236 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4237 (database_pers_head): Add extra_data fileds.
4238 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4239 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4240 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4241 Adjust caller.
4242 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4243 in6ai data, call __free_in6ai.
4244 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4245 Add -DHAVE_NETLINK.
4246 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4247 interface information. Reuse previous data if netlink timestamp
4248 is not changed.
4249 (__bump_nl_timestamp): New function.
4250 (__free_in6ai): New function.
4251
636064eb
UD
42522011-10-30 Ulrich Drepper <drepper@gmail.com>
4253
4254 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4255 close_not_cancel_no_status here.
4256 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4257
9beb2334
UD
42582011-10-29 Ulrich Drepper <drepper@gmail.com>
4259
6ef76f3b
UD
4260 [BZ #13276]
4261 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4262 return value.
4263
0ffc4f3e 4264 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4265 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4266 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4267
cb95113e
UD
42682011-07-03 Andreas Jaeger <aj@suse.de>
4269
4270 [BZ #10709]
4271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4272 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4273 * math/libm-test.inc (sin_test): Add test case.
4274
a1b560ff
UD
42752011-10-29 Ulrich Drepper <drepper@gmail.com>
4276
c9aaface
UD
4277 [BZ #13337]
4278 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4279 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4280
d272e7f1
UD
4281 * elf/chroot_canon.c (chroot_canon): Cleanups.
4282
1bc33071
UD
4283 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4284
1760874d
TJ
4285 [BZ #13335]
4286 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4287 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4288
51d91b18
UD
4289 * string/test-strchr.c: Make usable for strchrnul testing.
4290 * string/test-strchrnul.c: New file.
4291 * string/Makefile (strop-tests): Add strchrnul.
4292
a1b560ff 4293 * po/it.po: Update from translation team.
b611fb81 4294 * po/es.po: Likewise.
a1b560ff 4295
a5b81e1f
UD
42962011-10-28 Ulrich Drepper <drepper@gmail.com>
4297
fd52bc6d
UD
4298 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4299 the three constants needed as parameters. Drop the others.
4300 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4301 __m128i_strloadu_tolower.
52e4b9eb
UD
4302 Create and initialize variable zero and use it in all the places
4303 where _mm_setzero_si128 was used.
fd52bc6d 4304
a5b81e1f
UD
4305 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4306 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4307 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4308 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4309 anymore.
4310 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4311 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4312 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4313 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4314 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4315 __mpranred, __mptan.
4316 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4317 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4318 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4319 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4320 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4321 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4322 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4323 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4324 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4325
b4343346
AS
43262011-10-28 Andreas Schwab <schwab@redhat.com>
4327
0c92d8a8
AS
4328 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4329 redefine if SHARED.
4330 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4331
b4343346
AS
4332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4333 wide char related routines to wcsmbs subdir.
4334
3871f58f
AS
43352011-10-27 Andreas Schwab <schwab@redhat.com>
4336
4337 [BZ #13344]
4338 * misc/sys/cdefs.h (__THROWNL): Define.
4339 * posix/unistd.h: Use __THREADNL instead of __THREAD
4340 for memory synchronization functions.
4341
94d44d9f
RM
43422011-10-26 Roland McGrath <roland@hack.frob.com>
4343
21b64b15 4344 [BZ #13349]
94d44d9f
RM
4345 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4346 doesn't exist.
4347 * manual/stdio.texi (Obstack Streams): Node removed.
4348
f6ce9294
AS
43492011-10-26 Andreas Schwab <schwab@redhat.com>
4350
80479147
AS
4351 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4352 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4353 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4354
f6ce9294
AS
4355 * math/math_private.h (math_force_eval): Allow non-addressable
4356 arguments.
4357 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4358
618280a1
UD
43592011-10-25 Ulrich Drepper <drepper@gmail.com>
4360
e0016b11
UD
4361 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4362 file is not needed.
4363
4364 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4365 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4366 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4367 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4368 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4369 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4370 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4371 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4372 Add AVX variants.
4373 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4374 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4375 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4376 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4377 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4378 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4379 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4380 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4381 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4382 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4383 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4384 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4385 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4386 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4387 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4388 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4389 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4390 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4391 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4392
4393 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4394 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4395
618280a1
UD
4396 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4397 place. Use VEX encoding when compiling for AVX.
4398
37822576
AS
43992011-10-25 Andreas Schwab <schwab@redhat.com>
4400
1f1e1947
AS
4401 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4402 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4403
37822576
AS
4404 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4405
31ea014d
UD
44062011-10-25 Ulrich Drepper <drepper@gmail.com>
4407
d7826aa1 4408 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4409 useless if() expression.
d7826aa1
UD
4410 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4411 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4412 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4416 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4420 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4421 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4422 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4423 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4424 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4425 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4426 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4428 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4429
31ea014d
UD
4430 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4431
16437fec
AS
44322011-10-25 Andreas Schwab <schwab@redhat.com>
4433
4434 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4435 condition.
4436 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4437
31d3cc00
UD
44382011-10-25 Ulrich Drepper <drepper@gmail.com>
4439
4440 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4441 .text section. Avoid duplicate constants.
4442 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4444 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4446 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4450 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4451 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4452 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4453 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4454 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4455 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4456 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4457 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4458 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4459 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4460 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4461 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4462 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4463 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4464 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4465 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4466 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4467 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4468 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4469 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4470 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4471 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4472 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4473 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4474 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4475 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4476 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4477 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4478 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4479 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4480 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4481 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4482 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4483 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4484 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4485 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4486 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4487
58985aa9
UD
44882011-10-24 Ulrich Drepper <drepper@gmail.com>
4489
202c9deb
UD
4490 * sysdeps/x86_64/dla.h: Move to ...
4491 * sysdeps/x86_64/fpu/dla.h: ...here.
4492 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4493 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4494
af968f62
UD
4495 * config.make.in: Add have-mfma4 entry.
4496 * configure.in: Substitute libc_cv_cc_fma4.
4497 * math/Makefile (dbl-only-routines): Add sincostab.
4498 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4499 Use __sincostab not sincos.
4500 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4501 name is a macro.
4502 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4506 using __copysign.
4507 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4508 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4509 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4510 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4511 and __inv.
4512 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4513 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4514 __copysign.
4515 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4516 define aliases when function name is a macro.
4517 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4518 sysdeps/ieee754/dbl-64/sincos.tbl.
4519 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4520 fma4-enabled routines.
4521 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4522 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4523 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4524 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4525 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4526 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4527 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4528 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4529 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4530 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4531 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4532 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4533 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4534 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4535 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4536 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4537 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4538 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4539 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4540 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4541 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4542 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4543 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4544 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4546 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4548 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4549 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4550 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4551
58985aa9
UD
4552 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4553 rename.
4554 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4559 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4560 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4562
a201fbcf
AS
45632011-10-24 Andreas Schwab <schwab@redhat.com>
4564
4565 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4566
fc2ee42a
LD
45672011-10-23 Ulrich Drepper <drepper@gmail.com>
4568
bb3129bd
UD
4569 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4570
0275fff8
UD
4571 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4572 prediction.
4573 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4574
2fa2ae85
UD
4575 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4576 Remove unused variable magic_bits.
4577 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4578
fc2ee42a
LD
4579 * string/strnlen.c: Define and use STRNLEN macro.
4580 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4581 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4582 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4583 * wcsmbs/wcslen.c: Define and use WCSLEN.
4584 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4585 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4586 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4587 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4588 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4589 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4590 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4591
ce7dd29f
LD
45922011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4593
4594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4595 strnlen-sse2-no-bsf.
4596 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4597 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4598 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4599 Add strnlen support.
4600 (USE_AS_STRNLEN): New macro.
4601 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4602 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4603 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4604 * sysdeps/x86_64/wcslen.S: New file.
4605
979c70a3
MZ
46062011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4607
4608 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4609 XMM-moves are used for copying on small sizes.
4610
2d09f82f
LD
46112011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4612
4613 * wcsmbs/Makefile (strop-tests): Add wcschr.
4614 * wcsmbs/test-wcschr.c: New file.
4615 * string/test-strchr.c: Update.
4616 Add wcschr support.
4617 (WIDE): New macro.
4618
619fccca
LD
46192011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4620
2d09f82f 4621 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4622 * wcsmbs/test-wcslen.c: New file.
4623 * string/test-strlen.c: Update.
4624 Add wcslen support.
4625 (WIDE): New macro.
4626
09f699ea
UD
46272011-10-23 Ulrich Drepper <drepper@gmail.com>
4628
4629 * po/it.po: Update from translation team.
4630
95584d3b
LD
46312011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4632
4633 * sysdeps/x86_64/wcscmp.S: Update.
4634 Fix wrong comparison semantics.
4635 wcscmp shall use signed comparison not unsigned.
4636 Don't use substraction to avoid overflow bug.
4637 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4638 * wcsmbc/wcscmp.c: Likewise.
4639 * string/test-strcmp.c: Likewise.
4640 Add new tests to check cases with negative values.
4641
c8b3296b
UD
46422011-10-23 Ulrich Drepper <drepper@gmail.com>
4643
4644 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4645 * sysdeps/x86_64/dla.h: ...here. New file.
4646 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4655
246ad57a
AS
46562011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4657
4658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4659 __ynl_finite aliases.
4660
a1a87169
UD
46612011-10-22 Ulrich Drepper <drepper@gmail.com>
4662
0d355eb7
UD
4663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4664
a1a87169
UD
4665 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4666 define DLA_FMA.
4667 [DLA_FMA] (EMULV): Use DLA_FMA.
4668 [DLA_FMA] (MUL12): Use EMULV.
4669 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4670 that are not needed.
4671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4677 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4678
ee2aafe0
AS
46792011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4680
4681 * math/s_nan.c: Undef __nan.
4682 * math/s_nanf.c: Undef __nanf.
4683 * math/s_nanl.c: Undef __nanl.
4684 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4685 "math_private.h".
4686
bc62c2fb
UD
46872011-10-22 Ulrich Drepper <drepper@gmail.com>
4688
77425c63
UD
4689 * math/s_catan.c: Add branch predictions.
4690 * math/s_catanf.c: Likewise.
4691 * math/s_catanh.c: Likewise.
4692 * math/s_catanhf.c: Likewise.
4693 * math/s_catanhl.c: Likewise.
4694 * math/s_catanl.c: Likewise.
4695 * math/s_cexp.c: Likewise.
4696 * math/s_cexpf.c: Likewise.
4697 * math/s_cexpl.c: Likewise.
4698 * math/s_clog.c: Likewise.
4699 * math/s_clog10.c: Likewise.
4700 * math/s_clog10f.c: Likewise.
4701 * math/s_clog10l.c: Likewise.
4702 * math/s_clogf.c: Likewise.
4703 * math/s_clogl.c: Likewise.
4704 * math/s_csqrt.c: Likewise.
4705 * math/s_csqrtf.c: Likewise.
4706 * math/s_csqrtl.c: Likewise.
4707 * math/s_ctanf.c: Likewise.
4708 * math/s_ctanh.c: Likewise.
4709 * math/s_ctanhf.c: Likewise.
4710 * math/s_ctanhl.c: Likewise.
4711 * math/s_ctanl.c: Likewise.
4712
bc62c2fb
UD
4713 * math/math_private.h: Define __nan, __nanf, __nanl.
4714 * math/s_cacosh.c: Include <math_private.h>.
4715 * math/s_cacoshl.c: Likewise.
4716 * math/s_casinh.c: Likewise.
4717 * math/s_casinhf.c: Likewise.
4718 * math/s_casinhl.c: Likewise.
4719 * math/s_ccos.c: Rely entire on ccosh.
4720 * math/s_ccosf.c: Rely entire on ccoshf.
4721 * math/s_ccosl.c: Rely entirely on ccoshl.
4722 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4723 Remove tests for FE_INVALID.
4724 * math/s_ccoshf.c: Likewise.
4725 * math/s_ccoshl.c: Likewise.
4726 * math/s_csin.c: Likewise.
4727 * math/s_csinf.c: Likewise.
4728 * math/s_csinh.c Likewise.
4729 * math/s_csinhf.c: Likewise.
4730 * math/s_csinhl.c: Likewise.
4731 * math/s_csinl.c: Likewise.
4732 * math/s_ctan.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4734 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4735 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4736
8ec250a4
UD
47372011-10-21 Ulrich Drepper <drepper@gmail.com>
4738
c196fed8
UD
4739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4740 compilation problems.
4741
8ec250a4
UD
4742 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4743 __builtin_expect.
4744
8d4f46c6
UD
47452011-10-20 Ulrich Drepper <drepper@gmail.com>
4746
ed72b654
UD
4747 * sysdeps/i386/configure.in: Test for -mfma4 option.
4748 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4749 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4750 COMMON_CPUID_INDEX_80000001.
4751 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4752 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4753 use it if FMA3 is not supported.
4754 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4755
8d4f46c6
UD
4756 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4757 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4758
d45c60c2
AS
47592011-10-20 Andreas Schwab <schwab@redhat.com>
4760
4761 [BZ #12892]
4762 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4763 it would create a cycle with a link time dependency.
4764
d9a4d2ab
UD
47652011-10-19 Ulrich Drepper <drepper@gmail.com>
4766
855d1560
UD
4767 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4768 instruction.
4769 * string/Makefile (strop-tests): Add rawmemchr.
4770 * string/test-rawmemchr.c: New file.
4771
d9a4d2ab
UD
4772 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4773 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4774 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4775 when compiling str{,n}casecmp and when AVX is available. Hook up
4776 new optimized code in initializers.
4777
8f3b1ffe
AS
47782011-10-19 Andreas Schwab <schwab@redhat.com>
4779
4780 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4781 __feraiseexcept instead of feraiseexcept.
4782
d38f1dba
UD
47832011-10-18 Ulrich Drepper <drepper@gmail.com>
4784
d9a8d0ab
UD
4785 * math/math_private.h: Define defaults for libc_fetestexcept and
4786 libc_feupdateenv.
4787 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4788 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4789 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4790 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4791 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4792 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4793 libc_fetestexcept and libc_feupdateenv.
4794
4855e3dd
UD
4795 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4796 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4797 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4798 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4799 libc_feholdexcept_setround.
4800
581d30e3
UD
4801 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4802 Add s_nearbyint-c and s_nearbyintf-c.
4803 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4804 nearbyintf inlines.
4805 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4806 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4807 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4808 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4809
d38f1dba
UD
4810 * math/math_private.h: Define defaults for libc_fegetround,
4811 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4812 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4813 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4814 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4815 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4816 standard functions.
4817 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4818 Remove comments and hacks for old compiler versions.
4819 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4820 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4821 libc_feholdexceptl.
4822
caa6c9d8
AS
48232011-10-18 Andreas Schwab <schwab@redhat.com>
4824
4825 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4826 (__feraiseexcept_renamed): Add __NTH.
4827 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4828 namespace violations.
4829
97c066e6
UD
48302011-10-17 Ulrich Drepper <drepper@gmail.com>
4831
99ce7b04
UD
4832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4833
1004d182
UD
4834 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4835
228a984d
UD
4836 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4837 recently added interfaces.
4838 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4839
c8553a6a
UD
4840 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4841 about macro parameter expansion.
4842
ed22dcf6
UD
4843 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4844 __NO_MATH_INLINES is defined. Cleanups.
4845
4846 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4847 and __floorf is target has SSE4.1.
4848 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4849 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4850 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4851 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4852
b171c137
UD
4853 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4854 name.
4855 (floorf): Likewise.
4856
97c066e6
UD
4857 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4858
629f62ef
AS
48592011-10-17 Andreas Schwab <schwab@redhat.com>
4860
49a43d80
AS
4861 * misc/sys/cdefs.h: Fix last change.
4862
629f62ef
AS
4863 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4864 database lookup.
4865
e453f6cd
UD
48662011-10-16 Ulrich Drepper <drepper@gmail.com>
4867
aa78043a
UD
4868 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4869
ad0f5cad
UD
4870 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4876 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4877 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4878 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4879 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4880 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4881 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4882 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4883 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4884 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4885 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4886 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4887 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4888 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4889 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4890 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4891 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4892
4893 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4894 ceil, ceilf, floor, floorf.
4895
4896 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4897 Perform IRELATIVE relocations last.
4898
e453f6cd
UD
4899 * elf/do-rel.h: Add another parameter nrelative, replacing the
4900 local variable with the same name. Change name of the function
4901 to end in Rel or Rela (uppercase).
4902 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4903 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4904 elf_dynamic_do_##reloc function.
4905
fd5bdc09
UD
49062011-10-15 Ulrich Drepper <drepper@gmail.com>
4907
79b195b5
UD
4908 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4909 is sufficient, at least on modern CPUs.
4910
d4a28569
UD
4911 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4912
b61099b5
UD
4913 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4914 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4915
bcf01e6d
UD
4916 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4917 __expl_finite.
4918 * math/bits/math-finite.h: Add entries for exp.
4919 * math/e_expl.c: Add __*_finite alias.
4920 * sysdeps/i386/fpu/e_exp.S: Likewise.
4921 * sysdeps/i386/fpu/e_expf.S: Likewise.
4922 * sysdeps/i386/fpu/e_expl.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4924 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4925 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4928 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4929 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4930
ba1a0d59
UD
4931 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4932 is sufficient, at least on modern CPUs.
4933
fd5bdc09
UD
4934 * ctype/ctype-info.c (__ctype_init): Define.
4935 * include/ctype.h (__ctype_init): Declare.
4936 (__ctype_b_loc): The variable is always initialized.
4937 (__ctype_toupper_loc): Likewise.
4938 (__ctype_tolower_loc): Likewise.
4939 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4940 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4941
7872cfb0
AS
49422011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4943
b468825a
AS
4944 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4945
7872cfb0
AS
4946 * configure.in: Also look in $cxxmachine/include for C++ system
4947 headers.
4948
be13f7bf
LD
49492011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4950
4951 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4952 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4953 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4954 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4955 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4956 (USE_AS_WMEMCMP): New macro.
4957 Fixing indents.
4958 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4959 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4960 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4961 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4963 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4964 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4965 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4966 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4967 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4968 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4969 (USE_AS_WMEMCMP): New macro.
4970 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4971 * sysdeps/string/test-memcmp.c: Update.
4972 Fix simple_wmemcmp.
4973 Add new tests.
4974 * wcsmbs/wmemcmp.c: Update.
4975 (WMEMCMP): New macro.
4976 Fix overflow bug.
4977
556a2007
AJ
49782011-10-12 Andreas Jaeger <aj@suse.de>
4979
4980 [BZ #13268]
4981 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4982
538faaa7
UD
49832011-10-15 Ulrich Drepper <drepper@gmail.com>
4984
ab6737ff
UD
4985 * libio/iofwide.c (do_length): Avoid warning.
4986
538faaa7
UD
4987 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4988
396a21b1
UD
49892011-10-14 Ulrich Drepper <drepper@gmail.com>
4990
cdf2901f
UD
4991 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4992
38ad40ce
UD
4993 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4994 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4995 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4996 * sysdeps/i386/i686/fpu/e_log.S: New file.
4997 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4998 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4999
396a21b1
UD
5000 * ctype/ctype.h: Add support for inlined isXXX functions when
5001 compiling C++ code.
5002
6b1f68c9
AS
50032011-10-14 Andreas Schwab <schwab@redhat.com>
5004
349290c0
AS
5005 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5006
6b1f68c9
AS
5007 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5008
f2282d42
RM
50092011-10-13 Roland McGrath <roland@hack.frob.com>
5010
5011 [BZ #13291]
5012 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5013
5298ffa8
AS
50142011-10-13 Andreas Schwab <schwab@redhat.com>
5015
714fad23
AS
5016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5017 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5018 feraiseexcept.
5019
81dcc7fb
AS
5020 * sysdeps/x86_64/memrchr.S: Check for zero size.
5021
5298ffa8
AS
5022 * string/stratcliff.c: Add memrchr tests.
5023
951fbcec
LD
50242011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5025
5026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5027 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5028 rawmemchr-sse2 rawmemchr-sse2-bsf.
5029 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5030 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5031 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5032 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5033 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5034 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5035 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5036 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5037 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5038 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5039 * string/memrchr.c (MEMRCHR): New macro.
5040
0ac5ae23
UD
50412011-10-12 Ulrich Drepper <drepper@gmail.com>
5042
5043 Add integration with gcc's -ffinite-math-only and optimize wrapper
5044 functions in libm.
5045 * Versions.def: Define GLIBC_2.15 version for libm.
5046 * math/Makefile (headers): Add bits/math-finite.h.
5047 * math/bits/math-finite.h: New file.
5048 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5049 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5050 * math/e_acoshl.c: Add __*_finite alias.
5051 * math/e_acosl.c: Likewise.
5052 * math/e_asinl.c: Likewise.
5053 * math/e_atan2l.c: Likewise.
5054 * math/e_atanhl.c: Likewise.
5055 * math/e_coshl.c: Likewise.
5056 * math/e_exp10.c: Likewise.
5057 * math/e_exp10f.c: Likewise.
5058 * math/e_exp10l.c: Likewise.
5059 * math/e_exp2l.c: Likewise.
5060 * math/e_fmodl.c: Likewise.
5061 * math/e_gammal_r.c: Likewise.
5062 * math/e_hypotl.c: Likewise.
5063 * math/e_j0l.c: Likewise.
5064 * math/e_j1l.c: Likewise.
5065 * math/e_jnl.c: Likewise.
5066 * math/e_lgammal_r.c: Likewise.
5067 * math/e_log10l.c: Likewise.
5068 * math/e_log2l.c: Likewise.
5069 * math/e_logl.c: Likewise.
5070 * math/e_powl.c: Likewise.
5071 * math/e_sinhl.c: Likewise.
5072 * math/e_sqrtl.c: Likewise.
5073 * math/e_scalb.c: Completely rewritten and optimized.
5074 * math/e_scalbf.c: Likewise.
5075 * math/e_scalbl.c: Likewise.
5076 * math/w_acos.c: Likewise.
5077 * math/w_acosf.c: Likewise.
5078 * math/w_acosl.c: Likewise.
5079 * math/w_acosh.c: Likewise.
5080 * math/w_acoshf.c: Likewise.
5081 * math/w_acoshl.c: Likewise.
5082 * math/w_asin.c: Likewise.
5083 * math/w_asinf.c: Likewise.
5084 * math/w_asinl.c: Likewise.
5085 * math/w_atan2.c: Likewise.
5086 * math/w_atan2f.c: Likewise.
5087 * math/w_atan2l.c: Likewise.
5088 * math/w_atanh.c: Likewise.
5089 * math/w_atanhf.c: Likewise.
5090 * math/w_atanhl.c: Likewise.
5091 * math/w_exp10.c: Likewise.
5092 * math/w_exp10f.c: Likewise.
5093 * math/w_exp10l.c: Likewise.
5094 * math/w_fmod.c: Likewise.
5095 * math/w_fmodf.c: Likewise.
5096 * math/w_fmodl.c: Likewise.
5097 * math/w_j0.c: Likewise.
5098 * math/w_j0f.c: Likewise.
5099 * math/w_j0l.c: Likewise.
5100 * math/w_j1.c: Likewise.
5101 * math/w_j1f.c: Likewise.
5102 * math/w_j1l.c: Likewise.
5103 * math/w_jn.c: Likewise.
5104 * math/w_jnf.c: Likewise.
5105 * math/w_log.c: Likewise.
5106 * math/w_logf.c: Likewise.
5107 * math/w_logl.c: Likewise.
5108 * math/w_log10.c: Likewise.
5109 * math/w_log10f.c: Likewise.
5110 * math/w_log10l.c: Likewise.
5111 * math/w_log2.c: Likewise.
5112 * math/w_log2f.c: Likewise.
5113 * math/w_log2l.c: Likewise.
5114 * math/w_pow.c: Likewise.
5115 * math/w_powf.c: Likewise.
5116 * math/w_powl.c: Likewise.
5117 * math/w_remainder.c: Likewise.
5118 * math/w_remainderf.c: Likewise.
5119 * math/w_remainderl.c: Likewise.
5120 * math/w_scalb.c: Likewise.
5121 * math/w_scalbf.c: Likewise.
5122 * math/w_scalbl.c: Likewise.
5123 * math/w_sqrt.c: Likewise.
5124 * math/w_sqrtf.c: Likewise.
5125 * math/w_sqrtl.c: Likewise.
5126 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5127 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5128 used.
5129 * math/math_private.h: Declare __kernel_standard_f.
5130 * math/w_cosh.c: Remove cruft and optimize a bit.
5131 * math/w_coshf.c: Likewise.
5132 * math/w_coshl.c: Likewise.
5133 * math/w_exp2.c: Likewise.
5134 * math/w_exp2f.c: Likewise.
5135 * math/w_exp2l.c: Likewise.
5136 * math/w_hypot.c: Likewise.
5137 * math/w_hypotf.c: Likewise.
5138 * math/w_hypotl.c: Likewise.
5139 * math/w_lgamma.c: Likewise.
5140 * math/w_lgamma_r.c: Likewise.
5141 * math/w_lgammaf.c: Likewise.
5142 * math/w_lgammaf_r.c: Likewise.
5143 * math/w_lgammal.c: Likewise.
5144 * math/w_lgammal_r.c: Likewise.
5145 * math/w_sinh.c: Likewise.
5146 * math/w_sinhf.c: Likewise.
5147 * math/w_sinhl.c: Likewise.
5148 * math/w_tgamma.c: Likewise.
5149 * math/w_tgammaf.c: Likewise.
5150 * math/w_tgammal.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5152 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5153 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5154 Minor optimizations. Pretty printing. Remove cruft.
5155 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5156 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5157 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5158 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5159 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5160 * sysdeps/i386/fpu/e_asin.S: Likewise.
5161 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5162 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5163 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5164 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5165 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5166 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5167 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5168 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5169 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5170 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5171 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5172 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5173 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5174 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5175 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5176 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5177 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5178 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5179 * sysdeps/i386/fpu/e_log.S: Likewise.
5180 * sysdeps/i386/fpu/e_log10.S: Likewise.
5181 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5182 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5183 * sysdeps/i386/fpu/e_log2.S: Likewise.
5184 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5185 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5186 * sysdeps/i386/fpu/e_logf.S: Likewise.
5187 * sysdeps/i386/fpu/e_logl.S: Likewise.
5188 * sysdeps/i386/fpu/e_pow.S: Likewise.
5189 * sysdeps/i386/fpu/e_powf.S: Likewise.
5190 * sysdeps/i386/fpu/e_powl.S: Likewise.
5191 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5192 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5193 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5194 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5195 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5196 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5197 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5198 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5199 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5201 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5205 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5214 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5221 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5222 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5223 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5224 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5225 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5226 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5227 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5228 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5229 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5230 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5231 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5233 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5234 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5235 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5236 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5237 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5238 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5239 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5240 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5241 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5246 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5249 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5250 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5252 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5253 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5255 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5256 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5257 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5260 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5265 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5269 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5280 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5283 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5285 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5286 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5288 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5289 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5290 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5291 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5292 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5293 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5294 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5295 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5296 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5297 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5298 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5299 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5300 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5301 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5302 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5303 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5304 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5305 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5306 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5307 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5308 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5309 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5310 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5311 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5312 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5313 (__isnanf): Likewise.
5314 (__isinf_ns): Likewise.
5315 (__isinf_nsf): Likewise.
5316 (__finite): Likewise.
5317 (__finitef): Likewise.
5318 (__ieee754_sqrt): Define as macro.
5319 (__ieee754_sqrtf): Define as macro.
5320 (__ieee754_sqrtl): Define as macro.
5321 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5322 inlined copy.
5323 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5324 __FINITE_MATH_ONLY__ consistent.
5325 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5326
12cc2fcd
AS
53272011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5328
a843a204
AS
5329 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5330 of rawmemchr.
5331
12cc2fcd
AS
5332 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5333
c853acd5
UD
53342011-10-09 Ulrich Drepper <drepper@gmail.com>
5335
5336 * po/ja.po: Update from translation team.
5337
c658d255
RM
53382011-10-08 Roland McGrath <roland@hack.frob.com>
5339
110946e4
RM
5340 * locale/programs/locarchive.c (prepare_address_space): New function.
5341 (create_archive, enlarge_archive, open_archive): Use it.
5342
50604220
RM
5343 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5344 inside [SHARED], where it is used.
5345
c658d255
RM
5346 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5347
5348 * nss/getent.c (netgroup_keys): Remove unused variable.
5349 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5350
6a621eb7
UD
53512011-10-08 Ulrich Drepper <drepper@gmail.com>
5352
7edb55ce
UD
5353 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5354 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5356 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5357 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5358 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5359 * math/Makefile (libm-calls): Add s_isinf_ns.
5360 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5361 * math/multc3.c: Likewise.
5362 * math/s_casin.c: Likewise.
5363 * math/s_casinf.c: Likewise.
5364 * math/s_casinl.c: Likewise.
5365 * math/s_ccos.c: Likewise.
5366 * math/s_ccosf.c: Likewise.
5367 * math/s_ccosl.c: Likewise.
5368 * math/s_ctan.c: Likewise.
5369 * math/s_ctanf.c: Likewise.
5370 * math/s_ctanh.c: Likewise.
5371 * math/s_ctanhf.c: Likewise.
5372 * math/s_ctanhl.c: Likewise.
5373 * math/s_ctanl.c: Likewise.
5374 * math/w_fmod.c: Likewise.
5375 * math/w_fmodf.c: Likewise.
5376 * math/w_fmodl.c: Likewise.
5377 * math/w_remainder.c: Likewise.
5378 * math/w_remainderf.c: Likewise.
5379 * math/w_remainderl.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5381 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5384 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5385 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5386 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5387 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5388
187da0ae
UD
5389 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5390 of the number.
5391 * stdio-common/printf_fphex.c: Likewise.
5392 * stdio-common/printf_size.c: Likewise.
5393
9277c064
UD
5394 * math/e_exp10.c: Include math_private.h using <...> not "...".
5395 * math/e_exp10f.c: Likewise.
5396 * math/e_exp10l.c: Likewise.
5397 * math/e_exp2l.c: Likewise.
5398 * math/e_j0l.c: Likewise.
5399 * math/e_j1l.c: Likewise.
5400 * math/e_jnl.c: Likewise.
5401 * math/e_lgammal_r.c: Likewise.
5402 * math/e_rem_pio2l.c: Likewise.
5403 * math/e_scalb.c: Likewise.
5404 * math/e_scalbf.c: Likewise.
5405 * math/e_scalbl.c: Likewise.
5406 * math/k_cosl.c: Likewise.
5407 * math/k_sinl.c: Likewise.
5408 * math/k_tanl.c: Likewise.
5409 * math/s_cacoshf.c: Likewise.
5410 * math/s_catan.c: Likewise.
5411 * math/s_catanf.c: Likewise.
5412 * math/s_catanh.c: Likewise.
5413 * math/s_catanhf.c: Likewise.
5414 * math/s_catanhl.c: Likewise.
5415 * math/s_catanl.c: Likewise.
5416 * math/s_ccosh.c: Likewise.
5417 * math/s_ccoshf.c: Likewise.
5418 * math/s_ccoshl.c: Likewise.
5419 * math/s_cexp.c: Likewise.
5420 * math/s_cexpf.c: Likewise.
5421 * math/s_cexpl.c: Likewise.
5422 * math/s_clog.c: Likewise.
5423 * math/s_clog10.c: Likewise.
5424 * math/s_clog10f.c: Likewise.
5425 * math/s_clog10l.c: Likewise.
5426 * math/s_clogf.c: Likewise.
5427 * math/s_clogl.c: Likewise.
5428 * math/s_csin.c: Likewise.
5429 * math/s_csinf.c: Likewise.
5430 * math/s_csinh.c: Likewise.
5431 * math/s_csinhf.c: Likewise.
5432 * math/s_csinhl.c: Likewise.
5433 * math/s_csinl.c: Likewise.
5434 * math/s_csqrt.c: Likewise.
5435 * math/s_csqrtf.c: Likewise.
5436 * math/s_csqrtl.c: Likewise.
5437 * math/s_ctan.c: Likewise.
5438 * math/s_ctanf.c: Likewise.
5439 * math/s_ctanh.c: Likewise.
5440 * math/s_ctanhf.c: Likewise.
5441 * math/s_ctanhl.c: Likewise.
5442 * math/s_ctanl.c: Likewise.
5443 * math/s_ldexp.c: Likewise.
5444 * math/s_ldexpf.c: Likewise.
5445 * math/s_ldexpl.c: Likewise.
5446 * math/s_significand.c: Likewise.
5447 * math/s_significandf.c: Likewise.
5448 * math/s_significandl.c: Likewise.
5449 * math/w_acos.c: Likewise.
5450 * math/w_acosf.c: Likewise.
5451 * math/w_acosh.c: Likewise.
5452 * math/w_acoshf.c: Likewise.
5453 * math/w_acoshl.c: Likewise.
5454 * math/w_acosl.c: Likewise.
5455 * math/w_asin.c: Likewise.
5456 * math/w_asinf.c: Likewise.
5457 * math/w_asinl.c: Likewise.
5458 * math/w_atan2.c: Likewise.
5459 * math/w_atan2f.c: Likewise.
5460 * math/w_atan2l.c: Likewise.
5461 * math/w_atanh.c: Likewise.
5462 * math/w_atanhf.c: Likewise.
5463 * math/w_atanhl.c: Likewise.
5464 * math/w_cosh.c: Likewise.
5465 * math/w_coshf.c: Likewise.
5466 * math/w_coshl.c: Likewise.
5467 * math/w_dremf.c: Likewise.
5468 * math/w_exp10.c: Likewise.
5469 * math/w_exp10f.c: Likewise.
5470 * math/w_exp10l.c: Likewise.
5471 * math/w_exp2.c: Likewise.
5472 * math/w_exp2f.c: Likewise.
5473 * math/w_fmod.c: Likewise.
5474 * math/w_fmodf.c: Likewise.
5475 * math/w_fmodl.c: Likewise.
5476 * math/w_hypot.c: Likewise.
5477 * math/w_hypotf.c: Likewise.
5478 * math/w_hypotl.c: Likewise.
5479 * math/w_j0.c: Likewise.
5480 * math/w_j0f.c: Likewise.
5481 * math/w_j0l.c: Likewise.
5482 * math/w_j1.c: Likewise.
5483 * math/w_j1f.c: Likewise.
5484 * math/w_j1l.c: Likewise.
5485 * math/w_jn.c: Likewise.
5486 * math/w_jnf.c: Likewise.
5487 * math/w_jnl.c: Likewise.
5488 * math/w_lgamma.c: Likewise.
5489 * math/w_lgamma_r.c: Likewise.
5490 * math/w_lgammaf.c: Likewise.
5491 * math/w_lgammaf_r.c: Likewise.
5492 * math/w_lgammal.c: Likewise.
5493 * math/w_lgammal_r.c: Likewise.
5494 * math/w_log.c: Likewise.
5495 * math/w_log10.c: Likewise.
5496 * math/w_log10f.c: Likewise.
5497 * math/w_log10l.c: Likewise.
5498 * math/w_log2.c: Likewise.
5499 * math/w_log2f.c: Likewise.
5500 * math/w_log2l.c: Likewise.
5501 * math/w_logf.c: Likewise.
5502 * math/w_logl.c: Likewise.
5503 * math/w_pow.c: Likewise.
5504 * math/w_powf.c: Likewise.
5505 * math/w_powl.c: Likewise.
5506 * math/w_remainder.c: Likewise.
5507 * math/w_remainderf.c: Likewise.
5508 * math/w_remainderl.c: Likewise.
5509 * math/w_scalb.c: Likewise.
5510 * math/w_scalbf.c: Likewise.
5511 * math/w_scalbl.c: Likewise.
5512 * math/w_sinh.c: Likewise.
5513 * math/w_sinhf.c: Likewise.
5514 * math/w_sinhl.c: Likewise.
5515 * math/w_sqrt.c: Likewise.
5516 * math/w_sqrtf.c: Likewise.
5517 * math/w_sqrtl.c: Likewise.
5518 * math/w_tgamma.c: Likewise.
5519 * math/w_tgammaf.c: Likewise.
5520 * math/w_tgammal.c: Likewise.
5521
6a621eb7
UD
5522 * po/ja.po: Update from translation team.
5523
bf582445
AJ
55242011-09-29 Andreas Jaeger <aj@suse.de>
5525
f9efbf3a
AJ
5526 [BZ #13179]
5527 * sunrpc/netname.c (netname2host): Fix logic.
5528
bf582445
AJ
5529 [BZ #6779]
5530 [BZ #6783]
5531 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5532 correctly.
5533 * math/w_remainder.c (__remainder): Likewise.
5534 * math/w_remainderf.c (__remainderf): Likewise.
5535 * math/libm-test.inc (remainder_test): Add test cases.
5536
48693bea
AK
55372011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5538
5539 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5540 sdiv_qrnnd.
5541
42622229
LD
55422011-10-07 Ulrich Drepper <drepper@gmail.com>
5543
5544 * string/test-memcmp.c: Avoid unncessary #defines.
5545 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5546
093ecf92
LD
55472011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5548
5549 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5550 Use new sse2 version for core i3 - i7 as it's faster
5551 than sse42 version.
5552 (bit_Prefer_PMINUB_for_stringop): New.
5553 * sysdeps/x86_64/rawmemchr.S: Update.
5554 Replace with faster SSE2 version.
5555 * sysdeps/x86_64/memrchr.S: New file.
5556 * sysdeps/x86_64/memchr.S: Update.
5557 Replace with faster SSE2 version.
5558
fde56e5c
MP
55592011-09-12 Marek Polacek <mpolacek@redhat.com>
5560
5561 * elf/dl-load.c (lose): Add cast to avoid warning.
5562
21fd49a9
UD
55632011-10-07 Ulrich Drepper <drepper@gmail.com>
5564
5a06e643
UD
5565 * po/ca.po: Update from translation team.
5566
684ae515
UD
5567 * inet/getnetgrent_r.c: Hook up nscd.
5568 * nscd/Makefile (routines): Add nscd_netgroup.
5569 (nscd-modules): Add netgroupcache.
5570 (CFLAGS-netgroupcache.c): Define.
5571 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5572 (cache_search): Add const to second parameter.
5573 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5574 INNETGR.
5575 (dbs): Add netgrdb entry.
5576 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5577 (verify_persistent_db): Handle netgrdb.
5578 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5579 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5580 GETFDNETGR.
5581 (netgroup_response_header): Define.
5582 (innetgroup_response_header): Define.
5583 (datahead): Add netgroup_response_header and innetgroup_response_header
5584 elements.
5585 * nscd/nscd.conf: Add entries for netgroup cache.
5586 * nscd/nscd.h (dbtype): Add netgrdb.
5587 (_PATH_NSCD_NETGROUP_DB): Define.
5588 (netgroup_iov_disabled): Declare.
5589 (xmalloc, xcalloc, xrealloc): Move declarations here.
5590 (cache_search): Adjust prototype.
5591 Add netgroup-related prototypes.
5592 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5593 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5594 (__nscd_innetgr): Declare.
5595 * nscd/selinux.c (perms): Use access_vector_t as element type and
5596 add netgroup-related initializers.
5597 * nscd/netgroupcache.c: New file.
5598 * nscd/nscd_netgroup.c: New file.
5599 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5600 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5601 For four parameters use innetgr.
5602 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5603 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5604 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5605 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5606
21fd49a9
UD
5607 * nscd/connections.c (register_traced_file): Don't register file
5608 for disabled databases.
5609
054c0457
UD
56102011-10-06 Ulrich Drepper <drepper@gmail.com>
5611
32b63198
UD
5612 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5613
054c0457
UD
5614 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5615 from tree and freeing node.
5616
64031225
JO
56172011-09-25 Jiri Olsa <jolsa@redhat.com>
5618
5619 * nss/nsswitch.c (__nss_database_lookup): Handle
5620 nss_parse_service_list out of memory case.
5621
0490345c
JO
56222011-09-15 Jiri Olsa <jolsa@redhat.com>
5623
5624 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5625 out of memory case.
5626
3a62d00d
AS
56272011-10-04 Andreas Schwab <schwab@redhat.com>
5628
5629 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5630 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5631 pass it down.
5632 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5633 elf_machine_rela, elf_machine_lazy_rel.
5634 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5635 (ELF_DYNAMIC_DO_REL): Likewise.
5636 (ELF_DYNAMIC_DO_RELA): Likewise.
5637 (ELF_DYNAMIC_RELOCATE): Likewise.
5638 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5639 to ELF_DYNAMIC_DO_REL.
5640 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5641 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5642 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5643 elf_machine_rela.
5644 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5645 skip_ifunc, don't call ifunc function if non-zero.
5646 (elf_machine_rela): Likewise.
5647 (elf_machine_lazy_rel): Likewise.
5648 (elf_machine_lazy_rela): Likewise.
5649 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5650 (elf_machine_lazy_rel): Likewise.
5651 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5652 Likewise.
5653 (elf_machine_lazy_rel): Likewise.
5654 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5655 Likewise.
5656 (elf_machine_lazy_rel): Likewise.
5657 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5658 (elf_machine_lazy_rel): Likewise.
5659 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5660 (elf_machine_lazy_rel): Likewise.
5661 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5662 (elf_machine_lazy_rel): Likewise.
5663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5664 (elf_machine_lazy_rel): Likewise.
5665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5666 (elf_machine_lazy_rel): Likewise.
5667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5668 (elf_machine_lazy_rel): Likewise.
5669
68577918
UD
56702011-09-28 Ulrich Drepper <drepper@gmail.com>
5671
5672 * nss/nss_files/files-init.c (_nss_files_init): Use static
5673 initialization for all the *_traced_file variables.
5674
68822d74
AS
56752011-09-28 Andreas Schwab <schwab@redhat.com>
5676
5677 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5678
2056100b
RM
56792011-09-27 Roland McGrath <roland@hack.frob.com>
5680
5681 [BZ #13226]
5682 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5683
32c76b63
AS
56842011-09-27 Andreas Schwab <schwab@redhat.com>
5685
5686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5687 Reread the line before reparsing it.
5688
bf972c9d
AS
56892011-09-26 Andreas Schwab <schwab@redhat.com>
5690
5691 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5692
e057a1b5
JM
56932011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5694 Maxim Kuvyrkov <maxim@codesourcery.com>
5695 Joseph Myers <joseph@codesourcery.com>
5696
5697 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5698 if needed for __stack_chk_guard.
5699
bc7e1c36
RM
57002011-09-19 Roland McGrath <roland@hack.frob.com>
5701
ecb1482f
RM
5702 * sysdeps/posix/spawni.c (script_execute): Always define it.
5703 It will be optimized away if unused.
5704 (maybe_script_execute): New function.
5705 (__spawni): Call it.
5706
bc7e1c36
RM
5707 * Makerules: Don't include tls.make.
5708 (config-tls): Always set to thread.
5709 * tls.make.c: File removed.
5710
1c3b002b
MF
57112011-09-19 Mike Frysinger <vapier@gentoo.org>
5712
5713 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5714 * config.make.in (CPPFLAGS-config): New substituted variable.
5715
2840865d
UD
57162011-09-15 Ulrich Drepper <drepper@gmail.com>
5717
88738eb6
UD
5718 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5719
cbf645a6 5720 [BZ #13192]
2840865d
UD
5721 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5722 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5723
b402e91a
RM
57242011-09-15 Roland McGrath <roland@hack.frob.com>
5725
5726 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5727 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5729 (CALL_FAIL): Likewise.
5730 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5731 (CALL_FAIL): Macro removed.
5732 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5733
4c1a1f71
UD
57342011-09-15 Ulrich Drepper <drepper@gmail.com>
5735
5736 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5737 for __FINITE_MATH_ONLY__ == 1.
5738
edc121be
AS
57392011-09-15 Andreas Schwab <schwab@redhat.com>
5740
5741 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5742 __ieee754_sqrt instead of sqrt.
5743 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5744 __ieee754_sqrtf instead of sqrtf.
5745 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5746 __floorf instead of floorf.
5747 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5748 __floorf, __truncf instead of floorf, truncf.
5749
cd205654
UD
57502011-09-14 Ulrich Drepper <drepper@gmail.com>
5751
ee4d0315
UD
5752 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5753
cd205654
UD
5754 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5755 __extern_always_inline.
5756 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5757 32-bit.
5758
48b67d71
AS
57592011-09-14 Andreas Schwab <schwab@redhat.com>
5760
5761 * elf/rtld.c (dl_main): Also relocate in dependency order when
5762 doing symbol dependency testing.
5763
1ae12c75
AS
57642011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5765
5766 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5767 Always define `refsym'.
5768
995a80df
AS
57692011-09-13 Andreas Schwab <schwab@redhat.com>
5770
e529793b
AS
5771 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5772 (__FD_ELT): Renamed from __FDELT.
5773 * misc/bits/select2.h (__FD_ELT): Likewise.
5774 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5775 __FD_MASK instead of __FDELT, __FDMASK.
5776 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5777 Likewise.
5778 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5779 Likewise.
5780
52d4fef8
AS
5781 * elf/Makefile (gen-ldd): Fix pattern.
5782
995a80df
AS
5783 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5784 (init_tls): Likewise.
5785
8682f8b0
UD
57862011-09-12 Ulrich Drepper <drepper@gmail.com>
5787
5788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5789
de82006d
AS
57902011-09-12 Andreas Schwab <schwab@redhat.com>
5791
a7c8e6a1
AS
5792 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5793 `struct cmsghdr *' instead of `void *'.
5794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5795 Likewise.
5796
0f31fe77
AS
57972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5798
5799 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5800 if non-absolute.
5801 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5802 ldd_rewrite_script.
0f31fe77 5803
32b4c839
UD
58042011-09-11 Ulrich Drepper <drepper@gmail.com>
5805
83cd1420
UD
5806 * configure.in: Remove --with-tls option.
5807 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5808 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5809 out in case it is missing.
5810 * sysdeps/ia64/elf/configure.in: Likewise.
5811 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5812 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5813 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5814 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5815 * sysdeps/sh/elf/configure.in: Likewise.
5816 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5817 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5818 * sysdeps/x86_64/elf/configure.in: Likewise.
5819 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5820 * sysdeps/mach/hurd/tls.h: Likewise.
5821
633f745d
UD
5822 [BZ #13067]
5823 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5824
f318beb8
UD
5825 [BZ #13090]
5826 * configure.in: Fix use of AC_INIT.
5827
32b4c839
UD
5828 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5829
3ce1f295
UD
58302011-09-10 Ulrich Drepper <drepper@gmail.com>
5831
bb016596
UD
5832 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5833 __set_errno.
8e58439c
UD
5834 * malloc/hooks.c: Likewise.
5835
aebae053 5836 [BZ #11929]
02d46fc4
UD
5837 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5838 variables statically.
5839 (narenas): Initialize.
5840 (list_lock): Initialize.
bb016596
UD
5841 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5842 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5843 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5844 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5845 Add initializers to main_arena and mp_.
5846 (malloc_state): Remove pagesize member. Change all users to use
5847 GLRO(dl_pagesize).
5848
5849 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5850 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5851 is always initialized.
5852
22a89187
UD
5853 * malloc/malloc.c: Removed unused configurations and dead code.
5854 * malloc/arena.c: Likewise.
5855 * malloc/hooks.c: Likewise.
02d46fc4 5856 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5857
d063d164
UD
5858 * include/tls.h: Removed. USE___THREAD must always be defined.
5859 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5860 * elf/dl-libc.c: Likewise.
5861 * elf/dl-tsd.c: Likewise.
5862 * include/errno.h: Likewise.
5863 * include/netdb.h: Likewise.
5864 * include/resolv.h: Likewise.
5865 * inet/herrno-loc.c: Likewise.
5866 * inet/herrno.c: Likewise.
5867 * malloc/arena.c: Likewise.
5868 * malloc/hooks.c: Likewise.
5869 * malloc/malloc.c: Likewise.
5870 * resolv/res-state.c: Likewise.
5871 * resolv/res_libc.c: Likewise.
5872 * sysdeps/i386/dl-machine.h: Likewise.
5873 * sysdeps/ia64/dl-machine.h: Likewise.
5874 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5875 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5876 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5877 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5878 * sysdeps/sh/dl-machine.h: Likewise.
5879 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5880 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5881 * sysdeps/unix/i386/sysdep.S: Likewise.
5882 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5883 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5885 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5888 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5892 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5893 * sysdeps/x86_64/dl-machine.h: Likewise.
5894 * tls.make.c: Likewise.
5895
3ce1f295
UD
5896 * configure.in: Remove --with-__thread option. Make tests for
5897 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5898 tls_model attribute fail if no support is available. Remove
5899 USE_IN_LIBIO.
5900 * Makeconfig: Adjust for dropped configure option. All features are
5901 now mandatory.
5902 * Makerules: Likewise.
5903 * Versions.def: Likewise.
5904 * argp/argp-fmtstream.c: Likewise.
5905 * argp/argp-fmtstream.h: Likewise.
5906 * argp/argp-help.c: Likewise.
5907 * assert/assert.c: Likewise.
5908 * config.h.in: Likewise.
5909 * config.make.in: Likewise.
5910 * configure: Likewise.
5911 * configure.in: Likewise.
5912 * csu/Versions: Likewise.
5913 * csu/init.c: Likewise.
5914 * elf/tst-audit2.c: Likewise.
5915 * elf/tst-tls10.c: Likewise.
5916 * elf/tst-tls10.h: Likewise.
5917 * elf/tst-tls11.c: Likewise.
5918 * elf/tst-tls12.c: Likewise.
5919 * elf/tst-tls14.c: Likewise.
5920 * elf/tst-tlsmod11.c: Likewise.
5921 * elf/tst-tlsmod12.c: Likewise.
5922 * elf/tst-tlsmod13.c: Likewise.
5923 * elf/tst-tlsmod13a.c: Likewise.
5924 * elf/tst-tlsmod14a.c: Likewise.
5925 * elf/tst-tlsmod15b.c: Likewise.
5926 * elf/tst-tlsmod16a.c: Likewise.
5927 * elf/tst-tlsmod16b.c: Likewise.
5928 * elf/tst-tlsmod7.c: Likewise.
5929 * elf/tst-tlsmod8.c: Likewise.
5930 * elf/tst-tlsmod9.c: Likewise.
5931 * gmon/gmon.c: Likewise.
5932 * grp/fgetgrent_r.c: Likewise.
5933 * grp/putgrent.c: Likewise.
5934 * hurd/fopenport.c: Likewise.
5935 * include/libc-symbols.h: Likewise.
5936 * include/tls.h: Likewise.
5937 * intl/gettextP.h: Likewise.
5938 * intl/loadinfo.h: Likewise.
5939 * locale/global-locale.c: Likewise.
5940 * locale/localeinfo.h: Likewise.
5941 * mach/devstream.c: Likewise.
5942 * malloc/arena.c: Likewise.
5943 * malloc/set-freeres.c: Likewise.
5944 * misc/err.c: Likewise.
5945 * misc/getttyent.c: Likewise.
5946 * misc/mntent_r.c: Likewise.
5947 * posix/getopt.c: Likewise.
5948 * posix/wordexp.c: Likewise.
5949 * pwd/fgetpwent_r.c: Likewise.
5950 * resolv/Versions: Likewise.
5951 * resolv/res_hconf.c: Likewise.
5952 * shadow/fgetspent_r.c: Likewise.
5953 * shadow/putspent.c: Likewise.
5954 * stdio-common/printf_fphex.c: Likewise.
5955 * stdio-common/tmpfile.c: Likewise.
5956 * stdlib/abort.c: Likewise.
5957 * stdlib/fmtmsg.c: Likewise.
5958 * sunrpc/auth_unix.c: Likewise.
5959 * sunrpc/clnt_perr.c: Likewise.
5960 * sunrpc/clnt_tcp.c: Likewise.
5961 * sunrpc/clnt_udp.c: Likewise.
5962 * sunrpc/clnt_unix.c: Likewise.
5963 * sunrpc/openchild.c: Likewise.
5964 * sunrpc/svc_simple.c: Likewise.
5965 * sunrpc/svc_tcp.c: Likewise.
5966 * sunrpc/svc_udp.c: Likewise.
5967 * sunrpc/svc_unix.c: Likewise.
5968 * sunrpc/xdr.c: Likewise.
5969 * sunrpc/xdr_array.c: Likewise.
5970 * sunrpc/xdr_rec.c: Likewise.
5971 * sunrpc/xdr_ref.c: Likewise.
5972 * sunrpc/xdr_stdio.c: Likewise.
5973
1248c1c4
PB
59742011-09-09 Ulrich Drepper <drepper@gmail.com>
5975
5976 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5977
59782011-07-03 Andreas Jaeger <aj@suse.de>
5979
5980 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5981 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5982 regenerate with gen-libm-tests.pl.
5983
59842010-05-12 Petr Baudis <pasky@suse.cz>
5985
5986 [BZ #11589]
5987 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5988 around j0() zero points by switching to j1().
5989 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5990 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5992 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5993
f22e1074
UD
59942011-09-09 Ulrich Drepper <drepper@gmail.com>
5995
f19009c1
UD
5996 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5997 instead of 0.
5998 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5999 instead of 0. .
6000 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6001 Patch in part by Pavel Roskin <proski@gnu.org>.
6002
3f8cc204
UD
6003 [BZ #13138]
6004 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6005 realloc.
6006 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6007 Free memory block if necessary.
6008
f22e1074
UD
6009 [BZ #12847]
6010 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6011 be NULL. Don't lock in this case.
6012
0a2349f9
RM
60132011-09-09 Roland McGrath <roland@hack.frob.com>
6014
6015 * elf/elf.h (ELFOSABI_GNU): New macro.
6016 (ELFOSABI_LINUX): Define to that.
6017
f3cdd467
DZ
60182011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6019
6020 * string/strncat.c (strncat): Undef the symbol in case it has been
6021 defined in bits/string.h.
6022
74718d13
UD
60232011-09-09 Ulrich Drepper <drepper@gmail.com>
6024
633e9e0f
UD
6025 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6026
0a2349f9 6027 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6028 link map.
6029
f9924780
AJ
60302011-08-17 Andreas Jaeger <aj@suse.de>
6031
6032 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6033
7f5517aa
PP
60342011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6035 Ian Lance Taylor <iant@google.com>
6036
6037 * math/libm-test.inc (lround_test): New testcase.
6038 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6039
762011fe
UD
60402011-09-08 Ulrich Drepper <drepper@gmail.com>
6041
92963737
UD
6042 * Makefile: Remove support for automatic cvs check-ins.
6043 * Makerules: Likewise.
6044 * config.make.in: Likewise.
6045 * configure.in: Likewise.
6046 * intl/Makefile: Likewise.
6047 * locale/Makefile: Likewise.
6048 * po/Makefile: Likewise.
6049 * posix/Makefile: Likewise.
6050 * sysdeps/gnu/Makefile: Likewise.
6051 * sysdeps/mach/hurd/Makefile: Likewise.
6052 * sysdeps/sparc/sparc32/Makefile: Likewise.
6053
b0727fd8
JS
6054 [BZ #13118]
6055 * posix/Makefile (bug-regex32-ENV): Define.
6056 Patch by John Stanley <jpsinthemix@verizon.net>.
6057
a0f33f99
UD
6058 * misc/Makefile (headers): Add bits/select2.h.
6059 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6060 * misc/bits/select2.h: New file.
6061 * include/bits/select2.h: New file.
6062 * debug/Makefile (routines): Add fdelt_chk.
6063 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6064 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6065 FD_ISSET.
6066 * debug/fdelt_chk.c: New file.
6067
762011fe
UD
6068 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6069 * wcsmbs/test-wmemcmp.c: Likewise.
6070 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6071 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6072
60732011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6074
6075 * string/Makefile (strop-tests): Add memcmp.
6076 * string/test-wmemcmp.c: New file.
6077 * string/test-memcmp.c: Add wmemcmp support.
6078
7f513ec8
RM
60792011-09-08 Roland McGrath <roland@hack.frob.com>
6080
0442afb4
RM
6081 [BZ #13153]
6082 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6083 2011-07-19 change.
6084
7f513ec8
RM
6085 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6086 garbage value in a __mach_port_mod_refs call in the cases of the
6087 task-self and thread-self ports.
6088
a12b2239
ST
60892011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6090
6091 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6092
610f9ab4
AS
60932011-09-08 Andreas Schwab <schwab@redhat.com>
6094
7f513ec8 6095 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6096
48882a1a
LD
60972011-09-07 Ulrich Drepper <drepper@gmail.com>
6098
b49865be
UD
6099 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6100
fdc86bc9
UD
6101 * elf/dl-libc.c (dlerror_run): Pass back error code from
6102 dl_catch_error.
6103
c966526a
UD
6104 [BZ #13123]
6105 * elf/dl-load.c (lose): Free l_origin if it is valid.
6106
48882a1a
LD
6107 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6108 names.
6109 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6114 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6115
77a2a8b4
AZ
61162011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6117
6118 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6119 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6120 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6121 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6122 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6123 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6124 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6125 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6126 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6127 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6128
24f579d8
AM
61292011-08-15 Alan Modra <amodra@gmail.com>
6130
6131 [BZ #13092]
6132 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6133 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6134 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6135 ppc_mcount to static-only-routines.
6136 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6137 __mcount_internal.
6138 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6139 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6140
3d4837df
UD
61412011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6142
6143 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6144 for finite and infinity parameters.
6145
22700377
WS
61462011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6147
6148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6149 and add nop instructions for throughput optimization.
6150 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6151
5025581e
WS
61522011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6153
6154 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6155 aligned copy for power7 with vector-scalar instructions.
6156 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6157
08a300c9
L
61582011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6159
6160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6161 AVX check.
6162
59178ef9
AS
61632011-09-07 Andreas Schwab <schwab@redhat.com>
6164
6165 [BZ #13144]
6166 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6167 last change.
6168
e38ba7ab
UD
61692011-09-07 Ulrich Drepper <drepper@gmail.com>
6170
6171 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6172 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6173 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6174 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6175 clock_gettime.
6176
d53a73ac
UD
61772011-09-06 Ulrich Drepper <drepper@gmail.com>
6178
fc8bffcc
UD
6179 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6180 Forgot to demangle the pointer.
6181
ceaa0c5d
UD
6182 * sysdeps/i386/sysdep.h: Define atom_text_section.
6183 * sysdeps/x86_64/sysdep.h: Likewise.
6184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6185 section with atom_text_section.
6186 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6187 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6188 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6190 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6191
a77d3c17
UD
6192 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6193 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6194 already be defined. Change to take two parameters and don't assign
6195 result to variable. Adjust all users.
6196 Define INTERNAL_GETTIME if not already defined.
6197 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6198 call.
6199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6200 HAVE_CLOCK_GETTIME_VSYSCALL.
6201 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6202
d53a73ac
UD
6203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6204 gettimeofday vsyscall, just use time.
6205
a8f84144
AS
62062011-09-06 Andreas Schwab <schwab@redhat.com>
6207
6208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6209 <errno.h>.
6210
ef606249
UD
62112011-09-06 Ulrich Drepper <drepper@gmail.com>
6212
6213 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6214 syscall on x86-64.
6215 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6216 syscall.
6217 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6218 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6219 syscall if possible.
6220
6585cb60
UD
62212011-09-05 Ulrich Drepper <drepper@gmail.com>
6222
6223 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6224 e_ident. Don't pass to find_mapsXX.
6225 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6226
a5f524e4
LD
62272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6228
6229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6230 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6231 * sysdeps/x86_64/multiarch/strchr.S: Update.
6232 Check bit_slow_BSF bit.
6233 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6234 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6235 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6236
554881ef
UD
62372011-09-05 Ulrich Drepper <drepper@gmail.com>
6238
d96de963
UD
6239 [BZ #13134]
6240 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6241 before glibc 2.15.
6242 (tryshell): Define.
6243 (__spawni): Change last parameter to be flag. Test
6244 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6245 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6246 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6247 * posix/spawni.c: Likewise.
6248 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6249 * posix/spawnp.c: Likewise. Change normal version to use
6250 SPAWN_XFLAGS_USE_PATH.
6251 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6252 SPAWN_XFLAGS_TRY_SHELL.
6253
d48e5868
UD
6254 [BZ #13150]
6255 * posix/glob.h: Remove gcc 1.x support.
6256
554881ef
UD
6257 [BZ #13068]
6258 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6259
693fb948
LD
62602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6261
6262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6263 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6264 strrchr-sse2-bsf
6265 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6266 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6267 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6268 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6269 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6270 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6271
1b48c537
UD
62722011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6273
49d42c37
UD
6274 * sysdeps/x86_64/wcscmp.S: New file.
6275
1b48c537
UD
6276 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6277 wcscmp-c wcscmp-sse2
6278 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6279 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6280 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6281 * wcsmbs/wcscmp.c: Allow renaming.
6282
15c95c5d
DM
62832011-09-05 David S. Miller <davem@davemloft.net>
6284
6285 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6286 stack slot, rather than the struct return pointer slot.
6287 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6288 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6290 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6291
2f0ad8f3
UD
62922011-09-05 Ulrich Drepper <drepper@gmail.com>
6293
d88ae418
UD
6294 * po/ja.po: Update from translation team.
6295
2f0ad8f3
UD
6296 [BZ #13144]
6297 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6298 kernel in 64-bit binaries.
6299
5f4318d1
DM
63002011-09-01 David S. Miller <davem@davemloft.net>
6301
6302 * elf/elf.h (HWCAP_SPARC_*): Move to..
6303 * sysdeps/sparc/sysdep.h: this new file and add new values.
6304 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6305 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6306 _DL_HWCAP_COUNT to 24.
6307 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6308 entries.
6309 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6310 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6311 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6313 instead of magic constants.
6314 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6315
3ba57516
DM
63162011-08-31 David S. Miller <davem@davemloft.net>
6317
6318 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6320 Reimplement to do errno handling inline.
6321 (SYSCALL_ERROR_HANDLER): New macro.
6322 (__SYSCALL_STRING): Do not do errno handling in asm.
6323 (__CLONE_SYSCALL_STRING): Delete.
6324 (__INTERNAL_SYSCALL_STRING): Delete.
6325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6326 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6327 (PSEUDO): Reimplement to do errno handling inline.
6328 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6329 (SYSCALL_ERROR_HANDLER): New macro.
6330 (__SYSCALL_STRING): Do not do errno handling in asm.
6331 (__CLONE_SYSCALL_STRING): Delete.
6332 (__INTERNAL_SYSCALL_STRING): Delete.
6333 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6334 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6335 i386.
6336 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6337 (inline_syscall*): Add 'err' argument.
6338 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6339 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6340 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6341 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6342
6343 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6344 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6345
2bc17433
AS
63462011-08-30 Andreas Schwab <schwab@redhat.com>
6347
6348 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6349
fbeb5f4d
JO
63502011-08-29 Jiri Olsa <jolsa@redhat.com>
6351
6352 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6353 directive.
6354
ad69cc26
DM
63552011-08-24 David S. Miller <davem@davemloft.net>
6356
6357 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6358
39dd69df
AS
63592011-08-24 Andreas Schwab <schwab@redhat.com>
6360
6361 * elf/Makefile: Add rules to build and run unload8 test.
6362 * elf/unload8.c: New file.
6363 * elf/unload8mod1.c: New file.
6364 * elf/unload8mod1x.c: New file.
6365 * elf/unload8mod2.c: New file.
6366 * elf/unload8mod3.c: New file.
6367
6368 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6369 it wasn't used.
6370
2c0b250a
DM
63712011-08-23 David S. Miller <davem@davemloft.net>
6372
6373 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6374 subtract stack bias.
6375 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6376 %sp not %fp in calculations.
6377 (_JMPBUF_UNWINDS_ADJ): Likewise.
6378
22044b48
DM
6379 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6380 (aio_suspend): Call it to force an exception region around the
6381 AIO_MISC_WAIT() invocation.
6382
2cae4995
AS
63832011-08-23 Andreas Schwab <schwab@redhat.com>
6384
6385 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6386 backslash.
6387
873a772e
AJ
63882011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6389
6390 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6391 protection macro.
6392 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6393 and <dl-machine.h>.
6394 (Elf64_FuncDesc): Remove.
6395
25ad0df1
DM
63962011-08-22 David S. Miller <davem@davemloft.net>
6397
6398 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6399 sigaltstack check, add missing cfi directives.
6400 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6401 missing cfi directives, and sigaltstack handling.
6402
e888bcbe
AS
64032011-08-16 Andreas Schwab <schwab@redhat.com>
6404
6405 [BZ #11724]
6406 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6407 object is seen twice.
6408 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6409
6410 * elf/Makefile (distribute): Add tst-initorder2.c.
6411 (tests): Add tst-initorder2.
6412 (modules-names): Add tst-initorder2a tst-initorder2b
6413 tst-initorder2c tst-initorder2d. Add rules to build them.
6414 ($(objpfx)tst-initorder2.out): New rule.
6415 * elf/tst-initorder2.c: New file.
6416 * elf/tst-initorder2.exp: New file.
6417
87162f46
AS
64182011-08-22 Andreas Schwab <schwab@redhat.com>
6419
70538b7f
AS
6420 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6421
f55ffe58
AS
6422 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6423 dependencies back to end of function.
6424
87162f46
AS
6425 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6426 $(elfobjdir)/ld.so.
6427
91b392a4
UD
64282011-08-21 Ulrich Drepper <drepper@gmail.com>
6429
6430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6431 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6433 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6434 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6435 of __vdso_gettimeofday.
6436 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6437 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6438 attribute_hidden.
6439 (_libc_vdso_platform_setup): Remove initialization of
6440 __vdso_gettimeofday and __vdso_time.
6441
5c43483f
UD
64422011-08-20 Ulrich Drepper <drepper@gmail.com>
6443
775a77e7
UD
6444 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6445 and fgetc_unlocked.
6446 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6447 getc_unlocked.
89f447ed 6448
49c74ba9
UD
6449 * elf/dl-open.c (add_to_global): Report additions to the global scope
6450 for LD_DEBUG=scopes.
6451 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6452 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6453
5c43483f
UD
6454 [BZ #13114]
6455 * stdio-common/Makefile (tests): Add bug24.
6456 * stdio-common/bug24.c: New file.
6457
a101b025
AJ
64582011-08-19 Andreas Jaeger <aj@suse.de>
6459
6460 [BZ #13114]
6461 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6462 non-existant file when using close-on-exec mode.
6463
c88f1766
UD
64642011-08-20 Ulrich Drepper <drepper@gmail.com>
6465
0276a718
UD
6466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6467 the very first instruction.
6468
c88f1766
UD
6469 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6470 the CFI state in the end.
6471 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6472 inclusion of dl-trampoline.h.
6473 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6474
51ccffa0
AS
64752011-08-19 Andreas Schwab <schwab@redhat.com>
6476
94d7165f
AS
6477 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6478 expectations for long double.
6479
51ccffa0
AS
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6481 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6482
fd708658 64832011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6484
6485 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6486 artificual limit depends upon the system page size.
6487
44f0a71e
UD
64882011-08-17 Ulrich Drepper <drepper@gmail.com>
6489
6490 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6491 * resolv/Makefile: Define CFLAGS-libresolv.
6492
8de79a24
AS
64932011-08-17 Andreas Schwab <schwab@redhat.com>
6494
6495 * nss/makedb.c (compute_tables): Make variables used in nested
6496 function static.
6497
27724598
UD
64982011-08-17 Ulrich Drepper <drepper@gmail.com>
6499
c5305d88
UD
6500 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6501 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6502 if buffer was too small.
6503
27724598
UD
6504 * elf/pldd.c (main): Attach to all threads in the process.
6505 Rewrite /proc handling to use *at functions.
6506
076fe015
UD
65072011-08-16 Ulrich Drepper <drepper@gmail.com>
6508
174baab3
UD
6509 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6510 specifies first scope to show.
6511 (dl_open_worker): Update callers. Move printing scope of new
6512 object to before the relocation.
44f0a71e 6513 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6514 * sysdeps/generic/ldsodefs.h: Update declaration.
6515
076fe015
UD
6516 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6517 string for the scope number.
6518
a60df2c3
UD
65192011-08-14 Ulrich Drepper <drepper@gmail.com>
6520
6521 * nscd/servicescache.c (cache_addserv): Make sure written is always
6522 initialized.
6523
5e4287d1
RM
65242011-08-14 Roland McGrath <roland@hack.frob.com>
6525
85ae0589
RM
6526 * sysdeps/i386/i486/bits/atomic.h
6527 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6528 statement expression, so as to suppress "set but not used" warning.
6529 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6530
69f63097
RM
6531 * string/strncat.c (STRNCAT): Use prototype definition.
6532
675456ef
RM
6533 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6534 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6535 -Iprograms here.
6536 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6537 (localedef-modules): Add localedef.
6538 (locale-modules): Add locale.
6539
5e4287d1
RM
6540 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6541 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6542 to avoid a warning.
6543
9c96ff23
DM
65442011-08-14 David S. Miller <davem@davemloft.net>
6545
6546 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6547 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6548
f9ddf089
UD
65492011-08-13 Ulrich Drepper <drepper@gmail.com>
6550
44f0a71e 6551 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6552 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6553 * elf/rtld.c (dl_main): Set l_name of vDSO.
6554 Call _dl_show_scope when DL_DEBUG_SCOPES.
6555 (process_dl_debug): Recognize scopes flag and also set it for all.
6556 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6557 Declare _dl_show_scope.
6558
1dc27704
UD
6559 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6560 (do_dlopen): Pass caller_dlopen to dl_open.
6561 (__libc_dlopen_mode): Initialize caller_dlopen.
6562
f9ddf089
UD
6563 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6564 of libc. Make tolower call locale-independent. Optimize a bit by
6565 using isdigit instead of isalnum.
6566 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6567
9ac533d3
UD
65682011-08-12 Ulrich Drepper <drepper@gmail.com>
6569
6570 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6571 was a dependency or dynamically loaded.
6572
89edf2e9
UD
65732011-08-11 Ulrich Drepper <drepper@gmail.com>
6574
8e999d29
UD
6575 * intl/l10nflist.c: Allow architecture-specific pop function.
6576 * sysdeps/x86_64/l10nflist.c: New file.
6577
89edf2e9
UD
6578 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6579 classification.
6580
14d96785
AS
65812011-08-10 Andreas Schwab <schwab@redhat.com>
6582
6583 * include/dirent.h: Add libc_hidden_proto for scandirat and
6584 scandirat64. Don't declare __scandirat64.
6585 * dirent/scandirat.c: Add libc_hidden_def.
6586 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6587 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6588
6761ac04
DM
65892011-08-10 David S. Miller <davem@davemloft.net>
6590
6591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6592 enum.
6593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6594 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6595 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6596
c55fbd1e
UD
65972011-08-09 Ulrich Drepper <drepper@gmail.com>
6598
6599 * Versions.def [libc]: Add GLIBC_2.15.
6600 * dirent/Makefile (routines): Add scandirat and scandirat64.
6601 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6602 GLIBC_2.15.
6603 * dirent/dirent.h: Declare scandirat and scandirat64.
6604 * dirent/scandirat.c: New file.
6605 * dirent/scandirat64.c: New file.
6606 * sysdeps/wordsize-64/scandirat.c: New file.
6607 * sysdeps/wordsize-64/scandirat64.c: New file.
6608 * dirent/opendir.c: Define opendirat.
6609 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6610 using scandirat.
6611 * dirent/scandir64.c: Adjust for scandir.c change.
6612 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6613 __scandirat64, and __scandir_cancel_handler.
6614 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6615 additional parameter and use openat instead of open (outside of ld.so).
6616 Add new __opendir as wrapper around __opendirat.
6617 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6618 here without requiring old scandirat implementation.
6619
879165f2
UD
66202011-08-08 Ulrich Drepper <drepper@gmail.com>
6621
6622 * dirent/scandir.c (cancel_handler): Renamed to
6623 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6624 defined. Adjust users.
6625 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6626 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6627
cb7e923b
UD
66282011-08-04 Ulrich Drepper <drepper@gmail.com>
6629
16292edd
UD
6630 * string/test-string.h (IMPL): Use __STRING to expand name and then
6631 stringify it.
6632
cb7e923b
UD
6633 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6634 of cleanups.
6635
cff82933
LD
66362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6637
6638 * string/Makefile: Update.
6639 (strop-tests): Append strncat.
6640 * string/test-wcscmp.c: New file.
6641 New comprehensive test for wcscmp.
6642 * string/test-strcmp.c: Update.
6643 (WIDE): New define.
6644
9be9bfcc
AS
66452011-07-22 Andreas Schwab <schwab@redhat.com>
6646
6647 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6648 line.
6649
2e96f1c7
AS
66502011-07-26 Andreas Schwab <schwab@redhat.com>
6651
6652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6653 encoding to ACE if AI_IDN.
6654
85188888
JJ
66552011-08-01 Jakub Jelinek <jakub@redhat.com>
6656
6657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6658 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6659
5fa16e9b
LD
66602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6661
6662 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6663 Fix overflow bug in strncat.
6664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6665
6666 * string/test-strncat.c: Update.
6667 Add new tests for checking overflow bugs.
6668
66692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6670
6671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6672 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6673 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6674 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6676 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6677 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6678 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6679 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6680
6681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6682 (USE_AS_STRCAT): Define.
6683 Add strcat and strncat support.
6684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6685
8c1a459f
AS
66862011-07-25 Andreas Schwab <schwab@redhat.com>
6687
6688 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6689 __n bigger than INT_MAX+1.
6690 (__strncmp_g): Likewise.
6691
bba33c28
UD
66922011-07-23 Ulrich Drepper <drepper@gmail.com>
6693
798be72d
UD
6694 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6695 * libio/stido.h: Likewise.
6696
8accd4dc
UD
6697 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6698 (AF_NFC): Define.
6699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6700 (AF_NFC): Define.
6701
cbff0d96
UD
6702 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6704 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6705 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6706 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6707
9191c04a
UD
6708 [BZ #13021]
6709 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6710 installed.
6711
bba33c28
UD
6712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6713 typo.
6714 (_dl_x86_64_save_sse): Likewise.
6715
90f139dd
UD
67162011-07-22 Ulrich Drepper <drepper@gmail.com>
6717
1aae088a
UD
6718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6719 OSXSAVE.
6720 (_dl_x86_64_save_sse): Likewise.
6721
8e2045f5
UD
6722 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6723
90f139dd
UD
6724 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6725
1d002f25
AS
67262011-07-21 Andreas Schwab <schwab@redhat.com>
6727
6728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6729 change.
6730 (_dl_x86_64_save_sse): Use correct AVX check.
6731
21137f89
UD
67322011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6733
6734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6735 bug in strncpy/strncat.
6736 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6737
a65c0b7a
UD
67382011-07-21 Ulrich Drepper <drepper@gmail.com>
6739
6740 * string/tester.c (test_strcat): Add tests for different alignments
6741 of source and destination.
6742 (test_strncat): Likewise.
6743
6986b98a
UD
67442011-07-20 Ulrich Drepper <drepper@gmail.com>
6745
90bb2039
UD
6746 [BZ #12852]
6747 * posix/glob.c (glob): Check passed in values before using them in
6748 expressions to avoid some overflows.
6749 (glob_in_dir): Likewise.
6750
5644ef54
UD
6751 [BZ #13007]
6752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6753 check for AVX enablement so that we don't crash with old kernels and
6754 new hardware.
6755 * elf/tst-audit4.c: Add same checks here.
6756 * elf/tst-audit6.c: Likewise.
6757
6758 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6759
bfc9dc9b
AS
67602011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6761
6762 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6763
702e64bb
UD
67642011-07-20 Ulrich Drepper <drepper@gmail.com>
6765
6766 * po/cs.po: Update from translation team.
6767 * po/bg.po: Likewise.
6768
295e904f
MP
67692011-07-12 Marek Polacek <mpolacek@redhat.com>
6770
6771 * misc/sys/cdefs.h: Add support for const attribute.
6772 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6773 to gnu_dev_{major,minor,makedev} functions.
6774
3ff94596
MP
67752011-07-20 Marek Polacek <mpolacek@redhat.com>
6776
6777 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6778
28b59fca
AS
67792011-07-20 Andreas Schwab <schwab@redhat.com>
6780
6781 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6782 strlen results.
6783
19df733e
AK
67842011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6785
6786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6787 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6788 register in order to avoid conflicts with the soft frame pointer
6789 being held in r11 when necessary.
6790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6791 (INTERNAL_VSYSCALL_NCS): Likewise.
6792
c8835729
MP
67932011-07-14 Marek Polacek <mpolacek@redhat.com>
6794
6795 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6796 * elf/dl-fini.c (_dl_fini): Adjust caller.
6797 * elf/dl-close.c (_dl_close_worker): Likewise.
6798 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6799
b902330c
MP
68002011-07-15 Marek Polacek <mpolacek@redhat.com>
6801
8991e135
MP
6802 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6803 "aux_cache->nlibs < 0".
6804
b902330c
MP
6805 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6806 in the reload-count case.
6807
99710781
LD
68082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6809
6810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6811 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6812 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6813 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6814 * sysdeps/x86_64/multiarch/strcat.S: New file.
6815 * sysdeps/x86_64/multiarch/strncat.S: New file.
6816 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6817 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6818 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6819 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6820 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6821 (USE_AS_STRCAT): Define.
6822 Add strcat and strncat support.
6823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6824 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6825 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6826 * string/strncat.c: Update.
6827 (USE_AS_STRNCAT): Define.
6828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6829 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6830 and i7.
6831 * sysdeps/x86_64/multiarch/init-arch.h
6832 (bit_Prefer_PMINUB_for_stringop): New.
6833 (index_Prefer_PMINUB_for_stringop): Likewise.
6834 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6835 bit_Prefer_PMINUB_for_stringop.
6836
7dc6bd90
UD
68372011-07-19 Ulrich Drepper <drepper@gmail.com>
6838
6839 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6840 buffer64.
6841 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6842 of casting of buffer.
6843 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6844 buffer32 and buffer64.
6845 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6846 writes instead of casting of buffer.
6847 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6848 buffer32.
6849 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6850 casting of buffer.
6851
e0e72284
AS
68522011-07-19 Andreas Schwab <schwab@redhat.com>
6853
6854 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6855
feb1eb0b
UD
68562011-07-19 Ulrich Drepper <drepper@gmail.com>
6857
6858 * nscd/nscd.c (termination_handler): Don't do anything for a database
6859 if it has not yet been initialized.
6860
298711ff
UD
68612011-07-18 Ulrich Drepper <drepper@gmail.com>
6862
6863 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6864
68652011-07-15 Marek Polacek <mpolacek@redhat.com>
6866
6867 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6868
f9d68389
UD
68692011-07-18 Ulrich Drepper <drepper@gmail.com>
6870
6871 * po/nl.po: Update from translation team.
6872 * po/sv.po: Likewise.
6873
db290cf5
RM
68742011-07-16 Roland McGrath <roland@hack.frob.com>
6875
6876 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6877 now disallowed by GCC.
5c550700 6878
fd5e21c7
RM
6879 * configure.in (use-default-link): Default to yes if a test -shared
6880 link meets our qualifications.
6881 * configure: Regenerated.
6882
5c550700
RM
6883 * config.make.in (output-format): New variable.
6884 * configure.in: Check for ld --print-output-format support.
6885 * configure: Regenerated.
6886 * Makerules ($(common-objpfx)format.lds)
6887 [$(output-format) != unknown]: Just use $(output-format),
6888 instead of the linker-script munging.
6889
9fa2c032
RM
68902011-07-14 Roland McGrath <roland@hack.frob.com>
6891
a6928d51
RM
6892 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6893 of $(common-objpfx)shlib.lds.
6894 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6895
661607b3
RM
6896 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6897 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6898
9fa2c032
RM
6899 * configure.in (-z relro check): Adjust test code to add a large
6900 writable data section after it.
6901 * configure: Regenerated.
6902
defe9061
RM
69032011-07-11 Roland McGrath <roland@hack.frob.com>
6904
6905 * configure.in (-z relro check): Fix test code to make the variable
6906 truly const.
6907 * configure: Regenerated.
6908
319b9ad4
UD
69092011-07-11 Ulrich Drepper <drepper@gmail.com>
6910
6911 * nscd/nscd.h (struct traced_file): Define.
6912 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6913 elements. Add traced_files.
6914 (inotify_fd): Declare.
6915 (register_traced_file): Declare.
6916 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6917 (inotify_fd): Export.
6918 (resolv_conf_descr): Remove.
6919 (nscd_init): Move inotify descriptor creation to main.
6920 Don't register files for notification here.
6921 (register_traced_file): New function.
6922 (invalidate_cache): Don't use reset_res to determine whether to call
6923 res_init, go through the list of registered files.
6924 (main_loop_poll): The inotify descriptors are now stored in the
6925 structures for the traced files.
6926 (main_loop_epoll): Likewise
6927 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6928 to __nss_disable_nscd.
6929 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6930 for a database anymore. Check the records for all the registered
6931 files instead.
6932 * nss/Makefile (libnss_files-routines): Add files-init.
6933 (libnss_db-routines): Add db-init.
6934 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6935 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6936 * nss/nss_db/db-init.c: New file.
6937 * nss/nss_files/files-init.c: New file.
6938 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6939 __nss_lookup_function.
6940 (__nss_lookup_function): Call nss_load_library.
6941 (nss_load_all_libraries): New function.
6942 (__nss_disable_nscd): Take parameter with callback function for files
6943 to register. Set is_nscd. Load all the DSOs for the NSS modules
6944 used for the cached services.
6945 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6946 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6947 options for features to all the files in nscd.
6948
6949 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6950
23bee3e8
RM
69512011-07-10 Roland McGrath <roland@hack.frob.com>
6952
6953 * csu/elf-init.c (__libc_csu_init): Comment typo.
6954
46a5b7f0
UD
69552011-07-09 Ulrich Drepper <drepper@gmail.com>
6956
6957 * po/pl.po: Update from translation team.
6958 * po/ja.po: Likewise.
6959 * po/ru.po: Likewise.
6960 * po/ko.po: Likewise.
6961 * po/fr.po: Likewise.
6962
d30cf5bb
RM
69632011-07-09 Roland McGrath <roland@hack.frob.com>
6964
113ddea4
RM
6965 * configure.in (.ctors/.dtors header and trailer check):
6966 Use an empirical test on a built program.
6967 * configure: Regenerated.
6968
574920b4
RM
6969 * configure.in (-z relro check): Use an empirical test on a built DSO.
6970 Detect, but do not require, on ia64.
6971 * configure: Regenerated.
6972
d30cf5bb
RM
6973 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6974 Update tests that use readelf to use $READELF instead.
6975 * configure: Regenerated.
6976
8538fdb3
UD
69772011-07-08 Ulrich Drepper <drepper@gmail.com>
6978
6979 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6980 if the result is not used.
6981
04d08991
AJ
69822011-07-05 Andreas Jaeger <aj@suse.de>
6983
6984 [BZ#9696]
6985 * stdlib/tst-strtod.c: Add testcase.
6986
de283087
AD
69872011-07-07 Ulrich Drepper <drepper@gmail.com>
6988
4e5f31c8 6989 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6990 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6991 The latter has a higher limit. Take additional parameter to pass to
6992 the new function.
6993 (__pathconf): Pass file to __statfs_link_max.
6994 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6995 __statfs_link_max.
6996 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6997 __statfs_link_max.
6998
de283087
AD
6999 [BZ #12868]
7000 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7001 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7002 Handle Lustre.
7003 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7004 (__statfs_filesize_max): Likewise.
7005 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7006
c75fa153
AJ
70072011-07-05 Andreas Jaeger <aj@suse.de>
7008
7009 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7010
1a544854
UD
70112011-07-06 Marek Polacek <mpolacek@redhat.com>
7012
7013 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7014 `status' variable.
7015 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7016 Likewise.
7017
6f0eec67
UD
70182011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 * Makefile (strop-tests): Add strncat.
7021 * string/test-strncat.c: New file.
7022
aae30307
UD
70232011-06-30 Marek Polacek <mpolacek@redhat.com>
7024
7025 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7026
c0cfb5eb
UD
70272011-06-21 Andreas Jaeger <aj@suse.de>
7028
7029 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7030 Copy rule from iconvdata/Makefile.
7031
01636b21
UD
70322011-07-06 Ulrich Drepper <drepper@gmail.com>
7033
7034 [BZ #12922]
7035 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7036 but no long options are defined, just return 'W'.
7037
9895c8bc
UD
70382011-06-22 Marek Polacek <mpolacek@redhat.com>
7039
7040 [BZ #9696]
7041 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7042
5d4cf042
UD
70432011-07-06 Ulrich Drepper <drepper@gmail.com>
7044
7045 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7046 netgroups to read.
960e5535 7047 (innetgr): Likewise.
5d4cf042 7048
751eb97e
RM
70492011-07-05 Roland McGrath <roland@hack.frob.com>
7050
7051 * config.make.in (install_root): Default to $(DESTDIR).
7052
f15f1e45
UD
70532011-07-05 Ulrich Drepper <drepper@gmail.com>
7054
7055 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7056
4e34ac6a
RM
70572011-07-02 Roland McGrath <roland@hack.frob.com>
7058
5e9b6af4
RM
7059 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7060
84f9ea0f
RM
7061 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7062 containing directory rather than embedding absolute directory names.
7063
ea5ee9f7
RM
7064 * scripts/check-local-headers.sh: Rewritten using awk.
7065 Match by word, not by line. Print error messages for matches.
7066 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7067
1b74661a
RM
7068 * Makerules [shlib-lds-flags empty]:
7069 ($(common-objpfx)libc_pic.opts): New target.
7070 ($(common-objpfx)libc_pic.os.clean): New target.
7071 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7072
7073 * config.make.in (OBJCOPY): New variable.
7074 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7075 * configure: Regenerated.
7076
f781ef40
RM
7077 * config.make.in (use-default-link): New variable.
7078 * configure.in (use_default_link): Grok --with-default-link to set it.
7079 * configure: Regenerated.
7080 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7081 (shlib-lds, shlib-lds-flags): Define to empty.
7082
2d4fa81e
RM
7083 * Makerules (shlib-lds): New variable.
7084 (shlib-lds-flags): New variable.
7085 (build-shlib, build-moduile, build-module-asneeded): Use it.
7086 ($(common-objpfx)libc.so): Use $(shlib-lds).
7087 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7088 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7089
31fffa6b
RM
7090 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7091 DT_FLAGS/DT_FLAGS_1 with zero flags.
7092
4e34ac6a
RM
7093 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7094 linker script munging.
7095
fcfc776b
UD
70962011-07-02 Ulrich Drepper <drepper@gmail.com>
7097
7098 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7099 as 128-bit value.
7100 * crypt/sha512.c (sha512_process_block): Perform total addition using
7101 128-bit if possible.
7102 (__sha512_finish_ctx): Likewise.
7103 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7104 as 64-bit value.
7105 * crypt/sha256.c (SWAP64): Define.
7106 (sha256_process_block): Perform total addition using 64-bit if
7107 possible.
7108 (__sha256_finish_ctx): Likewise.
7109
99231d9a
UD
71102011-07-01 Ulrich Drepper <drepper@gmail.com>
7111
7112 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7114 * nscd/hstcache.c (cache_addhst): Likewise.
7115 * nscd/grpcache.c (cache_addgr): Likewise.
7116 * nscd/aicache.c (addhstaiX): Likewise
7117 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7118
445b4a53
TK
71192011-07-01 Thorsten Kukuk <kukuk@suse.de>
7120
7121 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7123 * nscd/hstcache.c (cache_addhst): Likewise.
7124 * nscd/grpcache.c (cache_addgr): Likewise.
7125 * nscd/aicache.c (addhstaiX): Likewise
7126
6d4d8e8e
AS
71272011-07-01 Andreas Schwab <schwab@redhat.com>
7128
7129 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7130 domain only when needed.
7131
89f654c5
AS
71322011-06-30 Andreas Schwab <schwab@redhat.com>
7133
7134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7135 is always restored.
7136
cf3b23ff
UD
71372011-06-29 Ulrich Drepper <drepper@gmail.com>
7138
7139 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7140 are re-adding the entry.
7141 * nscd/servicescache.c (cache_addserv): Likewise.
7142
751626f9
AJ
71432011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7144
7145 * sysdeps/generic/dl-irel.h: fix protection against multiple
7146 inclusions.
7147 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7148
9113ea1f
UD
71492011-06-28 Ulrich Drepper <drepper@gmail.com>
7150
5c0b8d90
UD
7151 [BZ #12935]
7152 * malloc/memusage.sh: Fix quoting in message.
7153 * debug/xtrace.sh: Likewise.
7154
9113ea1f
UD
7155 * configure.in: Remove support for --experimental-malloc option, make
7156 it the default.
7157 * config.make.in: Likewise.
7158 * malloc/Makefile: Likewise.
7159
a4172181
AS
71602011-06-27 Andreas Schwab <schwab@redhat.com>
7161
7162 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7163 two-byte characters.
7164
78a7eee7
RM
71652011-06-27 Roland McGrath <roland@hack.frob.com>
7166
62bede13
RM
7167 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7168 AC_CACHE_CHECK invocation.
7169 * configure: Regenerated.
7170
78a7eee7
RM
7171 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7172
5ce33a62
UD
71732011-06-27 Ulrich Drepper <drepper@gmail.com>
7174
034807a9
UD
7175 [BZ #12350]
7176 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7177 bit from old_res_options.
7178
4902da17
UD
7179 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7180
5ce33a62
UD
7181 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7182 value type for setfct.
7183
c2344f56
L
71842011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7185
7186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7187 __gettimeofday instead of gettimeofday.
7188
68468076
UD
71892011-06-26 Ulrich Drepper <drepper@gmail.com>
7190
7191 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7192
acb0d739
L
71932011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7194
7195 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7196
7197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7198 info.
7199
8912479f
L
72002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7203 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7204 strcpy-sse2-unaligned strncpy-sse2-unaligned
7205 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7206 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7207 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7208 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7209 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7210 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7212 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7213 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7214 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7215 (STRCPY): Support SSE2 and SSSE3 versions.
7216
d5495a11
UD
72172011-06-24 Ulrich Drepper <drepper@gmail.com>
7218
7219 [BZ #12874]
7220 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7221 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7222 kernels which artificially limit size of requests.
7223
0b1cbaae
L
72242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7225
7226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7227 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7228 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7229 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7230 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7231 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7232 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7233 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7234 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7236 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7237 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7238 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7239 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7240 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7242 Enable unaligned load optimization for Intel Core i3, i5 and i7
7243 processors.
7244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7245 Define.
7246 (index_Fast_Unaligned_Load): Define.
7247 (HAS_FAST_UNALIGNED_LOAD): Define.
7248
07f494a0
MP
72492011-06-23 Marek Polacek <mpolacek@redhat.com>
7250
7251 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7252
fa3fc0fe
UD
72532011-06-22 Ulrich Drepper <drepper@gmail.com>
7254
7255 [BZ #12907]
7256 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7257 until it is clear that the information is realy needed.
7258 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7259
e12df166
AS
72602011-06-22 Andreas Schwab <schwab@redhat.com>
7261
7262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7263
852eb34d
UD
72642011-06-22 Ulrich Drepper <drepper@gmail.com>
7265
84e2a551
UD
7266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7267 /sys/devices/system/cpu/online if it is usable.
7268
852eb34d
UD
7269 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7270 reading the information from the /proc filesystem to once a second.
7271
6e502e19
UD
72722011-06-21 Andreas Jaeger <aj@suse.de>
7273
7274 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7275 NULL after inclusion of kernel headers.
7276
75d39ff2
UD
72772011-06-21 Ulrich Drepper <drepper@gmail.com>
7278
51f9aa6a
UD
7279 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7280 calls to internal_setent.
7281
c0244a9d
UD
7282 [BZ #12885]
7283 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7284 addresses using gethostbyname4_r ignore IPv4 addresses.
7285
c5e3c2ae
UD
7286 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7287 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7288
75d39ff2
UD
7289 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7290
42675c6f
DM
72912011-06-20 David S. Miller <davem@davemloft.net>
7292
7293 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7294 inclusions.
7295 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7296
7297 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7298 (elf_irel): Use it.
7299 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7300 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7301 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7302 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7303 * sysdeps/x86_64/dl-irel.h: Likewise.
7304
7305 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7306 * elf/dl-sym.c: Likewise.
7307
57912a71
UD
73082011-06-15 Ulrich Drepper <drepper@gmail.com>
7309
7310 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7311 need to dereference resplen2.
7312
ee22793d
AS
73132011-06-14 Andreas Schwab <schwab@redhat.com>
7314
7315 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7316
a9e836b0
UD
73172011-06-15 Ulrich Drepper <drepper@gmail.com>
7318
77fb9117
UD
7319 * Makeconfig: Define vardbdir and inst_vardbdir.
7320 * nss/Makefile: Add rules to install db-Makefile.
7321
40c1b22c
UD
7322 * nss/nss_db/db-XXX.c: Cleanup.
7323
9f2da732
UD
7324 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7325 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7326 GLIBC_PRIVATE.
7327 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7328 * nss/makedb.c: Implement -g option to specify that value strings
7329 are generated and should not be added to table iterated over for
7330 get*ent calls.
7331 * nss/nss_db/db-initgroups.c: New file.
7332
82e9a1f7
UD
7333 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7334 interface.
7335
c41af17e
UD
7336 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7337 (internal_getgrouplist): Adjust to name change.
7338 Update use_initgroups_entry if this is not the first call.
7339 * nss/databases.def: Add initgroups entry.
7340
a9e836b0
UD
7341 * nss/makedb.c (compute_tables): Check result of multiple hash table
7342 sizes to minimize maximum chain length.
7343
2666d441
UD
73442011-06-14 Ulrich Drepper <drepper@gmail.com>
7345
7346 * Versions.def: Add entry for libnss_db.
7347 * shlib-versions: Likewise.
7348 * nss/Makefile: Add rules to build libnss_db.
7349 * nss/Versions: Add libnss_db information. Organize libnss_files
7350 entries better.
7351 * nss/db-Makefile: Add gshadow support. Change rules for the new
7352 makedb progra. Some minor improvements to generate smaller files.
7353 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7354 here from...
7355 * nss/makedb.c: ...here.
7356 Improve database format to be smaller and require less memory at
7357 runtime.
7358 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7359 db anymore.
7360 * nss/nss_db/db-netgrp.c: Likewise.
7361 * nss/nss_db/db-open.c: Likewise.
7362 * nss/nss_files/flies-XXX.x: Adjust comments.
7363 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7364 * nss/nss_files/files-grp.c: Likewise.
7365 * nss/nss_files/files-hosts.c: Likewise.
7366 * nss/nss_files/files-network.c: Likewise.
7367 * nss/nss_files/files-proto.c: Likewise.
7368 * nss/nss_files/files-pwd.c: Likewise.
7369 * nss/nss_files/files-rpc.c: Likewise.
7370 * nss/nss_files/files-service.c: Likewise.
7371 * nss/nss_files/files-sgrp.c: Likewise.
7372 * nss/nss_files/files-spwd.c: Likewise.
7373 * nss/nss_db/db-alias.c: Removed.
7374 * nss/nss_db/dummy-db.h: Removed.
7375
9ee76b5a
UD
73762011-06-02 Ulrich Drepper <drepper@gmail.com>
7377
7378 * nss/makedb.c: Rewritten to not use database library.
7379 * nss/Makefile: Update to build new makedb program.
7380
c71ca1f8
AJ
73812011-06-14 Andreas Jaeger <aj@suse.de>
7382
7383 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7384 memset declaration.
7385
3154bfb8
UD
73862011-06-10 Andreas Schwab <schwab@redhat.com>
7387
7388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7389 tmpbuf.
7390
b350afab
RM
73912011-06-10 Roland McGrath <roland@hack.frob.com>
7392
decd4e50
RM
7393 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7394 * elf/Makefile ($(objpfx)ld.so): Likewise.
7395
5615eaf2
RM
7396 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7397 Don't list ld.so twice in dependencies.
7398
7399 * posix/bug-regex31.c: Include <stdlib.h>.
7400
7401 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7402
7403 * nis/nss_compat/compat-spwd.c
7404 (getspent_next_nss_netgr): Remove unused variable.
7405 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7406
7407 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7408 nonmembers" output to use the right array.
7409
7410 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7411
7412 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7413
7414 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7415 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7416 * catgets/gencat.c (read_input_file): Likewise.
7417 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7418
7419 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7420 variable definition inside #if's controlling its use.
7421
7422 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7423
7424 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7425
7426 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7427
7428 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7429 unreachable code.
7430
7431 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7432
b68e08db
RM
7433 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7434 * configure: Regenerated.
7435
b350afab
RM
7436 * Makerules: Revert last change.
7437 * elf/Makefile: Likewise.
7438
28368601
RM
74392011-06-09 Roland McGrath <roland@hack.frob.com>
7440
7441 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7442 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7443 (reloc-link): Likewise.
7444
11988f8f
UD
74452011-06-09 Ulrich Drepper <drepper@gmail.com>
7446
7447 * elf/Makefile: Add rules to build pldd.
7448 * elf/pldd.c: New file.
7449 * elf/pldd-xx.c: New file.
7450
e80fab37
UD
74512011-06-07 Ulrich Drepper <drepper@gmail.com>
7452
7453 * version.h: Update for 2.15 development version.
7454
9b849836
DM
74552011-06-07 David S. Miller <davem@davemloft.net>
7456
7457 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7458 ifuncs.
7459 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7460 elf_machine_lazy_rel): Likewise.
7461 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7463 elf_machine_lazy_rel): Likewise.
7464 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7465 dl_hwcap via passed in argument.
7466 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7467 Likewise.
7468
5a31b283
AK
74692011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7470
7471 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7472
069e52f8
RM
74732011-06-06 Roland McGrath <roland@hack.frob.com>
7474
7475 [BZ #12849]
7476 * manual/fdl-1.1.texi: New file, verbatim from:
7477 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7478 * manual/lgpl-2.1.texi: New file, verbatim from:
7479 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7480 * manual/Makefile (licenses): New variable, list those new file names.
7481 (texis): Use it.
7482 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7483
7484 * manual/fdl.texi: File removed.
7485 * manual/lesser.texi: File removed.
7486 * manual/libc.texinfo (Copying, Documentation License):
7487 Use new @include file names, put @appendix directive before @include.
7488
f16846a5
JJ
74892011-06-04 Jakub Jelinek <jakub@redhat.com>
7490
7491 [BZ #12841]
7492 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7493 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7494 (mq_open): Add __NTH.
7495
3d29045b
L
74962011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7497
7498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7499 Assume Intel Core i3/i5/i7 processor if AVX is available.
7500
8c297311
UD
75012011-05-31 Ulrich Drepper <drepper@gmail.com>
7502
7503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7504 typo.
7505
c8fc0c91
UD
75062011-05-31 Andreas Schwab <schwab@redhat.com>
7507
7508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7509 memory. Use alloca_account. Fix memory leak when retrying.
7510
5b27a807
UD
75112011-05-31 Ulrich Drepper <drepper@gmail.com>
7512
356f8bc6
UD
7513 * version.h (RELEASE): Bump for 2.14 release.
7514 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7515
5b27a807
UD
7516 * config.make.in (RANLIB): Remove entry.
7517
01f16ab0
UD
75182011-05-30 Ulrich Drepper <drepper@gmail.com>
7519
41fce8bd
UD
7520 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7521 (libc.pot): Work around missing support for .ksh extension in xgettext.
7522
4769ae77
UD
7523 [BZ #12684]
7524 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7525 if both request failed.
7526 (send_dg): In case of server errors clear resplen or *resplen2.
7527
6b1e7d19
UD
7528 [BZ #12454]
7529 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7530 when there are multiple maps.
7531 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7532 (_dl_fini): Remove test here.
7533
01f16ab0
UD
7534 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7535
b1ebd700
UD
75362011-05-29 Ulrich Drepper <drepper@gmail.com>
7537
7ae22829
UD
7538 [BZ #12350]
7539 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7540 bit from old_res_options.
7541 (gaih_inet): Likewise.
7542
553149f6 7543 [BZ #11099]
18a84741 7544 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7545 as signed.
7546
652ffab1
UD
7547 * resolv/res_init.c (res_setoptions): Make the code more compact.
7548
16985fd0
UD
7549 [BZ #11558]
7550 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7551 set RES_USEVC.
7552
0464f746
UD
7553 [BZ #11634]
7554 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7555
7d17596c
UD
7556 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7557
cf6bbbd7
UD
7558 [BZ #11781]
7559 * malloc/malloc.h: Declare malloc hook variables as volatile.
7560
13f1ab36
UD
7561 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7562 in last patch.
7563
b1ebd700
UD
7564 [BZ #11799]
7565 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7566 raise in the comment.
80e2212d
UD
7567 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7568 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7569 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7570
ce67228d
UD
75712011-05-28 Ulrich Drepper <drepper@gmail.com>
7572
8887a920
UD
7573 [BZ #12811]
7574 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7575 grow the buffers more if it already has to be sufficient.
7576 (build_wcs_upper_buffer): Likewise.
7577 * posix/regexec.c (check_matching): Likewise.
7578 (clean_state_log_if_needed): Likewise.
7579 (extend_buffers): Don't enlarge buffers beyond size of the input
7580 buffer.
7581 Patches mostly by Emil Wojak <emil@wojak.eu>.
7582 * posix/bug-regex32.c: New file.
7583 * posix/Makefile (tests): Add bug-regex32.
7584
4f031072
UD
7585 * locale/findlocale.c (_nl_find_locale): Return right away if
7586 _nl_explode_name failed.
7587 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7588
d0478f0c
UD
7589 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7590
de81b246
UD
7591 * debug/xtrace.sh: Unify messages.
7592 * malloc/memusage.sh: Likewise.
7593
c738465a
UD
7594 [BZ #12813]
7595 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7596 time symbol from vDSO. Substitute with vsyscall if not available.
7597 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7598 __vdso_time.
7599
f1f929d7
UD
7600 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7601 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7602 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7603 Add sendmmsg and internal_sendmmsg.
7604 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7605 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7606 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7607
ce67228d
UD
7608 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7609 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7610 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7611
e57420c6
UD
76122011-05-27 Ulrich Drepper <drepper@gmail.com>
7613
a8509ca5
UD
7614 [BZ #12813]
7615 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7616 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7617 available.
7618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7619 __vdso_getcpu.
7620
e57420c6
UD
7621 [BZ #12814]
7622 * iconvdata/Makefile (tests): Add bug-iconv9.
7623 * iconvdata/bug-iconv9.c: New file.
7624
4d07db15
AS
76252011-05-27 Andreas Schwab <schwab@redhat.com>
7626
7627 [BZ #12814]
7628 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7629
ea486f69
JJ
76302011-05-25 Jakub Jelinek <jakub@redhat.com>
7631
7632 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7633 (struct user_regs_struct): Change intcs field back to cs.
7634
6f038433
UD
76352011-05-25 Ulrich Drepper <drepper@gmail.com>
7636
7637 * po/ja.po: Update from translation team.
7638
67f86a25
UD
76392011-05-23 Ulrich Drepper <drepper@gmail.com>
7640
7641 [BZ #12795]
7642 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7643 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7644
def7fbd6
AS
76452011-05-20 Andreas Schwab <schwab@redhat.com>
7646
7647 * stdlib/longlong.h: Update from GCC.
7648
f50ef8f1
AS
76492011-05-23 Andreas Schwab <schwab@redhat.com>
7650
7651 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7652 parameter name.
7653 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7654 Add parameter name.
7655 (__sysconf): Pass it down.
7656
de7ce8f1
UD
76572011-05-22 Ulrich Drepper <drepper@gmail.com>
7658
f2962a71
UD
7659 [BZ #12671]
7660 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7661 some situations.
7662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7663 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7664 add in in __libc_use_alloca calls. Adjust callers.
7665 (glob): Use malloc in some situations.
7666
de7ce8f1
UD
7667 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7668 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7669 pltexit.
7670
aec84f53
UD
76712011-05-21 Ulrich Drepper <drepper@gmail.com>
7672
05bb4a68
UD
7673 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7674 and CLOCK_BOOTTIME_ALARM.
7675
7ea72f99
UD
7676 [BZ #12782]
7677 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7678 is returned.
7679
7e4afad5
UD
7680 * string/_strerror.c (__strerror_r): Print negative errors as signed
7681 numbers.
7682
8e211fec
UD
7683 [BZ #12777]
7684 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7685 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7686 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7687
f7d82dc9
UD
7688 * configure.in: Fix typo in redirection and correct removal of test
7689 files in two cases.
7690
cc9e536d
UD
7691 [BZ #12788]
7692 * locale/setlocale.c (new_composite_name): Fix test to check for
7693 identical name of all categories.
7694
aec84f53
UD
7695 [BZ #12792]
7696 * libio/filedoalloc.c (local_isatty): New function.
7697 (_IO_file_doallocate): Use local_isatty.
7698 * stdio-common/perror.c (perror): In case a new stream is used
7699 forward the stream error.
7700 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7701 error flag.
7702
78e64fdc
RT
77032011-05-20 Ulrich Drepper <drepper@gmail.com>
7704
34a9094f
UD
7705 [BZ #11869]
7706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7707 alloca.
7708 * include/alloca.h (extend_alloca_account): Define.
7709
78e64fdc
RT
7710 [BZ #11857]
7711 * posix/regex.h: Fix comments with documentation of user-accessible
7712 fields after compilation and describe correct free'ing of pattern
7713 after re_compile_pattern.
7714 Patch by Reuben Thomas <rrt@sc3d.org>.
7715
457bddfc
RA
77162011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7717
7718 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7719 and -mno-altivec to prevent the compiler from using Altivec and/or
7720 VSX instructions when the corresponding registers are not available.
7721
a4527b51
AS
77222011-05-19 Andreas Schwab <schwab@redhat.com>
7723
7724 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7725
ed690b2f
UD
77262011-05-19 Ulrich Drepper <drepper@gmail.com>
7727
7728 * libio/freopen.c (freopen): Use __dup2, not dup2.
7729 * libio/freopen64.c (freopen64): Likewise.
7730
8db73634
L
77312011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7732
7733 [BZ #12775]
7734 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7735 * math/Makefile (tests): Add test-powl.
7736 (CFLAGS-test-powl.c): Define.
7737 * math/test-powl.c: New file.
7738
0a197a9d
L
77392011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7740
7741 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7742
ee30c380
UD
77432011-05-17 Ulrich Drepper <drepper@gmail.com>
7744
7745 [BZ #11837]
7746 * iconvdata/gb18030.c: Update to GB18020-2005.
7747
6ce75379
UD
77482011-05-16 Ulrich Drepper <drepper@gmail.com>
7749
a4b89fd8
AR
7750 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7751 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7752 Patch by Aharon Robbins <arnold@skeeve.com>.
7753
ea389b12
UD
7754 [BZ #11892]
7755 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7756 on the stack.
7757
68a3f91f
UD
7758 [BZ #11895]
7759 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7760 through underflows.
7761
15cc7dd1
UD
7762 [BZ #12766]
7763 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7764 point to strings before performing equality test for error_one_per_line
7765 mode.
7766
f3799213
UD
7767 [BZ #11697]
7768 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7769
d79a9c94
UD
7770 [BZ #11820]
7771 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7772 (struct user_fpregs_struct): Avoid __uint*_t types.
7773
56e5eb46
UD
7774 [BZ #6420]
7775 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7776 symbol info. Use it instead of calling _dl_addr locally.
7777 (lock_and_info): New function.
7778 (tr_freehook): Call lock_and_info and pass symbol info as additional
7779 parameter to tr_where.
7780 (tr_mallochook): Likewise.
7781 (tr_reallochook): Likewise.
7782 (tr_memalignhook): Likewise.
7783
6ce75379
UD
7784 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7785 used and couldn't be at all thread-safe.
7786
f8a3b5bf
UD
77872011-05-15 Ulrich Drepper <drepper@gmail.com>
7788
94b7cc37
UD
7789 * libio/freopen.c (freopen): Don't close old file descriptor
7790 before the new one is opened. Instead dup the new file descriptor
7791 to the old one after the new stream is created.
7792 * libio/freopen64.c (freopen64): Likewise.
7793 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7794 * libio/fileops.c (_IO_new_file_close_it): Handle new
7795 _IO_FLAGS2_NOCLOSE flag.
7796 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7797 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7798 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7799 _IO_FLAGS2_NOCLOSE flag.
7800 * include/unistd.h: Add hidden_proto for dup3.
7801 Define __have_dup3.
7802 * io/dup3.c: Define hidden symbol.
7803 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7804
bd25564e
UD
7805 [BZ #7101]
7806 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7807 when an incomplete long option is used.
7808 * posix/tst-getopt_long1.c: New file.
7809 * posix/Makefile (tests): Add tst-getopt_long1.
7810
c84cfef4
UD
7811 [BZ #10138]
7812 * scripts/config.guess: Update from autoconf-2.68.
7813 * scripts/config.sub: Likewise.
7814
3b85df27
UD
7815 [BZ #10157]
7816 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7817 tests into ...
7818 (has_cpuclock): ...this. New function.
7819 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7820 macro here based on has_cpuclock code.
7821
15a856b1
UD
7822 [BZ #10149]
7823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7824 First byte (not low byte) is now always NUL.
7825 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7826
05f399e6
UD
7827 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7828 Use non-cancelable interfaces.
7829
10a52685 7830 [BZ #9809]
94ecc67d
UD
7831 * locale/iso-639.def: Add entry for Sorani.
7832
f8a3b5bf
UD
7833 [BZ #11901]
7834 * include/stdlib.h: Move include protection to the right place.
7835 Define abort_msg_s. Declare __abort_msg with it.
7836 * stdlib/abort.c (__abort_msg): Adjust type.
7837 * assert/assert.c (__assert_fail_base): New function. Majority
7838 of code from __assert_fail. Allocate memory for __abort_msg with
7839 mmap.
7840 (__assert_fail): Now call __assert_fail_base.
7841 * assert/assert-perr.c: Remove bulk of implementation. Use
7842 __assert_fail_base.
7843 * include/assert.hL Declare __assert_fail_base.
7844 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7845 mmap.
7846 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7847
1af4e298
UD
78482011-05-14 Ulrich Drepper <drepper@gmail.com>
7849
f8a3b5bf 7850 [BZ #11952]
d26dfc60
MG
7851 [BZ #12453]
7852 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7853 until all modules are registered in the DTV.
7854 * elf/Makefile: Add rules to build and run tst-tls19.
7855 * elf/tst-tls19.c: New file.
7856 * elf/tst-tls19mod1.c: New file.
7857 * elf/tst-tls19mod2.c: New file.
7858 * elf/tst-tls19mod3.c: New file.
7859 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7860
2fc54d6f
UD
7861 [BZ #12083]
7862 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7863 correctly.
7864
98d76b46
UD
7865 [BZ #12601]
7866 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7867 two-byte sequence errors.
7868 * iconvdata/Makefile (tests): Add bug-iconv8.
7869 * iconvdata/bug-iconv8.c: New file.
7870
da3c19ef
UD
7871 [BZ #12626]
7872 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7873 buf2 definition.
7874
ca408c15
UD
7875 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7876
d6f67f7d
UD
7877 [BZ #12432]
7878 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7879 (dummy_getcfa): New function.
7880 (init): Get _Unwind_GetCFA address, use dummy if not found.
7881 (backtrace_helper): In recursion check, also check whether CFA changes.
7882 (__backtrace): Completely initialize arg.
7883
1af4e298 7884 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7885 storing incomplete byte sequence in state object. Avoid testing for
7886 guaranteed too small input if we know there is enough data available.
1af4e298 7887
da62f81b
AS
78882011-05-11 Andreas Schwab <schwab@redhat.com>
7889
7890 * Makeconfig (+link-pie): Indent.
7891 * Rules (binaries-pie): Define if $(have-fpie) and
7892 $(build-shared).
7893 (binaries-shared): Also filter out $(binaries-pie).
7894 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7895 * nscd/Makefile (others-pie): Add nscd.
7896 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7897 ($(objpfx)nscd): Remove command override.
7898 * login/Makefile (others-pie): Add pt_chown.
7899 ($(objpfx)pt_chown): Remove command override.
7900 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7901 remove command overrides.
7902
fcabc0f8
UD
79032011-05-13 Ulrich Drepper <drepper@gmail.com>
7904
20030ae6
UD
7905 * libio/tst_putwc.c: Fix error messages.
7906
fcabc0f8
UD
7907 [BZ #12724]
7908 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7909 currently writing and seek to current position when not.
7910 * libio/Makefile (tests): Add bug-fclose1.
7911 * libio/bug-fclose1.c: New file.
7912
320a5dc0
PB
79132011-05-12 Ulrich Drepper <drepper@gmail.com>
7914
7915 [BZ #12511]
7916 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7917 don't set DF_1_NODELETE here.
7918 (do_lookup_x): When entering new entry test for copy relocation
7919 and if necessary set DF_1_NODELETE flag.
7920 * elf/tst-unique4.cc: New file.
7921 * elf/tst-unique4.h: New file.
7922 * elf/tst-unique4lib.cc: New file.
7923 * elf/Makefile: Add rules to build and run tst-unique4.
7924 Patch by Piotr Bury <pbury@goahead.com>.
7925
22836f52
UD
79262011-05-11 Ulrich Drepper <drepper@gmail.com>
7927
f574184a
UD
7928 [BZ #12052]
7929 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7930
e1fb097f
UD
7931 [BZ #12625]
7932 * misc/mntent_r.c (addmntent): Flush the stream after the output
7933
22836f52
UD
7934 [BZ #12393]
7935 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7936 (is_trusted_path_normalize): Skip initial colon. Append slash
7937 to empty buffer. Duplicate is_trusted_path code but allow
7938 constructed patch to be prefix.
7939 (is_dst): Allow $ORIGIN followed by /.
7940 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7941 Correct testing of result of is_trusted_path_normalize
7942 (decompose_rpath): Fix warning.
7943
7b3b0b2a
UD
79442011-05-10 Ulrich Drepper <drepper@gmail.com>
7945
7946 [BZ #11257]
7947 * grp/initgroups.c (internal_getgrouplist): When we found the service
7948 list through the initgroups entry in nsswitch.conf do not always
7949 continue on a successful lookup. Don't always use the
eac80ce2 7950 __nss_group_database value if it is set.
7b3b0b2a
UD
7951 * nss/nsswitch.conf (initgroups): Change action for successful db
7952 lookup to continue for compatibility.
7953
2a81eaa5
UD
79542011-05-09 Ulrich Drepper <drepper@gmail.com>
7955
be97a69e
UD
7956 [BZ #11532]
7957 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7958 and CP774 modules.
7959 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7960 and CP774 modules.
7961 * iconvdata/tst-tables.sh: Likewise.
7962 * iconvdata/cp770.c: New file.
7963 * iconvdata/cp771.c: New file.
7964 * iconvdata/cp772.c: New file.
7965 * iconvdata/cp773.c: New file.
7966 * iconvdata/cp774.c: New file.
7967 * iconvdata/testdata/CP770: New file.
7968 * iconvdata/testdata/CP770..UTF8: New file.
7969 * iconvdata/testdata/CP771: New file.
7970 * iconvdata/testdata/CP771..UTF8: New file.
7971 * iconvdata/testdata/CP772: New file.
7972 * iconvdata/testdata/CP772..UTF8: New file.
7973 * iconvdata/testdata/CP773: New file.
7974 * iconvdata/testdata/CP773..UTF8: New file.
7975 * iconvdata/testdata/CP774: New file.
7976 * iconvdata/testdata/CP774..UTF8: New file.
7977
7978 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7979 END CHARMAP line.
7980 * iconvdata/gen-8bit-gap.sh: Likewise.
7981 * iconvdata/gen-8bit.sh: Likewise.
7982
c1e9e399
UD
7983 * locale/iso-639.def: Add ary entry.
7984
24c55fb3 7985 [BZ #11258]
96b4b1b0
UD
7986 * locale/C-translit.h.in: Add U20A1 transliteration.
7987
bdc2f971
KB
7988 [BZ #12178]
7989 * locale/iso-639.def: Add wae entry.
7990 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7991
2952b117
UD
7992 [BZ #12545]
7993 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7994 for n.
7995
2a81eaa5
UD
7996 [BZ #12711]
7997 * locale/C-translit.h.in: Add entry for U20B9.
7998 Patch by pravin.d.s@gmail.com.
7999
28377d1b
UD
80002011-05-08 Ulrich Drepper <drepper@gmail.com>
8001
7fb90fb8
UD
8002 [BZ #12713]
8003 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8004 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8005 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8006 in rtld. Use *stat64.
7fb90fb8 8007 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8008 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8009 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8010 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8011 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8012 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8013 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8014 __fstatat64 macros.
7fb90fb8
UD
8015 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8016 * dirent/rewinddir.c: Add libc_hidden_def.
8017 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8018 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8019
28377d1b
UD
8020 * include/dirent.h (__alloc_dir): Add flags parameter.
8021 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8022 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8023 __alloc_dir.
8024 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8025 from fdopendir if O_CLOEXEC is already set.
8026
66bdbaa4
AM
80272011-03-15 Alan Modra <amodra@gmail.com>
8028
8029 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8030 l_tls_firstbyte_offset non-zero. Save padding offset in
8031 l_tls_firstbyte_offset for later use.
8032 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8033 freeing static tls block.
8034
95721191
JN
80352011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8036
8037 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8038 where #ifdef was intended. The intent is to prevent ARG_MAX from
8039 being defined by the kernel headers.
8040
f87dfb1f
UD
80412011-05-07 Ulrich Drepper <drepper@gmail.com>
8042
8043 [BZ #12734]
8044 * resolv/resolv.h: Define RES_NOTLDQUERY.
8045 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8046 no-tld-query and set RES_NOTLDQUERY.
8047 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8048 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8049 modern BIND to search name as TLD unless forbidden.
8050
47c3cd7a
UD
80512011-05-07 Petr Baudis <pasky@suse.cz>
8052 Ulrich Drepper <drepper@gmail.com>
8053
8054 [BZ #12393]
8055 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8056 (is_trusted_path): ...to here.
c1e9ea35 8057 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8058 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8059 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8060
8a35c912
PP
80612011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8062
8063 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8064 __BEGIN/__END_DECLS.
8065
acd41f47
UD
80662011-05-06 Ulrich Drepper <drepper@gmail.com>
8067
8068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8069 NSS_STATUS_NOTFOUND if no record was found.
8070
597df647
AS
80712011-05-05 Andreas Schwab <schwab@redhat.com>
8072
8073 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8074 (headers-not-in-tirpc): Remove rpc/netdb.h
8075 * resolv/netdb.h: Revert last change.
8076
b9af1301
PP
80772011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8078
8079 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8080 circular dependency between libgcc.a and libc.a.
8081
4e34d5f5
AS
80822011-05-05 Andreas Schwab <schwab@redhat.com>
8083
8084 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8085 * nis/Makefile: Don't install rpcsvc/*.
8086 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8087 instead of <rpc/types.h>.
8088 (MAXHOSTNAMELEN): Define.
8089
00ee369c
AS
80902011-05-03 Andreas Schwab <schwab@redhat.com>
8091
8092 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8093
0b592a30
MB
80942011-04-28 Maciej Babinski <mbabinski@google.com>
8095
8096 [BZ #12714]
8097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8098 gethostbyname4_r when IPv6 results are possible.
8099
6e04cbbe
UD
81002011-05-02 Ulrich Drepper <drepper@gmail.com>
8101
8102 [BZ #12723]
8103 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8104 _PC_PIPE_BUF handling.
8105
e4ecafe0
BH
81062011-04-30 Bruno Haible <bruno@clisp.org>
8107
8108 [BZ #12717]
8109 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8110 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8111 to 'int'.
8112 * inet/getnameinfo.c (getnameinfo): Likewise.
8113
125ee683
UD
81142011-04-29 Ulrich Drepper <drepper@gmail.com>
8115
8116 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8117 to groups setting in database lookup.
8118 * nss/nsswitch.conf: Add initgroups entry.
8119
b722481a
EB
81202011-04-22 Ulrich Drepper <drepper@gmail.com>
8121
8122 [BZ #12685]
8123 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8124 mode string.
8125 Patch by Eric Blake <eblake@redhat.com>.
8126
4df46dbd
L
81272011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8128
8129 * sunrpc/Makefile (need-export-routines): Add svc_run.
8130 (routines): Remove svc_run.
8131 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8132 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8133 * sunrpc/svc_run.c (svc_run): Likewise.
8134 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8135
e84142d2
UD
81362011-04-21 Ulrich Drepper <drepper@gmail.com>
8137
8138 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8139 problem in reallocation in last patch.
8140
877175d8
UD
81412011-04-20 Ulrich Drepper <drepper@gmail.com>
8142
8143 * sunrpc/Makefile: Move inclusion of Rules.
8144
ab8eed78
UD
81452011-04-19 Ulrich Drepper <drepper@gmail.com>
8146
8147 * nss/nss_files/files-initgroups.c: New file.
8148 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8149 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8150 _nss_files_initgroups_dyn.
8151
e3d8f584
RS
81522011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8153
8154 * elf/elf.h (R_ARM_IRELATIVE): Define.
8155
af190f45
UD
81562011-04-19 Ulrich Drepper <drepper@gmail.com>
8157
8158 * po/ru.po: Update from translation team.
8159
53cf59ef
UD
81602011-04-17 Ulrich Drepper <drepper@gmail.com>
8161
8162 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8163 dependencies.
8164
4c559bcd
MF
81652011-02-06 Mike Frysinger <vapier@gentoo.org>
8166
8167 [BZ #12653]
8168 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8169 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8170 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8171 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8173
4420675c
AS
81742011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8175
8176 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8177 differing bytes.
8178 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8179 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8180 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8181
75ea32ab
UD
81822011-04-17 Ulrich Drepper <drepper@gmail.com>
8183
8184 [BZ #12420]
8185 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8186 storing it.
8187 * stdlib/bug-getcontext.c: New file.
8188 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8189
27390476
AK
81902011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8191
8192 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8193 instructions into .machine "z9-109".
8194 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8195 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8196
10442705
AK
81972011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8198
8199 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8200 between environment variables and auxiliary vector.
8201
7b57bfe5
UD
82022011-04-16 Ulrich Drepper <drepper@gmail.com>
8203
8204 * Makefile: Add rules to build linkobj/libc.so.
8205 * include/libc-symbols.h: Define libc_hidden_nolink.
8206 * include/rpc/auth.h: Mark functions which are to be hidden.
8207 * include/rpc/auth_des.h: Likewise.
8208 * include/rpc/auth_unix.h: Likewise.
8209 * include/rpc/clnt.h: Likewise.
8210 * include/rpc/des_crypt.h: Likewise.
8211 * include/rpc/key_prot.h: Likewise.
8212 * include/rpc/pmap_clnt.h: Likewise.
8213 * include/rpc/pmap_prot.h: Likewise.
8214 * include/rpc/pmap_rmt.h: Likewise.
8215 * include/rpc/rpc_msg.h: Likewise.
8216 * include/rpc/svc.h: Likewise.
8217 * include/rpc/svc_auth.h: Likewise.
8218 * include/rpc/xdr.h: Likewise.
8219 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8220 * nss/Makefile: Likewise.
8221 * sunrpc/Makefile: Don't install headers. Build library with normal
8222 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8223 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8224 for the compat linking library. Remove use of INTDEF/INTUSE.
8225 * sunrpc/auth_none.c: Likewise.
8226 * sunrpc/auth_unix.c: Likewise.
8227 * sunrpc/authdes_prot.c: Likewise.
8228 * sunrpc/authuxprot.c: Likewise.
8229 * sunrpc/clnt_gen.c: Likewise.
8230 * sunrpc/clnt_perr.c: Likewise.
8231 * sunrpc/clnt_raw.c: Likewise.
8232 * sunrpc/clnt_simp.c: Likewise.
8233 * sunrpc/clnt_tcp.c: Likewise.
8234 * sunrpc/clnt_udp.c: Likewise.
8235 * sunrpc/clnt_unix.c: Likewise.
8236 * sunrpc/des_crypt.c: Likewise.
8237 * sunrpc/des_soft.c: Likewise.
8238 * sunrpc/get_myaddr.c: Likewise.
8239 * sunrpc/key_call.c: Likewise.
8240 * sunrpc/key_prot.c: Likewise.
8241 * sunrpc/netname.c: Likewise.
8242 * sunrpc/pm_getmaps.c: Likewise.
8243 * sunrpc/pm_getport.c: Likewise.
8244 * sunrpc/pmap_clnt.c: Likewise.
8245 * sunrpc/pmap_prot.c: Likewise.
8246 * sunrpc/pmap_prot2.c: Likewise.
8247 * sunrpc/pmap_rmt.c: Likewise.
8248 * sunrpc/publickey.c: Likewise.
8249 * sunrpc/rpc_cmsg.c: Likewise.
8250 * sunrpc/rpc_common.c: Likewise.
8251 * sunrpc/rpc_dtable.c: Likewise.
8252 * sunrpc/rpc_prot.c: Likewise.
8253 * sunrpc/rpc_thread.c: Likewise.
8254 * sunrpc/rtime.c: Likewise.
8255 * sunrpc/svc.c: Likewise.
8256 * sunrpc/svc_auth.c: Likewise.
8257 * sunrpc/svc_authux.c: Likewise.
8258 * sunrpc/svc_raw.c: Likewise.
8259 * sunrpc/svc_run.c: Likewise.
8260 * sunrpc/svc_simple.c: Likewise.
8261 * sunrpc/svc_tcp.c: Likewise.
8262 * sunrpc/svc_udp.c: Likewise.
8263 * sunrpc/svc_unix.c: Likewise.
8264 * sunrpc/svcauth_des.c: Likewise.
8265 * sunrpc/xcrypt.c: Likewise.
8266 * sunrpc/xdr.c: Likewise.
8267 * sunrpc/xdr_array.c: Likewise.
8268 * sunrpc/xdr_float.c: Likewise.
8269 * sunrpc/xdr_intXX_t.c: Likewise.
8270 * sunrpc/xdr_mem.c: Likewise.
8271 * sunrpc/xdr_rec.c: Likewise.
8272 * sunrpc/xdr_ref.c: Likewise.
8273 * sunrpc/xdr_sizeof.c: Likewise.
8274 * sunrpc/xdr_stdio.c: Likewise.
8275
e6c61494
UD
82762011-04-10 Ulrich Drepper <drepper@gmail.com>
8277
8278 [BZ #12650]
8279 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8280 * sysdeps/ia64/dl-tls.h: Likewise.
8281 * sysdeps/powerpc/dl-tls.h: Likewise.
8282 * sysdeps/s390/dl-tls.h: Likewise.
8283 * sysdeps/sh/dl-tls.h: Likewise.
8284 * sysdeps/sparc/dl-tls.h: Likewise.
8285 * sysdeps/x86_64/dl-tls.h: Likewise.
8286 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8287
34fe483e
AS
82882011-03-14 Andreas Schwab <schwab@redhat.com>
8289
8290 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8291 rpath element also skip the following colon.
8292 (expand_dynamic_string_token): Add is_path parameter and pass
8293 down to DL_DST_REQUIRED and _dl_dst_substitute.
8294 (decompose_rpath): Call expand_dynamic_string_token with
8295 non-zero is_path. Ignore empty rpaths.
8296 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8297 with zero is_path.
8298
f12a32e6
AS
82992011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8300
8301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8302 Make cancelable.
8303
38a7d692
UD
83042011-04-09 Ulrich Drepper <drepper@gmail.com>
8305
8306 [BZ #12655]
8307 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8308 Patch by Filipe David Manana <fdmanana@apache.org>.
8309
e451d22b
AS
83102011-04-07 Andreas Schwab <schwab@redhat.com>
8311
8312 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8313 Maintain aligned stack.
8314 (CHECK_RSP): Remove unused macro.
8315
dedc7c7b
UD
83162011-04-03 Ulrich Drepper <drepper@gmail.com>
8317
8318 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8319 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8320
94521213
UD
83212011-04-02 Ulrich Drepper <drepper@gmail.com>
8322
8323 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8324
8cb700c0 8325 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8326
0354e355
L
83272011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8328
8329 [BZ #12518]
8330 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8331 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8332 * sysdeps/x86_64/memmove.c: New file.
8333 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8334 (memcpy): Renamed to ...
8335 (__new_memcpy): This.
8336 (memcpy): Provide GLIBC_2_14 memcpy.
8337 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8338 (memcpy): Provide GLIBC_2_2_5 memcpy.
8339
8593482f
UD
83402011-04-01 Ulrich Drepper <drepper@gmail.com>
8341
8342 [BZ #12631]
8343 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8344
81a5726b
AS
83452011-03-30 Andreas Schwab <schwab@redhat.com>
8346
8347 * misc/syncfs.c: New file.
8348 * misc/Makefile (routines): Add syncfs.
8349 * posix/unistd.h: Declare syncfs.
8350 * sysdeps/unix/syscalls.list: Add syncfs.
8351
00e5419f
AS
83522011-04-01 Andreas Schwab <schwab@redhat.com>
8353
8354 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8355 open_by_handle_at.
8356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8357 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8359 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8361 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8363
748876bf
UD
83642011-04-01 Ulrich Drepper <drepper@gmail.com>
8365
658e451d
UD
8366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8368 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8370 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8372 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8373
748876bf
UD
8374 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8375 sync_file_range.c with -fexceptions.
8376 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8377 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8378 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8379 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8380 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8381 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8383 sync_file_range as cancellation point
8384 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8385 now a wrapper around __call_sync_file_range with cancellation handling.
8386 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8387 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8388 function name to __call_sync_file_range.
8389 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8390 Add call_sync_file_range.
748876bf 8391
6e63d5e1
AS
83922011-04-01 Andreas Schwab <schwab@redhat.com>
8393
8394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8395 bits/timex.h.
6e63d5e1 8396
46998f74
UD
83972011-04-01 Ulrich Drepper <drepper@gmail.com>
8398
4c1423ed
UD
8399 * iconv/iconv.h: Fix typo in comment.
8400 * io/fcntl.h: Likewise.
8401 * libio/stdio.h: Likewise.
8402 * posix/spawn.h: Likewise.
8403 * posix/unistd.h: Likewise.
8404 * stdlib/stdlib.h: Likewise.
8405 * time/time.h: Likewise.
8406 * wcsmbs/wchar.h: Likewise.
8407
158648c0
UD
8408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8409 open_by_handle): Add.
8410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8411 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8412 Augment a few comments.
8413 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8415 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8417 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8418 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8419 open_by_handle.
8420
46998f74
UD
8421 * io/fcntl.h (AT_EMPTY_PATH): Define.
8422
83fe108b
UD
84232011-03-30 Ulrich Drepper <drepper@gmail.com>
8424
8425 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8426 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8427 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8428 to...
8429 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8430 * Versions.def: Add GLIBC_2.14.
8431 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8432 Export.
83fe108b 8433
bb242059
UD
84342011-03-22 Ulrich Drepper <drepper@gmail.com>
8435
8436 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8437 round counter.
8438 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8439
c97a1282
L
84402011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8441
8442 [BZ #12597]
8443 * string/test-strncmp.c (do_page_test): New function.
8444 (check2): Likewise.
8445 (test_main): Call check2.
8446 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8447
2a115601
UD
84482011-03-20 Ulrich Drepper <drepper@gmail.com>
8449
8450 [BZ #12587]
8451 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8452 Handle cache information in CPU leaf 4.
8453 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8454
8126d904
UD
84552011-03-18 Ulrich Drepper <drepper@gmail.com>
8456
042c49c6 8457 [BZ #12583]
8126d904
UD
8458 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8459 character representation.
8460 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8461
ccfe366e
RA
84622011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8463
8464 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8465 END(__isnan) to END(__isnanf) to match function entry point/label
8466 EALIGN(__isnanf,...).
8467
c6e13027
JJ
84682011-03-10 Jakub Jelinek <jakub@redhat.com>
8469
8470 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8471
33f85a3f
UD
84722011-03-10 Ulrich Drepper <drepper@gmail.com>
8473
028478fa
UD
8474 [BZ #12510]
8475 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8476 copy from the symbol referenced in the relocation to initialize the
8477 used variable.
8478 Patch by Piotr Bury <pbury@goahead.com>.
8479 * elf/Makefile: Add rules to build and tst-unique3.
8480 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8481 * elf/tst-unique3.cc: New file.
8482 * elf/tst-unique3.h: New file.
8483 * elf/tst-unique3lib.cc: New file.
8484 * elf/tst-unique3lib2.cc: New file.
8485
33f85a3f
UD
8486 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8487
03592fc7
MF
84882011-03-10 Mike Frysinger <vapier@gentoo.org>
8489
8490 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8491 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8492 to _start.
03592fc7 8493
6a5ee102
UD
84942011-03-06 Ulrich Drepper <drepper@gmail.com>
8495
8496 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8497 to-be-loaded object along a path to loader is ld.so.
8498
7e4ba49c
HJ
84992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8500 Ulrich Drepper <drepper@gmail.com>
8501
8502 * sysdeps/x86_64/memset.S: After aligning destination, code
8503 branches to different locations depending on the value of
8504 misalignment, when multiarch is enabled. Fix this.
8505
85062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8507
8508 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8509 Set _x86_64_preferred_memory_instruction for AMD processsors.
8510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8511 Set bit_Prefer_SSE_for_memop for AMD processors.
8512
13a804de
UD
85132011-03-04 Ulrich Drepper <drepper@gmail.com>
8514
8515 * libio/fmemopen.c (fmemopen): Optimize a bit.
8516
9d25c392
AS
85172011-03-03 Andreas Schwab <schwab@redhat.com>
8518
8519 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8520
a5543c6a
RM
85212011-03-03 Roland McGrath <roland@redhat.com>
8522
8523 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8524
012d35f7
DM
85252011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8526
7e4ba49c 8527 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8528 __bzero_ultra1 instead of __memset_ultra1.
8529
4bff6e01
AS
85302011-02-23 Andreas Schwab <schwab@redhat.com>
8531 Ulrich Drepper <drepper@gmail.com>
8532
8533 [BZ #12509]
8534 * include/link.h (struct link_map): Add l_orig_initfini.
8535 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8536 returning unsuccessfully.
8537 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8538 close of a file loaded at startup, restore the original l_initfini
8539 list.
8540 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8541 list, store the pointer.
8542 * elf/Makefile ($(objpfx)noload-mem): New rule.
8543 (noload-ENV): Define.
8544 (tests): Add $(objpfx)noload-mem.
8545 * elf/noload.c: Include <memcheck.h>.
8546 (main): Call mtrace. Close all opened handles.
8547
f2092faf
AS
85482011-02-17 Andreas Schwab <schwab@redhat.com>
8549
8550 [BZ #12454]
8551 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8552 dependencies are missing.
8553
6c8a2e88
ST
85542011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8555
f2092faf 8556 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8557 Hurd needs munmap.
8558 * sysdeps/mach/hurd/ifreq.h: New file.
8559
84a42118
PB
85602011-01-27 Petr Baudis <pasky@suse.cz>
8561 Ulrich Drepper <drepper@gmail.com>
8562
071f805e 8563 [BZ 12445]#
84a42118
PB
8564 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8565 to extend_alloca().
8566 * stdio-common/bug23.c: New file.
8567 * stdio-common/Makefile (tests): Add bug23.
8568
e23fe25b
AS
85692010-09-28 Andreas Schwab <schwab@redhat.com>
8570 Ulrich Drepper <drepper@gmail.com>
8571
8572 [BZ #12489]
8573 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8574 before performing relro protection. At old place add assertion
8575 to make sure nothing changed.
8576
d3f02e10
NS
85772011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8578 Glauber de Oliveira Costa <glommer@gmail.com>
8579
8580 * elf/elf.h: Add new ARM TLS relocs.
8581
d55fd7a5
RA
85822011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8583
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8585 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8586 cast from r3.
8587 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8588 'tests' variable.
8589 * sysdeps/wordsize-64/tst-writev.c: New file.
8590
2206397e
RA
85912011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8592
8593 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8594 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8595 insns in _dl_start to prevent a TOC reference before relocs are
8596 resolved.
8597
e9433893
UD
85982011-02-15 Ulrich Drepper <drepper@gmail.com>
8599
8600 [BZ #12469]
8601 * Makeconfig: Remove RANLIB definition.
8602 * Makerules: Don't use RANLIB.
8603 * aclocal.m4: Remove ranlib test.
8604 * configure.in: No need to check for ranlib.
8605 * elf/rtld-Rules: Don't use RANLIB.
8606
f75286c6
ST
86072011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8608
8e31c82d
ST
8609 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8610 protection macro.
8611 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8612 inclusion protection macro.
8613
f75286c6
ST
8614 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8615 SIGRTMIN and SIGRTMAX and print information in that case only when
8616 SIGRTMIN is defined.
8617
c1d0e639
JJ
86182011-02-11 Jakub Jelinek <jakub@redhat.com>
8619
8620 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8621 arginfo fn returning -1.
8622
8623 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8624 and thousands string is zero terminated.
8625
edf9294e
AS
86262011-02-03 Andreas Schwab <schwab@redhat.com>
8627
8628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8629 sysdeps/unix/sysv/linux/bits/socket.h.
8630
2b7e92df
ST
86312011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8632
edf9294e
AS
8633 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8634 (__CPU_COUNT): Remove old macros.
8635 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8636 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8637 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8638 (__sched_cpualloc, __sched_cpufree): Add declarations.
8639
a4c7ea7b
UD
86402011-02-05 Ulrich Drepper <drepper@gmail.com>
8641
8642 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8643 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8644 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8645 (readdhstai): Return value of addhstaiX call.
8646 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8647 (addgrbyX): Return value returned by cache_addgr.
8648 (readdgrbyname): Return value returned by addgrbyX.
8649 (readdgrbygid): Likewise.
8650 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8651 (addpwbyX): Return value returned by cache_addpw.
8652 (readdpwbyname): Return value returned by addhstbyX.
8653 (readdpwbyuid): Likewise.
8654 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8655 (addservbyX): Return value returned by cache_addserv.
8656 (readdservbyname): Return value returned by addservbyX:
8657 (readdservbyport): Likewise.
8658 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8659 (addhstbyX): Return value returned by cache_addhst.
8660 (readdhstbyname): Return value returned by addhstbyX.
8661 (readdhstbyaddr): Likewise.
8662 (readdhstbynamev6): Likewise.
8663 (readdhstbyaddrv6): Likewise.
8664 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8665 (readdinitgroups): Return value returned by addinitgroupsX.
8666 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8667 (prune_cache): Keep track of timeout value of re-added entries.
8668 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8669 * nscd/nscd.h: Adjust prototypes of readd* functions.
8670
a0bf67cc
RM
86712011-02-04 Roland McGrath <roland@redhat.com>
8672
8673 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8674 (nis_stats): Likewise.
8675 * nis/nis_modify.c (nis_modify): Likewise.
8676 * nis/nis_remove.c (nis_remove): Likewise.
8677 * nis/nis_add.c (nis_add): Likewise.
8678
8679 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8680
8681 * posix/fnmatch_loop.c: Add some consts.
8682
8683 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8684
435b95eb
L
86852011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8686
8687 [BZ #12460]
8688 * config.make.in (config-cflags-novzeroupper): Define.
8689 * configure.in: Substitute libc_cv_cc_novzeroupper.
8690 * elf/Makefile (AVX-CFLAGS): Define.
8691 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8692 (CFLAGS-tst-auditmod4a.c): Likewise.
8693 (CFLAGS-tst-auditmod4b.c): Likewise.
8694 (CFLAGS-tst-auditmod6b.c): Likewise.
8695 (CFLAGS-tst-auditmod6c.c): Likewise.
8696 (CFLAGS-tst-auditmod7b.c): Likewise.
8697 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8698
8517b15e
UD
86992011-02-02 Ulrich Drepper <drepper@gmail.com>
8700
8701 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8702 function to the callback.
8703 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8704
10a656fe
AS
87052011-02-02 Andreas Schwab <schwab@redhat.com>
8706
8707 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8708 of errno.
8709
968dad0a
UD
87102011-01-19 Ulrich Drepper <drepper@gmail.com>
8711
9f94d2ea 8712 [BZ #11724]
968dad0a
UD
8713 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8714 of constructors.
8715 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8716 of destructors.
8717 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8718
8719 [BZ #11724]
8720 * elf/Makefile: Add rules to build and run new test.
8721 * elf/tst-initorder.c: New file.
8722 * elf/tst-initorder.exp: New file.
8723 * elf/tst-initordera1.c: New file.
8724 * elf/tst-initordera2.c: New file.
8725 * elf/tst-initordera3.c: New file.
8726 * elf/tst-initordera4.c: New file.
8727 * elf/tst-initorderb1.c: New file.
8728 * elf/tst-initorderb2.c: New file.
8729 * elf/tst-order-a1.c: New file.
8730 * elf/tst-order-a2.c: New file.
8731 * elf/tst-order-a3.c: New file.
8732 * elf/tst-order-a4.c: New file.
8733 * elf/tst-order-b1.c: New file.
8734 * elf/tst-order-b2.c: New file.
8735 * elf/tst-order-main.c: New file.
8736 New test case by George Gensure <werkt0@gmail.com>.
8737
86e92359
UD
87382010-10-01 Andreas Schwab <schwab@redhat.com>
8739
8740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8741 decoding ACE if AI_CANONIDN.
8742
5d5732b0
UD
87432011-01-18 Ulrich Drepper <drepper@gmail.com>
8744
8745 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8746
a77e8cbc
UD
87472011-01-17 Ulrich Drepper <drepper@gmail.com>
8748
6392473f
UD
8749 * version.h (RELEASE): Bump for 2.13 release.
8750 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8751
620a0529
UD
8752 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8753
18ba70a5
UD
8754 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8755 MADV_NOHUGEPAGE.
32465c3e
UD
8756 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8757 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8758 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8759 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8760 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8761 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8762
c0dafcf1
UD
8763 * posix/getconf.c: Update copyright year.
8764 * catgets/gencat.c: Likewise.
8765 * csu/version.c: Likewise.
8766 * debug/catchsegv.sh: Likewise.
8767 * debug/xtrace.sh: Likewise.
8768 * elf/ldconfig.c: Likewise.
8769 * elf/ldd.bash.in: Likewise.
8770 * elf/sprof.c (print_version): Likewise.
8771 * iconv/iconv_prog.c: Likewise.
8772 * iconv/iconvconfig.c: Likewise.
8773 * locale/programs/locale.c: Likewise.
8774 * locale/programs/localedef.c: Likewise.
8775 * malloc/memusage.sh: Likewise.
8776 * malloc/mtrace.pl: Likewise.
8777 * nscd/nscd.c (print_version): Likewise.
8778 * nss/getent.c: Likewise.
8779
a77e8cbc
UD
8780 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8781 PF_CAIF, and PF_ALG.
8782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8783
77e8bddf
AS
87842011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8785
1f20b93a
AS
8786 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8787 (modules-names): Use them.
8788 (ifunc-test-modules, ifunc-pie-tests): Define.
8789 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8790 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8791 (test-extras): Likewise.
8792 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8793 $(compile-command.c).
8794 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8795 (all-built-dso): Define.
8796 (check-textrel.out, check-execstack.out): Depend on it.
8797
77e8bddf
AS
8798 * configure.in: Don't override --enable-multi-arch.
8799
bc425b33
UD
88002011-01-15 Ulrich Drepper <drepper@gmail.com>
8801
8802 [BZ #6812]
8803 * nscd/hstcache.c (tryagain): Define.
8804 (cache_addhst): Return tryagain not notfound for temporary errors.
8805 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8806 failed.
8807
794c3ad3
UD
88082011-01-14 Ulrich Drepper <drepper@gmail.com>
8809
70181fdd
UD
8810 [BZ #10563]
8811 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8812 to make the syscall.
8813 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8814
794c3ad3
UD
8815 [BZ #12378]
8816 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8817 and fall back to matching as normal character if the string ends before
8818 the matching ']' is found. This is what POSIX requires.
8819 * posix/testfnm.c: Adjust test result.
8820 * posix/globtest.sh: Adjust test result. Add new test.
8821 * posix/tst-fnmatch.input: Likewise.
8822 * posix/tst-fnmatch2.c: Add new test.
8823
68dc9497
AS
88242010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8825
8826 * elf/Makefile (check-execstack): Revert last change. Depend on
8827 check-execstack.h.
8828 (check-execstack.h): New target.
8829 (generated): Add check-execstack.h.
8830 * elf/check-execstack.c: Include "check-execstack.h".
8831 (main): Revert last change.
8832 (handle_file): Return zero if GNU_STACK is absent and
8833 DEFAULT_STACK_PERMS doesn't include PF_X.
8834
451f001b
UD
88352011-01-13 Ulrich Drepper <drepper@gmail.com>
8836
cfa28e56
UD
8837 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8838 in child fails because the descriptor is already closed.
8cf8ce17
UD
8839 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8840 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8841 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8842
1086d70d
UD
8843 [BZ #12397]
8844 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8845 syscall.
8846
451f001b
UD
8847 [BZ #10484]
8848 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8849 temporary buffer used to handle multi lookups locally.
a85b5cb4 8850 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8851
08769175
UD
88522011-01-12 Ulrich Drepper <drepper@gmail.com>
8853
8854 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8855 loader is ld.so.
8856
5e49c52e
UD
88572011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8858
8859 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8860 alignment for SSE2.
8861
60522a5f
UD
88622011-01-12 Ulrich Drepper <drepper@gmail.com>
8863
8864 [BZ #12394]
8865 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8866 characters. When rounding increased number of integer digits recompute
8867 number of groups.
8868 * stdio-common/tst-grouping.c: New file.
8869 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8870
f257bbd7
UD
88712011-01-09 Ulrich Drepper <drepper@gmail.com>
8872
8873 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8874 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8875
8876 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8877 void.
8878 * bits/select.h: Likewise.
8879
fa9c15cb
UD
88802011-01-08 Ulrich Drepper <drepper@gmail.com>
8881
8882 * po/ja.po: Update from translation team.
8883
16c2895f
DM
88842011-01-04 David S. Miller <davem@sunset.davemloft.net>
8885
8886 [BZ #11155]
8887 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8888 implementation just like for lxstat, fxstatat, et al.
8889
2543fef2
JM
88902010-12-27 Jim Meyering <meyering@redhat.com>
8891
8892 [BZ #12348]
8893 * posix/regexec.c (build_trtable): Return failure indication upon
8894 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8895
98727dbe
UD
88962010-12-25 Ulrich Drepper <drepper@gmail.com>
8897
5bd6dc5c
UD
8898 [BZ #12201]
8899 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8900 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8901 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8902 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8903
97983464
UD
8904 [BZ #12207]
8905 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8906
98727dbe
UD
8907 [BZ #12204]
8908 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8909 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8910
4a531bb0
L
89112010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8912
8913 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8914 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8915 script has SORT_BY_INIT_PRIORITY.
8916 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8917 NO_CTORS_DTORS_SECTIONS is defined.
8918 * elf/soinit.c: Likewise.
8919 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8920 NO_CTORS_DTORS_SECTIONS is defined.
8921 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8922 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8923 * sysdeps/sh/init-first.c: Likewise.
8924 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8925
07eb4b71
UD
89262010-12-24 Ulrich Drepper <drepper@gmail.com>
8927
8928 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8929 always use the slow path.
8930
30950a5f
RA
89312010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8932
8933 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8934 similar rule which adds the sysdep directories to the header search in
8935 order to pick up the correct platform stackinfo.h.
8936 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8937 perform test if it is, otherwise return successfully without testing.
8938 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8939 DEFAULT_STACK_PERMS define in stackinfo.h.
8940 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8941 defined in stackinfo.h.
8942 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8943 DEFAULT_STACK_PERMS defined in stackinfo.h.
8944 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8945 * sysdeps/ia64/stackinfo.h: Likewise.
8946 * sysdeps/s390/stackinfo.h: Likewise.
8947 * sysdeps/sh/stackinfo.h: Likewise.
8948 * sysdeps/sparc/stackinfo.h: Likewise.
8949 * sysdeps/x86_64/stackinfo.h: Likewise.
8950 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8951 PF_X for powerpc64. Retain PF_X for powerpc32.
8952
db753e2c
UD
89532010-12-19 Ulrich Drepper <drepper@gmail.com>
8954
14b697f7
UD
8955 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8956 accurately.
db753e2c
UD
8957 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8958 GETDENTS_64BIT_ALIGNED.
8959
28300719
UD
89602010-12-14 Ulrich Drepper <dreper@gmail.com>
8961
14b697f7 8962 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8963
4f197237
AS
89642010-12-10 Andreas Schwab <schwab@redhat.com>
8965
dbb0472f
AS
8966 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8967 _GNU_SOURCE.
8968
4f197237
AS
8969 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8970 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8971 Remove __restrict.
8972 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8973 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8974
fb88ac72
UD
89752010-12-09 Ulrich Drepper <drepper@gmail.com>
8976
8977 [BZ #11655]
8978 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8979 are initialized.
8980
42acbb92
JJ
89812010-12-09 Jakub Jelinek <jakub@redhat.com>
8982
8983 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8984
c038d98d
UD
89852010-12-03 Ulrich Drepper <drepper@gmail.com>
8986
8987 * po/it.po: Update from translation team.
8988
3a4a2499
L
89892010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8990
8991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8992 unused codes.
8993
1e24cf6e
UD
89942010-11-30 Ulrich Drepper <drepper@gmail.com>
8995
8996 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8997
a7690819
AS
89982010-11-24 Andreas Schwab <schwab@redhat.com>
8999
9000 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9001 specially.
9002 (gaih_getanswer_slice): Likewise.
9003
3bf8d1b1
JJ
90042010-10-20 Jakub Jelinek <jakub@redhat.com>
9005
9006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9007
6db52fbb
PB
90082010-05-31 Petr Baudis <pasky@suse.cz>
9009
9010 [BZ #11149]
9011 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9012 silently even in the chroot mode.
9013
eaca7569
UD
90142010-11-22 Ulrich Drepper <drepper@gmail.com>
9015
9016 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9017 last patch a bit. Pretty printing
9018
3056dcdb
UD
90192010-05-31 Petr Baudis <pasky@suse.cz>
9020
9021 [BZ #10085]
9022 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9023 initialization of skip_initgroups_dyn.
9024
cf7c9078
UD
90252010-11-19 Ulrich Drepper <drepper@gmail.com>
9026
9027 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9028 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9029
a1fb5e3e
UD
90302010-11-16 Ulrich Drepper <drepper@gmail.com>
9031
9032 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9033
3540d66b
AS
90342010-11-11 Andreas Schwab <schwab@redhat.com>
9035
9036 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9037 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9038 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9039 ($(objpfx)tst-fnmatch-mem): New rule.
9040 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9041 * posix/tst-fnmatch.c (main): Call mtrace.
9042
13b69574
L
90432010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9044
9045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9046 Support Intel processor model 6 and model 0x2c.
9047
da93d214
LM
90482010-11-10 Luis Machado <luisgpm@br.ibm.com>
9049
9050 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9051 signed comparison.
9052
8ca52c6e
L
90532010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 [BZ #12205]
9056 * string/test-strncasecmp.c (check_result): New function.
9057 (do_one_test): Use it.
9058 (check1): New function.
9059 (test_main): Use it.
9060 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9061 Support strcasecmp and strncasecmp.
9062
69da074d
UD
90632010-11-08 Ulrich Drepper <drepper@gmail.com>
9064
9065 [BZ #12194]
9066 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9067 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9068
ff02d528
L
90692010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9072 IFUNC support.
9073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9074 memset-x86-64.
9075 * sysdeps/x86_64/multiarch/bzero.S: New file.
9076 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9077 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9078 * sysdeps/x86_64/multiarch/memset.S: New file.
9079 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9081 Set bit_Prefer_SSE_for_memop for Intel processors.
9082 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9083 Define.
9084 (index_Prefer_SSE_for_memop): Define.
9085 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9086
344d0b54
LM
90872010-11-04 Luis Machado <luisgpm@br.ibm.com>
9088
9089 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9090 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9091
c0dde15b
UD
90922010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9093
9094 [BZ #12191]
9095 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9096 (__x86_64_raw_data_cache_size_half): Likewise.
9097 (__x86_64_raw_shared_cache_size): Likewise.
9098 (__x86_64_raw_shared_cache_size_half): Likewise.
9099
9100 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9101 (__x86_64_raw_data_cache_size_half): Likewise.
9102 (__x86_64_raw_shared_cache_size): Likewise.
9103 (__x86_64_raw_shared_cache_size_half): Likewise.
9104 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9105 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9106 and __x86_64_raw_shared_cache_size_half. Round
9107 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9108 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9109 to multiple of 256 bytes.
9110
0e516e0e
MS
91112010-11-03 Ulrich Drepper <drepper@gmail.com>
9112
9113 [BZ #12167]
9114 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9115 of inacessible symlinks. Verify result of symlink before returning it.
9116 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9117 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9118
0e012e87
ER
91192010-10-28 Erich Ritz <erichritz@gmail.com>
9120
9121 * math/math.h (isinf): Fix typo in comment.
9122
de0ff7bc
UD
91232010-11-01 Ulrich Drepper <drepper@gmail.com>
9124
9125 * po/da.po: Update from translation team.
9126
fa41c84d
UD
91272010-10-26 Ulrich Drepper <drepper@gmail.com>
9128
9129 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9130 is added to the list.
9131
f0967738
AK
91322010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9133 Ulrich Drepper <drepper@gmail.com>
9134
9135 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9136 the global list here. Move code to...
9137 (_dl_add_to_namespace_list): ...here. New function.
9138 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9139 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9140 * elf/dl-load.c (lose): Don't remove the element from the list.
9141 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9142 (_dl_map_object): Likewise.
9143
91442010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9145
9146 [BZ #12159]
9147 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9148 into all bytes of SSE register.
9149 Patch by Richard Li <richardpku@gmail.com>.
9150
f0967738 91512010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9152
9153 [BZ #12140]
9154 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9155 perturbing.
9156
d0b9e94f
MB
91572010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9158
9159 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9160 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9161 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9162 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9164 submachine.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9166
8e9f92e9
AS
91672010-10-22 Andreas Schwab <schwab@redhat.com>
9168
9169 * include/dlfcn.h (__RTLD_SECURE): Define.
9170 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9171 mode & __RTLD_SECURE instead.
9172 (open_path): Rename preloaded parameter to secure.
9173 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9174 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9175 * elf/dl-deps.c (openaux): Likewise.
9176 * elf/rtld.c (struct map_args): Remove is_preloaded.
9177 (map_doit): Don't use it.
9178 (dl_main): Likewise.
9179 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9180 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9181
bc96fbda
AS
91822010-09-09 Andreas Schwab <schwab@redhat.com>
9183
9184 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9185 (sysd-rules-targets): Remove duplicates.
9186 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9187 rtld-%.$o dependency.
9188
22cd1c9b
AS
91892010-10-18 Andreas Schwab <schwab@redhat.com>
9190
9191 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9192 _dl_map_object do it.
9193
18edac48
UD
91942010-10-19 Ulrich Drepper <drepper@gmail.com>
9195
9196 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9197 fast fma builtins, define the macros in the C99 standard.
9198 (FP_FAST_FMAF): Likewise.
9199 (FP_FAST_FMAL): Likewise.
9200 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9201
9202 * bits/mathdef.h: Update copyright year.
9203 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9204
d2050124
MM
92052010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9206
9207 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9208 builtins, define the macros in the C99 standard.
9209 (FP_FAST_FMAF): Likewise.
9210 (FP_FAST_FMAL): Likewise.
9211 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9212 multiply/add.
9213 (FP_FAST_FMAF): Likewise.
9214
475facd1
JJ
92152010-10-15 Jakub Jelinek <jakub@redhat.com>
9216
9217 [BZ #3268]
9218 * math/libm-test.inc (fma_test): Some new testcases.
9219 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9220 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9221 y and infinite z. Do multiplication by C already in long double.
9222 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9224 y and infinite z. Do bitwise or of inexact bit into u.d.
9225 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9226 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9227 * sysdeps/i386/fpu/s_fma.S: Removed.
9228 * sysdeps/i386/fpu/s_fmal.S: Removed.
9229
7c08a05c
JJ
92302010-10-16 Jakub Jelinek <jakub@redhat.com>
9231
9232 [BZ #3268]
9233 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9235 computation is not scheduled after fetestexcept. Fix value
9236 of minimum denormal long double.
9237
f3f7372d
JJ
92382010-10-14 Jakub Jelinek <jakub@redhat.com>
9239
9240 [BZ #3268]
9241 * math/libm-test.inc (fma_test): Add some more tests.
9242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9243 correctly.
9244
14d43591
AS
92452010-10-15 Andreas Schwab <schwab@redhat.com>
9246
9247 * scripts/data/localplt-s390-linux-gnu.data: New file.
9248 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9249
5e908464
JJ
92502010-10-13 Jakub Jelinek <jakub@redhat.com>
9251
9252 [BZ #3268]
9253 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9254 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9255 instead of dbl-64.
9256 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9257 inlines.
9258 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9260 if one of x and y is very large and the other is subnormal.
9261 * sysdeps/s390/fpu/s_fmaf.c: New file.
9262 * sysdeps/s390/fpu/s_fma.c: New file.
9263 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9264 * sysdeps/powerpc/fpu/s_fma.S: New file.
9265 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9266 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9267 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9268
92692010-10-12 Jakub Jelinek <jakub@redhat.com>
9270
9271 [BZ #3268]
9272 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9273 fma tests.
9274 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9275 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9276 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9277 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9278 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9279 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9281
b833d51f
UD
92822010-10-12 Ulrich Drepper <drepper@redhat.com>
9283
9284 [BZ #12078]
9285 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9286 * posix/bug-regex31.input: Add test case.
9287
1751705d
UD
92882010-10-11 Ulrich Drepper <drepper@gmail.com>
9289
e9b9cbf5
UD
9290 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9291 * posix/bug-regex31.input: New file.
9292
9293 [BZ #12078]
9294 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9295 (parse_sub_exp): Fix last change, use postorder.
9296
ef06edbe
UD
9297 * posix/bug-regex31.c: New file.
9298 * posix/Makefile: Add rules to build and run bug-regex31.
9299
a129c80d
UD
9300 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9301
9302 [BZ #12078]
9303 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9304
b76b818e
UD
9305 [BZ #12108]
9306 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9307 to have entries in sys_siglist.
9308
1751705d
UD
9309 [BZ #12093]
9310 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9311 be NULL.
9312
9ff8d36f
JJ
93132010-10-07 Jakub Jelinek <jakub@redhat.com>
9314
9315 [BZ #3268]
9316 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9317 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9318 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9319 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9320 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9321 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9322 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9323 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9324 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9325 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9326 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9327 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9328 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9329 * math/ftestexcept.c (fetestexcept): Likewise.
9330 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9331 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9332 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9333 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9334 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9335 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9336 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9337
af325969
UD
93382010-10-11 Ulrich Drepper <drepper@gmail.com>
9339
c579b202 9340 [BZ #12107]
af325969
UD
9341 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9342 newline.
9343
67a67b95
UD
93442010-10-06 Ulrich Drepper <drepper@gmail.com>
9345
9346 * string/bug-strstr1.c: New file.
9347 * string/Makefile: Add rules to build and run bug-strstr1.
9348
5fb308bc
EB
93492010-10-05 Eric Blake <eblake@redhat.com>
9350
9351 [BZ #12092]
9352 * string/str-two-way.h (two_way_long_needle): Always clear memory
9353 when skipping input due to the shift table.
9354
45db99c7
UD
93552010-10-03 Ulrich Drepper <drepper@gmail.com>
9356
3b111893
UD
9357 [BZ #12005]
9358 * malloc/mcheck.c: Handle large requests.
9359
45db99c7
UD
9360 [BZ #12077]
9361 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9362 for strncmp and strncasecmp.
9363 * string/stratcliff.c: Add tests for strcmp and strncmp.
9364 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9365
cf7a1eb8
NI
93662010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9367
9368 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9369 __set_fpscr.
9370
6484ba5e
AJ
93712010-09-30 Andreas Jaeger <aj@suse.de>
9372
9373 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9374 (CGROUP_SUPER_MAGIC): Define.
9375 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9376 Handle btrfs and cgroup file systems.
9377 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9378 Likewise.
9379
91c42559
LM
93802010-09-27 Luis Machado <luisgpm@br.ibm.com>
9381
9382 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9383 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9384
87a97932
AK
93852010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9386
9387 [BZ #12067]
9388 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9389 trying to locate the ELF header.
9390
c21cc9bc
AS
93912010-09-27 Andreas Schwab <schwab@redhat.com>
9392
9393 [BZ #11611]
9394 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9395 Mask out sign-bit copies when constructing f_fsid.
9396
315970f6
PB
93972010-09-24 Petr Baudis <pasky@suse.cz>
9398
9399 * debug/stack_chk_fail_local.c: Add missing licence exception.
9400 * debug/warning-nop.c: Likewise.
9401
1ac7a2c7
JM
94022010-09-15 Joseph Myers <joseph@codesourcery.com>
9403
9404 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9405 implementing getdents64 using getdents syscall, set d_type if
9406 __ASSUME_GETDENTS32_D_TYPE.
9407
56801c50
AS
94082010-09-16 Andreas Schwab <schwab@redhat.com>
9409
9410 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9411 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9412
dda51327
UD
94132010-09-21 Ulrich Drepper <drepper@redhat.com>
9414
9415 [BZ #12037]
9416 * posix/unistd.h: Undo change of feature selection for ftruncate from
9417 2010-01-11.
9418
8ffcee4a
UD
94192010-09-20 Ulrich Drepper <drepper@redhat.com>
9420
a545ecd9 9421 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9422 detection.
9423
e24f0a8b
AS
94242010-09-20 Andreas Schwab <schwab@redhat.com>
9425
9426 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9427 fanotify_mark.
9428 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9429
7291c56f
AS
94302010-09-14 Andreas Schwab <schwab@redhat.com>
9431
9432 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9433 variables after CHECK_SP call.
9434 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9435
bc5fb037
AS
94362010-09-13 Andreas Schwab <schwab@redhat.com>
9437 Ulrich Drepper <drepper@redhat.com>
9438
9439 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9440 re-relocationg ld.so.
9441 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9442 _dl_init_paths call.
9443 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9444 here anymore.
9445
e66e7419
UD
94462010-09-14 Ulrich Drepper <drepper@redhat.com>
9447
9448 * resolv/res_init.c (__res_vinit): Count the default server we added.
9449
c044aa75
CLT
94502010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9451 Ulrich Drepper <drepper@redhat.com>
9452
9453 [BZ #11968]
9454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9455 (____longjmp_chk): Use %ebx for saving value across system call.
9456 Add unwind info.
9457
32cf4069
AS
94582010-09-06 Andreas Schwab <schwab@redhat.com>
9459
9460 * manual/Makefile: Don't mix pattern rules with normal rules.
9461
817328ee
AS
94622010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9463
9464 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9465 operation.
9466 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9467 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9468 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9469 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9471 Likewise.
9472
29fddf61
UD
94732010-09-04 Ulrich Drepper <drepper@redhat.com>
9474
9475 [BZ #11979]
9476 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9477 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9478
0959ffc9
UD
94792010-09-02 Ulrich Drepper <drepper@redhat.com>
9480
9481 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9482 * sysdeps/x86_64/addmul_1.S: Likewise.
9483 * sysdeps/x86_64/lshift.S: Likewise.
9484 * sysdeps/x86_64/mul_1.S: Likewise.
9485 * sysdeps/x86_64/rshift.S: Likewise.
9486 * sysdeps/x86_64/sub_n.S: Likewise.
9487 * sysdeps/x86_64/submul_1.S: Likewise.
9488
ece29840
ST
94892010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9490
0959ffc9
UD
9491 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9492 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9493 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9494 * bits/sched.h [__need_schedparam]
ece29840 9495 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9496 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9497 (__defined_schedparam): Define to 1.
ece29840
ST
9498 (__sched_param): New structure, identical to sched_param.
9499 (__need_schedparam): Undefine.
9500
e53a31fe
MF
95012010-08-31 Mike Frysinger <vapier@gentoo.org>
9502
fdc0c10d
MF
9503 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9504 (epoll_create1): Declare.
9505
e53a31fe
MF
9506 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9507
a726d796
AS
95082010-08-31 Andreas Schwab <schwab@redhat.com>
9509
9510 [BZ #7066]
9511 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9512 shifting retval into place.
9513
2f3e3dc7
UD
95142010-09-01 Ulrich Drepper <drepper@redhat.com>
9515
f2933da9
UD
9516 * nis/rpcsvc/nis.h: Update copyright notice.
9517 * nis/rpcsvc/nis.x: Likewise.
9518 * nis/rpcsvc/nis_callback.h: Likewise.
9519 * nis/rpcsvc/nis_callback.x: Likewise.
9520 * nis/rpcsvc/nis_object.x: Likewise.
9521 * nis/rpcsvc/nis_tags.h: Likewise.
9522 * nis/rpcsvc/yp.h: Likewise.
9523 * nis/rpcsvc/yp.x: Likewise.
9524 * nis/rpcsvc/ypupd.h: Likewise.
9525 * nis/yp_xdr.c: Likewise.
9526 * nis/ypupdate_xdr.c: Likewise.
9527
2f3e3dc7
UD
9528 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9529 mainly the body of pmap_getport. Add parameters to specify timeouts.
9530 (pmap_getport): Use __libc_rpc_getport.
9531 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9532 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9533 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9534
f3dcc2f9
AS
95352010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9536
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9538 fanotify_mark.
9539
6d34eb5b
RM
95402010-08-27 Roland McGrath <roland@redhat.com>
9541
9542 * sysdeps/i386/i686/multiarch/Makefile
9543 (CFLAGS-varshift.c): New variable.
9544
9ea3de11
UD
95452010-08-27 Ulrich Drepper <drepper@redhat.com>
9546
c96d23fc
UD
9547 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9548 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9549
9ea3de11
UD
9550 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9551
9552 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9553
623aac7f
L
95542010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9555
9556 * sysdeps/x86_64/strlen.S: Unroll the loop.
9557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9558 strlen-sse2 strlen-sse2-bsf.
9559 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9560 __strlen_no_bsf if bit_Slow_BSF is set.
9561 (__strlen_sse42): Removed.
9562 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9563 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9564
8b2b7715
RM
95652010-08-25 Roland McGrath <roland@redhat.com>
9566
9567 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9568 * sysdeps/x86_64/multiarch/varshift.c: New file.
9569 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9570 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9571 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9572 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9573
e73015f2
L
95742010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9575
9576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9577 strlen-sse2 strlen-sse2-bsf.
9578 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9579 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9580 (__strlen_sse2): Removed.
9581 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9582 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9584 bit_Slow_BSF for Atom.
9585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9586 (index_Slow_BSF): Define.
9587 (HAS_SLOW_BSF): Define.
9588
df24a73e
UD
95892010-08-25 Ulrich Drepper <drepper@redhat.com>
9590
9591 [BZ #10851]
9592 * resolv/res_init.c (__res_vinit): When no server address at all
9593 is given default to loopback.
9594
f2ac4868
RM
95952010-08-24 Roland McGrath <roland@redhat.com>
9596
09055553
RM
9597 * configure.in: Remove config-name.h generation.
9598 * configure: Regenerated.
9599 * config-name.in: File removed.
9600 * scripts/config-uname.sh: New file.
9601 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9602 ($(objdir)config-name.h): New target.
9603
f2ac4868
RM
9604 * sunrpc/rpc_parse.h: Avoid nested comment.
9605
73f27d5e
RH
96062010-08-24 Richard Henderson <rth@redhat.com>
9607 Ulrich Drepper <drepper@redhat.com>
9608 H.J. Lu <hongjiu.lu@intel.com>
9609
9610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9612 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9613 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9614 _mm_alignr_epi8 with _mm_loadu_si128.
9615 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9616 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9617 (__m128i_shift_right): Removed.
9618 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9619 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9620 * sysdeps/x86_64/multiarch/varshift.h: New file.
9621 * sysdeps/x86_64/multiarch/varshift.S: New file.
9622
84b9230c
MF
96232010-08-21 Mike Frysinger <vapier@gentoo.org>
9624
9625 * configure.in: Move assembler checks to before sysdep dir checking.
9626
9bbd0ddc
PB
96272010-08-20 Petr Baudis <pasky@suse.cz>
9628
9629 * LICENSES: Sync the sunrpc license.
9630
9da4bb31
UD
96312010-08-19 Ulrich Drepper <drepper@redhat.com>
9632
a7ab6ec8
UD
9633 * sunrpc/auth_des.c: Update copyright notice once again.
9634 * sunrpc/auth_none.c: Likewise.
9635 * sunrpc/auth_unix.c: Likewise.
9636 * sunrpc/authdes_prot.c: Likewise.
9637 * sunrpc/authuxprot.c: Likewise.
9638 * sunrpc/bindrsvprt.c: Likewise.
9639 * sunrpc/clnt_gen.c: Likewise.
9640 * sunrpc/clnt_perr.c: Likewise.
9641 * sunrpc/clnt_raw.c: Likewise.
9642 * sunrpc/clnt_simp.c: Likewise.
9643 * sunrpc/clnt_tcp.c: Likewise.
9644 * sunrpc/clnt_udp.c: Likewise.
9645 * sunrpc/clnt_unix.c: Likewise.
9646 * sunrpc/des_crypt.c: Likewise.
9647 * sunrpc/des_soft.c: Likewise.
9648 * sunrpc/get_myaddr.c: Likewise.
9649 * sunrpc/getrpcport.c: Likewise.
9650 * sunrpc/key_call.c: Likewise.
9651 * sunrpc/key_prot.c: Likewise.
9652 * sunrpc/openchild.c: Likewise.
9653 * sunrpc/pm_getmaps.c: Likewise.
9654 * sunrpc/pm_getport.c: Likewise.
9655 * sunrpc/pmap_clnt.c: Likewise.
9656 * sunrpc/pmap_prot.c: Likewise.
9657 * sunrpc/pmap_prot2.c: Likewise.
9658 * sunrpc/pmap_rmt.c: Likewise.
9659 * sunrpc/rpc/auth.h: Likewise.
9660 * sunrpc/rpc/auth_unix.h: Likewise.
9661 * sunrpc/rpc/clnt.h: Likewise.
9662 * sunrpc/rpc/des_crypt.h: Likewise.
9663 * sunrpc/rpc/key_prot.h: Likewise.
9664 * sunrpc/rpc/netdb.h: Likewise.
9665 * sunrpc/rpc/pmap_clnt.h: Likewise.
9666 * sunrpc/rpc/pmap_prot.h: Likewise.
9667 * sunrpc/rpc/pmap_rmt.h: Likewise.
9668 * sunrpc/rpc/rpc.h: Likewise.
9669 * sunrpc/rpc/rpc_des.h: Likewise.
9670 * sunrpc/rpc/rpc_msg.h: Likewise.
9671 * sunrpc/rpc/svc.h: Likewise.
9672 * sunrpc/rpc/svc_auth.h: Likewise.
9673 * sunrpc/rpc/types.h: Likewise.
9674 * sunrpc/rpc/xdr.h: Likewise.
9675 * sunrpc/rpc_clntout.c: Likewise.
9676 * sunrpc/rpc_cmsg.c: Likewise.
9677 * sunrpc/rpc_common.c: Likewise.
9678 * sunrpc/rpc_cout.c: Likewise.
9679 * sunrpc/rpc_dtable.c: Likewise.
9680 * sunrpc/rpc_hout.c: Likewise.
9681 * sunrpc/rpc_main.c: Likewise.
9682 * sunrpc/rpc_parse.c: Likewise.
9683 * sunrpc/rpc_parse.h: Likewise.
9684 * sunrpc/rpc_prot.c: Likewise.
9685 * sunrpc/rpc_sample.c: Likewise.
9686 * sunrpc/rpc_scan.c: Likewise.
9687 * sunrpc/rpc_scan.h: Likewise.
9688 * sunrpc/rpc_svcout.c: Likewise.
9689 * sunrpc/rpc_tblout.c: Likewise.
9690 * sunrpc/rpc_util.c: Likewise.
9691 * sunrpc/rpc_util.h: Likewise.
9692 * sunrpc/rpcinfo.c: Likewise.
9693 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9694 * sunrpc/rpcsvc/key_prot.x: Likewise.
9695 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9696 * sunrpc/rpcsvc/mount.x: Likewise.
9697 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9698 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9699 * sunrpc/rpcsvc/rex.x: Likewise.
9700 * sunrpc/rpcsvc/rstat.x: Likewise.
9701 * sunrpc/rpcsvc/rusers.x: Likewise.
9702 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9703 * sunrpc/rpcsvc/spray.x: Likewise.
9704 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9705 * sunrpc/rtime.c: Likewise.
9706 * sunrpc/svc.c: Likewise.
9707 * sunrpc/svc_auth.c: Likewise.
9708 * sunrpc/svc_authux.c: Likewise.
9709 * sunrpc/svc_raw.c: Likewise.
9710 * sunrpc/svc_run.c: Likewise.
9711 * sunrpc/svc_simple.c: Likewise.
9712 * sunrpc/svc_tcp.c: Likewise.
9713 * sunrpc/svc_udp.c: Likewise.
9714 * sunrpc/svc_unix.c: Likewise.
9715 * sunrpc/svcauth_des.c: Likewise.
9716 * sunrpc/xcrypt.c: Likewise.
9717 * sunrpc/xdr.c: Likewise.
9718 * sunrpc/xdr_array.c: Likewise.
9719 * sunrpc/xdr_float.c: Likewise.
9720 * sunrpc/xdr_mem.c: Likewise.
9721 * sunrpc/xdr_rec.c: Likewise.
9722 * sunrpc/xdr_ref.c: Likewise.
9723 * sunrpc/xdr_sizeof.c: Likewise.
9724 * sunrpc/xdr_stdio.c: Likewise.
9725
9da4bb31
UD
9726 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9727 handling.
9728
bdaa77bc
AS
97292010-08-19 Andreas Schwab <schwab@redhat.com>
9730
9731 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9732
fe2f79db
LM
97332010-08-19 Luis Machado <luisgpm@br.ibm.com>
9734
9735 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9736 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9737 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9738 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9739 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9740 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9741 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9742 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9744 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9745 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9746 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9747 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9748 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9749
b9b42ee0
AB
97502010-07-26 Anton Blanchard <anton@samba.org>
9751
9752 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9753 * malloc/arena.c (heap_trim): Likewise.
9754
1c06ba31
UD
97552010-08-16 Ulrich Drepper <drepper@redhat.com>
9756
9757 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9758 here. Not...
9759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9760 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9761
f8392f40
L
97622010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9763
9764 * sysdeps/i386/elf/Makefile: New file.
9765
3162f12e
AS
97662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9767
9768 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9769 from fanotify_init.
9770 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9771 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9772
28c90b2c
UD
97732010-08-15 Ulrich Drepper <drepper@redhat.com>
9774
9775 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9776 of strncasecmp_l.
1feccb6c 9777 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9778
ca6bb004
UD
97792010-08-14 Ulrich Drepper <drepper@redhat.com>
9780
e9f82e0d
UD
9781 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9782 strncase_l-nonascii.
9783 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9784 Add strncase_l-ssse3.
9785 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9786 * sysdeps/x86_64/strcmp.S: Likewise.
9787 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9788 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9789 * sysdeps/x86_64/strncase.S: New file.
9790 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9791 * sysdeps/x86_64/strncase_l.S: New file.
9792 * string/Makefile (strop-tests): Add strncasecmp.
9793 * string/test-strncasecmp.c: New file.
9794
9795 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9796 warning.
9797
ca6bb004
UD
9798 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9799 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9800
052fa7b3
AS
98012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9802
9803 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9804
962dba78
UD
98052010-08-12 Ulrich Drepper <drepper@redhat.com>
9806
9807 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9808 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9810
bebff237
AM
98112010-05-01 Alan Modra <amodra@gmail.com>
9812
9813 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9814 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9815 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9816 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9817 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9818 tidying. Don't tail-call __sigjmp_save for static lib.
9819 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9820 save location.
9821 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9822 (CALL_MCOUNT): Add eh info, and nop after bl.
9823 (TAIL_CALL_SYSCALL_ERROR): New macro.
9824 (PSEUDO_RET): Use it.
9825 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9826 Correct save location of integer regs and cr.
9827 (_dl_profile_resolve): Correct cr save location. Delete nops
9828 after bl when SHARED. Reduce cfi size a little by better
9829 placement of cfi directives.
9830 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9831 make a stack frame. Instead use parm save area as a temp.
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9833 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9835 Don't make a stack frame for parent, use parm save area.
9836 Increase child stack frame to 112 bytes. Don't save unused reg,
9837 and adjust reg usage. Set up cfi on error recovery and
9838 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9840 (__makecontext): Add dummy nop after jump to exit.
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9842 Use correct parm save area and cr save, reduce stack frame.
9843 Correct cfi for possible PSEUDO_RET frame setup.
9844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9845 Branch to local label emitted by PSEUDO_RET rather than
9846 __syscall_error.
9847
02637374
AS
98482010-08-12 Andreas Schwab <schwab@redhat.com>
9849
9850 [BZ #11904]
9851 * locale/programs/locale.c (print_assignment): New function.
9852 (show_locale_vars): Use it.
9853
c3e2f19b
UD
98542010-08-11 Ulrich Drepper <drepper@redhat.com>
9855
3cdaa6ad
UD
9856 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9857 field.
9858 (struct statfs64): Likewise.
9859 (_STATFS_F_FLAGS): Define.
9860 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9862 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9863 (ST_VALID): Define locally.
9864 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9865 __statvfs_getflags, use the provided value.
9866 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9867 __ASSUME_STATFS_F_FLAGS.
9868
754f7da3
UD
9869 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9870
10b3bedc
UD
9871 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9872 Add sys/fanotify.h.
9873 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9874 fanotify_mask for GLIBC_2.13.
9875 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9876 fanotify_init and fanotify_mark.
9877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9878 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9879
c08fb0d7
UD
9880 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9881 Add prlimit.
9882 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9883 prlimit64 for GLIBC_2.13.
9884 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9885 prlimit64.
9886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9887 syscall.
9888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9889 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9890 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9892 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9893 add prlimit alias.
9894 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9895
15bac72b
UD
9896 [BZ #11903]
9897 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9898 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9899
c3e2f19b
UD
9900 * nss/Makefile: Add rules to build and run tst-nss-test1.
9901 * shlib-versions: Add entry for libnss_test1.
9902 * nss/nss_test1.c: New file.
9903 * nss/tst-nss-test1.c: New file.
9904
9905 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9906 (__nss_configure_lookup): Set appropriate entry in
9907 __nss_configure_lookup to true.
9908 * nss/nsswitch.h: Define enum with indeces of databases in
9909 databases and __nss_database_custom arrays. Declare
9910 __nss_database_custom.
9911 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9912 to avoid using nscd when custom rules are installed.
9913 * nss/getXXbyYY_r.c: Likewise.
9914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9915
9916 * nss/nss_files/files-parse.c: Whitespace fixes.
9917
f15ce4d8
UD
99182010-08-09 Ulrich Drepper <drepper@redhat.com>
9919
9920 [BZ #11883]
9921 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9922 * posix/fnmatch_loop.c: Likewise.
9923
d22e4cc9
AK
99242010-07-17 Andi Kleen <ak@linux.intel.com>
9925
9926 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9927 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9928 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9929 * Versions.def [GLIBC_2.13]: Add.
9930
805bc17d
UD
99312010-08-06 Ulrich Drepper <drepper@redhat.com>
9932
9933 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9934 Also fail if tpwd after pwuid call is NULL.
9935
5a42321d
ST
99362010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9937
9938 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9939 when converting to ms.
9940
fd3ebeda
ST
99412010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9942
9943 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9944 EOPNOTSUPP errors with ENOTTY.
9945 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9946 EOPNOTSUPP errors with ENOTTY.
9947
73507d3a
UD
99482010-07-31 Ulrich Drepper <drepper@redhat.com>
9949
9950 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9951 Add strcasecmp_l-ssse3.
9952 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9953 strcasecmp.
9954 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9955 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9956 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9957
fe36dd02
UD
99582010-07-30 Ulrich Drepper <drepper@redhat.com>
9959
66f6765a
UD
9960 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9961
42e08a54
UD
9962 * string/Makefile (strop-tests): Add strcasecmp.
9963 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9964 strcasecmp_l-nonascii.
9965 (gen-as-const-headers): Add locale-defines.sym.
9966 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9967 * sysdeps/x86_64/strcasecmp.S: New file.
9968 * sysdeps/x86_64/strcasecmp_l.S: New file.
9969 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9970 * sysdeps/x86_64/locale-defines.sym: New file.
9971 * string/test-strcasecmp.c: New file.
9972
fe36dd02
UD
9973 * string/test-strcasestr.c: Test both ends of the range of characters.
9974 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9975
48cbc0d6
RM
99762010-07-29 Roland McGrath <roland@redhat.com>
9977
76e6d6bc 9978 [BZ #11856]
48cbc0d6
RM
9979 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9980
880113d9
UD
99812010-07-27 Ulrich Drepper <drepper@redhat.com>
9982
9983 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9984 for ld.so.
9985
deb9cabb
AS
99862010-07-27 Andreas Schwab <schwab@redhat.com>
9987
9988 * manual/memory.texi (Malloc Tunable Parameters): Document
9989 M_PERTURB.
9990
1c7570ff
RM
99912010-07-26 Roland McGrath <roland@redhat.com>
9992
9993 [BZ #11840]
9994 * configure.in (-fgnu89-inline check): Set and substitute
9995 gnu89_inline, not libc_cv_gnu89_inline.
9996 * configure: Regenerated.
9997 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9998
24fb0f88
UD
99992010-07-26 Ulrich Drepper <drepper@redhat.com>
10000
10001 * string/test-strnlen.c: New file.
10002 * string/Makefile (strop-tests): Add strnlen.
10003 * string/tester.c (test_strnlen): Add a few more test cases.
10004 * string/tst-strlen.c: Better error reporting.
10005
10006 * sysdeps/x86_64/strnlen.S: New file.
10007
8e96b93a
UD
100082010-07-24 Ulrich Drepper <drepper@redhat.com>
10009
10010 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10011 lower-latency instructions.
10012
dbc676d4
UD
100132010-07-23 Ulrich Drepper <drepper@redhat.com>
10014
10015 * string/test-strcasestr.c: New file.
10016 * string/test-strstr.c: New file.
10017 * string/Makefile (strop-tests): Add strstr and strcasestr.
10018 * string/str-two-way.h: Don't undefine MAX.
10019 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10020
f6a31e0e
AS
100212010-07-21 Andreas Schwab <schwab@redhat.com>
10022
10023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10024 strcasestr-nonascii.
10025 (CFLAGS-strcasestr-nonascii.c): Define.
10026 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10027 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10028 Remove unused attribute.
10029
5dbc3b6c
RM
100302010-07-20 Roland McGrath <roland@redhat.com>
10031
10032 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10033 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10034 ld.so.cache was broken. With it, there is no way to disable dsocaps
10035 like LD_HWCAP_MASK can disable hwcaps.
10036
23d101d8
EPM
100372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10038
10039 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10040
cc9f2e47
UD
100412010-07-16 Ulrich Drepper <drepper@redhat.com>
10042
10043 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10044 call in strcasestr.
10045 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10046 __strcasestr_sse42_nonascii.
10047 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10048 strcasestr-nonascii.c.
10049 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10050
77c1b069
LM
100512010-06-15 Luis Machado <luisgpm@br.ibm.com>
10052
10053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10054 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10055 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10056 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10057
440566c3
UD
100582010-07-09 Ulrich Drepper <drepper@redhat.com>
10059
10060 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10061 fcntl.
10062
5be9d05d
AS
100632010-07-06 Andreas Schwab <schwab@redhat.com>
10064
c30b7ee2 10065 [BZ #11577]
5be9d05d
AS
10066 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10067 dl_signal_cerror.
10068
8a492a67
UD
100692010-07-06 Ulrich Drepper <drepper@redhat.com>
10070
10071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10072 _PC_PIPE_BUF using F_GETPIPE_SZ.
10073
713df3d5
RM
100742010-07-05 Roland McGrath <roland@redhat.com>
10075
10076 * manual/arith.texi (Rounding Functions): Fix rint description
10077 implicit in round description.
10078
702e8f14
UD
100792010-07-02 Ulrich Drepper <drepper@redhat.com>
10080
10081 * elf/Makefile: Fix linking for a few tests to make recent linker
10082 happy.
10083
52ed8be9
AS
100842010-06-30 Andreas Schwab <schwab@redhat.com>
10085
10086 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10087 $(common-objpfx)libc_nonshared.a.
10088
f47c9a11
LM
100892010-06-21 Luis Machado <luisgpm@br.ibm.com>
10090
10091 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10092 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10093 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10094 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10095 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10096 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10097 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10098 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10113 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10114 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10115 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10116 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10117 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10118 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10119 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10120 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10121 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10122 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10123 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10124 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10139
6fb8cbcb
L
101402010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10141
10142 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10143 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10144 * string/memmove.c (memmove): Renamed to ...
10145 (MEMMOVE): ...this. Default to memmove.
10146 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10147 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10148 (END_CHK): Define.
10149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10150 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10151 mempcpy-ssse3-back memmove-ssse3-back.
10152 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10153 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10154 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10155 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10156 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10157 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10158 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10159 * sysdeps/x86_64/multiarch/memmove.c: New file.
10160 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10161 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10162 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10163 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10164 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10165 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10166 Define.
10167 (index_Fast_Copy_Backward): Define.
10168 (HAS_ARCH_FEATURE): Define.
10169 (HAS_FAST_REP_STRING): Define.
10170 (HAS_FAST_COPY_BACKWARD): Define.
10171
4e733bac 101722010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10173
10174 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10175 Restore proper fallback handling.
10176
63c4ed22
UD
101772010-06-19 Ulrich Drepper <drepper@redhat.com>
10178
ac2b484c
UD
10179 [BZ #11701]
10180 * posix/group_member.c (__group_member): Correct checking loop.
10181
63c4ed22
UD
10182 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10183 OOM in getpwuid_r correctly. Return error number when the caller
10184 should return, otherwise -1.
10185 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10186 call returning > 0 value.
10187 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10188
765ade4b
AS
101892010-06-07 Andreas Schwab <schwab@redhat.com>
10190
10191 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10192 libc_nonshared.a from targets in modules-names.
10193
80da2e09
KS
101942010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10195
10196 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10197 requires it.
10198
158db122
LM
101992010-06-10 Luis Machado <luisgpm@br.ibm.com>
10200
10201 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10202 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10203 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10204 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10205
caa78cf8
AS
102062010-06-02 Andreas Schwab <schwab@redhat.com>
10207
10208 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10209
b2ef2c01
UD
102102010-06-14 Ulrich Drepper <drepper@redhat.com>
10211
10212 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10213 and F_GETPIPE_SZ.
10214 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10218 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10220
fbd643b6
RM
102212010-06-14 Roland McGrath <roland@redhat.com>
10222
10223 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10224
f32f2869
JJ
102252010-06-07 Jakub Jelinek <jakub@redhat.com>
10226
10227 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10228 __REDIRECT followed by __THROW.
10229 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10230 * posix/getopt.h (getopt): Likewise.
10231
2a50c078
EPM
102322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10233
10234 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10235 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10236 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10237 in AT_FLAGS.
10238 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10239 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10240
eb5ad2eb
LM
102412010-05-28 Luis Machado <luisgpm@br.ibm.com>
10242
10243 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10244
3c88fe1e
L
102452010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10246
10247 [BZ #11640]
10248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10249 Properly check family and model.
10250
d2f73151
TY
102512010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10252
10253 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10254
ebd2e13d
LM
102552010-05-24 Luis Machado <luisgpm@br.ibm.com>
10256
10257 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10258
b32b8b45
UD
102592010-05-21 Ulrich Drepper <drepper@redhat.com>
10260
10261 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10262 symbol reference.
10263
9acbe24d
AS
102642010-05-19 Andreas Schwab <schwab@redhat.com>
10265
10266 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10267 symbol reference.
10268
f0ccf6ea
AS
102692010-05-21 Andreas Schwab <schwab@redhat.com>
10270
3d04ff3a
AS
10271 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10272 and internal_recvmmsg.
10273 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10274 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10275 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10276 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10277
f0ccf6ea
AS
10278 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10279 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10280 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10281
5b08ac57
AS
102822010-05-20 Andreas Schwab <schwab@redhat.com>
10283
10284 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10285
4828935d
LM
102862010-05-17 Luis Machado <luisgpm@br.ibm.com>
10287
10288 POWER7 optimizations.
10289 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10290 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10291
373d545e
UD
102922010-05-19 Ulrich Drepper <drepper@redhat.com>
10293
10294 * version.h: Update for 2.13 development version.
10295
21a2b1ae
AS
102962010-05-12 Andrew Stubbs <ams@codesourcery.com>
10297
10298 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10299 exceptions. Return 0.
10300
3f7dcb2b
RM
103012010-05-07 Roland McGrath <roland@redhat.com>
10302
10303 * elf/ldconfig.c (main): Add a const.
10304
5f24d53a 103052010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10306
a160f8d8
UD
10307 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10308 (args_options): Add no-idn option.
10309 (ahosts_keys_int): Add idn_flags to ai_flags.
10310 (parse_option): Handle 'i' option to clear idn_flags.
10311
5f24d53a
UD
10312 * malloc/malloc.c (_int_free): Possible race in the most recently
10313 added check. Only act on the data if no current modification
10314 happened.
265bb1ce
UD
10315
10316See ChangeLog.17 for earlier changes.