]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[BZ #13837]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7bbfa5c6
AJ
12012-03-15 Andreas Jaeger <aj@suse.de>
2
3 [BZ #13837]
4 * math/libm-test.inc (cos_test): Add a test case for large input
5 value.
6 (sin_test): Likewise.
7 (sincos_test): Likewise.
8
92012-03-15 Andreas Jaeger <aj@suse.de>,
10 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #13658]
13 * sysdeps/x86_64/fpu/s_sincos.S: Delete Remove files so that
14 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15 * sysdeps/i386/fpu/branred.c: Likewise.
16 * sysdeps/i386/fpu/dosincos.c: Likewise.
17 * sysdeps/i386/fpu/mpa.c: Likewise.
18 * sysdeps/i386/fpu/s_cos.S: Likewise.
19 * sysdeps/i386/fpu/s_sin.S: Likewise.
20 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21 * sysdeps/i386/fpu/sincos32.c: Likewise.
22
23 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24 Define.
25 (libc_feupdateenv_53bit): Define.
26 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27 Define.
28 (libc_feupdateenv_53bit): Define.
29
30 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31 53 bit (without extend i386 double precision).
32
33 * math/libm-test.inc (sincos_test): Add tests for large input.
34 (sin): Likewise.
35 (cos): Likewise.
36
37 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38
9cad04ea
AS
392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40
41 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42
f7062b9a
DM
432012-03-15 David S. Miller <davem@davemloft.net>
44
45 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
57 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
58 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
59 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New file.
61 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New file.
63 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New file.
65 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New file.
67 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69 fmin/fmax sysdep routines.
70 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71
7bd951ff
DM
722012-03-14 David S. Miller <davem@davemloft.net>
73
559398ab
DM
74 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
78 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
81 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
82 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
85 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
87 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
88 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
89 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
90 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
91 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
92 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
93 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
94 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
95 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
96 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
97 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
98 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
99 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3 routines.
103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New file.
104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New file.
106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New file.
108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New file.
110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New file.
112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New file.
114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New file.
115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New file.
116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New file.
117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S: New file.
118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New file.
119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New file.
120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New file.
122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New file.
124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New file.
126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS3 routines.
128
129 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
130 New file.
131
5a1c1e32
DM
132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
133
eae47a36
DM
134 * sysdeps/sparc/configure.in: New file.
135 * sysdeps/sparc/configure: Generate.
136 * configure.in (libc_cv_sparc_as_vis3): Substitute.
137 * configure: Regenerate.
138 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
139 * config.make.in (have-as-vis3): New.
140 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
141 available use -Av9d instead of -Av9a.
142 * sysdeps/sparc/sparc64/Makefile: Likewise.
143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S: New file.
145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New file.
146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S: New file.
147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New file.
148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
153
7bd951ff
DM
154 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use fzeros/fnegs
155 to load 0x80000000 into a float register instead of using the stack.
156 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
157
bd951ccb
JM
1582012-03-14 Joseph Myers <joseph@codesourcery.com>
159
160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
161 bits/syscall.h.
162 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
163 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
164 ($(inst_includedir)/bits/syscall.h): Remove rule.
165 ($(objpfx)bits/syscall.d): Include instead of
166 $(objpfx)syscall-list.d.
167 (generated): Change syscall-list.h and syscall-list.d to
168 bits/syscall.h and bits/syscall.d.
169
bb4e6db2
RM
1702012-03-14 Roland McGrath <roland@hack.frob.com>
171
172 [BZ #13846]
173 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
174
aa4a2ae1
JM
1752012-03-14 Joseph Myers <joseph@codesourcery.com>
176
e456826d
JM
177 [BZ #13841]
178 * math/s_csqrt.c: Include <float.h>.
179 (__csqrt): Scale large or subnormal inputs.
180 * math/s_csqrtf.c: Likewise.
181 * math/s_csqrtl.c: Likewise.
182 * math/libm-test.inc (csqrt_test): Add more tests.
183 * sysdeps/i386/fpu/libm-test-ulps: Update.
184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
185
aa4a2ae1
JM
186 [BZ #13840]
187 * math/libm-test.inc (hypot_test): Add more tests.
188
7c10fd35
DM
1892012-03-13 David S. Miller <davem@davemloft.net>
190
191 [BZ #13840]
192 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
193 double-precision for the calculation instead of scaling.
194
f453b98b
JM
1952012-03-13 Joseph Myers <joseph@codesourcery.com>
196
197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
198 manipulate bits before adding and subtracting TWO52[sx].
199 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
201 Likewise.
202 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
203
09a3453f
DM
2042012-03-13 David S. Miller <davem@davemloft.net>
205
8e59da90
DM
206 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
207 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
209 rtld-global-offsets.h
210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
211
2a8ab7f2
DM
212 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
213 large parameters.
214
10f62770
DM
215 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
216
5f0bdb18
DM
217 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
218 'err' in the ifdef scope in which it is actually used.
219
09a3453f
DM
220 * nss/nss_db/db-init.c: Include string.h
221
b4b2eb5e
DM
2222012-03-12 David S. Miller <davem@davemloft.net>
223
98bb2f1c
DM
224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
225 masking out of the most significant byte of random value used.
226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
227 Fix coding style in previous change.
228
b4b2eb5e
DM
229 * sysdeps/unix/sysv/linux/kernel-features.h
230 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
231 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
232 expression.
233 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
234 later.
235
6e226b09
DM
2362012-03-11 David S. Miller <davem@davemloft.net>
237
a1bcbd40
DM
238 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
239 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
241 for 'resultvar' otherwise things get truncated on 64-bit.
242
cb9d6174
DM
243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
244 Fix masking out of the most significant byte of random value used.
245
6e226b09
DM
246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
247
058c132d
AS
2482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
249
250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
251
2d2cd515
DM
2522012-03-09 David S. Miller <davem@davemloft.net>
253
254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
255 variables with appropriate CPP guards.
256 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
257 frame pointer, not the stack pointer. Correct layout comments. Fix test
258 on resulting framesize and the management of the outregs buffer for pltexit.
259 Preserve floating point return values across _dl_call_pltexit call.
260 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
261 framesize and the management of the outregs buffer for pltexit.
262 Preserve floating point return values across _dl_call_pltexit
263 call.
264 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
265 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
266 (print_exit): Fix format string for return register value.
267
9a07f9d0
JM
2682012-03-10 Joseph Myers <joseph@codesourcery.com>
269
270 * sunrpc/Makefile (others): Add rpcgen.
271 ($(objpfx)rpcgen): Remove special build rule and dependency on
272 libc.
273 * sunrpc/rpcgen.c: New file.
274
547b5e30
PE
2752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
276
c524201a
PE
277 [BZ #13673]
278 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
279 * stdio-common/bug-vfprintf-nargs.c: Likewise.
280 * sysdeps/i386/crti.S: Likewise.
281 * sysdeps/i386/crtn.S: Likewise.
282 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
283 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
284 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
285 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
286 * sysdeps/sh/crti.S: Likewise.
287 * sysdeps/sh/crtn.S: Likewise.
288 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
289
7b6235f2
PE
290 [BZ #13673]
291 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
292 with URL.
293 * locale/programs/locfile-kw.gperf: Likewise.
294 * locale/programs/charmap-kw.h: Regenerated.
295 * locale/programs/locfile-kw.h: Likewise.
296
547b5e30
PE
297 [BZ #13673]
298 * intl/plural.y: Replace FSF snail mail address with URL.
299 * intl/plural.c: Regenerated.
300
5f0a5dae
RH
3012012-03-09 Richard Henderson <rth@twiddle.net>
302
303 * include/math_private.h: Remove file.
304 * math/math_private.h: Move file ...
305 * sysdeps/generic/math_private.h: ... here.
306
b8c03620
RH
307 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
308 * sysdeps/powerpc/fpu/math_private.h: Likewise.
309 * sysdeps/x86_64/fpu/math_private.h: Likewise.
310
4e234f5d 311 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
312 and <math_private.h>.
313 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
314 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
315 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
316 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
317 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
318 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
319 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
321 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
324 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
325 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
327 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
328 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
329 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
330 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
331 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
332 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
334 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
335 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
337 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
338 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
339 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
340 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
342 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
343 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
345 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
347 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
349 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
350 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
351 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
353 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
354 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
355 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
356 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
357 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
358 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
359 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
360 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
361 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
362 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
363 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
364 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
365 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
366 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
367 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
368 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
370 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
371 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
372 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
373 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
374 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
376 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
377 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
378 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
379 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
380 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
382 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
384 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
387 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
392 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
393 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
394 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
396 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
397 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
400 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
401 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
402 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
404 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
406 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
407 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
408 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
409 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
410 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
411 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
412 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
413 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
414 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
415 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
416 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
417 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
418 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
420 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
425 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
426 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
427 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
428 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
429 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
430 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
431 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
432 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
433 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
434 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
435 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
436 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
437 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
439 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
440 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
441 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
442 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
443 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
444 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
445 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
446 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
447 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
448 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
449 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
450 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
451 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
452 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
453 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
454 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
455 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
456 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
457 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
458 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
459 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
460 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
461 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
462 * sysdeps/ieee754/k_standard.c: Likewise.
463 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
464 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
465 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
466 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
467 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
468 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
469 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
470 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
471 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
473 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
475 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
476 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
477 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
478 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
479 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
480 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
481 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
482 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
483 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
484 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
485 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
486 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
487 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
488 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
489 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
490 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
491 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
492 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
493 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
494 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
495 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
496 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
497 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
498 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
499 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
500 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
501 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
502 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
503 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
504 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
505 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
506 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
507 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
508 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
509 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
510 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
511 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
512 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
513 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
514 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
515 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
516 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
518 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
519 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
520 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
521 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
522 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
523 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
524 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
525 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
527 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
528 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
530 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
535 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
536 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
537 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
538 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
539 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
540 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
542 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
543 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
544 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
545 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
546 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
547 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
548 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
549 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
550 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
553 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
554 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
555 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
556 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
557 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
559 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
560 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
561 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
562 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
564 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
565 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
566 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
567 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
568 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
569 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
570 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
571 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
573 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
574 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
575 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
576 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
577 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
578 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
579 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
582 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
588 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
589 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
590 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
591 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
593 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
594 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
595 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
596 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
597 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
599 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
600 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
601 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
602 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
603 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
604 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
605 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
606 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
607 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
608 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
609 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
610 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
611 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
612 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
613 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
614 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
615 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
616 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
617 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
618 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
622 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
623 * sysdeps/ieee754/s_lib_version.c: Likewise.
624 * sysdeps/ieee754/s_matherr.c: Likewise.
625 * sysdeps/ieee754/s_signgam.c: Likewise.
626 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
627 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
628 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
629 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
630 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
631 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
632 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
633 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
634 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
635 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
636 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
637 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
638 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
640 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
641 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
642 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
643 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
644 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 647
1991fa03
JM
6482012-03-09 Joseph Myers <joseph@codesourcery.com>
649
650 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
651 * sunrpc/rpc_main.c: Likewise.
652 * sunrpc/rpc_svcout.c: Likewise.
653
60d6f5a6
DM
6542012-03-09 David S. Miller <davem@davemloft.net>
655
656 * include/math_private.h: New file.
657
4962050e
JM
6582012-03-09 Joseph Myers <joseph@codesourcery.com>
659
02a6f887
JM
660 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
661 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
662 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
663 from <bits/socket_type.h>.
664 (enum __socket_type): Don't define here.
665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
667 bits/socket_type.h.
668
c6e013c1
JM
669 [BZ #13566]
670 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
671 checking __USE_GNU.
672
4962050e
JM
673 * Makerules ($(inst_includedir)/%.h): New rule.
674 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
675 (install-others): Remove variable setting.
676 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
677
38842f45
RH
6782012-03-08 Richard Henderson <rth@twiddle.net>
679
67bb6da6
RH
680 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
681 from macro to inline function; merge with the
682 !__LIBC_INTERNAL_MATH_INLINES version.
683 (__ieee754_sqrtf): Likewise.
684
15194b4b
RH
685 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
686 to inline function.
687 (__rintf, __floor, __floorf): Likewise.
688
64e21ede
RH
689 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
690 macro to inline function.
691 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
692
38842f45
RH
693 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
694 not <math/math_private.h>.
695
c64bf5fe
DM
6962012-03-08 David S. Miller <davem@davemloft.net>
697
698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
699 copyright year.
700 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
701
82d86f28
TS
7022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
703
704 * resolv/gai_misc.c (handle_requests): Fix struct timespec
705 normalization.
706 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
707 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
708
aea5d727
UD
7092012-03-08 Ulrich Drepper <drepper@gmail.com>
710
711 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
712 be defined individually, they must be defined as a block. Define
713 S for printing a string instead of hidint the different by using a
714 macro for adding the 'l'.
715 * stdio-common/tst-fphex-wide.c: Adjust.
716
70bca0a3
MP
7172012-03-07 Marek Polacek <polacek@redhat.com>
718
719 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
720
65b81130
MP
7212012-03-08 Marek Polacek <polacek@redhat.com>
722
723 [BZ #13806]
724 * stdio-common/Makefile (tests): Add tst-fphex-wide.
725 * stdio-common/tst-fphex.c: Define a few macros to make the
726 test reusable. Use them.
727 * stdio-common/tst-fphex-wide.c: New file.
728
07037eeb
JM
7292012-03-08 Joseph Myers <joseph@codesourcery.com>
730
a7a93d50
JM
731 [BZ #6911]
732 * manual/macros.texi (gnusystems): New macro.
733 (nongnusystems): Likewise.
734 (gnulinuxhurdsystems): Likewise.
735 (gnuhurdsystems): Likewise..
736 (gnulinuxsystems): Likewise.
737 * manual/charset.texi: Use new macros or @theglibc{} to refer to
738 variants of the GNU system, not "GNU system".
739 * manual/conf.texi: Likewise.
740 * manual/errno.texi: Likewise. Update example of errno macro
741 expansion.
742 * manual/filesys.texi: Likewise.
743 (getumask): Document as specific to GNU/Hurd.
744 * manual/install.texi: Likewise. Reword some references to
745 GNU/Linux.
746 * manual/intro.texi: Likewise.
747 * manual/io.texi: Likewise.
748 (File Name Portability): Detail which constraints are inapplicable
749 to all GNU systems and which are only inapplicable to GNU/Hurd.
750 * manual/job.texi: Likewise.
751 * manual/llio.texi: Likewise.
752 (O_NOCTTY): Document as present on GNU/Linux.
753 * manual/maint.texi: Likewise.
754 * manual/memory.texi: Likewise.
755 * manual/pattern.texi: Likewise.
756 * manual/pipe.texi: Likewise.
757 * manual/process.texi: Likewise.
758 * manual/resource.texi: Likewise.
759 (RUSAGE_CHILDREN): Remove statement about specifying a particular
760 child on GNU/Hurd.
761 * manual/setjmp.texi: Likewise.
762 * manual/signal.texi: Likewise.
763 * manual/startup.texi: Likewise.
764 * manual/stdio.texi: Likewise.
765 * manual/terminal.texi: Likewise.
766 (ONLCR): Document as POSIX.
767 (OXTABS): Document availability on GNU/Linux as XTABS.
768 (ONOEOT): Document availability separately from other bits.
769 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
770 * manual/time.texi: Likewise.
771 * manual/users.texi: Likewise.
772 * INSTALL: Regenerated.
773 * sysdeps/gnu/errlist.c: Regenerated.
774
07037eeb
JM
775 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
776 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
777 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
778 puts.
779 * configure: Regenerated.
780
d1d3431a
JM
7812012-03-07 Joseph Myers <joseph@codesourcery.com>
782
af6a1e37
JM
783 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
784 default includes instead of AC_HEADER_CHECK.
785 * sysdeps/i386/configure: Regenerated.
786
d1d3431a
JM
787 [BZ #10716]
788 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
789 * math/s_cacoshf.c (__cacoshf): Likewise.
790 * math/s_cacoshl.c (__cacoshl): Likewise.
791 * math/s_casinh.c (__casinh): Set signs of result from argument.
792 * math/s_casinhf.c (__casinhf): Likewise.
793 * math/s_casinhl.c (__casinhl): Likewise.
794 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
795 (casinh_test): Add more tests.
796 * sysdeps/i386/fpu/libm-test-ulps: Update.
797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
798
482ff4da
UD
7992012-03-07 Ulrich Drepper <drepper@gmail.com>
800
872fda05
UD
801 * po/zh_TW.po: Update from translation team.
802
a4300c7a
UD
803 * login/Makefile (distribute): Remove variable.
804 * catgets/Makefile: Likewise.
805 * mach/Makefile: Likewise.
806 * malloc/Makefile: Likewise.
807 * misc/Makefile: Likewise.
808 * iconv/Makefile: Likewise.
809 * nscd/Makefile: Likewise.
810 * hurd/Makefile: Likewise.
811 * manual/Makefile: Likewise.
812 * locale/Makefile: Likewise.
813 * intl/Makefile: Likewise.
814 * conform/Makefile: Likewise.
815 * nss/Makefile: Likewise.
816 * time/Makefile: Likewise.
817 * soft-fp/Makefile: Likewise.
818 * dirent/Makefile: Likewise.
819 * gmon/Makefile: Likewise.
820 * po/Makefile: Likewise.
821 * rt/Makefile: Likewise.
822 * socket/Makefile: Likewise.
823 * math/Makefile: Likewise.
824 * signal/Makefile: Likewise.
825 * debug/Makefile: Likewise.
826 * elf/Makefile: Likewise.
827 * timezone/Makefile: Likewise.
828 * stdlib/Makefile: Likewise.
829 * iconvdata/Makefile: Likewise.
830 * sunrpc/Makefile: Likewise.
831 * io/Makefile: Likewise.
832 * argp/Makefile: Likewise.
833 * inet/Makefile: Likewise.
834 * hesiod/Makefile: Likewise.
835 * grp/Makefile: Likewise.
836 * csu/Makefile: Likewise.
837 * wctype/Makefile: Likewise.
838 * crypt/Makefile: Likewise.
839 * libio/Makefile: Likewise.
840 * string/Makefile: Likewise.
841 * nis/Makefile: Likewise.
842 * resolv/Makefile: Likewise.
843 * stdio-common/Makefile: Likewise.
844 * wcsmbs/Makefile: Likewise.
845 * dlfcn/Makefile: Likewise.
846 * posix/Makefile: Likewise.
847
482ff4da
UD
848 * timezone/Makefile: Don't install timezone files, just the programs
849 and scripts.
850
f72ed77d
UD
8512012-03-06 Ulrich Drepper <drepper@gmail.com>
852
a000466f
UD
853 * nss/databases.def: Add missing gshadow entry.
854
f72ed77d
UD
855 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
856
a53b7a4e
MP
8572012-03-06 Marek Polacek <polacek@redhat.com>
858
859 [BZ #13726]
860 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
861 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
862 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
863 * stdio-common/tst-long-dbl-fphex.c: New file.
864
e9258400
DM
8652012-03-06 David S. Miller <davem@davemloft.net>
866
867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
868 (set_obp_int): New function.
869 (get_obp_int): New function.
870 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
872 Avoid unused variable warnings on 'val' and use builtin_expect.
873 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
874 __builtin_expect.
e9258400
DM
875 (INLINE_CLONE_SYSCALL): Likewise.
876
3bd2c723
DM
8772012-03-05 David S. Miller <davem@davemloft.net>
878
879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
880
bbb78d03
AS
8812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
882
884c5db4
AS
883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
884
bbb78d03
AS
885 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
886 only for |x| >= 40.
887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
888
1c9f702a 8892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
890
891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
892 Replace gettimeofday with __vdso_gettimeofday.
893
7be16f82
RM
894 * sysdeps/unix/sysv/linux/x86_64/init-first.c
895 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
896 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
897
898 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
899 time with __vdso_time.
900
ed58a00f
JM
9012012-03-05 Joseph Myers <joseph@codesourcery.com>
902
903 * manual/lang.texi (size_t): Note types to which size_t may be
904 equivalent with the GNU C Library, but do not describe when
905 differences between them are significant.
906
30ee4ced
AJ
9072012-03-05 Andreas Jaeger <aj@suse.de>
908
909 * sysdeps/i386/fpu/libm-test-ulps: Update.
910
b7cd39e8
JM
9112012-03-05 Joseph Myers <joseph@codesourcery.com>
912
913 [BZ #3976]
914 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
915 (__ieee754_pow): Save and restore rounding mode and use
916 round-to-nearest for main computations.
917 * math/libm-test.inc (pow_test_tonearest): New function.
918 (pow_test_towardzero): Likewise.
919 (pow_test_downward): Likewise.
920 (pow_test_upward): Likewise.
921 (main): Call the new functions.
922 * sysdeps/i386/fpu/libm-test-ulps: Update.
923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
924
925 [BZ #3976]
926 * math/libm-test.inc (cosh_test_tonearest): New function.
927 (cosh_test_towardzero): Likewise.
928 (cosh_test_downward): Likewise.
929 (cosh_test_upward): Likewise.
930 (sinh_test_tonearest): Likewise.
931 (sinh_test_towardzero): Likewise.
932 (sinh_test_downward): Likewise.
933 (sinh_test_upward): Likewise.
934 (main): Call the new functions.
935 * sysdeps/i386/fpu/libm-test-ulps: Update.
936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
937
6c6a98c9
TV
9382012-03-05 Tom de Vries <tom@codesourcery.com>
939
940 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
941 default stack guard is set in last bytes.
942 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
943
21bb2d2e 9442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 945
21bb2d2e 946 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 947
21bb2d2e
AJ
948 [BZ #13656]
949 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
950 possibly allocate from heap instead of stack.
951 * stdio-common/bug-vfprintf-nargs.c: New file.
952 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 953
c6922934
AS
9542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
955
956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
957
bc957d53
MP
9582012-03-03 Marek Polacek <polacek@redhat.com>
959
960 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
961 * math/math_private.h: Likewise.
962 * stdlib/tst-strtod.c: Likewise.
963 * sysdeps/i386/i486/bits/atomic.h: Likewise.
964 * sysdeps/x86_64/bits/atomic.h: Likewise.
965
6358490d
DM
9662012-03-02 David S. Miller <davem@davemloft.net>
967
968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
972 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
973 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
974 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
975 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
976
01ae168d
RM
9772012-03-02 Roland McGrath <roland@hack.frob.com>
978
d9a17c07
RM
979 [BZ #13792]
980 * manual/examples/README: New file, says the example source files
981 can be used under GPL>=2.
982 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
983 line containing just "*/".
984 * manual/examples/add.c: Add copyright header (GPL>=2).
985 * manual/examples/argp-ex1.c: Likewise.
986 * manual/examples/argp-ex2.c: Likewise.
987 * manual/examples/argp-ex3.c: Likewise.
988 * manual/examples/argp-ex4.c: Likewise.
989 * manual/examples/atexit.c: Likewise.
990 * manual/examples/db.c: Likewise.
991 * manual/examples/dir.c: Likewise.
992 * manual/examples/dir2.c: Likewise.
993 * manual/examples/execinfo.c: Likewise.
994 * manual/examples/filecli.c: Likewise.
995 * manual/examples/filesrv.c: Likewise.
996 * manual/examples/fmtmsgexpl.c: Likewise.
997 * manual/examples/genpass.c: Likewise.
998 * manual/examples/inetcli.c: Likewise.
999 * manual/examples/inetsrv.c: Likewise.
1000 * manual/examples/isockad.c: Likewise.
1001 * manual/examples/longopt.c: Likewise.
1002 * manual/examples/memopen.c: Likewise.
1003 * manual/examples/memstrm.c: Likewise.
1004 * manual/examples/mkfsock.c: Likewise.
1005 * manual/examples/mkisock.c: Likewise.
1006 * manual/examples/mygetpass.c: Likewise.
1007 * manual/examples/pipe.c: Likewise.
1008 * manual/examples/popen.c: Likewise.
1009 * manual/examples/rprintf.c: Likewise.
1010 * manual/examples/search.c: Likewise.
1011 * manual/examples/select.c: Likewise.
1012 * manual/examples/setjmp.c: Likewise.
1013 * manual/examples/sigh1.c: Likewise.
1014 * manual/examples/sigusr.c: Likewise.
1015 * manual/examples/stpcpy.c: Likewise.
1016 * manual/examples/strdupa.c: Likewise.
1017 * manual/examples/strftim.c: Likewise.
1018 * manual/examples/strncat.c: Likewise.
1019 * manual/examples/subopt.c: Likewise.
1020 * manual/examples/swapcontext.c: Likewise.
1021 * manual/examples/termios.c: Likewise.
1022 * manual/examples/testopt.c: Likewise.
1023 * manual/examples/testpass.c: Likewise.
1024 * manual/examples/timeval_subtract.c: Likewise.
1025
01ae168d
RM
1026 [BZ #13792]
1027 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1028 function to ...
1029 * manual/timeval_subtract.c.texi: ... here, new file.
1030
49efa33d
DM
10312012-03-02 David S. Miller <davem@davemloft.net>
1032
1033 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1034
28afd92d
JM
10352012-03-02 Joseph Myers <joseph@codesourcery.com>
1036
804360ed
JM
1037 [BZ #3976]
1038 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1039 (__sin): Save and restore rounding mode and use round-to-nearest
1040 for all computations.
1041 (__cos): Save and restore rounding mode and use round-to-nearest
1042 for all computations.
1043 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1044 <fenv.h>.
1045 (tan): Save and restore rounding mode and use round-to-nearest for
1046 all computations.
1047 * math/libm-test.inc (cos_test_tonearest): New function.
1048 (cos_test_towardzero): Likewise.
1049 (cos_test_downward): Likewise.
1050 (cos_test_upward): Likewise.
1051 (sin_test_tonearest): Likewise.
1052 (sin_test_towardzero): Likewise.
1053 (sin_test_downward): Likewise.
1054 (sin_test_upward): Likewise.
1055 (tan_test_tonearest): Likewise.
1056 (tan_test_towardzero): Likewise.
1057 (tan_test_downward): Likewise.
1058 (tan_test_upward): Likewise.
1059 (main): Call the new functions.
1060 * sysdeps/i386/fpu/libm-test-ulps: Update.
1061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1062
a6d06d7b
JM
1063 [BZ #10135]
1064 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1065 small n, then large n, before computing and testing k+n.
1066 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1068 Likewise.
1069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1070 Likewise.
1071 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1072 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1073 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1074 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1075 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1076 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1077 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1078 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1079 * math/libm-test.inc (scalbn_test): Add more tests.
1080 (scalbln_test): Likewise.
1081
07e12bb3
JM
1082 * manual/filesys.texi (mode_t): Describe constraints on size and
1083 signedness, not exact equivalence to a particular type.
1084 (ino_t): Likewise.
1085 (ino64_t): Likewise.
1086 (dev_t): Likewise.
1087 (nlink_t): Likewise.
1088 (blkcnt_t): Likewise.
1089 (blkcnt64_t): Likewise.
1090 * manual/llio.texi (off_t): Likewise.
1091
28afd92d
JM
1092 [BZ #3976]
1093 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1094 (__ieee754_exp): Save and restore rounding mode and use
1095 round-to-nearest for all computations.
1096 * math/libm-test.inc (exp_test_tonearest): New function.
1097 (exp_test_towardzero): Likewise.
1098 (exp_test_downward): Likewise.
1099 (exp_test_upward): Likewise.
1100 (main): Call the new functions.
1101 * sysdeps/i386/fpu/libm-test-ulps: Update.
1102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1103
b1eeb65d
CD
11042012-03-01 Chris Demetriou <cgd@google.com>
1105
1106 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1107 have predictable order.
1108
53362a4b
DM
11092012-03-01 David S. Miller <davem@davemloft.net>
1110
3c969083
DM
1111 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1112
759707de
DM
1113 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1114 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1115 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1116 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1117
dfdb8ff2
DM
1118 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1119 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1120 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1122 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1123 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1124 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1125 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1126 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1127
ead89f96
DM
1128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1129
7f66bd07
DM
1130 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1131 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1132 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1133
53362a4b
DM
1134 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1135 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1136 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1137 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1138 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1139 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1140 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1141 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1142 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1143 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1144 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1145 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1148 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1150 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1151 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1152 * sysdeps/sparc/elf/configure: Regenerated.
1153
7b1902cb
JM
11542012-03-01 Joseph Myers <joseph@codesourcery.com>
1155
bec039bc
JM
1156 * configure.in (AS, LD): Require binutils 2.20 or later.
1157 * configure: Regenerated.
1158 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1159 as required minimum version.
1160 * INSTALL: Regenerated.
1161
7b1902cb
JM
1162 [BZ #2541]
1163 [BZ #4108]
1164 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1165 before squaring exponent.
1166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1167 bottom long double and 27 bits of top long double before squaring
1168 exponent.
1169 * math/libm-test.inc (erfc_test): Add more tests.
1170 * sysdeps/i386/fpu/libm-test-ulps: Update.
1171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1173
f775c276
KT
11742012-03-01 Kai Tietz <ktietz@redhat.com>
1175
1176 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1177 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1178 containing bit-fields.
1179 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1180 * soft-fp/single.h (_FP_UNION_S): Likewise.
1181 * soft-fp/double.h (_FP_UNION_D): Likewise.
1182
5b8a4d4a
JM
11832012-02-29 Joseph Myers <joseph@codesourcery.com>
1184
0bab47b6
JM
1185 [BZ #13786]
1186 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1187 not include ../strcmp.S.
1188 [USE_AS_STRNCASECMP_L]: Likewise.
1189 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1190 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1191 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1192 (__strncasecmp_l_ia32): Define as alias to
1193 __strncasecmp_l_nonascii.
1194
0fcad3e2
JM
1195 [BZ #5794]
1196 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1197 * sysdeps/i386/fpu/libm-test-ulps: Update.
1198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199
5b8a4d4a
JM
1200 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202
8fdceb2e
JL
12032012-02-29 Jeff Law <law@redhat.com>
1204
1205 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1206 out of bounds read.
1207
1f393a11
MP
12082012-02-29 Marek Polacek <polacek@redhat.com>
1209
1210 [BZ #13706]
1211 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1212 * elf/Makefile: Add rules to run tst-unused-dep.out.
1213
8847f037
DM
12142012-02-28 David S. Miller <davem@davemloft.net>
1215
1216 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1217 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1220 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1221 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1222
169d7f11
JM
12232012-02-29 Joseph Myers <joseph@codesourcery.com>
1224
1225 * math/libm-test.inc (llround_test): Move one test from
1226 lround_test. Use TEST_f_L in moved test.
1227 (lround_test): Move misplaced test to llround_test. Add testcase
1228 from bug 2561.
1229
39adf059
UD
12302012-02-28 Ulrich Drepper <drepper@gmail.com>
1231
1232 * sysdeps/x86_64/fpu/e_expf.S: New file.
1233 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1234
71b5d1c5
SB
12352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1236
1237 [BZ #13637]
1238 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1239 of remain_len that may cause incomplete multi-byte character and
1240 false match.
1241 * posix/bug-regex33.c: New file.
1242 * posix/Makefile (tests): Add bug-regex33.
1243
1f77f049
JM
12442012-02-28 Joseph Myers <joseph@codesourcery.com>
1245
1246 * manual/macros.texi: New file.
1247 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1248 * manual/libc.texinfo: Include macros.texi.
1249 * manual/creatute.texi: Likewise.
1250 * manual/install.texi: Likewise.
1251 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1252 @glibcadj{} in references to the GNU C Library.
1253 * manual/charset.texi: Likewise.
1254 * manual/conf.texi: Likewise.
1255 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1256 when not using those macros.
1257 * manual/creature.texi: Likewise.
1258 * manual/crypt.texi: Likewise.
1259 * manual/errno.texi: Likewise.
1260 * manual/filesys.texi: Likewise.
1261 * manual/header.texi: Likewise.
1262 * manual/install.texi: Likewise.
1263 * manual/intro.texi: Likewise.
1264 * manual/io.texi: Likewise.
1265 * manual/job.texi: Likewise.
1266 * manual/lang.texi: Likewise.
1267 * manual/libc.texiinfo: Likewise.
1268 * manual/llio.texi: Likewise.
1269 * manual/locale.texi: Likewise.
1270 * manual/maint.texi: Likewise.
1271 * manual/math.texi: Likewise.
1272 * manual/memory.texi: Likewise.
1273 * manual/message.texi: Likewise.
1274 * manual/nss.texi: Likewise.
1275 * manual/pattern.texi: Likewise.
1276 * manual/process.texi: Likewise.
1277 * manual/resource.texi: Likewise.
1278 * manual/search.texi: Likewise.
1279 * manual/setjmp.texi: Likewise.
1280 * manual/signal.texi: Likewise.
1281 * manual/socket.texi: Likewise.
1282 * manual/startup.texi: Likewise.
1283 * manual/stdio.texi: Likewise.
1284 * manual/string.texi: Likewise.
1285 * manual/sysinfo.texi: Likewise.
1286 * manual/syslog.texi: Likewise.
1287 * manual/terminal.texi: Likewise.
1288 * manual/time.texi: Likewise.
1289 * manual/users.texi: Likewise.
1290 * INSTALL: Regenerated.
1291 * NOTES: Regenerated.
d40c5d54 1292 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1293
450bf206
AS
12942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1295
1296 * include/dirent.h: Include <dirstream.h> before
1297 <dirent/dirent.h>.
1298
741a235b
DM
12992012-02-28 David S. Miller <davem@davemloft.net>
1300
1301 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1302 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1303 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1304 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1305
d6b5aa58
DM
13062012-02-27 David S. Miller <davem@davemloft.net>
1307
1aff59a3
DM
1308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1310 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1311 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1312
d6b5aa58
DM
1313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1314 frame pointer instead of stack pointer relative arg slot.
1315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1316 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1317 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1318
433f48bf
CD
13192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1320
1321 [BZ #3992]
1322 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1323
d674b76d
DM
13242012-02-27 David S. Miller <davem@davemloft.net>
1325
1326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1330 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1331 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1332 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1333 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1334
0e7727f7
JM
13352012-02-27 Joseph Myers <joseph@codesourcery.com>
1336
1337 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1338 later. Allow versions 5-9.
43be4ca2 1339 * configure: Regenerated.
0e7727f7
JM
1340 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1341 required minimum version and 4.6 as recommended version. Do not
1342 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1343 * INSTALL: Regenerated.
0e7727f7 1344
a78bc654
DM
13452012-02-27 David S. Miller <davem@davemloft.net>
1346
428d5830
DM
1347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1351 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1352 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1353 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1354 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1355
a78bc654
DM
1356 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1357 manipulate bits before adding and subtracting TWO112[sx].
1358 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1359
4579f81c
RM
13602012-02-27 Roland McGrath <roland@hack.frob.com>
1361
36c8acb4
RM
1362 [BZ #13775]
1363 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1364 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1365 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1366 being in POSIX, because they are in 1003.1-2008.
1367
84ad622b
RM
1368 * rt/tst-aio.c: Include <fcntl.h>.
1369 * rt/tst-aio7.c: Likewise.
1370 * rt/tst-aio64.c: Likewise.
1371
4579f81c
RM
1372 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1373
abd923db
JM
13742012-02-27 Joseph Myers <joseph@codesourcery.com>
1375
1376 * manual/install.texi (--with-headers): Describe headers as
1377 interface headers, not private headers.
1378 (Specific advice for GNU/Linux systems): Describe use of headers
1379 from "make headers_install", not private headers from older
1380 kernels.
43be4ca2 1381 * INSTALL: Regenerated.
abd923db
JM
1382 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1383 Change to 2.6.19.
1384 * sysdeps/unix/sysv/linux/configure: Regenerated.
1385
6664049b
JM
1386 * manual/llio.texi (fclean): Remove documentation.
1387
bb8b6697
JM
1388 * manual/Makefile (libc-texi-generated): New variable. Include
1389 version.texi.
1390 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1391 $(libc-texi-generated), not duplicated list of files.
1392 (version.texi, stamp-version): New rules.
1393 (realclean): Remove $(libc-texi-generated), not individual files
1394 from that list. Do not remove dir-add.texinfo.
1395 * manual/libc.texinfo: Comment out uses of edition numbers and
1396 references to printed manual. Remove last-updated dates.
1397 (EDITION): Comment out.
1398 (ISBN): Likewise.
1399 (VERSION, UPDATED): Remove.
1400 (version.texi): Include.
1401
12e5c3b9
AS
14022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1403
1404 * sysdeps/posix/spawni.c: Include <signal.h>.
1405 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1406 * sysdeps/pthread/aio_fsync.c: Likewise.
1407
4efeffc1 14082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1409
ba63ba08
UD
1410 * conform/Makefile (tests): Run only when not cross-compiling and
1411 when fast-check is not defined.
1412
d94a4670
UD
1413 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1414 * conform/data/limits.h-data: Fixes for POSIX2008.
1415 * conform/run-conformtest.sh: Run all tests.
1416 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1417 headers.
1418 * include/bits/dlfcn.h: Likewise.
1419 * include/langinfo.h: Likewise.
1420 * include/monetary.h: Likewise.
1421 * include/sys/poll.h: Likewise.
1422
1423 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1424 for __USE_GNU.
1425 * posix/spawn.h: Define __need_sigset_t.
1426 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1427 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1428 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1429 to get sigevent_t only.
1430 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1431 only for __USE_GNU.
1432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1433 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1434 process_vm_writev only for __USE_GNU.
1435 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1436
1437 * conform/Makefile: For now ignore errors from run-conformtest.
1438 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1439 POSIX to avoid namespace pollution. Don't prepend headers.
1440 * conform/data/aio.h-data: Fixes for POSIX testing.
1441 * conform/data/fcntl.h-data: Likewise.
1442 * conform/data/glob.h-data: Likewise.
1443 * conform/data/grp.h-data: Likewise.
1444 * conform/data/pthread.h-data: Likewise.
1445 * conform/data/pwd.h-data: Likewise.
1446 * conform/data/signal.h-data: Likewise.
1447 * conform/data/spawn.h-data: Likewise.
1448 * conform/data/stdio.h-data: Likewise.
1449 * conform/data/stdlib.h-data: Likewise.
1450 * conform/data/stropts.h-data: Likewise.
1451 * conform/data/sys/mman.h-data: Likewise.
1452 * conform/data/sys/stat.h-data: Likewise.
1453 * conform/data/sys/types.h-data: Likewise.
1454 * conform/data/sys/wait.h-data: Likewise.
1455 * conform/data/time.h-data: Likewise.
1456 * conform/data/unistd.h-data: Likewise.
1457 * conform/data/utime.h-data: Likewise.
1458
1459 * io/sys/stat.h: fchmod was always in POSIX.
1460 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1461 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1462 * rt/aio.h: Define __need_timespec before including <time.h>.
1463 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1464 struct. Add forward declaration of pthread_attr_t and use it in
1465 sigevent.
1466 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1467 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1468 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1469 always remove CLK_TCK definition.
1470
c20105c3
AS
14712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1472
1473 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1474
7a270350
UD
14752012-02-25 Ulrich Drepper <drepper@gmail.com>
1476
31341567
UD
1477 * conform/run-conformtest.sh: New file.
1478 * conform/Makefile: Run run-conformtest for tests.
1479 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1480 support.
1481
1482 * conform/data/uchar.h-data: New file.
1483 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1484 * conform/data/arpa/inet.h-data: Likewise.
1485 * conform/data/assert.h-data: Likewise.
1486 * conform/data/complex.h-data: Likewise.
1487 * conform/data/cpio.h-data: Likewise.
1488 * conform/data/ctype.h-data: Likewise.
1489 * conform/data/dirent.h-data: Likewise.
1490 * conform/data/dlfcn.h-data: Likewise.
1491 * conform/data/errno.h-data: Likewise.
1492 * conform/data/fcntl.h-data: Likewise.
1493 * conform/data/float.h-data: Likewise.
1494 * conform/data/fmtmsg.h-data: Likewise.
1495 * conform/data/fnmatch.h-data: Likewise.
1496 * conform/data/ftw.h-data: Likewise.
1497 * conform/data/glob.h-data: Likewise.
1498 * conform/data/grp.h-data: Likewise.
1499 * conform/data/iconv.h-data: Likewise.
1500 * conform/data/inttypes.h-data: Likewise.
1501 * conform/data/langinfo.h-data: Likewise.
1502 * conform/data/libgen.h-data: Likewise.
1503 * conform/data/limits.h-data: Likewise.
1504 * conform/data/locale.h-data: Likewise.
1505 * conform/data/math.h-data: Likewise.
1506 * conform/data/monetary.h-data: Likewise.
1507 * conform/data/mqueue.h-data: Likewise.
1508 * conform/data/ndbm.h-data: Likewise.
1509 * conform/data/net/if.h-data: Likewise.
1510 * conform/data/netdb.h-data: Likewise.
1511 * conform/data/netinet/in.h-data: Likewise.
1512 * conform/data/nl_types.h-data: Likewise.
1513 * conform/data/poll.h-data: Likewise.
1514 * conform/data/pthread.h-data: Likewise.
1515 * conform/data/pwd.h-data: Likewise.
1516 * conform/data/regex.h-data: Likewise.
1517 * conform/data/sched.h-data: Likewise.
1518 * conform/data/search.h-data: Likewise.
1519 * conform/data/semaphore.h-data: Likewise.
1520 * conform/data/setjmp.h-data: Likewise.
1521 * conform/data/signal.h-data: Likewise.
1522 * conform/data/spawn.h-data: Likewise.
1523 * conform/data/stdarg.h-data: Likewise.
1524 * conform/data/stdio.h-data: Likewise.
1525 * conform/data/stdlib.h-data: Likewise.
1526 * conform/data/string.h-data: Likewise.
1527 * conform/data/strings.h-data: Likewise.
1528 * conform/data/stropts.h-data: Likewise.
1529 * conform/data/sys/ipc.h-data: Likewise.
1530 * conform/data/sys/mman.h-data: Likewise.
1531 * conform/data/sys/msg.h-data: Likewise.
1532 * conform/data/sys/resource.h-data: Likewise.
1533 * conform/data/sys/select.h-data: Likewise.
1534 * conform/data/sys/sem.h-data: Likewise.
1535 * conform/data/sys/shm.h-data: Likewise.
1536 * conform/data/sys/socket.h-data: Likewise.
1537 * conform/data/sys/stat.h-data: Likewise.
1538 * conform/data/sys/statvfs.h-data: Likewise.
1539 * conform/data/sys/time.h-data: Likewise.
1540 * conform/data/sys/timeb.h-data: Likewise.
1541 * conform/data/sys/times.h-data: Likewise.
1542 * conform/data/sys/types.h-data: Likewise.
1543 * conform/data/sys/uio.h-data: Likewise.
1544 * conform/data/sys/un.h-data: Likewise.
1545 * conform/data/sys/utsname.h-data: Likewise.
1546 * conform/data/sys/wait.h-data: Likewise.
1547 * conform/data/syslog.h-data: Likewise.
1548 * conform/data/tar.h-data: Likewise.
1549 * conform/data/termios.h-data: Likewise.
1550 * conform/data/utime.h-data: Likewise.
1551 * conform/data/utmpx.h-data: Likewise.
1552 * conform/data/varargs.h-data: Likewise.
1553 * conform/data/wchar.h-data: Likewise.
1554 * conform/data/wctype.h-data: Likewise.
1555 * conform/data/wordexp.h-data: Likewise.
1556
1557 * include/stropts.h: New file.
1558 * include/uchar.h: New file.
1559 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1560 * include/assert.h: Likewise.
1561 * include/ctype.h: Likewise.
1562 * include/dirent.h: Likewise.
1563 * include/dlfcn.h: Likewise.
1564 * include/fcntl.h: Likewise.
1565 * include/fnmatch.h: Likewise.
1566 * include/glob.h: Likewise.
1567 * include/grp.h: Likewise.
1568 * include/libio.h: Likewise.
1569 * include/locale.h: Likewise.
1570 * include/math.h: Likewise.
1571 * include/net/if.h: Likewise.
1572 * include/netdb.h: Likewise.
1573 * include/netinet/in.h: Likewise.
1574 * include/pthread.h: Likewise.
1575 * include/pwd.h: Likewise.
1576 * include/regex.h: Likewise.
1577 * include/sched.h: Likewise.
1578 * include/search.h: Likewise.
1579 * include/setjmp.h: Likewise.
1580 * include/signal.h: Likewise.
1581 * include/stdio.h: Likewise.
1582 * include/stdlib.h: Likewise.
1583 * include/string.h: Likewise.
1584 * include/sys/cdefs.h: Likewise.
1585 * include/sys/mman.h: Likewise.
1586 * include/sys/msg.h: Likewise.
1587 * include/sys/resource.h: Likewise.
1588 * include/sys/select.h: Likewise.
1589 * include/sys/socket.h: Likewise.
1590 * include/sys/stat.h: Likewise.
1591 * include/sys/statvfs.h: Likewise.
1592 * include/sys/time.h: Likewise.
1593 * include/sys/times.h: Likewise.
1594 * include/sys/uio.h: Likewise.
1595 * include/sys/utsname.h: Likewise.
1596 * include/sys/wait.h: Likewise.
1597 * include/termios.h: Likewise.
1598 * include/time.h: Likewise.
1599 * include/ulimit.h: Likewise.
1600 * include/unistd.h: Likewise.
1601 * include/utime.h: Likewise.
1602 * include/wchar.h: Likewise.
1603 * include/wctype.h: Likewise.
1604 * include/wordexp.h: Likewise.
1605
1606 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1607
7a270350
UD
1608 * time/time.h: TIME_UTC must be a macro.
1609 Make timespec_get available for ISO C11 only as well.
1610
7724defc
UD
16112012-02-24 Ulrich Drepper <drepper@gmail.com>
1612
1613 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1614 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1615
6b1d1d46
JM
16162012-02-24 Joseph Myers <joseph@codesourcery.com>
1617
1618 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1619
0f8bbd69
JM
16202012-02-24 Joseph Myers <joseph@codesourcery.com>
1621
1622 * manual/texinfo.tex: Update to version 2012-01-19.16.
1623
66ab80bc
JM
16242012-02-24 Joseph Myers <joseph@codesourcery.com>
1625
1626 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1627
74981cc5
RM
16282012-02-24 Roland McGrath <roland@hack.frob.com>
1629
ee968201
RM
1630 [BZ #13738]
1631 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1632 * manual/fdl-1.3.texi: New file.
1633 * manual/fdl-1.1.texi: File removed.
1634
74981cc5
RM
1635 [BZ #13738]
1636 * manual/libc.texinfo (FDL_VERSION): New @set.
1637 Use it for mention of FDL in cover text.
1638 (Documentation License): Use it in @include file name.
1639
7bb764bc
JM
16402012-02-22 Joseph Myers <joseph@codesourcery.com>
1641 Roland McGrath <roland@hack.frob.com>
1642
1643 [BZ #5461]
1644 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1645 not LONG_LONG_MAX and LONG_LONG_MIN.
1646 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1647 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1648 name.
1649 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1650
6cbeae47
JM
16512012-02-22 Joseph Myers <joseph@codesourcery.com>
1652
1653 [BZ #2547]
1654 [BZ #11365]
1655 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1656 manipulate bits before adding and subtracting TWO23[sx].
1657 * math/libm-test.inc (nearbyint_test): Add more tests.
1658
fe45ce09
JM
16592012-02-22 Joseph Myers <joseph@codesourcery.com>
1660
1661 [BZ #2548]
1662 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1663 bits before adding and subtracting TWO23[sx].
1664 * math/libm-test.inc (rint_test): Add more tests.
1665 (rint_test_tonearest): Likewise.
1666 (rint_test_towardzero): Likewise.
1667 (rint_test_downward): Likewise.
1668 (rint_test_upward: Likewise.
1669
ff3b3d82
JM
16702012-02-22 Joseph Myers <joseph@codesourcery.com>
1671
1672 [BZ #10110]
1673 * include/stdc-predef.h: New file. Extracted from features.h.
1674 * include/features.h: Include stdc-predef.h.
1675 * Makefile (headers): Add stdc-predef.h.
1676 * CONFORMANCE (Compiler limitations): Update.
1677
ef0aab35
JM
16782012-02-22 Joseph Myers <joseph@codesourcery.com>
1679
1680 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1681
58639409
DM
16822012-02-21 David S. Miller <davem@davemloft.net>
1683
1684 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1685 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1686
c0e70b25
DM
16872012-02-20 David S. Miller <davem@davemloft.net>
1688
1689 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1690 using a normal save/restore sequence, rather than allocating a
1691 dummy stack frame just to store a frame pointer and restore.
1692 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1693
fb06851d
JM
16942012-02-21 Joseph Myers <joseph@codesourcery.com>
1695
1696 * manual/install.texi: Fix stray word in line-wrapped comment.
1697
7a8b71c3
DM
16982012-02-20 David S. Miller <davem@davemloft.net>
1699
d510c123
DM
1700 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1701 both binutils and gcc support GOTDATA.
1702
0722d7c2
DM
1703 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1704 "rd %pc" in the PIC register setup sequences.
1705
3d2b3019
DM
1706 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1707 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1708 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1709 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1710 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1713 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1715 (SYSCALL_ERROR_HANDLER): Likewise.
1716 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1717 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1719 (SYSCALL_ERROR_HANDLER): Likewise.
1720
c80098a9
DM
1721 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1722 (HAVE_GCC_GOTDATA): New.
1723 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1724 relocation support in both binutils and gcc.
1725 * sysdeps/sparc/elf/configure: Regenerate.
1726
3a2545a0
DM
1727 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1728 * sysdeps/sparc/sparc32/elf/configure: Delete.
1729 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1730 * sysdeps/sparc/sparc64/elf/configure: Delete.
1731 * sysdeps/sparc/elf/configure.in: New file.
1732 * sysdeps/sparc/elf/configure: Generate.
1733
7a8b71c3
DM
1734 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1735 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1736 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1737 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1738 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1739
f1e86fca
JM
17402012-02-21 Joseph Myers <joseph@codesourcery.com>
1741
1742 * manual/install.texi: Do not mention specific glibc version
1743 numbers.
1744 * manual/libc.texinfo (VERSION, UPDATED): Update.
1745 (@copying): Use @copyright{} and range of years.
1746
0e7dfaef
JM
17472012-02-21 Joseph Myers <joseph@codesourcery.com>
1748
1749 [BZ #13695]
1750 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1751 [crti.S not in sysdirs] (generated): Do not append.
1752 [crti.S not in sysdirs] (omit-deps): Likewise.
1753 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1754 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1755 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1756 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1757 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1758 Likewise.
1759 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1760 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1761 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1762 * csu/defs.awk: Remove file.
1763 * sysdeps/generic/initfini.c: Likewise.
1764 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1765 variable.
1766 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1767 Likewise.
1768
599af3ca
JM
17692012-02-20 Joseph Myers <joseph@codesourcery.com>
1770
1771 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1772 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1775 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1776 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1777 <bits/epoll.h>.
1778 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1779 (__EPOLL_PACKED): Define to empty if not defined by
1780 <bits/epoll.h>.
1781 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1783 bits/epoll.h.
1784
0e499750
JM
17852012-02-20 Joseph Myers <joseph@codesourcery.com>
1786
1787 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1788 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1790 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1791 <bits/timerfd.h>.
1792 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1794 bits/timerfd.h.
1795
5ad91f6e
JM
17962012-02-20 Joseph Myers <joseph@codesourcery.com>
1797
1798 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1799 in C locale.
1800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1801 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1802 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1804
06b99b02
AJ
18052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1806
1807 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1808 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1809
7638c0fd
AS
18102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1811
1812 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1813 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1814 defined.
1815 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1816 Likewise.
1817 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1818 entry for 2.16.
1819
92221550
AJ
18202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1821
1822 * math/w_acos.c: Use non-signaling floating-point comparisons.
1823 * math/w_acosf.c: Likewise.
1824 * math/w_acosh.c: Likewise.
1825 * math/w_acoshf.c: Likewise.
1826 * math/w_acoshl.c: Likewise.
1827 * math/w_acosl.c: Likewise.
1828 * math/w_asin.c: Likewise.
1829 * math/w_asinf.c: Likewise.
1830 * math/w_asinl.c: Likewise.
1831 * math/w_atanh.c: Likewise.
1832 * math/w_atanhf.c: Likewise.
1833 * math/w_atanhl.c: Likewise.
1834 * math/w_exp2.c: Likewise.
1835 * math/w_exp2f.c: Likewise.
1836 * math/w_exp2l.c: Likewise.
1837 * math/w_j0.c: Likewise.
1838 * math/w_j0f.c: Likewise.
1839 * math/w_j0l.c: Likewise.
1840 * math/w_j1.c: Likewise.
1841 * math/w_j1f.c: Likewise.
1842 * math/w_j1l.c: Likewise.
1843 * math/w_jn.c: Likewise.
1844 * math/w_jnf.c: Likewise.
1845 * math/w_log.c: Likewise.
1846 * math/w_log10.c: Likewise.
1847 * math/w_log10f.c: Likewise.
1848 * math/w_log10l.c: Likewise.
1849 * math/w_log2.c: Likewise.
1850 * math/w_log2f.c: Likewise.
1851 * math/w_log2l.c: Likewise.
1852 * math/w_logf.c: Likewise.
1853 * math/w_logl.c: Likewise.
1854 * math/w_sqrt.c: Likewise.
1855 * math/w_sqrtf.c: Likewise.
1856 * math/w_sqrtl.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1860 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1861 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1862
ebaf36eb
JM
18632012-02-19 Joseph Myers <joseph@codesourcery.com>
1864
1865 [BZ #9739]
1866 * manual/string.texi (strnlen): Use correct parameter name in
1867 equivalent expression.
1868
71c254a6
JM
18692012-02-19 Joseph Myers <joseph@codesourcery.com>
1870
1871 [BZ #11174]
1872 * manual/users.texi (seteuid): Consistently use neweuid for
1873 argument name.
1874
16d2c631
JM
18752012-02-19 Joseph Myers <joseph@codesourcery.com>
1876
1877 [BZ #13704]
1878 * manual/nss.texi (Services in the NSS configuration): Correct
1879 list of services in example configuration file.
1880
cd837b09
NB
18812012-02-19 Nick Bowler <nbowler@draconx.ca>
1882
1883 [BZ #11322]
1884 * manual/arith.texi: Remove statements about negative zero
1885 behaving identically to zero.
1886
02c4bbad
JM
18872012-02-18 Joseph Myers <joseph@codesourcery.com>
1888
1889 [BZ #5993]
1890 * manual/install.texi: Do not document upgrading from libc5.
1891
366842e7
JM
18922012-02-18 Joseph Myers <joseph@codesourcery.com>
1893
1894 [BZ #4596]
1895 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1896
dd54084d
DM
18972012-02-18 David S. Miller <davem@davemloft.net>
1898
1899 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1900 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1901 %o7 across the call.
1902 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1903 instead.
1904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1905 SETUP_PIC_REG_LEAF.
1906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1907 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1908 * sysdeps/sparc/crtn.S: Likewise.
1909
2bcc53a3
UD
19102012-02-17 Ulrich Drepper <drepper@gmail.com>
1911
1912 * aout/Makefile: Remove.
1913
09c093b5
RK
19142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1915
1916 [BZ #13058]
1917 * manual/examples/argp-ex1.c (main): Format definition in GNU
1918 style.
1919 * manual/examples/argp-ex2.c (main): Likewise.
1920 * manual/examples/argp-ex3.c (main): Likewise.
1921 * manual/examples/argp-ex4.c (main): Likewise.
1922 * manual/examples/longopt.c (main): Use new-style prototype
1923 definition.
1924 * manual/examples/strncat.c (main): Specify return type and use
1925 (void) for arguments.
1926 * manual/examples/subopt.c (main): Use char **argv argument.
1927
2ee633a2
JM
19282012-02-17 Joseph Myers <joseph@codesourcery.com>
1929
1930 [BZ #5077]
1931 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1932 rounding modes.
1933
0520adde
FB
19342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1935
1936 [BZ #6907]
1937 * manual/string.texi (strchr): Change when strchrnul is
1938 recommended.
1939
3f4081cd
DGM
19402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1941
1942 [BZ #174]
1943 * manual/locale.texi (setlocale): Document LOCPATH.
1944
d1b10e78
JM
19452012-02-17 Joseph Myers <joseph@codesourcery.com>
1946
1947 [BZ #10210]
1948 * manual/process.texi (execle): Move @dots{} before last argument.
1949
79c6869c
PB
19502012-02-17 Paul Bolle <pebolle@tiscali.nl>
1951
1952 [BZ #12047]
1953 * manual/charset.texi (Generic Charset Conversion): Fix typo
1954 (LC_TYPE -> LC_CTYPE).
1955
cc6e48bc
NB
19562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1957
1958 [BZ #5805]
1959 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1960 (scalbnf): Likewise.
1961 (scalbnl): Likewise.
1962 (scalbln): Likewise.
1963 (scalblnf): Likewise.
1964 (scalblnl): Likewise.
1965 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1966 (vwarnx): Likewise.
1967 (verr): Likewise.
1968 (verrx): Likewise.
1969 * manual/filesys.texi (telldir): Use braces around return type.
1970 * manual/llio.texi (mmap): Add space after comma.
1971 (mmap64): Likewise.
1972 * manual/math.texi (jn): Use @var{} on parameter names.
1973 (jnf): Likewise.
1974 (jnl): Likewise.
1975 (yn): Likewise.
1976 (ynf): Likewise.
1977 (ynl): Likewise.
1978 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1979 line.
1980 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1981 "...".
1982 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1983 (sched_get_priority_max): Likewise.
1984 * manual/signal.texi (sigvec): Add space after comma.
1985 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1986 names.
1987 (if_indextoname): Likewise.
1988 (if_freenameindex): Likewise.
1989 (sendto): Use ',' instead of '.' in prototype.
1990 * manual/startup.texi (syscall): Use @dots{} instead of literal
1991 "...".
1992 * manual/stdio.texi (__fpending): Separate initial words of
1993 paragraph from @deftypefun line.
1994 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1995 "...".
1996 (vsyslog): Use @var{} on parameter names.
1997 * manual/terminal.texi (stty): Use @var{} on parameter names.
1998 * manual/users.texi (getutmp): Use @var{} on parameter names.
1999 (getutmpx): Likewise.
2000
5b23062f
JM
20012012-02-17 Joseph Myers <joseph@codesourcery.com>
2002
2003 [BZ #6884]
2004 * manual/stdio.texi (fopen): Fix typos in description of
2005 ",ccs=STRING".
2006
8dee4833
AJ
20072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2008
2009 [BZ #4026]
2010 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2011 get clock_id definition.
2012
9078ce93
TS
20132012-02-17 Thomas Schwinge <thomas@schwinge.name>
2014
2015 [BZ #4822]
2016 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2017 (madvise): Cast every argument to void on its own.
2018
3835c55f
JM
20192012-02-17 Joseph Myers <joseph@codesourcery.com>
2020
2021 [BZ #9902]
2022 * manual/startup.texi (Exit Status): Fix typo.
2023
35c47e37
JM
20242012-02-17 Joseph Myers <joseph@codesourcery.com>
2025
2026 [BZ #10140]
2027 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2028 * manual/examples/argp-ex2.c: Likewise.
2029 * manual/examples/argp-ex3.c: Likewise.
2030
e3b69ca7
RH
20312012-02-16 Richard Henderson <rth@redhat.com>
2032
2033 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2034 * sysdeps/s390/s390-32/initfini.c: Remove.
2035 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2036 * sysdeps/s390/s390-64/initfini.c: Remove.
2037
df83af67
KK
20382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2039
2040 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2041 compiler output for sysdeps/generic/initfini.c.
2042 * sysdeps/sh/elf/initfini.c: Remove file.
2043
f63f3380
DM
20442012-02-16 David S. Miller <davem@davemloft.net>
2045
fb59b3a4
DM
2046 [BZ #11494]
2047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2048
f63f3380
DM
2049 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2050 * sysdeps/sparc/crti.S: New file.
2051 * sysdeps/sparc/crtn.S: New file.
2052 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2053 * sysdeps/sparc/sparc64/Makefile: Likewise.
2054
df6a4a4a
MF
20552012-02-15 Mike Frysinger <vapier@gentoo.org>
2056
6dd8f3dc 2057 [BZ #3335]
df6a4a4a
MF
2058 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2059
1cac7236
RM
20602012-02-15 Roland McGrath <roland@hack.frob.com>
2061
d2c736f8
RM
2062 [BZ #4822]
2063 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2064
1cac7236
RM
2065 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2066 (write, read, close): Likewise.
2067 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2068
8e475601
JM
20692012-02-15 Joseph Myers <joseph@codesourcery.com>
2070
2071 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2072 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2074 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2075 <bits/signalfd.h>.
2076 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2078 bits/signalfd.h.
2079
ed656b40
MP
20802012-02-14 Marek Polacek <polacek@redhat.com>
2081
2082 * sysdeps/x86_64/crti.S: New file.
2083 * sysdeps/x86_64/crtn.S: New file.
2084 * sysdeps/x86_64/elf/initfini.c: Remove file.
2085
2a979d3a
JM
20862012-02-13 Joseph Myers <joseph@codesourcery.com>
2087
2088 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2089 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2090 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2091 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2092 <bits/inotify.h>.
2093 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2095 bits/inotify.h.
2096
2a418ac3
JM
20972012-02-13 Joseph Myers <joseph@codesourcery.com>
2098
2099 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2100 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2101 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2102 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2103 <bits/eventfd.h>.
2104 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2106 bits/eventfd.h.
2107
fb779be7
TS
21082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2109
e19e83c5
RM
2110 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2111 __feraiseexcept instead of feraiseexcept.
7c35ffed 2112
fb779be7
TS
2113 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2114 nanosleep invocations.
2115 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2116 strings, and add error checking for a nanosleep invocations.
2117
59ba27a6
PE
21182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2119
2120 Replace FSF snail mail address with URLs, as per GNU coding standards.
2121 Most of the snail mail addresses were wrong anyway, and omitting
2122 them makes the source code easier to maintain. Almost all of the
2123 changes are to license notices and to locale LC_IDENTIFICATION
2124 addresses, except for this one:
2125 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2126 not its snail mail address.
2127
57b957eb
RH
21282012-02-09 Richard Henderson <rth@twiddle.net>
2129
af850b1c
RH
2130 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2131 of kernel-features.h.
2132
57b957eb
RH
2133 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2134
6b73181a
MP
21352012-02-08 Marek Polacek <polacek@redhat.com>
2136
2137 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2138 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2139 * sysdeps/gnu/_G_config.h: Likewise.
2140 * sysdeps/generic/_G_config.h: Likewise.
2141
26ecc33a
AS
21422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2143
6c6dbc63
AS
2144 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2145 tests.
2146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2147
e216c012
AS
2148 * sysdeps/powerpc/powerpc32/crti.S: New file.
2149 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2150 * sysdeps/powerpc/powerpc64/crti.S: New file.
2151 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2152
26ecc33a
AS
2153 * Makeconfig (have-initfini): Don't set.
2154 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2155 * configure.in (nopic_initfini): Don't substitute.
2156 * config.h.in (HAVE_INITFINI): Don't #undef.
2157 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2158 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2159
3add8e13
JM
21602012-02-08 Joseph Myers <joseph@codesourcery.com>
2161
2162 Support crti.S and crtn.S provided directly by architectures.
2163 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2164 [crti.S in sysdirs] (omit-deps): Likewise.
2165 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2166 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2167 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2168 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2169 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2170 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2171 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2172 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2173 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2174 compiler output for sysdeps/generic/initfini.c.
2175 * sysdeps/i386/elf/Makefile: Remove file.
2176 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2177
a22f12b4
MP
21782012-02-07 Marek Polacek <polacek@redhat.com>
2179
2180 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2181 * sysdeps/gnu/_G_config.h: Likewise.
2182 * sysdeps/mach/hurd/_G_config.h: Likewise.
2183
148cf100
MP
21842012-02-07 Marek Polacek <polacek@redhat.com>
2185
2186 * math/Makefile (tests): Add tst-CMPLX2.
2187 * math/tst-CMPLX2.c: New file.
2188
cfdc0dd7
AS
21892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2190
84ba42c4
AS
2191 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2192
cfdc0dd7
AS
2193 * math/libm-test.inc (jn_test): Add missing L suffix.
2194
622c86f4
MP
21952012-02-06 Marek Polacek <polacek@redhat.com>
2196
2197 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2198 * sysdeps/i386/fpu/e_powf.S: Likewise.
2199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2200 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2201 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2202 * sysdeps/i386/fpu/e_pow.S: Likewise.
2203 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2204 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2205 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2206 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2207 * sysdeps/i386/fpu/e_log2.S: Likewise.
2208 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2209 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2210 * sysdeps/i386/fpu/e_powl.S: Likewise.
2211 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2212 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2213 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2214 * sysdeps/i386/fpu/e_logl.S: Likewise.
2215 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2216 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2217 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2218 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2219 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2220 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2221 * sysdeps/i386/fpu/e_log.S: Likewise.
2222 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2223 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2224 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2225 * sysdeps/i386/fpu/e_logf.S: Likewise.
2226 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2227 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2228 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2229 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2230 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2231 * sysdeps/i386/fpu/e_log10.S: Likewise.
2232 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2233 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2234 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2235 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2236 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2237 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2238 * sysdeps/i386/asm-syntax.h: Likewise.
2239 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2242 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2243 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2244 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2245 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2246 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2247 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2248 * sysdeps/powerpc/sysdep.h: Likewise.
2249 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2250 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2251
d4a54ac6
JM
22522012-02-06 Joseph Myers <joseph@codesourcery.com>
2253
2254 [BZ #411]
2255 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2256
314054ea
JM
22572012-02-06 Joseph Myers <joseph@codesourcery.com>
2258
2259 * sysdeps/i386/sysdep.h: Include <features.h>.
2260 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2261 version.
2262
d8e0ca50
JM
22632012-02-05 Joseph Myers <joseph@codesourcery.com>
2264
2265 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2266 Define.
2267 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2268 LOAD_PIC_REG_STR.
2269
b1da7dd9
JM
22702012-02-03 Joseph Myers <joseph@codesourcery.com>
2271
2272 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2273 (SETUP_PIC_REG): Use GET_PC_THUNK.
2274 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2275 macro.
2276
9a1d9254
JM
22772012-02-03 Joseph Myers <joseph@codesourcery.com>
2278
2279 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2280 for non-PIC compilation.
2281 (SETUP_PIC_REG): Add .p2align directive.
2282 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2283 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2284 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2285 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2286 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2287 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2288 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2290 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2291 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2292 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2293 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2294 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2295 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2296 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2297 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2298 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2300 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2302 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2304 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2305 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2308 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2310 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2311 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2312 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2313 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2314 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2315 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2317 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2318 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2321 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2322 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2323
65dc3b75
JM
23242012-02-03 Joseph Myers <joseph@codesourcery.com>
2325
2326 * math/tst-CMPLX.c: Include <stdio.h>.
2327
d55bf177
JM
23282012-01-31 Joseph Myers <joseph@codesourcery.com>
2329
2330 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2331 float.
2332 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2333 * sysdeps/sparc/bits/mathdef.h: Likewise.
2334
69db4f8f
MP
23352012-01-31 Marek Polacek <polacek@redhat.com>
2336
2337 * libio/libio.h: Don't define _PARAMS.
2338 * locale/programs/config.h: Don't define PARAMS.
2339 * stdlib/strtol_l.c: Likewise.
2340 (__strtol_l): Remove PARAMS from the prototype.
2341
41b81892
UD
23422012-01-31 Ulrich Drepper <drepper@gmail.com>
2343
3b49edc0
UD
2344 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2345 names. Just use the correct names. Remove unnecessary wrapper
2346 functions.
2347 * malloc/arena.c: Likewise.
2348 * malloc/hooks.c: Likewise.
2349
41b81892
UD
2350 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2351 ARENA_TEST says not to. Simplify test for creation of a new arena.
2352 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2353
27a25b6e
UD
23542012-01-30 Ulrich Drepper <drepper@gmail.com>
2355
2356 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2357 into tail calls.
2358 (update_get_addr): New function.
2359 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2360 GET_ADDR_MODULE parameter.
2361
c8a89e7d
JM
23622012-01-30 Joseph Myers <joseph@codesourcery.com>
2363
2364 * crypt/cert.c: Remove __STDC__ conditionals.
2365 * crypt/crypt-entry.c: Likewise.
2366 * crypt/crypt_util.c: Likewise.
2367 * libio/filedoalloc.c: Likewise.
2368 * libio/fileops.c: Likewise.
2369 * libio/genops.c: Likewise.
2370 * libio/iofclose.c: Likewise.
2371 * libio/iofdopen.c: Likewise.
2372 * libio/iofopen.c: Likewise.
2373 * libio/iofopen64.c: Likewise.
2374 * libio/iogetdelim.c: Likewise.
2375 * libio/iopopen.c: Likewise.
2376 * libio/obprintf.c: Likewise.
2377 * libio/oldfileops.c: Likewise.
2378 * libio/oldiofclose.c: Likewise.
2379 * libio/oldiofdopen.c: Likewise.
2380 * libio/oldiofopen.c: Likewise.
2381 * libio/oldiopopen.c: Likewise.
2382 * libio/wfiledoalloc.c: Likewise.
2383 * libio/wgenops.c: Likewise.
2384 * locale/programs/xmalloc.c: Likewise.
2385 * misc/syslog.c: Likewise.
2386 * stdio-common/xbug.c: Likewise.
2387 * string/memchr.c: Likewise.
2388 * string/memcmp.c: Likewise.
2389 * string/memrchr.c: Likewise.
2390 * string/rawmemchr.c: Likewise.
2391 * sysdeps/posix/getcwd.c: Likewise.
2392 * time/strftime_l.c: Likewise.
2393
3b100462
JM
23942012-01-30 Joseph Myers <joseph@codesourcery.com>
2395
2396 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2397 * config.make.in (config-cflags-sse2avx): Define.
2398 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2399 Fix typo.
2400
607998af
CM
24012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2402
2403 * scripts/config.guess: Update from upstream config git repository.
2404 * scripts/config.sub: Likewise.
2405
3601428f
CM
24062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2407
3ac8b282
CM
2408 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2409 (EM_NUM): Update.
2410 (R_TILEPRO_*, R_TILEGX_*): New macros.
2411
e034841e
CM
2412 * scripts/firstversions.awk: Fix bug in version range handling.
2413
540d7568
CM
2414 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2415
3601428f
CM
2416 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2417
463de862
CM
2418 * include/sys/epoll.h: New file.
2419 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2420 libc_hidden_def.
2421
73139a76
UD
24222012-01-28 Ulrich Drepper <drepper@gmail.com>
2423
96bc5b45
UD
2424 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2425 Avoid unnecessary __WORDSIZE == 64 test.
2426 (fmaxf): Use VEX format if possible.
2427 (fmax): Likewise.
2428 (fminf): Likewise.
2429 (fmin): Likewise.
2430
56f6f6a2
UD
2431 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2432 * math/math_private.h: Remove libc_fegetround* and
2433 libc_fesetround*.
2434 * sysdeps/i386/configure.in: Check for -msse2avx.
2435 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2436 also if SSE2AVX is defined.
2437 Remove libc_fegetround* and libc_fesetround*.
2438 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2439 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2441 of HAS_YMM_USABLE.
2442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2447
73139a76
UD
2448 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2449
d73f93a4
AZ
24502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2451
2452 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2453 size is not set.
2454 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2455
6ee65ed6
UD
24562012-01-27 Ulrich Drepper <drepper@gmail.com>
2457
2458 [BZ #13618]
2459 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2460 relocation.
2461 * Makeconfig (libm): Define.
2462 * elf/Makefile: Add rules to build and run tst-relsort1.
2463 * elf/tst-relsort1.c: New file.
2464 * elf/tst-relsort1mod1.c: New file.
2465 * elf/tst-relsort1mod2.c: New file.
2466
8db21882
JM
24672012-01-27 Joseph Myers <joseph@codesourcery.com>
2468
2469 * math/s_ldexp.c: Remove __STDC__ conditionals.
2470 * math/s_ldexpf.c: Likewise.
2471 * math/s_ldexpl.c: Likewise.
2472 * math/s_nextafter.c: Likewise.
2473 * math/s_nexttowardf.c: Likewise.
2474 * math/s_significand.c: Likewise.
2475 * math/s_significandf.c: Likewise.
2476 * math/s_significandl.c: Likewise.
2477 * math/w_jnl.c: Likewise.
2478 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2479 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2480 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2481 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2482 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2484 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2485 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2486 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2487 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2488 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2489 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2490 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2491 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2492 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2493 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2494 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2495 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2497 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2498 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2500 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2502 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2503 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2504 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2505 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2506 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2508 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2509 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2510 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2511 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2512 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2513 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2514 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2515 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2516 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2517 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2518 * sysdeps/ieee754/k_standard.c: Likewise.
2519 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2521 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2523 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2526 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2528 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2529 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2531 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2538 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2548 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2549 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2551 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2555 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2556 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2558 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2559 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2561 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2562 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2563 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2564 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2565 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2566 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2567 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2568 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2569 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2573 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2574 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2575 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2576 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2577 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2581 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2584 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2585 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2590 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2591 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2592 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2593 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2594 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2595 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2596 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2598 * sysdeps/ieee754/s_matherr.c: Likewise.
2599 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2600 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2603
965a54a4
JM
26042012-01-26 Joseph Myers <joseph@codesourcery.com>
2605
2606 * crypt/md5.h: Remove __STDC__ conditionals.
2607 * libio/libioP.h: Likewise.
2608 * locale/programs/config.h: Likewise.
2609 * sysdeps/generic/sysdep.h: Likewise.
2610 * sysdeps/i386/asm-syntax.h: Likewise.
2611 * sysdeps/s390/asm-syntax.h: Likewise.
2612 * sysdeps/unix/sysdep.h: Likewise.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2615
7071ad79
JM
26162012-01-26 Joseph Myers <joseph@codesourcery.com>
2617
2618 * libio/libio.h: Remove __STDC__ conditionals.
2619 * malloc/obstack.h: Likewise.
2620 * math/complex.h: Likewise.
2621 * math/math.h: Likewise.
2622 * sysdeps/generic/_G_config.h: Likewise.
2623 * sysdeps/gnu/_G_config.h: Likewise.
2624 * sysdeps/mach/hurd/_G_config.h: Likewise.
2625 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2626 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2627 * sysdeps/sparc/bits/mathdef.h: Likewise.
2628
afc5ed09
UD
26292012-01-26 Ulrich Drepper <drepper@gmail.com>
2630
2631 [BZ #13583]
2632 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2633 Clean up HAS_* macros.
afc5ed09 2634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2635 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2636 possible.
2637 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2638 HAS_AVX.
2639 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2640 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2641 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2642 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2643 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2644
bdb6de1d
JM
26452012-01-25 Joseph Myers <joseph@codesourcery.com>
2646
2647 * elf/tst-unique3.cc (gets): Remove declaration.
2648 * elf/tst-unique3lib.cc (gets): Likewise.
2649 * elf/tst-unique3lib2.cc (gets): Likewise.
2650 * elf/tst-unique4.cc (gets): Likewise.
2651
b15549e6
UD
26522012-01-24 Ulrich Drepper <drepper@gmail.com>
2653
2654 * include/stdio.h: Add C++ protection. Add gets declarations and
2655 definitions.
2656 * debug/tst-chk1.c: Don't declare gets here.
2657 * stdio-common/tst-gets.c: Likewise.
2658
a037381f
JM
26592012-01-24 Joseph Myers <joseph@codesourcery.com>
2660
2661 * posix/glob: Remove directory.
2662
f1d4aa75
JM
26632012-01-24 Joseph Myers <joseph@codesourcery.com>
2664
2665 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2666
81c0c964
PT
26672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2668
2669 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2670 of the non-standard EPFNOSUPPORT.
2671
0ea698ae
ST
26722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2673
2674 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2675 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2676 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2677
d220b117
UD
26782012-01-21 Ulrich Drepper <drepper@gmail.com>
2679
2680 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2681
3e1aa84e
UD
26822012-01-20 Ulrich Drepper <drepper@gmail.com>
2683
2684 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2685 transient errors.
2686 * nscd/grpcache.c (cache_addgr): Likewise.
2687 * nscd/hstcache.c (cache_addhst): Likewise.
2688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2689 * nscd/pwdcache.c (cache_addpw): Likewise.
2690 * nscd/servicescache.c (cache_addserv): Likewise.
2691
400aa020
UD
26922012-01-16 Ulrich Drepper <drepper@gmail.com>
2693
d77e7869
UD
2694 * malloc/malloc.c: Various cleanups.
2695 * malloc/hooks.c: Likewise.
2696
400aa020
UD
2697 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2698 * stdlib/bug-fmtmsg1.c: New file.
2699
2700 * stdlib/fmtmsg.c (init): Add missing unlock.
2701 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2702
e0a309cf
MP
27032012-01-12 Marek Polacek <polacek@redhat.com>
2704
2705 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2706 and _GNU_SOURCE.
2707
929d11c7
WS
27082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2709
2710 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2711 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2712 macro to ensure uniqueness of label name.
2713 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2714 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2715
41d0e869
UD
27162012-01-11 Ulrich Drepper <drepper@gmail.com>
2717
0cc5ed3b
UD
2718 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2719
41d0e869
UD
2720 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2721 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2722 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2724
a47a831a
UD
27252012-01-10 Ulrich Drepper <drepper@gmail.com>
2726
daa891c0
UD
2727 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2728
2729 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2730 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2731 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2732
e58ef0f2
UD
2733 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2734
a47a831a 2735 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2736 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2739
2740 * math/bits/math-finite.h: Add ldexp support.
2741
a0bfc9c7
MP
27422012-01-10 Marek Polacek <polacek@redhat.com>
2743
2744 * locale/programs/localedef.h (show_archive_content): Add noreturn
2745 attribute.
2746
d6e97a1d
UD
27472012-01-09 Ulrich Drepper <drepper@gmail.com>
2748
2749 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2750
d5835c26
UD
27512012-01-08 Ulrich Drepper <drepper@gmail.com>
2752
e5f484c6
UD
2753 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2754
d5835c26
UD
2755 * io/Makefile (headers): Add bits/poll2.h.
2756
d1f741e9
WS
27572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2758
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2760 typo #include statement.
2761
ec09c1c4
UD
27622012-01-08 Ulrich Drepper <drepper@gmail.com>
2763
2764 * include/sys/cdefs.h: Define __attribute_alloc_size.
2765 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2766 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2767 * elf/pldd.c: Likewise.
2768 * iconv/iconv_charmap.c: Likewise.
2769 * iconv/iconvconfig.c: Likewise.
2770 * iconv/strtab.c: Likewise.
2771 * locale/programs/locale.c: Likewise.
2772 * locale/programs/localedef.h: Likewise.
2773 * locale/programs/simple-hash.c: Likewise.
2774 * nscd/nscd.h: Likewise.
2775 * nss/makedb.c: Likewise.
2776 * sysdeps/generic/ldconfig.h: Likewise.
2777 * locale/programs/localedef.c: Remove xmalloc prototype.
2778 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2779
20b38e03
PP
27802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2781
2782 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2783 appropriate.
2784
a0da5fe1
UD
27852012-01-08 Ulrich Drepper <drepper@gmail.com>
2786
1d5a644a 2787 * math/Makefile (tests): Add tst-CMPLX.
669704fd 2788 * math/tst-CMPLX.c: New file.
1d5a644a 2789
8784a6db
UD
2790 * math/complex.h (CMPLXL): Fix typo.
2791
d9a216c0
UD
2792 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2793 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2794 GLIBC_2.16.
2795 * debug/tst-chk1.c: Add poll and ppoll tests.
2796 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2797 * include/sys/poll.h: Add hidden proto for ppoll.
2798 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2799 * sysdeps/mach/hurd/ppoll.c: Likewise.
2800 * io/ppoll.c: Likewise.
2801 * debug/poll_chk.c: New file.
2802 * debug/ppoll_chk.c: New file.
2803 * include/bits/poll2.h: New file.
2804 * io/bits/poll2.h: New file.
2805
ac097f5c
UD
2806 [BZ #1350]
2807 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2808
2119dcfa
UD
2809 * configure.in: static is always set to yes. Remove.
2810 * config.make.in: Don't set build-static.
2811 * Makeconfig: Remove use of build-static.
2812 * dlfcn/Makefile: Likewise.
2813 * elf/Makefile: Likewise.
2814 * math/Makefile: Likewise.
2815 * misc/Makefile: Likewise.
2816 * nptl/Makefile: Likewise.
2817 * sysdeps/mach/hurd/Makefile: Likewise.
2818
121766a9
UD
2819 * configure.in: PWD_P is not used anymore.
2820 * config.make.in: Remove PWD_P entry.
2821
51a1d39c 2822 * configure.in: Remove last remnants of RANLIB.
8720d066 2823 No need to check for signed size_t anymore.
215f4bdc
UD
2824 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2825 and IA-64.
3857022a 2826 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2827 * aclocal.m4: Likewise.
2828
d3ed7225
UD
2829 * wcsmbs/mbrtoc16.c: Implement using towc function.
2830 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2831 * wcsmbs/wcsmbsload.c: Likewise.
2832 * iconv/gconv_simple.c: Likewise.
2833 * iconv/gconv_int.h: Likewise.
2834 * iconv/gconv_builtin.h: Likewise.
2835 * iconv/iconv_prog.c: Remove CHAR16 handling.
2836
2837 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2838
2839 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2840
a0da5fe1
UD
2841 * configure.in: Remove --with-elf and --enable-bounded options.
2842 Dont set base_machine for ia64. More non-ELF conditions removed.
2843 Remove testing and setting of leading underscore information.
2844 * config.make.in (build-bounded): Set to no.
2845 * config.h.in: Remove NO_UNDERSCORES entry.
2846 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2847 them.
2848 * csu/start.c: Remove !NO_UNDERSCORE code.
2849 * locale/localeinfo.h: Likewise.
2850 * sysdeps/generic/machine-gmon.h: Likewise.
2851 * sysdeps/generic/sysdep.h: Likewise.
2852 * sysdeps/i386/sysdep.h: Likewise.
2853 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2854 * sysdeps/mach/sysdep.h: Likewise.
2855 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2857 * sysdeps/sh/sysdep.h: Likewise.
2858 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2859 * sysdeps/unix/i386/sysdep.S: Likewise.
2860 * sysdeps/unix/sparc/start.c: Likewise.
2861 * sysdeps/unix/sparc/sysdep.S: Likewise.
2862 * sysdeps/unix/sparc/sysdep.h: Likewise.
2863 * sysdeps/unix/start.c: Likewise.
2864 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2865 * sysdeps/x86_64/sysdep.h: Likewise.
2866
df78418a
UD
28672012-01-07 Ulrich Drepper <drepper@gmail.com>
2868
a784e502
UD
2869 [BZ #13553]
2870 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2871 for non-gcc.
2872 * argp/argp-fmtstream.h: Use const instead __const.
2873 * argp/argp.h: Likewise.
2874 * assert/assert.h: Likewise.
2875 * bits/fenv.h: Likewise.
2876 * bits/sched.h: Likewise.
2877 * bits/sigset.h: Likewise.
2878 * bits/sigthread.h: Likewise.
2879 * catgets/nl_types.h: Likewise.
2880 * conform/data/pthread.h-data: Likewise.
2881 * crypt/crypt-private.h: Likewise.
2882 * crypt/crypt.h: Likewise.
2883 * crypt/crypt_util.c: Likewise.
2884 * ctype/ctype.h: Likewise.
2885 * debug/execinfo.h: Likewise.
2886 * debug/mbsnrtowcs_chk.c: Likewise.
2887 * debug/mbsrtowcs_chk.c: Likewise.
2888 * debug/wcsnrtombs_chk.c: Likewise.
2889 * debug/wcsrtombs_chk.c: Likewise.
2890 * debug/wcstombs_chk.c: Likewise.
2891 * dirent/dirent.h: Likewise.
2892 * dlfcn/dlfcn.h: Likewise.
2893 * elf/neededtest4.c: Likewise.
2894 * grp/grp.h: Likewise.
2895 * gshadow/gshadow.h: Likewise.
2896 * iconv/gconv.h: Likewise.
2897 * iconv/gconv_int.h: Likewise.
2898 * iconv/gconv_simple.c: Likewise.
2899 * iconv/iconv.h: Likewise.
2900 * iconv/loop.c: Likewise.
2901 * iconv/skeleton.c: Likewise.
2902 * include/aio.h: Likewise.
2903 * include/aliases.h: Likewise.
2904 * include/argz.h: Likewise.
2905 * include/arpa/inet.h: Likewise.
2906 * include/assert.h: Likewise.
2907 * include/dirent.h: Likewise.
2908 * include/dlfcn.h: Likewise.
2909 * include/execinfo.h: Likewise.
2910 * include/fcntl.h: Likewise.
2911 * include/fenv.h: Likewise.
2912 * include/glob.h: Likewise.
2913 * include/grp.h: Likewise.
2914 * include/libintl.h: Likewise.
2915 * include/mntent.h: Likewise.
2916 * include/netdb.h: Likewise.
2917 * include/pwd.h: Likewise.
2918 * include/rpc/netdb.h: Likewise.
2919 * include/sched.h: Likewise.
2920 * include/search.h: Likewise.
2921 * include/shadow.h: Likewise.
2922 * include/signal.h: Likewise.
2923 * include/stdio.h: Likewise.
2924 * include/stdlib.h: Likewise.
2925 * include/string.h: Likewise.
2926 * include/sys/socket.h: Likewise.
2927 * include/sys/stat.h: Likewise.
2928 * include/sys/statfs.h: Likewise.
2929 * include/sys/statvfs.h: Likewise.
2930 * include/sys/syslog.h: Likewise.
2931 * include/sys/time.h: Likewise.
2932 * include/sys/uio.h: Likewise.
2933 * include/time.h: Likewise.
2934 * include/unistd.h: Likewise.
2935 * include/utmp.h: Likewise.
2936 * include/wchar.h: Likewise.
2937 * include/wctype.h: Likewise.
2938 * inet/aliases.h: Likewise.
2939 * inet/arpa/inet.h: Likewise.
2940 * inet/netinet/ether.h: Likewise.
2941 * inet/netinet/in.h: Likewise.
2942 * intl/libintl.h: Likewise.
2943 * io/bits/fcntl2.h: Likewise.
2944 * io/fcntl.h: Likewise.
2945 * io/ftw.h: Likewise.
2946 * io/sys/poll.h: Likewise.
2947 * io/sys/stat.h: Likewise.
2948 * io/sys/statfs.h: Likewise.
2949 * io/sys/statvfs.h: Likewise.
2950 * io/utime.h: Likewise.
2951 * libio/bits/stdio.h: Likewise.
2952 * libio/bits/stdio2.h: Likewise.
2953 * libio/libio.h: Likewise.
2954 * libio/libioP.h: Likewise.
2955 * libio/stdio.h: Likewise.
2956 * locale/lc-ctype.c: Likewise.
2957 * locale/locale.h: Likewise.
2958 * login/utmp.h: Likewise.
2959 * malloc/arena.c: Likewise.
2960 * malloc/malloc.c: Likewise.
2961 * malloc/malloc.h: Likewise.
2962 * malloc/mcheck.c: Likewise.
2963 * malloc/mtrace.c: Likewise.
2964 * math/bits/mathcalls.h: Likewise.
2965 * math/fenv.h: Likewise.
2966 * math/math_private.h: Likewise.
2967 * misc/bits/error.h: Likewise.
2968 * misc/bits/syslog.h: Likewise.
2969 * misc/err.h: Likewise.
2970 * misc/error.h: Likewise.
2971 * misc/fstab.h: Likewise.
2972 * misc/mntent.h: Likewise.
2973 * misc/regexp.h: Likewise.
2974 * misc/search.h: Likewise.
2975 * misc/sgtty.h: Likewise.
2976 * misc/sys/mman.h: Likewise.
2977 * misc/sys/syslog.h: Likewise.
2978 * misc/sys/uio.h: Likewise.
2979 * misc/sys/xattr.h: Likewise.
2980 * misc/ttyent.h: Likewise.
2981 * nis/rpcsvc/ypclnt.h: Likewise.
2982 * nss/nss.h: Likewise.
2983 * posix/bits/unistd.h: Likewise.
2984 * posix/fnmatch.h: Likewise.
2985 * posix/glob.h: Likewise.
2986 * posix/sched.h: Likewise.
2987 * posix/spawn.h: Likewise.
2988 * posix/sys/wait.h: Likewise.
2989 * posix/unistd.h: Likewise.
2990 * posix/wordexp.h: Likewise.
2991 * pwd/pwd.h: Likewise.
2992 * resolv/netdb.h: Likewise.
2993 * resource/sys/resource.h: Likewise.
2994 * rt/aio.h: Likewise.
2995 * rt/bits/mqueue2.h: Likewise.
2996 * rt/mqueue.h: Likewise.
2997 * shadow/shadow.h: Likewise.
2998 * signal/signal.h: Likewise.
2999 * socket/send.c: Likewise.
3000 * socket/sendto.c: Likewise.
3001 * socket/sys/socket.h: Likewise.
3002 * stdio-common/printf.h: Likewise.
3003 * stdlib/bits/stdlib.h: Likewise.
3004 * stdlib/fmtmsg.h: Likewise.
3005 * stdlib/monetary.h: Likewise.
3006 * stdlib/stdlib.h: Likewise.
3007 * stdlib/ucontext.h: Likewise.
3008 * streams/stropts.h: Likewise.
3009 * string/argz.h: Likewise.
3010 * string/bits/string2.h: Likewise.
3011 * string/string.h: Likewise.
3012 * string/strings.h: Likewise.
3013 * sunrpc/rpc/auth.h: Likewise.
3014 * sunrpc/rpc/auth_des.h: Likewise.
3015 * sunrpc/rpc/clnt.h: Likewise.
3016 * sunrpc/rpc/netdb.h: Likewise.
3017 * sunrpc/rpc/pmap_clnt.h: Likewise.
3018 * sunrpc/rpc/xdr.h: Likewise.
3019 * sysdeps/generic/inttypes.h: Likewise.
3020 * sysdeps/generic/net/if.h: Likewise.
3021 * sysdeps/generic/sys/swap.h: Likewise.
3022 * sysdeps/gnu/net/if.h: Likewise.
3023 * sysdeps/gnu/utmpx.h: Likewise.
3024 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3025 * sysdeps/i386/i486/bits/string.h: Likewise.
3026 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3027 * sysdeps/s390/bits/string.h: Likewise.
3028 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3029 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3030 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3031 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3032 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3033 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3034 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3035 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3036 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3037 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3038 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3039 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3040 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3041 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3042 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3043 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3044 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3049 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3050 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3051 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3052 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3053 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3054 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3056 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3057 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3058 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3059 * sysvipc/sys/ipc.h: Likewise.
3060 * sysvipc/sys/msg.h: Likewise.
3061 * sysvipc/sys/sem.h: Likewise.
3062 * sysvipc/sys/shm.h: Likewise.
3063 * termios/termios.h: Likewise.
3064 * time/sys/time.h: Likewise.
3065 * time/time.h: Likewise.
3066 * wcsmbs/bits/wchar2.h: Likewise.
3067 * wcsmbs/uchar.h: Likewise.
3068 * wcsmbs/wchar.h: Likewise.
3069 * wctype/wctype.h: Likewise.
3070
0269750c
UD
3071 [BZ #13551]
3072 * Makeconfig: Remove all but ELF support including AIX support.
3073 * Makerules: Likewise.
3074 * config.h.in: Likewise.
3075 * config.make.in: Likewise.
3076 * configure: Likewise.
3077 * configure.in: Likewise.
3078 * csu/Makefile: Likewise.
3079 * csu/version.c: Likewise.
3080 * debug/Makefile: Likewise.
3081 * dlfcn/Makefile: Likewise.
3082 * elf/Makefile: Likewise.
3083 * extra-lib.mk: Likewise.
3084 * iconv/Makefile: Likewise.
3085 * include/libc-symbols.h: Likewise.
3086 * include/shlib-compat.h: Likewise.
3087 * resolv/Makefile: Likewise.
3088 * resolv/res_libc.c: Likewise.
3089 * rt/Makefile: Likewise.
3090 * sysdeps/i386/asm-syntax.h: Likewise.
3091 * sysdeps/i386/sysdep.h: Likewise.
3092 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3093 * sysdeps/mach/sysdep.h: Likewise.
3094 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3095 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3096 * sysdeps/s390/asm-syntax.h: Likewise.
3097 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3099 * sysdeps/sh/sysdep.h: Likewise.
3100 * sysdeps/unix/sparc/sysdep.h: Likewise.
3101 * sysdeps/wordsize-32/divdi3.c: Likewise.
3102 * sysdeps/x86_64/sysdep.h: Likewise.
3103
00bbd29b
UD
3104 * argp/Versions: Remove _argp_unlock_xxx.
3105
3106 [BZ #13559]
3107 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3108 * abilist/libBrokenLocale.abilist: Likewise.
3109 * abilist/libanl.abilist: Likewise.
3110 * abilist/libc.abilist: Likewise.
3111 * abilist/libcrypt.abilist: Likewise.
3112 * abilist/libdl.abilist: Likewise.
3113 * abilist/libm.abilist: Likewise.
3114 * abilist/libnsl.abilist: Likewise.
3115 * abilist/libpthread.abilist: Likewise.
3116 * abilist/libresolv.abilist: Likewise.
3117 * abilist/librt.abilist: Likewise.
3118 * abilist/libthread_db.abilist: Likewise.
3119 * abilist/libutil.abilist: Likewise.
3120 * abilist/libnss_db.abilist: New file.
3121
3122 * scripts/abilist.awk: Add support for indirect functions.
3123
a2693a0e
UD
3124 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3125
3f05895f
UD
3126 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3127
ecb6fb48
UD
3128 * shlib-versions: Remove entries for ports architectures.
3129
664f8cb9
UD
3130 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3131 files in ports.
3132 * elf/stackguard-macros.h: Remove support for IA-64.
3133 * elf/tst-auditmod1.c: Likewise.
3134 * sysdeps/generic/ldsodefs.h: Likewise.
3135
7ae81d88
UD
3136 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3137 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3138 configure files.
3139
bdeba135
UD
3140 [BZ #13552]
3141 * configure.in: Remove --enable-omitfp support.
3142 * FAQ.in: Adjust.
3143 * config.make.in: Likewise.
3144 * Makeconfig: Likewise.
3145 * manual/install.texi: Likewise.
3146
d75a0a62
UD
3147 In case anyone cares, the IA-64 architecture could move to ports.
3148 * sysdeps/ia64/*: Removed.
3149 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3150 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3151
dcc9756b
UD
3152 [BZ #13555]
3153 * configure.in: Remove entries for unsupported architectures.
3154
d3761ebc 3155 [BZ #13533]
9954432e
UD
3156 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3157 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3158 routines.
3159 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3160 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3161 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3162 fall back to using wcrtomb.
3163 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3164 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3165 renaming.
3166 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3167 * wcsmbs/tst-c16c32-1.c: New file.
3168
3169 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3170 local variable.
3171
c3a87236
UD
3172 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3173
28926a1b
UD
3174 * elf/tst-unique3.cc: Add explicit declaration of gets.
3175 * elf/tst-unique3lib.cc: Likewise.
3176 * elf/tst-unique3lib2.cc: Likewise.
3177 * elf/tst-unique4.cc: Likewise.
3178
df78418a
UD
3179 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3180
8ecd6b2a
JM
31812012-01-06 Joseph Myers <joseph@codesourcery.com>
3182
3183 [BZ #13566]
3184 * assert/assert.h (static_assert): Don't define for C++.
3185 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3186 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3187
9f115170
UD
31882012-01-03 Ulrich Drepper <drepper@gmail.com>
3189
5e0d0300
UD
3190 * iconv/loop.c (single loop): Fix assertion in storing of
3191 remaining bytes.
3192
9f115170
UD
3193 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3194
81fb02b0
UD
31952012-01-01 Ulrich Drepper <drepper@gmail.com>
3196
3197 * posix/getconf.c: Update copyright year.
3198 * nss/getent.c: Likewise.
a316c1f6 3199 * nss/makedb.c: Likewise.
81fb02b0
UD
3200 * iconv/iconvconfig.c: Likewise.
3201 * iconv/iconv_prog.c: Likewise.
3202 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3203 * elf/pldd.c: Likewise.
3204 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3205 * catgets/gencat.c: Likewise.
3206 * csu/version.c: Likewise.
3207 * elf/ldd.bash.in: Likewise.
3208 * elf/sprof.c (print_version): Likewise.
3209 * locale/programs/locale.c: Likewise.
3210 * locale/programs/localedef.c: Likewise.
a316c1f6 3211 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3212 * nscd/nscd.c (print_version): Likewise.
3213 * debug/xtrace.sh: Likewise.
3214 * malloc/memusage.sh: Likewise.
3215 * malloc/mtrace.pl: Likewise.
3216 * debug/catchsegv.sh: Likewise.
3217
2ba92745
JJ
32182011-12-30 Jakub Jelinek <jakub@redhat.com>
3219
3220 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3221 pure attribute.
3222
dadebdae
UD
32232011-12-24 Ulrich Drepper <drepper@gmail.com>
3224
d3761ebc 3225 [BZ #13533]
db6af3eb
UD
3226 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3227 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3228 transformations.
3229 * iconv/gconv_int.h: Likewise.
3230 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3231 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3232 from libc for GLIBC_2.16.
3233 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3234 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3235 * wcsmbs/uchar.h: Really define mbstate_t.
3236 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3237 * wcsmbs/c16rtomb.c: New file.
3238 * wcsmbs/mbrtoc16.c: New file.
3239 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3240 for C/POSIX locale.
3241 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3242 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3243
dadebdae
UD
3244 * wcsmbs/wchar.h: Add missing __restrict.
3245
67371b56
UD
32462011-12-23 Ulrich Drepper <drepper@gmail.com>
3247
74033a25
UD
3248 [BZ #13532]
3249 * time/Makefile (routines): Add timespec_get.
3250 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3251 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3252 timespec for ISO C11.
3253 * time/timespec_get.c: New file.
3254 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3255 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3256
380d7e87
UD
3257 [BZ #13531]
3258 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3259 * stdlib/stdlib.h: Declare aligned_alloc.
3260 * Versions.def: Add GLIBC_2.16 for libc.
3261 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3262
4e9e7a35
UD
3263 [BZ 13527]
3264 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3265 ISO C11.
3266
380d7e87 3267 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3268 code.
3269
03a71829
UD
3270 [BZ #13528]
3271 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3272
839e283e
UD
3273 [BZ #13529]
3274 * assert/assert.h (static_assert): Define.
3275
ce5294e2 3276 * version.h: Update for 2.16 development version.
90fa7312 3277
8d44e150 3278 [BZ #13526]
d7809905
UD
3279 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3280 _ISOC11_SOURCE.
3281
c0da14cd
UD
3282 * version.h (RELEASE): Bump for 2.15 release.
3283 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3284
530a3249
MP
3285 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3286 Patch by Marek Polacek <mpolacek@redhat.com>.
3287
67371b56
UD
3288 * bits/byteswap.h: Protect long long constants with __extension__.
3289 * sysdeps/i386/bits/byteswap.h: Likewise.
3290 * sysdeps/ia64/bits/byteswap.h: Likewise.
3291 * sysdeps/s390/bits/byteswap.h: Likewise.
3292 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3293
15db4de1
LD
32942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3295
3296 [BZ #13540]
bbe315ea
LD
3297 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3298 destination buffer.
15db4de1
LD
3299 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3300
2b2596b1
MP
33012011-12-23 Marek Polacek <polacek@redhat.com>
3302
3303 * elf/dl-addr.c (determine_info): Add inline keyword.
3304 * elf/tst-auditmod4b.c (check_avx): Likewise.
3305 * elf/tst-auditmod6b.c (check_avx): Likewise.
3306 * elf/tst-auditmod6c.c (check_avx): Likewise.
3307 * elf/tst-auditmod7b.c (check_avx): Likewise.
3308
70c6c246
UD
33092011-12-23 Ulrich Drepper <drepper@gmail.com>
3310
3311 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3312 !__SSE_MATH__.
3313
c044cf14
LD
33142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3315
15db4de1 3316 [BZ #13540]
c044cf14
LD
3317 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3318 processing for last bytes.
3319
6b13d9d9
BH
33202011-08-06 Bruno Haible <bruno@clisp.org>
3321
d455f537
BH
3322 [BZ #13061]
3323 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3324 U+0385, not to U+1FEE.
3325
6b13d9d9
BH
3326 [BZ #13062]
3327 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3328 entry for U+00A5 U+0301.
3329
db910efd
UD
33302011-12-22 Ulrich Drepper <drepper@gmail.com>
3331
27deeafc
UD
3332 [BZ #13166]
3333 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3334 buffer for the output is too small.
3335
aed9d171
UD
3336 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3337 optimization.
3338
db910efd
UD
3339 [BZ #13185]
3340 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3341 SSE flags if possible.
3342
2bd779ae
LD
33432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3344
e7f9dac3 3345 [BZ #13540]
2bd779ae
LD
3346 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3347 processing for last bytes.
3348
154bfc16
JM
33492011-12-22 Joseph Myers <joseph@codesourcery.com>
3350
3351 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3352 (syscall-list-default-options, syscall-list-default-condition)
3353 (syscall-list-includes): Define.
3354 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3355 list of ABIs and options and #if conditions for each ABI. Do not
3356 handle common syscalls between ABIs specially.
3357 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3358 Remove.
3359 (syscall-list-variants, syscall-list-32bit-options)
3360 (syscall-list-32bit-condition, syscall-list-64bit-options)
3361 (syscall-list-64bit-condition): Define.
3362 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3363 (syscall-list-variants, syscall-list-32bit-options)
3364 (syscall-list-32bit-condition, syscall-list-64bit-options)
3365 (syscall-list-64bit-condition): Define.
3366 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3367 Remove.
3368 (syscall-list-variants, syscall-list-32bit-options)
3369 (syscall-list-32bit-condition, syscall-list-64bit-options)
3370 (syscall-list-64bit-condition): Define.
3371 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3372 Remove.
3373 (syscall-list-variants, syscall-list-32bit-options)
3374 (syscall-list-32bit-condition, syscall-list-64bit-options)
3375 (syscall-list-64bit-condition): Define.
3376
21eaf3a5
UD
33772011-12-22 Ulrich Drepper <drepper@gmail.com>
3378
16c6f992
UD
3379 * locale/iso-639.def: Add brx entry.
3380
41043168
UD
3381 [BZ #13328]
3382 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3383 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3384
21eaf3a5
UD
3385 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3386 __feraiseexcept_renamed.
3387
e3a851a2
UD
33882011-12-21 Ulrich Drepper <drepper@gmail.com>
3389
4920765e
UD
3390 [BZ #13538]
3391 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3392 EPOLLET with unsigned values.
3393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3395
e3a851a2
UD
3396 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3397 to large cancellation.
3398 * math/s_cacoshf.c: Likewise.
3399 * math/s_cacoshl.c: Likewise.
3400
b27e24b8
RK
34012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3402
3403 [BZ #13305]
aebefeee 3404 [BZ #12786]
b27e24b8
RK
3405 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3406 * math/s_cacoshf.c: Likewise.
3407 * math/s_cacoshl.c: Likewise.
3408
ee190f67
UD
34092011-12-21 Ulrich Drepper <drepper@gmail.com>
3410
3411 [BZ #13439]
3412 * iconv/gconv.h: Define __GCONV_SWAP.
3413 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3414 * iconvdata/utf-16.c: Likewise.
3415 * iconvdata/utf-32.c: Likewise.
3416
707f25df
AS
34172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3418
3419 [BZ #13524]
3420 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3421 numerator after shifting it by one limb.
3422
d2daaa1e
RÁE
34232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3424
3425 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3426 under [__USE_EXTERN_INLINES].
3427
a4647e72
UD
34282011-12-17 Ulrich Drepper <drepper@gmail.com>
3429
3430 [BZ #13446]
3431 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3432
f0b264f1
AZ
34332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434
3435 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3436 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3437 optimized code.
3438 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3439 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3440 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3441 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3442 for strncasecmp/strncasecmp_l compilation.
3443 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3444 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3445
8ef4f244
MP
34462011-12-08 Marek Polacek <mpolacek@redhat.com>
3447
3448 [BZ #13484]
3449 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3450 of __asm__.
3451
97ac2654
UD
34522011-12-17 Ulrich Drepper <drepper@gmail.com>
3453
3454 [BZ #13506]
3455 * time/tzfile.c (__tzfile_read): Check values from file header.
3456
91d2a845
WS
34572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3458
3459 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3460 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3461 * powerpc/powerpc32/dl-start.S: Likewise.
3462 * powerpc/powerpc32/elf/start.S: Likewise.
3463 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3464 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3465 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3466 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3467 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3468 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3469 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3470 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3471 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3472 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3473 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3474 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3475 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3476 * powerpc/powerpc32/memset.S: Likewise.
3477 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3478 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3479 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3480 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3481 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3482 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3483 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3484 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3485 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3486 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3487 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3488 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3489 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3490
a1267ba1
AZ
34912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3492
3493 * math/libm-test.inc: Added more nearbyint tests.
3494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3495 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3498
ad8ac1bd
RL
34992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3500
3501 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3502 FD_CLOEXEC.
3503
1d3e4b61
UD
35042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3505
3506 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3507 Add wcscpy-ssse3 wcscpy-c.
3508 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3509 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3510 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3511 * sysdeps/x86_64/wcschr.S: New file.
3512 * sysdeps/x86_64/wcsrchr.S: New file.
3513 * string/test-strcmp.c: Remove checking of wcscmp function for
3514 wrong alignments.
3515 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3516 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3517 wcsrchr-sse2 wcsrchr-c.
3518 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3519 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3520 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3521 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3522 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3523 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3524 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3525 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3526 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3527 * wcsmbc/wcschr.c (WCSCHR): New macro.
3528
5b330a2d
UD
35292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3530
3531 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3532 * wcsmbs/test-wcsrchr.c: New file.
3533 * string/test-strrchr.c: Add wcsrchr support.
3534 (WIDE): New macro.
3535 * wcsmbs/test-wcscpy.c: New file.
3536 * string/test-strcpy.c: Add wcscpy support.
3537 (WIDE): New macro.
26428b7c 3538
f039c043
UD
35392011-12-10 Ulrich Drepper <drepper@gmail.com>
3540
3541 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3542 the inner loop.
3543
850fb039
AS
35442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3545
3546 [BZ #13472]
3547 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3548
4efbd5cb
UD
35492011-12-04 Ulrich Drepper <drepper@gmail.com>
3550
52ff5dd0 3551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3552 Minor optimizations.
52ff5dd0 3553
4efbd5cb
UD
3554 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3555 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3556 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3557
8a426e12
UD
35582011-12-03 Ulrich Drepper <drepper@gmail.com>
3559
aff2453d
UD
3560 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3561 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3562 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3563 for gcc to avoid warnings.
3564 * inet/Makefile (tests): Add tst-checks.
3565 * inet/tst-checks.c: New file.
3566
3567 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3568 warning.
3569
3570 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3571 __wmemcmp_sse2.
3572
3573 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3574 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3575
8a426e12
UD
3576 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3577
9bea3473
UD
35782011-12-02 Ulrich Drepper <drepper@gmail.com>
3579
3a965496
UD
3580 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3581 problem.
3582
9bea3473
UD
3583 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3584
f101631b
UD
35852011-11-29 Joseph Myers <joseph@codesourcery.com>
3586
3587 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3588 conditional on GCC version.
3589 (__arch_compare_and_exchange_val_8_acq)
3590 (__arch_compare_and_exchange_val_16_acq)
3591 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3592 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3593 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3594
a98275aa
UD
35952011-12-02 Joseph Myers <joseph@codesourcery.com>
3596
3597 * sysdeps/sh/backtrace.c: New file.
3598
d4cc29a2
AS
35992011-12-02 Andreas Schwab <schwab@redhat.com>
3600
3601 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3602 parenthesis.
3603
6257af2d
AS
36042011-12-01 Andreas Schwab <schwab@redhat.com>
3605
3606 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3607 falling back to utime.
3608
b5f44c1a
AS
36092011-11-30 Andreas Schwab <schwab@redhat.com>
3610
3611 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3612 expectations for float.
3613
f3a6cc0a
AS
36142011-11-29 Andreas Schwab <schwab@redhat.com>
3615
3616 * locale/weight.h (findidx): Add parameter len.
3617 * locale/weightwc.h (findidx): Likewise.
3618 * posix/fnmatch_loop.c (FCT): Adjust caller.
3619 * posix/regcomp.c (build_equiv_class): Likewise.
3620 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3621 * posix/regexec.c (check_node_accept_bytes): Likewise.
3622 * string/strcoll_l.c (STRCOLL): Likewise.
3623 * string/strxfrm_l.c (STRXFRM): Likewise.
3624
9d65ea3a
UD
36252011-11-17 Ulrich Drepper <drepper@gmail.com>
3626
3627 * Makefile.in: Remove CVSOPT handling.
3628 * configure.in: Remove use of AC_REVISION.
3629 * iconvdata/Makefile (distribute): No need to filter out CVS.
3630 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3631 handling.
3632
5583a086
AS
36332011-11-16 Andreas Schwab <schwab@redhat.com>
3634
3635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3636 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3637 [USE_AS_STRNCASECMP_L]: Likewise.
3638 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3639 NO_TLS_DIRECT_SEG_REFS.
3640 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3641 Fix argument offsets for non-PIC.
3642 [USE_AS_STRNCASECMP_L]: Likewise.
3643 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3644 NO_TLS_DIRECT_SEG_REFS.
3645
d62a8200
UD
36462011-11-15 Ulrich Drepper <drepper@gmail.com>
3647
9d65ea3a 3648 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3649 O_CLOEXEC.
3650 * locale/loadlocale.c (_nl_load_locale): Likewise.
3651
09f93bd3
AS
36522011-11-15 Andreas Schwab <schwab@redhat.com>
3653
446514f9
AS
3654 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3655 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3656 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3657 (SYSCALL_GETTIME): Set errno on error.
3658
09f93bd3
AS
3659 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3660 count references to noai6ai_cached.
3661
312be3f9
UD
36622011-11-15 Ulrich Drepper <drepper@gmail.com>
3663
3664 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3665
3666 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3667 FD_CLOEXEC for /proc/self/maps.
3668
3669 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3670 FD_CLOEXEC for /proc/meminfo.
3671
3672 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3673 gai.conf.
3674
3675 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3676 FD_CLOEXEC for given file.
3677
3678 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3679
3680 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3681 FD_CLOEXEC for /etc/hosts.
3682 (_gethtent): Likewise.
3683
3684 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3685
3686 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3687 cancellation and set FD_CLOEXEC for /etc/netgroup.
3688
3689 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3690 reading /etc/publickey.
3691
3692 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3693 allow cancellation when reading /etc/group.
3694
3695 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3696 cancellation.
3697 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3698
3699 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3700 when using data file.
3701
3702 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3703
3704 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3705 (write_nis_obj): Use "c" and "e" in fopen.
3706
3707 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3708
3709 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3710
3711 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3712
3713 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3714
3715 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3716 locale.alias.
3717
3718 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3719
3720 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3721
3722 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3723
3724 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3725 file parsing and set FD_CLOEXEC.
3726
82af0fa8
UD
37272011-11-14 Ulrich Drepper <drepper@gmail.com>
3728
3729 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3730
a5fb313c
AS
37312011-11-14 Andreas Schwab <schwab@redhat.com>
3732
3733 * malloc/arena.c (arena_get2): Don't call reused_arena when
3734 _int_new_arena failed.
3735
6abf3465
UD
37362011-11-14 Ulrich Drepper <drepper@gmail.com>
3737
3738 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3739 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3740 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3742 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3743 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3744 to compile strcasecmp and strncasecmp.
3745 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3746 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3747
3748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3749
76e3966e
UD
37502011-11-13 Ulrich Drepper <drepper@gmail.com>
3751
3752 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3753 locale-defines.sym to gen-as-const-headers.
3754 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3755 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3756 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3757 to compile strcasecmp and strncasecmp.
3758 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3759 strcasecmp_l and strncasecmp_l.
3760 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3761 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3762 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3763 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3764 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3765 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3766 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3767 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3768 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3769 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3770 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3771
ab26144e
UD
37722011-11-12 Ulrich Drepper <drepper@gmail.com>
3773
7edb22ef
UD
3774 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3775 result of SYSDEP_GETTIME_CPU to retval.
3776 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3777 parameter list to macro. Remove trailing semicolon. Adjust users.
3778
9694fc44
UD
3779 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3780 variable.
3781
8ad89ef8
UD
3782 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3783 mantissa words.
3784 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3785
0c822ef9
UD
3786 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3787 from unused variable.
3788
874e0564
UD
3789 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3790 DWARF definitions.
3791 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3792 for assembling.
3793
3a2edc79
UD
3794 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3795 over namespaces.
3796
f3c2577f
UD
3797 * sunrpc/rpc_prot.c (rejected): Fix case value.
3798
294ce126
UD
3799 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3800 unsigned long long int to avoid warnings in shift.
3801
5e2b63c6
UD
3802 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3803 of use of trans.
3804 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3805 variable tmp.
3806
e7f4b08e
UD
3807 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3808 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3809 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3810
ab26144e
UD
3811 * nis/nis_table.c (nis_list): Use variable of correct type for
3812 result of __follow_path call.
3813
8a6d5255
AZ
38142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3815
3816 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3817 of math functions ceil, trunc, floor, round, and sqrt, when
3818 avaliable on the platform.
3819 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3820 name clash.
3821 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3822 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3823 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3824
aaddc98c
MP
38252011-10-30 Marek Polacek <mpolacek@redhat.com>
3826
3827 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3828 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3829
95b7042b
RM
38302011-11-11 Roland McGrath <roland@hack.frob.com>
3831
3832 * include/unistd.h: Fix __readlink return type.
3833 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3834
57769839
UD
38352011-11-11 Ulrich Drepper <drepper@gmail.com>
3836
3837 * stdlib/ucontext.h: Undo last change for makecontext.
3838
edc5984d
AS
38392011-11-11 Andreas Schwab <schwab@redhat.com>
3840
98591e58
AS
3841 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3842
edc5984d
AS
3843 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3844 * setjmp/setjmp.h: Mark functions as non-leaf.
3845 * setjmp/bits/setjmp2.h: Likewise.
3846 * stdlib/ucontext.h: Likewise.
3847
77cdc054
AS
38482011-11-10 Andreas Schwab <schwab@redhat.com>
3849
3850 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3851 (reused_arena): Don't check arena limit.
3852 (arena_get2): Atomically check arena limit.
3853
fe72eebd
UD
38542011-11-08 Ulrich Drepper <drepper@gmail.com>
3855
5f078c32
UD
3856 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3857 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3858
fe72eebd
UD
3859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3860 instructions.
3861
ae1bc2fa
AS
38622011-11-07 Andreas Schwab <schwab@redhat.com>
3863
7583a88d
AS
3864 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3865 handler when locking.
3866
ae1bc2fa
AS
3867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3868 Fix size of allocated buffer.
3869
10fb0bfa
AS
38702011-11-04 Andreas Schwab <schwab@redhat.com>
3871
998832a4
AS
3872 [BZ #10103]
3873 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3874 declarations for long double functions.
3875 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3876
10fb0bfa
AS
3877 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3878
3d7ba52b
AS
38792011-11-03 Andreas Schwab <schwab@redhat.com>
3880
a9ae54a1
AS
3881 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3882 installed.
3883
3d7ba52b
AS
3884 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3885 is disabled.
3886
bc8db248
ST
38872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3888
3889 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3890
45b96dd6
AS
38912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3892
647776f6
AS
3893 * include/alloca.h (stackinfo_alloca_round): Define.
3894 (extend_alloca): Use it.
3895 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3896 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3897 here.
3898
d91a8b93
AS
3899 * scripts/check-local-headers.sh: Ignore libaudit.h.
3900
45b96dd6
AS
3901 * nscd/Makefile (extra-objs): Make recursively expanded.
3902
432d41ce
UD
39032011-11-01 Ulrich Drepper <drepper@gmail.com>
3904
34372fc6
UD
3905 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3906 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3907
fadb59f8
UD
3908 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3909 * posix/tst-rfc3484-2.c: Likewise.
3910 * posix/tst-rfc3484-3.c: Likewise.
3911
78239589
UD
3912 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3913 process_vm_writev.
3914 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3915 process_vm_writev.
3916 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3917 process_vm_writev from libc using GLIBC_2.15 version.
3918
432d41ce
UD
3919 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3920
02f9c6cf
PP
39212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3922
3923 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3924 stack usage.
3925
3a2c0242
UD
39262011-10-31 Ulrich Drepper <drepper@gmail.com>
3927
f4ec4833
UD
3928 [BZ #13367]
3929 * nss/getent.c (initgroups_keys): Show error message in case no group
3930 names are given.
3931
3a2c0242
UD
3932 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3933 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3934 __bump_nl_timestamp.
3935 * nscd/connections (nscd_init): When host database is served open
3936 netlink socket and request notification about configuration changes.
3937 (main_loop_poll): Track netlink file descriptor and bump timestamp
3938 in case data becomes available.
3939 (main_loop_epoll): Likewise.
3940 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3941 (database_pers_head): Add extra_data fileds.
3942 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3943 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3944 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3945 Adjust caller.
3946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3947 in6ai data, call __free_in6ai.
3948 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3949 Add -DHAVE_NETLINK.
3950 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3951 interface information. Reuse previous data if netlink timestamp
3952 is not changed.
3953 (__bump_nl_timestamp): New function.
3954 (__free_in6ai): New function.
3955
636064eb
UD
39562011-10-30 Ulrich Drepper <drepper@gmail.com>
3957
3958 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3959 close_not_cancel_no_status here.
3960 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3961
9beb2334
UD
39622011-10-29 Ulrich Drepper <drepper@gmail.com>
3963
6ef76f3b
UD
3964 [BZ #13276]
3965 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3966 return value.
3967
0ffc4f3e 3968 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3969 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3970 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3971
cb95113e
UD
39722011-07-03 Andreas Jaeger <aj@suse.de>
3973
3974 [BZ #10709]
3975 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3976 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3977 * math/libm-test.inc (sin_test): Add test case.
3978
a1b560ff
UD
39792011-10-29 Ulrich Drepper <drepper@gmail.com>
3980
c9aaface
UD
3981 [BZ #13337]
3982 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3983 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3984
d272e7f1
UD
3985 * elf/chroot_canon.c (chroot_canon): Cleanups.
3986
1bc33071
UD
3987 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3988
1760874d
TJ
3989 [BZ #13335]
3990 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3991 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3992
51d91b18
UD
3993 * string/test-strchr.c: Make usable for strchrnul testing.
3994 * string/test-strchrnul.c: New file.
3995 * string/Makefile (strop-tests): Add strchrnul.
3996
a1b560ff 3997 * po/it.po: Update from translation team.
b611fb81 3998 * po/es.po: Likewise.
a1b560ff 3999
a5b81e1f
UD
40002011-10-28 Ulrich Drepper <drepper@gmail.com>
4001
fd52bc6d
UD
4002 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4003 the three constants needed as parameters. Drop the others.
4004 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4005 __m128i_strloadu_tolower.
52e4b9eb
UD
4006 Create and initialize variable zero and use it in all the places
4007 where _mm_setzero_si128 was used.
fd52bc6d 4008
a5b81e1f
UD
4009 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4010 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4011 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4012 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4013 anymore.
4014 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4015 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4016 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4017 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4018 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4019 __mpranred, __mptan.
4020 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4021 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4022 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4023 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4024 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4025 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4027 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4028 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4029
b4343346
AS
40302011-10-28 Andreas Schwab <schwab@redhat.com>
4031
0c92d8a8
AS
4032 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4033 redefine if SHARED.
4034 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4035
b4343346
AS
4036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4037 wide char related routines to wcsmbs subdir.
4038
3871f58f
AS
40392011-10-27 Andreas Schwab <schwab@redhat.com>
4040
4041 [BZ #13344]
4042 * misc/sys/cdefs.h (__THROWNL): Define.
4043 * posix/unistd.h: Use __THREADNL instead of __THREAD
4044 for memory synchronization functions.
4045
94d44d9f
RM
40462011-10-26 Roland McGrath <roland@hack.frob.com>
4047
21b64b15 4048 [BZ #13349]
94d44d9f
RM
4049 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4050 doesn't exist.
4051 * manual/stdio.texi (Obstack Streams): Node removed.
4052
f6ce9294
AS
40532011-10-26 Andreas Schwab <schwab@redhat.com>
4054
80479147
AS
4055 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4056 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4057 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4058
f6ce9294
AS
4059 * math/math_private.h (math_force_eval): Allow non-addressable
4060 arguments.
4061 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4062
618280a1
UD
40632011-10-25 Ulrich Drepper <drepper@gmail.com>
4064
e0016b11
UD
4065 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4066 file is not needed.
4067
4068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4069 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4075 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4076 Add AVX variants.
4077 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4078 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4079 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4080 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4081 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4082 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4083 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4084 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4085 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4086 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4087 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4088 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4089 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4090 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4091 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4092 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4093 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4094 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4095 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4096
4097 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4098 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4099
618280a1
UD
4100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4101 place. Use VEX encoding when compiling for AVX.
4102
37822576
AS
41032011-10-25 Andreas Schwab <schwab@redhat.com>
4104
1f1e1947
AS
4105 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4106 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4107
37822576
AS
4108 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4109
31ea014d
UD
41102011-10-25 Ulrich Drepper <drepper@gmail.com>
4111
d7826aa1 4112 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4113 useless if() expression.
d7826aa1
UD
4114 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4124 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4125 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4126 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4127 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4128 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4129 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4130 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4132 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4133
31ea014d
UD
4134 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4135
16437fec
AS
41362011-10-25 Andreas Schwab <schwab@redhat.com>
4137
4138 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4139 condition.
4140 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4141
31d3cc00
UD
41422011-10-25 Ulrich Drepper <drepper@gmail.com>
4143
4144 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4145 .text section. Avoid duplicate constants.
4146 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4150 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4155 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4156 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4158 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4161 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4163 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4169 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4170 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4171 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4172 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4173 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4174 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4175 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4176 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4177 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4178 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4179 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4180 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4181 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4182 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4183 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4184 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4185 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4186 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4187 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4188 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4189 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4190 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4191
58985aa9
UD
41922011-10-24 Ulrich Drepper <drepper@gmail.com>
4193
202c9deb
UD
4194 * sysdeps/x86_64/dla.h: Move to ...
4195 * sysdeps/x86_64/fpu/dla.h: ...here.
4196 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4197 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4198
af968f62
UD
4199 * config.make.in: Add have-mfma4 entry.
4200 * configure.in: Substitute libc_cv_cc_fma4.
4201 * math/Makefile (dbl-only-routines): Add sincostab.
4202 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4203 Use __sincostab not sincos.
4204 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4205 name is a macro.
4206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4210 using __copysign.
4211 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4212 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4213 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4214 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4215 and __inv.
4216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4217 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4218 __copysign.
4219 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4220 define aliases when function name is a macro.
4221 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4222 sysdeps/ieee754/dbl-64/sincos.tbl.
4223 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4224 fma4-enabled routines.
4225 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4226 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4227 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4228 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4229 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4230 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4232 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4234 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4235 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4236 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4237 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4238 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4239 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4240 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4241 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4242 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4243 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4244 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4245 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4246 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4248 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4250 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4251 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4252 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4253 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4254 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4255
58985aa9
UD
4256 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4257 rename.
4258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4266
a201fbcf
AS
42672011-10-24 Andreas Schwab <schwab@redhat.com>
4268
4269 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4270
fc2ee42a
LD
42712011-10-23 Ulrich Drepper <drepper@gmail.com>
4272
bb3129bd
UD
4273 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4274
0275fff8
UD
4275 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4276 prediction.
4277 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4278
2fa2ae85
UD
4279 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4280 Remove unused variable magic_bits.
4281 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4282
fc2ee42a
LD
4283 * string/strnlen.c: Define and use STRNLEN macro.
4284 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4285 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4287 * wcsmbs/wcslen.c: Define and use WCSLEN.
4288 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4289 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4290 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4291 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4292 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4293 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4294 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4295
ce7dd29f
LD
42962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4297
4298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4299 strnlen-sse2-no-bsf.
4300 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4301 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4302 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4303 Add strnlen support.
4304 (USE_AS_STRNLEN): New macro.
4305 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4306 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4307 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4308 * sysdeps/x86_64/wcslen.S: New file.
4309
979c70a3
MZ
43102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4311
4312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4313 XMM-moves are used for copying on small sizes.
4314
2d09f82f
LD
43152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4316
4317 * wcsmbs/Makefile (strop-tests): Add wcschr.
4318 * wcsmbs/test-wcschr.c: New file.
4319 * string/test-strchr.c: Update.
4320 Add wcschr support.
4321 (WIDE): New macro.
4322
619fccca
LD
43232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4324
2d09f82f 4325 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4326 * wcsmbs/test-wcslen.c: New file.
4327 * string/test-strlen.c: Update.
4328 Add wcslen support.
4329 (WIDE): New macro.
4330
09f699ea
UD
43312011-10-23 Ulrich Drepper <drepper@gmail.com>
4332
4333 * po/it.po: Update from translation team.
4334
95584d3b
LD
43352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4336
4337 * sysdeps/x86_64/wcscmp.S: Update.
4338 Fix wrong comparison semantics.
4339 wcscmp shall use signed comparison not unsigned.
4340 Don't use substraction to avoid overflow bug.
4341 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4342 * wcsmbc/wcscmp.c: Likewise.
4343 * string/test-strcmp.c: Likewise.
4344 Add new tests to check cases with negative values.
4345
c8b3296b
UD
43462011-10-23 Ulrich Drepper <drepper@gmail.com>
4347
4348 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4349 * sysdeps/x86_64/dla.h: ...here. New file.
4350 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4357 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4359
246ad57a
AS
43602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4361
4362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4363 __ynl_finite aliases.
4364
a1a87169
UD
43652011-10-22 Ulrich Drepper <drepper@gmail.com>
4366
0d355eb7
UD
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4368
a1a87169
UD
4369 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4370 define DLA_FMA.
4371 [DLA_FMA] (EMULV): Use DLA_FMA.
4372 [DLA_FMA] (MUL12): Use EMULV.
4373 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4374 that are not needed.
4375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4382
ee2aafe0
AS
43832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4384
4385 * math/s_nan.c: Undef __nan.
4386 * math/s_nanf.c: Undef __nanf.
4387 * math/s_nanl.c: Undef __nanl.
4388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4389 "math_private.h".
4390
bc62c2fb
UD
43912011-10-22 Ulrich Drepper <drepper@gmail.com>
4392
77425c63
UD
4393 * math/s_catan.c: Add branch predictions.
4394 * math/s_catanf.c: Likewise.
4395 * math/s_catanh.c: Likewise.
4396 * math/s_catanhf.c: Likewise.
4397 * math/s_catanhl.c: Likewise.
4398 * math/s_catanl.c: Likewise.
4399 * math/s_cexp.c: Likewise.
4400 * math/s_cexpf.c: Likewise.
4401 * math/s_cexpl.c: Likewise.
4402 * math/s_clog.c: Likewise.
4403 * math/s_clog10.c: Likewise.
4404 * math/s_clog10f.c: Likewise.
4405 * math/s_clog10l.c: Likewise.
4406 * math/s_clogf.c: Likewise.
4407 * math/s_clogl.c: Likewise.
4408 * math/s_csqrt.c: Likewise.
4409 * math/s_csqrtf.c: Likewise.
4410 * math/s_csqrtl.c: Likewise.
4411 * math/s_ctanf.c: Likewise.
4412 * math/s_ctanh.c: Likewise.
4413 * math/s_ctanhf.c: Likewise.
4414 * math/s_ctanhl.c: Likewise.
4415 * math/s_ctanl.c: Likewise.
4416
bc62c2fb
UD
4417 * math/math_private.h: Define __nan, __nanf, __nanl.
4418 * math/s_cacosh.c: Include <math_private.h>.
4419 * math/s_cacoshl.c: Likewise.
4420 * math/s_casinh.c: Likewise.
4421 * math/s_casinhf.c: Likewise.
4422 * math/s_casinhl.c: Likewise.
4423 * math/s_ccos.c: Rely entire on ccosh.
4424 * math/s_ccosf.c: Rely entire on ccoshf.
4425 * math/s_ccosl.c: Rely entirely on ccoshl.
4426 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4427 Remove tests for FE_INVALID.
4428 * math/s_ccoshf.c: Likewise.
4429 * math/s_ccoshl.c: Likewise.
4430 * math/s_csin.c: Likewise.
4431 * math/s_csinf.c: Likewise.
4432 * math/s_csinh.c Likewise.
4433 * math/s_csinhf.c: Likewise.
4434 * math/s_csinhl.c: Likewise.
4435 * math/s_csinl.c: Likewise.
4436 * math/s_ctan.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4438 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4439 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4440
8ec250a4
UD
44412011-10-21 Ulrich Drepper <drepper@gmail.com>
4442
c196fed8
UD
4443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4444 compilation problems.
4445
8ec250a4
UD
4446 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4447 __builtin_expect.
4448
8d4f46c6
UD
44492011-10-20 Ulrich Drepper <drepper@gmail.com>
4450
ed72b654
UD
4451 * sysdeps/i386/configure.in: Test for -mfma4 option.
4452 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4453 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4454 COMMON_CPUID_INDEX_80000001.
4455 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4456 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4457 use it if FMA3 is not supported.
4458 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4459
8d4f46c6
UD
4460 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4461 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4462
d45c60c2
AS
44632011-10-20 Andreas Schwab <schwab@redhat.com>
4464
4465 [BZ #12892]
4466 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4467 it would create a cycle with a link time dependency.
4468
d9a4d2ab
UD
44692011-10-19 Ulrich Drepper <drepper@gmail.com>
4470
855d1560
UD
4471 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4472 instruction.
4473 * string/Makefile (strop-tests): Add rawmemchr.
4474 * string/test-rawmemchr.c: New file.
4475
d9a4d2ab
UD
4476 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4477 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4478 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4479 when compiling str{,n}casecmp and when AVX is available. Hook up
4480 new optimized code in initializers.
4481
8f3b1ffe
AS
44822011-10-19 Andreas Schwab <schwab@redhat.com>
4483
4484 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4485 __feraiseexcept instead of feraiseexcept.
4486
d38f1dba
UD
44872011-10-18 Ulrich Drepper <drepper@gmail.com>
4488
d9a8d0ab
UD
4489 * math/math_private.h: Define defaults for libc_fetestexcept and
4490 libc_feupdateenv.
4491 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4492 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4493 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4494 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4495 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4496 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4497 libc_fetestexcept and libc_feupdateenv.
4498
4855e3dd
UD
4499 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4500 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4501 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4502 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4503 libc_feholdexcept_setround.
4504
581d30e3
UD
4505 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4506 Add s_nearbyint-c and s_nearbyintf-c.
4507 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4508 nearbyintf inlines.
4509 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4510 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4511 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4512 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4513
d38f1dba
UD
4514 * math/math_private.h: Define defaults for libc_fegetround,
4515 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4516 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4517 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4519 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4520 standard functions.
4521 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4522 Remove comments and hacks for old compiler versions.
4523 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4524 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4525 libc_feholdexceptl.
4526
caa6c9d8
AS
45272011-10-18 Andreas Schwab <schwab@redhat.com>
4528
4529 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4530 (__feraiseexcept_renamed): Add __NTH.
4531 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4532 namespace violations.
4533
97c066e6
UD
45342011-10-17 Ulrich Drepper <drepper@gmail.com>
4535
99ce7b04
UD
4536 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4537
1004d182
UD
4538 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4539
228a984d
UD
4540 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4541 recently added interfaces.
4542 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4543
c8553a6a
UD
4544 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4545 about macro parameter expansion.
4546
ed22dcf6
UD
4547 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4548 __NO_MATH_INLINES is defined. Cleanups.
4549
4550 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4551 and __floorf is target has SSE4.1.
4552 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4553 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4554 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4555 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4556
b171c137
UD
4557 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4558 name.
4559 (floorf): Likewise.
4560
97c066e6
UD
4561 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4562
629f62ef
AS
45632011-10-17 Andreas Schwab <schwab@redhat.com>
4564
49a43d80
AS
4565 * misc/sys/cdefs.h: Fix last change.
4566
629f62ef
AS
4567 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4568 database lookup.
4569
e453f6cd
UD
45702011-10-16 Ulrich Drepper <drepper@gmail.com>
4571
aa78043a
UD
4572 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4573
ad0f5cad
UD
4574 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4576 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4577 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4579 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4580 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4581 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4582 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4583 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4584 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4585 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4586 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4587 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4588 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4589 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4590 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4591 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4592 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4593 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4594 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4595 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4596
4597 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4598 ceil, ceilf, floor, floorf.
4599
4600 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4601 Perform IRELATIVE relocations last.
4602
e453f6cd
UD
4603 * elf/do-rel.h: Add another parameter nrelative, replacing the
4604 local variable with the same name. Change name of the function
4605 to end in Rel or Rela (uppercase).
4606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4607 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4608 elf_dynamic_do_##reloc function.
4609
fd5bdc09
UD
46102011-10-15 Ulrich Drepper <drepper@gmail.com>
4611
79b195b5
UD
4612 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4613 is sufficient, at least on modern CPUs.
4614
d4a28569
UD
4615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4616
b61099b5
UD
4617 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4618 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4619
bcf01e6d
UD
4620 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4621 __expl_finite.
4622 * math/bits/math-finite.h: Add entries for exp.
4623 * math/e_expl.c: Add __*_finite alias.
4624 * sysdeps/i386/fpu/e_exp.S: Likewise.
4625 * sysdeps/i386/fpu/e_expf.S: Likewise.
4626 * sysdeps/i386/fpu/e_expl.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4628 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4632 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4633 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4634
ba1a0d59
UD
4635 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4636 is sufficient, at least on modern CPUs.
4637
fd5bdc09
UD
4638 * ctype/ctype-info.c (__ctype_init): Define.
4639 * include/ctype.h (__ctype_init): Declare.
4640 (__ctype_b_loc): The variable is always initialized.
4641 (__ctype_toupper_loc): Likewise.
4642 (__ctype_tolower_loc): Likewise.
4643 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4644 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4645
7872cfb0
AS
46462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4647
b468825a
AS
4648 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4649
7872cfb0
AS
4650 * configure.in: Also look in $cxxmachine/include for C++ system
4651 headers.
4652
be13f7bf
LD
46532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4654
4655 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4656 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4657 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4658 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4659 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4660 (USE_AS_WMEMCMP): New macro.
4661 Fixing indents.
4662 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4663 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4664 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4665 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4667 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4668 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4669 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4670 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4671 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4672 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4673 (USE_AS_WMEMCMP): New macro.
4674 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4675 * sysdeps/string/test-memcmp.c: Update.
4676 Fix simple_wmemcmp.
4677 Add new tests.
4678 * wcsmbs/wmemcmp.c: Update.
4679 (WMEMCMP): New macro.
4680 Fix overflow bug.
4681
556a2007
AJ
46822011-10-12 Andreas Jaeger <aj@suse.de>
4683
4684 [BZ #13268]
4685 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4686
538faaa7
UD
46872011-10-15 Ulrich Drepper <drepper@gmail.com>
4688
ab6737ff
UD
4689 * libio/iofwide.c (do_length): Avoid warning.
4690
538faaa7
UD
4691 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4692
396a21b1
UD
46932011-10-14 Ulrich Drepper <drepper@gmail.com>
4694
cdf2901f
UD
4695 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4696
38ad40ce
UD
4697 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4698 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4699 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4700 * sysdeps/i386/i686/fpu/e_log.S: New file.
4701 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4702 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4703
396a21b1
UD
4704 * ctype/ctype.h: Add support for inlined isXXX functions when
4705 compiling C++ code.
4706
6b1f68c9
AS
47072011-10-14 Andreas Schwab <schwab@redhat.com>
4708
349290c0
AS
4709 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4710
6b1f68c9
AS
4711 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4712
f2282d42
RM
47132011-10-13 Roland McGrath <roland@hack.frob.com>
4714
4715 [BZ #13291]
4716 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4717
5298ffa8
AS
47182011-10-13 Andreas Schwab <schwab@redhat.com>
4719
714fad23
AS
4720 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4721 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4722 feraiseexcept.
4723
81dcc7fb
AS
4724 * sysdeps/x86_64/memrchr.S: Check for zero size.
4725
5298ffa8
AS
4726 * string/stratcliff.c: Add memrchr tests.
4727
951fbcec
LD
47282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4729
4730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4731 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4732 rawmemchr-sse2 rawmemchr-sse2-bsf.
4733 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4734 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4735 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4736 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4737 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4738 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4739 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4740 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4741 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4742 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4743 * string/memrchr.c (MEMRCHR): New macro.
4744
0ac5ae23
UD
47452011-10-12 Ulrich Drepper <drepper@gmail.com>
4746
4747 Add integration with gcc's -ffinite-math-only and optimize wrapper
4748 functions in libm.
4749 * Versions.def: Define GLIBC_2.15 version for libm.
4750 * math/Makefile (headers): Add bits/math-finite.h.
4751 * math/bits/math-finite.h: New file.
4752 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4753 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4754 * math/e_acoshl.c: Add __*_finite alias.
4755 * math/e_acosl.c: Likewise.
4756 * math/e_asinl.c: Likewise.
4757 * math/e_atan2l.c: Likewise.
4758 * math/e_atanhl.c: Likewise.
4759 * math/e_coshl.c: Likewise.
4760 * math/e_exp10.c: Likewise.
4761 * math/e_exp10f.c: Likewise.
4762 * math/e_exp10l.c: Likewise.
4763 * math/e_exp2l.c: Likewise.
4764 * math/e_fmodl.c: Likewise.
4765 * math/e_gammal_r.c: Likewise.
4766 * math/e_hypotl.c: Likewise.
4767 * math/e_j0l.c: Likewise.
4768 * math/e_j1l.c: Likewise.
4769 * math/e_jnl.c: Likewise.
4770 * math/e_lgammal_r.c: Likewise.
4771 * math/e_log10l.c: Likewise.
4772 * math/e_log2l.c: Likewise.
4773 * math/e_logl.c: Likewise.
4774 * math/e_powl.c: Likewise.
4775 * math/e_sinhl.c: Likewise.
4776 * math/e_sqrtl.c: Likewise.
4777 * math/e_scalb.c: Completely rewritten and optimized.
4778 * math/e_scalbf.c: Likewise.
4779 * math/e_scalbl.c: Likewise.
4780 * math/w_acos.c: Likewise.
4781 * math/w_acosf.c: Likewise.
4782 * math/w_acosl.c: Likewise.
4783 * math/w_acosh.c: Likewise.
4784 * math/w_acoshf.c: Likewise.
4785 * math/w_acoshl.c: Likewise.
4786 * math/w_asin.c: Likewise.
4787 * math/w_asinf.c: Likewise.
4788 * math/w_asinl.c: Likewise.
4789 * math/w_atan2.c: Likewise.
4790 * math/w_atan2f.c: Likewise.
4791 * math/w_atan2l.c: Likewise.
4792 * math/w_atanh.c: Likewise.
4793 * math/w_atanhf.c: Likewise.
4794 * math/w_atanhl.c: Likewise.
4795 * math/w_exp10.c: Likewise.
4796 * math/w_exp10f.c: Likewise.
4797 * math/w_exp10l.c: Likewise.
4798 * math/w_fmod.c: Likewise.
4799 * math/w_fmodf.c: Likewise.
4800 * math/w_fmodl.c: Likewise.
4801 * math/w_j0.c: Likewise.
4802 * math/w_j0f.c: Likewise.
4803 * math/w_j0l.c: Likewise.
4804 * math/w_j1.c: Likewise.
4805 * math/w_j1f.c: Likewise.
4806 * math/w_j1l.c: Likewise.
4807 * math/w_jn.c: Likewise.
4808 * math/w_jnf.c: Likewise.
4809 * math/w_log.c: Likewise.
4810 * math/w_logf.c: Likewise.
4811 * math/w_logl.c: Likewise.
4812 * math/w_log10.c: Likewise.
4813 * math/w_log10f.c: Likewise.
4814 * math/w_log10l.c: Likewise.
4815 * math/w_log2.c: Likewise.
4816 * math/w_log2f.c: Likewise.
4817 * math/w_log2l.c: Likewise.
4818 * math/w_pow.c: Likewise.
4819 * math/w_powf.c: Likewise.
4820 * math/w_powl.c: Likewise.
4821 * math/w_remainder.c: Likewise.
4822 * math/w_remainderf.c: Likewise.
4823 * math/w_remainderl.c: Likewise.
4824 * math/w_scalb.c: Likewise.
4825 * math/w_scalbf.c: Likewise.
4826 * math/w_scalbl.c: Likewise.
4827 * math/w_sqrt.c: Likewise.
4828 * math/w_sqrtf.c: Likewise.
4829 * math/w_sqrtl.c: Likewise.
4830 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4831 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4832 used.
4833 * math/math_private.h: Declare __kernel_standard_f.
4834 * math/w_cosh.c: Remove cruft and optimize a bit.
4835 * math/w_coshf.c: Likewise.
4836 * math/w_coshl.c: Likewise.
4837 * math/w_exp2.c: Likewise.
4838 * math/w_exp2f.c: Likewise.
4839 * math/w_exp2l.c: Likewise.
4840 * math/w_hypot.c: Likewise.
4841 * math/w_hypotf.c: Likewise.
4842 * math/w_hypotl.c: Likewise.
4843 * math/w_lgamma.c: Likewise.
4844 * math/w_lgamma_r.c: Likewise.
4845 * math/w_lgammaf.c: Likewise.
4846 * math/w_lgammaf_r.c: Likewise.
4847 * math/w_lgammal.c: Likewise.
4848 * math/w_lgammal_r.c: Likewise.
4849 * math/w_sinh.c: Likewise.
4850 * math/w_sinhf.c: Likewise.
4851 * math/w_sinhl.c: Likewise.
4852 * math/w_tgamma.c: Likewise.
4853 * math/w_tgammaf.c: Likewise.
4854 * math/w_tgammal.c: Likewise.
4855 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4856 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4857 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4858 Minor optimizations. Pretty printing. Remove cruft.
4859 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4860 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4861 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4863 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4864 * sysdeps/i386/fpu/e_asin.S: Likewise.
4865 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4866 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4867 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4868 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4869 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4871 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4872 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4873 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4874 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4875 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4876 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4877 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4878 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4879 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4880 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4881 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4882 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4883 * sysdeps/i386/fpu/e_log.S: Likewise.
4884 * sysdeps/i386/fpu/e_log10.S: Likewise.
4885 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4886 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4887 * sysdeps/i386/fpu/e_log2.S: Likewise.
4888 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4889 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4890 * sysdeps/i386/fpu/e_logf.S: Likewise.
4891 * sysdeps/i386/fpu/e_logl.S: Likewise.
4892 * sysdeps/i386/fpu/e_pow.S: Likewise.
4893 * sysdeps/i386/fpu/e_powf.S: Likewise.
4894 * sysdeps/i386/fpu/e_powl.S: Likewise.
4895 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4896 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4897 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4898 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4899 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4901 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4902 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4903 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4904 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4925 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4926 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4927 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4928 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4929 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4930 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4931 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4932 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4933 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4934 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4935 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4936 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4937 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4938 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4939 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4940 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4941 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4942 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4943 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4944 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4945 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4969 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4974 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4975 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4976 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4978 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4982 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4983 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4984 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4987 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4989 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4991 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4992 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4993 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4995 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4996 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4997 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4998 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4999 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5000 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5001 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5002 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5003 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5004 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5005 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5006 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5007 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5008 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5009 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5010 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5012 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5013 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5014 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5015 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5016 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5017 (__isnanf): Likewise.
5018 (__isinf_ns): Likewise.
5019 (__isinf_nsf): Likewise.
5020 (__finite): Likewise.
5021 (__finitef): Likewise.
5022 (__ieee754_sqrt): Define as macro.
5023 (__ieee754_sqrtf): Define as macro.
5024 (__ieee754_sqrtl): Define as macro.
5025 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5026 inlined copy.
5027 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5028 __FINITE_MATH_ONLY__ consistent.
5029 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5030
12cc2fcd
AS
50312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5032
a843a204
AS
5033 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5034 of rawmemchr.
5035
12cc2fcd
AS
5036 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5037
c853acd5
UD
50382011-10-09 Ulrich Drepper <drepper@gmail.com>
5039
5040 * po/ja.po: Update from translation team.
5041
c658d255
RM
50422011-10-08 Roland McGrath <roland@hack.frob.com>
5043
110946e4
RM
5044 * locale/programs/locarchive.c (prepare_address_space): New function.
5045 (create_archive, enlarge_archive, open_archive): Use it.
5046
50604220
RM
5047 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5048 inside [SHARED], where it is used.
5049
c658d255
RM
5050 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5051
5052 * nss/getent.c (netgroup_keys): Remove unused variable.
5053 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5054
6a621eb7
UD
50552011-10-08 Ulrich Drepper <drepper@gmail.com>
5056
7edb55ce
UD
5057 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5058 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5060 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5061 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5062 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5063 * math/Makefile (libm-calls): Add s_isinf_ns.
5064 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5065 * math/multc3.c: Likewise.
5066 * math/s_casin.c: Likewise.
5067 * math/s_casinf.c: Likewise.
5068 * math/s_casinl.c: Likewise.
5069 * math/s_ccos.c: Likewise.
5070 * math/s_ccosf.c: Likewise.
5071 * math/s_ccosl.c: Likewise.
5072 * math/s_ctan.c: Likewise.
5073 * math/s_ctanf.c: Likewise.
5074 * math/s_ctanh.c: Likewise.
5075 * math/s_ctanhf.c: Likewise.
5076 * math/s_ctanhl.c: Likewise.
5077 * math/s_ctanl.c: Likewise.
5078 * math/w_fmod.c: Likewise.
5079 * math/w_fmodf.c: Likewise.
5080 * math/w_fmodl.c: Likewise.
5081 * math/w_remainder.c: Likewise.
5082 * math/w_remainderf.c: Likewise.
5083 * math/w_remainderl.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5085 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5086 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5088 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5089 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5090 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5091 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5092
187da0ae
UD
5093 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5094 of the number.
5095 * stdio-common/printf_fphex.c: Likewise.
5096 * stdio-common/printf_size.c: Likewise.
5097
9277c064
UD
5098 * math/e_exp10.c: Include math_private.h using <...> not "...".
5099 * math/e_exp10f.c: Likewise.
5100 * math/e_exp10l.c: Likewise.
5101 * math/e_exp2l.c: Likewise.
5102 * math/e_j0l.c: Likewise.
5103 * math/e_j1l.c: Likewise.
5104 * math/e_jnl.c: Likewise.
5105 * math/e_lgammal_r.c: Likewise.
5106 * math/e_rem_pio2l.c: Likewise.
5107 * math/e_scalb.c: Likewise.
5108 * math/e_scalbf.c: Likewise.
5109 * math/e_scalbl.c: Likewise.
5110 * math/k_cosl.c: Likewise.
5111 * math/k_sinl.c: Likewise.
5112 * math/k_tanl.c: Likewise.
5113 * math/s_cacoshf.c: Likewise.
5114 * math/s_catan.c: Likewise.
5115 * math/s_catanf.c: Likewise.
5116 * math/s_catanh.c: Likewise.
5117 * math/s_catanhf.c: Likewise.
5118 * math/s_catanhl.c: Likewise.
5119 * math/s_catanl.c: Likewise.
5120 * math/s_ccosh.c: Likewise.
5121 * math/s_ccoshf.c: Likewise.
5122 * math/s_ccoshl.c: Likewise.
5123 * math/s_cexp.c: Likewise.
5124 * math/s_cexpf.c: Likewise.
5125 * math/s_cexpl.c: Likewise.
5126 * math/s_clog.c: Likewise.
5127 * math/s_clog10.c: Likewise.
5128 * math/s_clog10f.c: Likewise.
5129 * math/s_clog10l.c: Likewise.
5130 * math/s_clogf.c: Likewise.
5131 * math/s_clogl.c: Likewise.
5132 * math/s_csin.c: Likewise.
5133 * math/s_csinf.c: Likewise.
5134 * math/s_csinh.c: Likewise.
5135 * math/s_csinhf.c: Likewise.
5136 * math/s_csinhl.c: Likewise.
5137 * math/s_csinl.c: Likewise.
5138 * math/s_csqrt.c: Likewise.
5139 * math/s_csqrtf.c: Likewise.
5140 * math/s_csqrtl.c: Likewise.
5141 * math/s_ctan.c: Likewise.
5142 * math/s_ctanf.c: Likewise.
5143 * math/s_ctanh.c: Likewise.
5144 * math/s_ctanhf.c: Likewise.
5145 * math/s_ctanhl.c: Likewise.
5146 * math/s_ctanl.c: Likewise.
5147 * math/s_ldexp.c: Likewise.
5148 * math/s_ldexpf.c: Likewise.
5149 * math/s_ldexpl.c: Likewise.
5150 * math/s_significand.c: Likewise.
5151 * math/s_significandf.c: Likewise.
5152 * math/s_significandl.c: Likewise.
5153 * math/w_acos.c: Likewise.
5154 * math/w_acosf.c: Likewise.
5155 * math/w_acosh.c: Likewise.
5156 * math/w_acoshf.c: Likewise.
5157 * math/w_acoshl.c: Likewise.
5158 * math/w_acosl.c: Likewise.
5159 * math/w_asin.c: Likewise.
5160 * math/w_asinf.c: Likewise.
5161 * math/w_asinl.c: Likewise.
5162 * math/w_atan2.c: Likewise.
5163 * math/w_atan2f.c: Likewise.
5164 * math/w_atan2l.c: Likewise.
5165 * math/w_atanh.c: Likewise.
5166 * math/w_atanhf.c: Likewise.
5167 * math/w_atanhl.c: Likewise.
5168 * math/w_cosh.c: Likewise.
5169 * math/w_coshf.c: Likewise.
5170 * math/w_coshl.c: Likewise.
5171 * math/w_dremf.c: Likewise.
5172 * math/w_exp10.c: Likewise.
5173 * math/w_exp10f.c: Likewise.
5174 * math/w_exp10l.c: Likewise.
5175 * math/w_exp2.c: Likewise.
5176 * math/w_exp2f.c: Likewise.
5177 * math/w_fmod.c: Likewise.
5178 * math/w_fmodf.c: Likewise.
5179 * math/w_fmodl.c: Likewise.
5180 * math/w_hypot.c: Likewise.
5181 * math/w_hypotf.c: Likewise.
5182 * math/w_hypotl.c: Likewise.
5183 * math/w_j0.c: Likewise.
5184 * math/w_j0f.c: Likewise.
5185 * math/w_j0l.c: Likewise.
5186 * math/w_j1.c: Likewise.
5187 * math/w_j1f.c: Likewise.
5188 * math/w_j1l.c: Likewise.
5189 * math/w_jn.c: Likewise.
5190 * math/w_jnf.c: Likewise.
5191 * math/w_jnl.c: Likewise.
5192 * math/w_lgamma.c: Likewise.
5193 * math/w_lgamma_r.c: Likewise.
5194 * math/w_lgammaf.c: Likewise.
5195 * math/w_lgammaf_r.c: Likewise.
5196 * math/w_lgammal.c: Likewise.
5197 * math/w_lgammal_r.c: Likewise.
5198 * math/w_log.c: Likewise.
5199 * math/w_log10.c: Likewise.
5200 * math/w_log10f.c: Likewise.
5201 * math/w_log10l.c: Likewise.
5202 * math/w_log2.c: Likewise.
5203 * math/w_log2f.c: Likewise.
5204 * math/w_log2l.c: Likewise.
5205 * math/w_logf.c: Likewise.
5206 * math/w_logl.c: Likewise.
5207 * math/w_pow.c: Likewise.
5208 * math/w_powf.c: Likewise.
5209 * math/w_powl.c: Likewise.
5210 * math/w_remainder.c: Likewise.
5211 * math/w_remainderf.c: Likewise.
5212 * math/w_remainderl.c: Likewise.
5213 * math/w_scalb.c: Likewise.
5214 * math/w_scalbf.c: Likewise.
5215 * math/w_scalbl.c: Likewise.
5216 * math/w_sinh.c: Likewise.
5217 * math/w_sinhf.c: Likewise.
5218 * math/w_sinhl.c: Likewise.
5219 * math/w_sqrt.c: Likewise.
5220 * math/w_sqrtf.c: Likewise.
5221 * math/w_sqrtl.c: Likewise.
5222 * math/w_tgamma.c: Likewise.
5223 * math/w_tgammaf.c: Likewise.
5224 * math/w_tgammal.c: Likewise.
5225
6a621eb7
UD
5226 * po/ja.po: Update from translation team.
5227
bf582445
AJ
52282011-09-29 Andreas Jaeger <aj@suse.de>
5229
f9efbf3a
AJ
5230 [BZ #13179]
5231 * sunrpc/netname.c (netname2host): Fix logic.
5232
bf582445
AJ
5233 [BZ #6779]
5234 [BZ #6783]
5235 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5236 correctly.
5237 * math/w_remainder.c (__remainder): Likewise.
5238 * math/w_remainderf.c (__remainderf): Likewise.
5239 * math/libm-test.inc (remainder_test): Add test cases.
5240
48693bea
AK
52412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5242
5243 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5244 sdiv_qrnnd.
5245
42622229
LD
52462011-10-07 Ulrich Drepper <drepper@gmail.com>
5247
5248 * string/test-memcmp.c: Avoid unncessary #defines.
5249 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5250
093ecf92
LD
52512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5252
5253 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5254 Use new sse2 version for core i3 - i7 as it's faster
5255 than sse42 version.
5256 (bit_Prefer_PMINUB_for_stringop): New.
5257 * sysdeps/x86_64/rawmemchr.S: Update.
5258 Replace with faster SSE2 version.
5259 * sysdeps/x86_64/memrchr.S: New file.
5260 * sysdeps/x86_64/memchr.S: Update.
5261 Replace with faster SSE2 version.
5262
fde56e5c
MP
52632011-09-12 Marek Polacek <mpolacek@redhat.com>
5264
5265 * elf/dl-load.c (lose): Add cast to avoid warning.
5266
21fd49a9
UD
52672011-10-07 Ulrich Drepper <drepper@gmail.com>
5268
5a06e643
UD
5269 * po/ca.po: Update from translation team.
5270
684ae515
UD
5271 * inet/getnetgrent_r.c: Hook up nscd.
5272 * nscd/Makefile (routines): Add nscd_netgroup.
5273 (nscd-modules): Add netgroupcache.
5274 (CFLAGS-netgroupcache.c): Define.
5275 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5276 (cache_search): Add const to second parameter.
5277 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5278 INNETGR.
5279 (dbs): Add netgrdb entry.
5280 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5281 (verify_persistent_db): Handle netgrdb.
5282 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5283 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5284 GETFDNETGR.
5285 (netgroup_response_header): Define.
5286 (innetgroup_response_header): Define.
5287 (datahead): Add netgroup_response_header and innetgroup_response_header
5288 elements.
5289 * nscd/nscd.conf: Add entries for netgroup cache.
5290 * nscd/nscd.h (dbtype): Add netgrdb.
5291 (_PATH_NSCD_NETGROUP_DB): Define.
5292 (netgroup_iov_disabled): Declare.
5293 (xmalloc, xcalloc, xrealloc): Move declarations here.
5294 (cache_search): Adjust prototype.
5295 Add netgroup-related prototypes.
5296 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5297 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5298 (__nscd_innetgr): Declare.
5299 * nscd/selinux.c (perms): Use access_vector_t as element type and
5300 add netgroup-related initializers.
5301 * nscd/netgroupcache.c: New file.
5302 * nscd/nscd_netgroup.c: New file.
5303 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5304 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5305 For four parameters use innetgr.
5306 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5307 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5308 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5309 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5310
21fd49a9
UD
5311 * nscd/connections.c (register_traced_file): Don't register file
5312 for disabled databases.
5313
054c0457
UD
53142011-10-06 Ulrich Drepper <drepper@gmail.com>
5315
32b63198
UD
5316 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5317
054c0457
UD
5318 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5319 from tree and freeing node.
5320
64031225
JO
53212011-09-25 Jiri Olsa <jolsa@redhat.com>
5322
5323 * nss/nsswitch.c (__nss_database_lookup): Handle
5324 nss_parse_service_list out of memory case.
5325
0490345c
JO
53262011-09-15 Jiri Olsa <jolsa@redhat.com>
5327
5328 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5329 out of memory case.
5330
3a62d00d
AS
53312011-10-04 Andreas Schwab <schwab@redhat.com>
5332
5333 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5334 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5335 pass it down.
5336 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5337 elf_machine_rela, elf_machine_lazy_rel.
5338 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5339 (ELF_DYNAMIC_DO_REL): Likewise.
5340 (ELF_DYNAMIC_DO_RELA): Likewise.
5341 (ELF_DYNAMIC_RELOCATE): Likewise.
5342 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5343 to ELF_DYNAMIC_DO_REL.
5344 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5345 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5346 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5347 elf_machine_rela.
5348 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5349 skip_ifunc, don't call ifunc function if non-zero.
5350 (elf_machine_rela): Likewise.
5351 (elf_machine_lazy_rel): Likewise.
5352 (elf_machine_lazy_rela): Likewise.
5353 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5354 (elf_machine_lazy_rel): Likewise.
5355 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5356 Likewise.
5357 (elf_machine_lazy_rel): Likewise.
5358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5359 Likewise.
5360 (elf_machine_lazy_rel): Likewise.
5361 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5362 (elf_machine_lazy_rel): Likewise.
5363 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5364 (elf_machine_lazy_rel): Likewise.
5365 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5366 (elf_machine_lazy_rel): Likewise.
5367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5368 (elf_machine_lazy_rel): Likewise.
5369 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5370 (elf_machine_lazy_rel): Likewise.
5371 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5372 (elf_machine_lazy_rel): Likewise.
5373
68577918
UD
53742011-09-28 Ulrich Drepper <drepper@gmail.com>
5375
5376 * nss/nss_files/files-init.c (_nss_files_init): Use static
5377 initialization for all the *_traced_file variables.
5378
68822d74
AS
53792011-09-28 Andreas Schwab <schwab@redhat.com>
5380
5381 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5382
2056100b
RM
53832011-09-27 Roland McGrath <roland@hack.frob.com>
5384
5385 [BZ #13226]
5386 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5387
32c76b63
AS
53882011-09-27 Andreas Schwab <schwab@redhat.com>
5389
5390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5391 Reread the line before reparsing it.
5392
bf972c9d
AS
53932011-09-26 Andreas Schwab <schwab@redhat.com>
5394
5395 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5396
e057a1b5
JM
53972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5398 Maxim Kuvyrkov <maxim@codesourcery.com>
5399 Joseph Myers <joseph@codesourcery.com>
5400
5401 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5402 if needed for __stack_chk_guard.
5403
bc7e1c36
RM
54042011-09-19 Roland McGrath <roland@hack.frob.com>
5405
ecb1482f
RM
5406 * sysdeps/posix/spawni.c (script_execute): Always define it.
5407 It will be optimized away if unused.
5408 (maybe_script_execute): New function.
5409 (__spawni): Call it.
5410
bc7e1c36
RM
5411 * Makerules: Don't include tls.make.
5412 (config-tls): Always set to thread.
5413 * tls.make.c: File removed.
5414
1c3b002b
MF
54152011-09-19 Mike Frysinger <vapier@gentoo.org>
5416
5417 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5418 * config.make.in (CPPFLAGS-config): New substituted variable.
5419
2840865d
UD
54202011-09-15 Ulrich Drepper <drepper@gmail.com>
5421
88738eb6
UD
5422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5423
cbf645a6 5424 [BZ #13192]
2840865d
UD
5425 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5426 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5427
b402e91a
RM
54282011-09-15 Roland McGrath <roland@hack.frob.com>
5429
5430 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5431 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5432 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5433 (CALL_FAIL): Likewise.
5434 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5435 (CALL_FAIL): Macro removed.
5436 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5437
4c1a1f71
UD
54382011-09-15 Ulrich Drepper <drepper@gmail.com>
5439
5440 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5441 for __FINITE_MATH_ONLY__ == 1.
5442
edc121be
AS
54432011-09-15 Andreas Schwab <schwab@redhat.com>
5444
5445 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5446 __ieee754_sqrt instead of sqrt.
5447 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5448 __ieee754_sqrtf instead of sqrtf.
5449 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5450 __floorf instead of floorf.
5451 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5452 __floorf, __truncf instead of floorf, truncf.
5453
cd205654
UD
54542011-09-14 Ulrich Drepper <drepper@gmail.com>
5455
ee4d0315
UD
5456 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5457
cd205654
UD
5458 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5459 __extern_always_inline.
5460 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5461 32-bit.
5462
48b67d71
AS
54632011-09-14 Andreas Schwab <schwab@redhat.com>
5464
5465 * elf/rtld.c (dl_main): Also relocate in dependency order when
5466 doing symbol dependency testing.
5467
1ae12c75
AS
54682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5469
5470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5471 Always define `refsym'.
5472
995a80df
AS
54732011-09-13 Andreas Schwab <schwab@redhat.com>
5474
e529793b
AS
5475 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5476 (__FD_ELT): Renamed from __FDELT.
5477 * misc/bits/select2.h (__FD_ELT): Likewise.
5478 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5479 __FD_MASK instead of __FDELT, __FDMASK.
5480 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5481 Likewise.
5482 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5483 Likewise.
5484
52d4fef8
AS
5485 * elf/Makefile (gen-ldd): Fix pattern.
5486
995a80df
AS
5487 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5488 (init_tls): Likewise.
5489
8682f8b0
UD
54902011-09-12 Ulrich Drepper <drepper@gmail.com>
5491
5492 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5493
de82006d
AS
54942011-09-12 Andreas Schwab <schwab@redhat.com>
5495
a7c8e6a1
AS
5496 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5497 `struct cmsghdr *' instead of `void *'.
5498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5499 Likewise.
5500
0f31fe77
AS
55012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5502
5503 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5504 if non-absolute.
5505 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5506 ldd_rewrite_script.
0f31fe77 5507
32b4c839
UD
55082011-09-11 Ulrich Drepper <drepper@gmail.com>
5509
83cd1420
UD
5510 * configure.in: Remove --with-tls option.
5511 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5512 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5513 out in case it is missing.
5514 * sysdeps/ia64/elf/configure.in: Likewise.
5515 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5516 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5517 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5518 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5519 * sysdeps/sh/elf/configure.in: Likewise.
5520 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5521 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5522 * sysdeps/x86_64/elf/configure.in: Likewise.
5523 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5524 * sysdeps/mach/hurd/tls.h: Likewise.
5525
633f745d
UD
5526 [BZ #13067]
5527 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5528
f318beb8
UD
5529 [BZ #13090]
5530 * configure.in: Fix use of AC_INIT.
5531
32b4c839
UD
5532 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5533
3ce1f295
UD
55342011-09-10 Ulrich Drepper <drepper@gmail.com>
5535
bb016596
UD
5536 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5537 __set_errno.
8e58439c
UD
5538 * malloc/hooks.c: Likewise.
5539
aebae053 5540 [BZ #11929]
02d46fc4
UD
5541 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5542 variables statically.
5543 (narenas): Initialize.
5544 (list_lock): Initialize.
bb016596
UD
5545 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5546 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5547 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5548 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5549 Add initializers to main_arena and mp_.
5550 (malloc_state): Remove pagesize member. Change all users to use
5551 GLRO(dl_pagesize).
5552
5553 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5554 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5555 is always initialized.
5556
22a89187
UD
5557 * malloc/malloc.c: Removed unused configurations and dead code.
5558 * malloc/arena.c: Likewise.
5559 * malloc/hooks.c: Likewise.
02d46fc4 5560 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5561
d063d164
UD
5562 * include/tls.h: Removed. USE___THREAD must always be defined.
5563 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5564 * elf/dl-libc.c: Likewise.
5565 * elf/dl-tsd.c: Likewise.
5566 * include/errno.h: Likewise.
5567 * include/netdb.h: Likewise.
5568 * include/resolv.h: Likewise.
5569 * inet/herrno-loc.c: Likewise.
5570 * inet/herrno.c: Likewise.
5571 * malloc/arena.c: Likewise.
5572 * malloc/hooks.c: Likewise.
5573 * malloc/malloc.c: Likewise.
5574 * resolv/res-state.c: Likewise.
5575 * resolv/res_libc.c: Likewise.
5576 * sysdeps/i386/dl-machine.h: Likewise.
5577 * sysdeps/ia64/dl-machine.h: Likewise.
5578 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5579 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5580 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5581 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5582 * sysdeps/sh/dl-machine.h: Likewise.
5583 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5584 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5585 * sysdeps/unix/i386/sysdep.S: Likewise.
5586 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5587 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5592 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5596 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5597 * sysdeps/x86_64/dl-machine.h: Likewise.
5598 * tls.make.c: Likewise.
5599
3ce1f295
UD
5600 * configure.in: Remove --with-__thread option. Make tests for
5601 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5602 tls_model attribute fail if no support is available. Remove
5603 USE_IN_LIBIO.
5604 * Makeconfig: Adjust for dropped configure option. All features are
5605 now mandatory.
5606 * Makerules: Likewise.
5607 * Versions.def: Likewise.
5608 * argp/argp-fmtstream.c: Likewise.
5609 * argp/argp-fmtstream.h: Likewise.
5610 * argp/argp-help.c: Likewise.
5611 * assert/assert.c: Likewise.
5612 * config.h.in: Likewise.
5613 * config.make.in: Likewise.
5614 * configure: Likewise.
5615 * configure.in: Likewise.
5616 * csu/Versions: Likewise.
5617 * csu/init.c: Likewise.
5618 * elf/tst-audit2.c: Likewise.
5619 * elf/tst-tls10.c: Likewise.
5620 * elf/tst-tls10.h: Likewise.
5621 * elf/tst-tls11.c: Likewise.
5622 * elf/tst-tls12.c: Likewise.
5623 * elf/tst-tls14.c: Likewise.
5624 * elf/tst-tlsmod11.c: Likewise.
5625 * elf/tst-tlsmod12.c: Likewise.
5626 * elf/tst-tlsmod13.c: Likewise.
5627 * elf/tst-tlsmod13a.c: Likewise.
5628 * elf/tst-tlsmod14a.c: Likewise.
5629 * elf/tst-tlsmod15b.c: Likewise.
5630 * elf/tst-tlsmod16a.c: Likewise.
5631 * elf/tst-tlsmod16b.c: Likewise.
5632 * elf/tst-tlsmod7.c: Likewise.
5633 * elf/tst-tlsmod8.c: Likewise.
5634 * elf/tst-tlsmod9.c: Likewise.
5635 * gmon/gmon.c: Likewise.
5636 * grp/fgetgrent_r.c: Likewise.
5637 * grp/putgrent.c: Likewise.
5638 * hurd/fopenport.c: Likewise.
5639 * include/libc-symbols.h: Likewise.
5640 * include/tls.h: Likewise.
5641 * intl/gettextP.h: Likewise.
5642 * intl/loadinfo.h: Likewise.
5643 * locale/global-locale.c: Likewise.
5644 * locale/localeinfo.h: Likewise.
5645 * mach/devstream.c: Likewise.
5646 * malloc/arena.c: Likewise.
5647 * malloc/set-freeres.c: Likewise.
5648 * misc/err.c: Likewise.
5649 * misc/getttyent.c: Likewise.
5650 * misc/mntent_r.c: Likewise.
5651 * posix/getopt.c: Likewise.
5652 * posix/wordexp.c: Likewise.
5653 * pwd/fgetpwent_r.c: Likewise.
5654 * resolv/Versions: Likewise.
5655 * resolv/res_hconf.c: Likewise.
5656 * shadow/fgetspent_r.c: Likewise.
5657 * shadow/putspent.c: Likewise.
5658 * stdio-common/printf_fphex.c: Likewise.
5659 * stdio-common/tmpfile.c: Likewise.
5660 * stdlib/abort.c: Likewise.
5661 * stdlib/fmtmsg.c: Likewise.
5662 * sunrpc/auth_unix.c: Likewise.
5663 * sunrpc/clnt_perr.c: Likewise.
5664 * sunrpc/clnt_tcp.c: Likewise.
5665 * sunrpc/clnt_udp.c: Likewise.
5666 * sunrpc/clnt_unix.c: Likewise.
5667 * sunrpc/openchild.c: Likewise.
5668 * sunrpc/svc_simple.c: Likewise.
5669 * sunrpc/svc_tcp.c: Likewise.
5670 * sunrpc/svc_udp.c: Likewise.
5671 * sunrpc/svc_unix.c: Likewise.
5672 * sunrpc/xdr.c: Likewise.
5673 * sunrpc/xdr_array.c: Likewise.
5674 * sunrpc/xdr_rec.c: Likewise.
5675 * sunrpc/xdr_ref.c: Likewise.
5676 * sunrpc/xdr_stdio.c: Likewise.
5677
1248c1c4
PB
56782011-09-09 Ulrich Drepper <drepper@gmail.com>
5679
5680 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5681
56822011-07-03 Andreas Jaeger <aj@suse.de>
5683
5684 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5685 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5686 regenerate with gen-libm-tests.pl.
5687
56882010-05-12 Petr Baudis <pasky@suse.cz>
5689
5690 [BZ #11589]
5691 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5692 around j0() zero points by switching to j1().
5693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5694 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5696 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5697
f22e1074
UD
56982011-09-09 Ulrich Drepper <drepper@gmail.com>
5699
f19009c1
UD
5700 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5701 instead of 0.
5702 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5703 instead of 0. .
5704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5705 Patch in part by Pavel Roskin <proski@gnu.org>.
5706
3f8cc204
UD
5707 [BZ #13138]
5708 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5709 realloc.
5710 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5711 Free memory block if necessary.
5712
f22e1074
UD
5713 [BZ #12847]
5714 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5715 be NULL. Don't lock in this case.
5716
0a2349f9
RM
57172011-09-09 Roland McGrath <roland@hack.frob.com>
5718
5719 * elf/elf.h (ELFOSABI_GNU): New macro.
5720 (ELFOSABI_LINUX): Define to that.
5721
f3cdd467
DZ
57222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5723
5724 * string/strncat.c (strncat): Undef the symbol in case it has been
5725 defined in bits/string.h.
5726
74718d13
UD
57272011-09-09 Ulrich Drepper <drepper@gmail.com>
5728
633e9e0f
UD
5729 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5730
0a2349f9 5731 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5732 link map.
5733
f9924780
AJ
57342011-08-17 Andreas Jaeger <aj@suse.de>
5735
5736 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5737
7f5517aa
PP
57382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5739 Ian Lance Taylor <iant@google.com>
5740
5741 * math/libm-test.inc (lround_test): New testcase.
5742 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5743
762011fe
UD
57442011-09-08 Ulrich Drepper <drepper@gmail.com>
5745
92963737
UD
5746 * Makefile: Remove support for automatic cvs check-ins.
5747 * Makerules: Likewise.
5748 * config.make.in: Likewise.
5749 * configure.in: Likewise.
5750 * intl/Makefile: Likewise.
5751 * locale/Makefile: Likewise.
5752 * po/Makefile: Likewise.
5753 * posix/Makefile: Likewise.
5754 * sysdeps/gnu/Makefile: Likewise.
5755 * sysdeps/mach/hurd/Makefile: Likewise.
5756 * sysdeps/sparc/sparc32/Makefile: Likewise.
5757
b0727fd8
JS
5758 [BZ #13118]
5759 * posix/Makefile (bug-regex32-ENV): Define.
5760 Patch by John Stanley <jpsinthemix@verizon.net>.
5761
a0f33f99
UD
5762 * misc/Makefile (headers): Add bits/select2.h.
5763 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5764 * misc/bits/select2.h: New file.
5765 * include/bits/select2.h: New file.
5766 * debug/Makefile (routines): Add fdelt_chk.
5767 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5768 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5769 FD_ISSET.
5770 * debug/fdelt_chk.c: New file.
5771
762011fe
UD
5772 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5773 * wcsmbs/test-wmemcmp.c: Likewise.
5774 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 5775 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
5776
57772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5778
5779 * string/Makefile (strop-tests): Add memcmp.
5780 * string/test-wmemcmp.c: New file.
5781 * string/test-memcmp.c: Add wmemcmp support.
5782
7f513ec8
RM
57832011-09-08 Roland McGrath <roland@hack.frob.com>
5784
0442afb4
RM
5785 [BZ #13153]
5786 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5787 2011-07-19 change.
5788
7f513ec8
RM
5789 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5790 garbage value in a __mach_port_mod_refs call in the cases of the
5791 task-self and thread-self ports.
5792
a12b2239
ST
57932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5794
5795 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5796
610f9ab4
AS
57972011-09-08 Andreas Schwab <schwab@redhat.com>
5798
7f513ec8 5799 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5800
48882a1a
LD
58012011-09-07 Ulrich Drepper <drepper@gmail.com>
5802
b49865be
UD
5803 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5804
fdc86bc9
UD
5805 * elf/dl-libc.c (dlerror_run): Pass back error code from
5806 dl_catch_error.
5807
c966526a
UD
5808 [BZ #13123]
5809 * elf/dl-load.c (lose): Free l_origin if it is valid.
5810
48882a1a
LD
5811 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5812 names.
5813 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5814 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5815 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5816 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5817 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5818 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5819
77a2a8b4
AZ
58202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821
5822 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5823 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5824 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5825 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5826 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5827 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5828 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5829 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5830 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5831 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5832
24f579d8
AM
58332011-08-15 Alan Modra <amodra@gmail.com>
5834
5835 [BZ #13092]
5836 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5837 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5838 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5839 ppc_mcount to static-only-routines.
5840 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5841 __mcount_internal.
5842 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5843 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5844
3d4837df
UD
58452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5846
5847 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5848 for finite and infinity parameters.
5849
22700377
WS
58502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5851
5852 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5853 and add nop instructions for throughput optimization.
5854 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5855
5025581e
WS
58562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5857
5858 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5859 aligned copy for power7 with vector-scalar instructions.
5860 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5861
08a300c9
L
58622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5865 AVX check.
5866
59178ef9
AS
58672011-09-07 Andreas Schwab <schwab@redhat.com>
5868
5869 [BZ #13144]
5870 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5871 last change.
5872
e38ba7ab
UD
58732011-09-07 Ulrich Drepper <drepper@gmail.com>
5874
5875 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5876 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5877 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5878 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5879 clock_gettime.
5880
d53a73ac
UD
58812011-09-06 Ulrich Drepper <drepper@gmail.com>
5882
fc8bffcc
UD
5883 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5884 Forgot to demangle the pointer.
5885
ceaa0c5d
UD
5886 * sysdeps/i386/sysdep.h: Define atom_text_section.
5887 * sysdeps/x86_64/sysdep.h: Likewise.
5888 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5889 section with atom_text_section.
5890 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5891 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5892 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5893 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5894 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5895
a77d3c17
UD
5896 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5897 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5898 already be defined. Change to take two parameters and don't assign
5899 result to variable. Adjust all users.
5900 Define INTERNAL_GETTIME if not already defined.
5901 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5902 call.
5903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5904 HAVE_CLOCK_GETTIME_VSYSCALL.
5905 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5906
d53a73ac
UD
5907 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5908 gettimeofday vsyscall, just use time.
5909
a8f84144
AS
59102011-09-06 Andreas Schwab <schwab@redhat.com>
5911
5912 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5913 <errno.h>.
5914
ef606249
UD
59152011-09-06 Ulrich Drepper <drepper@gmail.com>
5916
5917 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5918 syscall on x86-64.
5919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5920 syscall.
5921 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5922 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5923 syscall if possible.
5924
6585cb60
UD
59252011-09-05 Ulrich Drepper <drepper@gmail.com>
5926
5927 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5928 e_ident. Don't pass to find_mapsXX.
5929 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5930
a5f524e4
LD
59312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5932
5933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5934 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5935 * sysdeps/x86_64/multiarch/strchr.S: Update.
5936 Check bit_slow_BSF bit.
5937 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5938 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5939 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5940
554881ef
UD
59412011-09-05 Ulrich Drepper <drepper@gmail.com>
5942
d96de963
UD
5943 [BZ #13134]
5944 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5945 before glibc 2.15.
5946 (tryshell): Define.
5947 (__spawni): Change last parameter to be flag. Test
5948 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5949 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5950 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5951 * posix/spawni.c: Likewise.
5952 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5953 * posix/spawnp.c: Likewise. Change normal version to use
5954 SPAWN_XFLAGS_USE_PATH.
5955 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5956 SPAWN_XFLAGS_TRY_SHELL.
5957
d48e5868
UD
5958 [BZ #13150]
5959 * posix/glob.h: Remove gcc 1.x support.
5960
554881ef
UD
5961 [BZ #13068]
5962 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5963
693fb948
LD
59642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5965
5966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5967 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5968 strrchr-sse2-bsf
5969 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5970 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5971 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5972 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5973 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5975
1b48c537
UD
59762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5977
49d42c37
UD
5978 * sysdeps/x86_64/wcscmp.S: New file.
5979
1b48c537
UD
5980 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5981 wcscmp-c wcscmp-sse2
5982 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5983 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5984 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5985 * wcsmbs/wcscmp.c: Allow renaming.
5986
15c95c5d
DM
59872011-09-05 David S. Miller <davem@davemloft.net>
5988
5989 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5990 stack slot, rather than the struct return pointer slot.
5991 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5992 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5994 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5995
2f0ad8f3
UD
59962011-09-05 Ulrich Drepper <drepper@gmail.com>
5997
d88ae418
UD
5998 * po/ja.po: Update from translation team.
5999
2f0ad8f3
UD
6000 [BZ #13144]
6001 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6002 kernel in 64-bit binaries.
6003
5f4318d1
DM
60042011-09-01 David S. Miller <davem@davemloft.net>
6005
6006 * elf/elf.h (HWCAP_SPARC_*): Move to..
6007 * sysdeps/sparc/sysdep.h: this new file and add new values.
6008 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6009 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6010 _DL_HWCAP_COUNT to 24.
6011 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6012 entries.
6013 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6014 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6015 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6017 instead of magic constants.
6018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6019
3ba57516
DM
60202011-08-31 David S. Miller <davem@davemloft.net>
6021
6022 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6024 Reimplement to do errno handling inline.
6025 (SYSCALL_ERROR_HANDLER): New macro.
6026 (__SYSCALL_STRING): Do not do errno handling in asm.
6027 (__CLONE_SYSCALL_STRING): Delete.
6028 (__INTERNAL_SYSCALL_STRING): Delete.
6029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6030 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6031 (PSEUDO): Reimplement to do errno handling inline.
6032 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6033 (SYSCALL_ERROR_HANDLER): New macro.
6034 (__SYSCALL_STRING): Do not do errno handling in asm.
6035 (__CLONE_SYSCALL_STRING): Delete.
6036 (__INTERNAL_SYSCALL_STRING): Delete.
6037 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6038 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6039 i386.
6040 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6041 (inline_syscall*): Add 'err' argument.
6042 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6043 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6044 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6045 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6046
6047 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6048 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6049
2bc17433
AS
60502011-08-30 Andreas Schwab <schwab@redhat.com>
6051
6052 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6053
fbeb5f4d
JO
60542011-08-29 Jiri Olsa <jolsa@redhat.com>
6055
6056 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6057 directive.
6058
ad69cc26
DM
60592011-08-24 David S. Miller <davem@davemloft.net>
6060
6061 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6062
39dd69df
AS
60632011-08-24 Andreas Schwab <schwab@redhat.com>
6064
6065 * elf/Makefile: Add rules to build and run unload8 test.
6066 * elf/unload8.c: New file.
6067 * elf/unload8mod1.c: New file.
6068 * elf/unload8mod1x.c: New file.
6069 * elf/unload8mod2.c: New file.
6070 * elf/unload8mod3.c: New file.
6071
6072 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6073 it wasn't used.
6074
2c0b250a
DM
60752011-08-23 David S. Miller <davem@davemloft.net>
6076
6077 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6078 subtract stack bias.
6079 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6080 %sp not %fp in calculations.
6081 (_JMPBUF_UNWINDS_ADJ): Likewise.
6082
22044b48
DM
6083 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6084 (aio_suspend): Call it to force an exception region around the
6085 AIO_MISC_WAIT() invocation.
6086
2cae4995
AS
60872011-08-23 Andreas Schwab <schwab@redhat.com>
6088
6089 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6090 backslash.
6091
873a772e
AJ
60922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6093
6094 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6095 protection macro.
6096 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6097 and <dl-machine.h>.
6098 (Elf64_FuncDesc): Remove.
6099
25ad0df1
DM
61002011-08-22 David S. Miller <davem@davemloft.net>
6101
6102 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6103 sigaltstack check, add missing cfi directives.
6104 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6105 missing cfi directives, and sigaltstack handling.
6106
e888bcbe
AS
61072011-08-16 Andreas Schwab <schwab@redhat.com>
6108
6109 [BZ #11724]
6110 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6111 object is seen twice.
6112 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6113
6114 * elf/Makefile (distribute): Add tst-initorder2.c.
6115 (tests): Add tst-initorder2.
6116 (modules-names): Add tst-initorder2a tst-initorder2b
6117 tst-initorder2c tst-initorder2d. Add rules to build them.
6118 ($(objpfx)tst-initorder2.out): New rule.
6119 * elf/tst-initorder2.c: New file.
6120 * elf/tst-initorder2.exp: New file.
6121
87162f46
AS
61222011-08-22 Andreas Schwab <schwab@redhat.com>
6123
70538b7f
AS
6124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6125
f55ffe58
AS
6126 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6127 dependencies back to end of function.
6128
87162f46
AS
6129 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6130 $(elfobjdir)/ld.so.
6131
91b392a4
UD
61322011-08-21 Ulrich Drepper <drepper@gmail.com>
6133
6134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6135 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6137 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6138 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6139 of __vdso_gettimeofday.
6140 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6141 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6142 attribute_hidden.
6143 (_libc_vdso_platform_setup): Remove initialization of
6144 __vdso_gettimeofday and __vdso_time.
6145
5c43483f
UD
61462011-08-20 Ulrich Drepper <drepper@gmail.com>
6147
775a77e7
UD
6148 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6149 and fgetc_unlocked.
6150 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6151 getc_unlocked.
89f447ed 6152
49c74ba9
UD
6153 * elf/dl-open.c (add_to_global): Report additions to the global scope
6154 for LD_DEBUG=scopes.
6155 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6156 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6157
5c43483f
UD
6158 [BZ #13114]
6159 * stdio-common/Makefile (tests): Add bug24.
6160 * stdio-common/bug24.c: New file.
6161
a101b025
AJ
61622011-08-19 Andreas Jaeger <aj@suse.de>
6163
6164 [BZ #13114]
6165 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6166 non-existant file when using close-on-exec mode.
6167
c88f1766
UD
61682011-08-20 Ulrich Drepper <drepper@gmail.com>
6169
0276a718
UD
6170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6171 the very first instruction.
6172
c88f1766
UD
6173 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6174 the CFI state in the end.
6175 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6176 inclusion of dl-trampoline.h.
6177 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6178
51ccffa0
AS
61792011-08-19 Andreas Schwab <schwab@redhat.com>
6180
94d7165f
AS
6181 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6182 expectations for long double.
6183
51ccffa0
AS
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6185 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6186
fd708658 61872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6188
6189 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6190 artificual limit depends upon the system page size.
6191
44f0a71e
UD
61922011-08-17 Ulrich Drepper <drepper@gmail.com>
6193
6194 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6195 * resolv/Makefile: Define CFLAGS-libresolv.
6196
8de79a24
AS
61972011-08-17 Andreas Schwab <schwab@redhat.com>
6198
6199 * nss/makedb.c (compute_tables): Make variables used in nested
6200 function static.
6201
27724598
UD
62022011-08-17 Ulrich Drepper <drepper@gmail.com>
6203
c5305d88
UD
6204 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6205 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6206 if buffer was too small.
6207
27724598
UD
6208 * elf/pldd.c (main): Attach to all threads in the process.
6209 Rewrite /proc handling to use *at functions.
6210
076fe015
UD
62112011-08-16 Ulrich Drepper <drepper@gmail.com>
6212
174baab3
UD
6213 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6214 specifies first scope to show.
6215 (dl_open_worker): Update callers. Move printing scope of new
6216 object to before the relocation.
44f0a71e 6217 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6218 * sysdeps/generic/ldsodefs.h: Update declaration.
6219
076fe015
UD
6220 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6221 string for the scope number.
6222
a60df2c3
UD
62232011-08-14 Ulrich Drepper <drepper@gmail.com>
6224
6225 * nscd/servicescache.c (cache_addserv): Make sure written is always
6226 initialized.
6227
5e4287d1
RM
62282011-08-14 Roland McGrath <roland@hack.frob.com>
6229
85ae0589
RM
6230 * sysdeps/i386/i486/bits/atomic.h
6231 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6232 statement expression, so as to suppress "set but not used" warning.
6233 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6234
69f63097
RM
6235 * string/strncat.c (STRNCAT): Use prototype definition.
6236
675456ef
RM
6237 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6238 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6239 -Iprograms here.
6240 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6241 (localedef-modules): Add localedef.
6242 (locale-modules): Add locale.
6243
5e4287d1
RM
6244 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6245 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6246 to avoid a warning.
6247
9c96ff23
DM
62482011-08-14 David S. Miller <davem@davemloft.net>
6249
6250 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6251 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6252
f9ddf089
UD
62532011-08-13 Ulrich Drepper <drepper@gmail.com>
6254
44f0a71e 6255 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6256 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6257 * elf/rtld.c (dl_main): Set l_name of vDSO.
6258 Call _dl_show_scope when DL_DEBUG_SCOPES.
6259 (process_dl_debug): Recognize scopes flag and also set it for all.
6260 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6261 Declare _dl_show_scope.
6262
1dc27704
UD
6263 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6264 (do_dlopen): Pass caller_dlopen to dl_open.
6265 (__libc_dlopen_mode): Initialize caller_dlopen.
6266
f9ddf089
UD
6267 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6268 of libc. Make tolower call locale-independent. Optimize a bit by
6269 using isdigit instead of isalnum.
6270 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6271
9ac533d3
UD
62722011-08-12 Ulrich Drepper <drepper@gmail.com>
6273
6274 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6275 was a dependency or dynamically loaded.
6276
89edf2e9
UD
62772011-08-11 Ulrich Drepper <drepper@gmail.com>
6278
8e999d29
UD
6279 * intl/l10nflist.c: Allow architecture-specific pop function.
6280 * sysdeps/x86_64/l10nflist.c: New file.
6281
89edf2e9
UD
6282 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6283 classification.
6284
14d96785
AS
62852011-08-10 Andreas Schwab <schwab@redhat.com>
6286
6287 * include/dirent.h: Add libc_hidden_proto for scandirat and
6288 scandirat64. Don't declare __scandirat64.
6289 * dirent/scandirat.c: Add libc_hidden_def.
6290 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6291 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6292
6761ac04
DM
62932011-08-10 David S. Miller <davem@davemloft.net>
6294
6295 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6296 enum.
6297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6300
c55fbd1e
UD
63012011-08-09 Ulrich Drepper <drepper@gmail.com>
6302
6303 * Versions.def [libc]: Add GLIBC_2.15.
6304 * dirent/Makefile (routines): Add scandirat and scandirat64.
6305 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6306 GLIBC_2.15.
6307 * dirent/dirent.h: Declare scandirat and scandirat64.
6308 * dirent/scandirat.c: New file.
6309 * dirent/scandirat64.c: New file.
6310 * sysdeps/wordsize-64/scandirat.c: New file.
6311 * sysdeps/wordsize-64/scandirat64.c: New file.
6312 * dirent/opendir.c: Define opendirat.
6313 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6314 using scandirat.
6315 * dirent/scandir64.c: Adjust for scandir.c change.
6316 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6317 __scandirat64, and __scandir_cancel_handler.
6318 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6319 additional parameter and use openat instead of open (outside of ld.so).
6320 Add new __opendir as wrapper around __opendirat.
6321 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6322 here without requiring old scandirat implementation.
6323
879165f2
UD
63242011-08-08 Ulrich Drepper <drepper@gmail.com>
6325
6326 * dirent/scandir.c (cancel_handler): Renamed to
6327 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6328 defined. Adjust users.
6329 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6330 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6331
cb7e923b
UD
63322011-08-04 Ulrich Drepper <drepper@gmail.com>
6333
16292edd
UD
6334 * string/test-string.h (IMPL): Use __STRING to expand name and then
6335 stringify it.
6336
cb7e923b
UD
6337 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6338 of cleanups.
6339
cff82933
LD
63402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6341
6342 * string/Makefile: Update.
6343 (strop-tests): Append strncat.
6344 * string/test-wcscmp.c: New file.
6345 New comprehensive test for wcscmp.
6346 * string/test-strcmp.c: Update.
6347 (WIDE): New define.
6348
9be9bfcc
AS
63492011-07-22 Andreas Schwab <schwab@redhat.com>
6350
6351 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6352 line.
6353
2e96f1c7
AS
63542011-07-26 Andreas Schwab <schwab@redhat.com>
6355
6356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6357 encoding to ACE if AI_IDN.
6358
85188888
JJ
63592011-08-01 Jakub Jelinek <jakub@redhat.com>
6360
6361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6362 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6363
5fa16e9b
LD
63642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6365
6366 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6367 Fix overflow bug in strncat.
6368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6369
6370 * string/test-strncat.c: Update.
6371 Add new tests for checking overflow bugs.
6372
63732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6374
6375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6376 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6377 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6378 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6379 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6380 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6381 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6382 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6383 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6384
6385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6386 (USE_AS_STRCAT): Define.
6387 Add strcat and strncat support.
6388 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6389
8c1a459f
AS
63902011-07-25 Andreas Schwab <schwab@redhat.com>
6391
6392 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6393 __n bigger than INT_MAX+1.
6394 (__strncmp_g): Likewise.
6395
bba33c28
UD
63962011-07-23 Ulrich Drepper <drepper@gmail.com>
6397
798be72d
UD
6398 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6399 * libio/stido.h: Likewise.
6400
8accd4dc
UD
6401 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6402 (AF_NFC): Define.
6403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6404 (AF_NFC): Define.
6405
cbff0d96
UD
6406 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6407 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6408 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6409 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6411
9191c04a
UD
6412 [BZ #13021]
6413 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6414 installed.
6415
bba33c28
UD
6416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6417 typo.
6418 (_dl_x86_64_save_sse): Likewise.
6419
90f139dd
UD
64202011-07-22 Ulrich Drepper <drepper@gmail.com>
6421
1aae088a
UD
6422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6423 OSXSAVE.
6424 (_dl_x86_64_save_sse): Likewise.
6425
8e2045f5
UD
6426 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6427
90f139dd
UD
6428 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6429
1d002f25
AS
64302011-07-21 Andreas Schwab <schwab@redhat.com>
6431
6432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6433 change.
6434 (_dl_x86_64_save_sse): Use correct AVX check.
6435
21137f89
UD
64362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6437
6438 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6439 bug in strncpy/strncat.
6440 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6441
a65c0b7a
UD
64422011-07-21 Ulrich Drepper <drepper@gmail.com>
6443
6444 * string/tester.c (test_strcat): Add tests for different alignments
6445 of source and destination.
6446 (test_strncat): Likewise.
6447
6986b98a
UD
64482011-07-20 Ulrich Drepper <drepper@gmail.com>
6449
90bb2039
UD
6450 [BZ #12852]
6451 * posix/glob.c (glob): Check passed in values before using them in
6452 expressions to avoid some overflows.
6453 (glob_in_dir): Likewise.
6454
5644ef54
UD
6455 [BZ #13007]
6456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6457 check for AVX enablement so that we don't crash with old kernels and
6458 new hardware.
6459 * elf/tst-audit4.c: Add same checks here.
6460 * elf/tst-audit6.c: Likewise.
6461
6462 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6463
bfc9dc9b
AS
64642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6465
6466 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6467
702e64bb
UD
64682011-07-20 Ulrich Drepper <drepper@gmail.com>
6469
6470 * po/cs.po: Update from translation team.
6471 * po/bg.po: Likewise.
6472
295e904f
MP
64732011-07-12 Marek Polacek <mpolacek@redhat.com>
6474
6475 * misc/sys/cdefs.h: Add support for const attribute.
6476 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6477 to gnu_dev_{major,minor,makedev} functions.
6478
3ff94596
MP
64792011-07-20 Marek Polacek <mpolacek@redhat.com>
6480
6481 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6482
28b59fca
AS
64832011-07-20 Andreas Schwab <schwab@redhat.com>
6484
6485 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6486 strlen results.
6487
19df733e
AK
64882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6489
6490 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6491 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6492 register in order to avoid conflicts with the soft frame pointer
6493 being held in r11 when necessary.
6494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6495 (INTERNAL_VSYSCALL_NCS): Likewise.
6496
c8835729
MP
64972011-07-14 Marek Polacek <mpolacek@redhat.com>
6498
6499 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6500 * elf/dl-fini.c (_dl_fini): Adjust caller.
6501 * elf/dl-close.c (_dl_close_worker): Likewise.
6502 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6503
b902330c
MP
65042011-07-15 Marek Polacek <mpolacek@redhat.com>
6505
8991e135
MP
6506 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6507 "aux_cache->nlibs < 0".
6508
b902330c
MP
6509 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6510 in the reload-count case.
6511
99710781
LD
65122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6513
6514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6515 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6516 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6517 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6518 * sysdeps/x86_64/multiarch/strcat.S: New file.
6519 * sysdeps/x86_64/multiarch/strncat.S: New file.
6520 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6521 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6522 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6523 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6525 (USE_AS_STRCAT): Define.
6526 Add strcat and strncat support.
6527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6529 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6530 * string/strncat.c: Update.
6531 (USE_AS_STRNCAT): Define.
6532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6533 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6534 and i7.
6535 * sysdeps/x86_64/multiarch/init-arch.h
6536 (bit_Prefer_PMINUB_for_stringop): New.
6537 (index_Prefer_PMINUB_for_stringop): Likewise.
6538 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6539 bit_Prefer_PMINUB_for_stringop.
6540
7dc6bd90
UD
65412011-07-19 Ulrich Drepper <drepper@gmail.com>
6542
6543 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6544 buffer64.
6545 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6546 of casting of buffer.
6547 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6548 buffer32 and buffer64.
6549 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6550 writes instead of casting of buffer.
6551 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6552 buffer32.
6553 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6554 casting of buffer.
6555
e0e72284
AS
65562011-07-19 Andreas Schwab <schwab@redhat.com>
6557
6558 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6559
feb1eb0b
UD
65602011-07-19 Ulrich Drepper <drepper@gmail.com>
6561
6562 * nscd/nscd.c (termination_handler): Don't do anything for a database
6563 if it has not yet been initialized.
6564
298711ff
UD
65652011-07-18 Ulrich Drepper <drepper@gmail.com>
6566
6567 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6568
65692011-07-15 Marek Polacek <mpolacek@redhat.com>
6570
6571 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6572
f9d68389
UD
65732011-07-18 Ulrich Drepper <drepper@gmail.com>
6574
6575 * po/nl.po: Update from translation team.
6576 * po/sv.po: Likewise.
6577
db290cf5
RM
65782011-07-16 Roland McGrath <roland@hack.frob.com>
6579
6580 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6581 now disallowed by GCC.
5c550700 6582
fd5e21c7
RM
6583 * configure.in (use-default-link): Default to yes if a test -shared
6584 link meets our qualifications.
6585 * configure: Regenerated.
6586
5c550700
RM
6587 * config.make.in (output-format): New variable.
6588 * configure.in: Check for ld --print-output-format support.
6589 * configure: Regenerated.
6590 * Makerules ($(common-objpfx)format.lds)
6591 [$(output-format) != unknown]: Just use $(output-format),
6592 instead of the linker-script munging.
6593
9fa2c032
RM
65942011-07-14 Roland McGrath <roland@hack.frob.com>
6595
a6928d51
RM
6596 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6597 of $(common-objpfx)shlib.lds.
6598 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6599
661607b3
RM
6600 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6601 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6602
9fa2c032
RM
6603 * configure.in (-z relro check): Adjust test code to add a large
6604 writable data section after it.
6605 * configure: Regenerated.
6606
defe9061
RM
66072011-07-11 Roland McGrath <roland@hack.frob.com>
6608
6609 * configure.in (-z relro check): Fix test code to make the variable
6610 truly const.
6611 * configure: Regenerated.
6612
319b9ad4
UD
66132011-07-11 Ulrich Drepper <drepper@gmail.com>
6614
6615 * nscd/nscd.h (struct traced_file): Define.
6616 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6617 elements. Add traced_files.
6618 (inotify_fd): Declare.
6619 (register_traced_file): Declare.
6620 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6621 (inotify_fd): Export.
6622 (resolv_conf_descr): Remove.
6623 (nscd_init): Move inotify descriptor creation to main.
6624 Don't register files for notification here.
6625 (register_traced_file): New function.
6626 (invalidate_cache): Don't use reset_res to determine whether to call
6627 res_init, go through the list of registered files.
6628 (main_loop_poll): The inotify descriptors are now stored in the
6629 structures for the traced files.
6630 (main_loop_epoll): Likewise
6631 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6632 to __nss_disable_nscd.
6633 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6634 for a database anymore. Check the records for all the registered
6635 files instead.
6636 * nss/Makefile (libnss_files-routines): Add files-init.
6637 (libnss_db-routines): Add db-init.
6638 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6639 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6640 * nss/nss_db/db-init.c: New file.
6641 * nss/nss_files/files-init.c: New file.
6642 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6643 __nss_lookup_function.
6644 (__nss_lookup_function): Call nss_load_library.
6645 (nss_load_all_libraries): New function.
6646 (__nss_disable_nscd): Take parameter with callback function for files
6647 to register. Set is_nscd. Load all the DSOs for the NSS modules
6648 used for the cached services.
6649 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6650 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6651 options for features to all the files in nscd.
6652
6653 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6654
23bee3e8
RM
66552011-07-10 Roland McGrath <roland@hack.frob.com>
6656
6657 * csu/elf-init.c (__libc_csu_init): Comment typo.
6658
46a5b7f0
UD
66592011-07-09 Ulrich Drepper <drepper@gmail.com>
6660
6661 * po/pl.po: Update from translation team.
6662 * po/ja.po: Likewise.
6663 * po/ru.po: Likewise.
6664 * po/ko.po: Likewise.
6665 * po/fr.po: Likewise.
6666
d30cf5bb
RM
66672011-07-09 Roland McGrath <roland@hack.frob.com>
6668
113ddea4
RM
6669 * configure.in (.ctors/.dtors header and trailer check):
6670 Use an empirical test on a built program.
6671 * configure: Regenerated.
6672
574920b4
RM
6673 * configure.in (-z relro check): Use an empirical test on a built DSO.
6674 Detect, but do not require, on ia64.
6675 * configure: Regenerated.
6676
d30cf5bb
RM
6677 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6678 Update tests that use readelf to use $READELF instead.
6679 * configure: Regenerated.
6680
8538fdb3
UD
66812011-07-08 Ulrich Drepper <drepper@gmail.com>
6682
6683 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6684 if the result is not used.
6685
04d08991
AJ
66862011-07-05 Andreas Jaeger <aj@suse.de>
6687
6688 [BZ#9696]
6689 * stdlib/tst-strtod.c: Add testcase.
6690
de283087
AD
66912011-07-07 Ulrich Drepper <drepper@gmail.com>
6692
4e5f31c8 6693 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6694 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6695 The latter has a higher limit. Take additional parameter to pass to
6696 the new function.
6697 (__pathconf): Pass file to __statfs_link_max.
6698 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6699 __statfs_link_max.
6700 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6701 __statfs_link_max.
6702
de283087
AD
6703 [BZ #12868]
6704 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6705 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6706 Handle Lustre.
6707 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6708 (__statfs_filesize_max): Likewise.
6709 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6710
c75fa153
AJ
67112011-07-05 Andreas Jaeger <aj@suse.de>
6712
6713 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6714
1a544854
UD
67152011-07-06 Marek Polacek <mpolacek@redhat.com>
6716
6717 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6718 `status' variable.
6719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6720 Likewise.
6721
6f0eec67
UD
67222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6723
6724 * Makefile (strop-tests): Add strncat.
6725 * string/test-strncat.c: New file.
6726
aae30307
UD
67272011-06-30 Marek Polacek <mpolacek@redhat.com>
6728
6729 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6730
c0cfb5eb
UD
67312011-06-21 Andreas Jaeger <aj@suse.de>
6732
6733 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6734 Copy rule from iconvdata/Makefile.
6735
01636b21
UD
67362011-07-06 Ulrich Drepper <drepper@gmail.com>
6737
6738 [BZ #12922]
6739 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6740 but no long options are defined, just return 'W'.
6741
9895c8bc
UD
67422011-06-22 Marek Polacek <mpolacek@redhat.com>
6743
6744 [BZ #9696]
6745 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6746
5d4cf042
UD
67472011-07-06 Ulrich Drepper <drepper@gmail.com>
6748
6749 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6750 netgroups to read.
960e5535 6751 (innetgr): Likewise.
5d4cf042 6752
751eb97e
RM
67532011-07-05 Roland McGrath <roland@hack.frob.com>
6754
6755 * config.make.in (install_root): Default to $(DESTDIR).
6756
f15f1e45
UD
67572011-07-05 Ulrich Drepper <drepper@gmail.com>
6758
6759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6760
4e34ac6a
RM
67612011-07-02 Roland McGrath <roland@hack.frob.com>
6762
5e9b6af4
RM
6763 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6764
84f9ea0f
RM
6765 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6766 containing directory rather than embedding absolute directory names.
6767
ea5ee9f7
RM
6768 * scripts/check-local-headers.sh: Rewritten using awk.
6769 Match by word, not by line. Print error messages for matches.
6770 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6771
1b74661a
RM
6772 * Makerules [shlib-lds-flags empty]:
6773 ($(common-objpfx)libc_pic.opts): New target.
6774 ($(common-objpfx)libc_pic.os.clean): New target.
6775 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6776
6777 * config.make.in (OBJCOPY): New variable.
6778 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6779 * configure: Regenerated.
6780
f781ef40
RM
6781 * config.make.in (use-default-link): New variable.
6782 * configure.in (use_default_link): Grok --with-default-link to set it.
6783 * configure: Regenerated.
6784 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6785 (shlib-lds, shlib-lds-flags): Define to empty.
6786
2d4fa81e
RM
6787 * Makerules (shlib-lds): New variable.
6788 (shlib-lds-flags): New variable.
6789 (build-shlib, build-moduile, build-module-asneeded): Use it.
6790 ($(common-objpfx)libc.so): Use $(shlib-lds).
6791 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6792 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6793
31fffa6b
RM
6794 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6795 DT_FLAGS/DT_FLAGS_1 with zero flags.
6796
4e34ac6a
RM
6797 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6798 linker script munging.
6799
fcfc776b
UD
68002011-07-02 Ulrich Drepper <drepper@gmail.com>
6801
6802 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6803 as 128-bit value.
6804 * crypt/sha512.c (sha512_process_block): Perform total addition using
6805 128-bit if possible.
6806 (__sha512_finish_ctx): Likewise.
6807 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6808 as 64-bit value.
6809 * crypt/sha256.c (SWAP64): Define.
6810 (sha256_process_block): Perform total addition using 64-bit if
6811 possible.
6812 (__sha256_finish_ctx): Likewise.
6813
99231d9a
UD
68142011-07-01 Ulrich Drepper <drepper@gmail.com>
6815
6816 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6817 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6818 * nscd/hstcache.c (cache_addhst): Likewise.
6819 * nscd/grpcache.c (cache_addgr): Likewise.
6820 * nscd/aicache.c (addhstaiX): Likewise
6821 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6822
445b4a53
TK
68232011-07-01 Thorsten Kukuk <kukuk@suse.de>
6824
6825 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6827 * nscd/hstcache.c (cache_addhst): Likewise.
6828 * nscd/grpcache.c (cache_addgr): Likewise.
6829 * nscd/aicache.c (addhstaiX): Likewise
6830
6d4d8e8e
AS
68312011-07-01 Andreas Schwab <schwab@redhat.com>
6832
6833 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6834 domain only when needed.
6835
89f654c5
AS
68362011-06-30 Andreas Schwab <schwab@redhat.com>
6837
6838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6839 is always restored.
6840
cf3b23ff
UD
68412011-06-29 Ulrich Drepper <drepper@gmail.com>
6842
6843 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6844 are re-adding the entry.
6845 * nscd/servicescache.c (cache_addserv): Likewise.
6846
751626f9
AJ
68472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6848
6849 * sysdeps/generic/dl-irel.h: fix protection against multiple
6850 inclusions.
6851 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6852
9113ea1f
UD
68532011-06-28 Ulrich Drepper <drepper@gmail.com>
6854
5c0b8d90
UD
6855 [BZ #12935]
6856 * malloc/memusage.sh: Fix quoting in message.
6857 * debug/xtrace.sh: Likewise.
6858
9113ea1f
UD
6859 * configure.in: Remove support for --experimental-malloc option, make
6860 it the default.
6861 * config.make.in: Likewise.
6862 * malloc/Makefile: Likewise.
6863
a4172181
AS
68642011-06-27 Andreas Schwab <schwab@redhat.com>
6865
6866 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6867 two-byte characters.
6868
78a7eee7
RM
68692011-06-27 Roland McGrath <roland@hack.frob.com>
6870
62bede13
RM
6871 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6872 AC_CACHE_CHECK invocation.
6873 * configure: Regenerated.
6874
78a7eee7
RM
6875 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6876
5ce33a62
UD
68772011-06-27 Ulrich Drepper <drepper@gmail.com>
6878
034807a9
UD
6879 [BZ #12350]
6880 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6881 bit from old_res_options.
6882
4902da17
UD
6883 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6884
5ce33a62
UD
6885 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6886 value type for setfct.
6887
c2344f56
L
68882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6889
6890 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6891 __gettimeofday instead of gettimeofday.
6892
68468076
UD
68932011-06-26 Ulrich Drepper <drepper@gmail.com>
6894
6895 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6896
acb0d739
L
68972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6898
6899 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6900
6901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6902 info.
6903
8912479f
L
69042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6905
6906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6907 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6908 strcpy-sse2-unaligned strncpy-sse2-unaligned
6909 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6910 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6911 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6912 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6913 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6916 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6917 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6918 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6919 (STRCPY): Support SSE2 and SSSE3 versions.
6920
d5495a11
UD
69212011-06-24 Ulrich Drepper <drepper@gmail.com>
6922
6923 [BZ #12874]
6924 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6925 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6926 kernels which artificially limit size of requests.
6927
0b1cbaae
L
69282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6929
6930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6931 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6932 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6933 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6934 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6935 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6936 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6937 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6938 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6940 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6941 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6942 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6943 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6944 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6946 Enable unaligned load optimization for Intel Core i3, i5 and i7
6947 processors.
6948 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6949 Define.
6950 (index_Fast_Unaligned_Load): Define.
6951 (HAS_FAST_UNALIGNED_LOAD): Define.
6952
07f494a0
MP
69532011-06-23 Marek Polacek <mpolacek@redhat.com>
6954
6955 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6956
fa3fc0fe
UD
69572011-06-22 Ulrich Drepper <drepper@gmail.com>
6958
6959 [BZ #12907]
6960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6961 until it is clear that the information is realy needed.
6962 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6963
e12df166
AS
69642011-06-22 Andreas Schwab <schwab@redhat.com>
6965
6966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6967
852eb34d
UD
69682011-06-22 Ulrich Drepper <drepper@gmail.com>
6969
84e2a551
UD
6970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6971 /sys/devices/system/cpu/online if it is usable.
6972
852eb34d
UD
6973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6974 reading the information from the /proc filesystem to once a second.
6975
6e502e19
UD
69762011-06-21 Andreas Jaeger <aj@suse.de>
6977
6978 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6979 NULL after inclusion of kernel headers.
6980
75d39ff2
UD
69812011-06-21 Ulrich Drepper <drepper@gmail.com>
6982
51f9aa6a
UD
6983 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6984 calls to internal_setent.
6985
c0244a9d
UD
6986 [BZ #12885]
6987 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6988 addresses using gethostbyname4_r ignore IPv4 addresses.
6989
c5e3c2ae
UD
6990 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6991 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6992
75d39ff2
UD
6993 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6994
42675c6f
DM
69952011-06-20 David S. Miller <davem@davemloft.net>
6996
6997 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6998 inclusions.
6999 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7000
7001 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7002 (elf_irel): Use it.
7003 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7004 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7005 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7006 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7007 * sysdeps/x86_64/dl-irel.h: Likewise.
7008
7009 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7010 * elf/dl-sym.c: Likewise.
7011
57912a71
UD
70122011-06-15 Ulrich Drepper <drepper@gmail.com>
7013
7014 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7015 need to dereference resplen2.
7016
ee22793d
AS
70172011-06-14 Andreas Schwab <schwab@redhat.com>
7018
7019 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7020
a9e836b0
UD
70212011-06-15 Ulrich Drepper <drepper@gmail.com>
7022
77fb9117
UD
7023 * Makeconfig: Define vardbdir and inst_vardbdir.
7024 * nss/Makefile: Add rules to install db-Makefile.
7025
40c1b22c
UD
7026 * nss/nss_db/db-XXX.c: Cleanup.
7027
9f2da732
UD
7028 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7029 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7030 GLIBC_PRIVATE.
7031 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7032 * nss/makedb.c: Implement -g option to specify that value strings
7033 are generated and should not be added to table iterated over for
7034 get*ent calls.
7035 * nss/nss_db/db-initgroups.c: New file.
7036
82e9a1f7
UD
7037 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7038 interface.
7039
c41af17e
UD
7040 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7041 (internal_getgrouplist): Adjust to name change.
7042 Update use_initgroups_entry if this is not the first call.
7043 * nss/databases.def: Add initgroups entry.
7044
a9e836b0
UD
7045 * nss/makedb.c (compute_tables): Check result of multiple hash table
7046 sizes to minimize maximum chain length.
7047
2666d441
UD
70482011-06-14 Ulrich Drepper <drepper@gmail.com>
7049
7050 * Versions.def: Add entry for libnss_db.
7051 * shlib-versions: Likewise.
7052 * nss/Makefile: Add rules to build libnss_db.
7053 * nss/Versions: Add libnss_db information. Organize libnss_files
7054 entries better.
7055 * nss/db-Makefile: Add gshadow support. Change rules for the new
7056 makedb progra. Some minor improvements to generate smaller files.
7057 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7058 here from...
7059 * nss/makedb.c: ...here.
7060 Improve database format to be smaller and require less memory at
7061 runtime.
7062 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7063 db anymore.
7064 * nss/nss_db/db-netgrp.c: Likewise.
7065 * nss/nss_db/db-open.c: Likewise.
7066 * nss/nss_files/flies-XXX.x: Adjust comments.
7067 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7068 * nss/nss_files/files-grp.c: Likewise.
7069 * nss/nss_files/files-hosts.c: Likewise.
7070 * nss/nss_files/files-network.c: Likewise.
7071 * nss/nss_files/files-proto.c: Likewise.
7072 * nss/nss_files/files-pwd.c: Likewise.
7073 * nss/nss_files/files-rpc.c: Likewise.
7074 * nss/nss_files/files-service.c: Likewise.
7075 * nss/nss_files/files-sgrp.c: Likewise.
7076 * nss/nss_files/files-spwd.c: Likewise.
7077 * nss/nss_db/db-alias.c: Removed.
7078 * nss/nss_db/dummy-db.h: Removed.
7079
9ee76b5a
UD
70802011-06-02 Ulrich Drepper <drepper@gmail.com>
7081
7082 * nss/makedb.c: Rewritten to not use database library.
7083 * nss/Makefile: Update to build new makedb program.
7084
c71ca1f8
AJ
70852011-06-14 Andreas Jaeger <aj@suse.de>
7086
7087 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7088 memset declaration.
7089
3154bfb8
UD
70902011-06-10 Andreas Schwab <schwab@redhat.com>
7091
7092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7093 tmpbuf.
7094
b350afab
RM
70952011-06-10 Roland McGrath <roland@hack.frob.com>
7096
decd4e50
RM
7097 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7098 * elf/Makefile ($(objpfx)ld.so): Likewise.
7099
5615eaf2
RM
7100 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7101 Don't list ld.so twice in dependencies.
7102
7103 * posix/bug-regex31.c: Include <stdlib.h>.
7104
7105 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7106
7107 * nis/nss_compat/compat-spwd.c
7108 (getspent_next_nss_netgr): Remove unused variable.
7109 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7110
7111 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7112 nonmembers" output to use the right array.
7113
7114 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7115
7116 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7117
7118 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7119 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7120 * catgets/gencat.c (read_input_file): Likewise.
7121 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7122
7123 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7124 variable definition inside #if's controlling its use.
7125
7126 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7127
7128 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7129
7130 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7131
7132 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7133 unreachable code.
7134
7135 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7136
b68e08db
RM
7137 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7138 * configure: Regenerated.
7139
b350afab
RM
7140 * Makerules: Revert last change.
7141 * elf/Makefile: Likewise.
7142
28368601
RM
71432011-06-09 Roland McGrath <roland@hack.frob.com>
7144
7145 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7146 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7147 (reloc-link): Likewise.
7148
11988f8f
UD
71492011-06-09 Ulrich Drepper <drepper@gmail.com>
7150
7151 * elf/Makefile: Add rules to build pldd.
7152 * elf/pldd.c: New file.
7153 * elf/pldd-xx.c: New file.
7154
e80fab37
UD
71552011-06-07 Ulrich Drepper <drepper@gmail.com>
7156
7157 * version.h: Update for 2.15 development version.
7158
9b849836
DM
71592011-06-07 David S. Miller <davem@davemloft.net>
7160
7161 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7162 ifuncs.
7163 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7164 elf_machine_lazy_rel): Likewise.
7165 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7167 elf_machine_lazy_rel): Likewise.
7168 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7169 dl_hwcap via passed in argument.
7170 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7171 Likewise.
7172
5a31b283
AK
71732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7174
7175 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7176
069e52f8
RM
71772011-06-06 Roland McGrath <roland@hack.frob.com>
7178
7179 [BZ #12849]
7180 * manual/fdl-1.1.texi: New file, verbatim from:
7181 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7182 * manual/lgpl-2.1.texi: New file, verbatim from:
7183 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7184 * manual/Makefile (licenses): New variable, list those new file names.
7185 (texis): Use it.
7186 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7187
7188 * manual/fdl.texi: File removed.
7189 * manual/lesser.texi: File removed.
7190 * manual/libc.texinfo (Copying, Documentation License):
7191 Use new @include file names, put @appendix directive before @include.
7192
f16846a5
JJ
71932011-06-04 Jakub Jelinek <jakub@redhat.com>
7194
7195 [BZ #12841]
7196 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7197 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7198 (mq_open): Add __NTH.
7199
3d29045b
L
72002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7203 Assume Intel Core i3/i5/i7 processor if AVX is available.
7204
8c297311
UD
72052011-05-31 Ulrich Drepper <drepper@gmail.com>
7206
7207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7208 typo.
7209
c8fc0c91
UD
72102011-05-31 Andreas Schwab <schwab@redhat.com>
7211
7212 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7213 memory. Use alloca_account. Fix memory leak when retrying.
7214
5b27a807
UD
72152011-05-31 Ulrich Drepper <drepper@gmail.com>
7216
356f8bc6
UD
7217 * version.h (RELEASE): Bump for 2.14 release.
7218 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7219
5b27a807
UD
7220 * config.make.in (RANLIB): Remove entry.
7221
01f16ab0
UD
72222011-05-30 Ulrich Drepper <drepper@gmail.com>
7223
41fce8bd
UD
7224 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7225 (libc.pot): Work around missing support for .ksh extension in xgettext.
7226
4769ae77
UD
7227 [BZ #12684]
7228 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7229 if both request failed.
7230 (send_dg): In case of server errors clear resplen or *resplen2.
7231
6b1e7d19
UD
7232 [BZ #12454]
7233 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7234 when there are multiple maps.
7235 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7236 (_dl_fini): Remove test here.
7237
01f16ab0
UD
7238 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7239
b1ebd700
UD
72402011-05-29 Ulrich Drepper <drepper@gmail.com>
7241
7ae22829
UD
7242 [BZ #12350]
7243 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7244 bit from old_res_options.
7245 (gaih_inet): Likewise.
7246
553149f6 7247 [BZ #11099]
18a84741 7248 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7249 as signed.
7250
652ffab1
UD
7251 * resolv/res_init.c (res_setoptions): Make the code more compact.
7252
16985fd0
UD
7253 [BZ #11558]
7254 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7255 set RES_USEVC.
7256
0464f746
UD
7257 [BZ #11634]
7258 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7259
7d17596c
UD
7260 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7261
cf6bbbd7
UD
7262 [BZ #11781]
7263 * malloc/malloc.h: Declare malloc hook variables as volatile.
7264
13f1ab36
UD
7265 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7266 in last patch.
7267
b1ebd700
UD
7268 [BZ #11799]
7269 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7270 raise in the comment.
80e2212d
UD
7271 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7272 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7273 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7274
ce67228d
UD
72752011-05-28 Ulrich Drepper <drepper@gmail.com>
7276
8887a920
UD
7277 [BZ #12811]
7278 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7279 grow the buffers more if it already has to be sufficient.
7280 (build_wcs_upper_buffer): Likewise.
7281 * posix/regexec.c (check_matching): Likewise.
7282 (clean_state_log_if_needed): Likewise.
7283 (extend_buffers): Don't enlarge buffers beyond size of the input
7284 buffer.
7285 Patches mostly by Emil Wojak <emil@wojak.eu>.
7286 * posix/bug-regex32.c: New file.
7287 * posix/Makefile (tests): Add bug-regex32.
7288
4f031072
UD
7289 * locale/findlocale.c (_nl_find_locale): Return right away if
7290 _nl_explode_name failed.
7291 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7292
d0478f0c
UD
7293 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7294
de81b246
UD
7295 * debug/xtrace.sh: Unify messages.
7296 * malloc/memusage.sh: Likewise.
7297
c738465a
UD
7298 [BZ #12813]
7299 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7300 time symbol from vDSO. Substitute with vsyscall if not available.
7301 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7302 __vdso_time.
7303
f1f929d7
UD
7304 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7305 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7306 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7307 Add sendmmsg and internal_sendmmsg.
7308 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7309 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7311
ce67228d
UD
7312 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7313 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7314 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7315
e57420c6
UD
73162011-05-27 Ulrich Drepper <drepper@gmail.com>
7317
a8509ca5
UD
7318 [BZ #12813]
7319 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7320 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7321 available.
7322 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7323 __vdso_getcpu.
7324
e57420c6
UD
7325 [BZ #12814]
7326 * iconvdata/Makefile (tests): Add bug-iconv9.
7327 * iconvdata/bug-iconv9.c: New file.
7328
4d07db15
AS
73292011-05-27 Andreas Schwab <schwab@redhat.com>
7330
7331 [BZ #12814]
7332 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7333
ea486f69
JJ
73342011-05-25 Jakub Jelinek <jakub@redhat.com>
7335
7336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7337 (struct user_regs_struct): Change intcs field back to cs.
7338
6f038433
UD
73392011-05-25 Ulrich Drepper <drepper@gmail.com>
7340
7341 * po/ja.po: Update from translation team.
7342
67f86a25
UD
73432011-05-23 Ulrich Drepper <drepper@gmail.com>
7344
7345 [BZ #12795]
7346 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7347 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7348
def7fbd6
AS
73492011-05-20 Andreas Schwab <schwab@redhat.com>
7350
7351 * stdlib/longlong.h: Update from GCC.
7352
f50ef8f1
AS
73532011-05-23 Andreas Schwab <schwab@redhat.com>
7354
7355 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7356 parameter name.
7357 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7358 Add parameter name.
7359 (__sysconf): Pass it down.
7360
de7ce8f1
UD
73612011-05-22 Ulrich Drepper <drepper@gmail.com>
7362
f2962a71
UD
7363 [BZ #12671]
7364 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7365 some situations.
7366 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7367 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7368 add in in __libc_use_alloca calls. Adjust callers.
7369 (glob): Use malloc in some situations.
7370
de7ce8f1
UD
7371 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7372 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7373 pltexit.
7374
aec84f53
UD
73752011-05-21 Ulrich Drepper <drepper@gmail.com>
7376
05bb4a68
UD
7377 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7378 and CLOCK_BOOTTIME_ALARM.
7379
7ea72f99
UD
7380 [BZ #12782]
7381 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7382 is returned.
7383
7e4afad5
UD
7384 * string/_strerror.c (__strerror_r): Print negative errors as signed
7385 numbers.
7386
8e211fec
UD
7387 [BZ #12777]
7388 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7389 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7390 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7391
f7d82dc9
UD
7392 * configure.in: Fix typo in redirection and correct removal of test
7393 files in two cases.
7394
cc9e536d
UD
7395 [BZ #12788]
7396 * locale/setlocale.c (new_composite_name): Fix test to check for
7397 identical name of all categories.
7398
aec84f53
UD
7399 [BZ #12792]
7400 * libio/filedoalloc.c (local_isatty): New function.
7401 (_IO_file_doallocate): Use local_isatty.
7402 * stdio-common/perror.c (perror): In case a new stream is used
7403 forward the stream error.
7404 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7405 error flag.
7406
78e64fdc
RT
74072011-05-20 Ulrich Drepper <drepper@gmail.com>
7408
34a9094f
UD
7409 [BZ #11869]
7410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7411 alloca.
7412 * include/alloca.h (extend_alloca_account): Define.
7413
78e64fdc
RT
7414 [BZ #11857]
7415 * posix/regex.h: Fix comments with documentation of user-accessible
7416 fields after compilation and describe correct free'ing of pattern
7417 after re_compile_pattern.
7418 Patch by Reuben Thomas <rrt@sc3d.org>.
7419
457bddfc
RA
74202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7421
7422 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7423 and -mno-altivec to prevent the compiler from using Altivec and/or
7424 VSX instructions when the corresponding registers are not available.
7425
a4527b51
AS
74262011-05-19 Andreas Schwab <schwab@redhat.com>
7427
7428 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7429
ed690b2f
UD
74302011-05-19 Ulrich Drepper <drepper@gmail.com>
7431
7432 * libio/freopen.c (freopen): Use __dup2, not dup2.
7433 * libio/freopen64.c (freopen64): Likewise.
7434
8db73634
L
74352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7436
7437 [BZ #12775]
7438 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7439 * math/Makefile (tests): Add test-powl.
7440 (CFLAGS-test-powl.c): Define.
7441 * math/test-powl.c: New file.
7442
0a197a9d
L
74432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7444
7445 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7446
ee30c380
UD
74472011-05-17 Ulrich Drepper <drepper@gmail.com>
7448
7449 [BZ #11837]
7450 * iconvdata/gb18030.c: Update to GB18020-2005.
7451
6ce75379
UD
74522011-05-16 Ulrich Drepper <drepper@gmail.com>
7453
a4b89fd8
AR
7454 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7455 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7456 Patch by Aharon Robbins <arnold@skeeve.com>.
7457
ea389b12
UD
7458 [BZ #11892]
7459 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7460 on the stack.
7461
68a3f91f
UD
7462 [BZ #11895]
7463 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7464 through underflows.
7465
15cc7dd1
UD
7466 [BZ #12766]
7467 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7468 point to strings before performing equality test for error_one_per_line
7469 mode.
7470
f3799213
UD
7471 [BZ #11697]
7472 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7473
d79a9c94
UD
7474 [BZ #11820]
7475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7476 (struct user_fpregs_struct): Avoid __uint*_t types.
7477
56e5eb46
UD
7478 [BZ #6420]
7479 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7480 symbol info. Use it instead of calling _dl_addr locally.
7481 (lock_and_info): New function.
7482 (tr_freehook): Call lock_and_info and pass symbol info as additional
7483 parameter to tr_where.
7484 (tr_mallochook): Likewise.
7485 (tr_reallochook): Likewise.
7486 (tr_memalignhook): Likewise.
7487
6ce75379
UD
7488 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7489 used and couldn't be at all thread-safe.
7490
f8a3b5bf
UD
74912011-05-15 Ulrich Drepper <drepper@gmail.com>
7492
94b7cc37
UD
7493 * libio/freopen.c (freopen): Don't close old file descriptor
7494 before the new one is opened. Instead dup the new file descriptor
7495 to the old one after the new stream is created.
7496 * libio/freopen64.c (freopen64): Likewise.
7497 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7498 * libio/fileops.c (_IO_new_file_close_it): Handle new
7499 _IO_FLAGS2_NOCLOSE flag.
7500 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7501 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7502 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7503 _IO_FLAGS2_NOCLOSE flag.
7504 * include/unistd.h: Add hidden_proto for dup3.
7505 Define __have_dup3.
7506 * io/dup3.c: Define hidden symbol.
7507 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7508
bd25564e
UD
7509 [BZ #7101]
7510 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7511 when an incomplete long option is used.
7512 * posix/tst-getopt_long1.c: New file.
7513 * posix/Makefile (tests): Add tst-getopt_long1.
7514
c84cfef4
UD
7515 [BZ #10138]
7516 * scripts/config.guess: Update from autoconf-2.68.
7517 * scripts/config.sub: Likewise.
7518
3b85df27
UD
7519 [BZ #10157]
7520 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7521 tests into ...
7522 (has_cpuclock): ...this. New function.
7523 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7524 macro here based on has_cpuclock code.
7525
15a856b1
UD
7526 [BZ #10149]
7527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7528 First byte (not low byte) is now always NUL.
7529 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7530
05f399e6
UD
7531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7532 Use non-cancelable interfaces.
7533
10a52685 7534 [BZ #9809]
94ecc67d
UD
7535 * locale/iso-639.def: Add entry for Sorani.
7536
f8a3b5bf
UD
7537 [BZ #11901]
7538 * include/stdlib.h: Move include protection to the right place.
7539 Define abort_msg_s. Declare __abort_msg with it.
7540 * stdlib/abort.c (__abort_msg): Adjust type.
7541 * assert/assert.c (__assert_fail_base): New function. Majority
7542 of code from __assert_fail. Allocate memory for __abort_msg with
7543 mmap.
7544 (__assert_fail): Now call __assert_fail_base.
7545 * assert/assert-perr.c: Remove bulk of implementation. Use
7546 __assert_fail_base.
7547 * include/assert.hL Declare __assert_fail_base.
7548 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7549 mmap.
7550 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7551
1af4e298
UD
75522011-05-14 Ulrich Drepper <drepper@gmail.com>
7553
f8a3b5bf 7554 [BZ #11952]
d26dfc60
MG
7555 [BZ #12453]
7556 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7557 until all modules are registered in the DTV.
7558 * elf/Makefile: Add rules to build and run tst-tls19.
7559 * elf/tst-tls19.c: New file.
7560 * elf/tst-tls19mod1.c: New file.
7561 * elf/tst-tls19mod2.c: New file.
7562 * elf/tst-tls19mod3.c: New file.
7563 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7564
2fc54d6f
UD
7565 [BZ #12083]
7566 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7567 correctly.
7568
98d76b46
UD
7569 [BZ #12601]
7570 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7571 two-byte sequence errors.
7572 * iconvdata/Makefile (tests): Add bug-iconv8.
7573 * iconvdata/bug-iconv8.c: New file.
7574
da3c19ef
UD
7575 [BZ #12626]
7576 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7577 buf2 definition.
7578
ca408c15
UD
7579 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7580
d6f67f7d
UD
7581 [BZ #12432]
7582 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7583 (dummy_getcfa): New function.
7584 (init): Get _Unwind_GetCFA address, use dummy if not found.
7585 (backtrace_helper): In recursion check, also check whether CFA changes.
7586 (__backtrace): Completely initialize arg.
7587
1af4e298 7588 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7589 storing incomplete byte sequence in state object. Avoid testing for
7590 guaranteed too small input if we know there is enough data available.
1af4e298 7591
da62f81b
AS
75922011-05-11 Andreas Schwab <schwab@redhat.com>
7593
7594 * Makeconfig (+link-pie): Indent.
7595 * Rules (binaries-pie): Define if $(have-fpie) and
7596 $(build-shared).
7597 (binaries-shared): Also filter out $(binaries-pie).
7598 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7599 * nscd/Makefile (others-pie): Add nscd.
7600 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7601 ($(objpfx)nscd): Remove command override.
7602 * login/Makefile (others-pie): Add pt_chown.
7603 ($(objpfx)pt_chown): Remove command override.
7604 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7605 remove command overrides.
7606
fcabc0f8
UD
76072011-05-13 Ulrich Drepper <drepper@gmail.com>
7608
20030ae6
UD
7609 * libio/tst_putwc.c: Fix error messages.
7610
fcabc0f8
UD
7611 [BZ #12724]
7612 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7613 currently writing and seek to current position when not.
7614 * libio/Makefile (tests): Add bug-fclose1.
7615 * libio/bug-fclose1.c: New file.
7616
320a5dc0
PB
76172011-05-12 Ulrich Drepper <drepper@gmail.com>
7618
7619 [BZ #12511]
7620 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7621 don't set DF_1_NODELETE here.
7622 (do_lookup_x): When entering new entry test for copy relocation
7623 and if necessary set DF_1_NODELETE flag.
7624 * elf/tst-unique4.cc: New file.
7625 * elf/tst-unique4.h: New file.
7626 * elf/tst-unique4lib.cc: New file.
7627 * elf/Makefile: Add rules to build and run tst-unique4.
7628 Patch by Piotr Bury <pbury@goahead.com>.
7629
22836f52
UD
76302011-05-11 Ulrich Drepper <drepper@gmail.com>
7631
f574184a
UD
7632 [BZ #12052]
7633 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7634
e1fb097f
UD
7635 [BZ #12625]
7636 * misc/mntent_r.c (addmntent): Flush the stream after the output
7637
22836f52
UD
7638 [BZ #12393]
7639 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7640 (is_trusted_path_normalize): Skip initial colon. Append slash
7641 to empty buffer. Duplicate is_trusted_path code but allow
7642 constructed patch to be prefix.
7643 (is_dst): Allow $ORIGIN followed by /.
7644 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7645 Correct testing of result of is_trusted_path_normalize
7646 (decompose_rpath): Fix warning.
7647
7b3b0b2a
UD
76482011-05-10 Ulrich Drepper <drepper@gmail.com>
7649
7650 [BZ #11257]
7651 * grp/initgroups.c (internal_getgrouplist): When we found the service
7652 list through the initgroups entry in nsswitch.conf do not always
7653 continue on a successful lookup. Don't always use the
eac80ce2 7654 __nss_group_database value if it is set.
7b3b0b2a
UD
7655 * nss/nsswitch.conf (initgroups): Change action for successful db
7656 lookup to continue for compatibility.
7657
2a81eaa5
UD
76582011-05-09 Ulrich Drepper <drepper@gmail.com>
7659
be97a69e
UD
7660 [BZ #11532]
7661 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7662 and CP774 modules.
7663 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7664 and CP774 modules.
7665 * iconvdata/tst-tables.sh: Likewise.
7666 * iconvdata/cp770.c: New file.
7667 * iconvdata/cp771.c: New file.
7668 * iconvdata/cp772.c: New file.
7669 * iconvdata/cp773.c: New file.
7670 * iconvdata/cp774.c: New file.
7671 * iconvdata/testdata/CP770: New file.
7672 * iconvdata/testdata/CP770..UTF8: New file.
7673 * iconvdata/testdata/CP771: New file.
7674 * iconvdata/testdata/CP771..UTF8: New file.
7675 * iconvdata/testdata/CP772: New file.
7676 * iconvdata/testdata/CP772..UTF8: New file.
7677 * iconvdata/testdata/CP773: New file.
7678 * iconvdata/testdata/CP773..UTF8: New file.
7679 * iconvdata/testdata/CP774: New file.
7680 * iconvdata/testdata/CP774..UTF8: New file.
7681
7682 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7683 END CHARMAP line.
7684 * iconvdata/gen-8bit-gap.sh: Likewise.
7685 * iconvdata/gen-8bit.sh: Likewise.
7686
c1e9e399
UD
7687 * locale/iso-639.def: Add ary entry.
7688
24c55fb3 7689 [BZ #11258]
96b4b1b0
UD
7690 * locale/C-translit.h.in: Add U20A1 transliteration.
7691
bdc2f971
KB
7692 [BZ #12178]
7693 * locale/iso-639.def: Add wae entry.
7694 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7695
2952b117
UD
7696 [BZ #12545]
7697 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7698 for n.
7699
2a81eaa5
UD
7700 [BZ #12711]
7701 * locale/C-translit.h.in: Add entry for U20B9.
7702 Patch by pravin.d.s@gmail.com.
7703
28377d1b
UD
77042011-05-08 Ulrich Drepper <drepper@gmail.com>
7705
7fb90fb8
UD
7706 [BZ #12713]
7707 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7708 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7709 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7710 in rtld. Use *stat64.
7fb90fb8 7711 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7712 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7713 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7714 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7715 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7716 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7717 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7718 __fstatat64 macros.
7fb90fb8
UD
7719 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7720 * dirent/rewinddir.c: Add libc_hidden_def.
7721 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7722 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7723
28377d1b
UD
7724 * include/dirent.h (__alloc_dir): Add flags parameter.
7725 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7726 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7727 __alloc_dir.
7728 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7729 from fdopendir if O_CLOEXEC is already set.
7730
66bdbaa4
AM
77312011-03-15 Alan Modra <amodra@gmail.com>
7732
7733 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7734 l_tls_firstbyte_offset non-zero. Save padding offset in
7735 l_tls_firstbyte_offset for later use.
7736 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7737 freeing static tls block.
7738
95721191
JN
77392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7740
7741 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7742 where #ifdef was intended. The intent is to prevent ARG_MAX from
7743 being defined by the kernel headers.
7744
f87dfb1f
UD
77452011-05-07 Ulrich Drepper <drepper@gmail.com>
7746
7747 [BZ #12734]
7748 * resolv/resolv.h: Define RES_NOTLDQUERY.
7749 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7750 no-tld-query and set RES_NOTLDQUERY.
7751 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7752 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7753 modern BIND to search name as TLD unless forbidden.
7754
47c3cd7a
UD
77552011-05-07 Petr Baudis <pasky@suse.cz>
7756 Ulrich Drepper <drepper@gmail.com>
7757
7758 [BZ #12393]
7759 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7760 (is_trusted_path): ...to here.
c1e9ea35 7761 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 7762 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 7763 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 7764
8a35c912
PP
77652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7766
7767 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7768 __BEGIN/__END_DECLS.
7769
acd41f47
UD
77702011-05-06 Ulrich Drepper <drepper@gmail.com>
7771
7772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7773 NSS_STATUS_NOTFOUND if no record was found.
7774
597df647
AS
77752011-05-05 Andreas Schwab <schwab@redhat.com>
7776
7777 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7778 (headers-not-in-tirpc): Remove rpc/netdb.h
7779 * resolv/netdb.h: Revert last change.
7780
b9af1301
PP
77812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7782
7783 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7784 circular dependency between libgcc.a and libc.a.
7785
4e34d5f5
AS
77862011-05-05 Andreas Schwab <schwab@redhat.com>
7787
7788 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7789 * nis/Makefile: Don't install rpcsvc/*.
7790 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7791 instead of <rpc/types.h>.
7792 (MAXHOSTNAMELEN): Define.
7793
00ee369c
AS
77942011-05-03 Andreas Schwab <schwab@redhat.com>
7795
7796 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7797
0b592a30
MB
77982011-04-28 Maciej Babinski <mbabinski@google.com>
7799
7800 [BZ #12714]
7801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7802 gethostbyname4_r when IPv6 results are possible.
7803
6e04cbbe
UD
78042011-05-02 Ulrich Drepper <drepper@gmail.com>
7805
7806 [BZ #12723]
7807 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7808 _PC_PIPE_BUF handling.
7809
e4ecafe0
BH
78102011-04-30 Bruno Haible <bruno@clisp.org>
7811
7812 [BZ #12717]
7813 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7814 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7815 to 'int'.
7816 * inet/getnameinfo.c (getnameinfo): Likewise.
7817
125ee683
UD
78182011-04-29 Ulrich Drepper <drepper@gmail.com>
7819
7820 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7821 to groups setting in database lookup.
7822 * nss/nsswitch.conf: Add initgroups entry.
7823
b722481a
EB
78242011-04-22 Ulrich Drepper <drepper@gmail.com>
7825
7826 [BZ #12685]
7827 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7828 mode string.
7829 Patch by Eric Blake <eblake@redhat.com>.
7830
4df46dbd
L
78312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7832
7833 * sunrpc/Makefile (need-export-routines): Add svc_run.
7834 (routines): Remove svc_run.
7835 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7836 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7837 * sunrpc/svc_run.c (svc_run): Likewise.
7838 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7839
e84142d2
UD
78402011-04-21 Ulrich Drepper <drepper@gmail.com>
7841
7842 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7843 problem in reallocation in last patch.
7844
877175d8
UD
78452011-04-20 Ulrich Drepper <drepper@gmail.com>
7846
7847 * sunrpc/Makefile: Move inclusion of Rules.
7848
ab8eed78
UD
78492011-04-19 Ulrich Drepper <drepper@gmail.com>
7850
7851 * nss/nss_files/files-initgroups.c: New file.
7852 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7853 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7854 _nss_files_initgroups_dyn.
7855
e3d8f584
RS
78562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7857
7858 * elf/elf.h (R_ARM_IRELATIVE): Define.
7859
af190f45
UD
78602011-04-19 Ulrich Drepper <drepper@gmail.com>
7861
7862 * po/ru.po: Update from translation team.
7863
53cf59ef
UD
78642011-04-17 Ulrich Drepper <drepper@gmail.com>
7865
7866 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7867 dependencies.
7868
4c559bcd
MF
78692011-02-06 Mike Frysinger <vapier@gentoo.org>
7870
7871 [BZ #12653]
7872 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7873 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7875 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7877
4420675c
AS
78782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7879
7880 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7881 differing bytes.
7882 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7883 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7885
75ea32ab
UD
78862011-04-17 Ulrich Drepper <drepper@gmail.com>
7887
7888 [BZ #12420]
7889 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7890 storing it.
7891 * stdlib/bug-getcontext.c: New file.
7892 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7893
27390476
AK
78942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7895
7896 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7897 instructions into .machine "z9-109".
7898 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7899 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7900
10442705
AK
79012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7902
7903 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7904 between environment variables and auxiliary vector.
7905
7b57bfe5
UD
79062011-04-16 Ulrich Drepper <drepper@gmail.com>
7907
7908 * Makefile: Add rules to build linkobj/libc.so.
7909 * include/libc-symbols.h: Define libc_hidden_nolink.
7910 * include/rpc/auth.h: Mark functions which are to be hidden.
7911 * include/rpc/auth_des.h: Likewise.
7912 * include/rpc/auth_unix.h: Likewise.
7913 * include/rpc/clnt.h: Likewise.
7914 * include/rpc/des_crypt.h: Likewise.
7915 * include/rpc/key_prot.h: Likewise.
7916 * include/rpc/pmap_clnt.h: Likewise.
7917 * include/rpc/pmap_prot.h: Likewise.
7918 * include/rpc/pmap_rmt.h: Likewise.
7919 * include/rpc/rpc_msg.h: Likewise.
7920 * include/rpc/svc.h: Likewise.
7921 * include/rpc/svc_auth.h: Likewise.
7922 * include/rpc/xdr.h: Likewise.
7923 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7924 * nss/Makefile: Likewise.
7925 * sunrpc/Makefile: Don't install headers. Build library with normal
7926 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7927 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7928 for the compat linking library. Remove use of INTDEF/INTUSE.
7929 * sunrpc/auth_none.c: Likewise.
7930 * sunrpc/auth_unix.c: Likewise.
7931 * sunrpc/authdes_prot.c: Likewise.
7932 * sunrpc/authuxprot.c: Likewise.
7933 * sunrpc/clnt_gen.c: Likewise.
7934 * sunrpc/clnt_perr.c: Likewise.
7935 * sunrpc/clnt_raw.c: Likewise.
7936 * sunrpc/clnt_simp.c: Likewise.
7937 * sunrpc/clnt_tcp.c: Likewise.
7938 * sunrpc/clnt_udp.c: Likewise.
7939 * sunrpc/clnt_unix.c: Likewise.
7940 * sunrpc/des_crypt.c: Likewise.
7941 * sunrpc/des_soft.c: Likewise.
7942 * sunrpc/get_myaddr.c: Likewise.
7943 * sunrpc/key_call.c: Likewise.
7944 * sunrpc/key_prot.c: Likewise.
7945 * sunrpc/netname.c: Likewise.
7946 * sunrpc/pm_getmaps.c: Likewise.
7947 * sunrpc/pm_getport.c: Likewise.
7948 * sunrpc/pmap_clnt.c: Likewise.
7949 * sunrpc/pmap_prot.c: Likewise.
7950 * sunrpc/pmap_prot2.c: Likewise.
7951 * sunrpc/pmap_rmt.c: Likewise.
7952 * sunrpc/publickey.c: Likewise.
7953 * sunrpc/rpc_cmsg.c: Likewise.
7954 * sunrpc/rpc_common.c: Likewise.
7955 * sunrpc/rpc_dtable.c: Likewise.
7956 * sunrpc/rpc_prot.c: Likewise.
7957 * sunrpc/rpc_thread.c: Likewise.
7958 * sunrpc/rtime.c: Likewise.
7959 * sunrpc/svc.c: Likewise.
7960 * sunrpc/svc_auth.c: Likewise.
7961 * sunrpc/svc_authux.c: Likewise.
7962 * sunrpc/svc_raw.c: Likewise.
7963 * sunrpc/svc_run.c: Likewise.
7964 * sunrpc/svc_simple.c: Likewise.
7965 * sunrpc/svc_tcp.c: Likewise.
7966 * sunrpc/svc_udp.c: Likewise.
7967 * sunrpc/svc_unix.c: Likewise.
7968 * sunrpc/svcauth_des.c: Likewise.
7969 * sunrpc/xcrypt.c: Likewise.
7970 * sunrpc/xdr.c: Likewise.
7971 * sunrpc/xdr_array.c: Likewise.
7972 * sunrpc/xdr_float.c: Likewise.
7973 * sunrpc/xdr_intXX_t.c: Likewise.
7974 * sunrpc/xdr_mem.c: Likewise.
7975 * sunrpc/xdr_rec.c: Likewise.
7976 * sunrpc/xdr_ref.c: Likewise.
7977 * sunrpc/xdr_sizeof.c: Likewise.
7978 * sunrpc/xdr_stdio.c: Likewise.
7979
e6c61494
UD
79802011-04-10 Ulrich Drepper <drepper@gmail.com>
7981
7982 [BZ #12650]
7983 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7984 * sysdeps/ia64/dl-tls.h: Likewise.
7985 * sysdeps/powerpc/dl-tls.h: Likewise.
7986 * sysdeps/s390/dl-tls.h: Likewise.
7987 * sysdeps/sh/dl-tls.h: Likewise.
7988 * sysdeps/sparc/dl-tls.h: Likewise.
7989 * sysdeps/x86_64/dl-tls.h: Likewise.
7990 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7991
34fe483e
AS
79922011-03-14 Andreas Schwab <schwab@redhat.com>
7993
7994 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7995 rpath element also skip the following colon.
7996 (expand_dynamic_string_token): Add is_path parameter and pass
7997 down to DL_DST_REQUIRED and _dl_dst_substitute.
7998 (decompose_rpath): Call expand_dynamic_string_token with
7999 non-zero is_path. Ignore empty rpaths.
8000 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8001 with zero is_path.
8002
f12a32e6
AS
80032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8004
8005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8006 Make cancelable.
8007
38a7d692
UD
80082011-04-09 Ulrich Drepper <drepper@gmail.com>
8009
8010 [BZ #12655]
8011 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8012 Patch by Filipe David Manana <fdmanana@apache.org>.
8013
e451d22b
AS
80142011-04-07 Andreas Schwab <schwab@redhat.com>
8015
8016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8017 Maintain aligned stack.
8018 (CHECK_RSP): Remove unused macro.
8019
dedc7c7b
UD
80202011-04-03 Ulrich Drepper <drepper@gmail.com>
8021
8022 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8023 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8024
94521213
UD
80252011-04-02 Ulrich Drepper <drepper@gmail.com>
8026
8027 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8028
8cb700c0 8029 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8030
0354e355
L
80312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8032
8033 [BZ #12518]
8034 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8035 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8036 * sysdeps/x86_64/memmove.c: New file.
8037 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8038 (memcpy): Renamed to ...
8039 (__new_memcpy): This.
8040 (memcpy): Provide GLIBC_2_14 memcpy.
8041 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8042 (memcpy): Provide GLIBC_2_2_5 memcpy.
8043
8593482f
UD
80442011-04-01 Ulrich Drepper <drepper@gmail.com>
8045
8046 [BZ #12631]
8047 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8048
81a5726b
AS
80492011-03-30 Andreas Schwab <schwab@redhat.com>
8050
8051 * misc/syncfs.c: New file.
8052 * misc/Makefile (routines): Add syncfs.
8053 * posix/unistd.h: Declare syncfs.
8054 * sysdeps/unix/syscalls.list: Add syncfs.
8055
00e5419f
AS
80562011-04-01 Andreas Schwab <schwab@redhat.com>
8057
8058 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8059 open_by_handle_at.
8060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8061 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8065 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8067
748876bf
UD
80682011-04-01 Ulrich Drepper <drepper@gmail.com>
8069
658e451d
UD
8070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8072 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8076 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8077
748876bf
UD
8078 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8079 sync_file_range.c with -fexceptions.
8080 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8081 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8082 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8083 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8084 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8085 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8086 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8087 sync_file_range as cancellation point
8088 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8089 now a wrapper around __call_sync_file_range with cancellation handling.
8090 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8091 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8092 function name to __call_sync_file_range.
8093 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8094 Add call_sync_file_range.
748876bf 8095
6e63d5e1
AS
80962011-04-01 Andreas Schwab <schwab@redhat.com>
8097
8098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8099 bits/timex.h.
6e63d5e1 8100
46998f74
UD
81012011-04-01 Ulrich Drepper <drepper@gmail.com>
8102
4c1423ed
UD
8103 * iconv/iconv.h: Fix typo in comment.
8104 * io/fcntl.h: Likewise.
8105 * libio/stdio.h: Likewise.
8106 * posix/spawn.h: Likewise.
8107 * posix/unistd.h: Likewise.
8108 * stdlib/stdlib.h: Likewise.
8109 * time/time.h: Likewise.
8110 * wcsmbs/wchar.h: Likewise.
8111
158648c0
UD
8112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8113 open_by_handle): Add.
8114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8115 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8116 Augment a few comments.
8117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8122 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8123 open_by_handle.
8124
46998f74
UD
8125 * io/fcntl.h (AT_EMPTY_PATH): Define.
8126
83fe108b
UD
81272011-03-30 Ulrich Drepper <drepper@gmail.com>
8128
8129 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8130 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8131 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8132 to...
8133 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8134 * Versions.def: Add GLIBC_2.14.
8135 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8136 Export.
83fe108b 8137
bb242059
UD
81382011-03-22 Ulrich Drepper <drepper@gmail.com>
8139
8140 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8141 round counter.
8142 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8143
c97a1282
L
81442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8145
8146 [BZ #12597]
8147 * string/test-strncmp.c (do_page_test): New function.
8148 (check2): Likewise.
8149 (test_main): Call check2.
8150 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8151
2a115601
UD
81522011-03-20 Ulrich Drepper <drepper@gmail.com>
8153
8154 [BZ #12587]
8155 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8156 Handle cache information in CPU leaf 4.
8157 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8158
8126d904
UD
81592011-03-18 Ulrich Drepper <drepper@gmail.com>
8160
042c49c6 8161 [BZ #12583]
8126d904
UD
8162 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8163 character representation.
8164 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8165
ccfe366e
RA
81662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8167
8168 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8169 END(__isnan) to END(__isnanf) to match function entry point/label
8170 EALIGN(__isnanf,...).
8171
c6e13027
JJ
81722011-03-10 Jakub Jelinek <jakub@redhat.com>
8173
8174 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8175
33f85a3f
UD
81762011-03-10 Ulrich Drepper <drepper@gmail.com>
8177
028478fa
UD
8178 [BZ #12510]
8179 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8180 copy from the symbol referenced in the relocation to initialize the
8181 used variable.
8182 Patch by Piotr Bury <pbury@goahead.com>.
8183 * elf/Makefile: Add rules to build and tst-unique3.
8184 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8185 * elf/tst-unique3.cc: New file.
8186 * elf/tst-unique3.h: New file.
8187 * elf/tst-unique3lib.cc: New file.
8188 * elf/tst-unique3lib2.cc: New file.
8189
33f85a3f
UD
8190 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8191
03592fc7
MF
81922011-03-10 Mike Frysinger <vapier@gentoo.org>
8193
8194 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8195 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8196 to _start.
03592fc7 8197
6a5ee102
UD
81982011-03-06 Ulrich Drepper <drepper@gmail.com>
8199
8200 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8201 to-be-loaded object along a path to loader is ld.so.
8202
7e4ba49c
HJ
82032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8204 Ulrich Drepper <drepper@gmail.com>
8205
8206 * sysdeps/x86_64/memset.S: After aligning destination, code
8207 branches to different locations depending on the value of
8208 misalignment, when multiarch is enabled. Fix this.
8209
82102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8211
8212 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8213 Set _x86_64_preferred_memory_instruction for AMD processsors.
8214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8215 Set bit_Prefer_SSE_for_memop for AMD processors.
8216
13a804de
UD
82172011-03-04 Ulrich Drepper <drepper@gmail.com>
8218
8219 * libio/fmemopen.c (fmemopen): Optimize a bit.
8220
9d25c392
AS
82212011-03-03 Andreas Schwab <schwab@redhat.com>
8222
8223 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8224
a5543c6a
RM
82252011-03-03 Roland McGrath <roland@redhat.com>
8226
8227 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8228
012d35f7
DM
82292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8230
7e4ba49c 8231 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8232 __bzero_ultra1 instead of __memset_ultra1.
8233
4bff6e01
AS
82342011-02-23 Andreas Schwab <schwab@redhat.com>
8235 Ulrich Drepper <drepper@gmail.com>
8236
8237 [BZ #12509]
8238 * include/link.h (struct link_map): Add l_orig_initfini.
8239 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8240 returning unsuccessfully.
8241 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8242 close of a file loaded at startup, restore the original l_initfini
8243 list.
8244 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8245 list, store the pointer.
8246 * elf/Makefile ($(objpfx)noload-mem): New rule.
8247 (noload-ENV): Define.
8248 (tests): Add $(objpfx)noload-mem.
8249 * elf/noload.c: Include <memcheck.h>.
8250 (main): Call mtrace. Close all opened handles.
8251
f2092faf
AS
82522011-02-17 Andreas Schwab <schwab@redhat.com>
8253
8254 [BZ #12454]
8255 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8256 dependencies are missing.
8257
6c8a2e88
ST
82582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8259
f2092faf 8260 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8261 Hurd needs munmap.
8262 * sysdeps/mach/hurd/ifreq.h: New file.
8263
84a42118
PB
82642011-01-27 Petr Baudis <pasky@suse.cz>
8265 Ulrich Drepper <drepper@gmail.com>
8266
071f805e 8267 [BZ 12445]#
84a42118
PB
8268 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8269 to extend_alloca().
8270 * stdio-common/bug23.c: New file.
8271 * stdio-common/Makefile (tests): Add bug23.
8272
e23fe25b
AS
82732010-09-28 Andreas Schwab <schwab@redhat.com>
8274 Ulrich Drepper <drepper@gmail.com>
8275
8276 [BZ #12489]
8277 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8278 before performing relro protection. At old place add assertion
8279 to make sure nothing changed.
8280
d3f02e10
NS
82812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8282 Glauber de Oliveira Costa <glommer@gmail.com>
8283
8284 * elf/elf.h: Add new ARM TLS relocs.
8285
d55fd7a5
RA
82862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8287
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8289 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8290 cast from r3.
8291 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8292 'tests' variable.
8293 * sysdeps/wordsize-64/tst-writev.c: New file.
8294
2206397e
RA
82952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8296
8297 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8298 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8299 insns in _dl_start to prevent a TOC reference before relocs are
8300 resolved.
8301
e9433893
UD
83022011-02-15 Ulrich Drepper <drepper@gmail.com>
8303
8304 [BZ #12469]
8305 * Makeconfig: Remove RANLIB definition.
8306 * Makerules: Don't use RANLIB.
8307 * aclocal.m4: Remove ranlib test.
8308 * configure.in: No need to check for ranlib.
8309 * elf/rtld-Rules: Don't use RANLIB.
8310
f75286c6
ST
83112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8312
8e31c82d
ST
8313 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8314 protection macro.
8315 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8316 inclusion protection macro.
8317
f75286c6
ST
8318 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8319 SIGRTMIN and SIGRTMAX and print information in that case only when
8320 SIGRTMIN is defined.
8321
c1d0e639
JJ
83222011-02-11 Jakub Jelinek <jakub@redhat.com>
8323
8324 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8325 arginfo fn returning -1.
8326
8327 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8328 and thousands string is zero terminated.
8329
edf9294e
AS
83302011-02-03 Andreas Schwab <schwab@redhat.com>
8331
8332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8333 sysdeps/unix/sysv/linux/bits/socket.h.
8334
2b7e92df
ST
83352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8336
edf9294e
AS
8337 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8338 (__CPU_COUNT): Remove old macros.
8339 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8340 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8341 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8342 (__sched_cpualloc, __sched_cpufree): Add declarations.
8343
a4c7ea7b
UD
83442011-02-05 Ulrich Drepper <drepper@gmail.com>
8345
8346 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8347 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8348 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8349 (readdhstai): Return value of addhstaiX call.
8350 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8351 (addgrbyX): Return value returned by cache_addgr.
8352 (readdgrbyname): Return value returned by addgrbyX.
8353 (readdgrbygid): Likewise.
8354 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8355 (addpwbyX): Return value returned by cache_addpw.
8356 (readdpwbyname): Return value returned by addhstbyX.
8357 (readdpwbyuid): Likewise.
8358 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8359 (addservbyX): Return value returned by cache_addserv.
8360 (readdservbyname): Return value returned by addservbyX:
8361 (readdservbyport): Likewise.
8362 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8363 (addhstbyX): Return value returned by cache_addhst.
8364 (readdhstbyname): Return value returned by addhstbyX.
8365 (readdhstbyaddr): Likewise.
8366 (readdhstbynamev6): Likewise.
8367 (readdhstbyaddrv6): Likewise.
8368 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8369 (readdinitgroups): Return value returned by addinitgroupsX.
8370 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8371 (prune_cache): Keep track of timeout value of re-added entries.
8372 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8373 * nscd/nscd.h: Adjust prototypes of readd* functions.
8374
a0bf67cc
RM
83752011-02-04 Roland McGrath <roland@redhat.com>
8376
8377 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8378 (nis_stats): Likewise.
8379 * nis/nis_modify.c (nis_modify): Likewise.
8380 * nis/nis_remove.c (nis_remove): Likewise.
8381 * nis/nis_add.c (nis_add): Likewise.
8382
8383 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8384
8385 * posix/fnmatch_loop.c: Add some consts.
8386
8387 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8388
435b95eb
L
83892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8390
8391 [BZ #12460]
8392 * config.make.in (config-cflags-novzeroupper): Define.
8393 * configure.in: Substitute libc_cv_cc_novzeroupper.
8394 * elf/Makefile (AVX-CFLAGS): Define.
8395 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8396 (CFLAGS-tst-auditmod4a.c): Likewise.
8397 (CFLAGS-tst-auditmod4b.c): Likewise.
8398 (CFLAGS-tst-auditmod6b.c): Likewise.
8399 (CFLAGS-tst-auditmod6c.c): Likewise.
8400 (CFLAGS-tst-auditmod7b.c): Likewise.
8401 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8402
8517b15e
UD
84032011-02-02 Ulrich Drepper <drepper@gmail.com>
8404
8405 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8406 function to the callback.
8407 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8408
10a656fe
AS
84092011-02-02 Andreas Schwab <schwab@redhat.com>
8410
8411 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8412 of errno.
8413
968dad0a
UD
84142011-01-19 Ulrich Drepper <drepper@gmail.com>
8415
9f94d2ea 8416 [BZ #11724]
968dad0a
UD
8417 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8418 of constructors.
8419 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8420 of destructors.
8421 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8422
8423 [BZ #11724]
8424 * elf/Makefile: Add rules to build and run new test.
8425 * elf/tst-initorder.c: New file.
8426 * elf/tst-initorder.exp: New file.
8427 * elf/tst-initordera1.c: New file.
8428 * elf/tst-initordera2.c: New file.
8429 * elf/tst-initordera3.c: New file.
8430 * elf/tst-initordera4.c: New file.
8431 * elf/tst-initorderb1.c: New file.
8432 * elf/tst-initorderb2.c: New file.
8433 * elf/tst-order-a1.c: New file.
8434 * elf/tst-order-a2.c: New file.
8435 * elf/tst-order-a3.c: New file.
8436 * elf/tst-order-a4.c: New file.
8437 * elf/tst-order-b1.c: New file.
8438 * elf/tst-order-b2.c: New file.
8439 * elf/tst-order-main.c: New file.
8440 New test case by George Gensure <werkt0@gmail.com>.
8441
86e92359
UD
84422010-10-01 Andreas Schwab <schwab@redhat.com>
8443
8444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8445 decoding ACE if AI_CANONIDN.
8446
5d5732b0
UD
84472011-01-18 Ulrich Drepper <drepper@gmail.com>
8448
8449 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8450
a77e8cbc
UD
84512011-01-17 Ulrich Drepper <drepper@gmail.com>
8452
6392473f
UD
8453 * version.h (RELEASE): Bump for 2.13 release.
8454 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8455
620a0529
UD
8456 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8457
18ba70a5
UD
8458 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8459 MADV_NOHUGEPAGE.
32465c3e
UD
8460 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8462 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8463 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8464 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8465 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8466
c0dafcf1
UD
8467 * posix/getconf.c: Update copyright year.
8468 * catgets/gencat.c: Likewise.
8469 * csu/version.c: Likewise.
8470 * debug/catchsegv.sh: Likewise.
8471 * debug/xtrace.sh: Likewise.
8472 * elf/ldconfig.c: Likewise.
8473 * elf/ldd.bash.in: Likewise.
8474 * elf/sprof.c (print_version): Likewise.
8475 * iconv/iconv_prog.c: Likewise.
8476 * iconv/iconvconfig.c: Likewise.
8477 * locale/programs/locale.c: Likewise.
8478 * locale/programs/localedef.c: Likewise.
8479 * malloc/memusage.sh: Likewise.
8480 * malloc/mtrace.pl: Likewise.
8481 * nscd/nscd.c (print_version): Likewise.
8482 * nss/getent.c: Likewise.
8483
a77e8cbc
UD
8484 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8485 PF_CAIF, and PF_ALG.
8486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8487
77e8bddf
AS
84882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8489
1f20b93a
AS
8490 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8491 (modules-names): Use them.
8492 (ifunc-test-modules, ifunc-pie-tests): Define.
8493 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8494 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8495 (test-extras): Likewise.
8496 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8497 $(compile-command.c).
8498 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8499 (all-built-dso): Define.
8500 (check-textrel.out, check-execstack.out): Depend on it.
8501
77e8bddf
AS
8502 * configure.in: Don't override --enable-multi-arch.
8503
bc425b33
UD
85042011-01-15 Ulrich Drepper <drepper@gmail.com>
8505
8506 [BZ #6812]
8507 * nscd/hstcache.c (tryagain): Define.
8508 (cache_addhst): Return tryagain not notfound for temporary errors.
8509 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8510 failed.
8511
794c3ad3
UD
85122011-01-14 Ulrich Drepper <drepper@gmail.com>
8513
70181fdd
UD
8514 [BZ #10563]
8515 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8516 to make the syscall.
8517 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8518
794c3ad3
UD
8519 [BZ #12378]
8520 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8521 and fall back to matching as normal character if the string ends before
8522 the matching ']' is found. This is what POSIX requires.
8523 * posix/testfnm.c: Adjust test result.
8524 * posix/globtest.sh: Adjust test result. Add new test.
8525 * posix/tst-fnmatch.input: Likewise.
8526 * posix/tst-fnmatch2.c: Add new test.
8527
68dc9497
AS
85282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8529
8530 * elf/Makefile (check-execstack): Revert last change. Depend on
8531 check-execstack.h.
8532 (check-execstack.h): New target.
8533 (generated): Add check-execstack.h.
8534 * elf/check-execstack.c: Include "check-execstack.h".
8535 (main): Revert last change.
8536 (handle_file): Return zero if GNU_STACK is absent and
8537 DEFAULT_STACK_PERMS doesn't include PF_X.
8538
451f001b
UD
85392011-01-13 Ulrich Drepper <drepper@gmail.com>
8540
cfa28e56
UD
8541 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8542 in child fails because the descriptor is already closed.
8cf8ce17
UD
8543 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8544 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8545 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8546
1086d70d
UD
8547 [BZ #12397]
8548 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8549 syscall.
8550
451f001b
UD
8551 [BZ #10484]
8552 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8553 temporary buffer used to handle multi lookups locally.
a85b5cb4 8554 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8555
08769175
UD
85562011-01-12 Ulrich Drepper <drepper@gmail.com>
8557
8558 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8559 loader is ld.so.
8560
5e49c52e
UD
85612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8562
8563 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8564 alignment for SSE2.
8565
60522a5f
UD
85662011-01-12 Ulrich Drepper <drepper@gmail.com>
8567
8568 [BZ #12394]
8569 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8570 characters. When rounding increased number of integer digits recompute
8571 number of groups.
8572 * stdio-common/tst-grouping.c: New file.
8573 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8574
f257bbd7
UD
85752011-01-09 Ulrich Drepper <drepper@gmail.com>
8576
8577 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8578 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8579
8580 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8581 void.
8582 * bits/select.h: Likewise.
8583
fa9c15cb
UD
85842011-01-08 Ulrich Drepper <drepper@gmail.com>
8585
8586 * po/ja.po: Update from translation team.
8587
16c2895f
DM
85882011-01-04 David S. Miller <davem@sunset.davemloft.net>
8589
8590 [BZ #11155]
8591 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8592 implementation just like for lxstat, fxstatat, et al.
8593
2543fef2
JM
85942010-12-27 Jim Meyering <meyering@redhat.com>
8595
8596 [BZ #12348]
8597 * posix/regexec.c (build_trtable): Return failure indication upon
8598 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8599
98727dbe
UD
86002010-12-25 Ulrich Drepper <drepper@gmail.com>
8601
5bd6dc5c
UD
8602 [BZ #12201]
8603 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8604 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8605 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8606 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8607
97983464
UD
8608 [BZ #12207]
8609 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8610
98727dbe
UD
8611 [BZ #12204]
8612 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8613 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8614
4a531bb0
L
86152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8616
8617 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8618 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8619 script has SORT_BY_INIT_PRIORITY.
8620 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8621 NO_CTORS_DTORS_SECTIONS is defined.
8622 * elf/soinit.c: Likewise.
8623 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8624 NO_CTORS_DTORS_SECTIONS is defined.
8625 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8626 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8627 * sysdeps/sh/init-first.c: Likewise.
8628 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8629
07eb4b71
UD
86302010-12-24 Ulrich Drepper <drepper@gmail.com>
8631
8632 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8633 always use the slow path.
8634
30950a5f
RA
86352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8636
8637 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8638 similar rule which adds the sysdep directories to the header search in
8639 order to pick up the correct platform stackinfo.h.
8640 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8641 perform test if it is, otherwise return successfully without testing.
8642 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8643 DEFAULT_STACK_PERMS define in stackinfo.h.
8644 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8645 defined in stackinfo.h.
8646 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8647 DEFAULT_STACK_PERMS defined in stackinfo.h.
8648 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8649 * sysdeps/ia64/stackinfo.h: Likewise.
8650 * sysdeps/s390/stackinfo.h: Likewise.
8651 * sysdeps/sh/stackinfo.h: Likewise.
8652 * sysdeps/sparc/stackinfo.h: Likewise.
8653 * sysdeps/x86_64/stackinfo.h: Likewise.
8654 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8655 PF_X for powerpc64. Retain PF_X for powerpc32.
8656
db753e2c
UD
86572010-12-19 Ulrich Drepper <drepper@gmail.com>
8658
14b697f7
UD
8659 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8660 accurately.
db753e2c
UD
8661 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8662 GETDENTS_64BIT_ALIGNED.
8663
28300719
UD
86642010-12-14 Ulrich Drepper <dreper@gmail.com>
8665
14b697f7 8666 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8667
4f197237
AS
86682010-12-10 Andreas Schwab <schwab@redhat.com>
8669
dbb0472f
AS
8670 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8671 _GNU_SOURCE.
8672
4f197237
AS
8673 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8674 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8675 Remove __restrict.
8676 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8677 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8678
fb88ac72
UD
86792010-12-09 Ulrich Drepper <drepper@gmail.com>
8680
8681 [BZ #11655]
8682 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8683 are initialized.
8684
42acbb92
JJ
86852010-12-09 Jakub Jelinek <jakub@redhat.com>
8686
8687 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8688
c038d98d
UD
86892010-12-03 Ulrich Drepper <drepper@gmail.com>
8690
8691 * po/it.po: Update from translation team.
8692
3a4a2499
L
86932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8694
8695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8696 unused codes.
8697
1e24cf6e
UD
86982010-11-30 Ulrich Drepper <drepper@gmail.com>
8699
8700 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8701
a7690819
AS
87022010-11-24 Andreas Schwab <schwab@redhat.com>
8703
8704 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8705 specially.
8706 (gaih_getanswer_slice): Likewise.
8707
3bf8d1b1
JJ
87082010-10-20 Jakub Jelinek <jakub@redhat.com>
8709
8710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8711
6db52fbb
PB
87122010-05-31 Petr Baudis <pasky@suse.cz>
8713
8714 [BZ #11149]
8715 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8716 silently even in the chroot mode.
8717
eaca7569
UD
87182010-11-22 Ulrich Drepper <drepper@gmail.com>
8719
8720 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8721 last patch a bit. Pretty printing
8722
3056dcdb
UD
87232010-05-31 Petr Baudis <pasky@suse.cz>
8724
8725 [BZ #10085]
8726 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8727 initialization of skip_initgroups_dyn.
8728
cf7c9078
UD
87292010-11-19 Ulrich Drepper <drepper@gmail.com>
8730
8731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8732 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8733
a1fb5e3e
UD
87342010-11-16 Ulrich Drepper <drepper@gmail.com>
8735
8736 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8737
3540d66b
AS
87382010-11-11 Andreas Schwab <schwab@redhat.com>
8739
8740 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8741 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8742 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8743 ($(objpfx)tst-fnmatch-mem): New rule.
8744 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8745 * posix/tst-fnmatch.c (main): Call mtrace.
8746
13b69574
L
87472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8748
8749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8750 Support Intel processor model 6 and model 0x2c.
8751
da93d214
LM
87522010-11-10 Luis Machado <luisgpm@br.ibm.com>
8753
8754 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8755 signed comparison.
8756
8ca52c6e
L
87572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8758
8759 [BZ #12205]
8760 * string/test-strncasecmp.c (check_result): New function.
8761 (do_one_test): Use it.
8762 (check1): New function.
8763 (test_main): Use it.
8764 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8765 Support strcasecmp and strncasecmp.
8766
69da074d
UD
87672010-11-08 Ulrich Drepper <drepper@gmail.com>
8768
8769 [BZ #12194]
8770 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8771 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8772
ff02d528
L
87732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8776 IFUNC support.
8777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8778 memset-x86-64.
8779 * sysdeps/x86_64/multiarch/bzero.S: New file.
8780 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8781 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8782 * sysdeps/x86_64/multiarch/memset.S: New file.
8783 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8785 Set bit_Prefer_SSE_for_memop for Intel processors.
8786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8787 Define.
8788 (index_Prefer_SSE_for_memop): Define.
8789 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8790
344d0b54
LM
87912010-11-04 Luis Machado <luisgpm@br.ibm.com>
8792
8793 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8794 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8795
c0dde15b
UD
87962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8797
8798 [BZ #12191]
8799 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8800 (__x86_64_raw_data_cache_size_half): Likewise.
8801 (__x86_64_raw_shared_cache_size): Likewise.
8802 (__x86_64_raw_shared_cache_size_half): Likewise.
8803
8804 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8805 (__x86_64_raw_data_cache_size_half): Likewise.
8806 (__x86_64_raw_shared_cache_size): Likewise.
8807 (__x86_64_raw_shared_cache_size_half): Likewise.
8808 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8809 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8810 and __x86_64_raw_shared_cache_size_half. Round
8811 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8812 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8813 to multiple of 256 bytes.
8814
0e516e0e
MS
88152010-11-03 Ulrich Drepper <drepper@gmail.com>
8816
8817 [BZ #12167]
8818 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8819 of inacessible symlinks. Verify result of symlink before returning it.
8820 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8821 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8822
0e012e87
ER
88232010-10-28 Erich Ritz <erichritz@gmail.com>
8824
8825 * math/math.h (isinf): Fix typo in comment.
8826
de0ff7bc
UD
88272010-11-01 Ulrich Drepper <drepper@gmail.com>
8828
8829 * po/da.po: Update from translation team.
8830
fa41c84d
UD
88312010-10-26 Ulrich Drepper <drepper@gmail.com>
8832
8833 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8834 is added to the list.
8835
f0967738
AK
88362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8837 Ulrich Drepper <drepper@gmail.com>
8838
8839 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8840 the global list here. Move code to...
8841 (_dl_add_to_namespace_list): ...here. New function.
8842 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8843 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8844 * elf/dl-load.c (lose): Don't remove the element from the list.
8845 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8846 (_dl_map_object): Likewise.
8847
88482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8849
8850 [BZ #12159]
8851 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8852 into all bytes of SSE register.
8853 Patch by Richard Li <richardpku@gmail.com>.
8854
f0967738 88552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8856
8857 [BZ #12140]
8858 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8859 perturbing.
8860
d0b9e94f
MB
88612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8862
8863 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8864 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8865 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8866 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8868 submachine.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8870
8e9f92e9
AS
88712010-10-22 Andreas Schwab <schwab@redhat.com>
8872
8873 * include/dlfcn.h (__RTLD_SECURE): Define.
8874 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8875 mode & __RTLD_SECURE instead.
8876 (open_path): Rename preloaded parameter to secure.
8877 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8878 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8879 * elf/dl-deps.c (openaux): Likewise.
8880 * elf/rtld.c (struct map_args): Remove is_preloaded.
8881 (map_doit): Don't use it.
8882 (dl_main): Likewise.
8883 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8884 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8885
bc96fbda
AS
88862010-09-09 Andreas Schwab <schwab@redhat.com>
8887
8888 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8889 (sysd-rules-targets): Remove duplicates.
8890 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8891 rtld-%.$o dependency.
8892
22cd1c9b
AS
88932010-10-18 Andreas Schwab <schwab@redhat.com>
8894
8895 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8896 _dl_map_object do it.
8897
18edac48
UD
88982010-10-19 Ulrich Drepper <drepper@gmail.com>
8899
8900 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8901 fast fma builtins, define the macros in the C99 standard.
8902 (FP_FAST_FMAF): Likewise.
8903 (FP_FAST_FMAL): Likewise.
8904 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8905
8906 * bits/mathdef.h: Update copyright year.
8907 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8908
d2050124
MM
89092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8910
8911 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8912 builtins, define the macros in the C99 standard.
8913 (FP_FAST_FMAF): Likewise.
8914 (FP_FAST_FMAL): Likewise.
8915 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8916 multiply/add.
8917 (FP_FAST_FMAF): Likewise.
8918
475facd1
JJ
89192010-10-15 Jakub Jelinek <jakub@redhat.com>
8920
8921 [BZ #3268]
8922 * math/libm-test.inc (fma_test): Some new testcases.
8923 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8924 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8925 y and infinite z. Do multiplication by C already in long double.
8926 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8928 y and infinite z. Do bitwise or of inexact bit into u.d.
8929 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8930 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8931 * sysdeps/i386/fpu/s_fma.S: Removed.
8932 * sysdeps/i386/fpu/s_fmal.S: Removed.
8933
7c08a05c
JJ
89342010-10-16 Jakub Jelinek <jakub@redhat.com>
8935
8936 [BZ #3268]
8937 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8938 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8939 computation is not scheduled after fetestexcept. Fix value
8940 of minimum denormal long double.
8941
f3f7372d
JJ
89422010-10-14 Jakub Jelinek <jakub@redhat.com>
8943
8944 [BZ #3268]
8945 * math/libm-test.inc (fma_test): Add some more tests.
8946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8947 correctly.
8948
14d43591
AS
89492010-10-15 Andreas Schwab <schwab@redhat.com>
8950
8951 * scripts/data/localplt-s390-linux-gnu.data: New file.
8952 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8953
5e908464
JJ
89542010-10-13 Jakub Jelinek <jakub@redhat.com>
8955
8956 [BZ #3268]
8957 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8958 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8959 instead of dbl-64.
8960 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8961 inlines.
8962 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8964 if one of x and y is very large and the other is subnormal.
8965 * sysdeps/s390/fpu/s_fmaf.c: New file.
8966 * sysdeps/s390/fpu/s_fma.c: New file.
8967 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8968 * sysdeps/powerpc/fpu/s_fma.S: New file.
8969 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8970 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8971 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8972
89732010-10-12 Jakub Jelinek <jakub@redhat.com>
8974
8975 [BZ #3268]
8976 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8977 fma tests.
8978 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8979 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8980 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8981 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8982 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8983 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8985
b833d51f
UD
89862010-10-12 Ulrich Drepper <drepper@redhat.com>
8987
8988 [BZ #12078]
8989 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8990 * posix/bug-regex31.input: Add test case.
8991
1751705d
UD
89922010-10-11 Ulrich Drepper <drepper@gmail.com>
8993
e9b9cbf5
UD
8994 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8995 * posix/bug-regex31.input: New file.
8996
8997 [BZ #12078]
8998 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8999 (parse_sub_exp): Fix last change, use postorder.
9000
ef06edbe
UD
9001 * posix/bug-regex31.c: New file.
9002 * posix/Makefile: Add rules to build and run bug-regex31.
9003
a129c80d
UD
9004 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9005
9006 [BZ #12078]
9007 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9008
b76b818e
UD
9009 [BZ #12108]
9010 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9011 to have entries in sys_siglist.
9012
1751705d
UD
9013 [BZ #12093]
9014 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9015 be NULL.
9016
9ff8d36f
JJ
90172010-10-07 Jakub Jelinek <jakub@redhat.com>
9018
9019 [BZ #3268]
9020 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9021 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9022 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9023 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9024 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9025 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9026 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9027 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9028 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9029 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9030 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9031 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9032 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9033 * math/ftestexcept.c (fetestexcept): Likewise.
9034 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9035 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9036 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9037 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9038 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9039 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9040 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9041
af325969
UD
90422010-10-11 Ulrich Drepper <drepper@gmail.com>
9043
c579b202 9044 [BZ #12107]
af325969
UD
9045 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9046 newline.
9047
67a67b95
UD
90482010-10-06 Ulrich Drepper <drepper@gmail.com>
9049
9050 * string/bug-strstr1.c: New file.
9051 * string/Makefile: Add rules to build and run bug-strstr1.
9052
5fb308bc
EB
90532010-10-05 Eric Blake <eblake@redhat.com>
9054
9055 [BZ #12092]
9056 * string/str-two-way.h (two_way_long_needle): Always clear memory
9057 when skipping input due to the shift table.
9058
45db99c7
UD
90592010-10-03 Ulrich Drepper <drepper@gmail.com>
9060
3b111893
UD
9061 [BZ #12005]
9062 * malloc/mcheck.c: Handle large requests.
9063
45db99c7
UD
9064 [BZ #12077]
9065 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9066 for strncmp and strncasecmp.
9067 * string/stratcliff.c: Add tests for strcmp and strncmp.
9068 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9069
cf7a1eb8
NI
90702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9071
9072 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9073 __set_fpscr.
9074
6484ba5e
AJ
90752010-09-30 Andreas Jaeger <aj@suse.de>
9076
9077 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9078 (CGROUP_SUPER_MAGIC): Define.
9079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9080 Handle btrfs and cgroup file systems.
9081 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9082 Likewise.
9083
91c42559
LM
90842010-09-27 Luis Machado <luisgpm@br.ibm.com>
9085
9086 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9087 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9088
87a97932
AK
90892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9090
9091 [BZ #12067]
9092 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9093 trying to locate the ELF header.
9094
c21cc9bc
AS
90952010-09-27 Andreas Schwab <schwab@redhat.com>
9096
9097 [BZ #11611]
9098 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9099 Mask out sign-bit copies when constructing f_fsid.
9100
315970f6
PB
91012010-09-24 Petr Baudis <pasky@suse.cz>
9102
9103 * debug/stack_chk_fail_local.c: Add missing licence exception.
9104 * debug/warning-nop.c: Likewise.
9105
1ac7a2c7
JM
91062010-09-15 Joseph Myers <joseph@codesourcery.com>
9107
9108 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9109 implementing getdents64 using getdents syscall, set d_type if
9110 __ASSUME_GETDENTS32_D_TYPE.
9111
56801c50
AS
91122010-09-16 Andreas Schwab <schwab@redhat.com>
9113
9114 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9115 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9116
dda51327
UD
91172010-09-21 Ulrich Drepper <drepper@redhat.com>
9118
9119 [BZ #12037]
9120 * posix/unistd.h: Undo change of feature selection for ftruncate from
9121 2010-01-11.
9122
8ffcee4a
UD
91232010-09-20 Ulrich Drepper <drepper@redhat.com>
9124
a545ecd9 9125 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9126 detection.
9127
e24f0a8b
AS
91282010-09-20 Andreas Schwab <schwab@redhat.com>
9129
9130 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9131 fanotify_mark.
9132 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9133
7291c56f
AS
91342010-09-14 Andreas Schwab <schwab@redhat.com>
9135
9136 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9137 variables after CHECK_SP call.
9138 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9139
bc5fb037
AS
91402010-09-13 Andreas Schwab <schwab@redhat.com>
9141 Ulrich Drepper <drepper@redhat.com>
9142
9143 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9144 re-relocationg ld.so.
9145 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9146 _dl_init_paths call.
9147 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9148 here anymore.
9149
e66e7419
UD
91502010-09-14 Ulrich Drepper <drepper@redhat.com>
9151
9152 * resolv/res_init.c (__res_vinit): Count the default server we added.
9153
c044aa75
CLT
91542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9155 Ulrich Drepper <drepper@redhat.com>
9156
9157 [BZ #11968]
9158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9159 (____longjmp_chk): Use %ebx for saving value across system call.
9160 Add unwind info.
9161
32cf4069
AS
91622010-09-06 Andreas Schwab <schwab@redhat.com>
9163
9164 * manual/Makefile: Don't mix pattern rules with normal rules.
9165
817328ee
AS
91662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9167
9168 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9169 operation.
9170 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9171 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9172 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9173 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9175 Likewise.
9176
29fddf61
UD
91772010-09-04 Ulrich Drepper <drepper@redhat.com>
9178
9179 [BZ #11979]
9180 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9181 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9182
0959ffc9
UD
91832010-09-02 Ulrich Drepper <drepper@redhat.com>
9184
9185 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9186 * sysdeps/x86_64/addmul_1.S: Likewise.
9187 * sysdeps/x86_64/lshift.S: Likewise.
9188 * sysdeps/x86_64/mul_1.S: Likewise.
9189 * sysdeps/x86_64/rshift.S: Likewise.
9190 * sysdeps/x86_64/sub_n.S: Likewise.
9191 * sysdeps/x86_64/submul_1.S: Likewise.
9192
ece29840
ST
91932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9194
0959ffc9
UD
9195 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9196 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9197 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9198 * bits/sched.h [__need_schedparam]
ece29840 9199 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9200 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9201 (__defined_schedparam): Define to 1.
ece29840
ST
9202 (__sched_param): New structure, identical to sched_param.
9203 (__need_schedparam): Undefine.
9204
e53a31fe
MF
92052010-08-31 Mike Frysinger <vapier@gentoo.org>
9206
fdc0c10d
MF
9207 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9208 (epoll_create1): Declare.
9209
e53a31fe
MF
9210 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9211
a726d796
AS
92122010-08-31 Andreas Schwab <schwab@redhat.com>
9213
9214 [BZ #7066]
9215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9216 shifting retval into place.
9217
2f3e3dc7
UD
92182010-09-01 Ulrich Drepper <drepper@redhat.com>
9219
f2933da9
UD
9220 * nis/rpcsvc/nis.h: Update copyright notice.
9221 * nis/rpcsvc/nis.x: Likewise.
9222 * nis/rpcsvc/nis_callback.h: Likewise.
9223 * nis/rpcsvc/nis_callback.x: Likewise.
9224 * nis/rpcsvc/nis_object.x: Likewise.
9225 * nis/rpcsvc/nis_tags.h: Likewise.
9226 * nis/rpcsvc/yp.h: Likewise.
9227 * nis/rpcsvc/yp.x: Likewise.
9228 * nis/rpcsvc/ypupd.h: Likewise.
9229 * nis/yp_xdr.c: Likewise.
9230 * nis/ypupdate_xdr.c: Likewise.
9231
2f3e3dc7
UD
9232 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9233 mainly the body of pmap_getport. Add parameters to specify timeouts.
9234 (pmap_getport): Use __libc_rpc_getport.
9235 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9236 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9237 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9238
f3dcc2f9
AS
92392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9240
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9242 fanotify_mark.
9243
6d34eb5b
RM
92442010-08-27 Roland McGrath <roland@redhat.com>
9245
9246 * sysdeps/i386/i686/multiarch/Makefile
9247 (CFLAGS-varshift.c): New variable.
9248
9ea3de11
UD
92492010-08-27 Ulrich Drepper <drepper@redhat.com>
9250
c96d23fc
UD
9251 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9252 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9253
9ea3de11
UD
9254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9255
9256 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9257
623aac7f
L
92582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9259
9260 * sysdeps/x86_64/strlen.S: Unroll the loop.
9261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9262 strlen-sse2 strlen-sse2-bsf.
9263 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9264 __strlen_no_bsf if bit_Slow_BSF is set.
9265 (__strlen_sse42): Removed.
9266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9267 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9268
8b2b7715
RM
92692010-08-25 Roland McGrath <roland@redhat.com>
9270
9271 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9272 * sysdeps/x86_64/multiarch/varshift.c: New file.
9273 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9274 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9275 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9276 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9277
e73015f2
L
92782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9279
9280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9281 strlen-sse2 strlen-sse2-bsf.
9282 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9283 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9284 (__strlen_sse2): Removed.
9285 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9288 bit_Slow_BSF for Atom.
9289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9290 (index_Slow_BSF): Define.
9291 (HAS_SLOW_BSF): Define.
9292
df24a73e
UD
92932010-08-25 Ulrich Drepper <drepper@redhat.com>
9294
9295 [BZ #10851]
9296 * resolv/res_init.c (__res_vinit): When no server address at all
9297 is given default to loopback.
9298
f2ac4868
RM
92992010-08-24 Roland McGrath <roland@redhat.com>
9300
09055553
RM
9301 * configure.in: Remove config-name.h generation.
9302 * configure: Regenerated.
9303 * config-name.in: File removed.
9304 * scripts/config-uname.sh: New file.
9305 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9306 ($(objdir)config-name.h): New target.
9307
f2ac4868
RM
9308 * sunrpc/rpc_parse.h: Avoid nested comment.
9309
73f27d5e
RH
93102010-08-24 Richard Henderson <rth@redhat.com>
9311 Ulrich Drepper <drepper@redhat.com>
9312 H.J. Lu <hongjiu.lu@intel.com>
9313
9314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9316 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9317 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9318 _mm_alignr_epi8 with _mm_loadu_si128.
9319 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9320 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9321 (__m128i_shift_right): Removed.
9322 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9323 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9324 * sysdeps/x86_64/multiarch/varshift.h: New file.
9325 * sysdeps/x86_64/multiarch/varshift.S: New file.
9326
84b9230c
MF
93272010-08-21 Mike Frysinger <vapier@gentoo.org>
9328
9329 * configure.in: Move assembler checks to before sysdep dir checking.
9330
9bbd0ddc
PB
93312010-08-20 Petr Baudis <pasky@suse.cz>
9332
9333 * LICENSES: Sync the sunrpc license.
9334
9da4bb31
UD
93352010-08-19 Ulrich Drepper <drepper@redhat.com>
9336
a7ab6ec8
UD
9337 * sunrpc/auth_des.c: Update copyright notice once again.
9338 * sunrpc/auth_none.c: Likewise.
9339 * sunrpc/auth_unix.c: Likewise.
9340 * sunrpc/authdes_prot.c: Likewise.
9341 * sunrpc/authuxprot.c: Likewise.
9342 * sunrpc/bindrsvprt.c: Likewise.
9343 * sunrpc/clnt_gen.c: Likewise.
9344 * sunrpc/clnt_perr.c: Likewise.
9345 * sunrpc/clnt_raw.c: Likewise.
9346 * sunrpc/clnt_simp.c: Likewise.
9347 * sunrpc/clnt_tcp.c: Likewise.
9348 * sunrpc/clnt_udp.c: Likewise.
9349 * sunrpc/clnt_unix.c: Likewise.
9350 * sunrpc/des_crypt.c: Likewise.
9351 * sunrpc/des_soft.c: Likewise.
9352 * sunrpc/get_myaddr.c: Likewise.
9353 * sunrpc/getrpcport.c: Likewise.
9354 * sunrpc/key_call.c: Likewise.
9355 * sunrpc/key_prot.c: Likewise.
9356 * sunrpc/openchild.c: Likewise.
9357 * sunrpc/pm_getmaps.c: Likewise.
9358 * sunrpc/pm_getport.c: Likewise.
9359 * sunrpc/pmap_clnt.c: Likewise.
9360 * sunrpc/pmap_prot.c: Likewise.
9361 * sunrpc/pmap_prot2.c: Likewise.
9362 * sunrpc/pmap_rmt.c: Likewise.
9363 * sunrpc/rpc/auth.h: Likewise.
9364 * sunrpc/rpc/auth_unix.h: Likewise.
9365 * sunrpc/rpc/clnt.h: Likewise.
9366 * sunrpc/rpc/des_crypt.h: Likewise.
9367 * sunrpc/rpc/key_prot.h: Likewise.
9368 * sunrpc/rpc/netdb.h: Likewise.
9369 * sunrpc/rpc/pmap_clnt.h: Likewise.
9370 * sunrpc/rpc/pmap_prot.h: Likewise.
9371 * sunrpc/rpc/pmap_rmt.h: Likewise.
9372 * sunrpc/rpc/rpc.h: Likewise.
9373 * sunrpc/rpc/rpc_des.h: Likewise.
9374 * sunrpc/rpc/rpc_msg.h: Likewise.
9375 * sunrpc/rpc/svc.h: Likewise.
9376 * sunrpc/rpc/svc_auth.h: Likewise.
9377 * sunrpc/rpc/types.h: Likewise.
9378 * sunrpc/rpc/xdr.h: Likewise.
9379 * sunrpc/rpc_clntout.c: Likewise.
9380 * sunrpc/rpc_cmsg.c: Likewise.
9381 * sunrpc/rpc_common.c: Likewise.
9382 * sunrpc/rpc_cout.c: Likewise.
9383 * sunrpc/rpc_dtable.c: Likewise.
9384 * sunrpc/rpc_hout.c: Likewise.
9385 * sunrpc/rpc_main.c: Likewise.
9386 * sunrpc/rpc_parse.c: Likewise.
9387 * sunrpc/rpc_parse.h: Likewise.
9388 * sunrpc/rpc_prot.c: Likewise.
9389 * sunrpc/rpc_sample.c: Likewise.
9390 * sunrpc/rpc_scan.c: Likewise.
9391 * sunrpc/rpc_scan.h: Likewise.
9392 * sunrpc/rpc_svcout.c: Likewise.
9393 * sunrpc/rpc_tblout.c: Likewise.
9394 * sunrpc/rpc_util.c: Likewise.
9395 * sunrpc/rpc_util.h: Likewise.
9396 * sunrpc/rpcinfo.c: Likewise.
9397 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9398 * sunrpc/rpcsvc/key_prot.x: Likewise.
9399 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9400 * sunrpc/rpcsvc/mount.x: Likewise.
9401 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9402 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9403 * sunrpc/rpcsvc/rex.x: Likewise.
9404 * sunrpc/rpcsvc/rstat.x: Likewise.
9405 * sunrpc/rpcsvc/rusers.x: Likewise.
9406 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9407 * sunrpc/rpcsvc/spray.x: Likewise.
9408 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9409 * sunrpc/rtime.c: Likewise.
9410 * sunrpc/svc.c: Likewise.
9411 * sunrpc/svc_auth.c: Likewise.
9412 * sunrpc/svc_authux.c: Likewise.
9413 * sunrpc/svc_raw.c: Likewise.
9414 * sunrpc/svc_run.c: Likewise.
9415 * sunrpc/svc_simple.c: Likewise.
9416 * sunrpc/svc_tcp.c: Likewise.
9417 * sunrpc/svc_udp.c: Likewise.
9418 * sunrpc/svc_unix.c: Likewise.
9419 * sunrpc/svcauth_des.c: Likewise.
9420 * sunrpc/xcrypt.c: Likewise.
9421 * sunrpc/xdr.c: Likewise.
9422 * sunrpc/xdr_array.c: Likewise.
9423 * sunrpc/xdr_float.c: Likewise.
9424 * sunrpc/xdr_mem.c: Likewise.
9425 * sunrpc/xdr_rec.c: Likewise.
9426 * sunrpc/xdr_ref.c: Likewise.
9427 * sunrpc/xdr_sizeof.c: Likewise.
9428 * sunrpc/xdr_stdio.c: Likewise.
9429
9da4bb31
UD
9430 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9431 handling.
9432
bdaa77bc
AS
94332010-08-19 Andreas Schwab <schwab@redhat.com>
9434
9435 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9436
fe2f79db
LM
94372010-08-19 Luis Machado <luisgpm@br.ibm.com>
9438
9439 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9440 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9441 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9442 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9443 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9444 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9445 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9446 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9447 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9448 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9449 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9450 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9451 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9452 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9453
b9b42ee0
AB
94542010-07-26 Anton Blanchard <anton@samba.org>
9455
9456 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9457 * malloc/arena.c (heap_trim): Likewise.
9458
1c06ba31
UD
94592010-08-16 Ulrich Drepper <drepper@redhat.com>
9460
9461 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9462 here. Not...
9463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9464 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9465
f8392f40
L
94662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9467
9468 * sysdeps/i386/elf/Makefile: New file.
9469
3162f12e
AS
94702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9471
9472 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9473 from fanotify_init.
9474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9475 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9476
28c90b2c
UD
94772010-08-15 Ulrich Drepper <drepper@redhat.com>
9478
9479 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9480 of strncasecmp_l.
1feccb6c 9481 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9482
ca6bb004
UD
94832010-08-14 Ulrich Drepper <drepper@redhat.com>
9484
e9f82e0d
UD
9485 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9486 strncase_l-nonascii.
9487 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9488 Add strncase_l-ssse3.
9489 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9490 * sysdeps/x86_64/strcmp.S: Likewise.
9491 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9492 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9493 * sysdeps/x86_64/strncase.S: New file.
9494 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9495 * sysdeps/x86_64/strncase_l.S: New file.
9496 * string/Makefile (strop-tests): Add strncasecmp.
9497 * string/test-strncasecmp.c: New file.
9498
9499 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9500 warning.
9501
ca6bb004
UD
9502 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9503 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9504
052fa7b3
AS
95052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9506
9507 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9508
962dba78
UD
95092010-08-12 Ulrich Drepper <drepper@redhat.com>
9510
9511 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9512 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9513 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9514
bebff237
AM
95152010-05-01 Alan Modra <amodra@gmail.com>
9516
9517 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9518 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9519 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9520 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9521 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9522 tidying. Don't tail-call __sigjmp_save for static lib.
9523 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9524 save location.
9525 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9526 (CALL_MCOUNT): Add eh info, and nop after bl.
9527 (TAIL_CALL_SYSCALL_ERROR): New macro.
9528 (PSEUDO_RET): Use it.
9529 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9530 Correct save location of integer regs and cr.
9531 (_dl_profile_resolve): Correct cr save location. Delete nops
9532 after bl when SHARED. Reduce cfi size a little by better
9533 placement of cfi directives.
9534 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9535 make a stack frame. Instead use parm save area as a temp.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9537 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9539 Don't make a stack frame for parent, use parm save area.
9540 Increase child stack frame to 112 bytes. Don't save unused reg,
9541 and adjust reg usage. Set up cfi on error recovery and
9542 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9544 (__makecontext): Add dummy nop after jump to exit.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9546 Use correct parm save area and cr save, reduce stack frame.
9547 Correct cfi for possible PSEUDO_RET frame setup.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9549 Branch to local label emitted by PSEUDO_RET rather than
9550 __syscall_error.
9551
02637374
AS
95522010-08-12 Andreas Schwab <schwab@redhat.com>
9553
9554 [BZ #11904]
9555 * locale/programs/locale.c (print_assignment): New function.
9556 (show_locale_vars): Use it.
9557
c3e2f19b
UD
95582010-08-11 Ulrich Drepper <drepper@redhat.com>
9559
3cdaa6ad
UD
9560 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9561 field.
9562 (struct statfs64): Likewise.
9563 (_STATFS_F_FLAGS): Define.
9564 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9565 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9566 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9567 (ST_VALID): Define locally.
9568 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9569 __statvfs_getflags, use the provided value.
9570 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9571 __ASSUME_STATFS_F_FLAGS.
9572
754f7da3
UD
9573 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9574
10b3bedc
UD
9575 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9576 Add sys/fanotify.h.
9577 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9578 fanotify_mask for GLIBC_2.13.
9579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9580 fanotify_init and fanotify_mark.
9581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9582 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9583
c08fb0d7
UD
9584 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9585 Add prlimit.
9586 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9587 prlimit64 for GLIBC_2.13.
9588 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9589 prlimit64.
9590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9591 syscall.
9592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9593 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9594 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9595 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9597 add prlimit alias.
9598 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9599
15bac72b
UD
9600 [BZ #11903]
9601 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9602 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9603
c3e2f19b
UD
9604 * nss/Makefile: Add rules to build and run tst-nss-test1.
9605 * shlib-versions: Add entry for libnss_test1.
9606 * nss/nss_test1.c: New file.
9607 * nss/tst-nss-test1.c: New file.
9608
9609 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9610 (__nss_configure_lookup): Set appropriate entry in
9611 __nss_configure_lookup to true.
9612 * nss/nsswitch.h: Define enum with indeces of databases in
9613 databases and __nss_database_custom arrays. Declare
9614 __nss_database_custom.
9615 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9616 to avoid using nscd when custom rules are installed.
9617 * nss/getXXbyYY_r.c: Likewise.
9618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9619
9620 * nss/nss_files/files-parse.c: Whitespace fixes.
9621
f15ce4d8
UD
96222010-08-09 Ulrich Drepper <drepper@redhat.com>
9623
9624 [BZ #11883]
9625 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9626 * posix/fnmatch_loop.c: Likewise.
9627
d22e4cc9
AK
96282010-07-17 Andi Kleen <ak@linux.intel.com>
9629
9630 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9631 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9632 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9633 * Versions.def [GLIBC_2.13]: Add.
9634
805bc17d
UD
96352010-08-06 Ulrich Drepper <drepper@redhat.com>
9636
9637 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9638 Also fail if tpwd after pwuid call is NULL.
9639
5a42321d
ST
96402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9641
9642 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9643 when converting to ms.
9644
fd3ebeda
ST
96452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9646
9647 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9648 EOPNOTSUPP errors with ENOTTY.
9649 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9650 EOPNOTSUPP errors with ENOTTY.
9651
73507d3a
UD
96522010-07-31 Ulrich Drepper <drepper@redhat.com>
9653
9654 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9655 Add strcasecmp_l-ssse3.
9656 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9657 strcasecmp.
9658 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9659 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9660 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9661
fe36dd02
UD
96622010-07-30 Ulrich Drepper <drepper@redhat.com>
9663
66f6765a
UD
9664 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9665
42e08a54
UD
9666 * string/Makefile (strop-tests): Add strcasecmp.
9667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9668 strcasecmp_l-nonascii.
9669 (gen-as-const-headers): Add locale-defines.sym.
9670 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9671 * sysdeps/x86_64/strcasecmp.S: New file.
9672 * sysdeps/x86_64/strcasecmp_l.S: New file.
9673 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9674 * sysdeps/x86_64/locale-defines.sym: New file.
9675 * string/test-strcasecmp.c: New file.
9676
fe36dd02
UD
9677 * string/test-strcasestr.c: Test both ends of the range of characters.
9678 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9679
48cbc0d6
RM
96802010-07-29 Roland McGrath <roland@redhat.com>
9681
76e6d6bc 9682 [BZ #11856]
48cbc0d6
RM
9683 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9684
880113d9
UD
96852010-07-27 Ulrich Drepper <drepper@redhat.com>
9686
9687 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9688 for ld.so.
9689
deb9cabb
AS
96902010-07-27 Andreas Schwab <schwab@redhat.com>
9691
9692 * manual/memory.texi (Malloc Tunable Parameters): Document
9693 M_PERTURB.
9694
1c7570ff
RM
96952010-07-26 Roland McGrath <roland@redhat.com>
9696
9697 [BZ #11840]
9698 * configure.in (-fgnu89-inline check): Set and substitute
9699 gnu89_inline, not libc_cv_gnu89_inline.
9700 * configure: Regenerated.
9701 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9702
24fb0f88
UD
97032010-07-26 Ulrich Drepper <drepper@redhat.com>
9704
9705 * string/test-strnlen.c: New file.
9706 * string/Makefile (strop-tests): Add strnlen.
9707 * string/tester.c (test_strnlen): Add a few more test cases.
9708 * string/tst-strlen.c: Better error reporting.
9709
9710 * sysdeps/x86_64/strnlen.S: New file.
9711
8e96b93a
UD
97122010-07-24 Ulrich Drepper <drepper@redhat.com>
9713
9714 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9715 lower-latency instructions.
9716
dbc676d4
UD
97172010-07-23 Ulrich Drepper <drepper@redhat.com>
9718
9719 * string/test-strcasestr.c: New file.
9720 * string/test-strstr.c: New file.
9721 * string/Makefile (strop-tests): Add strstr and strcasestr.
9722 * string/str-two-way.h: Don't undefine MAX.
9723 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9724
f6a31e0e
AS
97252010-07-21 Andreas Schwab <schwab@redhat.com>
9726
9727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9728 strcasestr-nonascii.
9729 (CFLAGS-strcasestr-nonascii.c): Define.
9730 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9732 Remove unused attribute.
9733
5dbc3b6c
RM
97342010-07-20 Roland McGrath <roland@redhat.com>
9735
9736 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9737 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9738 ld.so.cache was broken. With it, there is no way to disable dsocaps
9739 like LD_HWCAP_MASK can disable hwcaps.
9740
23d101d8
EPM
97412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9742
9743 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9744
cc9f2e47
UD
97452010-07-16 Ulrich Drepper <drepper@redhat.com>
9746
9747 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9748 call in strcasestr.
9749 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9750 __strcasestr_sse42_nonascii.
9751 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9752 strcasestr-nonascii.c.
9753 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9754
77c1b069
LM
97552010-06-15 Luis Machado <luisgpm@br.ibm.com>
9756
9757 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9759 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9760 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9761
440566c3
UD
97622010-07-09 Ulrich Drepper <drepper@redhat.com>
9763
9764 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9765 fcntl.
9766
5be9d05d
AS
97672010-07-06 Andreas Schwab <schwab@redhat.com>
9768
c30b7ee2 9769 [BZ #11577]
5be9d05d
AS
9770 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9771 dl_signal_cerror.
9772
8a492a67
UD
97732010-07-06 Ulrich Drepper <drepper@redhat.com>
9774
9775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9776 _PC_PIPE_BUF using F_GETPIPE_SZ.
9777
713df3d5
RM
97782010-07-05 Roland McGrath <roland@redhat.com>
9779
9780 * manual/arith.texi (Rounding Functions): Fix rint description
9781 implicit in round description.
9782
702e8f14
UD
97832010-07-02 Ulrich Drepper <drepper@redhat.com>
9784
9785 * elf/Makefile: Fix linking for a few tests to make recent linker
9786 happy.
9787
52ed8be9
AS
97882010-06-30 Andreas Schwab <schwab@redhat.com>
9789
9790 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9791 $(common-objpfx)libc_nonshared.a.
9792
f47c9a11
LM
97932010-06-21 Luis Machado <luisgpm@br.ibm.com>
9794
9795 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9796 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9797 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9798 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9799 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9800 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9801 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9802 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9817 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9818 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9819 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9820 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9821 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9822 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9823 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9824 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9825 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9826 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9827 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9828 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9843
6fb8cbcb
L
98442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9845
9846 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9847 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9848 * string/memmove.c (memmove): Renamed to ...
9849 (MEMMOVE): ...this. Default to memmove.
9850 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9851 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9852 (END_CHK): Define.
9853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9854 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9855 mempcpy-ssse3-back memmove-ssse3-back.
9856 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9857 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9859 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9860 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9861 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9862 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9863 * sysdeps/x86_64/multiarch/memmove.c: New file.
9864 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9865 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9866 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9867 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9868 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9870 Define.
9871 (index_Fast_Copy_Backward): Define.
9872 (HAS_ARCH_FEATURE): Define.
9873 (HAS_FAST_REP_STRING): Define.
9874 (HAS_FAST_COPY_BACKWARD): Define.
9875
4e733bac 98762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9877
9878 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9879 Restore proper fallback handling.
9880
63c4ed22
UD
98812010-06-19 Ulrich Drepper <drepper@redhat.com>
9882
ac2b484c
UD
9883 [BZ #11701]
9884 * posix/group_member.c (__group_member): Correct checking loop.
9885
63c4ed22
UD
9886 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9887 OOM in getpwuid_r correctly. Return error number when the caller
9888 should return, otherwise -1.
9889 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9890 call returning > 0 value.
9891 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9892
765ade4b
AS
98932010-06-07 Andreas Schwab <schwab@redhat.com>
9894
9895 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9896 libc_nonshared.a from targets in modules-names.
9897
80da2e09
KS
98982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9899
9900 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9901 requires it.
9902
158db122
LM
99032010-06-10 Luis Machado <luisgpm@br.ibm.com>
9904
9905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9906 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9909
caa78cf8
AS
99102010-06-02 Andreas Schwab <schwab@redhat.com>
9911
9912 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9913
b2ef2c01
UD
99142010-06-14 Ulrich Drepper <drepper@redhat.com>
9915
9916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9917 and F_GETPIPE_SZ.
9918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9923 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9924
fbd643b6
RM
99252010-06-14 Roland McGrath <roland@redhat.com>
9926
9927 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9928
f32f2869
JJ
99292010-06-07 Jakub Jelinek <jakub@redhat.com>
9930
9931 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9932 __REDIRECT followed by __THROW.
9933 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9934 * posix/getopt.h (getopt): Likewise.
9935
2a50c078
EPM
99362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9937
9938 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9939 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9940 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9941 in AT_FLAGS.
9942 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9943 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9944
eb5ad2eb
LM
99452010-05-28 Luis Machado <luisgpm@br.ibm.com>
9946
9947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9948
3c88fe1e
L
99492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 [BZ #11640]
9952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9953 Properly check family and model.
9954
d2f73151
TY
99552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9956
9957 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9958
ebd2e13d
LM
99592010-05-24 Luis Machado <luisgpm@br.ibm.com>
9960
9961 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9962
b32b8b45
UD
99632010-05-21 Ulrich Drepper <drepper@redhat.com>
9964
9965 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9966 symbol reference.
9967
9acbe24d
AS
99682010-05-19 Andreas Schwab <schwab@redhat.com>
9969
9970 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9971 symbol reference.
9972
f0ccf6ea
AS
99732010-05-21 Andreas Schwab <schwab@redhat.com>
9974
3d04ff3a
AS
9975 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9976 and internal_recvmmsg.
9977 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9978 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9979 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9980 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9981
f0ccf6ea
AS
9982 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9983 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9984 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9985
5b08ac57
AS
99862010-05-20 Andreas Schwab <schwab@redhat.com>
9987
9988 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9989
4828935d
LM
99902010-05-17 Luis Machado <luisgpm@br.ibm.com>
9991
9992 POWER7 optimizations.
9993 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9994 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9995
373d545e
UD
99962010-05-19 Ulrich Drepper <drepper@redhat.com>
9997
9998 * version.h: Update for 2.13 development version.
9999
21a2b1ae
AS
100002010-05-12 Andrew Stubbs <ams@codesourcery.com>
10001
10002 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10003 exceptions. Return 0.
10004
3f7dcb2b
RM
100052010-05-07 Roland McGrath <roland@redhat.com>
10006
10007 * elf/ldconfig.c (main): Add a const.
10008
5f24d53a 100092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10010
a160f8d8
UD
10011 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10012 (args_options): Add no-idn option.
10013 (ahosts_keys_int): Add idn_flags to ai_flags.
10014 (parse_option): Handle 'i' option to clear idn_flags.
10015
5f24d53a
UD
10016 * malloc/malloc.c (_int_free): Possible race in the most recently
10017 added check. Only act on the data if no current modification
10018 happened.
265bb1ce
UD
10019
10020See ChangeLog.17 for earlier changes.