]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix atan2 spurious exceptions (bug 11451).
[glibc.git] / ChangeLog
CommitLineData
83d1aec8
JM
12012-03-19 Joseph Myers <joseph@codesourcery.com>
2
7726d6a9
JM
3 [BZ #11451]
4 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5 x and y.
6 * math/libm-test.inc (atan2_test): Add another test.
7
83d1aec8
JM
8 * Makerules (common-objdir-compile): Remove.
9 * sysdeps/unix/Makefile (config-generated): Do not add
10 $(unix-generated) to variable.
11 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13 Remove rule.
14 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15 Likewise.
16 [generic bits/local_lim.h] (before-compile): Do not append to
17 variable.
18 [generic bits/local_lim.h] (common-generated): Likewise.
19 [generic sys/param.h] (before-compile): Do not append to variable.
20 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24 include.
25 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27 [generic sys/param.h] ($(addprefix
28 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29 [generic sys/param.h] (common-generated): Do not append to
30 variable.
31 [generic sys/param.h] (sysdep_headers): Likewise.
32 [generic bits/errno.h] (before-compile): Do not append to
33 variable.
34 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35 rule.
36 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39 [generic bits/errno.h] (common-generated): Do not append to
40 variable.
41 [generic bits/ioctls.h] (before-compile): Do not append to
42 variable.
43 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44 rule.
45 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48 rule.
49 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52 [generic bits/ioctls.h] (common-generated): Do not append to
53 variable.
54 [generic sys/syscall.h] (syscall.h): Remove variable.
55 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56 rule.
57 [generic sys/syscall.h] (before-compile): Do not append to
58 variable.
59 [generic sys/syscall.h] (common-generated): Likewise.
60 * sysdeps/unix/errnos-tmpl.c: Remove file.
61 * sysdeps/unix/errnos.awk: Likewise.
62 * sysdeps/unix/ioctls-tmpl.c: Likewise.
63 * sysdeps/unix/ioctls.awk: Likewise.
64 * sysdeps/unix/mk-local_lim.c: Likewise.
65 * sysdeps/unix/snarf-ioctls: Likewise.
66
4851a949
RH
672012-03-19 Richard Henderson <rth@twiddle.net>
68
bd37f2ee
RH
69 * sysdeps/i386/fpu/fenv_private.h: New file.
70 * sysdeps/i386/fpu/math_private.h: Use it.
71 (math_opt_barrier, math_force_eval): Remove.
72 (libc_feholdexcept_setround_53bit): Remove.
73 (libc_feupdateenv_53bit): Remove.
74 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75 (math_opt_barrier, math_force_eval): Remove.
76 (libc_feholdexcept): Remove.
77 (libc_feholdexcept_setround): Remove.
78 (libc_fetestexcept, libc_fesetenv): Remove.
79 (libc_feupdateenv_test): Remove.
80 (libc_feupdateenv, libc_feholdsetround): Remove.
81 (libc_feresetround): Remove.
82
d0adc922
RH
83 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85
0fe0f1f8
RH
86 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
87 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
88 (libc_feupdateenv_testl): New.
89 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
90 (libc_feupdateenv_testf): New.
91 (libc_feupdateenv): Use libc_feupdateenv_test.
92 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
93 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
94
eb92c487
RH
95 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
96 (libc_feholdsetroundf, libc_feholdsetroundl): New.
97 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
98 (libc_feresetround_noex): New.
99 (libc_feresetround_noexf): New.
100 (libc_feresetround_noexl): New.
101 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
102 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
103 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
104 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
105 SET_RESTORE_ROUND.
106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
107 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
108 (__cos): Likewise.
109 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
110 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
111 SET_RESTORE_ROUND_NOEX.
112 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
113 SET_RESTORE_ROUND_NOEXF.
114 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
115 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
116 (libc_feholdsetroundf): New.
117 (libc_feresetround, libc_feresetroundf): New.
118
7d2e8012
RH
119 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
120 (libc_feholdexcept_setround_53bit): Convert from macro to function.
121 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
122
b4dabbb4
RH
123 * sysdeps/generic/math_private.h: Include <fenv.h>.
124 (default_libc_feholdexcept): New.
125 (default_libc_feholdexcept_setround): New.
126 (default_libc_fesetenv, default_libc_feupdateenv): New.
127 (libc_feholdexcept): Only define if undefined.
128 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
129 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
130 (libc_feholdexcept_setroundl): Likewise.
131 (libc_feholdexcept_setround_53bit): Likewise.
132 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
133 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
134 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
135 (libc_feupdateenv_53bit): Likewise.
136 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
137 (libc_feholdexcept): Convert from macro to inline function.
138 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
139 (libc_fesetenv, libc_feupdateenv): Likewise.
140
4851a949
RH
141 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
142 not previously defined.
143 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
144 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
145 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
146 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
147 * sysdeps/ieee754/flt-32/math_private.h: New file.
148 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
149 math_private.h below SET_FLOAT_WORD.
150 (__isnan, __isinf_ns, __finite): Remove.
151 (__isnanf, __isinf_nsf, __finitef): Remove.
152
e79d442e
AS
1532012-03-18 Andreas Schwab <schwab@linux-m68k.org>
154
155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
156
90b80344
DM
1572012-03-17 David S. Miller <davem@davemloft.net>
158
159 [BZ #6471]
160 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
161 for 2.16.
162
edc21804
DM
1632012-03-16 David S. Miller <davem@davemloft.net>
164
77e927af
DM
165 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
166 warnings.
167
374976dd
DM
168 [BZ #6471]
169 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
170 properly.
171 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
172 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
173 sysdep_routines when subdir is sysvipc.
174 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
175 __getshmlba helper.
176
edc21804
DM
177 * sysdeps/sparc/fpu/libm-test/ulps: Update.
178
473c3ef3
L
1792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
180
181 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
182 [__LP64__].
183
eb0f39b6
L
1842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
185
186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
187 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
188 (__lround): Renamed to ...
189 (__llround): This. Replace long int with long long int.
190 Define lround functions as aliases of llround functions.
191 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
192
6b6cd74b
L
1932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
194
195 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
196 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
197 adresses to uintptr_t. Replace "long int" and "unsigned long
198 int" with "greg_t" on va_arg.
199
f1a77b01
L
2002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
201
202 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
203 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
204
205 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
206 Move e_machine check before EI_CLASS check. Handle x32
207 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
208 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
209 SKIP_EM_IA_64 and include
210 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
211
212 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
213 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
214 (add_system_dir): New macro.
215
216 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
217 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
218
11b90b9f
JM
2192012-03-16 Joseph Myers <joseph@codesourcery.com>
220
c36e1d23
JM
221 [BZ #2551]
222 [BZ #2552]
223 [BZ #2553]
224 [BZ #2554]
225 [BZ #2562]
226 [BZ #2563]
227 [BZ #2565]
228 [BZ #2566]
229 [BZ #2576]
230 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
231 (y0): Likewise.
232 * math/w_j0f.c (j0f): Likewise.
233 (y0f): Likewise.
234 * math/w_j0l.c (__j0l): Likewise.
235 (__y0l): Likewise.
236 * math/w_j1.c (j1): Likewise.
237 (y1): Likewise.
238 * math/w_j1f.c (j1f): Likewise.
239 (y1f): Likewise.
240 * math/w_j1l.c (__j1l): Likewise.
241 (__y1l): Likewise.
242 * math/w_jn.c (jn): Likewise.
243 (yn): Likewise.
244 * math/w_jnf.c (jnf): Likewise.
245 (ynf): Likewise.
246 * math/w_jnl.c (__jnl): Likewise.
247 (__ynl): Likewise.
248 * math/libm-test.inc (j0_test): Add more tests.
249 (j1_test): Likewise.
250 (jn_test): Likewise. Add trailing semicolon to existing test.
251 (y0_test): Likewise.
252 (y1_test): Likewise.
253 * sysdeps/i386/fpu/libm-test-ulps: Update.
254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
255
11b90b9f
JM
256 [BZ #13851]
257 [BZ #13854]
258 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
259 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
260 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
261 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
262 (__tanl): Set errno for infinite argument.
263 * sysdeps/i386/fpu/mptan.c: Remove.
264 * sysdeps/i386/fpu/s_tan.S: Likewise.
265 * sysdeps/i386/fpu/s_tanl.S: Likewise.
266 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
267 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
268 * math/libm-test.inc (tan_test): Add more tests and enable more
269 tests for double and long double.
270 * sysdeps/i386/fpu/libm-test-ulps: Update.
271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
272
6a1bd2a1
JK
2732012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
274
275 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
276 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
277
10a803e0
RM
2782012-03-16 Roland McGrath <roland@hack.frob.com>
279
280 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
281 * configure.in: Use it for both main tree and add-ons.
282 * configure: Regenerated.
283
f196c7f7
L
2842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
285
286 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
287
8848d99d
JM
2882012-03-16 Joseph Myers <joseph@codesourcery.com>
289
96cbe7f4
JM
290 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
291 in comment.
292
8848d99d
JM
293 [BZ #13851]
294 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
295 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
296 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
297 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
298 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
299 infinite argument.
300 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
301 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
302 != 0 for prec == 2.
303 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
304 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
305 * sysdeps/i386/fpu/s_cosl.S: Likewise.
306 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
307 * sysdeps/i386/fpu/s_sinl.S: Likewise.
308 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
309 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
310 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
311 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
312 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
313 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
314 * math/libm-test.inc (cos_test): Add more tests and enable more
315 tests for long double.
316 (sin_test): Likewise.
317 (sincos_test): Likewise.
318 * sysdeps/i386/fpu/libm-test-ulps: Update.
319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320
dd7f4703
DM
3212012-03-16 David S. Miller <davem@davemloft.net>
322
323 * sysdeps/sparc/fpu/math_private.h: New file.
324
006f1daa
DM
3252012-03-15 David S. Miller <davem@davemloft.net>
326
c0c83bc8
DM
327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
328 file.
e6a62e18 329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
331 file.
e6a62e18
DM
332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
338 sysdep routines.
339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
340
88cb87d9
DM
341 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
342 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
343
006f1daa 344 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
346 sparc-ifunc.h
006f1daa 347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
349 Likewise.
350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
351 Likewise.
006f1daa
DM
352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
356 Likewise.
006f1daa
DM
357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
362 Likewise.
363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
364 Likewise.
006f1daa
DM
365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
375 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
384 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
389
11e0098e
AS
3902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
391
392 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
393 scaling.
394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
395
e85b09d0
AJ
3962012-03-15 Andreas Jaeger <aj@suse.de>
397
398 [BZ #13852]
399 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
400 ieee754/flt-32 implementation for sin, cos and sincos.
401 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
402 * sysdeps/i386/fpu/s_cosf.S: Likewise.
403 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
404 * sysdeps/i386/fpu/s_sinf.S: Likewise.
405 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
406 ieee754/flt-32 implementation for tan.
407
408 * math/libm-test.inc (cos_test): Enable some large input tests for
409 float as well
410 (sin_test): Likewise.
411 (sincos_test): Likewise.
412 (tan_test): Add tests for large input.
413
414 * sysdeps/i386/fpu/libm-test-ulps: Update.
415
81c64153
AJ
4162012-03-15 Andreas Jaeger <aj@suse.de>
417
418 [BZ #13658]
419 * math/libm-test.inc (cos_test): Add more test cases.
420 (sin_test): Likewise.
421 (sincos_test): Likewise.
422
7bbfa5c6
AJ
4232012-03-15 Andreas Jaeger <aj@suse.de>
424
425 [BZ #13837]
426 * math/libm-test.inc (cos_test): Add a test case for large input
427 value.
428 (sin_test): Likewise.
429 (sincos_test): Likewise.
430
4312012-03-15 Andreas Jaeger <aj@suse.de>,
432 Joseph Myers <joseph@codesourcery.com>
433
434 [BZ #13658]
0671f479 435 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
436 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
437 * sysdeps/i386/fpu/branred.c: Likewise.
438 * sysdeps/i386/fpu/dosincos.c: Likewise.
439 * sysdeps/i386/fpu/mpa.c: Likewise.
440 * sysdeps/i386/fpu/s_cos.S: Likewise.
441 * sysdeps/i386/fpu/s_sin.S: Likewise.
442 * sysdeps/i386/fpu/s_sincos.S: Likewise.
443 * sysdeps/i386/fpu/sincos32.c: Likewise.
444
445 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
446 Define.
447 (libc_feupdateenv_53bit): Define.
448 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
449 Define.
450 (libc_feupdateenv_53bit): Define.
451
452 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
453 53 bit (without extend i386 double precision).
454
455 * math/libm-test.inc (sincos_test): Add tests for large input.
456 (sin): Likewise.
457 (cos): Likewise.
458
459 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
460
9cad04ea
AS
4612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
462
463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
464
f7062b9a
DM
4652012-03-15 David S. Miller <davem@davemloft.net>
466
467 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
468 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
469 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
470 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
483 file.
f7062b9a 484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
486 file.
f7062b9a 487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
489 file.
f7062b9a 490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
492 file.
f7062b9a
DM
493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
494 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
495 fmin/fmax sysdep routines.
496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
497
7bd951ff
DM
4982012-03-14 David S. Miller <davem@davemloft.net>
499
559398ab
DM
500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
504 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
505 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
506 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
525 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
526 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
528 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
529 routines.
530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
531 file.
559398ab 532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
534 file.
559398ab 535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
537 file.
559398ab 538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
540 file.
559398ab 541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
543 file.
559398ab 544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
546 file.
547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
548 file.
549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
550 file.
551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
552 file.
553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
554 New file.
555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
556 file.
557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
558 file.
559398ab 559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
561 file.
559398ab 562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
564 file.
559398ab 565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
567 file.
559398ab 568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
570 VIS3 routines.
559398ab
DM
571
572 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
573 New file.
574
5a1c1e32
DM
575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
576
eae47a36
DM
577 * sysdeps/sparc/configure.in: New file.
578 * sysdeps/sparc/configure: Generate.
579 * configure.in (libc_cv_sparc_as_vis3): Substitute.
580 * configure: Regenerate.
581 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
582 * config.make.in (have-as-vis3): New.
583 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
584 available use -Av9d instead of -Av9a.
585 * sysdeps/sparc/sparc64/Makefile: Likewise.
586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
588 New file.
589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
590 file.
591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
592 New file.
593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
594 file.
eae47a36
DM
595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
596 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
598 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
599 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
600
c0c83bc8
DM
601 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
602 fzeros/fnegs to load 0x80000000 into a float register instead of
603 using the stack.
7bd951ff
DM
604 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
605
bd951ccb
JM
6062012-03-14 Joseph Myers <joseph@codesourcery.com>
607
608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
609 bits/syscall.h.
610 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
611 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
612 ($(inst_includedir)/bits/syscall.h): Remove rule.
613 ($(objpfx)bits/syscall.d): Include instead of
614 $(objpfx)syscall-list.d.
615 (generated): Change syscall-list.h and syscall-list.d to
616 bits/syscall.h and bits/syscall.d.
617
bb4e6db2
RM
6182012-03-14 Roland McGrath <roland@hack.frob.com>
619
620 [BZ #13846]
621 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
622
aa4a2ae1
JM
6232012-03-14 Joseph Myers <joseph@codesourcery.com>
624
e456826d
JM
625 [BZ #13841]
626 * math/s_csqrt.c: Include <float.h>.
627 (__csqrt): Scale large or subnormal inputs.
628 * math/s_csqrtf.c: Likewise.
629 * math/s_csqrtl.c: Likewise.
630 * math/libm-test.inc (csqrt_test): Add more tests.
631 * sysdeps/i386/fpu/libm-test-ulps: Update.
632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
633
aa4a2ae1
JM
634 [BZ #13840]
635 * math/libm-test.inc (hypot_test): Add more tests.
636
7c10fd35
DM
6372012-03-13 David S. Miller <davem@davemloft.net>
638
639 [BZ #13840]
640 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
641 double-precision for the calculation instead of scaling.
642
f453b98b
JM
6432012-03-13 Joseph Myers <joseph@codesourcery.com>
644
645 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
646 manipulate bits before adding and subtracting TWO52[sx].
647 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
648 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
649 Likewise.
650 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
651
09a3453f
DM
6522012-03-13 David S. Miller <davem@davemloft.net>
653
8e59da90
DM
654 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
655 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
657 rtld-global-offsets.h
658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
659
2a8ab7f2
DM
660 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
661 large parameters.
662
10f62770
DM
663 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
664
5f0bdb18
DM
665 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
666 'err' in the ifdef scope in which it is actually used.
667
09a3453f
DM
668 * nss/nss_db/db-init.c: Include string.h
669
b4b2eb5e
DM
6702012-03-12 David S. Miller <davem@davemloft.net>
671
98bb2f1c
DM
672 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
673 masking out of the most significant byte of random value used.
674 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
675 Fix coding style in previous change.
676
b4b2eb5e
DM
677 * sysdeps/unix/sysv/linux/kernel-features.h
678 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
679 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
680 expression.
681 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
682 later.
683
6e226b09
DM
6842012-03-11 David S. Miller <davem@davemloft.net>
685
a1bcbd40
DM
686 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
687 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
688 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
689 for 'resultvar' otherwise things get truncated on 64-bit.
690
cb9d6174
DM
691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
692 Fix masking out of the most significant byte of random value used.
693
6e226b09
DM
694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
695
058c132d
AS
6962012-03-10 Andreas Schwab <schwab@linux-m68k.org>
697
698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
699
2d2cd515
DM
7002012-03-09 David S. Miller <davem@davemloft.net>
701
702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
703 variables with appropriate CPP guards.
704 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
705 frame pointer, not the stack pointer. Correct layout comments. Fix test
706 on resulting framesize and the management of the outregs buffer for pltexit.
707 Preserve floating point return values across _dl_call_pltexit call.
708 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
709 framesize and the management of the outregs buffer for pltexit.
710 Preserve floating point return values across _dl_call_pltexit
711 call.
712 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
713 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
714 (print_exit): Fix format string for return register value.
715
9a07f9d0
JM
7162012-03-10 Joseph Myers <joseph@codesourcery.com>
717
718 * sunrpc/Makefile (others): Add rpcgen.
719 ($(objpfx)rpcgen): Remove special build rule and dependency on
720 libc.
721 * sunrpc/rpcgen.c: New file.
722
547b5e30
PE
7232012-03-09 Paul Eggert <eggert@cs.ucla.edu>
724
c524201a
PE
725 [BZ #13673]
726 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
727 * stdio-common/bug-vfprintf-nargs.c: Likewise.
728 * sysdeps/i386/crti.S: Likewise.
729 * sysdeps/i386/crtn.S: Likewise.
730 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
731 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
732 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
733 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
734 * sysdeps/sh/crti.S: Likewise.
735 * sysdeps/sh/crtn.S: Likewise.
736 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
737
7b6235f2
PE
738 [BZ #13673]
739 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
740 with URL.
741 * locale/programs/locfile-kw.gperf: Likewise.
742 * locale/programs/charmap-kw.h: Regenerated.
743 * locale/programs/locfile-kw.h: Likewise.
744
547b5e30
PE
745 [BZ #13673]
746 * intl/plural.y: Replace FSF snail mail address with URL.
747 * intl/plural.c: Regenerated.
748
5f0a5dae
RH
7492012-03-09 Richard Henderson <rth@twiddle.net>
750
751 * include/math_private.h: Remove file.
752 * math/math_private.h: Move file ...
753 * sysdeps/generic/math_private.h: ... here.
754
b8c03620
RH
755 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
756 * sysdeps/powerpc/fpu/math_private.h: Likewise.
757 * sysdeps/x86_64/fpu/math_private.h: Likewise.
758
4e234f5d 759 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
760 and <math_private.h>.
761 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
762 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
763 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
764 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
765 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
766 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
767 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
769 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
770 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
772 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
773 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
775 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
776 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
778 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
779 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
780 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
782 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
783 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
785 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
786 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
787 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
788 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
789 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
791 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
792 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
793 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
794 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
795 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
796 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
797 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
798 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
799 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
801 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
802 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
803 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
804 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
805 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
806 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
807 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
808 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
809 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
810 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
811 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
812 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
813 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
814 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
815 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
816 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
817 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
818 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
819 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
820 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
821 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
822 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
824 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
825 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
826 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
827 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
828 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
829 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
830 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
831 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
832 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
833 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
834 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
835 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
839 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
840 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
841 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
842 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
843 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
844 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
845 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
846 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
848 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
849 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
850 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
851 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
852 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
853 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
854 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
855 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
856 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
857 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
858 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
859 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
860 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
861 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
862 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
863 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
864 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
865 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
866 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
867 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
868 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
869 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
870 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
871 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
872 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
873 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
874 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
875 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
876 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
877 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
878 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
879 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
880 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
881 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
882 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
883 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
884 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
885 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
886 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
887 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
888 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
889 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
890 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
891 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
892 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
893 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
894 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
895 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
896 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
897 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
898 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
899 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
900 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
901 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
902 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
903 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
904 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
905 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
906 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
907 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
908 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
909 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
910 * sysdeps/ieee754/k_standard.c: Likewise.
911 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
912 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
913 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
914 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
915 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
916 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
917 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
918 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
919 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
920 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
922 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
923 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
924 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
925 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
926 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
927 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
928 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
929 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
930 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
931 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
932 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
933 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
934 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
935 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
936 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
937 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
938 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
939 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
940 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
941 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
942 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
943 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
944 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
945 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
946 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
947 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
948 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
949 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
950 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
951 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
952 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
953 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
954 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
955 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
956 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
957 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
958 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
959 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
960 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
961 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
962 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
963 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
964 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
965 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
966 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
967 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
968 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
969 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
970 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
971 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
972 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
973 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
974 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
975 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
977 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
979 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
980 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
981 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
983 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
984 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
985 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
986 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
987 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
990 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
991 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
992 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
993 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
994 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
995 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
996 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
997 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
998 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
999 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1000 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1001 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1002 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1003 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1004 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1005 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1006 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1007 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1008 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1009 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1010 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1011 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1012 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1013 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1014 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1015 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1016 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1017 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1018 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1019 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1020 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1021 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1022 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1023 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1024 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1025 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1026 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1027 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1028 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1029 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1030 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1031 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1032 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1033 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1034 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1035 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1036 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1037 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1038 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1039 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1041 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1042 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1043 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1044 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1045 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1046 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1047 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1048 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1049 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1050 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1051 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1052 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1053 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1054 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1055 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1056 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1057 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1058 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1059 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1060 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1061 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1062 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1063 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1064 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1065 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1066 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1070 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1071 * sysdeps/ieee754/s_lib_version.c: Likewise.
1072 * sysdeps/ieee754/s_matherr.c: Likewise.
1073 * sysdeps/ieee754/s_signgam.c: Likewise.
1074 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1075 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1076 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1077 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1078 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1079 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1080 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1081 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1082 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1083 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1084 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1085 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1086 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1087 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1088 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1089 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1090 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1091 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1092 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1093 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1094 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1095
1991fa03
JM
10962012-03-09 Joseph Myers <joseph@codesourcery.com>
1097
1098 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1099 * sunrpc/rpc_main.c: Likewise.
1100 * sunrpc/rpc_svcout.c: Likewise.
1101
60d6f5a6
DM
11022012-03-09 David S. Miller <davem@davemloft.net>
1103
1104 * include/math_private.h: New file.
1105
4962050e
JM
11062012-03-09 Joseph Myers <joseph@codesourcery.com>
1107
02a6f887
JM
1108 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1109 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1110 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1111 from <bits/socket_type.h>.
1112 (enum __socket_type): Don't define here.
1113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1115 bits/socket_type.h.
1116
c6e013c1
JM
1117 [BZ #13566]
1118 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1119 checking __USE_GNU.
1120
4962050e
JM
1121 * Makerules ($(inst_includedir)/%.h): New rule.
1122 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1123 (install-others): Remove variable setting.
1124 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1125
38842f45
RH
11262012-03-08 Richard Henderson <rth@twiddle.net>
1127
67bb6da6
RH
1128 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1129 from macro to inline function; merge with the
1130 !__LIBC_INTERNAL_MATH_INLINES version.
1131 (__ieee754_sqrtf): Likewise.
1132
15194b4b
RH
1133 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1134 to inline function.
1135 (__rintf, __floor, __floorf): Likewise.
1136
64e21ede
RH
1137 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1138 macro to inline function.
1139 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1140
38842f45
RH
1141 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1142 not <math/math_private.h>.
1143
c64bf5fe
DM
11442012-03-08 David S. Miller <davem@davemloft.net>
1145
1146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1147 copyright year.
1148 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1149
82d86f28
TS
11502012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1151
1152 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1153 normalization.
1154 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1155 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1156
aea5d727
UD
11572012-03-08 Ulrich Drepper <drepper@gmail.com>
1158
1159 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1160 be defined individually, they must be defined as a block. Define
1161 S for printing a string instead of hidint the different by using a
1162 macro for adding the 'l'.
1163 * stdio-common/tst-fphex-wide.c: Adjust.
1164
70bca0a3
MP
11652012-03-07 Marek Polacek <polacek@redhat.com>
1166
1167 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1168
65b81130
MP
11692012-03-08 Marek Polacek <polacek@redhat.com>
1170
1171 [BZ #13806]
1172 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1173 * stdio-common/tst-fphex.c: Define a few macros to make the
1174 test reusable. Use them.
1175 * stdio-common/tst-fphex-wide.c: New file.
1176
07037eeb
JM
11772012-03-08 Joseph Myers <joseph@codesourcery.com>
1178
a7a93d50
JM
1179 [BZ #6911]
1180 * manual/macros.texi (gnusystems): New macro.
1181 (nongnusystems): Likewise.
1182 (gnulinuxhurdsystems): Likewise.
1183 (gnuhurdsystems): Likewise..
1184 (gnulinuxsystems): Likewise.
1185 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1186 variants of the GNU system, not "GNU system".
1187 * manual/conf.texi: Likewise.
1188 * manual/errno.texi: Likewise. Update example of errno macro
1189 expansion.
1190 * manual/filesys.texi: Likewise.
1191 (getumask): Document as specific to GNU/Hurd.
1192 * manual/install.texi: Likewise. Reword some references to
1193 GNU/Linux.
1194 * manual/intro.texi: Likewise.
1195 * manual/io.texi: Likewise.
1196 (File Name Portability): Detail which constraints are inapplicable
1197 to all GNU systems and which are only inapplicable to GNU/Hurd.
1198 * manual/job.texi: Likewise.
1199 * manual/llio.texi: Likewise.
1200 (O_NOCTTY): Document as present on GNU/Linux.
1201 * manual/maint.texi: Likewise.
1202 * manual/memory.texi: Likewise.
1203 * manual/pattern.texi: Likewise.
1204 * manual/pipe.texi: Likewise.
1205 * manual/process.texi: Likewise.
1206 * manual/resource.texi: Likewise.
1207 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1208 child on GNU/Hurd.
1209 * manual/setjmp.texi: Likewise.
1210 * manual/signal.texi: Likewise.
1211 * manual/startup.texi: Likewise.
1212 * manual/stdio.texi: Likewise.
1213 * manual/terminal.texi: Likewise.
1214 (ONLCR): Document as POSIX.
1215 (OXTABS): Document availability on GNU/Linux as XTABS.
1216 (ONOEOT): Document availability separately from other bits.
1217 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1218 * manual/time.texi: Likewise.
1219 * manual/users.texi: Likewise.
1220 * INSTALL: Regenerated.
1221 * sysdeps/gnu/errlist.c: Regenerated.
1222
07037eeb
JM
1223 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1224 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1225 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1226 puts.
1227 * configure: Regenerated.
1228
d1d3431a
JM
12292012-03-07 Joseph Myers <joseph@codesourcery.com>
1230
af6a1e37
JM
1231 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1232 default includes instead of AC_HEADER_CHECK.
1233 * sysdeps/i386/configure: Regenerated.
1234
d1d3431a
JM
1235 [BZ #10716]
1236 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1237 * math/s_cacoshf.c (__cacoshf): Likewise.
1238 * math/s_cacoshl.c (__cacoshl): Likewise.
1239 * math/s_casinh.c (__casinh): Set signs of result from argument.
1240 * math/s_casinhf.c (__casinhf): Likewise.
1241 * math/s_casinhl.c (__casinhl): Likewise.
1242 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1243 (casinh_test): Add more tests.
1244 * sysdeps/i386/fpu/libm-test-ulps: Update.
1245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1246
482ff4da
UD
12472012-03-07 Ulrich Drepper <drepper@gmail.com>
1248
872fda05
UD
1249 * po/zh_TW.po: Update from translation team.
1250
a4300c7a
UD
1251 * login/Makefile (distribute): Remove variable.
1252 * catgets/Makefile: Likewise.
1253 * mach/Makefile: Likewise.
1254 * malloc/Makefile: Likewise.
1255 * misc/Makefile: Likewise.
1256 * iconv/Makefile: Likewise.
1257 * nscd/Makefile: Likewise.
1258 * hurd/Makefile: Likewise.
1259 * manual/Makefile: Likewise.
1260 * locale/Makefile: Likewise.
1261 * intl/Makefile: Likewise.
1262 * conform/Makefile: Likewise.
1263 * nss/Makefile: Likewise.
1264 * time/Makefile: Likewise.
1265 * soft-fp/Makefile: Likewise.
1266 * dirent/Makefile: Likewise.
1267 * gmon/Makefile: Likewise.
1268 * po/Makefile: Likewise.
1269 * rt/Makefile: Likewise.
1270 * socket/Makefile: Likewise.
1271 * math/Makefile: Likewise.
1272 * signal/Makefile: Likewise.
1273 * debug/Makefile: Likewise.
1274 * elf/Makefile: Likewise.
1275 * timezone/Makefile: Likewise.
1276 * stdlib/Makefile: Likewise.
1277 * iconvdata/Makefile: Likewise.
1278 * sunrpc/Makefile: Likewise.
1279 * io/Makefile: Likewise.
1280 * argp/Makefile: Likewise.
1281 * inet/Makefile: Likewise.
1282 * hesiod/Makefile: Likewise.
1283 * grp/Makefile: Likewise.
1284 * csu/Makefile: Likewise.
1285 * wctype/Makefile: Likewise.
1286 * crypt/Makefile: Likewise.
1287 * libio/Makefile: Likewise.
1288 * string/Makefile: Likewise.
1289 * nis/Makefile: Likewise.
1290 * resolv/Makefile: Likewise.
1291 * stdio-common/Makefile: Likewise.
1292 * wcsmbs/Makefile: Likewise.
1293 * dlfcn/Makefile: Likewise.
1294 * posix/Makefile: Likewise.
1295
482ff4da
UD
1296 * timezone/Makefile: Don't install timezone files, just the programs
1297 and scripts.
1298
f72ed77d
UD
12992012-03-06 Ulrich Drepper <drepper@gmail.com>
1300
a000466f
UD
1301 * nss/databases.def: Add missing gshadow entry.
1302
f72ed77d
UD
1303 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1304
a53b7a4e
MP
13052012-03-06 Marek Polacek <polacek@redhat.com>
1306
1307 [BZ #13726]
1308 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1309 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1310 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1311 * stdio-common/tst-long-dbl-fphex.c: New file.
1312
e9258400
DM
13132012-03-06 David S. Miller <davem@davemloft.net>
1314
1315 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1316 (set_obp_int): New function.
1317 (get_obp_int): New function.
1318 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1319 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1320 Avoid unused variable warnings on 'val' and use builtin_expect.
1321 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1322 __builtin_expect.
e9258400
DM
1323 (INLINE_CLONE_SYSCALL): Likewise.
1324
3bd2c723
DM
13252012-03-05 David S. Miller <davem@davemloft.net>
1326
1327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1328
bbb78d03
AS
13292012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1330
884c5db4
AS
1331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1332
bbb78d03
AS
1333 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1334 only for |x| >= 40.
1335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1336
1c9f702a 13372012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1338
1339 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1340 Replace gettimeofday with __vdso_gettimeofday.
1341
7be16f82
RM
1342 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1343 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1344 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1345
1346 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1347 time with __vdso_time.
1348
ed58a00f
JM
13492012-03-05 Joseph Myers <joseph@codesourcery.com>
1350
1351 * manual/lang.texi (size_t): Note types to which size_t may be
1352 equivalent with the GNU C Library, but do not describe when
1353 differences between them are significant.
1354
30ee4ced
AJ
13552012-03-05 Andreas Jaeger <aj@suse.de>
1356
1357 * sysdeps/i386/fpu/libm-test-ulps: Update.
1358
b7cd39e8
JM
13592012-03-05 Joseph Myers <joseph@codesourcery.com>
1360
1361 [BZ #3976]
1362 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1363 (__ieee754_pow): Save and restore rounding mode and use
1364 round-to-nearest for main computations.
1365 * math/libm-test.inc (pow_test_tonearest): New function.
1366 (pow_test_towardzero): Likewise.
1367 (pow_test_downward): Likewise.
1368 (pow_test_upward): Likewise.
1369 (main): Call the new functions.
1370 * sysdeps/i386/fpu/libm-test-ulps: Update.
1371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1372
1373 [BZ #3976]
1374 * math/libm-test.inc (cosh_test_tonearest): New function.
1375 (cosh_test_towardzero): Likewise.
1376 (cosh_test_downward): Likewise.
1377 (cosh_test_upward): Likewise.
1378 (sinh_test_tonearest): Likewise.
1379 (sinh_test_towardzero): Likewise.
1380 (sinh_test_downward): Likewise.
1381 (sinh_test_upward): Likewise.
1382 (main): Call the new functions.
1383 * sysdeps/i386/fpu/libm-test-ulps: Update.
1384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1385
6c6a98c9
TV
13862012-03-05 Tom de Vries <tom@codesourcery.com>
1387
1388 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1389 default stack guard is set in last bytes.
1390 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1391
21bb2d2e 13922012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1393
21bb2d2e 1394 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1395
21bb2d2e
AJ
1396 [BZ #13656]
1397 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1398 possibly allocate from heap instead of stack.
1399 * stdio-common/bug-vfprintf-nargs.c: New file.
1400 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1401
c6922934
AS
14022012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1403
1404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1405
bc957d53
MP
14062012-03-03 Marek Polacek <polacek@redhat.com>
1407
1408 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1409 * math/math_private.h: Likewise.
1410 * stdlib/tst-strtod.c: Likewise.
1411 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1412 * sysdeps/x86_64/bits/atomic.h: Likewise.
1413
6358490d
DM
14142012-03-02 David S. Miller <davem@davemloft.net>
1415
1416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1420 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1421 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1422 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1423 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1424
01ae168d
RM
14252012-03-02 Roland McGrath <roland@hack.frob.com>
1426
d9a17c07
RM
1427 [BZ #13792]
1428 * manual/examples/README: New file, says the example source files
1429 can be used under GPL>=2.
1430 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1431 line containing just "*/".
1432 * manual/examples/add.c: Add copyright header (GPL>=2).
1433 * manual/examples/argp-ex1.c: Likewise.
1434 * manual/examples/argp-ex2.c: Likewise.
1435 * manual/examples/argp-ex3.c: Likewise.
1436 * manual/examples/argp-ex4.c: Likewise.
1437 * manual/examples/atexit.c: Likewise.
1438 * manual/examples/db.c: Likewise.
1439 * manual/examples/dir.c: Likewise.
1440 * manual/examples/dir2.c: Likewise.
1441 * manual/examples/execinfo.c: Likewise.
1442 * manual/examples/filecli.c: Likewise.
1443 * manual/examples/filesrv.c: Likewise.
1444 * manual/examples/fmtmsgexpl.c: Likewise.
1445 * manual/examples/genpass.c: Likewise.
1446 * manual/examples/inetcli.c: Likewise.
1447 * manual/examples/inetsrv.c: Likewise.
1448 * manual/examples/isockad.c: Likewise.
1449 * manual/examples/longopt.c: Likewise.
1450 * manual/examples/memopen.c: Likewise.
1451 * manual/examples/memstrm.c: Likewise.
1452 * manual/examples/mkfsock.c: Likewise.
1453 * manual/examples/mkisock.c: Likewise.
1454 * manual/examples/mygetpass.c: Likewise.
1455 * manual/examples/pipe.c: Likewise.
1456 * manual/examples/popen.c: Likewise.
1457 * manual/examples/rprintf.c: Likewise.
1458 * manual/examples/search.c: Likewise.
1459 * manual/examples/select.c: Likewise.
1460 * manual/examples/setjmp.c: Likewise.
1461 * manual/examples/sigh1.c: Likewise.
1462 * manual/examples/sigusr.c: Likewise.
1463 * manual/examples/stpcpy.c: Likewise.
1464 * manual/examples/strdupa.c: Likewise.
1465 * manual/examples/strftim.c: Likewise.
1466 * manual/examples/strncat.c: Likewise.
1467 * manual/examples/subopt.c: Likewise.
1468 * manual/examples/swapcontext.c: Likewise.
1469 * manual/examples/termios.c: Likewise.
1470 * manual/examples/testopt.c: Likewise.
1471 * manual/examples/testpass.c: Likewise.
1472 * manual/examples/timeval_subtract.c: Likewise.
1473
01ae168d
RM
1474 [BZ #13792]
1475 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1476 function to ...
1477 * manual/timeval_subtract.c.texi: ... here, new file.
1478
49efa33d
DM
14792012-03-02 David S. Miller <davem@davemloft.net>
1480
1481 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1482
28afd92d
JM
14832012-03-02 Joseph Myers <joseph@codesourcery.com>
1484
804360ed
JM
1485 [BZ #3976]
1486 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1487 (__sin): Save and restore rounding mode and use round-to-nearest
1488 for all computations.
1489 (__cos): Save and restore rounding mode and use round-to-nearest
1490 for all computations.
1491 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1492 <fenv.h>.
1493 (tan): Save and restore rounding mode and use round-to-nearest for
1494 all computations.
1495 * math/libm-test.inc (cos_test_tonearest): New function.
1496 (cos_test_towardzero): Likewise.
1497 (cos_test_downward): Likewise.
1498 (cos_test_upward): Likewise.
1499 (sin_test_tonearest): Likewise.
1500 (sin_test_towardzero): Likewise.
1501 (sin_test_downward): Likewise.
1502 (sin_test_upward): Likewise.
1503 (tan_test_tonearest): Likewise.
1504 (tan_test_towardzero): Likewise.
1505 (tan_test_downward): Likewise.
1506 (tan_test_upward): Likewise.
1507 (main): Call the new functions.
1508 * sysdeps/i386/fpu/libm-test-ulps: Update.
1509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1510
a6d06d7b
JM
1511 [BZ #10135]
1512 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1513 small n, then large n, before computing and testing k+n.
1514 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1516 Likewise.
1517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1518 Likewise.
1519 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1520 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1521 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1522 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1526 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1527 * math/libm-test.inc (scalbn_test): Add more tests.
1528 (scalbln_test): Likewise.
1529
07e12bb3
JM
1530 * manual/filesys.texi (mode_t): Describe constraints on size and
1531 signedness, not exact equivalence to a particular type.
1532 (ino_t): Likewise.
1533 (ino64_t): Likewise.
1534 (dev_t): Likewise.
1535 (nlink_t): Likewise.
1536 (blkcnt_t): Likewise.
1537 (blkcnt64_t): Likewise.
1538 * manual/llio.texi (off_t): Likewise.
1539
28afd92d
JM
1540 [BZ #3976]
1541 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1542 (__ieee754_exp): Save and restore rounding mode and use
1543 round-to-nearest for all computations.
1544 * math/libm-test.inc (exp_test_tonearest): New function.
1545 (exp_test_towardzero): Likewise.
1546 (exp_test_downward): Likewise.
1547 (exp_test_upward): Likewise.
1548 (main): Call the new functions.
1549 * sysdeps/i386/fpu/libm-test-ulps: Update.
1550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1551
b1eeb65d
CD
15522012-03-01 Chris Demetriou <cgd@google.com>
1553
1554 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1555 have predictable order.
1556
53362a4b
DM
15572012-03-01 David S. Miller <davem@davemloft.net>
1558
3c969083
DM
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1560
759707de
DM
1561 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1562 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1563 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1564 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1565
dfdb8ff2
DM
1566 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1567 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1568 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1570 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1571 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1572 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1573 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1574 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1575
ead89f96
DM
1576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1577
7f66bd07
DM
1578 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1579 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1580 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1581
53362a4b
DM
1582 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1583 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1584 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1585 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1586 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1588 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1589 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1590 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1591 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1592 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1593 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1595 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1596 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1598 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1599 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1600 * sysdeps/sparc/elf/configure: Regenerated.
1601
7b1902cb
JM
16022012-03-01 Joseph Myers <joseph@codesourcery.com>
1603
bec039bc
JM
1604 * configure.in (AS, LD): Require binutils 2.20 or later.
1605 * configure: Regenerated.
1606 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1607 as required minimum version.
1608 * INSTALL: Regenerated.
1609
7b1902cb
JM
1610 [BZ #2541]
1611 [BZ #4108]
1612 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1613 before squaring exponent.
1614 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1615 bottom long double and 27 bits of top long double before squaring
1616 exponent.
1617 * math/libm-test.inc (erfc_test): Add more tests.
1618 * sysdeps/i386/fpu/libm-test-ulps: Update.
1619 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1621
f775c276
KT
16222012-03-01 Kai Tietz <ktietz@redhat.com>
1623
1624 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1625 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1626 containing bit-fields.
1627 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1628 * soft-fp/single.h (_FP_UNION_S): Likewise.
1629 * soft-fp/double.h (_FP_UNION_D): Likewise.
1630
5b8a4d4a
JM
16312012-02-29 Joseph Myers <joseph@codesourcery.com>
1632
0bab47b6
JM
1633 [BZ #13786]
1634 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1635 not include ../strcmp.S.
1636 [USE_AS_STRNCASECMP_L]: Likewise.
1637 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1638 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1639 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1640 (__strncasecmp_l_ia32): Define as alias to
1641 __strncasecmp_l_nonascii.
1642
0fcad3e2
JM
1643 [BZ #5794]
1644 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1645 * sysdeps/i386/fpu/libm-test-ulps: Update.
1646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1647
5b8a4d4a
JM
1648 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1650
8fdceb2e
JL
16512012-02-29 Jeff Law <law@redhat.com>
1652
1653 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1654 out of bounds read.
1655
1f393a11
MP
16562012-02-29 Marek Polacek <polacek@redhat.com>
1657
1658 [BZ #13706]
1659 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1660 * elf/Makefile: Add rules to run tst-unused-dep.out.
1661
8847f037
DM
16622012-02-28 David S. Miller <davem@davemloft.net>
1663
1664 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1665 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1666 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1668 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1669 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1670
169d7f11
JM
16712012-02-29 Joseph Myers <joseph@codesourcery.com>
1672
1673 * math/libm-test.inc (llround_test): Move one test from
1674 lround_test. Use TEST_f_L in moved test.
1675 (lround_test): Move misplaced test to llround_test. Add testcase
1676 from bug 2561.
1677
39adf059
UD
16782012-02-28 Ulrich Drepper <drepper@gmail.com>
1679
1680 * sysdeps/x86_64/fpu/e_expf.S: New file.
1681 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1682
71b5d1c5
SB
16832012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1684
1685 [BZ #13637]
1686 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1687 of remain_len that may cause incomplete multi-byte character and
1688 false match.
1689 * posix/bug-regex33.c: New file.
1690 * posix/Makefile (tests): Add bug-regex33.
1691
1f77f049
JM
16922012-02-28 Joseph Myers <joseph@codesourcery.com>
1693
1694 * manual/macros.texi: New file.
1695 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1696 * manual/libc.texinfo: Include macros.texi.
1697 * manual/creatute.texi: Likewise.
1698 * manual/install.texi: Likewise.
1699 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1700 @glibcadj{} in references to the GNU C Library.
1701 * manual/charset.texi: Likewise.
1702 * manual/conf.texi: Likewise.
1703 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1704 when not using those macros.
1705 * manual/creature.texi: Likewise.
1706 * manual/crypt.texi: Likewise.
1707 * manual/errno.texi: Likewise.
1708 * manual/filesys.texi: Likewise.
1709 * manual/header.texi: Likewise.
1710 * manual/install.texi: Likewise.
1711 * manual/intro.texi: Likewise.
1712 * manual/io.texi: Likewise.
1713 * manual/job.texi: Likewise.
1714 * manual/lang.texi: Likewise.
1715 * manual/libc.texiinfo: Likewise.
1716 * manual/llio.texi: Likewise.
1717 * manual/locale.texi: Likewise.
1718 * manual/maint.texi: Likewise.
1719 * manual/math.texi: Likewise.
1720 * manual/memory.texi: Likewise.
1721 * manual/message.texi: Likewise.
1722 * manual/nss.texi: Likewise.
1723 * manual/pattern.texi: Likewise.
1724 * manual/process.texi: Likewise.
1725 * manual/resource.texi: Likewise.
1726 * manual/search.texi: Likewise.
1727 * manual/setjmp.texi: Likewise.
1728 * manual/signal.texi: Likewise.
1729 * manual/socket.texi: Likewise.
1730 * manual/startup.texi: Likewise.
1731 * manual/stdio.texi: Likewise.
1732 * manual/string.texi: Likewise.
1733 * manual/sysinfo.texi: Likewise.
1734 * manual/syslog.texi: Likewise.
1735 * manual/terminal.texi: Likewise.
1736 * manual/time.texi: Likewise.
1737 * manual/users.texi: Likewise.
1738 * INSTALL: Regenerated.
1739 * NOTES: Regenerated.
d40c5d54 1740 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1741
450bf206
AS
17422012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1743
1744 * include/dirent.h: Include <dirstream.h> before
1745 <dirent/dirent.h>.
1746
741a235b
DM
17472012-02-28 David S. Miller <davem@davemloft.net>
1748
1749 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1750 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1751 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1752 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1753
d6b5aa58
DM
17542012-02-27 David S. Miller <davem@davemloft.net>
1755
1aff59a3
DM
1756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1758 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1759 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1760
d6b5aa58
DM
1761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1762 frame pointer instead of stack pointer relative arg slot.
1763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1764 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1765 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1766
433f48bf
CD
17672012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1768
1769 [BZ #3992]
1770 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1771
d674b76d
DM
17722012-02-27 David S. Miller <davem@davemloft.net>
1773
1774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1778 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1779 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1780 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1781 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1782
0e7727f7
JM
17832012-02-27 Joseph Myers <joseph@codesourcery.com>
1784
1785 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1786 later. Allow versions 5-9.
43be4ca2 1787 * configure: Regenerated.
0e7727f7
JM
1788 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1789 required minimum version and 4.6 as recommended version. Do not
1790 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1791 * INSTALL: Regenerated.
0e7727f7 1792
a78bc654
DM
17932012-02-27 David S. Miller <davem@davemloft.net>
1794
428d5830
DM
1795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1799 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1800 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1801 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1802 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1803
a78bc654
DM
1804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1805 manipulate bits before adding and subtracting TWO112[sx].
1806 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1807
4579f81c
RM
18082012-02-27 Roland McGrath <roland@hack.frob.com>
1809
36c8acb4
RM
1810 [BZ #13775]
1811 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1812 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1813 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1814 being in POSIX, because they are in 1003.1-2008.
1815
84ad622b
RM
1816 * rt/tst-aio.c: Include <fcntl.h>.
1817 * rt/tst-aio7.c: Likewise.
1818 * rt/tst-aio64.c: Likewise.
1819
4579f81c
RM
1820 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1821
abd923db
JM
18222012-02-27 Joseph Myers <joseph@codesourcery.com>
1823
1824 * manual/install.texi (--with-headers): Describe headers as
1825 interface headers, not private headers.
1826 (Specific advice for GNU/Linux systems): Describe use of headers
1827 from "make headers_install", not private headers from older
1828 kernels.
43be4ca2 1829 * INSTALL: Regenerated.
abd923db
JM
1830 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1831 Change to 2.6.19.
1832 * sysdeps/unix/sysv/linux/configure: Regenerated.
1833
6664049b
JM
1834 * manual/llio.texi (fclean): Remove documentation.
1835
bb8b6697
JM
1836 * manual/Makefile (libc-texi-generated): New variable. Include
1837 version.texi.
1838 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1839 $(libc-texi-generated), not duplicated list of files.
1840 (version.texi, stamp-version): New rules.
1841 (realclean): Remove $(libc-texi-generated), not individual files
1842 from that list. Do not remove dir-add.texinfo.
1843 * manual/libc.texinfo: Comment out uses of edition numbers and
1844 references to printed manual. Remove last-updated dates.
1845 (EDITION): Comment out.
1846 (ISBN): Likewise.
1847 (VERSION, UPDATED): Remove.
1848 (version.texi): Include.
1849
12e5c3b9
AS
18502012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1851
1852 * sysdeps/posix/spawni.c: Include <signal.h>.
1853 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1854 * sysdeps/pthread/aio_fsync.c: Likewise.
1855
4efeffc1 18562012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1857
ba63ba08
UD
1858 * conform/Makefile (tests): Run only when not cross-compiling and
1859 when fast-check is not defined.
1860
d94a4670
UD
1861 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1862 * conform/data/limits.h-data: Fixes for POSIX2008.
1863 * conform/run-conformtest.sh: Run all tests.
1864 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1865 headers.
1866 * include/bits/dlfcn.h: Likewise.
1867 * include/langinfo.h: Likewise.
1868 * include/monetary.h: Likewise.
1869 * include/sys/poll.h: Likewise.
1870
1871 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1872 for __USE_GNU.
1873 * posix/spawn.h: Define __need_sigset_t.
1874 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1875 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1876 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1877 to get sigevent_t only.
1878 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1879 only for __USE_GNU.
1880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1881 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1882 process_vm_writev only for __USE_GNU.
1883 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1884
1885 * conform/Makefile: For now ignore errors from run-conformtest.
1886 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1887 POSIX to avoid namespace pollution. Don't prepend headers.
1888 * conform/data/aio.h-data: Fixes for POSIX testing.
1889 * conform/data/fcntl.h-data: Likewise.
1890 * conform/data/glob.h-data: Likewise.
1891 * conform/data/grp.h-data: Likewise.
1892 * conform/data/pthread.h-data: Likewise.
1893 * conform/data/pwd.h-data: Likewise.
1894 * conform/data/signal.h-data: Likewise.
1895 * conform/data/spawn.h-data: Likewise.
1896 * conform/data/stdio.h-data: Likewise.
1897 * conform/data/stdlib.h-data: Likewise.
1898 * conform/data/stropts.h-data: Likewise.
1899 * conform/data/sys/mman.h-data: Likewise.
1900 * conform/data/sys/stat.h-data: Likewise.
1901 * conform/data/sys/types.h-data: Likewise.
1902 * conform/data/sys/wait.h-data: Likewise.
1903 * conform/data/time.h-data: Likewise.
1904 * conform/data/unistd.h-data: Likewise.
1905 * conform/data/utime.h-data: Likewise.
1906
1907 * io/sys/stat.h: fchmod was always in POSIX.
1908 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1909 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1910 * rt/aio.h: Define __need_timespec before including <time.h>.
1911 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1912 struct. Add forward declaration of pthread_attr_t and use it in
1913 sigevent.
1914 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1915 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1916 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1917 always remove CLK_TCK definition.
1918
c20105c3
AS
19192012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1920
1921 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1922
7a270350
UD
19232012-02-25 Ulrich Drepper <drepper@gmail.com>
1924
31341567
UD
1925 * conform/run-conformtest.sh: New file.
1926 * conform/Makefile: Run run-conformtest for tests.
1927 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1928 support.
1929
1930 * conform/data/uchar.h-data: New file.
1931 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1932 * conform/data/arpa/inet.h-data: Likewise.
1933 * conform/data/assert.h-data: Likewise.
1934 * conform/data/complex.h-data: Likewise.
1935 * conform/data/cpio.h-data: Likewise.
1936 * conform/data/ctype.h-data: Likewise.
1937 * conform/data/dirent.h-data: Likewise.
1938 * conform/data/dlfcn.h-data: Likewise.
1939 * conform/data/errno.h-data: Likewise.
1940 * conform/data/fcntl.h-data: Likewise.
1941 * conform/data/float.h-data: Likewise.
1942 * conform/data/fmtmsg.h-data: Likewise.
1943 * conform/data/fnmatch.h-data: Likewise.
1944 * conform/data/ftw.h-data: Likewise.
1945 * conform/data/glob.h-data: Likewise.
1946 * conform/data/grp.h-data: Likewise.
1947 * conform/data/iconv.h-data: Likewise.
1948 * conform/data/inttypes.h-data: Likewise.
1949 * conform/data/langinfo.h-data: Likewise.
1950 * conform/data/libgen.h-data: Likewise.
1951 * conform/data/limits.h-data: Likewise.
1952 * conform/data/locale.h-data: Likewise.
1953 * conform/data/math.h-data: Likewise.
1954 * conform/data/monetary.h-data: Likewise.
1955 * conform/data/mqueue.h-data: Likewise.
1956 * conform/data/ndbm.h-data: Likewise.
1957 * conform/data/net/if.h-data: Likewise.
1958 * conform/data/netdb.h-data: Likewise.
1959 * conform/data/netinet/in.h-data: Likewise.
1960 * conform/data/nl_types.h-data: Likewise.
1961 * conform/data/poll.h-data: Likewise.
1962 * conform/data/pthread.h-data: Likewise.
1963 * conform/data/pwd.h-data: Likewise.
1964 * conform/data/regex.h-data: Likewise.
1965 * conform/data/sched.h-data: Likewise.
1966 * conform/data/search.h-data: Likewise.
1967 * conform/data/semaphore.h-data: Likewise.
1968 * conform/data/setjmp.h-data: Likewise.
1969 * conform/data/signal.h-data: Likewise.
1970 * conform/data/spawn.h-data: Likewise.
1971 * conform/data/stdarg.h-data: Likewise.
1972 * conform/data/stdio.h-data: Likewise.
1973 * conform/data/stdlib.h-data: Likewise.
1974 * conform/data/string.h-data: Likewise.
1975 * conform/data/strings.h-data: Likewise.
1976 * conform/data/stropts.h-data: Likewise.
1977 * conform/data/sys/ipc.h-data: Likewise.
1978 * conform/data/sys/mman.h-data: Likewise.
1979 * conform/data/sys/msg.h-data: Likewise.
1980 * conform/data/sys/resource.h-data: Likewise.
1981 * conform/data/sys/select.h-data: Likewise.
1982 * conform/data/sys/sem.h-data: Likewise.
1983 * conform/data/sys/shm.h-data: Likewise.
1984 * conform/data/sys/socket.h-data: Likewise.
1985 * conform/data/sys/stat.h-data: Likewise.
1986 * conform/data/sys/statvfs.h-data: Likewise.
1987 * conform/data/sys/time.h-data: Likewise.
1988 * conform/data/sys/timeb.h-data: Likewise.
1989 * conform/data/sys/times.h-data: Likewise.
1990 * conform/data/sys/types.h-data: Likewise.
1991 * conform/data/sys/uio.h-data: Likewise.
1992 * conform/data/sys/un.h-data: Likewise.
1993 * conform/data/sys/utsname.h-data: Likewise.
1994 * conform/data/sys/wait.h-data: Likewise.
1995 * conform/data/syslog.h-data: Likewise.
1996 * conform/data/tar.h-data: Likewise.
1997 * conform/data/termios.h-data: Likewise.
1998 * conform/data/utime.h-data: Likewise.
1999 * conform/data/utmpx.h-data: Likewise.
2000 * conform/data/varargs.h-data: Likewise.
2001 * conform/data/wchar.h-data: Likewise.
2002 * conform/data/wctype.h-data: Likewise.
2003 * conform/data/wordexp.h-data: Likewise.
2004
2005 * include/stropts.h: New file.
2006 * include/uchar.h: New file.
2007 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2008 * include/assert.h: Likewise.
2009 * include/ctype.h: Likewise.
2010 * include/dirent.h: Likewise.
2011 * include/dlfcn.h: Likewise.
2012 * include/fcntl.h: Likewise.
2013 * include/fnmatch.h: Likewise.
2014 * include/glob.h: Likewise.
2015 * include/grp.h: Likewise.
2016 * include/libio.h: Likewise.
2017 * include/locale.h: Likewise.
2018 * include/math.h: Likewise.
2019 * include/net/if.h: Likewise.
2020 * include/netdb.h: Likewise.
2021 * include/netinet/in.h: Likewise.
2022 * include/pthread.h: Likewise.
2023 * include/pwd.h: Likewise.
2024 * include/regex.h: Likewise.
2025 * include/sched.h: Likewise.
2026 * include/search.h: Likewise.
2027 * include/setjmp.h: Likewise.
2028 * include/signal.h: Likewise.
2029 * include/stdio.h: Likewise.
2030 * include/stdlib.h: Likewise.
2031 * include/string.h: Likewise.
2032 * include/sys/cdefs.h: Likewise.
2033 * include/sys/mman.h: Likewise.
2034 * include/sys/msg.h: Likewise.
2035 * include/sys/resource.h: Likewise.
2036 * include/sys/select.h: Likewise.
2037 * include/sys/socket.h: Likewise.
2038 * include/sys/stat.h: Likewise.
2039 * include/sys/statvfs.h: Likewise.
2040 * include/sys/time.h: Likewise.
2041 * include/sys/times.h: Likewise.
2042 * include/sys/uio.h: Likewise.
2043 * include/sys/utsname.h: Likewise.
2044 * include/sys/wait.h: Likewise.
2045 * include/termios.h: Likewise.
2046 * include/time.h: Likewise.
2047 * include/ulimit.h: Likewise.
2048 * include/unistd.h: Likewise.
2049 * include/utime.h: Likewise.
2050 * include/wchar.h: Likewise.
2051 * include/wctype.h: Likewise.
2052 * include/wordexp.h: Likewise.
2053
2054 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2055
7a270350
UD
2056 * time/time.h: TIME_UTC must be a macro.
2057 Make timespec_get available for ISO C11 only as well.
2058
7724defc
UD
20592012-02-24 Ulrich Drepper <drepper@gmail.com>
2060
2061 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2062 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2063
6b1d1d46
JM
20642012-02-24 Joseph Myers <joseph@codesourcery.com>
2065
2066 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2067
0f8bbd69
JM
20682012-02-24 Joseph Myers <joseph@codesourcery.com>
2069
2070 * manual/texinfo.tex: Update to version 2012-01-19.16.
2071
66ab80bc
JM
20722012-02-24 Joseph Myers <joseph@codesourcery.com>
2073
2074 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2075
74981cc5
RM
20762012-02-24 Roland McGrath <roland@hack.frob.com>
2077
ee968201
RM
2078 [BZ #13738]
2079 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2080 * manual/fdl-1.3.texi: New file.
2081 * manual/fdl-1.1.texi: File removed.
2082
74981cc5
RM
2083 [BZ #13738]
2084 * manual/libc.texinfo (FDL_VERSION): New @set.
2085 Use it for mention of FDL in cover text.
2086 (Documentation License): Use it in @include file name.
2087
7bb764bc
JM
20882012-02-22 Joseph Myers <joseph@codesourcery.com>
2089 Roland McGrath <roland@hack.frob.com>
2090
2091 [BZ #5461]
2092 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2093 not LONG_LONG_MAX and LONG_LONG_MIN.
2094 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2095 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2096 name.
2097 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2098
6cbeae47
JM
20992012-02-22 Joseph Myers <joseph@codesourcery.com>
2100
2101 [BZ #2547]
2102 [BZ #11365]
2103 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2104 manipulate bits before adding and subtracting TWO23[sx].
2105 * math/libm-test.inc (nearbyint_test): Add more tests.
2106
fe45ce09
JM
21072012-02-22 Joseph Myers <joseph@codesourcery.com>
2108
2109 [BZ #2548]
2110 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2111 bits before adding and subtracting TWO23[sx].
2112 * math/libm-test.inc (rint_test): Add more tests.
2113 (rint_test_tonearest): Likewise.
2114 (rint_test_towardzero): Likewise.
2115 (rint_test_downward): Likewise.
2116 (rint_test_upward: Likewise.
2117
ff3b3d82
JM
21182012-02-22 Joseph Myers <joseph@codesourcery.com>
2119
2120 [BZ #10110]
2121 * include/stdc-predef.h: New file. Extracted from features.h.
2122 * include/features.h: Include stdc-predef.h.
2123 * Makefile (headers): Add stdc-predef.h.
2124 * CONFORMANCE (Compiler limitations): Update.
2125
ef0aab35
JM
21262012-02-22 Joseph Myers <joseph@codesourcery.com>
2127
2128 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2129
58639409
DM
21302012-02-21 David S. Miller <davem@davemloft.net>
2131
2132 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2133 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2134
c0e70b25
DM
21352012-02-20 David S. Miller <davem@davemloft.net>
2136
2137 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2138 using a normal save/restore sequence, rather than allocating a
2139 dummy stack frame just to store a frame pointer and restore.
2140 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2141
fb06851d
JM
21422012-02-21 Joseph Myers <joseph@codesourcery.com>
2143
2144 * manual/install.texi: Fix stray word in line-wrapped comment.
2145
7a8b71c3
DM
21462012-02-20 David S. Miller <davem@davemloft.net>
2147
d510c123
DM
2148 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2149 both binutils and gcc support GOTDATA.
2150
0722d7c2
DM
2151 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2152 "rd %pc" in the PIC register setup sequences.
2153
3d2b3019
DM
2154 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2155 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2156 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2157 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2158 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2160 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2163 (SYSCALL_ERROR_HANDLER): Likewise.
2164 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2165 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2167 (SYSCALL_ERROR_HANDLER): Likewise.
2168
c80098a9
DM
2169 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2170 (HAVE_GCC_GOTDATA): New.
2171 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2172 relocation support in both binutils and gcc.
2173 * sysdeps/sparc/elf/configure: Regenerate.
2174
3a2545a0
DM
2175 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2176 * sysdeps/sparc/sparc32/elf/configure: Delete.
2177 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2178 * sysdeps/sparc/sparc64/elf/configure: Delete.
2179 * sysdeps/sparc/elf/configure.in: New file.
2180 * sysdeps/sparc/elf/configure: Generate.
2181
7a8b71c3
DM
2182 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2183 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2184 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2185 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2186 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2187
f1e86fca
JM
21882012-02-21 Joseph Myers <joseph@codesourcery.com>
2189
2190 * manual/install.texi: Do not mention specific glibc version
2191 numbers.
2192 * manual/libc.texinfo (VERSION, UPDATED): Update.
2193 (@copying): Use @copyright{} and range of years.
2194
0e7dfaef
JM
21952012-02-21 Joseph Myers <joseph@codesourcery.com>
2196
2197 [BZ #13695]
2198 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2199 [crti.S not in sysdirs] (generated): Do not append.
2200 [crti.S not in sysdirs] (omit-deps): Likewise.
2201 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2202 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2203 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2204 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2205 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2206 Likewise.
2207 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2208 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2209 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2210 * csu/defs.awk: Remove file.
2211 * sysdeps/generic/initfini.c: Likewise.
2212 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2213 variable.
2214 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2215 Likewise.
2216
599af3ca
JM
22172012-02-20 Joseph Myers <joseph@codesourcery.com>
2218
2219 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2220 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2221 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2222 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2223 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2224 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2225 <bits/epoll.h>.
2226 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2227 (__EPOLL_PACKED): Define to empty if not defined by
2228 <bits/epoll.h>.
2229 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2231 bits/epoll.h.
2232
0e499750
JM
22332012-02-20 Joseph Myers <joseph@codesourcery.com>
2234
2235 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2236 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2237 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2238 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2239 <bits/timerfd.h>.
2240 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2242 bits/timerfd.h.
2243
5ad91f6e
JM
22442012-02-20 Joseph Myers <joseph@codesourcery.com>
2245
2246 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2247 in C locale.
2248 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2249 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2250 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2252
06b99b02
AJ
22532012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2254
2255 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2256 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2257
7638c0fd
AS
22582012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2259
2260 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2261 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2262 defined.
2263 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2264 Likewise.
2265 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2266 entry for 2.16.
2267
92221550
AJ
22682012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2269
2270 * math/w_acos.c: Use non-signaling floating-point comparisons.
2271 * math/w_acosf.c: Likewise.
2272 * math/w_acosh.c: Likewise.
2273 * math/w_acoshf.c: Likewise.
2274 * math/w_acoshl.c: Likewise.
2275 * math/w_acosl.c: Likewise.
2276 * math/w_asin.c: Likewise.
2277 * math/w_asinf.c: Likewise.
2278 * math/w_asinl.c: Likewise.
2279 * math/w_atanh.c: Likewise.
2280 * math/w_atanhf.c: Likewise.
2281 * math/w_atanhl.c: Likewise.
2282 * math/w_exp2.c: Likewise.
2283 * math/w_exp2f.c: Likewise.
2284 * math/w_exp2l.c: Likewise.
2285 * math/w_j0.c: Likewise.
2286 * math/w_j0f.c: Likewise.
2287 * math/w_j0l.c: Likewise.
2288 * math/w_j1.c: Likewise.
2289 * math/w_j1f.c: Likewise.
2290 * math/w_j1l.c: Likewise.
2291 * math/w_jn.c: Likewise.
2292 * math/w_jnf.c: Likewise.
2293 * math/w_log.c: Likewise.
2294 * math/w_log10.c: Likewise.
2295 * math/w_log10f.c: Likewise.
2296 * math/w_log10l.c: Likewise.
2297 * math/w_log2.c: Likewise.
2298 * math/w_log2f.c: Likewise.
2299 * math/w_log2l.c: Likewise.
2300 * math/w_logf.c: Likewise.
2301 * math/w_logl.c: Likewise.
2302 * math/w_sqrt.c: Likewise.
2303 * math/w_sqrtf.c: Likewise.
2304 * math/w_sqrtl.c: Likewise.
2305 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2306 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2308 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2310
ebaf36eb
JM
23112012-02-19 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #9739]
2314 * manual/string.texi (strnlen): Use correct parameter name in
2315 equivalent expression.
2316
71c254a6
JM
23172012-02-19 Joseph Myers <joseph@codesourcery.com>
2318
2319 [BZ #11174]
2320 * manual/users.texi (seteuid): Consistently use neweuid for
2321 argument name.
2322
16d2c631
JM
23232012-02-19 Joseph Myers <joseph@codesourcery.com>
2324
2325 [BZ #13704]
2326 * manual/nss.texi (Services in the NSS configuration): Correct
2327 list of services in example configuration file.
2328
cd837b09
NB
23292012-02-19 Nick Bowler <nbowler@draconx.ca>
2330
2331 [BZ #11322]
2332 * manual/arith.texi: Remove statements about negative zero
2333 behaving identically to zero.
2334
02c4bbad
JM
23352012-02-18 Joseph Myers <joseph@codesourcery.com>
2336
2337 [BZ #5993]
2338 * manual/install.texi: Do not document upgrading from libc5.
2339
366842e7
JM
23402012-02-18 Joseph Myers <joseph@codesourcery.com>
2341
2342 [BZ #4596]
2343 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2344
dd54084d
DM
23452012-02-18 David S. Miller <davem@davemloft.net>
2346
2347 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2348 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2349 %o7 across the call.
2350 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2351 instead.
2352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2353 SETUP_PIC_REG_LEAF.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2355 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2356 * sysdeps/sparc/crtn.S: Likewise.
2357
2bcc53a3
UD
23582012-02-17 Ulrich Drepper <drepper@gmail.com>
2359
2360 * aout/Makefile: Remove.
2361
09c093b5
RK
23622012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2363
2364 [BZ #13058]
2365 * manual/examples/argp-ex1.c (main): Format definition in GNU
2366 style.
2367 * manual/examples/argp-ex2.c (main): Likewise.
2368 * manual/examples/argp-ex3.c (main): Likewise.
2369 * manual/examples/argp-ex4.c (main): Likewise.
2370 * manual/examples/longopt.c (main): Use new-style prototype
2371 definition.
2372 * manual/examples/strncat.c (main): Specify return type and use
2373 (void) for arguments.
2374 * manual/examples/subopt.c (main): Use char **argv argument.
2375
2ee633a2
JM
23762012-02-17 Joseph Myers <joseph@codesourcery.com>
2377
2378 [BZ #5077]
2379 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2380 rounding modes.
2381
0520adde
FB
23822012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2383
2384 [BZ #6907]
2385 * manual/string.texi (strchr): Change when strchrnul is
2386 recommended.
2387
3f4081cd
DGM
23882012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2389
2390 [BZ #174]
2391 * manual/locale.texi (setlocale): Document LOCPATH.
2392
d1b10e78
JM
23932012-02-17 Joseph Myers <joseph@codesourcery.com>
2394
2395 [BZ #10210]
2396 * manual/process.texi (execle): Move @dots{} before last argument.
2397
79c6869c
PB
23982012-02-17 Paul Bolle <pebolle@tiscali.nl>
2399
2400 [BZ #12047]
2401 * manual/charset.texi (Generic Charset Conversion): Fix typo
2402 (LC_TYPE -> LC_CTYPE).
2403
cc6e48bc
NB
24042012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2405
2406 [BZ #5805]
2407 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2408 (scalbnf): Likewise.
2409 (scalbnl): Likewise.
2410 (scalbln): Likewise.
2411 (scalblnf): Likewise.
2412 (scalblnl): Likewise.
2413 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2414 (vwarnx): Likewise.
2415 (verr): Likewise.
2416 (verrx): Likewise.
2417 * manual/filesys.texi (telldir): Use braces around return type.
2418 * manual/llio.texi (mmap): Add space after comma.
2419 (mmap64): Likewise.
2420 * manual/math.texi (jn): Use @var{} on parameter names.
2421 (jnf): Likewise.
2422 (jnl): Likewise.
2423 (yn): Likewise.
2424 (ynf): Likewise.
2425 (ynl): Likewise.
2426 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2427 line.
2428 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2429 "...".
2430 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2431 (sched_get_priority_max): Likewise.
2432 * manual/signal.texi (sigvec): Add space after comma.
2433 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2434 names.
2435 (if_indextoname): Likewise.
2436 (if_freenameindex): Likewise.
2437 (sendto): Use ',' instead of '.' in prototype.
2438 * manual/startup.texi (syscall): Use @dots{} instead of literal
2439 "...".
2440 * manual/stdio.texi (__fpending): Separate initial words of
2441 paragraph from @deftypefun line.
2442 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2443 "...".
2444 (vsyslog): Use @var{} on parameter names.
2445 * manual/terminal.texi (stty): Use @var{} on parameter names.
2446 * manual/users.texi (getutmp): Use @var{} on parameter names.
2447 (getutmpx): Likewise.
2448
5b23062f
JM
24492012-02-17 Joseph Myers <joseph@codesourcery.com>
2450
2451 [BZ #6884]
2452 * manual/stdio.texi (fopen): Fix typos in description of
2453 ",ccs=STRING".
2454
8dee4833
AJ
24552012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2456
2457 [BZ #4026]
2458 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2459 get clock_id definition.
2460
9078ce93
TS
24612012-02-17 Thomas Schwinge <thomas@schwinge.name>
2462
2463 [BZ #4822]
2464 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2465 (madvise): Cast every argument to void on its own.
2466
3835c55f
JM
24672012-02-17 Joseph Myers <joseph@codesourcery.com>
2468
2469 [BZ #9902]
2470 * manual/startup.texi (Exit Status): Fix typo.
2471
35c47e37
JM
24722012-02-17 Joseph Myers <joseph@codesourcery.com>
2473
2474 [BZ #10140]
2475 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2476 * manual/examples/argp-ex2.c: Likewise.
2477 * manual/examples/argp-ex3.c: Likewise.
2478
e3b69ca7
RH
24792012-02-16 Richard Henderson <rth@redhat.com>
2480
2481 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2482 * sysdeps/s390/s390-32/initfini.c: Remove.
2483 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2484 * sysdeps/s390/s390-64/initfini.c: Remove.
2485
df83af67
KK
24862012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2487
2488 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2489 compiler output for sysdeps/generic/initfini.c.
2490 * sysdeps/sh/elf/initfini.c: Remove file.
2491
f63f3380
DM
24922012-02-16 David S. Miller <davem@davemloft.net>
2493
fb59b3a4
DM
2494 [BZ #11494]
2495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2496
f63f3380
DM
2497 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2498 * sysdeps/sparc/crti.S: New file.
2499 * sysdeps/sparc/crtn.S: New file.
2500 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2501 * sysdeps/sparc/sparc64/Makefile: Likewise.
2502
df6a4a4a
MF
25032012-02-15 Mike Frysinger <vapier@gentoo.org>
2504
6dd8f3dc 2505 [BZ #3335]
df6a4a4a
MF
2506 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2507
1cac7236
RM
25082012-02-15 Roland McGrath <roland@hack.frob.com>
2509
d2c736f8
RM
2510 [BZ #4822]
2511 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2512
1cac7236
RM
2513 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2514 (write, read, close): Likewise.
2515 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2516
8e475601
JM
25172012-02-15 Joseph Myers <joseph@codesourcery.com>
2518
2519 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2520 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2521 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2522 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2523 <bits/signalfd.h>.
2524 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2526 bits/signalfd.h.
2527
ed656b40
MP
25282012-02-14 Marek Polacek <polacek@redhat.com>
2529
2530 * sysdeps/x86_64/crti.S: New file.
2531 * sysdeps/x86_64/crtn.S: New file.
2532 * sysdeps/x86_64/elf/initfini.c: Remove file.
2533
2a979d3a
JM
25342012-02-13 Joseph Myers <joseph@codesourcery.com>
2535
2536 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2537 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2538 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2539 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2540 <bits/inotify.h>.
2541 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2543 bits/inotify.h.
2544
2a418ac3
JM
25452012-02-13 Joseph Myers <joseph@codesourcery.com>
2546
2547 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2548 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2549 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2550 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2551 <bits/eventfd.h>.
2552 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2554 bits/eventfd.h.
2555
fb779be7
TS
25562012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2557
e19e83c5
RM
2558 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2559 __feraiseexcept instead of feraiseexcept.
7c35ffed 2560
fb779be7
TS
2561 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2562 nanosleep invocations.
2563 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2564 strings, and add error checking for a nanosleep invocations.
2565
59ba27a6
PE
25662012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2567
2568 Replace FSF snail mail address with URLs, as per GNU coding standards.
2569 Most of the snail mail addresses were wrong anyway, and omitting
2570 them makes the source code easier to maintain. Almost all of the
2571 changes are to license notices and to locale LC_IDENTIFICATION
2572 addresses, except for this one:
2573 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2574 not its snail mail address.
2575
57b957eb
RH
25762012-02-09 Richard Henderson <rth@twiddle.net>
2577
af850b1c
RH
2578 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2579 of kernel-features.h.
2580
57b957eb
RH
2581 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2582
6b73181a
MP
25832012-02-08 Marek Polacek <polacek@redhat.com>
2584
2585 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2586 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2587 * sysdeps/gnu/_G_config.h: Likewise.
2588 * sysdeps/generic/_G_config.h: Likewise.
2589
26ecc33a
AS
25902012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2591
6c6dbc63
AS
2592 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2593 tests.
2594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2595
e216c012
AS
2596 * sysdeps/powerpc/powerpc32/crti.S: New file.
2597 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2598 * sysdeps/powerpc/powerpc64/crti.S: New file.
2599 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2600
26ecc33a
AS
2601 * Makeconfig (have-initfini): Don't set.
2602 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2603 * configure.in (nopic_initfini): Don't substitute.
2604 * config.h.in (HAVE_INITFINI): Don't #undef.
2605 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2606 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2607
3add8e13
JM
26082012-02-08 Joseph Myers <joseph@codesourcery.com>
2609
2610 Support crti.S and crtn.S provided directly by architectures.
2611 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2612 [crti.S in sysdirs] (omit-deps): Likewise.
2613 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2614 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2615 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2616 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2617 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2618 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2619 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2620 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2621 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2622 compiler output for sysdeps/generic/initfini.c.
2623 * sysdeps/i386/elf/Makefile: Remove file.
2624 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2625
a22f12b4
MP
26262012-02-07 Marek Polacek <polacek@redhat.com>
2627
2628 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2629 * sysdeps/gnu/_G_config.h: Likewise.
2630 * sysdeps/mach/hurd/_G_config.h: Likewise.
2631
148cf100
MP
26322012-02-07 Marek Polacek <polacek@redhat.com>
2633
2634 * math/Makefile (tests): Add tst-CMPLX2.
2635 * math/tst-CMPLX2.c: New file.
2636
cfdc0dd7
AS
26372012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2638
84ba42c4
AS
2639 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2640
cfdc0dd7
AS
2641 * math/libm-test.inc (jn_test): Add missing L suffix.
2642
622c86f4
MP
26432012-02-06 Marek Polacek <polacek@redhat.com>
2644
2645 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2646 * sysdeps/i386/fpu/e_powf.S: Likewise.
2647 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2648 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2649 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2650 * sysdeps/i386/fpu/e_pow.S: Likewise.
2651 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2652 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2653 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2654 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2655 * sysdeps/i386/fpu/e_log2.S: Likewise.
2656 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2657 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2658 * sysdeps/i386/fpu/e_powl.S: Likewise.
2659 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2660 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2661 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2662 * sysdeps/i386/fpu/e_logl.S: Likewise.
2663 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2664 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2665 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2666 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2667 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2668 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2669 * sysdeps/i386/fpu/e_log.S: Likewise.
2670 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2671 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2672 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2673 * sysdeps/i386/fpu/e_logf.S: Likewise.
2674 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2675 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2676 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2677 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2678 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2679 * sysdeps/i386/fpu/e_log10.S: Likewise.
2680 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2681 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2682 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2683 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2684 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2685 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2686 * sysdeps/i386/asm-syntax.h: Likewise.
2687 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2688 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2689 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2690 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2691 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2692 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2693 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2694 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2695 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2696 * sysdeps/powerpc/sysdep.h: Likewise.
2697 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2698 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2699
d4a54ac6
JM
27002012-02-06 Joseph Myers <joseph@codesourcery.com>
2701
2702 [BZ #411]
2703 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2704
314054ea
JM
27052012-02-06 Joseph Myers <joseph@codesourcery.com>
2706
2707 * sysdeps/i386/sysdep.h: Include <features.h>.
2708 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2709 version.
2710
d8e0ca50
JM
27112012-02-05 Joseph Myers <joseph@codesourcery.com>
2712
2713 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2714 Define.
2715 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2716 LOAD_PIC_REG_STR.
2717
b1da7dd9
JM
27182012-02-03 Joseph Myers <joseph@codesourcery.com>
2719
2720 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2721 (SETUP_PIC_REG): Use GET_PC_THUNK.
2722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2723 macro.
2724
9a1d9254
JM
27252012-02-03 Joseph Myers <joseph@codesourcery.com>
2726
2727 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2728 for non-PIC compilation.
2729 (SETUP_PIC_REG): Add .p2align directive.
2730 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2731 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2732 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2733 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2734 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2735 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2736 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2737 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2738 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2739 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2740 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2741 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2742 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2743 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2744 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2745 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2746 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2747 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2748 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2749 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2750 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2751 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2752 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2753 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2754 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2756 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2757 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2758 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2759 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2760 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2761 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2762 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2763 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2764 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2765 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2766 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2767 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2768 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2769 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2770 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2771
65dc3b75
JM
27722012-02-03 Joseph Myers <joseph@codesourcery.com>
2773
2774 * math/tst-CMPLX.c: Include <stdio.h>.
2775
d55bf177
JM
27762012-01-31 Joseph Myers <joseph@codesourcery.com>
2777
2778 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2779 float.
2780 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2781 * sysdeps/sparc/bits/mathdef.h: Likewise.
2782
69db4f8f
MP
27832012-01-31 Marek Polacek <polacek@redhat.com>
2784
2785 * libio/libio.h: Don't define _PARAMS.
2786 * locale/programs/config.h: Don't define PARAMS.
2787 * stdlib/strtol_l.c: Likewise.
2788 (__strtol_l): Remove PARAMS from the prototype.
2789
41b81892
UD
27902012-01-31 Ulrich Drepper <drepper@gmail.com>
2791
3b49edc0
UD
2792 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2793 names. Just use the correct names. Remove unnecessary wrapper
2794 functions.
2795 * malloc/arena.c: Likewise.
2796 * malloc/hooks.c: Likewise.
2797
41b81892
UD
2798 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2799 ARENA_TEST says not to. Simplify test for creation of a new arena.
2800 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2801
27a25b6e
UD
28022012-01-30 Ulrich Drepper <drepper@gmail.com>
2803
2804 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2805 into tail calls.
2806 (update_get_addr): New function.
2807 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2808 GET_ADDR_MODULE parameter.
2809
c8a89e7d
JM
28102012-01-30 Joseph Myers <joseph@codesourcery.com>
2811
2812 * crypt/cert.c: Remove __STDC__ conditionals.
2813 * crypt/crypt-entry.c: Likewise.
2814 * crypt/crypt_util.c: Likewise.
2815 * libio/filedoalloc.c: Likewise.
2816 * libio/fileops.c: Likewise.
2817 * libio/genops.c: Likewise.
2818 * libio/iofclose.c: Likewise.
2819 * libio/iofdopen.c: Likewise.
2820 * libio/iofopen.c: Likewise.
2821 * libio/iofopen64.c: Likewise.
2822 * libio/iogetdelim.c: Likewise.
2823 * libio/iopopen.c: Likewise.
2824 * libio/obprintf.c: Likewise.
2825 * libio/oldfileops.c: Likewise.
2826 * libio/oldiofclose.c: Likewise.
2827 * libio/oldiofdopen.c: Likewise.
2828 * libio/oldiofopen.c: Likewise.
2829 * libio/oldiopopen.c: Likewise.
2830 * libio/wfiledoalloc.c: Likewise.
2831 * libio/wgenops.c: Likewise.
2832 * locale/programs/xmalloc.c: Likewise.
2833 * misc/syslog.c: Likewise.
2834 * stdio-common/xbug.c: Likewise.
2835 * string/memchr.c: Likewise.
2836 * string/memcmp.c: Likewise.
2837 * string/memrchr.c: Likewise.
2838 * string/rawmemchr.c: Likewise.
2839 * sysdeps/posix/getcwd.c: Likewise.
2840 * time/strftime_l.c: Likewise.
2841
3b100462
JM
28422012-01-30 Joseph Myers <joseph@codesourcery.com>
2843
2844 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2845 * config.make.in (config-cflags-sse2avx): Define.
2846 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2847 Fix typo.
2848
607998af
CM
28492012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2850
2851 * scripts/config.guess: Update from upstream config git repository.
2852 * scripts/config.sub: Likewise.
2853
3601428f
CM
28542012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2855
3ac8b282
CM
2856 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2857 (EM_NUM): Update.
2858 (R_TILEPRO_*, R_TILEGX_*): New macros.
2859
e034841e
CM
2860 * scripts/firstversions.awk: Fix bug in version range handling.
2861
540d7568
CM
2862 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2863
3601428f
CM
2864 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2865
463de862
CM
2866 * include/sys/epoll.h: New file.
2867 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2868 libc_hidden_def.
2869
73139a76
UD
28702012-01-28 Ulrich Drepper <drepper@gmail.com>
2871
96bc5b45
UD
2872 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2873 Avoid unnecessary __WORDSIZE == 64 test.
2874 (fmaxf): Use VEX format if possible.
2875 (fmax): Likewise.
2876 (fminf): Likewise.
2877 (fmin): Likewise.
2878
56f6f6a2
UD
2879 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2880 * math/math_private.h: Remove libc_fegetround* and
2881 libc_fesetround*.
2882 * sysdeps/i386/configure.in: Check for -msse2avx.
2883 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2884 also if SSE2AVX is defined.
2885 Remove libc_fegetround* and libc_fesetround*.
2886 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2887 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2888 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2889 of HAS_YMM_USABLE.
2890 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2891 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2894 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2895
73139a76
UD
2896 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2897
d73f93a4
AZ
28982012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899
2900 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2901 size is not set.
2902 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2903
6ee65ed6
UD
29042012-01-27 Ulrich Drepper <drepper@gmail.com>
2905
2906 [BZ #13618]
2907 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2908 relocation.
2909 * Makeconfig (libm): Define.
2910 * elf/Makefile: Add rules to build and run tst-relsort1.
2911 * elf/tst-relsort1.c: New file.
2912 * elf/tst-relsort1mod1.c: New file.
2913 * elf/tst-relsort1mod2.c: New file.
2914
8db21882
JM
29152012-01-27 Joseph Myers <joseph@codesourcery.com>
2916
2917 * math/s_ldexp.c: Remove __STDC__ conditionals.
2918 * math/s_ldexpf.c: Likewise.
2919 * math/s_ldexpl.c: Likewise.
2920 * math/s_nextafter.c: Likewise.
2921 * math/s_nexttowardf.c: Likewise.
2922 * math/s_significand.c: Likewise.
2923 * math/s_significandf.c: Likewise.
2924 * math/s_significandl.c: Likewise.
2925 * math/w_jnl.c: Likewise.
2926 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2927 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2928 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2929 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2930 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2931 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2932 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2933 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2934 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2935 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2936 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2937 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2938 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2939 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2940 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2941 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2942 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2943 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2944 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2947 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2948 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2949 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2950 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2951 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2952 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2953 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2954 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2955 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2956 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2957 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2958 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2959 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2960 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2961 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2962 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2963 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2964 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2965 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2966 * sysdeps/ieee754/k_standard.c: Likewise.
2967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2968 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2969 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2970 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2971 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2972 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2974 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2975 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2976 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2977 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2978 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2979 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2980 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2981 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2982 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2983 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2984 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2985 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2986 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2987 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2988 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2989 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2990 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2991 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2992 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2993 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2994 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2995 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2996 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2997 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2998 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2999 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3000 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3001 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3002 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3003 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3004 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3005 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3006 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3007 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3009 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3011 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3012 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3013 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3014 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3016 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3017 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3020 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3021 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3022 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3023 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3024 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3025 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3026 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3027 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3028 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3029 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3030 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3031 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3032 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3033 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3034 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3035 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3036 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3037 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3038 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3039 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3040 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3041 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3042 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3043 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3044 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3045 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3046 * sysdeps/ieee754/s_matherr.c: Likewise.
3047 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3048 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3049 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3050 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3051
965a54a4
JM
30522012-01-26 Joseph Myers <joseph@codesourcery.com>
3053
3054 * crypt/md5.h: Remove __STDC__ conditionals.
3055 * libio/libioP.h: Likewise.
3056 * locale/programs/config.h: Likewise.
3057 * sysdeps/generic/sysdep.h: Likewise.
3058 * sysdeps/i386/asm-syntax.h: Likewise.
3059 * sysdeps/s390/asm-syntax.h: Likewise.
3060 * sysdeps/unix/sysdep.h: Likewise.
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3063
7071ad79
JM
30642012-01-26 Joseph Myers <joseph@codesourcery.com>
3065
3066 * libio/libio.h: Remove __STDC__ conditionals.
3067 * malloc/obstack.h: Likewise.
3068 * math/complex.h: Likewise.
3069 * math/math.h: Likewise.
3070 * sysdeps/generic/_G_config.h: Likewise.
3071 * sysdeps/gnu/_G_config.h: Likewise.
3072 * sysdeps/mach/hurd/_G_config.h: Likewise.
3073 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3074 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3075 * sysdeps/sparc/bits/mathdef.h: Likewise.
3076
afc5ed09
UD
30772012-01-26 Ulrich Drepper <drepper@gmail.com>
3078
3079 [BZ #13583]
3080 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3081 Clean up HAS_* macros.
afc5ed09 3082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3083 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3084 possible.
3085 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3086 HAS_AVX.
3087 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3088 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3089 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3090 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3091 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3092
bdb6de1d
JM
30932012-01-25 Joseph Myers <joseph@codesourcery.com>
3094
3095 * elf/tst-unique3.cc (gets): Remove declaration.
3096 * elf/tst-unique3lib.cc (gets): Likewise.
3097 * elf/tst-unique3lib2.cc (gets): Likewise.
3098 * elf/tst-unique4.cc (gets): Likewise.
3099
b15549e6
UD
31002012-01-24 Ulrich Drepper <drepper@gmail.com>
3101
3102 * include/stdio.h: Add C++ protection. Add gets declarations and
3103 definitions.
3104 * debug/tst-chk1.c: Don't declare gets here.
3105 * stdio-common/tst-gets.c: Likewise.
3106
a037381f
JM
31072012-01-24 Joseph Myers <joseph@codesourcery.com>
3108
3109 * posix/glob: Remove directory.
3110
f1d4aa75
JM
31112012-01-24 Joseph Myers <joseph@codesourcery.com>
3112
3113 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3114
81c0c964
PT
31152012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3116
3117 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3118 of the non-standard EPFNOSUPPORT.
3119
0ea698ae
ST
31202011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3121
3122 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3123 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3124 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3125
d220b117
UD
31262012-01-21 Ulrich Drepper <drepper@gmail.com>
3127
3128 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3129
3e1aa84e
UD
31302012-01-20 Ulrich Drepper <drepper@gmail.com>
3131
3132 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3133 transient errors.
3134 * nscd/grpcache.c (cache_addgr): Likewise.
3135 * nscd/hstcache.c (cache_addhst): Likewise.
3136 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3137 * nscd/pwdcache.c (cache_addpw): Likewise.
3138 * nscd/servicescache.c (cache_addserv): Likewise.
3139
400aa020
UD
31402012-01-16 Ulrich Drepper <drepper@gmail.com>
3141
d77e7869
UD
3142 * malloc/malloc.c: Various cleanups.
3143 * malloc/hooks.c: Likewise.
3144
400aa020
UD
3145 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3146 * stdlib/bug-fmtmsg1.c: New file.
3147
3148 * stdlib/fmtmsg.c (init): Add missing unlock.
3149 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3150
e0a309cf
MP
31512012-01-12 Marek Polacek <polacek@redhat.com>
3152
3153 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3154 and _GNU_SOURCE.
3155
929d11c7
WS
31562012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3157
3158 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3159 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3160 macro to ensure uniqueness of label name.
3161 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3162 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3163
41d0e869
UD
31642012-01-11 Ulrich Drepper <drepper@gmail.com>
3165
0cc5ed3b
UD
3166 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3167
41d0e869
UD
3168 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3169 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3170 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3172
a47a831a
UD
31732012-01-10 Ulrich Drepper <drepper@gmail.com>
3174
daa891c0
UD
3175 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3176
3177 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3178 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3179 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3180
e58ef0f2
UD
3181 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3182
a47a831a 3183 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3184 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3185 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3187
3188 * math/bits/math-finite.h: Add ldexp support.
3189
a0bfc9c7
MP
31902012-01-10 Marek Polacek <polacek@redhat.com>
3191
3192 * locale/programs/localedef.h (show_archive_content): Add noreturn
3193 attribute.
3194
d6e97a1d
UD
31952012-01-09 Ulrich Drepper <drepper@gmail.com>
3196
3197 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3198
d5835c26
UD
31992012-01-08 Ulrich Drepper <drepper@gmail.com>
3200
e5f484c6
UD
3201 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3202
d5835c26
UD
3203 * io/Makefile (headers): Add bits/poll2.h.
3204
d1f741e9
WS
32052011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3206
3207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3208 typo #include statement.
3209
ec09c1c4
UD
32102012-01-08 Ulrich Drepper <drepper@gmail.com>
3211
3212 * include/sys/cdefs.h: Define __attribute_alloc_size.
3213 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3214 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3215 * elf/pldd.c: Likewise.
3216 * iconv/iconv_charmap.c: Likewise.
3217 * iconv/iconvconfig.c: Likewise.
3218 * iconv/strtab.c: Likewise.
3219 * locale/programs/locale.c: Likewise.
3220 * locale/programs/localedef.h: Likewise.
3221 * locale/programs/simple-hash.c: Likewise.
3222 * nscd/nscd.h: Likewise.
3223 * nss/makedb.c: Likewise.
3224 * sysdeps/generic/ldconfig.h: Likewise.
3225 * locale/programs/localedef.c: Remove xmalloc prototype.
3226 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3227
20b38e03
PP
32282012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3229
3230 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3231 appropriate.
3232
a0da5fe1
UD
32332012-01-08 Ulrich Drepper <drepper@gmail.com>
3234
1d5a644a 3235 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3236 * math/tst-CMPLX.c: New file.
1d5a644a 3237
8784a6db
UD
3238 * math/complex.h (CMPLXL): Fix typo.
3239
d9a216c0
UD
3240 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3241 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3242 GLIBC_2.16.
3243 * debug/tst-chk1.c: Add poll and ppoll tests.
3244 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3245 * include/sys/poll.h: Add hidden proto for ppoll.
3246 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3247 * sysdeps/mach/hurd/ppoll.c: Likewise.
3248 * io/ppoll.c: Likewise.
3249 * debug/poll_chk.c: New file.
3250 * debug/ppoll_chk.c: New file.
3251 * include/bits/poll2.h: New file.
3252 * io/bits/poll2.h: New file.
3253
ac097f5c
UD
3254 [BZ #1350]
3255 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3256
2119dcfa
UD
3257 * configure.in: static is always set to yes. Remove.
3258 * config.make.in: Don't set build-static.
3259 * Makeconfig: Remove use of build-static.
3260 * dlfcn/Makefile: Likewise.
3261 * elf/Makefile: Likewise.
3262 * math/Makefile: Likewise.
3263 * misc/Makefile: Likewise.
3264 * nptl/Makefile: Likewise.
3265 * sysdeps/mach/hurd/Makefile: Likewise.
3266
121766a9
UD
3267 * configure.in: PWD_P is not used anymore.
3268 * config.make.in: Remove PWD_P entry.
3269
51a1d39c 3270 * configure.in: Remove last remnants of RANLIB.
8720d066 3271 No need to check for signed size_t anymore.
215f4bdc
UD
3272 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3273 and IA-64.
3857022a 3274 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3275 * aclocal.m4: Likewise.
3276
d3ed7225
UD
3277 * wcsmbs/mbrtoc16.c: Implement using towc function.
3278 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3279 * wcsmbs/wcsmbsload.c: Likewise.
3280 * iconv/gconv_simple.c: Likewise.
3281 * iconv/gconv_int.h: Likewise.
3282 * iconv/gconv_builtin.h: Likewise.
3283 * iconv/iconv_prog.c: Remove CHAR16 handling.
3284
3285 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3286
3287 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3288
a0da5fe1
UD
3289 * configure.in: Remove --with-elf and --enable-bounded options.
3290 Dont set base_machine for ia64. More non-ELF conditions removed.
3291 Remove testing and setting of leading underscore information.
3292 * config.make.in (build-bounded): Set to no.
3293 * config.h.in: Remove NO_UNDERSCORES entry.
3294 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3295 them.
3296 * csu/start.c: Remove !NO_UNDERSCORE code.
3297 * locale/localeinfo.h: Likewise.
3298 * sysdeps/generic/machine-gmon.h: Likewise.
3299 * sysdeps/generic/sysdep.h: Likewise.
3300 * sysdeps/i386/sysdep.h: Likewise.
3301 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3302 * sysdeps/mach/sysdep.h: Likewise.
3303 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3304 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3305 * sysdeps/sh/sysdep.h: Likewise.
3306 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3307 * sysdeps/unix/i386/sysdep.S: Likewise.
3308 * sysdeps/unix/sparc/start.c: Likewise.
3309 * sysdeps/unix/sparc/sysdep.S: Likewise.
3310 * sysdeps/unix/sparc/sysdep.h: Likewise.
3311 * sysdeps/unix/start.c: Likewise.
3312 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3313 * sysdeps/x86_64/sysdep.h: Likewise.
3314
df78418a
UD
33152012-01-07 Ulrich Drepper <drepper@gmail.com>
3316
a784e502
UD
3317 [BZ #13553]
3318 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3319 for non-gcc.
3320 * argp/argp-fmtstream.h: Use const instead __const.
3321 * argp/argp.h: Likewise.
3322 * assert/assert.h: Likewise.
3323 * bits/fenv.h: Likewise.
3324 * bits/sched.h: Likewise.
3325 * bits/sigset.h: Likewise.
3326 * bits/sigthread.h: Likewise.
3327 * catgets/nl_types.h: Likewise.
3328 * conform/data/pthread.h-data: Likewise.
3329 * crypt/crypt-private.h: Likewise.
3330 * crypt/crypt.h: Likewise.
3331 * crypt/crypt_util.c: Likewise.
3332 * ctype/ctype.h: Likewise.
3333 * debug/execinfo.h: Likewise.
3334 * debug/mbsnrtowcs_chk.c: Likewise.
3335 * debug/mbsrtowcs_chk.c: Likewise.
3336 * debug/wcsnrtombs_chk.c: Likewise.
3337 * debug/wcsrtombs_chk.c: Likewise.
3338 * debug/wcstombs_chk.c: Likewise.
3339 * dirent/dirent.h: Likewise.
3340 * dlfcn/dlfcn.h: Likewise.
3341 * elf/neededtest4.c: Likewise.
3342 * grp/grp.h: Likewise.
3343 * gshadow/gshadow.h: Likewise.
3344 * iconv/gconv.h: Likewise.
3345 * iconv/gconv_int.h: Likewise.
3346 * iconv/gconv_simple.c: Likewise.
3347 * iconv/iconv.h: Likewise.
3348 * iconv/loop.c: Likewise.
3349 * iconv/skeleton.c: Likewise.
3350 * include/aio.h: Likewise.
3351 * include/aliases.h: Likewise.
3352 * include/argz.h: Likewise.
3353 * include/arpa/inet.h: Likewise.
3354 * include/assert.h: Likewise.
3355 * include/dirent.h: Likewise.
3356 * include/dlfcn.h: Likewise.
3357 * include/execinfo.h: Likewise.
3358 * include/fcntl.h: Likewise.
3359 * include/fenv.h: Likewise.
3360 * include/glob.h: Likewise.
3361 * include/grp.h: Likewise.
3362 * include/libintl.h: Likewise.
3363 * include/mntent.h: Likewise.
3364 * include/netdb.h: Likewise.
3365 * include/pwd.h: Likewise.
3366 * include/rpc/netdb.h: Likewise.
3367 * include/sched.h: Likewise.
3368 * include/search.h: Likewise.
3369 * include/shadow.h: Likewise.
3370 * include/signal.h: Likewise.
3371 * include/stdio.h: Likewise.
3372 * include/stdlib.h: Likewise.
3373 * include/string.h: Likewise.
3374 * include/sys/socket.h: Likewise.
3375 * include/sys/stat.h: Likewise.
3376 * include/sys/statfs.h: Likewise.
3377 * include/sys/statvfs.h: Likewise.
3378 * include/sys/syslog.h: Likewise.
3379 * include/sys/time.h: Likewise.
3380 * include/sys/uio.h: Likewise.
3381 * include/time.h: Likewise.
3382 * include/unistd.h: Likewise.
3383 * include/utmp.h: Likewise.
3384 * include/wchar.h: Likewise.
3385 * include/wctype.h: Likewise.
3386 * inet/aliases.h: Likewise.
3387 * inet/arpa/inet.h: Likewise.
3388 * inet/netinet/ether.h: Likewise.
3389 * inet/netinet/in.h: Likewise.
3390 * intl/libintl.h: Likewise.
3391 * io/bits/fcntl2.h: Likewise.
3392 * io/fcntl.h: Likewise.
3393 * io/ftw.h: Likewise.
3394 * io/sys/poll.h: Likewise.
3395 * io/sys/stat.h: Likewise.
3396 * io/sys/statfs.h: Likewise.
3397 * io/sys/statvfs.h: Likewise.
3398 * io/utime.h: Likewise.
3399 * libio/bits/stdio.h: Likewise.
3400 * libio/bits/stdio2.h: Likewise.
3401 * libio/libio.h: Likewise.
3402 * libio/libioP.h: Likewise.
3403 * libio/stdio.h: Likewise.
3404 * locale/lc-ctype.c: Likewise.
3405 * locale/locale.h: Likewise.
3406 * login/utmp.h: Likewise.
3407 * malloc/arena.c: Likewise.
3408 * malloc/malloc.c: Likewise.
3409 * malloc/malloc.h: Likewise.
3410 * malloc/mcheck.c: Likewise.
3411 * malloc/mtrace.c: Likewise.
3412 * math/bits/mathcalls.h: Likewise.
3413 * math/fenv.h: Likewise.
3414 * math/math_private.h: Likewise.
3415 * misc/bits/error.h: Likewise.
3416 * misc/bits/syslog.h: Likewise.
3417 * misc/err.h: Likewise.
3418 * misc/error.h: Likewise.
3419 * misc/fstab.h: Likewise.
3420 * misc/mntent.h: Likewise.
3421 * misc/regexp.h: Likewise.
3422 * misc/search.h: Likewise.
3423 * misc/sgtty.h: Likewise.
3424 * misc/sys/mman.h: Likewise.
3425 * misc/sys/syslog.h: Likewise.
3426 * misc/sys/uio.h: Likewise.
3427 * misc/sys/xattr.h: Likewise.
3428 * misc/ttyent.h: Likewise.
3429 * nis/rpcsvc/ypclnt.h: Likewise.
3430 * nss/nss.h: Likewise.
3431 * posix/bits/unistd.h: Likewise.
3432 * posix/fnmatch.h: Likewise.
3433 * posix/glob.h: Likewise.
3434 * posix/sched.h: Likewise.
3435 * posix/spawn.h: Likewise.
3436 * posix/sys/wait.h: Likewise.
3437 * posix/unistd.h: Likewise.
3438 * posix/wordexp.h: Likewise.
3439 * pwd/pwd.h: Likewise.
3440 * resolv/netdb.h: Likewise.
3441 * resource/sys/resource.h: Likewise.
3442 * rt/aio.h: Likewise.
3443 * rt/bits/mqueue2.h: Likewise.
3444 * rt/mqueue.h: Likewise.
3445 * shadow/shadow.h: Likewise.
3446 * signal/signal.h: Likewise.
3447 * socket/send.c: Likewise.
3448 * socket/sendto.c: Likewise.
3449 * socket/sys/socket.h: Likewise.
3450 * stdio-common/printf.h: Likewise.
3451 * stdlib/bits/stdlib.h: Likewise.
3452 * stdlib/fmtmsg.h: Likewise.
3453 * stdlib/monetary.h: Likewise.
3454 * stdlib/stdlib.h: Likewise.
3455 * stdlib/ucontext.h: Likewise.
3456 * streams/stropts.h: Likewise.
3457 * string/argz.h: Likewise.
3458 * string/bits/string2.h: Likewise.
3459 * string/string.h: Likewise.
3460 * string/strings.h: Likewise.
3461 * sunrpc/rpc/auth.h: Likewise.
3462 * sunrpc/rpc/auth_des.h: Likewise.
3463 * sunrpc/rpc/clnt.h: Likewise.
3464 * sunrpc/rpc/netdb.h: Likewise.
3465 * sunrpc/rpc/pmap_clnt.h: Likewise.
3466 * sunrpc/rpc/xdr.h: Likewise.
3467 * sysdeps/generic/inttypes.h: Likewise.
3468 * sysdeps/generic/net/if.h: Likewise.
3469 * sysdeps/generic/sys/swap.h: Likewise.
3470 * sysdeps/gnu/net/if.h: Likewise.
3471 * sysdeps/gnu/utmpx.h: Likewise.
3472 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3473 * sysdeps/i386/i486/bits/string.h: Likewise.
3474 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3475 * sysdeps/s390/bits/string.h: Likewise.
3476 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3477 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3478 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3479 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3480 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3481 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3482 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3483 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3484 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3485 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3486 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3487 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3488 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3489 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3490 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3491 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3492 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3494 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3495 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3496 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3497 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3498 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3499 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3500 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3501 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3502 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3503 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3504 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3505 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3506 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3507 * sysvipc/sys/ipc.h: Likewise.
3508 * sysvipc/sys/msg.h: Likewise.
3509 * sysvipc/sys/sem.h: Likewise.
3510 * sysvipc/sys/shm.h: Likewise.
3511 * termios/termios.h: Likewise.
3512 * time/sys/time.h: Likewise.
3513 * time/time.h: Likewise.
3514 * wcsmbs/bits/wchar2.h: Likewise.
3515 * wcsmbs/uchar.h: Likewise.
3516 * wcsmbs/wchar.h: Likewise.
3517 * wctype/wctype.h: Likewise.
3518
0269750c
UD
3519 [BZ #13551]
3520 * Makeconfig: Remove all but ELF support including AIX support.
3521 * Makerules: Likewise.
3522 * config.h.in: Likewise.
3523 * config.make.in: Likewise.
3524 * configure: Likewise.
3525 * configure.in: Likewise.
3526 * csu/Makefile: Likewise.
3527 * csu/version.c: Likewise.
3528 * debug/Makefile: Likewise.
3529 * dlfcn/Makefile: Likewise.
3530 * elf/Makefile: Likewise.
3531 * extra-lib.mk: Likewise.
3532 * iconv/Makefile: Likewise.
3533 * include/libc-symbols.h: Likewise.
3534 * include/shlib-compat.h: Likewise.
3535 * resolv/Makefile: Likewise.
3536 * resolv/res_libc.c: Likewise.
3537 * rt/Makefile: Likewise.
3538 * sysdeps/i386/asm-syntax.h: Likewise.
3539 * sysdeps/i386/sysdep.h: Likewise.
3540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3541 * sysdeps/mach/sysdep.h: Likewise.
3542 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3543 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3544 * sysdeps/s390/asm-syntax.h: Likewise.
3545 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3546 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3547 * sysdeps/sh/sysdep.h: Likewise.
3548 * sysdeps/unix/sparc/sysdep.h: Likewise.
3549 * sysdeps/wordsize-32/divdi3.c: Likewise.
3550 * sysdeps/x86_64/sysdep.h: Likewise.
3551
00bbd29b
UD
3552 * argp/Versions: Remove _argp_unlock_xxx.
3553
3554 [BZ #13559]
3555 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3556 * abilist/libBrokenLocale.abilist: Likewise.
3557 * abilist/libanl.abilist: Likewise.
3558 * abilist/libc.abilist: Likewise.
3559 * abilist/libcrypt.abilist: Likewise.
3560 * abilist/libdl.abilist: Likewise.
3561 * abilist/libm.abilist: Likewise.
3562 * abilist/libnsl.abilist: Likewise.
3563 * abilist/libpthread.abilist: Likewise.
3564 * abilist/libresolv.abilist: Likewise.
3565 * abilist/librt.abilist: Likewise.
3566 * abilist/libthread_db.abilist: Likewise.
3567 * abilist/libutil.abilist: Likewise.
3568 * abilist/libnss_db.abilist: New file.
3569
3570 * scripts/abilist.awk: Add support for indirect functions.
3571
a2693a0e
UD
3572 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3573
3f05895f
UD
3574 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3575
ecb6fb48
UD
3576 * shlib-versions: Remove entries for ports architectures.
3577
664f8cb9
UD
3578 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3579 files in ports.
3580 * elf/stackguard-macros.h: Remove support for IA-64.
3581 * elf/tst-auditmod1.c: Likewise.
3582 * sysdeps/generic/ldsodefs.h: Likewise.
3583
7ae81d88
UD
3584 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3585 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3586 configure files.
3587
bdeba135
UD
3588 [BZ #13552]
3589 * configure.in: Remove --enable-omitfp support.
3590 * FAQ.in: Adjust.
3591 * config.make.in: Likewise.
3592 * Makeconfig: Likewise.
3593 * manual/install.texi: Likewise.
3594
d75a0a62
UD
3595 In case anyone cares, the IA-64 architecture could move to ports.
3596 * sysdeps/ia64/*: Removed.
3597 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3598 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3599
dcc9756b
UD
3600 [BZ #13555]
3601 * configure.in: Remove entries for unsupported architectures.
3602
d3761ebc 3603 [BZ #13533]
9954432e
UD
3604 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3605 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3606 routines.
3607 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3608 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3609 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3610 fall back to using wcrtomb.
3611 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3612 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3613 renaming.
3614 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3615 * wcsmbs/tst-c16c32-1.c: New file.
3616
3617 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3618 local variable.
3619
c3a87236
UD
3620 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3621
28926a1b
UD
3622 * elf/tst-unique3.cc: Add explicit declaration of gets.
3623 * elf/tst-unique3lib.cc: Likewise.
3624 * elf/tst-unique3lib2.cc: Likewise.
3625 * elf/tst-unique4.cc: Likewise.
3626
df78418a
UD
3627 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3628
8ecd6b2a
JM
36292012-01-06 Joseph Myers <joseph@codesourcery.com>
3630
3631 [BZ #13566]
3632 * assert/assert.h (static_assert): Don't define for C++.
3633 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3634 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3635
9f115170
UD
36362012-01-03 Ulrich Drepper <drepper@gmail.com>
3637
5e0d0300
UD
3638 * iconv/loop.c (single loop): Fix assertion in storing of
3639 remaining bytes.
3640
9f115170
UD
3641 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3642
81fb02b0
UD
36432012-01-01 Ulrich Drepper <drepper@gmail.com>
3644
3645 * posix/getconf.c: Update copyright year.
3646 * nss/getent.c: Likewise.
a316c1f6 3647 * nss/makedb.c: Likewise.
81fb02b0
UD
3648 * iconv/iconvconfig.c: Likewise.
3649 * iconv/iconv_prog.c: Likewise.
3650 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3651 * elf/pldd.c: Likewise.
3652 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3653 * catgets/gencat.c: Likewise.
3654 * csu/version.c: Likewise.
3655 * elf/ldd.bash.in: Likewise.
3656 * elf/sprof.c (print_version): Likewise.
3657 * locale/programs/locale.c: Likewise.
3658 * locale/programs/localedef.c: Likewise.
a316c1f6 3659 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3660 * nscd/nscd.c (print_version): Likewise.
3661 * debug/xtrace.sh: Likewise.
3662 * malloc/memusage.sh: Likewise.
3663 * malloc/mtrace.pl: Likewise.
3664 * debug/catchsegv.sh: Likewise.
3665
2ba92745
JJ
36662011-12-30 Jakub Jelinek <jakub@redhat.com>
3667
3668 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3669 pure attribute.
3670
dadebdae
UD
36712011-12-24 Ulrich Drepper <drepper@gmail.com>
3672
d3761ebc 3673 [BZ #13533]
db6af3eb
UD
3674 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3675 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3676 transformations.
3677 * iconv/gconv_int.h: Likewise.
3678 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3679 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3680 from libc for GLIBC_2.16.
3681 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3682 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3683 * wcsmbs/uchar.h: Really define mbstate_t.
3684 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3685 * wcsmbs/c16rtomb.c: New file.
3686 * wcsmbs/mbrtoc16.c: New file.
3687 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3688 for C/POSIX locale.
3689 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3690 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3691
dadebdae
UD
3692 * wcsmbs/wchar.h: Add missing __restrict.
3693
67371b56
UD
36942011-12-23 Ulrich Drepper <drepper@gmail.com>
3695
74033a25
UD
3696 [BZ #13532]
3697 * time/Makefile (routines): Add timespec_get.
3698 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3699 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3700 timespec for ISO C11.
3701 * time/timespec_get.c: New file.
3702 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3703 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3704
380d7e87
UD
3705 [BZ #13531]
3706 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3707 * stdlib/stdlib.h: Declare aligned_alloc.
3708 * Versions.def: Add GLIBC_2.16 for libc.
3709 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3710
4e9e7a35
UD
3711 [BZ 13527]
3712 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3713 ISO C11.
3714
380d7e87 3715 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3716 code.
3717
03a71829
UD
3718 [BZ #13528]
3719 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3720
839e283e
UD
3721 [BZ #13529]
3722 * assert/assert.h (static_assert): Define.
3723
ce5294e2 3724 * version.h: Update for 2.16 development version.
90fa7312 3725
8d44e150 3726 [BZ #13526]
d7809905
UD
3727 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3728 _ISOC11_SOURCE.
3729
c0da14cd
UD
3730 * version.h (RELEASE): Bump for 2.15 release.
3731 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3732
530a3249
MP
3733 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3734 Patch by Marek Polacek <mpolacek@redhat.com>.
3735
67371b56
UD
3736 * bits/byteswap.h: Protect long long constants with __extension__.
3737 * sysdeps/i386/bits/byteswap.h: Likewise.
3738 * sysdeps/ia64/bits/byteswap.h: Likewise.
3739 * sysdeps/s390/bits/byteswap.h: Likewise.
3740 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3741
15db4de1
LD
37422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3743
3744 [BZ #13540]
bbe315ea
LD
3745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3746 destination buffer.
15db4de1
LD
3747 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3748
2b2596b1
MP
37492011-12-23 Marek Polacek <polacek@redhat.com>
3750
3751 * elf/dl-addr.c (determine_info): Add inline keyword.
3752 * elf/tst-auditmod4b.c (check_avx): Likewise.
3753 * elf/tst-auditmod6b.c (check_avx): Likewise.
3754 * elf/tst-auditmod6c.c (check_avx): Likewise.
3755 * elf/tst-auditmod7b.c (check_avx): Likewise.
3756
70c6c246
UD
37572011-12-23 Ulrich Drepper <drepper@gmail.com>
3758
3759 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3760 !__SSE_MATH__.
3761
c044cf14
LD
37622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3763
15db4de1 3764 [BZ #13540]
c044cf14
LD
3765 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3766 processing for last bytes.
3767
6b13d9d9
BH
37682011-08-06 Bruno Haible <bruno@clisp.org>
3769
d455f537
BH
3770 [BZ #13061]
3771 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3772 U+0385, not to U+1FEE.
3773
6b13d9d9
BH
3774 [BZ #13062]
3775 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3776 entry for U+00A5 U+0301.
3777
db910efd
UD
37782011-12-22 Ulrich Drepper <drepper@gmail.com>
3779
27deeafc
UD
3780 [BZ #13166]
3781 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3782 buffer for the output is too small.
3783
aed9d171
UD
3784 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3785 optimization.
3786
db910efd
UD
3787 [BZ #13185]
3788 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3789 SSE flags if possible.
3790
2bd779ae
LD
37912011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3792
e7f9dac3 3793 [BZ #13540]
2bd779ae
LD
3794 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3795 processing for last bytes.
3796
154bfc16
JM
37972011-12-22 Joseph Myers <joseph@codesourcery.com>
3798
3799 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3800 (syscall-list-default-options, syscall-list-default-condition)
3801 (syscall-list-includes): Define.
3802 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3803 list of ABIs and options and #if conditions for each ABI. Do not
3804 handle common syscalls between ABIs specially.
3805 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3806 Remove.
3807 (syscall-list-variants, syscall-list-32bit-options)
3808 (syscall-list-32bit-condition, syscall-list-64bit-options)
3809 (syscall-list-64bit-condition): Define.
3810 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3811 (syscall-list-variants, syscall-list-32bit-options)
3812 (syscall-list-32bit-condition, syscall-list-64bit-options)
3813 (syscall-list-64bit-condition): Define.
3814 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3815 Remove.
3816 (syscall-list-variants, syscall-list-32bit-options)
3817 (syscall-list-32bit-condition, syscall-list-64bit-options)
3818 (syscall-list-64bit-condition): Define.
3819 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3820 Remove.
3821 (syscall-list-variants, syscall-list-32bit-options)
3822 (syscall-list-32bit-condition, syscall-list-64bit-options)
3823 (syscall-list-64bit-condition): Define.
3824
21eaf3a5
UD
38252011-12-22 Ulrich Drepper <drepper@gmail.com>
3826
16c6f992
UD
3827 * locale/iso-639.def: Add brx entry.
3828
41043168
UD
3829 [BZ #13328]
3830 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3831 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3832
21eaf3a5
UD
3833 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3834 __feraiseexcept_renamed.
3835
e3a851a2
UD
38362011-12-21 Ulrich Drepper <drepper@gmail.com>
3837
4920765e
UD
3838 [BZ #13538]
3839 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3840 EPOLLET with unsigned values.
3841 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3843
e3a851a2
UD
3844 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3845 to large cancellation.
3846 * math/s_cacoshf.c: Likewise.
3847 * math/s_cacoshl.c: Likewise.
3848
b27e24b8
RK
38492011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3850
3851 [BZ #13305]
aebefeee 3852 [BZ #12786]
b27e24b8
RK
3853 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3854 * math/s_cacoshf.c: Likewise.
3855 * math/s_cacoshl.c: Likewise.
3856
ee190f67
UD
38572011-12-21 Ulrich Drepper <drepper@gmail.com>
3858
3859 [BZ #13439]
3860 * iconv/gconv.h: Define __GCONV_SWAP.
3861 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3862 * iconvdata/utf-16.c: Likewise.
3863 * iconvdata/utf-32.c: Likewise.
3864
707f25df
AS
38652011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3866
3867 [BZ #13524]
3868 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3869 numerator after shifting it by one limb.
3870
d2daaa1e
RÁE
38712011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3872
3873 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3874 under [__USE_EXTERN_INLINES].
3875
a4647e72
UD
38762011-12-17 Ulrich Drepper <drepper@gmail.com>
3877
3878 [BZ #13446]
3879 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3880
f0b264f1
AZ
38812011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3882
3883 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3884 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3885 optimized code.
3886 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3887 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3888 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3889 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3890 for strncasecmp/strncasecmp_l compilation.
3891 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3892 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3893
8ef4f244
MP
38942011-12-08 Marek Polacek <mpolacek@redhat.com>
3895
3896 [BZ #13484]
3897 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3898 of __asm__.
3899
97ac2654
UD
39002011-12-17 Ulrich Drepper <drepper@gmail.com>
3901
3902 [BZ #13506]
3903 * time/tzfile.c (__tzfile_read): Check values from file header.
3904
91d2a845
WS
39052011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3906
3907 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3908 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3909 * powerpc/powerpc32/dl-start.S: Likewise.
3910 * powerpc/powerpc32/elf/start.S: Likewise.
3911 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3912 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3913 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3914 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3915 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3916 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3917 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3918 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3919 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3920 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3921 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3922 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3923 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3924 * powerpc/powerpc32/memset.S: Likewise.
3925 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3926 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3927 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3928 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3929 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3930 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3931 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3932 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3933 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3934 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3935 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3936 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3937 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3938
a1267ba1
AZ
39392011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3940
3941 * math/libm-test.inc: Added more nearbyint tests.
3942 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3943 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3944 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3946
ad8ac1bd
RL
39472011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3948
3949 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3950 FD_CLOEXEC.
3951
1d3e4b61
UD
39522011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3953
3954 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3955 Add wcscpy-ssse3 wcscpy-c.
3956 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3957 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3958 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3959 * sysdeps/x86_64/wcschr.S: New file.
3960 * sysdeps/x86_64/wcsrchr.S: New file.
3961 * string/test-strcmp.c: Remove checking of wcscmp function for
3962 wrong alignments.
3963 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3964 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3965 wcsrchr-sse2 wcsrchr-c.
3966 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3967 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3968 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3969 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3970 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3971 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3972 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3973 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3974 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3975 * wcsmbc/wcschr.c (WCSCHR): New macro.
3976
5b330a2d
UD
39772011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3978
3979 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3980 * wcsmbs/test-wcsrchr.c: New file.
3981 * string/test-strrchr.c: Add wcsrchr support.
3982 (WIDE): New macro.
3983 * wcsmbs/test-wcscpy.c: New file.
3984 * string/test-strcpy.c: Add wcscpy support.
3985 (WIDE): New macro.
26428b7c 3986
f039c043
UD
39872011-12-10 Ulrich Drepper <drepper@gmail.com>
3988
3989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3990 the inner loop.
3991
850fb039
AS
39922011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3993
3994 [BZ #13472]
3995 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3996
4efbd5cb
UD
39972011-12-04 Ulrich Drepper <drepper@gmail.com>
3998
52ff5dd0 3999 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4000 Minor optimizations.
52ff5dd0 4001
4efbd5cb
UD
4002 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4003 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4004 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4005
8a426e12
UD
40062011-12-03 Ulrich Drepper <drepper@gmail.com>
4007
aff2453d
UD
4008 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4009 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4010 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4011 for gcc to avoid warnings.
4012 * inet/Makefile (tests): Add tst-checks.
4013 * inet/tst-checks.c: New file.
4014
4015 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4016 warning.
4017
4018 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4019 __wmemcmp_sse2.
4020
4021 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4022 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4023
8a426e12
UD
4024 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4025
9bea3473
UD
40262011-12-02 Ulrich Drepper <drepper@gmail.com>
4027
3a965496
UD
4028 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4029 problem.
4030
9bea3473
UD
4031 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4032
f101631b
UD
40332011-11-29 Joseph Myers <joseph@codesourcery.com>
4034
4035 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4036 conditional on GCC version.
4037 (__arch_compare_and_exchange_val_8_acq)
4038 (__arch_compare_and_exchange_val_16_acq)
4039 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4040 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4041 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4042
a98275aa
UD
40432011-12-02 Joseph Myers <joseph@codesourcery.com>
4044
4045 * sysdeps/sh/backtrace.c: New file.
4046
d4cc29a2
AS
40472011-12-02 Andreas Schwab <schwab@redhat.com>
4048
4049 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4050 parenthesis.
4051
6257af2d
AS
40522011-12-01 Andreas Schwab <schwab@redhat.com>
4053
4054 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4055 falling back to utime.
4056
b5f44c1a
AS
40572011-11-30 Andreas Schwab <schwab@redhat.com>
4058
4059 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4060 expectations for float.
4061
f3a6cc0a
AS
40622011-11-29 Andreas Schwab <schwab@redhat.com>
4063
4064 * locale/weight.h (findidx): Add parameter len.
4065 * locale/weightwc.h (findidx): Likewise.
4066 * posix/fnmatch_loop.c (FCT): Adjust caller.
4067 * posix/regcomp.c (build_equiv_class): Likewise.
4068 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4069 * posix/regexec.c (check_node_accept_bytes): Likewise.
4070 * string/strcoll_l.c (STRCOLL): Likewise.
4071 * string/strxfrm_l.c (STRXFRM): Likewise.
4072
9d65ea3a
UD
40732011-11-17 Ulrich Drepper <drepper@gmail.com>
4074
4075 * Makefile.in: Remove CVSOPT handling.
4076 * configure.in: Remove use of AC_REVISION.
4077 * iconvdata/Makefile (distribute): No need to filter out CVS.
4078 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4079 handling.
4080
5583a086
AS
40812011-11-16 Andreas Schwab <schwab@redhat.com>
4082
4083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4084 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4085 [USE_AS_STRNCASECMP_L]: Likewise.
4086 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4087 NO_TLS_DIRECT_SEG_REFS.
4088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4089 Fix argument offsets for non-PIC.
4090 [USE_AS_STRNCASECMP_L]: Likewise.
4091 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4092 NO_TLS_DIRECT_SEG_REFS.
4093
d62a8200
UD
40942011-11-15 Ulrich Drepper <drepper@gmail.com>
4095
9d65ea3a 4096 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4097 O_CLOEXEC.
4098 * locale/loadlocale.c (_nl_load_locale): Likewise.
4099
09f93bd3
AS
41002011-11-15 Andreas Schwab <schwab@redhat.com>
4101
446514f9
AS
4102 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4103 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4104 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4105 (SYSCALL_GETTIME): Set errno on error.
4106
09f93bd3
AS
4107 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4108 count references to noai6ai_cached.
4109
312be3f9
UD
41102011-11-15 Ulrich Drepper <drepper@gmail.com>
4111
4112 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4113
4114 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4115 FD_CLOEXEC for /proc/self/maps.
4116
4117 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4118 FD_CLOEXEC for /proc/meminfo.
4119
4120 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4121 gai.conf.
4122
4123 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4124 FD_CLOEXEC for given file.
4125
4126 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4127
4128 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4129 FD_CLOEXEC for /etc/hosts.
4130 (_gethtent): Likewise.
4131
4132 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4133
4134 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4135 cancellation and set FD_CLOEXEC for /etc/netgroup.
4136
4137 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4138 reading /etc/publickey.
4139
4140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4141 allow cancellation when reading /etc/group.
4142
4143 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4144 cancellation.
4145 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4146
4147 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4148 when using data file.
4149
4150 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4151
4152 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4153 (write_nis_obj): Use "c" and "e" in fopen.
4154
4155 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4156
4157 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4158
4159 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4160
4161 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4162
4163 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4164 locale.alias.
4165
4166 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4167
4168 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4169
4170 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4171
4172 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4173 file parsing and set FD_CLOEXEC.
4174
82af0fa8
UD
41752011-11-14 Ulrich Drepper <drepper@gmail.com>
4176
4177 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4178
a5fb313c
AS
41792011-11-14 Andreas Schwab <schwab@redhat.com>
4180
4181 * malloc/arena.c (arena_get2): Don't call reused_arena when
4182 _int_new_arena failed.
4183
6abf3465
UD
41842011-11-14 Ulrich Drepper <drepper@gmail.com>
4185
4186 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4187 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4188 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4189 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4190 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4191 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4192 to compile strcasecmp and strncasecmp.
4193 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4194 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4195
4196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4197
76e3966e
UD
41982011-11-13 Ulrich Drepper <drepper@gmail.com>
4199
4200 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4201 locale-defines.sym to gen-as-const-headers.
4202 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4203 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4205 to compile strcasecmp and strncasecmp.
4206 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4207 strcasecmp_l and strncasecmp_l.
4208 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4209 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4210 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4211 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4212 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4213 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4214 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4215 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4216 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4217 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4218 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4219
ab26144e
UD
42202011-11-12 Ulrich Drepper <drepper@gmail.com>
4221
7edb22ef
UD
4222 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4223 result of SYSDEP_GETTIME_CPU to retval.
4224 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4225 parameter list to macro. Remove trailing semicolon. Adjust users.
4226
9694fc44
UD
4227 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4228 variable.
4229
8ad89ef8
UD
4230 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4231 mantissa words.
4232 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4233
0c822ef9
UD
4234 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4235 from unused variable.
4236
874e0564
UD
4237 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4238 DWARF definitions.
4239 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4240 for assembling.
4241
3a2edc79
UD
4242 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4243 over namespaces.
4244
f3c2577f
UD
4245 * sunrpc/rpc_prot.c (rejected): Fix case value.
4246
294ce126
UD
4247 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4248 unsigned long long int to avoid warnings in shift.
4249
5e2b63c6
UD
4250 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4251 of use of trans.
4252 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4253 variable tmp.
4254
e7f4b08e
UD
4255 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4256 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4257 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4258
ab26144e
UD
4259 * nis/nis_table.c (nis_list): Use variable of correct type for
4260 result of __follow_path call.
4261
8a6d5255
AZ
42622011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4263
4264 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4265 of math functions ceil, trunc, floor, round, and sqrt, when
4266 avaliable on the platform.
4267 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4268 name clash.
4269 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4270 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4271 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4272
aaddc98c
MP
42732011-10-30 Marek Polacek <mpolacek@redhat.com>
4274
4275 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4276 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4277
95b7042b
RM
42782011-11-11 Roland McGrath <roland@hack.frob.com>
4279
4280 * include/unistd.h: Fix __readlink return type.
4281 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4282
57769839
UD
42832011-11-11 Ulrich Drepper <drepper@gmail.com>
4284
4285 * stdlib/ucontext.h: Undo last change for makecontext.
4286
edc5984d
AS
42872011-11-11 Andreas Schwab <schwab@redhat.com>
4288
98591e58
AS
4289 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4290
edc5984d
AS
4291 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4292 * setjmp/setjmp.h: Mark functions as non-leaf.
4293 * setjmp/bits/setjmp2.h: Likewise.
4294 * stdlib/ucontext.h: Likewise.
4295
77cdc054
AS
42962011-11-10 Andreas Schwab <schwab@redhat.com>
4297
4298 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4299 (reused_arena): Don't check arena limit.
4300 (arena_get2): Atomically check arena limit.
4301
fe72eebd
UD
43022011-11-08 Ulrich Drepper <drepper@gmail.com>
4303
5f078c32
UD
4304 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4305 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4306
fe72eebd
UD
4307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4308 instructions.
4309
ae1bc2fa
AS
43102011-11-07 Andreas Schwab <schwab@redhat.com>
4311
7583a88d
AS
4312 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4313 handler when locking.
4314
ae1bc2fa
AS
4315 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4316 Fix size of allocated buffer.
4317
10fb0bfa
AS
43182011-11-04 Andreas Schwab <schwab@redhat.com>
4319
998832a4
AS
4320 [BZ #10103]
4321 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4322 declarations for long double functions.
4323 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4324
10fb0bfa
AS
4325 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4326
3d7ba52b
AS
43272011-11-03 Andreas Schwab <schwab@redhat.com>
4328
a9ae54a1
AS
4329 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4330 installed.
4331
3d7ba52b
AS
4332 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4333 is disabled.
4334
bc8db248
ST
43352011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4336
4337 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4338
45b96dd6
AS
43392011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4340
647776f6
AS
4341 * include/alloca.h (stackinfo_alloca_round): Define.
4342 (extend_alloca): Use it.
4343 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4344 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4345 here.
4346
d91a8b93
AS
4347 * scripts/check-local-headers.sh: Ignore libaudit.h.
4348
45b96dd6
AS
4349 * nscd/Makefile (extra-objs): Make recursively expanded.
4350
432d41ce
UD
43512011-11-01 Ulrich Drepper <drepper@gmail.com>
4352
34372fc6
UD
4353 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4354 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4355
fadb59f8
UD
4356 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4357 * posix/tst-rfc3484-2.c: Likewise.
4358 * posix/tst-rfc3484-3.c: Likewise.
4359
78239589
UD
4360 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4361 process_vm_writev.
4362 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4363 process_vm_writev.
4364 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4365 process_vm_writev from libc using GLIBC_2.15 version.
4366
432d41ce
UD
4367 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4368
02f9c6cf
PP
43692011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4370
4371 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4372 stack usage.
4373
3a2c0242
UD
43742011-10-31 Ulrich Drepper <drepper@gmail.com>
4375
f4ec4833
UD
4376 [BZ #13367]
4377 * nss/getent.c (initgroups_keys): Show error message in case no group
4378 names are given.
4379
3a2c0242
UD
4380 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4381 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4382 __bump_nl_timestamp.
4383 * nscd/connections (nscd_init): When host database is served open
4384 netlink socket and request notification about configuration changes.
4385 (main_loop_poll): Track netlink file descriptor and bump timestamp
4386 in case data becomes available.
4387 (main_loop_epoll): Likewise.
4388 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4389 (database_pers_head): Add extra_data fileds.
4390 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4391 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4392 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4393 Adjust caller.
4394 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4395 in6ai data, call __free_in6ai.
4396 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4397 Add -DHAVE_NETLINK.
4398 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4399 interface information. Reuse previous data if netlink timestamp
4400 is not changed.
4401 (__bump_nl_timestamp): New function.
4402 (__free_in6ai): New function.
4403
636064eb
UD
44042011-10-30 Ulrich Drepper <drepper@gmail.com>
4405
4406 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4407 close_not_cancel_no_status here.
4408 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4409
9beb2334
UD
44102011-10-29 Ulrich Drepper <drepper@gmail.com>
4411
6ef76f3b
UD
4412 [BZ #13276]
4413 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4414 return value.
4415
0ffc4f3e 4416 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4417 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4418 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4419
cb95113e
UD
44202011-07-03 Andreas Jaeger <aj@suse.de>
4421
4422 [BZ #10709]
4423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4424 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4425 * math/libm-test.inc (sin_test): Add test case.
4426
a1b560ff
UD
44272011-10-29 Ulrich Drepper <drepper@gmail.com>
4428
c9aaface
UD
4429 [BZ #13337]
4430 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4431 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4432
d272e7f1
UD
4433 * elf/chroot_canon.c (chroot_canon): Cleanups.
4434
1bc33071
UD
4435 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4436
1760874d
TJ
4437 [BZ #13335]
4438 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4439 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4440
51d91b18
UD
4441 * string/test-strchr.c: Make usable for strchrnul testing.
4442 * string/test-strchrnul.c: New file.
4443 * string/Makefile (strop-tests): Add strchrnul.
4444
a1b560ff 4445 * po/it.po: Update from translation team.
b611fb81 4446 * po/es.po: Likewise.
a1b560ff 4447
a5b81e1f
UD
44482011-10-28 Ulrich Drepper <drepper@gmail.com>
4449
fd52bc6d
UD
4450 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4451 the three constants needed as parameters. Drop the others.
4452 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4453 __m128i_strloadu_tolower.
52e4b9eb
UD
4454 Create and initialize variable zero and use it in all the places
4455 where _mm_setzero_si128 was used.
fd52bc6d 4456
a5b81e1f
UD
4457 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4458 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4459 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4460 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4461 anymore.
4462 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4463 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4464 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4465 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4466 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4467 __mpranred, __mptan.
4468 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4469 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4470 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4471 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4472 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4473 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4474 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4475 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4476 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4477
b4343346
AS
44782011-10-28 Andreas Schwab <schwab@redhat.com>
4479
0c92d8a8
AS
4480 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4481 redefine if SHARED.
4482 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4483
b4343346
AS
4484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4485 wide char related routines to wcsmbs subdir.
4486
3871f58f
AS
44872011-10-27 Andreas Schwab <schwab@redhat.com>
4488
4489 [BZ #13344]
4490 * misc/sys/cdefs.h (__THROWNL): Define.
4491 * posix/unistd.h: Use __THREADNL instead of __THREAD
4492 for memory synchronization functions.
4493
94d44d9f
RM
44942011-10-26 Roland McGrath <roland@hack.frob.com>
4495
21b64b15 4496 [BZ #13349]
94d44d9f
RM
4497 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4498 doesn't exist.
4499 * manual/stdio.texi (Obstack Streams): Node removed.
4500
f6ce9294
AS
45012011-10-26 Andreas Schwab <schwab@redhat.com>
4502
80479147
AS
4503 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4504 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4505 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4506
f6ce9294
AS
4507 * math/math_private.h (math_force_eval): Allow non-addressable
4508 arguments.
4509 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4510
618280a1
UD
45112011-10-25 Ulrich Drepper <drepper@gmail.com>
4512
e0016b11
UD
4513 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4514 file is not needed.
4515
4516 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4517 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4518 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4519 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4520 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4521 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4522 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4523 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4524 Add AVX variants.
4525 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4526 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4527 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4528 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4530 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4531 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4532 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4533 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4534 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4535 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4536 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4537 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4538 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4539 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4540 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4541 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4542 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4543 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4544
4545 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4546 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4547
618280a1
UD
4548 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4549 place. Use VEX encoding when compiling for AVX.
4550
37822576
AS
45512011-10-25 Andreas Schwab <schwab@redhat.com>
4552
1f1e1947
AS
4553 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4554 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4555
37822576
AS
4556 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4557
31ea014d
UD
45582011-10-25 Ulrich Drepper <drepper@gmail.com>
4559
d7826aa1 4560 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4561 useless if() expression.
d7826aa1
UD
4562 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4563 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4564 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4565 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4566 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4567 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4568 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4569 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4570 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4571 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4572 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4573 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4574 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4575 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4576 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4577 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4578 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4579 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4580 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4581
31ea014d
UD
4582 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4583
16437fec
AS
45842011-10-25 Andreas Schwab <schwab@redhat.com>
4585
4586 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4587 condition.
4588 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4589
31d3cc00
UD
45902011-10-25 Ulrich Drepper <drepper@gmail.com>
4591
4592 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4593 .text section. Avoid duplicate constants.
4594 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4598 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4600 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4602 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4603 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4604 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4605 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4606 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4607 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4608 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4609 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4611 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4616 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4617 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4618 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4619 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4620 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4621 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4622 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4623 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4624 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4625 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4626 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4627 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4628 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4629 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4630 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4631 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4632 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4633 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4634 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4635 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4636 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4637 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4638 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4639
58985aa9
UD
46402011-10-24 Ulrich Drepper <drepper@gmail.com>
4641
202c9deb
UD
4642 * sysdeps/x86_64/dla.h: Move to ...
4643 * sysdeps/x86_64/fpu/dla.h: ...here.
4644 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4645 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4646
af968f62
UD
4647 * config.make.in: Add have-mfma4 entry.
4648 * configure.in: Substitute libc_cv_cc_fma4.
4649 * math/Makefile (dbl-only-routines): Add sincostab.
4650 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4651 Use __sincostab not sincos.
4652 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4653 name is a macro.
4654 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4658 using __copysign.
4659 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4660 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4661 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4662 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4663 and __inv.
4664 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4665 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4666 __copysign.
4667 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4668 define aliases when function name is a macro.
4669 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4670 sysdeps/ieee754/dbl-64/sincos.tbl.
4671 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4672 fma4-enabled routines.
4673 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4674 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4675 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4676 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4677 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4678 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4680 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4681 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4682 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4683 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4684 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4685 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4686 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4687 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4688 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4689 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4690 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4691 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4692 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4693 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4694 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4695 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4696 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4698 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4700 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4701 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4702 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4703
58985aa9
UD
4704 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4705 rename.
4706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4714
a201fbcf
AS
47152011-10-24 Andreas Schwab <schwab@redhat.com>
4716
4717 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4718
fc2ee42a
LD
47192011-10-23 Ulrich Drepper <drepper@gmail.com>
4720
bb3129bd
UD
4721 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4722
0275fff8
UD
4723 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4724 prediction.
4725 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4726
2fa2ae85
UD
4727 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4728 Remove unused variable magic_bits.
4729 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4730
fc2ee42a
LD
4731 * string/strnlen.c: Define and use STRNLEN macro.
4732 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4733 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4734 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4735 * wcsmbs/wcslen.c: Define and use WCSLEN.
4736 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4737 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4738 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4739 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4740 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4741 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4742 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4743
ce7dd29f
LD
47442011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4745
4746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4747 strnlen-sse2-no-bsf.
4748 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4749 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4750 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4751 Add strnlen support.
4752 (USE_AS_STRNLEN): New macro.
4753 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4754 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4755 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4756 * sysdeps/x86_64/wcslen.S: New file.
4757
979c70a3
MZ
47582011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4759
4760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4761 XMM-moves are used for copying on small sizes.
4762
2d09f82f
LD
47632011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4764
4765 * wcsmbs/Makefile (strop-tests): Add wcschr.
4766 * wcsmbs/test-wcschr.c: New file.
4767 * string/test-strchr.c: Update.
4768 Add wcschr support.
4769 (WIDE): New macro.
4770
619fccca
LD
47712011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4772
2d09f82f 4773 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4774 * wcsmbs/test-wcslen.c: New file.
4775 * string/test-strlen.c: Update.
4776 Add wcslen support.
4777 (WIDE): New macro.
4778
09f699ea
UD
47792011-10-23 Ulrich Drepper <drepper@gmail.com>
4780
4781 * po/it.po: Update from translation team.
4782
95584d3b
LD
47832011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4784
4785 * sysdeps/x86_64/wcscmp.S: Update.
4786 Fix wrong comparison semantics.
4787 wcscmp shall use signed comparison not unsigned.
4788 Don't use substraction to avoid overflow bug.
4789 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4790 * wcsmbc/wcscmp.c: Likewise.
4791 * string/test-strcmp.c: Likewise.
4792 Add new tests to check cases with negative values.
4793
c8b3296b
UD
47942011-10-23 Ulrich Drepper <drepper@gmail.com>
4795
4796 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4797 * sysdeps/x86_64/dla.h: ...here. New file.
4798 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4799 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4806 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4807
246ad57a
AS
48082011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4809
4810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4811 __ynl_finite aliases.
4812
a1a87169
UD
48132011-10-22 Ulrich Drepper <drepper@gmail.com>
4814
0d355eb7
UD
4815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4816
a1a87169
UD
4817 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4818 define DLA_FMA.
4819 [DLA_FMA] (EMULV): Use DLA_FMA.
4820 [DLA_FMA] (MUL12): Use EMULV.
4821 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4822 that are not needed.
4823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4830
ee2aafe0
AS
48312011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4832
4833 * math/s_nan.c: Undef __nan.
4834 * math/s_nanf.c: Undef __nanf.
4835 * math/s_nanl.c: Undef __nanl.
4836 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4837 "math_private.h".
4838
bc62c2fb
UD
48392011-10-22 Ulrich Drepper <drepper@gmail.com>
4840
77425c63
UD
4841 * math/s_catan.c: Add branch predictions.
4842 * math/s_catanf.c: Likewise.
4843 * math/s_catanh.c: Likewise.
4844 * math/s_catanhf.c: Likewise.
4845 * math/s_catanhl.c: Likewise.
4846 * math/s_catanl.c: Likewise.
4847 * math/s_cexp.c: Likewise.
4848 * math/s_cexpf.c: Likewise.
4849 * math/s_cexpl.c: Likewise.
4850 * math/s_clog.c: Likewise.
4851 * math/s_clog10.c: Likewise.
4852 * math/s_clog10f.c: Likewise.
4853 * math/s_clog10l.c: Likewise.
4854 * math/s_clogf.c: Likewise.
4855 * math/s_clogl.c: Likewise.
4856 * math/s_csqrt.c: Likewise.
4857 * math/s_csqrtf.c: Likewise.
4858 * math/s_csqrtl.c: Likewise.
4859 * math/s_ctanf.c: Likewise.
4860 * math/s_ctanh.c: Likewise.
4861 * math/s_ctanhf.c: Likewise.
4862 * math/s_ctanhl.c: Likewise.
4863 * math/s_ctanl.c: Likewise.
4864
bc62c2fb
UD
4865 * math/math_private.h: Define __nan, __nanf, __nanl.
4866 * math/s_cacosh.c: Include <math_private.h>.
4867 * math/s_cacoshl.c: Likewise.
4868 * math/s_casinh.c: Likewise.
4869 * math/s_casinhf.c: Likewise.
4870 * math/s_casinhl.c: Likewise.
4871 * math/s_ccos.c: Rely entire on ccosh.
4872 * math/s_ccosf.c: Rely entire on ccoshf.
4873 * math/s_ccosl.c: Rely entirely on ccoshl.
4874 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4875 Remove tests for FE_INVALID.
4876 * math/s_ccoshf.c: Likewise.
4877 * math/s_ccoshl.c: Likewise.
4878 * math/s_csin.c: Likewise.
4879 * math/s_csinf.c: Likewise.
4880 * math/s_csinh.c Likewise.
4881 * math/s_csinhf.c: Likewise.
4882 * math/s_csinhl.c: Likewise.
4883 * math/s_csinl.c: Likewise.
4884 * math/s_ctan.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4886 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4887 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4888
8ec250a4
UD
48892011-10-21 Ulrich Drepper <drepper@gmail.com>
4890
c196fed8
UD
4891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4892 compilation problems.
4893
8ec250a4
UD
4894 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4895 __builtin_expect.
4896
8d4f46c6
UD
48972011-10-20 Ulrich Drepper <drepper@gmail.com>
4898
ed72b654
UD
4899 * sysdeps/i386/configure.in: Test for -mfma4 option.
4900 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4901 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4902 COMMON_CPUID_INDEX_80000001.
4903 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4904 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4905 use it if FMA3 is not supported.
4906 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4907
8d4f46c6
UD
4908 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4909 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4910
d45c60c2
AS
49112011-10-20 Andreas Schwab <schwab@redhat.com>
4912
4913 [BZ #12892]
4914 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4915 it would create a cycle with a link time dependency.
4916
d9a4d2ab
UD
49172011-10-19 Ulrich Drepper <drepper@gmail.com>
4918
855d1560
UD
4919 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4920 instruction.
4921 * string/Makefile (strop-tests): Add rawmemchr.
4922 * string/test-rawmemchr.c: New file.
4923
d9a4d2ab
UD
4924 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4925 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4926 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4927 when compiling str{,n}casecmp and when AVX is available. Hook up
4928 new optimized code in initializers.
4929
8f3b1ffe
AS
49302011-10-19 Andreas Schwab <schwab@redhat.com>
4931
4932 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4933 __feraiseexcept instead of feraiseexcept.
4934
d38f1dba
UD
49352011-10-18 Ulrich Drepper <drepper@gmail.com>
4936
d9a8d0ab
UD
4937 * math/math_private.h: Define defaults for libc_fetestexcept and
4938 libc_feupdateenv.
4939 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4940 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4941 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4942 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4943 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4944 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4945 libc_fetestexcept and libc_feupdateenv.
4946
4855e3dd
UD
4947 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4948 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4949 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4950 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4951 libc_feholdexcept_setround.
4952
581d30e3
UD
4953 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4954 Add s_nearbyint-c and s_nearbyintf-c.
4955 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4956 nearbyintf inlines.
4957 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4958 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4959 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4960 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4961
d38f1dba
UD
4962 * math/math_private.h: Define defaults for libc_fegetround,
4963 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4964 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4965 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4966 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4967 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4968 standard functions.
4969 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4970 Remove comments and hacks for old compiler versions.
4971 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4972 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4973 libc_feholdexceptl.
4974
caa6c9d8
AS
49752011-10-18 Andreas Schwab <schwab@redhat.com>
4976
4977 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4978 (__feraiseexcept_renamed): Add __NTH.
4979 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4980 namespace violations.
4981
97c066e6
UD
49822011-10-17 Ulrich Drepper <drepper@gmail.com>
4983
99ce7b04
UD
4984 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4985
1004d182
UD
4986 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4987
228a984d
UD
4988 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4989 recently added interfaces.
4990 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4991
c8553a6a
UD
4992 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4993 about macro parameter expansion.
4994
ed22dcf6
UD
4995 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4996 __NO_MATH_INLINES is defined. Cleanups.
4997
4998 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4999 and __floorf is target has SSE4.1.
5000 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5001 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5002 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5003 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5004
b171c137
UD
5005 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5006 name.
5007 (floorf): Likewise.
5008
97c066e6
UD
5009 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5010
629f62ef
AS
50112011-10-17 Andreas Schwab <schwab@redhat.com>
5012
49a43d80
AS
5013 * misc/sys/cdefs.h: Fix last change.
5014
629f62ef
AS
5015 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5016 database lookup.
5017
e453f6cd
UD
50182011-10-16 Ulrich Drepper <drepper@gmail.com>
5019
aa78043a
UD
5020 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5021
ad0f5cad
UD
5022 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5023 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5024 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5025 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5026 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5027 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5028 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5029 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5030 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5031 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5032 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5033 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5034 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5035 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5036 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5037 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5038 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5039 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5040 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5041 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5042 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5043 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5044
5045 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5046 ceil, ceilf, floor, floorf.
5047
5048 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5049 Perform IRELATIVE relocations last.
5050
e453f6cd
UD
5051 * elf/do-rel.h: Add another parameter nrelative, replacing the
5052 local variable with the same name. Change name of the function
5053 to end in Rel or Rela (uppercase).
5054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5055 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5056 elf_dynamic_do_##reloc function.
5057
fd5bdc09
UD
50582011-10-15 Ulrich Drepper <drepper@gmail.com>
5059
79b195b5
UD
5060 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5061 is sufficient, at least on modern CPUs.
5062
d4a28569
UD
5063 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5064
b61099b5
UD
5065 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5066 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5067
bcf01e6d
UD
5068 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5069 __expl_finite.
5070 * math/bits/math-finite.h: Add entries for exp.
5071 * math/e_expl.c: Add __*_finite alias.
5072 * sysdeps/i386/fpu/e_exp.S: Likewise.
5073 * sysdeps/i386/fpu/e_expf.S: Likewise.
5074 * sysdeps/i386/fpu/e_expl.c: Likewise.
5075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5076 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5080 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5081 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5082
ba1a0d59
UD
5083 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5084 is sufficient, at least on modern CPUs.
5085
fd5bdc09
UD
5086 * ctype/ctype-info.c (__ctype_init): Define.
5087 * include/ctype.h (__ctype_init): Declare.
5088 (__ctype_b_loc): The variable is always initialized.
5089 (__ctype_toupper_loc): Likewise.
5090 (__ctype_tolower_loc): Likewise.
5091 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5092 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5093
7872cfb0
AS
50942011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5095
b468825a
AS
5096 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5097
7872cfb0
AS
5098 * configure.in: Also look in $cxxmachine/include for C++ system
5099 headers.
5100
be13f7bf
LD
51012011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5102
5103 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5104 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5105 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5106 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5107 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5108 (USE_AS_WMEMCMP): New macro.
5109 Fixing indents.
5110 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5111 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5112 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5113 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5115 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5116 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5117 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5118 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5119 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5120 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5121 (USE_AS_WMEMCMP): New macro.
5122 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5123 * sysdeps/string/test-memcmp.c: Update.
5124 Fix simple_wmemcmp.
5125 Add new tests.
5126 * wcsmbs/wmemcmp.c: Update.
5127 (WMEMCMP): New macro.
5128 Fix overflow bug.
5129
556a2007
AJ
51302011-10-12 Andreas Jaeger <aj@suse.de>
5131
5132 [BZ #13268]
5133 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5134
538faaa7
UD
51352011-10-15 Ulrich Drepper <drepper@gmail.com>
5136
ab6737ff
UD
5137 * libio/iofwide.c (do_length): Avoid warning.
5138
538faaa7
UD
5139 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5140
396a21b1
UD
51412011-10-14 Ulrich Drepper <drepper@gmail.com>
5142
cdf2901f
UD
5143 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5144
38ad40ce
UD
5145 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5146 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5147 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5148 * sysdeps/i386/i686/fpu/e_log.S: New file.
5149 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5150 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5151
396a21b1
UD
5152 * ctype/ctype.h: Add support for inlined isXXX functions when
5153 compiling C++ code.
5154
6b1f68c9
AS
51552011-10-14 Andreas Schwab <schwab@redhat.com>
5156
349290c0
AS
5157 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5158
6b1f68c9
AS
5159 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5160
f2282d42
RM
51612011-10-13 Roland McGrath <roland@hack.frob.com>
5162
5163 [BZ #13291]
5164 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5165
5298ffa8
AS
51662011-10-13 Andreas Schwab <schwab@redhat.com>
5167
714fad23
AS
5168 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5169 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5170 feraiseexcept.
5171
81dcc7fb
AS
5172 * sysdeps/x86_64/memrchr.S: Check for zero size.
5173
5298ffa8
AS
5174 * string/stratcliff.c: Add memrchr tests.
5175
951fbcec
LD
51762011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5177
5178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5179 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5180 rawmemchr-sse2 rawmemchr-sse2-bsf.
5181 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5182 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5183 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5184 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5185 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5186 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5187 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5188 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5189 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5190 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5191 * string/memrchr.c (MEMRCHR): New macro.
5192
0ac5ae23
UD
51932011-10-12 Ulrich Drepper <drepper@gmail.com>
5194
5195 Add integration with gcc's -ffinite-math-only and optimize wrapper
5196 functions in libm.
5197 * Versions.def: Define GLIBC_2.15 version for libm.
5198 * math/Makefile (headers): Add bits/math-finite.h.
5199 * math/bits/math-finite.h: New file.
5200 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5201 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5202 * math/e_acoshl.c: Add __*_finite alias.
5203 * math/e_acosl.c: Likewise.
5204 * math/e_asinl.c: Likewise.
5205 * math/e_atan2l.c: Likewise.
5206 * math/e_atanhl.c: Likewise.
5207 * math/e_coshl.c: Likewise.
5208 * math/e_exp10.c: Likewise.
5209 * math/e_exp10f.c: Likewise.
5210 * math/e_exp10l.c: Likewise.
5211 * math/e_exp2l.c: Likewise.
5212 * math/e_fmodl.c: Likewise.
5213 * math/e_gammal_r.c: Likewise.
5214 * math/e_hypotl.c: Likewise.
5215 * math/e_j0l.c: Likewise.
5216 * math/e_j1l.c: Likewise.
5217 * math/e_jnl.c: Likewise.
5218 * math/e_lgammal_r.c: Likewise.
5219 * math/e_log10l.c: Likewise.
5220 * math/e_log2l.c: Likewise.
5221 * math/e_logl.c: Likewise.
5222 * math/e_powl.c: Likewise.
5223 * math/e_sinhl.c: Likewise.
5224 * math/e_sqrtl.c: Likewise.
5225 * math/e_scalb.c: Completely rewritten and optimized.
5226 * math/e_scalbf.c: Likewise.
5227 * math/e_scalbl.c: Likewise.
5228 * math/w_acos.c: Likewise.
5229 * math/w_acosf.c: Likewise.
5230 * math/w_acosl.c: Likewise.
5231 * math/w_acosh.c: Likewise.
5232 * math/w_acoshf.c: Likewise.
5233 * math/w_acoshl.c: Likewise.
5234 * math/w_asin.c: Likewise.
5235 * math/w_asinf.c: Likewise.
5236 * math/w_asinl.c: Likewise.
5237 * math/w_atan2.c: Likewise.
5238 * math/w_atan2f.c: Likewise.
5239 * math/w_atan2l.c: Likewise.
5240 * math/w_atanh.c: Likewise.
5241 * math/w_atanhf.c: Likewise.
5242 * math/w_atanhl.c: Likewise.
5243 * math/w_exp10.c: Likewise.
5244 * math/w_exp10f.c: Likewise.
5245 * math/w_exp10l.c: Likewise.
5246 * math/w_fmod.c: Likewise.
5247 * math/w_fmodf.c: Likewise.
5248 * math/w_fmodl.c: Likewise.
5249 * math/w_j0.c: Likewise.
5250 * math/w_j0f.c: Likewise.
5251 * math/w_j0l.c: Likewise.
5252 * math/w_j1.c: Likewise.
5253 * math/w_j1f.c: Likewise.
5254 * math/w_j1l.c: Likewise.
5255 * math/w_jn.c: Likewise.
5256 * math/w_jnf.c: Likewise.
5257 * math/w_log.c: Likewise.
5258 * math/w_logf.c: Likewise.
5259 * math/w_logl.c: Likewise.
5260 * math/w_log10.c: Likewise.
5261 * math/w_log10f.c: Likewise.
5262 * math/w_log10l.c: Likewise.
5263 * math/w_log2.c: Likewise.
5264 * math/w_log2f.c: Likewise.
5265 * math/w_log2l.c: Likewise.
5266 * math/w_pow.c: Likewise.
5267 * math/w_powf.c: Likewise.
5268 * math/w_powl.c: Likewise.
5269 * math/w_remainder.c: Likewise.
5270 * math/w_remainderf.c: Likewise.
5271 * math/w_remainderl.c: Likewise.
5272 * math/w_scalb.c: Likewise.
5273 * math/w_scalbf.c: Likewise.
5274 * math/w_scalbl.c: Likewise.
5275 * math/w_sqrt.c: Likewise.
5276 * math/w_sqrtf.c: Likewise.
5277 * math/w_sqrtl.c: Likewise.
5278 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5279 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5280 used.
5281 * math/math_private.h: Declare __kernel_standard_f.
5282 * math/w_cosh.c: Remove cruft and optimize a bit.
5283 * math/w_coshf.c: Likewise.
5284 * math/w_coshl.c: Likewise.
5285 * math/w_exp2.c: Likewise.
5286 * math/w_exp2f.c: Likewise.
5287 * math/w_exp2l.c: Likewise.
5288 * math/w_hypot.c: Likewise.
5289 * math/w_hypotf.c: Likewise.
5290 * math/w_hypotl.c: Likewise.
5291 * math/w_lgamma.c: Likewise.
5292 * math/w_lgamma_r.c: Likewise.
5293 * math/w_lgammaf.c: Likewise.
5294 * math/w_lgammaf_r.c: Likewise.
5295 * math/w_lgammal.c: Likewise.
5296 * math/w_lgammal_r.c: Likewise.
5297 * math/w_sinh.c: Likewise.
5298 * math/w_sinhf.c: Likewise.
5299 * math/w_sinhl.c: Likewise.
5300 * math/w_tgamma.c: Likewise.
5301 * math/w_tgammaf.c: Likewise.
5302 * math/w_tgammal.c: Likewise.
5303 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5304 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5305 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5306 Minor optimizations. Pretty printing. Remove cruft.
5307 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5308 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5309 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5310 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5311 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5312 * sysdeps/i386/fpu/e_asin.S: Likewise.
5313 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5314 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5315 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5316 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5317 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5318 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5319 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5320 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5321 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5322 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5323 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5324 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5325 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5326 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5327 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5328 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5329 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5330 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5331 * sysdeps/i386/fpu/e_log.S: Likewise.
5332 * sysdeps/i386/fpu/e_log10.S: Likewise.
5333 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5334 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5335 * sysdeps/i386/fpu/e_log2.S: Likewise.
5336 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5337 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5338 * sysdeps/i386/fpu/e_logf.S: Likewise.
5339 * sysdeps/i386/fpu/e_logl.S: Likewise.
5340 * sysdeps/i386/fpu/e_pow.S: Likewise.
5341 * sysdeps/i386/fpu/e_powf.S: Likewise.
5342 * sysdeps/i386/fpu/e_powl.S: Likewise.
5343 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5344 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5345 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5346 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5347 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5348 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5349 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5350 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5351 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5373 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5374 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5375 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5376 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5377 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5378 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5379 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5380 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5381 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5382 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5383 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5384 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5385 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5386 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5387 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5388 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5389 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5390 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5391 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5392 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5432 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5435 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5437 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5438 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5440 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5443 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5444 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5445 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5446 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5447 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5448 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5449 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5450 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5451 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5452 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5453 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5454 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5455 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5456 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5457 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5458 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5459 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5460 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5461 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5462 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5463 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5464 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5465 (__isnanf): Likewise.
5466 (__isinf_ns): Likewise.
5467 (__isinf_nsf): Likewise.
5468 (__finite): Likewise.
5469 (__finitef): Likewise.
5470 (__ieee754_sqrt): Define as macro.
5471 (__ieee754_sqrtf): Define as macro.
5472 (__ieee754_sqrtl): Define as macro.
5473 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5474 inlined copy.
5475 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5476 __FINITE_MATH_ONLY__ consistent.
5477 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5478
12cc2fcd
AS
54792011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5480
a843a204
AS
5481 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5482 of rawmemchr.
5483
12cc2fcd
AS
5484 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5485
c853acd5
UD
54862011-10-09 Ulrich Drepper <drepper@gmail.com>
5487
5488 * po/ja.po: Update from translation team.
5489
c658d255
RM
54902011-10-08 Roland McGrath <roland@hack.frob.com>
5491
110946e4
RM
5492 * locale/programs/locarchive.c (prepare_address_space): New function.
5493 (create_archive, enlarge_archive, open_archive): Use it.
5494
50604220
RM
5495 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5496 inside [SHARED], where it is used.
5497
c658d255
RM
5498 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5499
5500 * nss/getent.c (netgroup_keys): Remove unused variable.
5501 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5502
6a621eb7
UD
55032011-10-08 Ulrich Drepper <drepper@gmail.com>
5504
7edb55ce
UD
5505 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5506 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5508 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5509 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5510 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5511 * math/Makefile (libm-calls): Add s_isinf_ns.
5512 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5513 * math/multc3.c: Likewise.
5514 * math/s_casin.c: Likewise.
5515 * math/s_casinf.c: Likewise.
5516 * math/s_casinl.c: Likewise.
5517 * math/s_ccos.c: Likewise.
5518 * math/s_ccosf.c: Likewise.
5519 * math/s_ccosl.c: Likewise.
5520 * math/s_ctan.c: Likewise.
5521 * math/s_ctanf.c: Likewise.
5522 * math/s_ctanh.c: Likewise.
5523 * math/s_ctanhf.c: Likewise.
5524 * math/s_ctanhl.c: Likewise.
5525 * math/s_ctanl.c: Likewise.
5526 * math/w_fmod.c: Likewise.
5527 * math/w_fmodf.c: Likewise.
5528 * math/w_fmodl.c: Likewise.
5529 * math/w_remainder.c: Likewise.
5530 * math/w_remainderf.c: Likewise.
5531 * math/w_remainderl.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5533 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5534 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5536 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5537 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5538 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5539 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5540
187da0ae
UD
5541 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5542 of the number.
5543 * stdio-common/printf_fphex.c: Likewise.
5544 * stdio-common/printf_size.c: Likewise.
5545
9277c064
UD
5546 * math/e_exp10.c: Include math_private.h using <...> not "...".
5547 * math/e_exp10f.c: Likewise.
5548 * math/e_exp10l.c: Likewise.
5549 * math/e_exp2l.c: Likewise.
5550 * math/e_j0l.c: Likewise.
5551 * math/e_j1l.c: Likewise.
5552 * math/e_jnl.c: Likewise.
5553 * math/e_lgammal_r.c: Likewise.
5554 * math/e_rem_pio2l.c: Likewise.
5555 * math/e_scalb.c: Likewise.
5556 * math/e_scalbf.c: Likewise.
5557 * math/e_scalbl.c: Likewise.
5558 * math/k_cosl.c: Likewise.
5559 * math/k_sinl.c: Likewise.
5560 * math/k_tanl.c: Likewise.
5561 * math/s_cacoshf.c: Likewise.
5562 * math/s_catan.c: Likewise.
5563 * math/s_catanf.c: Likewise.
5564 * math/s_catanh.c: Likewise.
5565 * math/s_catanhf.c: Likewise.
5566 * math/s_catanhl.c: Likewise.
5567 * math/s_catanl.c: Likewise.
5568 * math/s_ccosh.c: Likewise.
5569 * math/s_ccoshf.c: Likewise.
5570 * math/s_ccoshl.c: Likewise.
5571 * math/s_cexp.c: Likewise.
5572 * math/s_cexpf.c: Likewise.
5573 * math/s_cexpl.c: Likewise.
5574 * math/s_clog.c: Likewise.
5575 * math/s_clog10.c: Likewise.
5576 * math/s_clog10f.c: Likewise.
5577 * math/s_clog10l.c: Likewise.
5578 * math/s_clogf.c: Likewise.
5579 * math/s_clogl.c: Likewise.
5580 * math/s_csin.c: Likewise.
5581 * math/s_csinf.c: Likewise.
5582 * math/s_csinh.c: Likewise.
5583 * math/s_csinhf.c: Likewise.
5584 * math/s_csinhl.c: Likewise.
5585 * math/s_csinl.c: Likewise.
5586 * math/s_csqrt.c: Likewise.
5587 * math/s_csqrtf.c: Likewise.
5588 * math/s_csqrtl.c: Likewise.
5589 * math/s_ctan.c: Likewise.
5590 * math/s_ctanf.c: Likewise.
5591 * math/s_ctanh.c: Likewise.
5592 * math/s_ctanhf.c: Likewise.
5593 * math/s_ctanhl.c: Likewise.
5594 * math/s_ctanl.c: Likewise.
5595 * math/s_ldexp.c: Likewise.
5596 * math/s_ldexpf.c: Likewise.
5597 * math/s_ldexpl.c: Likewise.
5598 * math/s_significand.c: Likewise.
5599 * math/s_significandf.c: Likewise.
5600 * math/s_significandl.c: Likewise.
5601 * math/w_acos.c: Likewise.
5602 * math/w_acosf.c: Likewise.
5603 * math/w_acosh.c: Likewise.
5604 * math/w_acoshf.c: Likewise.
5605 * math/w_acoshl.c: Likewise.
5606 * math/w_acosl.c: Likewise.
5607 * math/w_asin.c: Likewise.
5608 * math/w_asinf.c: Likewise.
5609 * math/w_asinl.c: Likewise.
5610 * math/w_atan2.c: Likewise.
5611 * math/w_atan2f.c: Likewise.
5612 * math/w_atan2l.c: Likewise.
5613 * math/w_atanh.c: Likewise.
5614 * math/w_atanhf.c: Likewise.
5615 * math/w_atanhl.c: Likewise.
5616 * math/w_cosh.c: Likewise.
5617 * math/w_coshf.c: Likewise.
5618 * math/w_coshl.c: Likewise.
5619 * math/w_dremf.c: Likewise.
5620 * math/w_exp10.c: Likewise.
5621 * math/w_exp10f.c: Likewise.
5622 * math/w_exp10l.c: Likewise.
5623 * math/w_exp2.c: Likewise.
5624 * math/w_exp2f.c: Likewise.
5625 * math/w_fmod.c: Likewise.
5626 * math/w_fmodf.c: Likewise.
5627 * math/w_fmodl.c: Likewise.
5628 * math/w_hypot.c: Likewise.
5629 * math/w_hypotf.c: Likewise.
5630 * math/w_hypotl.c: Likewise.
5631 * math/w_j0.c: Likewise.
5632 * math/w_j0f.c: Likewise.
5633 * math/w_j0l.c: Likewise.
5634 * math/w_j1.c: Likewise.
5635 * math/w_j1f.c: Likewise.
5636 * math/w_j1l.c: Likewise.
5637 * math/w_jn.c: Likewise.
5638 * math/w_jnf.c: Likewise.
5639 * math/w_jnl.c: Likewise.
5640 * math/w_lgamma.c: Likewise.
5641 * math/w_lgamma_r.c: Likewise.
5642 * math/w_lgammaf.c: Likewise.
5643 * math/w_lgammaf_r.c: Likewise.
5644 * math/w_lgammal.c: Likewise.
5645 * math/w_lgammal_r.c: Likewise.
5646 * math/w_log.c: Likewise.
5647 * math/w_log10.c: Likewise.
5648 * math/w_log10f.c: Likewise.
5649 * math/w_log10l.c: Likewise.
5650 * math/w_log2.c: Likewise.
5651 * math/w_log2f.c: Likewise.
5652 * math/w_log2l.c: Likewise.
5653 * math/w_logf.c: Likewise.
5654 * math/w_logl.c: Likewise.
5655 * math/w_pow.c: Likewise.
5656 * math/w_powf.c: Likewise.
5657 * math/w_powl.c: Likewise.
5658 * math/w_remainder.c: Likewise.
5659 * math/w_remainderf.c: Likewise.
5660 * math/w_remainderl.c: Likewise.
5661 * math/w_scalb.c: Likewise.
5662 * math/w_scalbf.c: Likewise.
5663 * math/w_scalbl.c: Likewise.
5664 * math/w_sinh.c: Likewise.
5665 * math/w_sinhf.c: Likewise.
5666 * math/w_sinhl.c: Likewise.
5667 * math/w_sqrt.c: Likewise.
5668 * math/w_sqrtf.c: Likewise.
5669 * math/w_sqrtl.c: Likewise.
5670 * math/w_tgamma.c: Likewise.
5671 * math/w_tgammaf.c: Likewise.
5672 * math/w_tgammal.c: Likewise.
5673
6a621eb7
UD
5674 * po/ja.po: Update from translation team.
5675
bf582445
AJ
56762011-09-29 Andreas Jaeger <aj@suse.de>
5677
f9efbf3a
AJ
5678 [BZ #13179]
5679 * sunrpc/netname.c (netname2host): Fix logic.
5680
bf582445
AJ
5681 [BZ #6779]
5682 [BZ #6783]
5683 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5684 correctly.
5685 * math/w_remainder.c (__remainder): Likewise.
5686 * math/w_remainderf.c (__remainderf): Likewise.
5687 * math/libm-test.inc (remainder_test): Add test cases.
5688
48693bea
AK
56892011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5690
5691 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5692 sdiv_qrnnd.
5693
42622229
LD
56942011-10-07 Ulrich Drepper <drepper@gmail.com>
5695
5696 * string/test-memcmp.c: Avoid unncessary #defines.
5697 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5698
093ecf92
LD
56992011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5700
5701 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5702 Use new sse2 version for core i3 - i7 as it's faster
5703 than sse42 version.
5704 (bit_Prefer_PMINUB_for_stringop): New.
5705 * sysdeps/x86_64/rawmemchr.S: Update.
5706 Replace with faster SSE2 version.
5707 * sysdeps/x86_64/memrchr.S: New file.
5708 * sysdeps/x86_64/memchr.S: Update.
5709 Replace with faster SSE2 version.
5710
fde56e5c
MP
57112011-09-12 Marek Polacek <mpolacek@redhat.com>
5712
5713 * elf/dl-load.c (lose): Add cast to avoid warning.
5714
21fd49a9
UD
57152011-10-07 Ulrich Drepper <drepper@gmail.com>
5716
5a06e643
UD
5717 * po/ca.po: Update from translation team.
5718
684ae515
UD
5719 * inet/getnetgrent_r.c: Hook up nscd.
5720 * nscd/Makefile (routines): Add nscd_netgroup.
5721 (nscd-modules): Add netgroupcache.
5722 (CFLAGS-netgroupcache.c): Define.
5723 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5724 (cache_search): Add const to second parameter.
5725 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5726 INNETGR.
5727 (dbs): Add netgrdb entry.
5728 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5729 (verify_persistent_db): Handle netgrdb.
5730 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5731 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5732 GETFDNETGR.
5733 (netgroup_response_header): Define.
5734 (innetgroup_response_header): Define.
5735 (datahead): Add netgroup_response_header and innetgroup_response_header
5736 elements.
5737 * nscd/nscd.conf: Add entries for netgroup cache.
5738 * nscd/nscd.h (dbtype): Add netgrdb.
5739 (_PATH_NSCD_NETGROUP_DB): Define.
5740 (netgroup_iov_disabled): Declare.
5741 (xmalloc, xcalloc, xrealloc): Move declarations here.
5742 (cache_search): Adjust prototype.
5743 Add netgroup-related prototypes.
5744 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5745 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5746 (__nscd_innetgr): Declare.
5747 * nscd/selinux.c (perms): Use access_vector_t as element type and
5748 add netgroup-related initializers.
5749 * nscd/netgroupcache.c: New file.
5750 * nscd/nscd_netgroup.c: New file.
5751 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5752 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5753 For four parameters use innetgr.
5754 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5755 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5756 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5757 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5758
21fd49a9
UD
5759 * nscd/connections.c (register_traced_file): Don't register file
5760 for disabled databases.
5761
054c0457
UD
57622011-10-06 Ulrich Drepper <drepper@gmail.com>
5763
32b63198
UD
5764 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5765
054c0457
UD
5766 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5767 from tree and freeing node.
5768
64031225
JO
57692011-09-25 Jiri Olsa <jolsa@redhat.com>
5770
5771 * nss/nsswitch.c (__nss_database_lookup): Handle
5772 nss_parse_service_list out of memory case.
5773
0490345c
JO
57742011-09-15 Jiri Olsa <jolsa@redhat.com>
5775
5776 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5777 out of memory case.
5778
3a62d00d
AS
57792011-10-04 Andreas Schwab <schwab@redhat.com>
5780
5781 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5782 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5783 pass it down.
5784 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5785 elf_machine_rela, elf_machine_lazy_rel.
5786 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5787 (ELF_DYNAMIC_DO_REL): Likewise.
5788 (ELF_DYNAMIC_DO_RELA): Likewise.
5789 (ELF_DYNAMIC_RELOCATE): Likewise.
5790 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5791 to ELF_DYNAMIC_DO_REL.
5792 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5793 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5794 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5795 elf_machine_rela.
5796 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5797 skip_ifunc, don't call ifunc function if non-zero.
5798 (elf_machine_rela): Likewise.
5799 (elf_machine_lazy_rel): Likewise.
5800 (elf_machine_lazy_rela): Likewise.
5801 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5802 (elf_machine_lazy_rel): Likewise.
5803 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5804 Likewise.
5805 (elf_machine_lazy_rel): Likewise.
5806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5807 Likewise.
5808 (elf_machine_lazy_rel): Likewise.
5809 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5810 (elf_machine_lazy_rel): Likewise.
5811 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5812 (elf_machine_lazy_rel): Likewise.
5813 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5814 (elf_machine_lazy_rel): Likewise.
5815 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5816 (elf_machine_lazy_rel): Likewise.
5817 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5818 (elf_machine_lazy_rel): Likewise.
5819 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5820 (elf_machine_lazy_rel): Likewise.
5821
68577918
UD
58222011-09-28 Ulrich Drepper <drepper@gmail.com>
5823
5824 * nss/nss_files/files-init.c (_nss_files_init): Use static
5825 initialization for all the *_traced_file variables.
5826
68822d74
AS
58272011-09-28 Andreas Schwab <schwab@redhat.com>
5828
5829 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5830
2056100b
RM
58312011-09-27 Roland McGrath <roland@hack.frob.com>
5832
5833 [BZ #13226]
5834 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5835
32c76b63
AS
58362011-09-27 Andreas Schwab <schwab@redhat.com>
5837
5838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5839 Reread the line before reparsing it.
5840
bf972c9d
AS
58412011-09-26 Andreas Schwab <schwab@redhat.com>
5842
5843 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5844
e057a1b5
JM
58452011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5846 Maxim Kuvyrkov <maxim@codesourcery.com>
5847 Joseph Myers <joseph@codesourcery.com>
5848
5849 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5850 if needed for __stack_chk_guard.
5851
bc7e1c36
RM
58522011-09-19 Roland McGrath <roland@hack.frob.com>
5853
ecb1482f
RM
5854 * sysdeps/posix/spawni.c (script_execute): Always define it.
5855 It will be optimized away if unused.
5856 (maybe_script_execute): New function.
5857 (__spawni): Call it.
5858
bc7e1c36
RM
5859 * Makerules: Don't include tls.make.
5860 (config-tls): Always set to thread.
5861 * tls.make.c: File removed.
5862
1c3b002b
MF
58632011-09-19 Mike Frysinger <vapier@gentoo.org>
5864
5865 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5866 * config.make.in (CPPFLAGS-config): New substituted variable.
5867
2840865d
UD
58682011-09-15 Ulrich Drepper <drepper@gmail.com>
5869
88738eb6
UD
5870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5871
cbf645a6 5872 [BZ #13192]
2840865d
UD
5873 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5874 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5875
b402e91a
RM
58762011-09-15 Roland McGrath <roland@hack.frob.com>
5877
5878 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5879 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5880 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5881 (CALL_FAIL): Likewise.
5882 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5883 (CALL_FAIL): Macro removed.
5884 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5885
4c1a1f71
UD
58862011-09-15 Ulrich Drepper <drepper@gmail.com>
5887
5888 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5889 for __FINITE_MATH_ONLY__ == 1.
5890
edc121be
AS
58912011-09-15 Andreas Schwab <schwab@redhat.com>
5892
5893 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5894 __ieee754_sqrt instead of sqrt.
5895 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5896 __ieee754_sqrtf instead of sqrtf.
5897 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5898 __floorf instead of floorf.
5899 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5900 __floorf, __truncf instead of floorf, truncf.
5901
cd205654
UD
59022011-09-14 Ulrich Drepper <drepper@gmail.com>
5903
ee4d0315
UD
5904 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5905
cd205654
UD
5906 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5907 __extern_always_inline.
5908 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5909 32-bit.
5910
48b67d71
AS
59112011-09-14 Andreas Schwab <schwab@redhat.com>
5912
5913 * elf/rtld.c (dl_main): Also relocate in dependency order when
5914 doing symbol dependency testing.
5915
1ae12c75
AS
59162011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5917
5918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5919 Always define `refsym'.
5920
995a80df
AS
59212011-09-13 Andreas Schwab <schwab@redhat.com>
5922
e529793b
AS
5923 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5924 (__FD_ELT): Renamed from __FDELT.
5925 * misc/bits/select2.h (__FD_ELT): Likewise.
5926 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5927 __FD_MASK instead of __FDELT, __FDMASK.
5928 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5929 Likewise.
5930 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5931 Likewise.
5932
52d4fef8
AS
5933 * elf/Makefile (gen-ldd): Fix pattern.
5934
995a80df
AS
5935 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5936 (init_tls): Likewise.
5937
8682f8b0
UD
59382011-09-12 Ulrich Drepper <drepper@gmail.com>
5939
5940 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5941
de82006d
AS
59422011-09-12 Andreas Schwab <schwab@redhat.com>
5943
a7c8e6a1
AS
5944 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5945 `struct cmsghdr *' instead of `void *'.
5946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5947 Likewise.
5948
0f31fe77
AS
59492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5950
5951 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5952 if non-absolute.
5953 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5954 ldd_rewrite_script.
0f31fe77 5955
32b4c839
UD
59562011-09-11 Ulrich Drepper <drepper@gmail.com>
5957
83cd1420
UD
5958 * configure.in: Remove --with-tls option.
5959 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5960 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5961 out in case it is missing.
5962 * sysdeps/ia64/elf/configure.in: Likewise.
5963 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5964 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5965 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5966 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5967 * sysdeps/sh/elf/configure.in: Likewise.
5968 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5969 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5970 * sysdeps/x86_64/elf/configure.in: Likewise.
5971 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5972 * sysdeps/mach/hurd/tls.h: Likewise.
5973
633f745d
UD
5974 [BZ #13067]
5975 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5976
f318beb8
UD
5977 [BZ #13090]
5978 * configure.in: Fix use of AC_INIT.
5979
32b4c839
UD
5980 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5981
3ce1f295
UD
59822011-09-10 Ulrich Drepper <drepper@gmail.com>
5983
bb016596
UD
5984 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5985 __set_errno.
8e58439c
UD
5986 * malloc/hooks.c: Likewise.
5987
aebae053 5988 [BZ #11929]
02d46fc4
UD
5989 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5990 variables statically.
5991 (narenas): Initialize.
5992 (list_lock): Initialize.
bb016596
UD
5993 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5994 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5995 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5996 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5997 Add initializers to main_arena and mp_.
5998 (malloc_state): Remove pagesize member. Change all users to use
5999 GLRO(dl_pagesize).
6000
6001 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6002 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6003 is always initialized.
6004
22a89187
UD
6005 * malloc/malloc.c: Removed unused configurations and dead code.
6006 * malloc/arena.c: Likewise.
6007 * malloc/hooks.c: Likewise.
02d46fc4 6008 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6009
d063d164
UD
6010 * include/tls.h: Removed. USE___THREAD must always be defined.
6011 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6012 * elf/dl-libc.c: Likewise.
6013 * elf/dl-tsd.c: Likewise.
6014 * include/errno.h: Likewise.
6015 * include/netdb.h: Likewise.
6016 * include/resolv.h: Likewise.
6017 * inet/herrno-loc.c: Likewise.
6018 * inet/herrno.c: Likewise.
6019 * malloc/arena.c: Likewise.
6020 * malloc/hooks.c: Likewise.
6021 * malloc/malloc.c: Likewise.
6022 * resolv/res-state.c: Likewise.
6023 * resolv/res_libc.c: Likewise.
6024 * sysdeps/i386/dl-machine.h: Likewise.
6025 * sysdeps/ia64/dl-machine.h: Likewise.
6026 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6027 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6028 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6029 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6030 * sysdeps/sh/dl-machine.h: Likewise.
6031 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6032 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6033 * sysdeps/unix/i386/sysdep.S: Likewise.
6034 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6035 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6039 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6040 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6041 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6044 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6045 * sysdeps/x86_64/dl-machine.h: Likewise.
6046 * tls.make.c: Likewise.
6047
3ce1f295
UD
6048 * configure.in: Remove --with-__thread option. Make tests for
6049 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6050 tls_model attribute fail if no support is available. Remove
6051 USE_IN_LIBIO.
6052 * Makeconfig: Adjust for dropped configure option. All features are
6053 now mandatory.
6054 * Makerules: Likewise.
6055 * Versions.def: Likewise.
6056 * argp/argp-fmtstream.c: Likewise.
6057 * argp/argp-fmtstream.h: Likewise.
6058 * argp/argp-help.c: Likewise.
6059 * assert/assert.c: Likewise.
6060 * config.h.in: Likewise.
6061 * config.make.in: Likewise.
6062 * configure: Likewise.
6063 * configure.in: Likewise.
6064 * csu/Versions: Likewise.
6065 * csu/init.c: Likewise.
6066 * elf/tst-audit2.c: Likewise.
6067 * elf/tst-tls10.c: Likewise.
6068 * elf/tst-tls10.h: Likewise.
6069 * elf/tst-tls11.c: Likewise.
6070 * elf/tst-tls12.c: Likewise.
6071 * elf/tst-tls14.c: Likewise.
6072 * elf/tst-tlsmod11.c: Likewise.
6073 * elf/tst-tlsmod12.c: Likewise.
6074 * elf/tst-tlsmod13.c: Likewise.
6075 * elf/tst-tlsmod13a.c: Likewise.
6076 * elf/tst-tlsmod14a.c: Likewise.
6077 * elf/tst-tlsmod15b.c: Likewise.
6078 * elf/tst-tlsmod16a.c: Likewise.
6079 * elf/tst-tlsmod16b.c: Likewise.
6080 * elf/tst-tlsmod7.c: Likewise.
6081 * elf/tst-tlsmod8.c: Likewise.
6082 * elf/tst-tlsmod9.c: Likewise.
6083 * gmon/gmon.c: Likewise.
6084 * grp/fgetgrent_r.c: Likewise.
6085 * grp/putgrent.c: Likewise.
6086 * hurd/fopenport.c: Likewise.
6087 * include/libc-symbols.h: Likewise.
6088 * include/tls.h: Likewise.
6089 * intl/gettextP.h: Likewise.
6090 * intl/loadinfo.h: Likewise.
6091 * locale/global-locale.c: Likewise.
6092 * locale/localeinfo.h: Likewise.
6093 * mach/devstream.c: Likewise.
6094 * malloc/arena.c: Likewise.
6095 * malloc/set-freeres.c: Likewise.
6096 * misc/err.c: Likewise.
6097 * misc/getttyent.c: Likewise.
6098 * misc/mntent_r.c: Likewise.
6099 * posix/getopt.c: Likewise.
6100 * posix/wordexp.c: Likewise.
6101 * pwd/fgetpwent_r.c: Likewise.
6102 * resolv/Versions: Likewise.
6103 * resolv/res_hconf.c: Likewise.
6104 * shadow/fgetspent_r.c: Likewise.
6105 * shadow/putspent.c: Likewise.
6106 * stdio-common/printf_fphex.c: Likewise.
6107 * stdio-common/tmpfile.c: Likewise.
6108 * stdlib/abort.c: Likewise.
6109 * stdlib/fmtmsg.c: Likewise.
6110 * sunrpc/auth_unix.c: Likewise.
6111 * sunrpc/clnt_perr.c: Likewise.
6112 * sunrpc/clnt_tcp.c: Likewise.
6113 * sunrpc/clnt_udp.c: Likewise.
6114 * sunrpc/clnt_unix.c: Likewise.
6115 * sunrpc/openchild.c: Likewise.
6116 * sunrpc/svc_simple.c: Likewise.
6117 * sunrpc/svc_tcp.c: Likewise.
6118 * sunrpc/svc_udp.c: Likewise.
6119 * sunrpc/svc_unix.c: Likewise.
6120 * sunrpc/xdr.c: Likewise.
6121 * sunrpc/xdr_array.c: Likewise.
6122 * sunrpc/xdr_rec.c: Likewise.
6123 * sunrpc/xdr_ref.c: Likewise.
6124 * sunrpc/xdr_stdio.c: Likewise.
6125
1248c1c4
PB
61262011-09-09 Ulrich Drepper <drepper@gmail.com>
6127
6128 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6129
61302011-07-03 Andreas Jaeger <aj@suse.de>
6131
6132 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6133 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6134 regenerate with gen-libm-tests.pl.
6135
61362010-05-12 Petr Baudis <pasky@suse.cz>
6137
6138 [BZ #11589]
6139 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6140 around j0() zero points by switching to j1().
6141 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6145
f22e1074
UD
61462011-09-09 Ulrich Drepper <drepper@gmail.com>
6147
f19009c1
UD
6148 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6149 instead of 0.
6150 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6151 instead of 0. .
6152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6153 Patch in part by Pavel Roskin <proski@gnu.org>.
6154
3f8cc204
UD
6155 [BZ #13138]
6156 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6157 realloc.
6158 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6159 Free memory block if necessary.
6160
f22e1074
UD
6161 [BZ #12847]
6162 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6163 be NULL. Don't lock in this case.
6164
0a2349f9
RM
61652011-09-09 Roland McGrath <roland@hack.frob.com>
6166
6167 * elf/elf.h (ELFOSABI_GNU): New macro.
6168 (ELFOSABI_LINUX): Define to that.
6169
f3cdd467
DZ
61702011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6171
6172 * string/strncat.c (strncat): Undef the symbol in case it has been
6173 defined in bits/string.h.
6174
74718d13
UD
61752011-09-09 Ulrich Drepper <drepper@gmail.com>
6176
633e9e0f
UD
6177 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6178
0a2349f9 6179 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6180 link map.
6181
f9924780
AJ
61822011-08-17 Andreas Jaeger <aj@suse.de>
6183
6184 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6185
7f5517aa
PP
61862011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6187 Ian Lance Taylor <iant@google.com>
6188
6189 * math/libm-test.inc (lround_test): New testcase.
6190 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6191
762011fe
UD
61922011-09-08 Ulrich Drepper <drepper@gmail.com>
6193
92963737
UD
6194 * Makefile: Remove support for automatic cvs check-ins.
6195 * Makerules: Likewise.
6196 * config.make.in: Likewise.
6197 * configure.in: Likewise.
6198 * intl/Makefile: Likewise.
6199 * locale/Makefile: Likewise.
6200 * po/Makefile: Likewise.
6201 * posix/Makefile: Likewise.
6202 * sysdeps/gnu/Makefile: Likewise.
6203 * sysdeps/mach/hurd/Makefile: Likewise.
6204 * sysdeps/sparc/sparc32/Makefile: Likewise.
6205
b0727fd8
JS
6206 [BZ #13118]
6207 * posix/Makefile (bug-regex32-ENV): Define.
6208 Patch by John Stanley <jpsinthemix@verizon.net>.
6209
a0f33f99
UD
6210 * misc/Makefile (headers): Add bits/select2.h.
6211 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6212 * misc/bits/select2.h: New file.
6213 * include/bits/select2.h: New file.
6214 * debug/Makefile (routines): Add fdelt_chk.
6215 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6216 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6217 FD_ISSET.
6218 * debug/fdelt_chk.c: New file.
6219
762011fe
UD
6220 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6221 * wcsmbs/test-wmemcmp.c: Likewise.
6222 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6223 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6224
62252011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6226
6227 * string/Makefile (strop-tests): Add memcmp.
6228 * string/test-wmemcmp.c: New file.
6229 * string/test-memcmp.c: Add wmemcmp support.
6230
7f513ec8
RM
62312011-09-08 Roland McGrath <roland@hack.frob.com>
6232
0442afb4
RM
6233 [BZ #13153]
6234 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6235 2011-07-19 change.
6236
7f513ec8
RM
6237 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6238 garbage value in a __mach_port_mod_refs call in the cases of the
6239 task-self and thread-self ports.
6240
a12b2239
ST
62412011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6242
6243 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6244
610f9ab4
AS
62452011-09-08 Andreas Schwab <schwab@redhat.com>
6246
7f513ec8 6247 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6248
48882a1a
LD
62492011-09-07 Ulrich Drepper <drepper@gmail.com>
6250
b49865be
UD
6251 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6252
fdc86bc9
UD
6253 * elf/dl-libc.c (dlerror_run): Pass back error code from
6254 dl_catch_error.
6255
c966526a
UD
6256 [BZ #13123]
6257 * elf/dl-load.c (lose): Free l_origin if it is valid.
6258
48882a1a
LD
6259 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6260 names.
6261 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6262 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6263 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6264 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6265 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6266 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6267
77a2a8b4
AZ
62682011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6269
6270 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6271 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6272 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6273 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6274 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6275 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6276 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6277 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6278 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6279 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6280
24f579d8
AM
62812011-08-15 Alan Modra <amodra@gmail.com>
6282
6283 [BZ #13092]
6284 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6285 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6286 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6287 ppc_mcount to static-only-routines.
6288 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6289 __mcount_internal.
6290 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6291 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6292
3d4837df
UD
62932011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6294
6295 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6296 for finite and infinity parameters.
6297
22700377
WS
62982011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6299
6300 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6301 and add nop instructions for throughput optimization.
6302 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6303
5025581e
WS
63042011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6305
6306 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6307 aligned copy for power7 with vector-scalar instructions.
6308 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6309
08a300c9
L
63102011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6311
6312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6313 AVX check.
6314
59178ef9
AS
63152011-09-07 Andreas Schwab <schwab@redhat.com>
6316
6317 [BZ #13144]
6318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6319 last change.
6320
e38ba7ab
UD
63212011-09-07 Ulrich Drepper <drepper@gmail.com>
6322
6323 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6324 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6325 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6326 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6327 clock_gettime.
6328
d53a73ac
UD
63292011-09-06 Ulrich Drepper <drepper@gmail.com>
6330
fc8bffcc
UD
6331 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6332 Forgot to demangle the pointer.
6333
ceaa0c5d
UD
6334 * sysdeps/i386/sysdep.h: Define atom_text_section.
6335 * sysdeps/x86_64/sysdep.h: Likewise.
6336 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6337 section with atom_text_section.
6338 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6339 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6340 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6341 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6342 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6343
a77d3c17
UD
6344 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6345 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6346 already be defined. Change to take two parameters and don't assign
6347 result to variable. Adjust all users.
6348 Define INTERNAL_GETTIME if not already defined.
6349 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6350 call.
6351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6352 HAVE_CLOCK_GETTIME_VSYSCALL.
6353 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6354
d53a73ac
UD
6355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6356 gettimeofday vsyscall, just use time.
6357
a8f84144
AS
63582011-09-06 Andreas Schwab <schwab@redhat.com>
6359
6360 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6361 <errno.h>.
6362
ef606249
UD
63632011-09-06 Ulrich Drepper <drepper@gmail.com>
6364
6365 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6366 syscall on x86-64.
6367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6368 syscall.
6369 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6370 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6371 syscall if possible.
6372
6585cb60
UD
63732011-09-05 Ulrich Drepper <drepper@gmail.com>
6374
6375 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6376 e_ident. Don't pass to find_mapsXX.
6377 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6378
a5f524e4
LD
63792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6380
6381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6382 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6383 * sysdeps/x86_64/multiarch/strchr.S: Update.
6384 Check bit_slow_BSF bit.
6385 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6386 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6387 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6388
554881ef
UD
63892011-09-05 Ulrich Drepper <drepper@gmail.com>
6390
d96de963
UD
6391 [BZ #13134]
6392 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6393 before glibc 2.15.
6394 (tryshell): Define.
6395 (__spawni): Change last parameter to be flag. Test
6396 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6397 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6398 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6399 * posix/spawni.c: Likewise.
6400 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6401 * posix/spawnp.c: Likewise. Change normal version to use
6402 SPAWN_XFLAGS_USE_PATH.
6403 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6404 SPAWN_XFLAGS_TRY_SHELL.
6405
d48e5868
UD
6406 [BZ #13150]
6407 * posix/glob.h: Remove gcc 1.x support.
6408
554881ef
UD
6409 [BZ #13068]
6410 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6411
693fb948
LD
64122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6413
6414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6415 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6416 strrchr-sse2-bsf
6417 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6418 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6419 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6420 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6421 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6422 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6423
1b48c537
UD
64242011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6425
49d42c37
UD
6426 * sysdeps/x86_64/wcscmp.S: New file.
6427
1b48c537
UD
6428 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6429 wcscmp-c wcscmp-sse2
6430 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6431 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6432 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6433 * wcsmbs/wcscmp.c: Allow renaming.
6434
15c95c5d
DM
64352011-09-05 David S. Miller <davem@davemloft.net>
6436
6437 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6438 stack slot, rather than the struct return pointer slot.
6439 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6440 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6442 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6443
2f0ad8f3
UD
64442011-09-05 Ulrich Drepper <drepper@gmail.com>
6445
d88ae418
UD
6446 * po/ja.po: Update from translation team.
6447
2f0ad8f3
UD
6448 [BZ #13144]
6449 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6450 kernel in 64-bit binaries.
6451
5f4318d1
DM
64522011-09-01 David S. Miller <davem@davemloft.net>
6453
6454 * elf/elf.h (HWCAP_SPARC_*): Move to..
6455 * sysdeps/sparc/sysdep.h: this new file and add new values.
6456 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6457 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6458 _DL_HWCAP_COUNT to 24.
6459 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6460 entries.
6461 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6462 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6463 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6465 instead of magic constants.
6466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6467
3ba57516
DM
64682011-08-31 David S. Miller <davem@davemloft.net>
6469
6470 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6472 Reimplement to do errno handling inline.
6473 (SYSCALL_ERROR_HANDLER): New macro.
6474 (__SYSCALL_STRING): Do not do errno handling in asm.
6475 (__CLONE_SYSCALL_STRING): Delete.
6476 (__INTERNAL_SYSCALL_STRING): Delete.
6477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6478 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6479 (PSEUDO): Reimplement to do errno handling inline.
6480 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6481 (SYSCALL_ERROR_HANDLER): New macro.
6482 (__SYSCALL_STRING): Do not do errno handling in asm.
6483 (__CLONE_SYSCALL_STRING): Delete.
6484 (__INTERNAL_SYSCALL_STRING): Delete.
6485 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6486 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6487 i386.
6488 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6489 (inline_syscall*): Add 'err' argument.
6490 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6491 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6492 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6493 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6494
6495 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6496 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6497
2bc17433
AS
64982011-08-30 Andreas Schwab <schwab@redhat.com>
6499
6500 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6501
fbeb5f4d
JO
65022011-08-29 Jiri Olsa <jolsa@redhat.com>
6503
6504 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6505 directive.
6506
ad69cc26
DM
65072011-08-24 David S. Miller <davem@davemloft.net>
6508
6509 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6510
39dd69df
AS
65112011-08-24 Andreas Schwab <schwab@redhat.com>
6512
6513 * elf/Makefile: Add rules to build and run unload8 test.
6514 * elf/unload8.c: New file.
6515 * elf/unload8mod1.c: New file.
6516 * elf/unload8mod1x.c: New file.
6517 * elf/unload8mod2.c: New file.
6518 * elf/unload8mod3.c: New file.
6519
6520 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6521 it wasn't used.
6522
2c0b250a
DM
65232011-08-23 David S. Miller <davem@davemloft.net>
6524
6525 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6526 subtract stack bias.
6527 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6528 %sp not %fp in calculations.
6529 (_JMPBUF_UNWINDS_ADJ): Likewise.
6530
22044b48
DM
6531 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6532 (aio_suspend): Call it to force an exception region around the
6533 AIO_MISC_WAIT() invocation.
6534
2cae4995
AS
65352011-08-23 Andreas Schwab <schwab@redhat.com>
6536
6537 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6538 backslash.
6539
873a772e
AJ
65402011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6541
6542 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6543 protection macro.
6544 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6545 and <dl-machine.h>.
6546 (Elf64_FuncDesc): Remove.
6547
25ad0df1
DM
65482011-08-22 David S. Miller <davem@davemloft.net>
6549
6550 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6551 sigaltstack check, add missing cfi directives.
6552 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6553 missing cfi directives, and sigaltstack handling.
6554
e888bcbe
AS
65552011-08-16 Andreas Schwab <schwab@redhat.com>
6556
6557 [BZ #11724]
6558 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6559 object is seen twice.
6560 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6561
6562 * elf/Makefile (distribute): Add tst-initorder2.c.
6563 (tests): Add tst-initorder2.
6564 (modules-names): Add tst-initorder2a tst-initorder2b
6565 tst-initorder2c tst-initorder2d. Add rules to build them.
6566 ($(objpfx)tst-initorder2.out): New rule.
6567 * elf/tst-initorder2.c: New file.
6568 * elf/tst-initorder2.exp: New file.
6569
87162f46
AS
65702011-08-22 Andreas Schwab <schwab@redhat.com>
6571
70538b7f
AS
6572 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6573
f55ffe58
AS
6574 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6575 dependencies back to end of function.
6576
87162f46
AS
6577 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6578 $(elfobjdir)/ld.so.
6579
91b392a4
UD
65802011-08-21 Ulrich Drepper <drepper@gmail.com>
6581
6582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6583 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6585 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6586 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6587 of __vdso_gettimeofday.
6588 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6589 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6590 attribute_hidden.
6591 (_libc_vdso_platform_setup): Remove initialization of
6592 __vdso_gettimeofday and __vdso_time.
6593
5c43483f
UD
65942011-08-20 Ulrich Drepper <drepper@gmail.com>
6595
775a77e7
UD
6596 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6597 and fgetc_unlocked.
6598 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6599 getc_unlocked.
89f447ed 6600
49c74ba9
UD
6601 * elf/dl-open.c (add_to_global): Report additions to the global scope
6602 for LD_DEBUG=scopes.
6603 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6604 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6605
5c43483f
UD
6606 [BZ #13114]
6607 * stdio-common/Makefile (tests): Add bug24.
6608 * stdio-common/bug24.c: New file.
6609
a101b025
AJ
66102011-08-19 Andreas Jaeger <aj@suse.de>
6611
6612 [BZ #13114]
6613 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6614 non-existant file when using close-on-exec mode.
6615
c88f1766
UD
66162011-08-20 Ulrich Drepper <drepper@gmail.com>
6617
0276a718
UD
6618 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6619 the very first instruction.
6620
c88f1766
UD
6621 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6622 the CFI state in the end.
6623 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6624 inclusion of dl-trampoline.h.
6625 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6626
51ccffa0
AS
66272011-08-19 Andreas Schwab <schwab@redhat.com>
6628
94d7165f
AS
6629 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6630 expectations for long double.
6631
51ccffa0
AS
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6633 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6634
fd708658 66352011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6636
6637 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6638 artificual limit depends upon the system page size.
6639
44f0a71e
UD
66402011-08-17 Ulrich Drepper <drepper@gmail.com>
6641
6642 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6643 * resolv/Makefile: Define CFLAGS-libresolv.
6644
8de79a24
AS
66452011-08-17 Andreas Schwab <schwab@redhat.com>
6646
6647 * nss/makedb.c (compute_tables): Make variables used in nested
6648 function static.
6649
27724598
UD
66502011-08-17 Ulrich Drepper <drepper@gmail.com>
6651
c5305d88
UD
6652 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6653 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6654 if buffer was too small.
6655
27724598
UD
6656 * elf/pldd.c (main): Attach to all threads in the process.
6657 Rewrite /proc handling to use *at functions.
6658
076fe015
UD
66592011-08-16 Ulrich Drepper <drepper@gmail.com>
6660
174baab3
UD
6661 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6662 specifies first scope to show.
6663 (dl_open_worker): Update callers. Move printing scope of new
6664 object to before the relocation.
44f0a71e 6665 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6666 * sysdeps/generic/ldsodefs.h: Update declaration.
6667
076fe015
UD
6668 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6669 string for the scope number.
6670
a60df2c3
UD
66712011-08-14 Ulrich Drepper <drepper@gmail.com>
6672
6673 * nscd/servicescache.c (cache_addserv): Make sure written is always
6674 initialized.
6675
5e4287d1
RM
66762011-08-14 Roland McGrath <roland@hack.frob.com>
6677
85ae0589
RM
6678 * sysdeps/i386/i486/bits/atomic.h
6679 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6680 statement expression, so as to suppress "set but not used" warning.
6681 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6682
69f63097
RM
6683 * string/strncat.c (STRNCAT): Use prototype definition.
6684
675456ef
RM
6685 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6686 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6687 -Iprograms here.
6688 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6689 (localedef-modules): Add localedef.
6690 (locale-modules): Add locale.
6691
5e4287d1
RM
6692 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6693 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6694 to avoid a warning.
6695
9c96ff23
DM
66962011-08-14 David S. Miller <davem@davemloft.net>
6697
6698 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6699 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6700
f9ddf089
UD
67012011-08-13 Ulrich Drepper <drepper@gmail.com>
6702
44f0a71e 6703 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6704 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6705 * elf/rtld.c (dl_main): Set l_name of vDSO.
6706 Call _dl_show_scope when DL_DEBUG_SCOPES.
6707 (process_dl_debug): Recognize scopes flag and also set it for all.
6708 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6709 Declare _dl_show_scope.
6710
1dc27704
UD
6711 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6712 (do_dlopen): Pass caller_dlopen to dl_open.
6713 (__libc_dlopen_mode): Initialize caller_dlopen.
6714
f9ddf089
UD
6715 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6716 of libc. Make tolower call locale-independent. Optimize a bit by
6717 using isdigit instead of isalnum.
6718 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6719
9ac533d3
UD
67202011-08-12 Ulrich Drepper <drepper@gmail.com>
6721
6722 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6723 was a dependency or dynamically loaded.
6724
89edf2e9
UD
67252011-08-11 Ulrich Drepper <drepper@gmail.com>
6726
8e999d29
UD
6727 * intl/l10nflist.c: Allow architecture-specific pop function.
6728 * sysdeps/x86_64/l10nflist.c: New file.
6729
89edf2e9
UD
6730 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6731 classification.
6732
14d96785
AS
67332011-08-10 Andreas Schwab <schwab@redhat.com>
6734
6735 * include/dirent.h: Add libc_hidden_proto for scandirat and
6736 scandirat64. Don't declare __scandirat64.
6737 * dirent/scandirat.c: Add libc_hidden_def.
6738 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6739 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6740
6761ac04
DM
67412011-08-10 David S. Miller <davem@davemloft.net>
6742
6743 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6744 enum.
6745 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6746 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6748
c55fbd1e
UD
67492011-08-09 Ulrich Drepper <drepper@gmail.com>
6750
6751 * Versions.def [libc]: Add GLIBC_2.15.
6752 * dirent/Makefile (routines): Add scandirat and scandirat64.
6753 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6754 GLIBC_2.15.
6755 * dirent/dirent.h: Declare scandirat and scandirat64.
6756 * dirent/scandirat.c: New file.
6757 * dirent/scandirat64.c: New file.
6758 * sysdeps/wordsize-64/scandirat.c: New file.
6759 * sysdeps/wordsize-64/scandirat64.c: New file.
6760 * dirent/opendir.c: Define opendirat.
6761 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6762 using scandirat.
6763 * dirent/scandir64.c: Adjust for scandir.c change.
6764 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6765 __scandirat64, and __scandir_cancel_handler.
6766 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6767 additional parameter and use openat instead of open (outside of ld.so).
6768 Add new __opendir as wrapper around __opendirat.
6769 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6770 here without requiring old scandirat implementation.
6771
879165f2
UD
67722011-08-08 Ulrich Drepper <drepper@gmail.com>
6773
6774 * dirent/scandir.c (cancel_handler): Renamed to
6775 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6776 defined. Adjust users.
6777 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6778 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6779
cb7e923b
UD
67802011-08-04 Ulrich Drepper <drepper@gmail.com>
6781
16292edd
UD
6782 * string/test-string.h (IMPL): Use __STRING to expand name and then
6783 stringify it.
6784
cb7e923b
UD
6785 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6786 of cleanups.
6787
cff82933
LD
67882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6789
6790 * string/Makefile: Update.
6791 (strop-tests): Append strncat.
6792 * string/test-wcscmp.c: New file.
6793 New comprehensive test for wcscmp.
6794 * string/test-strcmp.c: Update.
6795 (WIDE): New define.
6796
9be9bfcc
AS
67972011-07-22 Andreas Schwab <schwab@redhat.com>
6798
6799 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6800 line.
6801
2e96f1c7
AS
68022011-07-26 Andreas Schwab <schwab@redhat.com>
6803
6804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6805 encoding to ACE if AI_IDN.
6806
85188888
JJ
68072011-08-01 Jakub Jelinek <jakub@redhat.com>
6808
6809 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6810 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6811
5fa16e9b
LD
68122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6813
6814 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6815 Fix overflow bug in strncat.
6816 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6817
6818 * string/test-strncat.c: Update.
6819 Add new tests for checking overflow bugs.
6820
68212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6822
6823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6824 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6825 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6826 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6827 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6828 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6829 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6830 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6831 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6832
6833 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6834 (USE_AS_STRCAT): Define.
6835 Add strcat and strncat support.
6836 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6837
8c1a459f
AS
68382011-07-25 Andreas Schwab <schwab@redhat.com>
6839
6840 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6841 __n bigger than INT_MAX+1.
6842 (__strncmp_g): Likewise.
6843
bba33c28
UD
68442011-07-23 Ulrich Drepper <drepper@gmail.com>
6845
798be72d
UD
6846 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6847 * libio/stido.h: Likewise.
6848
8accd4dc
UD
6849 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6850 (AF_NFC): Define.
6851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6852 (AF_NFC): Define.
6853
cbff0d96
UD
6854 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6855 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6856 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6857 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6859
9191c04a
UD
6860 [BZ #13021]
6861 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6862 installed.
6863
bba33c28
UD
6864 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6865 typo.
6866 (_dl_x86_64_save_sse): Likewise.
6867
90f139dd
UD
68682011-07-22 Ulrich Drepper <drepper@gmail.com>
6869
1aae088a
UD
6870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6871 OSXSAVE.
6872 (_dl_x86_64_save_sse): Likewise.
6873
8e2045f5
UD
6874 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6875
90f139dd
UD
6876 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6877
1d002f25
AS
68782011-07-21 Andreas Schwab <schwab@redhat.com>
6879
6880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6881 change.
6882 (_dl_x86_64_save_sse): Use correct AVX check.
6883
21137f89
UD
68842011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6885
6886 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6887 bug in strncpy/strncat.
6888 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6889
a65c0b7a
UD
68902011-07-21 Ulrich Drepper <drepper@gmail.com>
6891
6892 * string/tester.c (test_strcat): Add tests for different alignments
6893 of source and destination.
6894 (test_strncat): Likewise.
6895
6986b98a
UD
68962011-07-20 Ulrich Drepper <drepper@gmail.com>
6897
90bb2039
UD
6898 [BZ #12852]
6899 * posix/glob.c (glob): Check passed in values before using them in
6900 expressions to avoid some overflows.
6901 (glob_in_dir): Likewise.
6902
5644ef54
UD
6903 [BZ #13007]
6904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6905 check for AVX enablement so that we don't crash with old kernels and
6906 new hardware.
6907 * elf/tst-audit4.c: Add same checks here.
6908 * elf/tst-audit6.c: Likewise.
6909
6910 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6911
bfc9dc9b
AS
69122011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6913
6914 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6915
702e64bb
UD
69162011-07-20 Ulrich Drepper <drepper@gmail.com>
6917
6918 * po/cs.po: Update from translation team.
6919 * po/bg.po: Likewise.
6920
295e904f
MP
69212011-07-12 Marek Polacek <mpolacek@redhat.com>
6922
6923 * misc/sys/cdefs.h: Add support for const attribute.
6924 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6925 to gnu_dev_{major,minor,makedev} functions.
6926
3ff94596
MP
69272011-07-20 Marek Polacek <mpolacek@redhat.com>
6928
6929 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6930
28b59fca
AS
69312011-07-20 Andreas Schwab <schwab@redhat.com>
6932
6933 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6934 strlen results.
6935
19df733e
AK
69362011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6937
6938 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6939 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6940 register in order to avoid conflicts with the soft frame pointer
6941 being held in r11 when necessary.
6942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6943 (INTERNAL_VSYSCALL_NCS): Likewise.
6944
c8835729
MP
69452011-07-14 Marek Polacek <mpolacek@redhat.com>
6946
6947 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6948 * elf/dl-fini.c (_dl_fini): Adjust caller.
6949 * elf/dl-close.c (_dl_close_worker): Likewise.
6950 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6951
b902330c
MP
69522011-07-15 Marek Polacek <mpolacek@redhat.com>
6953
8991e135
MP
6954 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6955 "aux_cache->nlibs < 0".
6956
b902330c
MP
6957 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6958 in the reload-count case.
6959
99710781
LD
69602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6961
6962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6963 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6964 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6965 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6966 * sysdeps/x86_64/multiarch/strcat.S: New file.
6967 * sysdeps/x86_64/multiarch/strncat.S: New file.
6968 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6969 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6970 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6971 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6972 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6973 (USE_AS_STRCAT): Define.
6974 Add strcat and strncat support.
6975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6976 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6977 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6978 * string/strncat.c: Update.
6979 (USE_AS_STRNCAT): Define.
6980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6981 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6982 and i7.
6983 * sysdeps/x86_64/multiarch/init-arch.h
6984 (bit_Prefer_PMINUB_for_stringop): New.
6985 (index_Prefer_PMINUB_for_stringop): Likewise.
6986 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6987 bit_Prefer_PMINUB_for_stringop.
6988
7dc6bd90
UD
69892011-07-19 Ulrich Drepper <drepper@gmail.com>
6990
6991 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6992 buffer64.
6993 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6994 of casting of buffer.
6995 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6996 buffer32 and buffer64.
6997 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6998 writes instead of casting of buffer.
6999 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7000 buffer32.
7001 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7002 casting of buffer.
7003
e0e72284
AS
70042011-07-19 Andreas Schwab <schwab@redhat.com>
7005
7006 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7007
feb1eb0b
UD
70082011-07-19 Ulrich Drepper <drepper@gmail.com>
7009
7010 * nscd/nscd.c (termination_handler): Don't do anything for a database
7011 if it has not yet been initialized.
7012
298711ff
UD
70132011-07-18 Ulrich Drepper <drepper@gmail.com>
7014
7015 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7016
70172011-07-15 Marek Polacek <mpolacek@redhat.com>
7018
7019 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7020
f9d68389
UD
70212011-07-18 Ulrich Drepper <drepper@gmail.com>
7022
7023 * po/nl.po: Update from translation team.
7024 * po/sv.po: Likewise.
7025
db290cf5
RM
70262011-07-16 Roland McGrath <roland@hack.frob.com>
7027
7028 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7029 now disallowed by GCC.
5c550700 7030
fd5e21c7
RM
7031 * configure.in (use-default-link): Default to yes if a test -shared
7032 link meets our qualifications.
7033 * configure: Regenerated.
7034
5c550700
RM
7035 * config.make.in (output-format): New variable.
7036 * configure.in: Check for ld --print-output-format support.
7037 * configure: Regenerated.
7038 * Makerules ($(common-objpfx)format.lds)
7039 [$(output-format) != unknown]: Just use $(output-format),
7040 instead of the linker-script munging.
7041
9fa2c032
RM
70422011-07-14 Roland McGrath <roland@hack.frob.com>
7043
a6928d51
RM
7044 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7045 of $(common-objpfx)shlib.lds.
7046 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7047
661607b3
RM
7048 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7049 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7050
9fa2c032
RM
7051 * configure.in (-z relro check): Adjust test code to add a large
7052 writable data section after it.
7053 * configure: Regenerated.
7054
defe9061
RM
70552011-07-11 Roland McGrath <roland@hack.frob.com>
7056
7057 * configure.in (-z relro check): Fix test code to make the variable
7058 truly const.
7059 * configure: Regenerated.
7060
319b9ad4
UD
70612011-07-11 Ulrich Drepper <drepper@gmail.com>
7062
7063 * nscd/nscd.h (struct traced_file): Define.
7064 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7065 elements. Add traced_files.
7066 (inotify_fd): Declare.
7067 (register_traced_file): Declare.
7068 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7069 (inotify_fd): Export.
7070 (resolv_conf_descr): Remove.
7071 (nscd_init): Move inotify descriptor creation to main.
7072 Don't register files for notification here.
7073 (register_traced_file): New function.
7074 (invalidate_cache): Don't use reset_res to determine whether to call
7075 res_init, go through the list of registered files.
7076 (main_loop_poll): The inotify descriptors are now stored in the
7077 structures for the traced files.
7078 (main_loop_epoll): Likewise
7079 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7080 to __nss_disable_nscd.
7081 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7082 for a database anymore. Check the records for all the registered
7083 files instead.
7084 * nss/Makefile (libnss_files-routines): Add files-init.
7085 (libnss_db-routines): Add db-init.
7086 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7087 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7088 * nss/nss_db/db-init.c: New file.
7089 * nss/nss_files/files-init.c: New file.
7090 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7091 __nss_lookup_function.
7092 (__nss_lookup_function): Call nss_load_library.
7093 (nss_load_all_libraries): New function.
7094 (__nss_disable_nscd): Take parameter with callback function for files
7095 to register. Set is_nscd. Load all the DSOs for the NSS modules
7096 used for the cached services.
7097 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7098 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7099 options for features to all the files in nscd.
7100
7101 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7102
23bee3e8
RM
71032011-07-10 Roland McGrath <roland@hack.frob.com>
7104
7105 * csu/elf-init.c (__libc_csu_init): Comment typo.
7106
46a5b7f0
UD
71072011-07-09 Ulrich Drepper <drepper@gmail.com>
7108
7109 * po/pl.po: Update from translation team.
7110 * po/ja.po: Likewise.
7111 * po/ru.po: Likewise.
7112 * po/ko.po: Likewise.
7113 * po/fr.po: Likewise.
7114
d30cf5bb
RM
71152011-07-09 Roland McGrath <roland@hack.frob.com>
7116
113ddea4
RM
7117 * configure.in (.ctors/.dtors header and trailer check):
7118 Use an empirical test on a built program.
7119 * configure: Regenerated.
7120
574920b4
RM
7121 * configure.in (-z relro check): Use an empirical test on a built DSO.
7122 Detect, but do not require, on ia64.
7123 * configure: Regenerated.
7124
d30cf5bb
RM
7125 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7126 Update tests that use readelf to use $READELF instead.
7127 * configure: Regenerated.
7128
8538fdb3
UD
71292011-07-08 Ulrich Drepper <drepper@gmail.com>
7130
7131 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7132 if the result is not used.
7133
04d08991
AJ
71342011-07-05 Andreas Jaeger <aj@suse.de>
7135
7136 [BZ#9696]
7137 * stdlib/tst-strtod.c: Add testcase.
7138
de283087
AD
71392011-07-07 Ulrich Drepper <drepper@gmail.com>
7140
4e5f31c8 7141 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7142 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7143 The latter has a higher limit. Take additional parameter to pass to
7144 the new function.
7145 (__pathconf): Pass file to __statfs_link_max.
7146 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7147 __statfs_link_max.
7148 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7149 __statfs_link_max.
7150
de283087
AD
7151 [BZ #12868]
7152 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7153 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7154 Handle Lustre.
7155 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7156 (__statfs_filesize_max): Likewise.
7157 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7158
c75fa153
AJ
71592011-07-05 Andreas Jaeger <aj@suse.de>
7160
7161 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7162
1a544854
UD
71632011-07-06 Marek Polacek <mpolacek@redhat.com>
7164
7165 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7166 `status' variable.
7167 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7168 Likewise.
7169
6f0eec67
UD
71702011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7171
7172 * Makefile (strop-tests): Add strncat.
7173 * string/test-strncat.c: New file.
7174
aae30307
UD
71752011-06-30 Marek Polacek <mpolacek@redhat.com>
7176
7177 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7178
c0cfb5eb
UD
71792011-06-21 Andreas Jaeger <aj@suse.de>
7180
7181 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7182 Copy rule from iconvdata/Makefile.
7183
01636b21
UD
71842011-07-06 Ulrich Drepper <drepper@gmail.com>
7185
7186 [BZ #12922]
7187 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7188 but no long options are defined, just return 'W'.
7189
9895c8bc
UD
71902011-06-22 Marek Polacek <mpolacek@redhat.com>
7191
7192 [BZ #9696]
7193 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7194
5d4cf042
UD
71952011-07-06 Ulrich Drepper <drepper@gmail.com>
7196
7197 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7198 netgroups to read.
960e5535 7199 (innetgr): Likewise.
5d4cf042 7200
751eb97e
RM
72012011-07-05 Roland McGrath <roland@hack.frob.com>
7202
7203 * config.make.in (install_root): Default to $(DESTDIR).
7204
f15f1e45
UD
72052011-07-05 Ulrich Drepper <drepper@gmail.com>
7206
7207 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7208
4e34ac6a
RM
72092011-07-02 Roland McGrath <roland@hack.frob.com>
7210
5e9b6af4
RM
7211 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7212
84f9ea0f
RM
7213 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7214 containing directory rather than embedding absolute directory names.
7215
ea5ee9f7
RM
7216 * scripts/check-local-headers.sh: Rewritten using awk.
7217 Match by word, not by line. Print error messages for matches.
7218 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7219
1b74661a
RM
7220 * Makerules [shlib-lds-flags empty]:
7221 ($(common-objpfx)libc_pic.opts): New target.
7222 ($(common-objpfx)libc_pic.os.clean): New target.
7223 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7224
7225 * config.make.in (OBJCOPY): New variable.
7226 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7227 * configure: Regenerated.
7228
f781ef40
RM
7229 * config.make.in (use-default-link): New variable.
7230 * configure.in (use_default_link): Grok --with-default-link to set it.
7231 * configure: Regenerated.
7232 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7233 (shlib-lds, shlib-lds-flags): Define to empty.
7234
2d4fa81e
RM
7235 * Makerules (shlib-lds): New variable.
7236 (shlib-lds-flags): New variable.
7237 (build-shlib, build-moduile, build-module-asneeded): Use it.
7238 ($(common-objpfx)libc.so): Use $(shlib-lds).
7239 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7240 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7241
31fffa6b
RM
7242 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7243 DT_FLAGS/DT_FLAGS_1 with zero flags.
7244
4e34ac6a
RM
7245 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7246 linker script munging.
7247
fcfc776b
UD
72482011-07-02 Ulrich Drepper <drepper@gmail.com>
7249
7250 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7251 as 128-bit value.
7252 * crypt/sha512.c (sha512_process_block): Perform total addition using
7253 128-bit if possible.
7254 (__sha512_finish_ctx): Likewise.
7255 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7256 as 64-bit value.
7257 * crypt/sha256.c (SWAP64): Define.
7258 (sha256_process_block): Perform total addition using 64-bit if
7259 possible.
7260 (__sha256_finish_ctx): Likewise.
7261
99231d9a
UD
72622011-07-01 Ulrich Drepper <drepper@gmail.com>
7263
7264 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7265 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7266 * nscd/hstcache.c (cache_addhst): Likewise.
7267 * nscd/grpcache.c (cache_addgr): Likewise.
7268 * nscd/aicache.c (addhstaiX): Likewise
7269 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7270
445b4a53
TK
72712011-07-01 Thorsten Kukuk <kukuk@suse.de>
7272
7273 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7274 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7275 * nscd/hstcache.c (cache_addhst): Likewise.
7276 * nscd/grpcache.c (cache_addgr): Likewise.
7277 * nscd/aicache.c (addhstaiX): Likewise
7278
6d4d8e8e
AS
72792011-07-01 Andreas Schwab <schwab@redhat.com>
7280
7281 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7282 domain only when needed.
7283
89f654c5
AS
72842011-06-30 Andreas Schwab <schwab@redhat.com>
7285
7286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7287 is always restored.
7288
cf3b23ff
UD
72892011-06-29 Ulrich Drepper <drepper@gmail.com>
7290
7291 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7292 are re-adding the entry.
7293 * nscd/servicescache.c (cache_addserv): Likewise.
7294
751626f9
AJ
72952011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7296
7297 * sysdeps/generic/dl-irel.h: fix protection against multiple
7298 inclusions.
7299 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7300
9113ea1f
UD
73012011-06-28 Ulrich Drepper <drepper@gmail.com>
7302
5c0b8d90
UD
7303 [BZ #12935]
7304 * malloc/memusage.sh: Fix quoting in message.
7305 * debug/xtrace.sh: Likewise.
7306
9113ea1f
UD
7307 * configure.in: Remove support for --experimental-malloc option, make
7308 it the default.
7309 * config.make.in: Likewise.
7310 * malloc/Makefile: Likewise.
7311
a4172181
AS
73122011-06-27 Andreas Schwab <schwab@redhat.com>
7313
7314 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7315 two-byte characters.
7316
78a7eee7
RM
73172011-06-27 Roland McGrath <roland@hack.frob.com>
7318
62bede13
RM
7319 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7320 AC_CACHE_CHECK invocation.
7321 * configure: Regenerated.
7322
78a7eee7
RM
7323 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7324
5ce33a62
UD
73252011-06-27 Ulrich Drepper <drepper@gmail.com>
7326
034807a9
UD
7327 [BZ #12350]
7328 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7329 bit from old_res_options.
7330
4902da17
UD
7331 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7332
5ce33a62
UD
7333 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7334 value type for setfct.
7335
c2344f56
L
73362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7337
7338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7339 __gettimeofday instead of gettimeofday.
7340
68468076
UD
73412011-06-26 Ulrich Drepper <drepper@gmail.com>
7342
7343 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7344
acb0d739
L
73452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7346
7347 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7348
7349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7350 info.
7351
8912479f
L
73522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7353
7354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7355 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7356 strcpy-sse2-unaligned strncpy-sse2-unaligned
7357 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7358 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7359 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7360 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7361 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7362 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7364 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7365 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7366 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7367 (STRCPY): Support SSE2 and SSSE3 versions.
7368
d5495a11
UD
73692011-06-24 Ulrich Drepper <drepper@gmail.com>
7370
7371 [BZ #12874]
7372 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7373 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7374 kernels which artificially limit size of requests.
7375
0b1cbaae
L
73762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7377
7378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7379 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7380 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7381 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7382 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7383 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7384 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7385 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7386 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7388 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7389 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7390 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7391 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7392 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7394 Enable unaligned load optimization for Intel Core i3, i5 and i7
7395 processors.
7396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7397 Define.
7398 (index_Fast_Unaligned_Load): Define.
7399 (HAS_FAST_UNALIGNED_LOAD): Define.
7400
07f494a0
MP
74012011-06-23 Marek Polacek <mpolacek@redhat.com>
7402
7403 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7404
fa3fc0fe
UD
74052011-06-22 Ulrich Drepper <drepper@gmail.com>
7406
7407 [BZ #12907]
7408 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7409 until it is clear that the information is realy needed.
7410 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7411
e12df166
AS
74122011-06-22 Andreas Schwab <schwab@redhat.com>
7413
7414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7415
852eb34d
UD
74162011-06-22 Ulrich Drepper <drepper@gmail.com>
7417
84e2a551
UD
7418 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7419 /sys/devices/system/cpu/online if it is usable.
7420
852eb34d
UD
7421 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7422 reading the information from the /proc filesystem to once a second.
7423
6e502e19
UD
74242011-06-21 Andreas Jaeger <aj@suse.de>
7425
7426 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7427 NULL after inclusion of kernel headers.
7428
75d39ff2
UD
74292011-06-21 Ulrich Drepper <drepper@gmail.com>
7430
51f9aa6a
UD
7431 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7432 calls to internal_setent.
7433
c0244a9d
UD
7434 [BZ #12885]
7435 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7436 addresses using gethostbyname4_r ignore IPv4 addresses.
7437
c5e3c2ae
UD
7438 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7439 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7440
75d39ff2
UD
7441 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7442
42675c6f
DM
74432011-06-20 David S. Miller <davem@davemloft.net>
7444
7445 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7446 inclusions.
7447 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7448
7449 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7450 (elf_irel): Use it.
7451 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7452 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7453 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7454 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7455 * sysdeps/x86_64/dl-irel.h: Likewise.
7456
7457 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7458 * elf/dl-sym.c: Likewise.
7459
57912a71
UD
74602011-06-15 Ulrich Drepper <drepper@gmail.com>
7461
7462 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7463 need to dereference resplen2.
7464
ee22793d
AS
74652011-06-14 Andreas Schwab <schwab@redhat.com>
7466
7467 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7468
a9e836b0
UD
74692011-06-15 Ulrich Drepper <drepper@gmail.com>
7470
77fb9117
UD
7471 * Makeconfig: Define vardbdir and inst_vardbdir.
7472 * nss/Makefile: Add rules to install db-Makefile.
7473
40c1b22c
UD
7474 * nss/nss_db/db-XXX.c: Cleanup.
7475
9f2da732
UD
7476 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7477 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7478 GLIBC_PRIVATE.
7479 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7480 * nss/makedb.c: Implement -g option to specify that value strings
7481 are generated and should not be added to table iterated over for
7482 get*ent calls.
7483 * nss/nss_db/db-initgroups.c: New file.
7484
82e9a1f7
UD
7485 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7486 interface.
7487
c41af17e
UD
7488 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7489 (internal_getgrouplist): Adjust to name change.
7490 Update use_initgroups_entry if this is not the first call.
7491 * nss/databases.def: Add initgroups entry.
7492
a9e836b0
UD
7493 * nss/makedb.c (compute_tables): Check result of multiple hash table
7494 sizes to minimize maximum chain length.
7495
2666d441
UD
74962011-06-14 Ulrich Drepper <drepper@gmail.com>
7497
7498 * Versions.def: Add entry for libnss_db.
7499 * shlib-versions: Likewise.
7500 * nss/Makefile: Add rules to build libnss_db.
7501 * nss/Versions: Add libnss_db information. Organize libnss_files
7502 entries better.
7503 * nss/db-Makefile: Add gshadow support. Change rules for the new
7504 makedb progra. Some minor improvements to generate smaller files.
7505 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7506 here from...
7507 * nss/makedb.c: ...here.
7508 Improve database format to be smaller and require less memory at
7509 runtime.
7510 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7511 db anymore.
7512 * nss/nss_db/db-netgrp.c: Likewise.
7513 * nss/nss_db/db-open.c: Likewise.
7514 * nss/nss_files/flies-XXX.x: Adjust comments.
7515 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7516 * nss/nss_files/files-grp.c: Likewise.
7517 * nss/nss_files/files-hosts.c: Likewise.
7518 * nss/nss_files/files-network.c: Likewise.
7519 * nss/nss_files/files-proto.c: Likewise.
7520 * nss/nss_files/files-pwd.c: Likewise.
7521 * nss/nss_files/files-rpc.c: Likewise.
7522 * nss/nss_files/files-service.c: Likewise.
7523 * nss/nss_files/files-sgrp.c: Likewise.
7524 * nss/nss_files/files-spwd.c: Likewise.
7525 * nss/nss_db/db-alias.c: Removed.
7526 * nss/nss_db/dummy-db.h: Removed.
7527
9ee76b5a
UD
75282011-06-02 Ulrich Drepper <drepper@gmail.com>
7529
7530 * nss/makedb.c: Rewritten to not use database library.
7531 * nss/Makefile: Update to build new makedb program.
7532
c71ca1f8
AJ
75332011-06-14 Andreas Jaeger <aj@suse.de>
7534
7535 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7536 memset declaration.
7537
3154bfb8
UD
75382011-06-10 Andreas Schwab <schwab@redhat.com>
7539
7540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7541 tmpbuf.
7542
b350afab
RM
75432011-06-10 Roland McGrath <roland@hack.frob.com>
7544
decd4e50
RM
7545 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7546 * elf/Makefile ($(objpfx)ld.so): Likewise.
7547
5615eaf2
RM
7548 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7549 Don't list ld.so twice in dependencies.
7550
7551 * posix/bug-regex31.c: Include <stdlib.h>.
7552
7553 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7554
7555 * nis/nss_compat/compat-spwd.c
7556 (getspent_next_nss_netgr): Remove unused variable.
7557 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7558
7559 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7560 nonmembers" output to use the right array.
7561
7562 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7563
7564 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7565
7566 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7567 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7568 * catgets/gencat.c (read_input_file): Likewise.
7569 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7570
7571 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7572 variable definition inside #if's controlling its use.
7573
7574 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7575
7576 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7577
7578 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7579
7580 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7581 unreachable code.
7582
7583 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7584
b68e08db
RM
7585 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7586 * configure: Regenerated.
7587
b350afab
RM
7588 * Makerules: Revert last change.
7589 * elf/Makefile: Likewise.
7590
28368601
RM
75912011-06-09 Roland McGrath <roland@hack.frob.com>
7592
7593 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7594 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7595 (reloc-link): Likewise.
7596
11988f8f
UD
75972011-06-09 Ulrich Drepper <drepper@gmail.com>
7598
7599 * elf/Makefile: Add rules to build pldd.
7600 * elf/pldd.c: New file.
7601 * elf/pldd-xx.c: New file.
7602
e80fab37
UD
76032011-06-07 Ulrich Drepper <drepper@gmail.com>
7604
7605 * version.h: Update for 2.15 development version.
7606
9b849836
DM
76072011-06-07 David S. Miller <davem@davemloft.net>
7608
7609 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7610 ifuncs.
7611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7612 elf_machine_lazy_rel): Likewise.
7613 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7615 elf_machine_lazy_rel): Likewise.
7616 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7617 dl_hwcap via passed in argument.
7618 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7619 Likewise.
7620
5a31b283
AK
76212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7622
7623 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7624
069e52f8
RM
76252011-06-06 Roland McGrath <roland@hack.frob.com>
7626
7627 [BZ #12849]
7628 * manual/fdl-1.1.texi: New file, verbatim from:
7629 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7630 * manual/lgpl-2.1.texi: New file, verbatim from:
7631 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7632 * manual/Makefile (licenses): New variable, list those new file names.
7633 (texis): Use it.
7634 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7635
7636 * manual/fdl.texi: File removed.
7637 * manual/lesser.texi: File removed.
7638 * manual/libc.texinfo (Copying, Documentation License):
7639 Use new @include file names, put @appendix directive before @include.
7640
f16846a5
JJ
76412011-06-04 Jakub Jelinek <jakub@redhat.com>
7642
7643 [BZ #12841]
7644 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7645 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7646 (mq_open): Add __NTH.
7647
3d29045b
L
76482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7649
7650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7651 Assume Intel Core i3/i5/i7 processor if AVX is available.
7652
8c297311
UD
76532011-05-31 Ulrich Drepper <drepper@gmail.com>
7654
7655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7656 typo.
7657
c8fc0c91
UD
76582011-05-31 Andreas Schwab <schwab@redhat.com>
7659
7660 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7661 memory. Use alloca_account. Fix memory leak when retrying.
7662
5b27a807
UD
76632011-05-31 Ulrich Drepper <drepper@gmail.com>
7664
356f8bc6
UD
7665 * version.h (RELEASE): Bump for 2.14 release.
7666 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7667
5b27a807
UD
7668 * config.make.in (RANLIB): Remove entry.
7669
01f16ab0
UD
76702011-05-30 Ulrich Drepper <drepper@gmail.com>
7671
41fce8bd
UD
7672 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7673 (libc.pot): Work around missing support for .ksh extension in xgettext.
7674
4769ae77
UD
7675 [BZ #12684]
7676 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7677 if both request failed.
7678 (send_dg): In case of server errors clear resplen or *resplen2.
7679
6b1e7d19
UD
7680 [BZ #12454]
7681 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7682 when there are multiple maps.
7683 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7684 (_dl_fini): Remove test here.
7685
01f16ab0
UD
7686 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7687
b1ebd700
UD
76882011-05-29 Ulrich Drepper <drepper@gmail.com>
7689
7ae22829
UD
7690 [BZ #12350]
7691 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7692 bit from old_res_options.
7693 (gaih_inet): Likewise.
7694
553149f6 7695 [BZ #11099]
18a84741 7696 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7697 as signed.
7698
652ffab1
UD
7699 * resolv/res_init.c (res_setoptions): Make the code more compact.
7700
16985fd0
UD
7701 [BZ #11558]
7702 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7703 set RES_USEVC.
7704
0464f746
UD
7705 [BZ #11634]
7706 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7707
7d17596c
UD
7708 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7709
cf6bbbd7
UD
7710 [BZ #11781]
7711 * malloc/malloc.h: Declare malloc hook variables as volatile.
7712
13f1ab36
UD
7713 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7714 in last patch.
7715
b1ebd700
UD
7716 [BZ #11799]
7717 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7718 raise in the comment.
80e2212d
UD
7719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7721 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7722
ce67228d
UD
77232011-05-28 Ulrich Drepper <drepper@gmail.com>
7724
8887a920
UD
7725 [BZ #12811]
7726 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7727 grow the buffers more if it already has to be sufficient.
7728 (build_wcs_upper_buffer): Likewise.
7729 * posix/regexec.c (check_matching): Likewise.
7730 (clean_state_log_if_needed): Likewise.
7731 (extend_buffers): Don't enlarge buffers beyond size of the input
7732 buffer.
7733 Patches mostly by Emil Wojak <emil@wojak.eu>.
7734 * posix/bug-regex32.c: New file.
7735 * posix/Makefile (tests): Add bug-regex32.
7736
4f031072
UD
7737 * locale/findlocale.c (_nl_find_locale): Return right away if
7738 _nl_explode_name failed.
7739 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7740
d0478f0c
UD
7741 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7742
de81b246
UD
7743 * debug/xtrace.sh: Unify messages.
7744 * malloc/memusage.sh: Likewise.
7745
c738465a
UD
7746 [BZ #12813]
7747 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7748 time symbol from vDSO. Substitute with vsyscall if not available.
7749 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7750 __vdso_time.
7751
f1f929d7
UD
7752 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7753 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7754 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7755 Add sendmmsg and internal_sendmmsg.
7756 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7757 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7758 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7759
ce67228d
UD
7760 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7761 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7762 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7763
e57420c6
UD
77642011-05-27 Ulrich Drepper <drepper@gmail.com>
7765
a8509ca5
UD
7766 [BZ #12813]
7767 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7768 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7769 available.
7770 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7771 __vdso_getcpu.
7772
e57420c6
UD
7773 [BZ #12814]
7774 * iconvdata/Makefile (tests): Add bug-iconv9.
7775 * iconvdata/bug-iconv9.c: New file.
7776
4d07db15
AS
77772011-05-27 Andreas Schwab <schwab@redhat.com>
7778
7779 [BZ #12814]
7780 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7781
ea486f69
JJ
77822011-05-25 Jakub Jelinek <jakub@redhat.com>
7783
7784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7785 (struct user_regs_struct): Change intcs field back to cs.
7786
6f038433
UD
77872011-05-25 Ulrich Drepper <drepper@gmail.com>
7788
7789 * po/ja.po: Update from translation team.
7790
67f86a25
UD
77912011-05-23 Ulrich Drepper <drepper@gmail.com>
7792
7793 [BZ #12795]
7794 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7795 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7796
def7fbd6
AS
77972011-05-20 Andreas Schwab <schwab@redhat.com>
7798
7799 * stdlib/longlong.h: Update from GCC.
7800
f50ef8f1
AS
78012011-05-23 Andreas Schwab <schwab@redhat.com>
7802
7803 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7804 parameter name.
7805 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7806 Add parameter name.
7807 (__sysconf): Pass it down.
7808
de7ce8f1
UD
78092011-05-22 Ulrich Drepper <drepper@gmail.com>
7810
f2962a71
UD
7811 [BZ #12671]
7812 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7813 some situations.
7814 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7815 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7816 add in in __libc_use_alloca calls. Adjust callers.
7817 (glob): Use malloc in some situations.
7818
de7ce8f1
UD
7819 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7820 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7821 pltexit.
7822
aec84f53
UD
78232011-05-21 Ulrich Drepper <drepper@gmail.com>
7824
05bb4a68
UD
7825 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7826 and CLOCK_BOOTTIME_ALARM.
7827
7ea72f99
UD
7828 [BZ #12782]
7829 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7830 is returned.
7831
7e4afad5
UD
7832 * string/_strerror.c (__strerror_r): Print negative errors as signed
7833 numbers.
7834
8e211fec
UD
7835 [BZ #12777]
7836 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7837 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7838 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7839
f7d82dc9
UD
7840 * configure.in: Fix typo in redirection and correct removal of test
7841 files in two cases.
7842
cc9e536d
UD
7843 [BZ #12788]
7844 * locale/setlocale.c (new_composite_name): Fix test to check for
7845 identical name of all categories.
7846
aec84f53
UD
7847 [BZ #12792]
7848 * libio/filedoalloc.c (local_isatty): New function.
7849 (_IO_file_doallocate): Use local_isatty.
7850 * stdio-common/perror.c (perror): In case a new stream is used
7851 forward the stream error.
7852 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7853 error flag.
7854
78e64fdc
RT
78552011-05-20 Ulrich Drepper <drepper@gmail.com>
7856
34a9094f
UD
7857 [BZ #11869]
7858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7859 alloca.
7860 * include/alloca.h (extend_alloca_account): Define.
7861
78e64fdc
RT
7862 [BZ #11857]
7863 * posix/regex.h: Fix comments with documentation of user-accessible
7864 fields after compilation and describe correct free'ing of pattern
7865 after re_compile_pattern.
7866 Patch by Reuben Thomas <rrt@sc3d.org>.
7867
457bddfc
RA
78682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7869
7870 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7871 and -mno-altivec to prevent the compiler from using Altivec and/or
7872 VSX instructions when the corresponding registers are not available.
7873
a4527b51
AS
78742011-05-19 Andreas Schwab <schwab@redhat.com>
7875
7876 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7877
ed690b2f
UD
78782011-05-19 Ulrich Drepper <drepper@gmail.com>
7879
7880 * libio/freopen.c (freopen): Use __dup2, not dup2.
7881 * libio/freopen64.c (freopen64): Likewise.
7882
8db73634
L
78832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 [BZ #12775]
7886 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7887 * math/Makefile (tests): Add test-powl.
7888 (CFLAGS-test-powl.c): Define.
7889 * math/test-powl.c: New file.
7890
0a197a9d
L
78912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7892
7893 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7894
ee30c380
UD
78952011-05-17 Ulrich Drepper <drepper@gmail.com>
7896
7897 [BZ #11837]
7898 * iconvdata/gb18030.c: Update to GB18020-2005.
7899
6ce75379
UD
79002011-05-16 Ulrich Drepper <drepper@gmail.com>
7901
a4b89fd8
AR
7902 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7903 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7904 Patch by Aharon Robbins <arnold@skeeve.com>.
7905
ea389b12
UD
7906 [BZ #11892]
7907 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7908 on the stack.
7909
68a3f91f
UD
7910 [BZ #11895]
7911 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7912 through underflows.
7913
15cc7dd1
UD
7914 [BZ #12766]
7915 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7916 point to strings before performing equality test for error_one_per_line
7917 mode.
7918
f3799213
UD
7919 [BZ #11697]
7920 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7921
d79a9c94
UD
7922 [BZ #11820]
7923 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7924 (struct user_fpregs_struct): Avoid __uint*_t types.
7925
56e5eb46
UD
7926 [BZ #6420]
7927 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7928 symbol info. Use it instead of calling _dl_addr locally.
7929 (lock_and_info): New function.
7930 (tr_freehook): Call lock_and_info and pass symbol info as additional
7931 parameter to tr_where.
7932 (tr_mallochook): Likewise.
7933 (tr_reallochook): Likewise.
7934 (tr_memalignhook): Likewise.
7935
6ce75379
UD
7936 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7937 used and couldn't be at all thread-safe.
7938
f8a3b5bf
UD
79392011-05-15 Ulrich Drepper <drepper@gmail.com>
7940
94b7cc37
UD
7941 * libio/freopen.c (freopen): Don't close old file descriptor
7942 before the new one is opened. Instead dup the new file descriptor
7943 to the old one after the new stream is created.
7944 * libio/freopen64.c (freopen64): Likewise.
7945 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7946 * libio/fileops.c (_IO_new_file_close_it): Handle new
7947 _IO_FLAGS2_NOCLOSE flag.
7948 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7949 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7950 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7951 _IO_FLAGS2_NOCLOSE flag.
7952 * include/unistd.h: Add hidden_proto for dup3.
7953 Define __have_dup3.
7954 * io/dup3.c: Define hidden symbol.
7955 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7956
bd25564e
UD
7957 [BZ #7101]
7958 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7959 when an incomplete long option is used.
7960 * posix/tst-getopt_long1.c: New file.
7961 * posix/Makefile (tests): Add tst-getopt_long1.
7962
c84cfef4
UD
7963 [BZ #10138]
7964 * scripts/config.guess: Update from autoconf-2.68.
7965 * scripts/config.sub: Likewise.
7966
3b85df27
UD
7967 [BZ #10157]
7968 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7969 tests into ...
7970 (has_cpuclock): ...this. New function.
7971 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7972 macro here based on has_cpuclock code.
7973
15a856b1
UD
7974 [BZ #10149]
7975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7976 First byte (not low byte) is now always NUL.
7977 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7978
05f399e6
UD
7979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7980 Use non-cancelable interfaces.
7981
10a52685 7982 [BZ #9809]
94ecc67d
UD
7983 * locale/iso-639.def: Add entry for Sorani.
7984
f8a3b5bf
UD
7985 [BZ #11901]
7986 * include/stdlib.h: Move include protection to the right place.
7987 Define abort_msg_s. Declare __abort_msg with it.
7988 * stdlib/abort.c (__abort_msg): Adjust type.
7989 * assert/assert.c (__assert_fail_base): New function. Majority
7990 of code from __assert_fail. Allocate memory for __abort_msg with
7991 mmap.
7992 (__assert_fail): Now call __assert_fail_base.
7993 * assert/assert-perr.c: Remove bulk of implementation. Use
7994 __assert_fail_base.
7995 * include/assert.hL Declare __assert_fail_base.
7996 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7997 mmap.
7998 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7999
1af4e298
UD
80002011-05-14 Ulrich Drepper <drepper@gmail.com>
8001
f8a3b5bf 8002 [BZ #11952]
d26dfc60
MG
8003 [BZ #12453]
8004 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8005 until all modules are registered in the DTV.
8006 * elf/Makefile: Add rules to build and run tst-tls19.
8007 * elf/tst-tls19.c: New file.
8008 * elf/tst-tls19mod1.c: New file.
8009 * elf/tst-tls19mod2.c: New file.
8010 * elf/tst-tls19mod3.c: New file.
8011 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8012
2fc54d6f
UD
8013 [BZ #12083]
8014 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8015 correctly.
8016
98d76b46
UD
8017 [BZ #12601]
8018 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8019 two-byte sequence errors.
8020 * iconvdata/Makefile (tests): Add bug-iconv8.
8021 * iconvdata/bug-iconv8.c: New file.
8022
da3c19ef
UD
8023 [BZ #12626]
8024 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8025 buf2 definition.
8026
ca408c15
UD
8027 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8028
d6f67f7d
UD
8029 [BZ #12432]
8030 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8031 (dummy_getcfa): New function.
8032 (init): Get _Unwind_GetCFA address, use dummy if not found.
8033 (backtrace_helper): In recursion check, also check whether CFA changes.
8034 (__backtrace): Completely initialize arg.
8035
1af4e298 8036 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8037 storing incomplete byte sequence in state object. Avoid testing for
8038 guaranteed too small input if we know there is enough data available.
1af4e298 8039
da62f81b
AS
80402011-05-11 Andreas Schwab <schwab@redhat.com>
8041
8042 * Makeconfig (+link-pie): Indent.
8043 * Rules (binaries-pie): Define if $(have-fpie) and
8044 $(build-shared).
8045 (binaries-shared): Also filter out $(binaries-pie).
8046 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8047 * nscd/Makefile (others-pie): Add nscd.
8048 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8049 ($(objpfx)nscd): Remove command override.
8050 * login/Makefile (others-pie): Add pt_chown.
8051 ($(objpfx)pt_chown): Remove command override.
8052 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8053 remove command overrides.
8054
fcabc0f8
UD
80552011-05-13 Ulrich Drepper <drepper@gmail.com>
8056
20030ae6
UD
8057 * libio/tst_putwc.c: Fix error messages.
8058
fcabc0f8
UD
8059 [BZ #12724]
8060 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8061 currently writing and seek to current position when not.
8062 * libio/Makefile (tests): Add bug-fclose1.
8063 * libio/bug-fclose1.c: New file.
8064
320a5dc0
PB
80652011-05-12 Ulrich Drepper <drepper@gmail.com>
8066
8067 [BZ #12511]
8068 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8069 don't set DF_1_NODELETE here.
8070 (do_lookup_x): When entering new entry test for copy relocation
8071 and if necessary set DF_1_NODELETE flag.
8072 * elf/tst-unique4.cc: New file.
8073 * elf/tst-unique4.h: New file.
8074 * elf/tst-unique4lib.cc: New file.
8075 * elf/Makefile: Add rules to build and run tst-unique4.
8076 Patch by Piotr Bury <pbury@goahead.com>.
8077
22836f52
UD
80782011-05-11 Ulrich Drepper <drepper@gmail.com>
8079
f574184a
UD
8080 [BZ #12052]
8081 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8082
e1fb097f
UD
8083 [BZ #12625]
8084 * misc/mntent_r.c (addmntent): Flush the stream after the output
8085
22836f52
UD
8086 [BZ #12393]
8087 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8088 (is_trusted_path_normalize): Skip initial colon. Append slash
8089 to empty buffer. Duplicate is_trusted_path code but allow
8090 constructed patch to be prefix.
8091 (is_dst): Allow $ORIGIN followed by /.
8092 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8093 Correct testing of result of is_trusted_path_normalize
8094 (decompose_rpath): Fix warning.
8095
7b3b0b2a
UD
80962011-05-10 Ulrich Drepper <drepper@gmail.com>
8097
8098 [BZ #11257]
8099 * grp/initgroups.c (internal_getgrouplist): When we found the service
8100 list through the initgroups entry in nsswitch.conf do not always
8101 continue on a successful lookup. Don't always use the
eac80ce2 8102 __nss_group_database value if it is set.
7b3b0b2a
UD
8103 * nss/nsswitch.conf (initgroups): Change action for successful db
8104 lookup to continue for compatibility.
8105
2a81eaa5
UD
81062011-05-09 Ulrich Drepper <drepper@gmail.com>
8107
be97a69e
UD
8108 [BZ #11532]
8109 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8110 and CP774 modules.
8111 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8112 and CP774 modules.
8113 * iconvdata/tst-tables.sh: Likewise.
8114 * iconvdata/cp770.c: New file.
8115 * iconvdata/cp771.c: New file.
8116 * iconvdata/cp772.c: New file.
8117 * iconvdata/cp773.c: New file.
8118 * iconvdata/cp774.c: New file.
8119 * iconvdata/testdata/CP770: New file.
8120 * iconvdata/testdata/CP770..UTF8: New file.
8121 * iconvdata/testdata/CP771: New file.
8122 * iconvdata/testdata/CP771..UTF8: New file.
8123 * iconvdata/testdata/CP772: New file.
8124 * iconvdata/testdata/CP772..UTF8: New file.
8125 * iconvdata/testdata/CP773: New file.
8126 * iconvdata/testdata/CP773..UTF8: New file.
8127 * iconvdata/testdata/CP774: New file.
8128 * iconvdata/testdata/CP774..UTF8: New file.
8129
8130 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8131 END CHARMAP line.
8132 * iconvdata/gen-8bit-gap.sh: Likewise.
8133 * iconvdata/gen-8bit.sh: Likewise.
8134
c1e9e399
UD
8135 * locale/iso-639.def: Add ary entry.
8136
24c55fb3 8137 [BZ #11258]
96b4b1b0
UD
8138 * locale/C-translit.h.in: Add U20A1 transliteration.
8139
bdc2f971
KB
8140 [BZ #12178]
8141 * locale/iso-639.def: Add wae entry.
8142 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8143
2952b117
UD
8144 [BZ #12545]
8145 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8146 for n.
8147
2a81eaa5
UD
8148 [BZ #12711]
8149 * locale/C-translit.h.in: Add entry for U20B9.
8150 Patch by pravin.d.s@gmail.com.
8151
28377d1b
UD
81522011-05-08 Ulrich Drepper <drepper@gmail.com>
8153
7fb90fb8
UD
8154 [BZ #12713]
8155 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8156 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8157 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8158 in rtld. Use *stat64.
7fb90fb8 8159 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8160 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8161 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8162 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8163 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8164 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8165 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8166 __fstatat64 macros.
7fb90fb8
UD
8167 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8168 * dirent/rewinddir.c: Add libc_hidden_def.
8169 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8170 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8171
28377d1b
UD
8172 * include/dirent.h (__alloc_dir): Add flags parameter.
8173 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8174 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8175 __alloc_dir.
8176 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8177 from fdopendir if O_CLOEXEC is already set.
8178
66bdbaa4
AM
81792011-03-15 Alan Modra <amodra@gmail.com>
8180
8181 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8182 l_tls_firstbyte_offset non-zero. Save padding offset in
8183 l_tls_firstbyte_offset for later use.
8184 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8185 freeing static tls block.
8186
95721191
JN
81872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8188
8189 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8190 where #ifdef was intended. The intent is to prevent ARG_MAX from
8191 being defined by the kernel headers.
8192
f87dfb1f
UD
81932011-05-07 Ulrich Drepper <drepper@gmail.com>
8194
8195 [BZ #12734]
8196 * resolv/resolv.h: Define RES_NOTLDQUERY.
8197 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8198 no-tld-query and set RES_NOTLDQUERY.
8199 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8200 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8201 modern BIND to search name as TLD unless forbidden.
8202
47c3cd7a
UD
82032011-05-07 Petr Baudis <pasky@suse.cz>
8204 Ulrich Drepper <drepper@gmail.com>
8205
8206 [BZ #12393]
8207 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8208 (is_trusted_path): ...to here.
c1e9ea35 8209 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8210 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8211 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8212
8a35c912
PP
82132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8214
8215 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8216 __BEGIN/__END_DECLS.
8217
acd41f47
UD
82182011-05-06 Ulrich Drepper <drepper@gmail.com>
8219
8220 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8221 NSS_STATUS_NOTFOUND if no record was found.
8222
597df647
AS
82232011-05-05 Andreas Schwab <schwab@redhat.com>
8224
8225 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8226 (headers-not-in-tirpc): Remove rpc/netdb.h
8227 * resolv/netdb.h: Revert last change.
8228
b9af1301
PP
82292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8230
8231 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8232 circular dependency between libgcc.a and libc.a.
8233
4e34d5f5
AS
82342011-05-05 Andreas Schwab <schwab@redhat.com>
8235
8236 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8237 * nis/Makefile: Don't install rpcsvc/*.
8238 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8239 instead of <rpc/types.h>.
8240 (MAXHOSTNAMELEN): Define.
8241
00ee369c
AS
82422011-05-03 Andreas Schwab <schwab@redhat.com>
8243
8244 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8245
0b592a30
MB
82462011-04-28 Maciej Babinski <mbabinski@google.com>
8247
8248 [BZ #12714]
8249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8250 gethostbyname4_r when IPv6 results are possible.
8251
6e04cbbe
UD
82522011-05-02 Ulrich Drepper <drepper@gmail.com>
8253
8254 [BZ #12723]
8255 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8256 _PC_PIPE_BUF handling.
8257
e4ecafe0
BH
82582011-04-30 Bruno Haible <bruno@clisp.org>
8259
8260 [BZ #12717]
8261 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8262 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8263 to 'int'.
8264 * inet/getnameinfo.c (getnameinfo): Likewise.
8265
125ee683
UD
82662011-04-29 Ulrich Drepper <drepper@gmail.com>
8267
8268 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8269 to groups setting in database lookup.
8270 * nss/nsswitch.conf: Add initgroups entry.
8271
b722481a
EB
82722011-04-22 Ulrich Drepper <drepper@gmail.com>
8273
8274 [BZ #12685]
8275 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8276 mode string.
8277 Patch by Eric Blake <eblake@redhat.com>.
8278
4df46dbd
L
82792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 * sunrpc/Makefile (need-export-routines): Add svc_run.
8282 (routines): Remove svc_run.
8283 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8284 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8285 * sunrpc/svc_run.c (svc_run): Likewise.
8286 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8287
e84142d2
UD
82882011-04-21 Ulrich Drepper <drepper@gmail.com>
8289
8290 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8291 problem in reallocation in last patch.
8292
877175d8
UD
82932011-04-20 Ulrich Drepper <drepper@gmail.com>
8294
8295 * sunrpc/Makefile: Move inclusion of Rules.
8296
ab8eed78
UD
82972011-04-19 Ulrich Drepper <drepper@gmail.com>
8298
8299 * nss/nss_files/files-initgroups.c: New file.
8300 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8301 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8302 _nss_files_initgroups_dyn.
8303
e3d8f584
RS
83042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8305
8306 * elf/elf.h (R_ARM_IRELATIVE): Define.
8307
af190f45
UD
83082011-04-19 Ulrich Drepper <drepper@gmail.com>
8309
8310 * po/ru.po: Update from translation team.
8311
53cf59ef
UD
83122011-04-17 Ulrich Drepper <drepper@gmail.com>
8313
8314 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8315 dependencies.
8316
4c559bcd
MF
83172011-02-06 Mike Frysinger <vapier@gentoo.org>
8318
8319 [BZ #12653]
8320 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8321 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8324 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8325
4420675c
AS
83262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8327
8328 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8329 differing bytes.
8330 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8332 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8333
75ea32ab
UD
83342011-04-17 Ulrich Drepper <drepper@gmail.com>
8335
8336 [BZ #12420]
8337 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8338 storing it.
8339 * stdlib/bug-getcontext.c: New file.
8340 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8341
27390476
AK
83422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8343
8344 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8345 instructions into .machine "z9-109".
8346 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8347 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8348
10442705
AK
83492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8350
8351 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8352 between environment variables and auxiliary vector.
8353
7b57bfe5
UD
83542011-04-16 Ulrich Drepper <drepper@gmail.com>
8355
8356 * Makefile: Add rules to build linkobj/libc.so.
8357 * include/libc-symbols.h: Define libc_hidden_nolink.
8358 * include/rpc/auth.h: Mark functions which are to be hidden.
8359 * include/rpc/auth_des.h: Likewise.
8360 * include/rpc/auth_unix.h: Likewise.
8361 * include/rpc/clnt.h: Likewise.
8362 * include/rpc/des_crypt.h: Likewise.
8363 * include/rpc/key_prot.h: Likewise.
8364 * include/rpc/pmap_clnt.h: Likewise.
8365 * include/rpc/pmap_prot.h: Likewise.
8366 * include/rpc/pmap_rmt.h: Likewise.
8367 * include/rpc/rpc_msg.h: Likewise.
8368 * include/rpc/svc.h: Likewise.
8369 * include/rpc/svc_auth.h: Likewise.
8370 * include/rpc/xdr.h: Likewise.
8371 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8372 * nss/Makefile: Likewise.
8373 * sunrpc/Makefile: Don't install headers. Build library with normal
8374 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8375 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8376 for the compat linking library. Remove use of INTDEF/INTUSE.
8377 * sunrpc/auth_none.c: Likewise.
8378 * sunrpc/auth_unix.c: Likewise.
8379 * sunrpc/authdes_prot.c: Likewise.
8380 * sunrpc/authuxprot.c: Likewise.
8381 * sunrpc/clnt_gen.c: Likewise.
8382 * sunrpc/clnt_perr.c: Likewise.
8383 * sunrpc/clnt_raw.c: Likewise.
8384 * sunrpc/clnt_simp.c: Likewise.
8385 * sunrpc/clnt_tcp.c: Likewise.
8386 * sunrpc/clnt_udp.c: Likewise.
8387 * sunrpc/clnt_unix.c: Likewise.
8388 * sunrpc/des_crypt.c: Likewise.
8389 * sunrpc/des_soft.c: Likewise.
8390 * sunrpc/get_myaddr.c: Likewise.
8391 * sunrpc/key_call.c: Likewise.
8392 * sunrpc/key_prot.c: Likewise.
8393 * sunrpc/netname.c: Likewise.
8394 * sunrpc/pm_getmaps.c: Likewise.
8395 * sunrpc/pm_getport.c: Likewise.
8396 * sunrpc/pmap_clnt.c: Likewise.
8397 * sunrpc/pmap_prot.c: Likewise.
8398 * sunrpc/pmap_prot2.c: Likewise.
8399 * sunrpc/pmap_rmt.c: Likewise.
8400 * sunrpc/publickey.c: Likewise.
8401 * sunrpc/rpc_cmsg.c: Likewise.
8402 * sunrpc/rpc_common.c: Likewise.
8403 * sunrpc/rpc_dtable.c: Likewise.
8404 * sunrpc/rpc_prot.c: Likewise.
8405 * sunrpc/rpc_thread.c: Likewise.
8406 * sunrpc/rtime.c: Likewise.
8407 * sunrpc/svc.c: Likewise.
8408 * sunrpc/svc_auth.c: Likewise.
8409 * sunrpc/svc_authux.c: Likewise.
8410 * sunrpc/svc_raw.c: Likewise.
8411 * sunrpc/svc_run.c: Likewise.
8412 * sunrpc/svc_simple.c: Likewise.
8413 * sunrpc/svc_tcp.c: Likewise.
8414 * sunrpc/svc_udp.c: Likewise.
8415 * sunrpc/svc_unix.c: Likewise.
8416 * sunrpc/svcauth_des.c: Likewise.
8417 * sunrpc/xcrypt.c: Likewise.
8418 * sunrpc/xdr.c: Likewise.
8419 * sunrpc/xdr_array.c: Likewise.
8420 * sunrpc/xdr_float.c: Likewise.
8421 * sunrpc/xdr_intXX_t.c: Likewise.
8422 * sunrpc/xdr_mem.c: Likewise.
8423 * sunrpc/xdr_rec.c: Likewise.
8424 * sunrpc/xdr_ref.c: Likewise.
8425 * sunrpc/xdr_sizeof.c: Likewise.
8426 * sunrpc/xdr_stdio.c: Likewise.
8427
e6c61494
UD
84282011-04-10 Ulrich Drepper <drepper@gmail.com>
8429
8430 [BZ #12650]
8431 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8432 * sysdeps/ia64/dl-tls.h: Likewise.
8433 * sysdeps/powerpc/dl-tls.h: Likewise.
8434 * sysdeps/s390/dl-tls.h: Likewise.
8435 * sysdeps/sh/dl-tls.h: Likewise.
8436 * sysdeps/sparc/dl-tls.h: Likewise.
8437 * sysdeps/x86_64/dl-tls.h: Likewise.
8438 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8439
34fe483e
AS
84402011-03-14 Andreas Schwab <schwab@redhat.com>
8441
8442 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8443 rpath element also skip the following colon.
8444 (expand_dynamic_string_token): Add is_path parameter and pass
8445 down to DL_DST_REQUIRED and _dl_dst_substitute.
8446 (decompose_rpath): Call expand_dynamic_string_token with
8447 non-zero is_path. Ignore empty rpaths.
8448 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8449 with zero is_path.
8450
f12a32e6
AS
84512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8452
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8454 Make cancelable.
8455
38a7d692
UD
84562011-04-09 Ulrich Drepper <drepper@gmail.com>
8457
8458 [BZ #12655]
8459 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8460 Patch by Filipe David Manana <fdmanana@apache.org>.
8461
e451d22b
AS
84622011-04-07 Andreas Schwab <schwab@redhat.com>
8463
8464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8465 Maintain aligned stack.
8466 (CHECK_RSP): Remove unused macro.
8467
dedc7c7b
UD
84682011-04-03 Ulrich Drepper <drepper@gmail.com>
8469
8470 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8471 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8472
94521213
UD
84732011-04-02 Ulrich Drepper <drepper@gmail.com>
8474
8475 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8476
8cb700c0 8477 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8478
0354e355
L
84792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8480
8481 [BZ #12518]
8482 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8483 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8484 * sysdeps/x86_64/memmove.c: New file.
8485 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8486 (memcpy): Renamed to ...
8487 (__new_memcpy): This.
8488 (memcpy): Provide GLIBC_2_14 memcpy.
8489 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8490 (memcpy): Provide GLIBC_2_2_5 memcpy.
8491
8593482f
UD
84922011-04-01 Ulrich Drepper <drepper@gmail.com>
8493
8494 [BZ #12631]
8495 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8496
81a5726b
AS
84972011-03-30 Andreas Schwab <schwab@redhat.com>
8498
8499 * misc/syncfs.c: New file.
8500 * misc/Makefile (routines): Add syncfs.
8501 * posix/unistd.h: Declare syncfs.
8502 * sysdeps/unix/syscalls.list: Add syncfs.
8503
00e5419f
AS
85042011-04-01 Andreas Schwab <schwab@redhat.com>
8505
8506 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8507 open_by_handle_at.
8508 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8509 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8510 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8511 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8513 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8515
748876bf
UD
85162011-04-01 Ulrich Drepper <drepper@gmail.com>
8517
658e451d
UD
8518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8519 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8520 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8522 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8525
748876bf
UD
8526 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8527 sync_file_range.c with -fexceptions.
8528 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8529 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8530 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8531 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8532 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8533 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8534 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8535 sync_file_range as cancellation point
8536 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8537 now a wrapper around __call_sync_file_range with cancellation handling.
8538 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8539 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8540 function name to __call_sync_file_range.
8541 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8542 Add call_sync_file_range.
748876bf 8543
6e63d5e1
AS
85442011-04-01 Andreas Schwab <schwab@redhat.com>
8545
8546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8547 bits/timex.h.
6e63d5e1 8548
46998f74
UD
85492011-04-01 Ulrich Drepper <drepper@gmail.com>
8550
4c1423ed
UD
8551 * iconv/iconv.h: Fix typo in comment.
8552 * io/fcntl.h: Likewise.
8553 * libio/stdio.h: Likewise.
8554 * posix/spawn.h: Likewise.
8555 * posix/unistd.h: Likewise.
8556 * stdlib/stdlib.h: Likewise.
8557 * time/time.h: Likewise.
8558 * wcsmbs/wchar.h: Likewise.
8559
158648c0
UD
8560 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8561 open_by_handle): Add.
8562 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8563 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8564 Augment a few comments.
8565 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8567 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8568 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8570 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8571 open_by_handle.
8572
46998f74
UD
8573 * io/fcntl.h (AT_EMPTY_PATH): Define.
8574
83fe108b
UD
85752011-03-30 Ulrich Drepper <drepper@gmail.com>
8576
8577 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8578 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8579 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8580 to...
8581 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8582 * Versions.def: Add GLIBC_2.14.
8583 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8584 Export.
83fe108b 8585
bb242059
UD
85862011-03-22 Ulrich Drepper <drepper@gmail.com>
8587
8588 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8589 round counter.
8590 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8591
c97a1282
L
85922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8593
8594 [BZ #12597]
8595 * string/test-strncmp.c (do_page_test): New function.
8596 (check2): Likewise.
8597 (test_main): Call check2.
8598 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8599
2a115601
UD
86002011-03-20 Ulrich Drepper <drepper@gmail.com>
8601
8602 [BZ #12587]
8603 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8604 Handle cache information in CPU leaf 4.
8605 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8606
8126d904
UD
86072011-03-18 Ulrich Drepper <drepper@gmail.com>
8608
042c49c6 8609 [BZ #12583]
8126d904
UD
8610 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8611 character representation.
8612 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8613
ccfe366e
RA
86142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8615
8616 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8617 END(__isnan) to END(__isnanf) to match function entry point/label
8618 EALIGN(__isnanf,...).
8619
c6e13027
JJ
86202011-03-10 Jakub Jelinek <jakub@redhat.com>
8621
8622 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8623
33f85a3f
UD
86242011-03-10 Ulrich Drepper <drepper@gmail.com>
8625
028478fa
UD
8626 [BZ #12510]
8627 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8628 copy from the symbol referenced in the relocation to initialize the
8629 used variable.
8630 Patch by Piotr Bury <pbury@goahead.com>.
8631 * elf/Makefile: Add rules to build and tst-unique3.
8632 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8633 * elf/tst-unique3.cc: New file.
8634 * elf/tst-unique3.h: New file.
8635 * elf/tst-unique3lib.cc: New file.
8636 * elf/tst-unique3lib2.cc: New file.
8637
33f85a3f
UD
8638 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8639
03592fc7
MF
86402011-03-10 Mike Frysinger <vapier@gentoo.org>
8641
8642 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8643 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8644 to _start.
03592fc7 8645
6a5ee102
UD
86462011-03-06 Ulrich Drepper <drepper@gmail.com>
8647
8648 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8649 to-be-loaded object along a path to loader is ld.so.
8650
7e4ba49c
HJ
86512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8652 Ulrich Drepper <drepper@gmail.com>
8653
8654 * sysdeps/x86_64/memset.S: After aligning destination, code
8655 branches to different locations depending on the value of
8656 misalignment, when multiarch is enabled. Fix this.
8657
86582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8659
8660 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8661 Set _x86_64_preferred_memory_instruction for AMD processsors.
8662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8663 Set bit_Prefer_SSE_for_memop for AMD processors.
8664
13a804de
UD
86652011-03-04 Ulrich Drepper <drepper@gmail.com>
8666
8667 * libio/fmemopen.c (fmemopen): Optimize a bit.
8668
9d25c392
AS
86692011-03-03 Andreas Schwab <schwab@redhat.com>
8670
8671 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8672
a5543c6a
RM
86732011-03-03 Roland McGrath <roland@redhat.com>
8674
8675 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8676
012d35f7
DM
86772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8678
7e4ba49c 8679 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8680 __bzero_ultra1 instead of __memset_ultra1.
8681
4bff6e01
AS
86822011-02-23 Andreas Schwab <schwab@redhat.com>
8683 Ulrich Drepper <drepper@gmail.com>
8684
8685 [BZ #12509]
8686 * include/link.h (struct link_map): Add l_orig_initfini.
8687 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8688 returning unsuccessfully.
8689 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8690 close of a file loaded at startup, restore the original l_initfini
8691 list.
8692 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8693 list, store the pointer.
8694 * elf/Makefile ($(objpfx)noload-mem): New rule.
8695 (noload-ENV): Define.
8696 (tests): Add $(objpfx)noload-mem.
8697 * elf/noload.c: Include <memcheck.h>.
8698 (main): Call mtrace. Close all opened handles.
8699
f2092faf
AS
87002011-02-17 Andreas Schwab <schwab@redhat.com>
8701
8702 [BZ #12454]
8703 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8704 dependencies are missing.
8705
6c8a2e88
ST
87062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8707
f2092faf 8708 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8709 Hurd needs munmap.
8710 * sysdeps/mach/hurd/ifreq.h: New file.
8711
84a42118
PB
87122011-01-27 Petr Baudis <pasky@suse.cz>
8713 Ulrich Drepper <drepper@gmail.com>
8714
071f805e 8715 [BZ 12445]#
84a42118
PB
8716 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8717 to extend_alloca().
8718 * stdio-common/bug23.c: New file.
8719 * stdio-common/Makefile (tests): Add bug23.
8720
e23fe25b
AS
87212010-09-28 Andreas Schwab <schwab@redhat.com>
8722 Ulrich Drepper <drepper@gmail.com>
8723
8724 [BZ #12489]
8725 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8726 before performing relro protection. At old place add assertion
8727 to make sure nothing changed.
8728
d3f02e10
NS
87292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8730 Glauber de Oliveira Costa <glommer@gmail.com>
8731
8732 * elf/elf.h: Add new ARM TLS relocs.
8733
d55fd7a5
RA
87342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8735
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8737 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8738 cast from r3.
8739 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8740 'tests' variable.
8741 * sysdeps/wordsize-64/tst-writev.c: New file.
8742
2206397e
RA
87432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8744
8745 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8746 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8747 insns in _dl_start to prevent a TOC reference before relocs are
8748 resolved.
8749
e9433893
UD
87502011-02-15 Ulrich Drepper <drepper@gmail.com>
8751
8752 [BZ #12469]
8753 * Makeconfig: Remove RANLIB definition.
8754 * Makerules: Don't use RANLIB.
8755 * aclocal.m4: Remove ranlib test.
8756 * configure.in: No need to check for ranlib.
8757 * elf/rtld-Rules: Don't use RANLIB.
8758
f75286c6
ST
87592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8760
8e31c82d
ST
8761 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8762 protection macro.
8763 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8764 inclusion protection macro.
8765
f75286c6
ST
8766 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8767 SIGRTMIN and SIGRTMAX and print information in that case only when
8768 SIGRTMIN is defined.
8769
c1d0e639
JJ
87702011-02-11 Jakub Jelinek <jakub@redhat.com>
8771
8772 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8773 arginfo fn returning -1.
8774
8775 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8776 and thousands string is zero terminated.
8777
edf9294e
AS
87782011-02-03 Andreas Schwab <schwab@redhat.com>
8779
8780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8781 sysdeps/unix/sysv/linux/bits/socket.h.
8782
2b7e92df
ST
87832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8784
edf9294e
AS
8785 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8786 (__CPU_COUNT): Remove old macros.
8787 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8788 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8789 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8790 (__sched_cpualloc, __sched_cpufree): Add declarations.
8791
a4c7ea7b
UD
87922011-02-05 Ulrich Drepper <drepper@gmail.com>
8793
8794 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8795 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8796 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8797 (readdhstai): Return value of addhstaiX call.
8798 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8799 (addgrbyX): Return value returned by cache_addgr.
8800 (readdgrbyname): Return value returned by addgrbyX.
8801 (readdgrbygid): Likewise.
8802 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8803 (addpwbyX): Return value returned by cache_addpw.
8804 (readdpwbyname): Return value returned by addhstbyX.
8805 (readdpwbyuid): Likewise.
8806 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8807 (addservbyX): Return value returned by cache_addserv.
8808 (readdservbyname): Return value returned by addservbyX:
8809 (readdservbyport): Likewise.
8810 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8811 (addhstbyX): Return value returned by cache_addhst.
8812 (readdhstbyname): Return value returned by addhstbyX.
8813 (readdhstbyaddr): Likewise.
8814 (readdhstbynamev6): Likewise.
8815 (readdhstbyaddrv6): Likewise.
8816 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8817 (readdinitgroups): Return value returned by addinitgroupsX.
8818 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8819 (prune_cache): Keep track of timeout value of re-added entries.
8820 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8821 * nscd/nscd.h: Adjust prototypes of readd* functions.
8822
a0bf67cc
RM
88232011-02-04 Roland McGrath <roland@redhat.com>
8824
8825 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8826 (nis_stats): Likewise.
8827 * nis/nis_modify.c (nis_modify): Likewise.
8828 * nis/nis_remove.c (nis_remove): Likewise.
8829 * nis/nis_add.c (nis_add): Likewise.
8830
8831 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8832
8833 * posix/fnmatch_loop.c: Add some consts.
8834
8835 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8836
435b95eb
L
88372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8838
8839 [BZ #12460]
8840 * config.make.in (config-cflags-novzeroupper): Define.
8841 * configure.in: Substitute libc_cv_cc_novzeroupper.
8842 * elf/Makefile (AVX-CFLAGS): Define.
8843 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8844 (CFLAGS-tst-auditmod4a.c): Likewise.
8845 (CFLAGS-tst-auditmod4b.c): Likewise.
8846 (CFLAGS-tst-auditmod6b.c): Likewise.
8847 (CFLAGS-tst-auditmod6c.c): Likewise.
8848 (CFLAGS-tst-auditmod7b.c): Likewise.
8849 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8850
8517b15e
UD
88512011-02-02 Ulrich Drepper <drepper@gmail.com>
8852
8853 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8854 function to the callback.
8855 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8856
10a656fe
AS
88572011-02-02 Andreas Schwab <schwab@redhat.com>
8858
8859 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8860 of errno.
8861
968dad0a
UD
88622011-01-19 Ulrich Drepper <drepper@gmail.com>
8863
9f94d2ea 8864 [BZ #11724]
968dad0a
UD
8865 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8866 of constructors.
8867 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8868 of destructors.
8869 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8870
8871 [BZ #11724]
8872 * elf/Makefile: Add rules to build and run new test.
8873 * elf/tst-initorder.c: New file.
8874 * elf/tst-initorder.exp: New file.
8875 * elf/tst-initordera1.c: New file.
8876 * elf/tst-initordera2.c: New file.
8877 * elf/tst-initordera3.c: New file.
8878 * elf/tst-initordera4.c: New file.
8879 * elf/tst-initorderb1.c: New file.
8880 * elf/tst-initorderb2.c: New file.
8881 * elf/tst-order-a1.c: New file.
8882 * elf/tst-order-a2.c: New file.
8883 * elf/tst-order-a3.c: New file.
8884 * elf/tst-order-a4.c: New file.
8885 * elf/tst-order-b1.c: New file.
8886 * elf/tst-order-b2.c: New file.
8887 * elf/tst-order-main.c: New file.
8888 New test case by George Gensure <werkt0@gmail.com>.
8889
86e92359
UD
88902010-10-01 Andreas Schwab <schwab@redhat.com>
8891
8892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8893 decoding ACE if AI_CANONIDN.
8894
5d5732b0
UD
88952011-01-18 Ulrich Drepper <drepper@gmail.com>
8896
8897 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8898
a77e8cbc
UD
88992011-01-17 Ulrich Drepper <drepper@gmail.com>
8900
6392473f
UD
8901 * version.h (RELEASE): Bump for 2.13 release.
8902 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8903
620a0529
UD
8904 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8905
18ba70a5
UD
8906 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8907 MADV_NOHUGEPAGE.
32465c3e
UD
8908 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8909 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8910 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8911 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8913 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8914
c0dafcf1
UD
8915 * posix/getconf.c: Update copyright year.
8916 * catgets/gencat.c: Likewise.
8917 * csu/version.c: Likewise.
8918 * debug/catchsegv.sh: Likewise.
8919 * debug/xtrace.sh: Likewise.
8920 * elf/ldconfig.c: Likewise.
8921 * elf/ldd.bash.in: Likewise.
8922 * elf/sprof.c (print_version): Likewise.
8923 * iconv/iconv_prog.c: Likewise.
8924 * iconv/iconvconfig.c: Likewise.
8925 * locale/programs/locale.c: Likewise.
8926 * locale/programs/localedef.c: Likewise.
8927 * malloc/memusage.sh: Likewise.
8928 * malloc/mtrace.pl: Likewise.
8929 * nscd/nscd.c (print_version): Likewise.
8930 * nss/getent.c: Likewise.
8931
a77e8cbc
UD
8932 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8933 PF_CAIF, and PF_ALG.
8934 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8935
77e8bddf
AS
89362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8937
1f20b93a
AS
8938 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8939 (modules-names): Use them.
8940 (ifunc-test-modules, ifunc-pie-tests): Define.
8941 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8942 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8943 (test-extras): Likewise.
8944 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8945 $(compile-command.c).
8946 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8947 (all-built-dso): Define.
8948 (check-textrel.out, check-execstack.out): Depend on it.
8949
77e8bddf
AS
8950 * configure.in: Don't override --enable-multi-arch.
8951
bc425b33
UD
89522011-01-15 Ulrich Drepper <drepper@gmail.com>
8953
8954 [BZ #6812]
8955 * nscd/hstcache.c (tryagain): Define.
8956 (cache_addhst): Return tryagain not notfound for temporary errors.
8957 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8958 failed.
8959
794c3ad3
UD
89602011-01-14 Ulrich Drepper <drepper@gmail.com>
8961
70181fdd
UD
8962 [BZ #10563]
8963 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8964 to make the syscall.
8965 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8966
794c3ad3
UD
8967 [BZ #12378]
8968 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8969 and fall back to matching as normal character if the string ends before
8970 the matching ']' is found. This is what POSIX requires.
8971 * posix/testfnm.c: Adjust test result.
8972 * posix/globtest.sh: Adjust test result. Add new test.
8973 * posix/tst-fnmatch.input: Likewise.
8974 * posix/tst-fnmatch2.c: Add new test.
8975
68dc9497
AS
89762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8977
8978 * elf/Makefile (check-execstack): Revert last change. Depend on
8979 check-execstack.h.
8980 (check-execstack.h): New target.
8981 (generated): Add check-execstack.h.
8982 * elf/check-execstack.c: Include "check-execstack.h".
8983 (main): Revert last change.
8984 (handle_file): Return zero if GNU_STACK is absent and
8985 DEFAULT_STACK_PERMS doesn't include PF_X.
8986
451f001b
UD
89872011-01-13 Ulrich Drepper <drepper@gmail.com>
8988
cfa28e56
UD
8989 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8990 in child fails because the descriptor is already closed.
8cf8ce17
UD
8991 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8992 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8993 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8994
1086d70d
UD
8995 [BZ #12397]
8996 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8997 syscall.
8998
451f001b
UD
8999 [BZ #10484]
9000 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9001 temporary buffer used to handle multi lookups locally.
a85b5cb4 9002 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9003
08769175
UD
90042011-01-12 Ulrich Drepper <drepper@gmail.com>
9005
9006 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9007 loader is ld.so.
9008
5e49c52e
UD
90092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9010
9011 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9012 alignment for SSE2.
9013
60522a5f
UD
90142011-01-12 Ulrich Drepper <drepper@gmail.com>
9015
9016 [BZ #12394]
9017 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9018 characters. When rounding increased number of integer digits recompute
9019 number of groups.
9020 * stdio-common/tst-grouping.c: New file.
9021 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9022
f257bbd7
UD
90232011-01-09 Ulrich Drepper <drepper@gmail.com>
9024
9025 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9026 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9027
9028 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9029 void.
9030 * bits/select.h: Likewise.
9031
fa9c15cb
UD
90322011-01-08 Ulrich Drepper <drepper@gmail.com>
9033
9034 * po/ja.po: Update from translation team.
9035
16c2895f
DM
90362011-01-04 David S. Miller <davem@sunset.davemloft.net>
9037
9038 [BZ #11155]
9039 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9040 implementation just like for lxstat, fxstatat, et al.
9041
2543fef2
JM
90422010-12-27 Jim Meyering <meyering@redhat.com>
9043
9044 [BZ #12348]
9045 * posix/regexec.c (build_trtable): Return failure indication upon
9046 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9047
98727dbe
UD
90482010-12-25 Ulrich Drepper <drepper@gmail.com>
9049
5bd6dc5c
UD
9050 [BZ #12201]
9051 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9052 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9053 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9054 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9055
97983464
UD
9056 [BZ #12207]
9057 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9058
98727dbe
UD
9059 [BZ #12204]
9060 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9061 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9062
4a531bb0
L
90632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9066 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9067 script has SORT_BY_INIT_PRIORITY.
9068 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9069 NO_CTORS_DTORS_SECTIONS is defined.
9070 * elf/soinit.c: Likewise.
9071 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9072 NO_CTORS_DTORS_SECTIONS is defined.
9073 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9074 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9075 * sysdeps/sh/init-first.c: Likewise.
9076 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9077
07eb4b71
UD
90782010-12-24 Ulrich Drepper <drepper@gmail.com>
9079
9080 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9081 always use the slow path.
9082
30950a5f
RA
90832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9084
9085 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9086 similar rule which adds the sysdep directories to the header search in
9087 order to pick up the correct platform stackinfo.h.
9088 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9089 perform test if it is, otherwise return successfully without testing.
9090 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9091 DEFAULT_STACK_PERMS define in stackinfo.h.
9092 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9093 defined in stackinfo.h.
9094 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9095 DEFAULT_STACK_PERMS defined in stackinfo.h.
9096 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9097 * sysdeps/ia64/stackinfo.h: Likewise.
9098 * sysdeps/s390/stackinfo.h: Likewise.
9099 * sysdeps/sh/stackinfo.h: Likewise.
9100 * sysdeps/sparc/stackinfo.h: Likewise.
9101 * sysdeps/x86_64/stackinfo.h: Likewise.
9102 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9103 PF_X for powerpc64. Retain PF_X for powerpc32.
9104
db753e2c
UD
91052010-12-19 Ulrich Drepper <drepper@gmail.com>
9106
14b697f7
UD
9107 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9108 accurately.
db753e2c
UD
9109 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9110 GETDENTS_64BIT_ALIGNED.
9111
28300719
UD
91122010-12-14 Ulrich Drepper <dreper@gmail.com>
9113
14b697f7 9114 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9115
4f197237
AS
91162010-12-10 Andreas Schwab <schwab@redhat.com>
9117
dbb0472f
AS
9118 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9119 _GNU_SOURCE.
9120
4f197237
AS
9121 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9122 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9123 Remove __restrict.
9124 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9125 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9126
fb88ac72
UD
91272010-12-09 Ulrich Drepper <drepper@gmail.com>
9128
9129 [BZ #11655]
9130 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9131 are initialized.
9132
42acbb92
JJ
91332010-12-09 Jakub Jelinek <jakub@redhat.com>
9134
9135 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9136
c038d98d
UD
91372010-12-03 Ulrich Drepper <drepper@gmail.com>
9138
9139 * po/it.po: Update from translation team.
9140
3a4a2499
L
91412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9142
9143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9144 unused codes.
9145
1e24cf6e
UD
91462010-11-30 Ulrich Drepper <drepper@gmail.com>
9147
9148 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9149
a7690819
AS
91502010-11-24 Andreas Schwab <schwab@redhat.com>
9151
9152 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9153 specially.
9154 (gaih_getanswer_slice): Likewise.
9155
3bf8d1b1
JJ
91562010-10-20 Jakub Jelinek <jakub@redhat.com>
9157
9158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9159
6db52fbb
PB
91602010-05-31 Petr Baudis <pasky@suse.cz>
9161
9162 [BZ #11149]
9163 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9164 silently even in the chroot mode.
9165
eaca7569
UD
91662010-11-22 Ulrich Drepper <drepper@gmail.com>
9167
9168 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9169 last patch a bit. Pretty printing
9170
3056dcdb
UD
91712010-05-31 Petr Baudis <pasky@suse.cz>
9172
9173 [BZ #10085]
9174 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9175 initialization of skip_initgroups_dyn.
9176
cf7c9078
UD
91772010-11-19 Ulrich Drepper <drepper@gmail.com>
9178
9179 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9180 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9181
a1fb5e3e
UD
91822010-11-16 Ulrich Drepper <drepper@gmail.com>
9183
9184 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9185
3540d66b
AS
91862010-11-11 Andreas Schwab <schwab@redhat.com>
9187
9188 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9189 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9190 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9191 ($(objpfx)tst-fnmatch-mem): New rule.
9192 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9193 * posix/tst-fnmatch.c (main): Call mtrace.
9194
13b69574
L
91952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9196
9197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9198 Support Intel processor model 6 and model 0x2c.
9199
da93d214
LM
92002010-11-10 Luis Machado <luisgpm@br.ibm.com>
9201
9202 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9203 signed comparison.
9204
8ca52c6e
L
92052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9206
9207 [BZ #12205]
9208 * string/test-strncasecmp.c (check_result): New function.
9209 (do_one_test): Use it.
9210 (check1): New function.
9211 (test_main): Use it.
9212 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9213 Support strcasecmp and strncasecmp.
9214
69da074d
UD
92152010-11-08 Ulrich Drepper <drepper@gmail.com>
9216
9217 [BZ #12194]
9218 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9219 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9220
ff02d528
L
92212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9222
9223 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9224 IFUNC support.
9225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9226 memset-x86-64.
9227 * sysdeps/x86_64/multiarch/bzero.S: New file.
9228 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9229 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9230 * sysdeps/x86_64/multiarch/memset.S: New file.
9231 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9233 Set bit_Prefer_SSE_for_memop for Intel processors.
9234 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9235 Define.
9236 (index_Prefer_SSE_for_memop): Define.
9237 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9238
344d0b54
LM
92392010-11-04 Luis Machado <luisgpm@br.ibm.com>
9240
9241 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9242 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9243
c0dde15b
UD
92442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9245
9246 [BZ #12191]
9247 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9248 (__x86_64_raw_data_cache_size_half): Likewise.
9249 (__x86_64_raw_shared_cache_size): Likewise.
9250 (__x86_64_raw_shared_cache_size_half): Likewise.
9251
9252 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9253 (__x86_64_raw_data_cache_size_half): Likewise.
9254 (__x86_64_raw_shared_cache_size): Likewise.
9255 (__x86_64_raw_shared_cache_size_half): Likewise.
9256 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9257 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9258 and __x86_64_raw_shared_cache_size_half. Round
9259 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9260 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9261 to multiple of 256 bytes.
9262
0e516e0e
MS
92632010-11-03 Ulrich Drepper <drepper@gmail.com>
9264
9265 [BZ #12167]
9266 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9267 of inacessible symlinks. Verify result of symlink before returning it.
9268 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9269 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9270
0e012e87
ER
92712010-10-28 Erich Ritz <erichritz@gmail.com>
9272
9273 * math/math.h (isinf): Fix typo in comment.
9274
de0ff7bc
UD
92752010-11-01 Ulrich Drepper <drepper@gmail.com>
9276
9277 * po/da.po: Update from translation team.
9278
fa41c84d
UD
92792010-10-26 Ulrich Drepper <drepper@gmail.com>
9280
9281 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9282 is added to the list.
9283
f0967738
AK
92842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9285 Ulrich Drepper <drepper@gmail.com>
9286
9287 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9288 the global list here. Move code to...
9289 (_dl_add_to_namespace_list): ...here. New function.
9290 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9291 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9292 * elf/dl-load.c (lose): Don't remove the element from the list.
9293 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9294 (_dl_map_object): Likewise.
9295
92962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9297
9298 [BZ #12159]
9299 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9300 into all bytes of SSE register.
9301 Patch by Richard Li <richardpku@gmail.com>.
9302
f0967738 93032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9304
9305 [BZ #12140]
9306 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9307 perturbing.
9308
d0b9e94f
MB
93092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9310
9311 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9312 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9313 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9314 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9316 submachine.
9317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9318
8e9f92e9
AS
93192010-10-22 Andreas Schwab <schwab@redhat.com>
9320
9321 * include/dlfcn.h (__RTLD_SECURE): Define.
9322 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9323 mode & __RTLD_SECURE instead.
9324 (open_path): Rename preloaded parameter to secure.
9325 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9326 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9327 * elf/dl-deps.c (openaux): Likewise.
9328 * elf/rtld.c (struct map_args): Remove is_preloaded.
9329 (map_doit): Don't use it.
9330 (dl_main): Likewise.
9331 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9332 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9333
bc96fbda
AS
93342010-09-09 Andreas Schwab <schwab@redhat.com>
9335
9336 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9337 (sysd-rules-targets): Remove duplicates.
9338 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9339 rtld-%.$o dependency.
9340
22cd1c9b
AS
93412010-10-18 Andreas Schwab <schwab@redhat.com>
9342
9343 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9344 _dl_map_object do it.
9345
18edac48
UD
93462010-10-19 Ulrich Drepper <drepper@gmail.com>
9347
9348 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9349 fast fma builtins, define the macros in the C99 standard.
9350 (FP_FAST_FMAF): Likewise.
9351 (FP_FAST_FMAL): Likewise.
9352 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9353
9354 * bits/mathdef.h: Update copyright year.
9355 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9356
d2050124
MM
93572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9358
9359 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9360 builtins, define the macros in the C99 standard.
9361 (FP_FAST_FMAF): Likewise.
9362 (FP_FAST_FMAL): Likewise.
9363 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9364 multiply/add.
9365 (FP_FAST_FMAF): Likewise.
9366
475facd1
JJ
93672010-10-15 Jakub Jelinek <jakub@redhat.com>
9368
9369 [BZ #3268]
9370 * math/libm-test.inc (fma_test): Some new testcases.
9371 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9372 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9373 y and infinite z. Do multiplication by C already in long double.
9374 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9376 y and infinite z. Do bitwise or of inexact bit into u.d.
9377 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9378 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9379 * sysdeps/i386/fpu/s_fma.S: Removed.
9380 * sysdeps/i386/fpu/s_fmal.S: Removed.
9381
7c08a05c
JJ
93822010-10-16 Jakub Jelinek <jakub@redhat.com>
9383
9384 [BZ #3268]
9385 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9387 computation is not scheduled after fetestexcept. Fix value
9388 of minimum denormal long double.
9389
f3f7372d
JJ
93902010-10-14 Jakub Jelinek <jakub@redhat.com>
9391
9392 [BZ #3268]
9393 * math/libm-test.inc (fma_test): Add some more tests.
9394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9395 correctly.
9396
14d43591
AS
93972010-10-15 Andreas Schwab <schwab@redhat.com>
9398
9399 * scripts/data/localplt-s390-linux-gnu.data: New file.
9400 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9401
5e908464
JJ
94022010-10-13 Jakub Jelinek <jakub@redhat.com>
9403
9404 [BZ #3268]
9405 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9406 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9407 instead of dbl-64.
9408 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9409 inlines.
9410 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9412 if one of x and y is very large and the other is subnormal.
9413 * sysdeps/s390/fpu/s_fmaf.c: New file.
9414 * sysdeps/s390/fpu/s_fma.c: New file.
9415 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9416 * sysdeps/powerpc/fpu/s_fma.S: New file.
9417 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9418 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9419 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9420
94212010-10-12 Jakub Jelinek <jakub@redhat.com>
9422
9423 [BZ #3268]
9424 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9425 fma tests.
9426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9427 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9428 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9429 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9430 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9431 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9433
b833d51f
UD
94342010-10-12 Ulrich Drepper <drepper@redhat.com>
9435
9436 [BZ #12078]
9437 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9438 * posix/bug-regex31.input: Add test case.
9439
1751705d
UD
94402010-10-11 Ulrich Drepper <drepper@gmail.com>
9441
e9b9cbf5
UD
9442 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9443 * posix/bug-regex31.input: New file.
9444
9445 [BZ #12078]
9446 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9447 (parse_sub_exp): Fix last change, use postorder.
9448
ef06edbe
UD
9449 * posix/bug-regex31.c: New file.
9450 * posix/Makefile: Add rules to build and run bug-regex31.
9451
a129c80d
UD
9452 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9453
9454 [BZ #12078]
9455 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9456
b76b818e
UD
9457 [BZ #12108]
9458 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9459 to have entries in sys_siglist.
9460
1751705d
UD
9461 [BZ #12093]
9462 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9463 be NULL.
9464
9ff8d36f
JJ
94652010-10-07 Jakub Jelinek <jakub@redhat.com>
9466
9467 [BZ #3268]
9468 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9469 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9470 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9471 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9472 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9473 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9474 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9475 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9476 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9477 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9478 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9479 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9480 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9481 * math/ftestexcept.c (fetestexcept): Likewise.
9482 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9483 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9484 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9485 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9486 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9487 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9488 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9489
af325969
UD
94902010-10-11 Ulrich Drepper <drepper@gmail.com>
9491
c579b202 9492 [BZ #12107]
af325969
UD
9493 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9494 newline.
9495
67a67b95
UD
94962010-10-06 Ulrich Drepper <drepper@gmail.com>
9497
9498 * string/bug-strstr1.c: New file.
9499 * string/Makefile: Add rules to build and run bug-strstr1.
9500
5fb308bc
EB
95012010-10-05 Eric Blake <eblake@redhat.com>
9502
9503 [BZ #12092]
9504 * string/str-two-way.h (two_way_long_needle): Always clear memory
9505 when skipping input due to the shift table.
9506
45db99c7
UD
95072010-10-03 Ulrich Drepper <drepper@gmail.com>
9508
3b111893
UD
9509 [BZ #12005]
9510 * malloc/mcheck.c: Handle large requests.
9511
45db99c7
UD
9512 [BZ #12077]
9513 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9514 for strncmp and strncasecmp.
9515 * string/stratcliff.c: Add tests for strcmp and strncmp.
9516 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9517
cf7a1eb8
NI
95182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9519
9520 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9521 __set_fpscr.
9522
6484ba5e
AJ
95232010-09-30 Andreas Jaeger <aj@suse.de>
9524
9525 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9526 (CGROUP_SUPER_MAGIC): Define.
9527 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9528 Handle btrfs and cgroup file systems.
9529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9530 Likewise.
9531
91c42559
LM
95322010-09-27 Luis Machado <luisgpm@br.ibm.com>
9533
9534 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9535 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9536
87a97932
AK
95372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9538
9539 [BZ #12067]
9540 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9541 trying to locate the ELF header.
9542
c21cc9bc
AS
95432010-09-27 Andreas Schwab <schwab@redhat.com>
9544
9545 [BZ #11611]
9546 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9547 Mask out sign-bit copies when constructing f_fsid.
9548
315970f6
PB
95492010-09-24 Petr Baudis <pasky@suse.cz>
9550
9551 * debug/stack_chk_fail_local.c: Add missing licence exception.
9552 * debug/warning-nop.c: Likewise.
9553
1ac7a2c7
JM
95542010-09-15 Joseph Myers <joseph@codesourcery.com>
9555
9556 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9557 implementing getdents64 using getdents syscall, set d_type if
9558 __ASSUME_GETDENTS32_D_TYPE.
9559
56801c50
AS
95602010-09-16 Andreas Schwab <schwab@redhat.com>
9561
9562 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9563 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9564
dda51327
UD
95652010-09-21 Ulrich Drepper <drepper@redhat.com>
9566
9567 [BZ #12037]
9568 * posix/unistd.h: Undo change of feature selection for ftruncate from
9569 2010-01-11.
9570
8ffcee4a
UD
95712010-09-20 Ulrich Drepper <drepper@redhat.com>
9572
a545ecd9 9573 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9574 detection.
9575
e24f0a8b
AS
95762010-09-20 Andreas Schwab <schwab@redhat.com>
9577
9578 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9579 fanotify_mark.
9580 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9581
7291c56f
AS
95822010-09-14 Andreas Schwab <schwab@redhat.com>
9583
9584 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9585 variables after CHECK_SP call.
9586 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9587
bc5fb037
AS
95882010-09-13 Andreas Schwab <schwab@redhat.com>
9589 Ulrich Drepper <drepper@redhat.com>
9590
9591 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9592 re-relocationg ld.so.
9593 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9594 _dl_init_paths call.
9595 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9596 here anymore.
9597
e66e7419
UD
95982010-09-14 Ulrich Drepper <drepper@redhat.com>
9599
9600 * resolv/res_init.c (__res_vinit): Count the default server we added.
9601
c044aa75
CLT
96022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9603 Ulrich Drepper <drepper@redhat.com>
9604
9605 [BZ #11968]
9606 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9607 (____longjmp_chk): Use %ebx for saving value across system call.
9608 Add unwind info.
9609
32cf4069
AS
96102010-09-06 Andreas Schwab <schwab@redhat.com>
9611
9612 * manual/Makefile: Don't mix pattern rules with normal rules.
9613
817328ee
AS
96142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9615
9616 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9617 operation.
9618 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9619 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9620 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9621 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9622 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9623 Likewise.
9624
29fddf61
UD
96252010-09-04 Ulrich Drepper <drepper@redhat.com>
9626
9627 [BZ #11979]
9628 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9629 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9630
0959ffc9
UD
96312010-09-02 Ulrich Drepper <drepper@redhat.com>
9632
9633 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9634 * sysdeps/x86_64/addmul_1.S: Likewise.
9635 * sysdeps/x86_64/lshift.S: Likewise.
9636 * sysdeps/x86_64/mul_1.S: Likewise.
9637 * sysdeps/x86_64/rshift.S: Likewise.
9638 * sysdeps/x86_64/sub_n.S: Likewise.
9639 * sysdeps/x86_64/submul_1.S: Likewise.
9640
ece29840
ST
96412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9642
0959ffc9
UD
9643 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9644 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9645 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9646 * bits/sched.h [__need_schedparam]
ece29840 9647 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9648 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9649 (__defined_schedparam): Define to 1.
ece29840
ST
9650 (__sched_param): New structure, identical to sched_param.
9651 (__need_schedparam): Undefine.
9652
e53a31fe
MF
96532010-08-31 Mike Frysinger <vapier@gentoo.org>
9654
fdc0c10d
MF
9655 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9656 (epoll_create1): Declare.
9657
e53a31fe
MF
9658 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9659
a726d796
AS
96602010-08-31 Andreas Schwab <schwab@redhat.com>
9661
9662 [BZ #7066]
9663 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9664 shifting retval into place.
9665
2f3e3dc7
UD
96662010-09-01 Ulrich Drepper <drepper@redhat.com>
9667
f2933da9
UD
9668 * nis/rpcsvc/nis.h: Update copyright notice.
9669 * nis/rpcsvc/nis.x: Likewise.
9670 * nis/rpcsvc/nis_callback.h: Likewise.
9671 * nis/rpcsvc/nis_callback.x: Likewise.
9672 * nis/rpcsvc/nis_object.x: Likewise.
9673 * nis/rpcsvc/nis_tags.h: Likewise.
9674 * nis/rpcsvc/yp.h: Likewise.
9675 * nis/rpcsvc/yp.x: Likewise.
9676 * nis/rpcsvc/ypupd.h: Likewise.
9677 * nis/yp_xdr.c: Likewise.
9678 * nis/ypupdate_xdr.c: Likewise.
9679
2f3e3dc7
UD
9680 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9681 mainly the body of pmap_getport. Add parameters to specify timeouts.
9682 (pmap_getport): Use __libc_rpc_getport.
9683 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9684 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9685 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9686
f3dcc2f9
AS
96872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9688
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9690 fanotify_mark.
9691
6d34eb5b
RM
96922010-08-27 Roland McGrath <roland@redhat.com>
9693
9694 * sysdeps/i386/i686/multiarch/Makefile
9695 (CFLAGS-varshift.c): New variable.
9696
9ea3de11
UD
96972010-08-27 Ulrich Drepper <drepper@redhat.com>
9698
c96d23fc
UD
9699 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9700 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9701
9ea3de11
UD
9702 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9703
9704 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9705
623aac7f
L
97062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9707
9708 * sysdeps/x86_64/strlen.S: Unroll the loop.
9709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9710 strlen-sse2 strlen-sse2-bsf.
9711 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9712 __strlen_no_bsf if bit_Slow_BSF is set.
9713 (__strlen_sse42): Removed.
9714 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9715 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9716
8b2b7715
RM
97172010-08-25 Roland McGrath <roland@redhat.com>
9718
9719 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9720 * sysdeps/x86_64/multiarch/varshift.c: New file.
9721 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9722 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9723 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9724 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9725
e73015f2
L
97262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9727
9728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9729 strlen-sse2 strlen-sse2-bsf.
9730 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9731 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9732 (__strlen_sse2): Removed.
9733 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9734 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9735 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9736 bit_Slow_BSF for Atom.
9737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9738 (index_Slow_BSF): Define.
9739 (HAS_SLOW_BSF): Define.
9740
df24a73e
UD
97412010-08-25 Ulrich Drepper <drepper@redhat.com>
9742
9743 [BZ #10851]
9744 * resolv/res_init.c (__res_vinit): When no server address at all
9745 is given default to loopback.
9746
f2ac4868
RM
97472010-08-24 Roland McGrath <roland@redhat.com>
9748
09055553
RM
9749 * configure.in: Remove config-name.h generation.
9750 * configure: Regenerated.
9751 * config-name.in: File removed.
9752 * scripts/config-uname.sh: New file.
9753 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9754 ($(objdir)config-name.h): New target.
9755
f2ac4868
RM
9756 * sunrpc/rpc_parse.h: Avoid nested comment.
9757
73f27d5e
RH
97582010-08-24 Richard Henderson <rth@redhat.com>
9759 Ulrich Drepper <drepper@redhat.com>
9760 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9764 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9765 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9766 _mm_alignr_epi8 with _mm_loadu_si128.
9767 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9768 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9769 (__m128i_shift_right): Removed.
9770 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9771 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9772 * sysdeps/x86_64/multiarch/varshift.h: New file.
9773 * sysdeps/x86_64/multiarch/varshift.S: New file.
9774
84b9230c
MF
97752010-08-21 Mike Frysinger <vapier@gentoo.org>
9776
9777 * configure.in: Move assembler checks to before sysdep dir checking.
9778
9bbd0ddc
PB
97792010-08-20 Petr Baudis <pasky@suse.cz>
9780
9781 * LICENSES: Sync the sunrpc license.
9782
9da4bb31
UD
97832010-08-19 Ulrich Drepper <drepper@redhat.com>
9784
a7ab6ec8
UD
9785 * sunrpc/auth_des.c: Update copyright notice once again.
9786 * sunrpc/auth_none.c: Likewise.
9787 * sunrpc/auth_unix.c: Likewise.
9788 * sunrpc/authdes_prot.c: Likewise.
9789 * sunrpc/authuxprot.c: Likewise.
9790 * sunrpc/bindrsvprt.c: Likewise.
9791 * sunrpc/clnt_gen.c: Likewise.
9792 * sunrpc/clnt_perr.c: Likewise.
9793 * sunrpc/clnt_raw.c: Likewise.
9794 * sunrpc/clnt_simp.c: Likewise.
9795 * sunrpc/clnt_tcp.c: Likewise.
9796 * sunrpc/clnt_udp.c: Likewise.
9797 * sunrpc/clnt_unix.c: Likewise.
9798 * sunrpc/des_crypt.c: Likewise.
9799 * sunrpc/des_soft.c: Likewise.
9800 * sunrpc/get_myaddr.c: Likewise.
9801 * sunrpc/getrpcport.c: Likewise.
9802 * sunrpc/key_call.c: Likewise.
9803 * sunrpc/key_prot.c: Likewise.
9804 * sunrpc/openchild.c: Likewise.
9805 * sunrpc/pm_getmaps.c: Likewise.
9806 * sunrpc/pm_getport.c: Likewise.
9807 * sunrpc/pmap_clnt.c: Likewise.
9808 * sunrpc/pmap_prot.c: Likewise.
9809 * sunrpc/pmap_prot2.c: Likewise.
9810 * sunrpc/pmap_rmt.c: Likewise.
9811 * sunrpc/rpc/auth.h: Likewise.
9812 * sunrpc/rpc/auth_unix.h: Likewise.
9813 * sunrpc/rpc/clnt.h: Likewise.
9814 * sunrpc/rpc/des_crypt.h: Likewise.
9815 * sunrpc/rpc/key_prot.h: Likewise.
9816 * sunrpc/rpc/netdb.h: Likewise.
9817 * sunrpc/rpc/pmap_clnt.h: Likewise.
9818 * sunrpc/rpc/pmap_prot.h: Likewise.
9819 * sunrpc/rpc/pmap_rmt.h: Likewise.
9820 * sunrpc/rpc/rpc.h: Likewise.
9821 * sunrpc/rpc/rpc_des.h: Likewise.
9822 * sunrpc/rpc/rpc_msg.h: Likewise.
9823 * sunrpc/rpc/svc.h: Likewise.
9824 * sunrpc/rpc/svc_auth.h: Likewise.
9825 * sunrpc/rpc/types.h: Likewise.
9826 * sunrpc/rpc/xdr.h: Likewise.
9827 * sunrpc/rpc_clntout.c: Likewise.
9828 * sunrpc/rpc_cmsg.c: Likewise.
9829 * sunrpc/rpc_common.c: Likewise.
9830 * sunrpc/rpc_cout.c: Likewise.
9831 * sunrpc/rpc_dtable.c: Likewise.
9832 * sunrpc/rpc_hout.c: Likewise.
9833 * sunrpc/rpc_main.c: Likewise.
9834 * sunrpc/rpc_parse.c: Likewise.
9835 * sunrpc/rpc_parse.h: Likewise.
9836 * sunrpc/rpc_prot.c: Likewise.
9837 * sunrpc/rpc_sample.c: Likewise.
9838 * sunrpc/rpc_scan.c: Likewise.
9839 * sunrpc/rpc_scan.h: Likewise.
9840 * sunrpc/rpc_svcout.c: Likewise.
9841 * sunrpc/rpc_tblout.c: Likewise.
9842 * sunrpc/rpc_util.c: Likewise.
9843 * sunrpc/rpc_util.h: Likewise.
9844 * sunrpc/rpcinfo.c: Likewise.
9845 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9846 * sunrpc/rpcsvc/key_prot.x: Likewise.
9847 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9848 * sunrpc/rpcsvc/mount.x: Likewise.
9849 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9850 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9851 * sunrpc/rpcsvc/rex.x: Likewise.
9852 * sunrpc/rpcsvc/rstat.x: Likewise.
9853 * sunrpc/rpcsvc/rusers.x: Likewise.
9854 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9855 * sunrpc/rpcsvc/spray.x: Likewise.
9856 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9857 * sunrpc/rtime.c: Likewise.
9858 * sunrpc/svc.c: Likewise.
9859 * sunrpc/svc_auth.c: Likewise.
9860 * sunrpc/svc_authux.c: Likewise.
9861 * sunrpc/svc_raw.c: Likewise.
9862 * sunrpc/svc_run.c: Likewise.
9863 * sunrpc/svc_simple.c: Likewise.
9864 * sunrpc/svc_tcp.c: Likewise.
9865 * sunrpc/svc_udp.c: Likewise.
9866 * sunrpc/svc_unix.c: Likewise.
9867 * sunrpc/svcauth_des.c: Likewise.
9868 * sunrpc/xcrypt.c: Likewise.
9869 * sunrpc/xdr.c: Likewise.
9870 * sunrpc/xdr_array.c: Likewise.
9871 * sunrpc/xdr_float.c: Likewise.
9872 * sunrpc/xdr_mem.c: Likewise.
9873 * sunrpc/xdr_rec.c: Likewise.
9874 * sunrpc/xdr_ref.c: Likewise.
9875 * sunrpc/xdr_sizeof.c: Likewise.
9876 * sunrpc/xdr_stdio.c: Likewise.
9877
9da4bb31
UD
9878 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9879 handling.
9880
bdaa77bc
AS
98812010-08-19 Andreas Schwab <schwab@redhat.com>
9882
9883 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9884
fe2f79db
LM
98852010-08-19 Luis Machado <luisgpm@br.ibm.com>
9886
9887 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9888 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9889 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9890 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9891 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9892 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9893 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9894 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9895 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9896 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9897 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9898 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9899 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9900 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9901
b9b42ee0
AB
99022010-07-26 Anton Blanchard <anton@samba.org>
9903
9904 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9905 * malloc/arena.c (heap_trim): Likewise.
9906
1c06ba31
UD
99072010-08-16 Ulrich Drepper <drepper@redhat.com>
9908
9909 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9910 here. Not...
9911 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9912 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9913
f8392f40
L
99142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9915
9916 * sysdeps/i386/elf/Makefile: New file.
9917
3162f12e
AS
99182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9919
9920 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9921 from fanotify_init.
9922 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9923 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9924
28c90b2c
UD
99252010-08-15 Ulrich Drepper <drepper@redhat.com>
9926
9927 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9928 of strncasecmp_l.
1feccb6c 9929 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9930
ca6bb004
UD
99312010-08-14 Ulrich Drepper <drepper@redhat.com>
9932
e9f82e0d
UD
9933 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9934 strncase_l-nonascii.
9935 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9936 Add strncase_l-ssse3.
9937 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9938 * sysdeps/x86_64/strcmp.S: Likewise.
9939 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9940 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9941 * sysdeps/x86_64/strncase.S: New file.
9942 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9943 * sysdeps/x86_64/strncase_l.S: New file.
9944 * string/Makefile (strop-tests): Add strncasecmp.
9945 * string/test-strncasecmp.c: New file.
9946
9947 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9948 warning.
9949
ca6bb004
UD
9950 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9951 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9952
052fa7b3
AS
99532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9954
9955 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9956
962dba78
UD
99572010-08-12 Ulrich Drepper <drepper@redhat.com>
9958
9959 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9960 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9961 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9962
bebff237
AM
99632010-05-01 Alan Modra <amodra@gmail.com>
9964
9965 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9966 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9967 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9968 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9969 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9970 tidying. Don't tail-call __sigjmp_save for static lib.
9971 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9972 save location.
9973 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9974 (CALL_MCOUNT): Add eh info, and nop after bl.
9975 (TAIL_CALL_SYSCALL_ERROR): New macro.
9976 (PSEUDO_RET): Use it.
9977 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9978 Correct save location of integer regs and cr.
9979 (_dl_profile_resolve): Correct cr save location. Delete nops
9980 after bl when SHARED. Reduce cfi size a little by better
9981 placement of cfi directives.
9982 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9983 make a stack frame. Instead use parm save area as a temp.
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9985 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9987 Don't make a stack frame for parent, use parm save area.
9988 Increase child stack frame to 112 bytes. Don't save unused reg,
9989 and adjust reg usage. Set up cfi on error recovery and
9990 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9992 (__makecontext): Add dummy nop after jump to exit.
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9994 Use correct parm save area and cr save, reduce stack frame.
9995 Correct cfi for possible PSEUDO_RET frame setup.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9997 Branch to local label emitted by PSEUDO_RET rather than
9998 __syscall_error.
9999
02637374
AS
100002010-08-12 Andreas Schwab <schwab@redhat.com>
10001
10002 [BZ #11904]
10003 * locale/programs/locale.c (print_assignment): New function.
10004 (show_locale_vars): Use it.
10005
c3e2f19b
UD
100062010-08-11 Ulrich Drepper <drepper@redhat.com>
10007
3cdaa6ad
UD
10008 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10009 field.
10010 (struct statfs64): Likewise.
10011 (_STATFS_F_FLAGS): Define.
10012 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10013 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10014 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10015 (ST_VALID): Define locally.
10016 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10017 __statvfs_getflags, use the provided value.
10018 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10019 __ASSUME_STATFS_F_FLAGS.
10020
754f7da3
UD
10021 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10022
10b3bedc
UD
10023 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10024 Add sys/fanotify.h.
10025 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10026 fanotify_mask for GLIBC_2.13.
10027 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10028 fanotify_init and fanotify_mark.
10029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10030 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10031
c08fb0d7
UD
10032 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10033 Add prlimit.
10034 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10035 prlimit64 for GLIBC_2.13.
10036 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10037 prlimit64.
10038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10039 syscall.
10040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10041 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10042 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10043 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10045 add prlimit alias.
10046 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10047
15bac72b
UD
10048 [BZ #11903]
10049 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10050 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10051
c3e2f19b
UD
10052 * nss/Makefile: Add rules to build and run tst-nss-test1.
10053 * shlib-versions: Add entry for libnss_test1.
10054 * nss/nss_test1.c: New file.
10055 * nss/tst-nss-test1.c: New file.
10056
10057 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10058 (__nss_configure_lookup): Set appropriate entry in
10059 __nss_configure_lookup to true.
10060 * nss/nsswitch.h: Define enum with indeces of databases in
10061 databases and __nss_database_custom arrays. Declare
10062 __nss_database_custom.
10063 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10064 to avoid using nscd when custom rules are installed.
10065 * nss/getXXbyYY_r.c: Likewise.
10066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10067
10068 * nss/nss_files/files-parse.c: Whitespace fixes.
10069
f15ce4d8
UD
100702010-08-09 Ulrich Drepper <drepper@redhat.com>
10071
10072 [BZ #11883]
10073 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10074 * posix/fnmatch_loop.c: Likewise.
10075
d22e4cc9
AK
100762010-07-17 Andi Kleen <ak@linux.intel.com>
10077
10078 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10079 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10080 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10081 * Versions.def [GLIBC_2.13]: Add.
10082
805bc17d
UD
100832010-08-06 Ulrich Drepper <drepper@redhat.com>
10084
10085 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10086 Also fail if tpwd after pwuid call is NULL.
10087
5a42321d
ST
100882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10089
10090 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10091 when converting to ms.
10092
fd3ebeda
ST
100932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10094
10095 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10096 EOPNOTSUPP errors with ENOTTY.
10097 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10098 EOPNOTSUPP errors with ENOTTY.
10099
73507d3a
UD
101002010-07-31 Ulrich Drepper <drepper@redhat.com>
10101
10102 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10103 Add strcasecmp_l-ssse3.
10104 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10105 strcasecmp.
10106 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10107 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10108 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10109
fe36dd02
UD
101102010-07-30 Ulrich Drepper <drepper@redhat.com>
10111
66f6765a
UD
10112 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10113
42e08a54
UD
10114 * string/Makefile (strop-tests): Add strcasecmp.
10115 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10116 strcasecmp_l-nonascii.
10117 (gen-as-const-headers): Add locale-defines.sym.
10118 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10119 * sysdeps/x86_64/strcasecmp.S: New file.
10120 * sysdeps/x86_64/strcasecmp_l.S: New file.
10121 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10122 * sysdeps/x86_64/locale-defines.sym: New file.
10123 * string/test-strcasecmp.c: New file.
10124
fe36dd02
UD
10125 * string/test-strcasestr.c: Test both ends of the range of characters.
10126 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10127
48cbc0d6
RM
101282010-07-29 Roland McGrath <roland@redhat.com>
10129
76e6d6bc 10130 [BZ #11856]
48cbc0d6
RM
10131 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10132
880113d9
UD
101332010-07-27 Ulrich Drepper <drepper@redhat.com>
10134
10135 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10136 for ld.so.
10137
deb9cabb
AS
101382010-07-27 Andreas Schwab <schwab@redhat.com>
10139
10140 * manual/memory.texi (Malloc Tunable Parameters): Document
10141 M_PERTURB.
10142
1c7570ff
RM
101432010-07-26 Roland McGrath <roland@redhat.com>
10144
10145 [BZ #11840]
10146 * configure.in (-fgnu89-inline check): Set and substitute
10147 gnu89_inline, not libc_cv_gnu89_inline.
10148 * configure: Regenerated.
10149 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10150
24fb0f88
UD
101512010-07-26 Ulrich Drepper <drepper@redhat.com>
10152
10153 * string/test-strnlen.c: New file.
10154 * string/Makefile (strop-tests): Add strnlen.
10155 * string/tester.c (test_strnlen): Add a few more test cases.
10156 * string/tst-strlen.c: Better error reporting.
10157
10158 * sysdeps/x86_64/strnlen.S: New file.
10159
8e96b93a
UD
101602010-07-24 Ulrich Drepper <drepper@redhat.com>
10161
10162 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10163 lower-latency instructions.
10164
dbc676d4
UD
101652010-07-23 Ulrich Drepper <drepper@redhat.com>
10166
10167 * string/test-strcasestr.c: New file.
10168 * string/test-strstr.c: New file.
10169 * string/Makefile (strop-tests): Add strstr and strcasestr.
10170 * string/str-two-way.h: Don't undefine MAX.
10171 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10172
f6a31e0e
AS
101732010-07-21 Andreas Schwab <schwab@redhat.com>
10174
10175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10176 strcasestr-nonascii.
10177 (CFLAGS-strcasestr-nonascii.c): Define.
10178 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10179 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10180 Remove unused attribute.
10181
5dbc3b6c
RM
101822010-07-20 Roland McGrath <roland@redhat.com>
10183
10184 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10185 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10186 ld.so.cache was broken. With it, there is no way to disable dsocaps
10187 like LD_HWCAP_MASK can disable hwcaps.
10188
23d101d8
EPM
101892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10190
10191 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10192
cc9f2e47
UD
101932010-07-16 Ulrich Drepper <drepper@redhat.com>
10194
10195 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10196 call in strcasestr.
10197 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10198 __strcasestr_sse42_nonascii.
10199 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10200 strcasestr-nonascii.c.
10201 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10202
77c1b069
LM
102032010-06-15 Luis Machado <luisgpm@br.ibm.com>
10204
10205 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10206 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10207 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10208 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10209
440566c3
UD
102102010-07-09 Ulrich Drepper <drepper@redhat.com>
10211
10212 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10213 fcntl.
10214
5be9d05d
AS
102152010-07-06 Andreas Schwab <schwab@redhat.com>
10216
c30b7ee2 10217 [BZ #11577]
5be9d05d
AS
10218 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10219 dl_signal_cerror.
10220
8a492a67
UD
102212010-07-06 Ulrich Drepper <drepper@redhat.com>
10222
10223 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10224 _PC_PIPE_BUF using F_GETPIPE_SZ.
10225
713df3d5
RM
102262010-07-05 Roland McGrath <roland@redhat.com>
10227
10228 * manual/arith.texi (Rounding Functions): Fix rint description
10229 implicit in round description.
10230
702e8f14
UD
102312010-07-02 Ulrich Drepper <drepper@redhat.com>
10232
10233 * elf/Makefile: Fix linking for a few tests to make recent linker
10234 happy.
10235
52ed8be9
AS
102362010-06-30 Andreas Schwab <schwab@redhat.com>
10237
10238 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10239 $(common-objpfx)libc_nonshared.a.
10240
f47c9a11
LM
102412010-06-21 Luis Machado <luisgpm@br.ibm.com>
10242
10243 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10244 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10245 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10246 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10247 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10248 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10249 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10250 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10265 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10266 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10267 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10268 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10269 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10270 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10271 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10272 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10273 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10274 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10275 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10276 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10291
6fb8cbcb
L
102922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10295 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10296 * string/memmove.c (memmove): Renamed to ...
10297 (MEMMOVE): ...this. Default to memmove.
10298 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10299 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10300 (END_CHK): Define.
10301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10302 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10303 mempcpy-ssse3-back memmove-ssse3-back.
10304 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10305 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10306 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10307 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10308 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10309 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10310 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10311 * sysdeps/x86_64/multiarch/memmove.c: New file.
10312 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10313 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10314 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10315 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10316 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10317 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10318 Define.
10319 (index_Fast_Copy_Backward): Define.
10320 (HAS_ARCH_FEATURE): Define.
10321 (HAS_FAST_REP_STRING): Define.
10322 (HAS_FAST_COPY_BACKWARD): Define.
10323
4e733bac 103242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10325
10326 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10327 Restore proper fallback handling.
10328
63c4ed22
UD
103292010-06-19 Ulrich Drepper <drepper@redhat.com>
10330
ac2b484c
UD
10331 [BZ #11701]
10332 * posix/group_member.c (__group_member): Correct checking loop.
10333
63c4ed22
UD
10334 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10335 OOM in getpwuid_r correctly. Return error number when the caller
10336 should return, otherwise -1.
10337 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10338 call returning > 0 value.
10339 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10340
765ade4b
AS
103412010-06-07 Andreas Schwab <schwab@redhat.com>
10342
10343 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10344 libc_nonshared.a from targets in modules-names.
10345
80da2e09
KS
103462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10347
10348 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10349 requires it.
10350
158db122
LM
103512010-06-10 Luis Machado <luisgpm@br.ibm.com>
10352
10353 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10354 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10357
caa78cf8
AS
103582010-06-02 Andreas Schwab <schwab@redhat.com>
10359
10360 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10361
b2ef2c01
UD
103622010-06-14 Ulrich Drepper <drepper@redhat.com>
10363
10364 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10365 and F_GETPIPE_SZ.
10366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10370 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10371 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10372
fbd643b6
RM
103732010-06-14 Roland McGrath <roland@redhat.com>
10374
10375 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10376
f32f2869
JJ
103772010-06-07 Jakub Jelinek <jakub@redhat.com>
10378
10379 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10380 __REDIRECT followed by __THROW.
10381 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10382 * posix/getopt.h (getopt): Likewise.
10383
2a50c078
EPM
103842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10385
10386 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10387 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10388 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10389 in AT_FLAGS.
10390 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10391 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10392
eb5ad2eb
LM
103932010-05-28 Luis Machado <luisgpm@br.ibm.com>
10394
10395 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10396
3c88fe1e
L
103972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10398
10399 [BZ #11640]
10400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10401 Properly check family and model.
10402
d2f73151
TY
104032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10404
10405 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10406
ebd2e13d
LM
104072010-05-24 Luis Machado <luisgpm@br.ibm.com>
10408
10409 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10410
b32b8b45
UD
104112010-05-21 Ulrich Drepper <drepper@redhat.com>
10412
10413 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10414 symbol reference.
10415
9acbe24d
AS
104162010-05-19 Andreas Schwab <schwab@redhat.com>
10417
10418 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10419 symbol reference.
10420
f0ccf6ea
AS
104212010-05-21 Andreas Schwab <schwab@redhat.com>
10422
3d04ff3a
AS
10423 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10424 and internal_recvmmsg.
10425 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10426 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10427 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10428 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10429
f0ccf6ea
AS
10430 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10431 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10432 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10433
5b08ac57
AS
104342010-05-20 Andreas Schwab <schwab@redhat.com>
10435
10436 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10437
4828935d
LM
104382010-05-17 Luis Machado <luisgpm@br.ibm.com>
10439
10440 POWER7 optimizations.
10441 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10442 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10443
373d545e
UD
104442010-05-19 Ulrich Drepper <drepper@redhat.com>
10445
10446 * version.h: Update for 2.13 development version.
10447
21a2b1ae
AS
104482010-05-12 Andrew Stubbs <ams@codesourcery.com>
10449
10450 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10451 exceptions. Return 0.
10452
3f7dcb2b
RM
104532010-05-07 Roland McGrath <roland@redhat.com>
10454
10455 * elf/ldconfig.c (main): Add a const.
10456
5f24d53a 104572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10458
a160f8d8
UD
10459 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10460 (args_options): Add no-idn option.
10461 (ahosts_keys_int): Add idn_flags to ai_flags.
10462 (parse_option): Handle 'i' option to clear idn_flags.
10463
5f24d53a
UD
10464 * malloc/malloc.c (_int_free): Possible race in the most recently
10465 added check. Only act on the data if no current modification
10466 happened.
265bb1ce
UD
10467
10468See ChangeLog.17 for earlier changes.
This page took 1.355482 seconds and 5 git commands to generate.