]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Correct ChangeLog entry.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
95443d88
L
12012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/bits/atomic.h
4 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5 64bit integer.
6 (atomic_exchange_acq): Likewise.
7 (__arch_exchange_and_add_body): Likewise.
8 (__arch_add_body): Likewise.
9 (atomic_add_negative): Likewise.
10 (atomic_add_zero): Likewise.
11
490df6c4
L
122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13
c2722551 14 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16
5e52b189
L
172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18
19 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20 Check __x86_64__ instead of __WORDSIZE.
21
a9879d4c
L
222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23
24 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25
5df98260
DM
262012-03-19 David S. Miller <davem@davemloft.net>
27
e1497744
DM
28 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29
5df98260
DM
30 * sysdeps/sparc/fpu/fenv_private.h: New file.
31 * sysdeps/sparc/fpu/math_private.h: Use it.
32 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33 Remove.
34 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
35 (libc_feholdexcept_setroundl): Remove.
36 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37 Remove.
38 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40
b4c35121
L
412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42
43 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44 int64_t instead of long int.
45 (INSERT_WORDS64): Likwise.
46
56965fd7
L
472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48
49 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50 _Unwind_GetCFA return to _Unwind_Ptr first.
51
83d1aec8
JM
522012-03-19 Joseph Myers <joseph@codesourcery.com>
53
1897ad44
JM
54 [BZ #13629]
55 * math/s_clog.c: Include <float.h>.
56 (__clog): Scale large or subnormal inputs.
57 * math/s_clogf.c: Likewise.
58 * math/s_clogl.c: Likewise.
59 * math/s_clog10.c: Include <float.h>.
60 (M_LOG10_2): Define.
61 (__clog10): Scale large or subnormal inputs.
62 * math/s_clog10f.c: Likewise.
63 * math/s_clog10l.c: Likewise.
64 * math/libm-test.inc (clog_test): Add more tests.
65 (clog10_test): Likewise.
66 * sysdeps/i386/fpu/libm-test-ulps: Update.
67 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68
7726d6a9
JM
69 [BZ #11451]
70 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71 x and y.
72 * math/libm-test.inc (atan2_test): Add another test.
73
83d1aec8
JM
74 * Makerules (common-objdir-compile): Remove.
75 * sysdeps/unix/Makefile (config-generated): Do not add
76 $(unix-generated) to variable.
77 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79 Remove rule.
80 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
81 Likewise.
82 [generic bits/local_lim.h] (before-compile): Do not append to
83 variable.
84 [generic bits/local_lim.h] (common-generated): Likewise.
85 [generic sys/param.h] (before-compile): Do not append to variable.
86 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
87 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
88 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
89 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
90 include.
91 [generic sys/param.h] (sys/param.h-includes): Remove variable.
92 [generic sys/param.h] (sys/param.h-includes): Remove rule.
93 [generic sys/param.h] ($(addprefix
94 $(common-objpfx),$(sys/param.h-includes))): Likewise.
95 [generic sys/param.h] (common-generated): Do not append to
96 variable.
97 [generic sys/param.h] (sysdep_headers): Likewise.
98 [generic bits/errno.h] (before-compile): Do not append to
99 variable.
100 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
101 rule.
102 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
103 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
104 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
105 [generic bits/errno.h] (common-generated): Do not append to
106 variable.
107 [generic bits/ioctls.h] (before-compile): Do not append to
108 variable.
109 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
110 rule.
111 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
112 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
114 rule.
115 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
116 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
117 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
118 [generic bits/ioctls.h] (common-generated): Do not append to
119 variable.
120 [generic sys/syscall.h] (syscall.h): Remove variable.
121 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
122 rule.
123 [generic sys/syscall.h] (before-compile): Do not append to
124 variable.
125 [generic sys/syscall.h] (common-generated): Likewise.
126 * sysdeps/unix/errnos-tmpl.c: Remove file.
127 * sysdeps/unix/errnos.awk: Likewise.
128 * sysdeps/unix/ioctls-tmpl.c: Likewise.
129 * sysdeps/unix/ioctls.awk: Likewise.
130 * sysdeps/unix/mk-local_lim.c: Likewise.
131 * sysdeps/unix/snarf-ioctls: Likewise.
132
4851a949
RH
1332012-03-19 Richard Henderson <rth@twiddle.net>
134
bd37f2ee
RH
135 * sysdeps/i386/fpu/fenv_private.h: New file.
136 * sysdeps/i386/fpu/math_private.h: Use it.
137 (math_opt_barrier, math_force_eval): Remove.
138 (libc_feholdexcept_setround_53bit): Remove.
139 (libc_feupdateenv_53bit): Remove.
140 * sysdeps/x86_64/fpu/math_private.h: Likewise.
141 (math_opt_barrier, math_force_eval): Remove.
142 (libc_feholdexcept): Remove.
143 (libc_feholdexcept_setround): Remove.
144 (libc_fetestexcept, libc_fesetenv): Remove.
145 (libc_feupdateenv_test): Remove.
146 (libc_feupdateenv, libc_feholdsetround): Remove.
147 (libc_feresetround): Remove.
148
d0adc922
RH
149 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
150 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
151
0fe0f1f8
RH
152 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
153 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
154 (libc_feupdateenv_testl): New.
155 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
156 (libc_feupdateenv_testf): New.
157 (libc_feupdateenv): Use libc_feupdateenv_test.
158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
159 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
160
eb92c487
RH
161 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
162 (libc_feholdsetroundf, libc_feholdsetroundl): New.
163 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
164 (libc_feresetround_noex): New.
165 (libc_feresetround_noexf): New.
166 (libc_feresetround_noexl): New.
167 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
168 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
169 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
170 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
171 SET_RESTORE_ROUND.
172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
174 (__cos): Likewise.
175 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
177 SET_RESTORE_ROUND_NOEX.
178 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
179 SET_RESTORE_ROUND_NOEXF.
180 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
181 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
182 (libc_feholdsetroundf): New.
183 (libc_feresetround, libc_feresetroundf): New.
184
7d2e8012
RH
185 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
186 (libc_feholdexcept_setround_53bit): Convert from macro to function.
187 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
188
b4dabbb4
RH
189 * sysdeps/generic/math_private.h: Include <fenv.h>.
190 (default_libc_feholdexcept): New.
191 (default_libc_feholdexcept_setround): New.
192 (default_libc_fesetenv, default_libc_feupdateenv): New.
193 (libc_feholdexcept): Only define if undefined.
194 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
195 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
196 (libc_feholdexcept_setroundl): Likewise.
197 (libc_feholdexcept_setround_53bit): Likewise.
198 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
199 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
200 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
201 (libc_feupdateenv_53bit): Likewise.
202 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
203 (libc_feholdexcept): Convert from macro to inline function.
204 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
205 (libc_fesetenv, libc_feupdateenv): Likewise.
206
4851a949
RH
207 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
208 not previously defined.
209 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
210 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
211 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
212 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
213 * sysdeps/ieee754/flt-32/math_private.h: New file.
214 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
215 math_private.h below SET_FLOAT_WORD.
216 (__isnan, __isinf_ns, __finite): Remove.
217 (__isnanf, __isinf_nsf, __finitef): Remove.
218
e79d442e
AS
2192012-03-18 Andreas Schwab <schwab@linux-m68k.org>
220
221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
222
90b80344
DM
2232012-03-17 David S. Miller <davem@davemloft.net>
224
225 [BZ #6471]
226 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
227 for 2.16.
228
edc21804
DM
2292012-03-16 David S. Miller <davem@davemloft.net>
230
77e927af
DM
231 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
232 warnings.
233
374976dd
DM
234 [BZ #6471]
235 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
236 properly.
237 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
238 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
239 sysdep_routines when subdir is sysvipc.
240 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
241 __getshmlba helper.
242
edc21804
DM
243 * sysdeps/sparc/fpu/libm-test/ulps: Update.
244
473c3ef3
L
2452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
246
247 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
248 [__LP64__].
249
eb0f39b6
L
2502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
251
252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
253 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
254 (__lround): Renamed to ...
255 (__llround): This. Replace long int with long long int.
256 Define lround functions as aliases of llround functions.
257 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
258
6b6cd74b
L
2592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
260
261 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
262 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
263 adresses to uintptr_t. Replace "long int" and "unsigned long
264 int" with "greg_t" on va_arg.
265
f1a77b01
L
2662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
267
268 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
269 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
270
271 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
272 Move e_machine check before EI_CLASS check. Handle x32
273 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
274 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
275 SKIP_EM_IA_64 and include
276 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
277
278 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
279 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
280 (add_system_dir): New macro.
281
282 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
283 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
284
11b90b9f
JM
2852012-03-16 Joseph Myers <joseph@codesourcery.com>
286
c36e1d23
JM
287 [BZ #2551]
288 [BZ #2552]
289 [BZ #2553]
290 [BZ #2554]
291 [BZ #2562]
292 [BZ #2563]
293 [BZ #2565]
294 [BZ #2566]
295 [BZ #2576]
296 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
297 (y0): Likewise.
298 * math/w_j0f.c (j0f): Likewise.
299 (y0f): Likewise.
300 * math/w_j0l.c (__j0l): Likewise.
301 (__y0l): Likewise.
302 * math/w_j1.c (j1): Likewise.
303 (y1): Likewise.
304 * math/w_j1f.c (j1f): Likewise.
305 (y1f): Likewise.
306 * math/w_j1l.c (__j1l): Likewise.
307 (__y1l): Likewise.
308 * math/w_jn.c (jn): Likewise.
309 (yn): Likewise.
310 * math/w_jnf.c (jnf): Likewise.
311 (ynf): Likewise.
312 * math/w_jnl.c (__jnl): Likewise.
313 (__ynl): Likewise.
314 * math/libm-test.inc (j0_test): Add more tests.
315 (j1_test): Likewise.
316 (jn_test): Likewise. Add trailing semicolon to existing test.
317 (y0_test): Likewise.
318 (y1_test): Likewise.
319 * sysdeps/i386/fpu/libm-test-ulps: Update.
320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
321
11b90b9f
JM
322 [BZ #13851]
323 [BZ #13854]
324 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
325 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
326 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
327 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
328 (__tanl): Set errno for infinite argument.
329 * sysdeps/i386/fpu/mptan.c: Remove.
330 * sysdeps/i386/fpu/s_tan.S: Likewise.
331 * sysdeps/i386/fpu/s_tanl.S: Likewise.
332 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
333 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
334 * math/libm-test.inc (tan_test): Add more tests and enable more
335 tests for double and long double.
336 * sysdeps/i386/fpu/libm-test-ulps: Update.
337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
338
6a1bd2a1
JK
3392012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
340
341 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
342 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
343
10a803e0
RM
3442012-03-16 Roland McGrath <roland@hack.frob.com>
345
346 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
347 * configure.in: Use it for both main tree and add-ons.
348 * configure: Regenerated.
349
f196c7f7
L
3502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
351
352 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
353
8848d99d
JM
3542012-03-16 Joseph Myers <joseph@codesourcery.com>
355
96cbe7f4
JM
356 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
357 in comment.
358
8848d99d
JM
359 [BZ #13851]
360 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
361 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
362 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
363 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
364 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
365 infinite argument.
366 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
368 != 0 for prec == 2.
369 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
370 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
371 * sysdeps/i386/fpu/s_cosl.S: Likewise.
372 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
373 * sysdeps/i386/fpu/s_sinl.S: Likewise.
374 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
375 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
376 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
377 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
378 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
379 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
380 * math/libm-test.inc (cos_test): Add more tests and enable more
381 tests for long double.
382 (sin_test): Likewise.
383 (sincos_test): Likewise.
384 * sysdeps/i386/fpu/libm-test-ulps: Update.
385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
386
dd7f4703
DM
3872012-03-16 David S. Miller <davem@davemloft.net>
388
389 * sysdeps/sparc/fpu/math_private.h: New file.
390
006f1daa
DM
3912012-03-15 David S. Miller <davem@davemloft.net>
392
c0c83bc8
DM
393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
394 file.
e6a62e18 395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
397 file.
e6a62e18
DM
398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
404 sysdep routines.
405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
406
88cb87d9
DM
407 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
408 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
409
006f1daa 410 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
412 sparc-ifunc.h
006f1daa 413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
415 Likewise.
416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
417 Likewise.
006f1daa
DM
418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
422 Likewise.
006f1daa
DM
423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
428 Likewise.
429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
430 Likewise.
006f1daa
DM
431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
455
11e0098e
AS
4562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
457
458 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
459 scaling.
460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
461
e85b09d0
AJ
4622012-03-15 Andreas Jaeger <aj@suse.de>
463
464 [BZ #13852]
465 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
466 ieee754/flt-32 implementation for sin, cos and sincos.
467 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
468 * sysdeps/i386/fpu/s_cosf.S: Likewise.
469 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
470 * sysdeps/i386/fpu/s_sinf.S: Likewise.
471 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
472 ieee754/flt-32 implementation for tan.
473
474 * math/libm-test.inc (cos_test): Enable some large input tests for
475 float as well
476 (sin_test): Likewise.
477 (sincos_test): Likewise.
478 (tan_test): Add tests for large input.
479
480 * sysdeps/i386/fpu/libm-test-ulps: Update.
481
81c64153
AJ
4822012-03-15 Andreas Jaeger <aj@suse.de>
483
484 [BZ #13658]
485 * math/libm-test.inc (cos_test): Add more test cases.
486 (sin_test): Likewise.
487 (sincos_test): Likewise.
488
7bbfa5c6
AJ
4892012-03-15 Andreas Jaeger <aj@suse.de>
490
491 [BZ #13837]
492 * math/libm-test.inc (cos_test): Add a test case for large input
493 value.
494 (sin_test): Likewise.
495 (sincos_test): Likewise.
496
4972012-03-15 Andreas Jaeger <aj@suse.de>,
498 Joseph Myers <joseph@codesourcery.com>
499
500 [BZ #13658]
0671f479 501 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
502 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
503 * sysdeps/i386/fpu/branred.c: Likewise.
504 * sysdeps/i386/fpu/dosincos.c: Likewise.
505 * sysdeps/i386/fpu/mpa.c: Likewise.
506 * sysdeps/i386/fpu/s_cos.S: Likewise.
507 * sysdeps/i386/fpu/s_sin.S: Likewise.
508 * sysdeps/i386/fpu/s_sincos.S: Likewise.
509 * sysdeps/i386/fpu/sincos32.c: Likewise.
510
511 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
512 Define.
513 (libc_feupdateenv_53bit): Define.
514 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
515 Define.
516 (libc_feupdateenv_53bit): Define.
517
518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
519 53 bit (without extend i386 double precision).
520
521 * math/libm-test.inc (sincos_test): Add tests for large input.
522 (sin): Likewise.
523 (cos): Likewise.
524
525 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
526
9cad04ea
AS
5272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
528
529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
530
f7062b9a
DM
5312012-03-15 David S. Miller <davem@davemloft.net>
532
533 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
534 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
535 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
536 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
549 file.
f7062b9a 550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
552 file.
f7062b9a 553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
555 file.
f7062b9a 556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
558 file.
f7062b9a
DM
559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
561 fmin/fmax sysdep routines.
562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
563
7bd951ff
DM
5642012-03-14 David S. Miller <davem@davemloft.net>
565
559398ab
DM
566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
595 routines.
596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
597 file.
559398ab 598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
600 file.
559398ab 601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
603 file.
559398ab 604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
606 file.
559398ab 607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
609 file.
559398ab 610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
612 file.
613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
614 file.
615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
616 file.
617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
618 file.
619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
620 New file.
621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
622 file.
623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
624 file.
559398ab 625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
627 file.
559398ab 628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
630 file.
559398ab 631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
633 file.
559398ab 634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
636 VIS3 routines.
559398ab
DM
637
638 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
639 New file.
640
5a1c1e32
DM
641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
642
eae47a36
DM
643 * sysdeps/sparc/configure.in: New file.
644 * sysdeps/sparc/configure: Generate.
645 * configure.in (libc_cv_sparc_as_vis3): Substitute.
646 * configure: Regenerate.
647 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
648 * config.make.in (have-as-vis3): New.
649 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
650 available use -Av9d instead of -Av9a.
651 * sysdeps/sparc/sparc64/Makefile: Likewise.
652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
654 New file.
655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
656 file.
657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
658 New file.
659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
660 file.
eae47a36
DM
661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
666
c0c83bc8
DM
667 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
668 fzeros/fnegs to load 0x80000000 into a float register instead of
669 using the stack.
7bd951ff
DM
670 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
671
bd951ccb
JM
6722012-03-14 Joseph Myers <joseph@codesourcery.com>
673
674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
675 bits/syscall.h.
676 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
677 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
678 ($(inst_includedir)/bits/syscall.h): Remove rule.
679 ($(objpfx)bits/syscall.d): Include instead of
680 $(objpfx)syscall-list.d.
681 (generated): Change syscall-list.h and syscall-list.d to
682 bits/syscall.h and bits/syscall.d.
683
bb4e6db2
RM
6842012-03-14 Roland McGrath <roland@hack.frob.com>
685
686 [BZ #13846]
687 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
688
aa4a2ae1
JM
6892012-03-14 Joseph Myers <joseph@codesourcery.com>
690
e456826d
JM
691 [BZ #13841]
692 * math/s_csqrt.c: Include <float.h>.
693 (__csqrt): Scale large or subnormal inputs.
694 * math/s_csqrtf.c: Likewise.
695 * math/s_csqrtl.c: Likewise.
696 * math/libm-test.inc (csqrt_test): Add more tests.
697 * sysdeps/i386/fpu/libm-test-ulps: Update.
698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
699
aa4a2ae1
JM
700 [BZ #13840]
701 * math/libm-test.inc (hypot_test): Add more tests.
702
7c10fd35
DM
7032012-03-13 David S. Miller <davem@davemloft.net>
704
705 [BZ #13840]
706 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
707 double-precision for the calculation instead of scaling.
708
f453b98b
JM
7092012-03-13 Joseph Myers <joseph@codesourcery.com>
710
711 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
712 manipulate bits before adding and subtracting TWO52[sx].
713 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
714 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
715 Likewise.
716 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
717
09a3453f
DM
7182012-03-13 David S. Miller <davem@davemloft.net>
719
8e59da90
DM
720 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
721 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
723 rtld-global-offsets.h
724 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
725
2a8ab7f2
DM
726 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
727 large parameters.
728
10f62770
DM
729 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
730
5f0bdb18
DM
731 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
732 'err' in the ifdef scope in which it is actually used.
733
09a3453f
DM
734 * nss/nss_db/db-init.c: Include string.h
735
b4b2eb5e
DM
7362012-03-12 David S. Miller <davem@davemloft.net>
737
98bb2f1c
DM
738 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
739 masking out of the most significant byte of random value used.
740 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
741 Fix coding style in previous change.
742
b4b2eb5e
DM
743 * sysdeps/unix/sysv/linux/kernel-features.h
744 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
745 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
746 expression.
747 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
748 later.
749
6e226b09
DM
7502012-03-11 David S. Miller <davem@davemloft.net>
751
a1bcbd40
DM
752 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
753 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
755 for 'resultvar' otherwise things get truncated on 64-bit.
756
cb9d6174
DM
757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
758 Fix masking out of the most significant byte of random value used.
759
6e226b09
DM
760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
761
058c132d
AS
7622012-03-10 Andreas Schwab <schwab@linux-m68k.org>
763
764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
765
2d2cd515
DM
7662012-03-09 David S. Miller <davem@davemloft.net>
767
768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
769 variables with appropriate CPP guards.
770 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
771 frame pointer, not the stack pointer. Correct layout comments. Fix test
772 on resulting framesize and the management of the outregs buffer for pltexit.
773 Preserve floating point return values across _dl_call_pltexit call.
774 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
775 framesize and the management of the outregs buffer for pltexit.
776 Preserve floating point return values across _dl_call_pltexit
777 call.
778 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
779 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
780 (print_exit): Fix format string for return register value.
781
9a07f9d0
JM
7822012-03-10 Joseph Myers <joseph@codesourcery.com>
783
784 * sunrpc/Makefile (others): Add rpcgen.
785 ($(objpfx)rpcgen): Remove special build rule and dependency on
786 libc.
787 * sunrpc/rpcgen.c: New file.
788
547b5e30
PE
7892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
790
c524201a
PE
791 [BZ #13673]
792 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
793 * stdio-common/bug-vfprintf-nargs.c: Likewise.
794 * sysdeps/i386/crti.S: Likewise.
795 * sysdeps/i386/crtn.S: Likewise.
796 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
797 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
798 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
799 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
800 * sysdeps/sh/crti.S: Likewise.
801 * sysdeps/sh/crtn.S: Likewise.
802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
803
7b6235f2
PE
804 [BZ #13673]
805 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
806 with URL.
807 * locale/programs/locfile-kw.gperf: Likewise.
808 * locale/programs/charmap-kw.h: Regenerated.
809 * locale/programs/locfile-kw.h: Likewise.
810
547b5e30
PE
811 [BZ #13673]
812 * intl/plural.y: Replace FSF snail mail address with URL.
813 * intl/plural.c: Regenerated.
814
5f0a5dae
RH
8152012-03-09 Richard Henderson <rth@twiddle.net>
816
817 * include/math_private.h: Remove file.
818 * math/math_private.h: Move file ...
819 * sysdeps/generic/math_private.h: ... here.
820
b8c03620
RH
821 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
822 * sysdeps/powerpc/fpu/math_private.h: Likewise.
823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
824
4e234f5d 825 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
826 and <math_private.h>.
827 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
828 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
832 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
851 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
867 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
868 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
869 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
873 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
878 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
886 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
888 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
890 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
891 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
901 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
914 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
935 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
937 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
938 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
940 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
948 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
951 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
954 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
965 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
966 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
970 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
971 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
972 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
973 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
975 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
976 * sysdeps/ieee754/k_standard.c: Likewise.
977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
996 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
997 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
998 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1002 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1012 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1014 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1015 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1016 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1017 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1018 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1020 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1022 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1030 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1033 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1034 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1038 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1043 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1050 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1074 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1076 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1084 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1102 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1110 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1114 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1116 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1117 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1119 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1126 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1131 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1133 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1134 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1137 * sysdeps/ieee754/s_lib_version.c: Likewise.
1138 * sysdeps/ieee754/s_matherr.c: Likewise.
1139 * sysdeps/ieee754/s_signgam.c: Likewise.
1140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1143 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1146 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1147 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1148 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1149 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1151 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1152 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1153 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1161
1991fa03
JM
11622012-03-09 Joseph Myers <joseph@codesourcery.com>
1163
1164 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1165 * sunrpc/rpc_main.c: Likewise.
1166 * sunrpc/rpc_svcout.c: Likewise.
1167
60d6f5a6
DM
11682012-03-09 David S. Miller <davem@davemloft.net>
1169
1170 * include/math_private.h: New file.
1171
4962050e
JM
11722012-03-09 Joseph Myers <joseph@codesourcery.com>
1173
02a6f887
JM
1174 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1175 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1176 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1177 from <bits/socket_type.h>.
1178 (enum __socket_type): Don't define here.
1179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1181 bits/socket_type.h.
1182
c6e013c1
JM
1183 [BZ #13566]
1184 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1185 checking __USE_GNU.
1186
4962050e
JM
1187 * Makerules ($(inst_includedir)/%.h): New rule.
1188 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1189 (install-others): Remove variable setting.
1190 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1191
38842f45
RH
11922012-03-08 Richard Henderson <rth@twiddle.net>
1193
67bb6da6
RH
1194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1195 from macro to inline function; merge with the
1196 !__LIBC_INTERNAL_MATH_INLINES version.
1197 (__ieee754_sqrtf): Likewise.
1198
15194b4b
RH
1199 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1200 to inline function.
1201 (__rintf, __floor, __floorf): Likewise.
1202
64e21ede
RH
1203 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1204 macro to inline function.
1205 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1206
38842f45
RH
1207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1208 not <math/math_private.h>.
1209
c64bf5fe
DM
12102012-03-08 David S. Miller <davem@davemloft.net>
1211
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1213 copyright year.
1214 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1215
82d86f28
TS
12162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1217
1218 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1219 normalization.
1220 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1221 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1222
aea5d727
UD
12232012-03-08 Ulrich Drepper <drepper@gmail.com>
1224
1225 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1226 be defined individually, they must be defined as a block. Define
1227 S for printing a string instead of hidint the different by using a
1228 macro for adding the 'l'.
1229 * stdio-common/tst-fphex-wide.c: Adjust.
1230
70bca0a3
MP
12312012-03-07 Marek Polacek <polacek@redhat.com>
1232
1233 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1234
65b81130
MP
12352012-03-08 Marek Polacek <polacek@redhat.com>
1236
1237 [BZ #13806]
1238 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1239 * stdio-common/tst-fphex.c: Define a few macros to make the
1240 test reusable. Use them.
1241 * stdio-common/tst-fphex-wide.c: New file.
1242
07037eeb
JM
12432012-03-08 Joseph Myers <joseph@codesourcery.com>
1244
a7a93d50
JM
1245 [BZ #6911]
1246 * manual/macros.texi (gnusystems): New macro.
1247 (nongnusystems): Likewise.
1248 (gnulinuxhurdsystems): Likewise.
1249 (gnuhurdsystems): Likewise..
1250 (gnulinuxsystems): Likewise.
1251 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1252 variants of the GNU system, not "GNU system".
1253 * manual/conf.texi: Likewise.
1254 * manual/errno.texi: Likewise. Update example of errno macro
1255 expansion.
1256 * manual/filesys.texi: Likewise.
1257 (getumask): Document as specific to GNU/Hurd.
1258 * manual/install.texi: Likewise. Reword some references to
1259 GNU/Linux.
1260 * manual/intro.texi: Likewise.
1261 * manual/io.texi: Likewise.
1262 (File Name Portability): Detail which constraints are inapplicable
1263 to all GNU systems and which are only inapplicable to GNU/Hurd.
1264 * manual/job.texi: Likewise.
1265 * manual/llio.texi: Likewise.
1266 (O_NOCTTY): Document as present on GNU/Linux.
1267 * manual/maint.texi: Likewise.
1268 * manual/memory.texi: Likewise.
1269 * manual/pattern.texi: Likewise.
1270 * manual/pipe.texi: Likewise.
1271 * manual/process.texi: Likewise.
1272 * manual/resource.texi: Likewise.
1273 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1274 child on GNU/Hurd.
1275 * manual/setjmp.texi: Likewise.
1276 * manual/signal.texi: Likewise.
1277 * manual/startup.texi: Likewise.
1278 * manual/stdio.texi: Likewise.
1279 * manual/terminal.texi: Likewise.
1280 (ONLCR): Document as POSIX.
1281 (OXTABS): Document availability on GNU/Linux as XTABS.
1282 (ONOEOT): Document availability separately from other bits.
1283 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1284 * manual/time.texi: Likewise.
1285 * manual/users.texi: Likewise.
1286 * INSTALL: Regenerated.
1287 * sysdeps/gnu/errlist.c: Regenerated.
1288
07037eeb
JM
1289 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1290 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1291 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1292 puts.
1293 * configure: Regenerated.
1294
d1d3431a
JM
12952012-03-07 Joseph Myers <joseph@codesourcery.com>
1296
af6a1e37
JM
1297 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1298 default includes instead of AC_HEADER_CHECK.
1299 * sysdeps/i386/configure: Regenerated.
1300
d1d3431a
JM
1301 [BZ #10716]
1302 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1303 * math/s_cacoshf.c (__cacoshf): Likewise.
1304 * math/s_cacoshl.c (__cacoshl): Likewise.
1305 * math/s_casinh.c (__casinh): Set signs of result from argument.
1306 * math/s_casinhf.c (__casinhf): Likewise.
1307 * math/s_casinhl.c (__casinhl): Likewise.
1308 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1309 (casinh_test): Add more tests.
1310 * sysdeps/i386/fpu/libm-test-ulps: Update.
1311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1312
482ff4da
UD
13132012-03-07 Ulrich Drepper <drepper@gmail.com>
1314
872fda05
UD
1315 * po/zh_TW.po: Update from translation team.
1316
a4300c7a
UD
1317 * login/Makefile (distribute): Remove variable.
1318 * catgets/Makefile: Likewise.
1319 * mach/Makefile: Likewise.
1320 * malloc/Makefile: Likewise.
1321 * misc/Makefile: Likewise.
1322 * iconv/Makefile: Likewise.
1323 * nscd/Makefile: Likewise.
1324 * hurd/Makefile: Likewise.
1325 * manual/Makefile: Likewise.
1326 * locale/Makefile: Likewise.
1327 * intl/Makefile: Likewise.
1328 * conform/Makefile: Likewise.
1329 * nss/Makefile: Likewise.
1330 * time/Makefile: Likewise.
1331 * soft-fp/Makefile: Likewise.
1332 * dirent/Makefile: Likewise.
1333 * gmon/Makefile: Likewise.
1334 * po/Makefile: Likewise.
1335 * rt/Makefile: Likewise.
1336 * socket/Makefile: Likewise.
1337 * math/Makefile: Likewise.
1338 * signal/Makefile: Likewise.
1339 * debug/Makefile: Likewise.
1340 * elf/Makefile: Likewise.
1341 * timezone/Makefile: Likewise.
1342 * stdlib/Makefile: Likewise.
1343 * iconvdata/Makefile: Likewise.
1344 * sunrpc/Makefile: Likewise.
1345 * io/Makefile: Likewise.
1346 * argp/Makefile: Likewise.
1347 * inet/Makefile: Likewise.
1348 * hesiod/Makefile: Likewise.
1349 * grp/Makefile: Likewise.
1350 * csu/Makefile: Likewise.
1351 * wctype/Makefile: Likewise.
1352 * crypt/Makefile: Likewise.
1353 * libio/Makefile: Likewise.
1354 * string/Makefile: Likewise.
1355 * nis/Makefile: Likewise.
1356 * resolv/Makefile: Likewise.
1357 * stdio-common/Makefile: Likewise.
1358 * wcsmbs/Makefile: Likewise.
1359 * dlfcn/Makefile: Likewise.
1360 * posix/Makefile: Likewise.
1361
482ff4da
UD
1362 * timezone/Makefile: Don't install timezone files, just the programs
1363 and scripts.
1364
f72ed77d
UD
13652012-03-06 Ulrich Drepper <drepper@gmail.com>
1366
a000466f
UD
1367 * nss/databases.def: Add missing gshadow entry.
1368
f72ed77d
UD
1369 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1370
a53b7a4e
MP
13712012-03-06 Marek Polacek <polacek@redhat.com>
1372
1373 [BZ #13726]
1374 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1375 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1376 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1377 * stdio-common/tst-long-dbl-fphex.c: New file.
1378
e9258400
DM
13792012-03-06 David S. Miller <davem@davemloft.net>
1380
1381 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1382 (set_obp_int): New function.
1383 (get_obp_int): New function.
1384 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1385 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1386 Avoid unused variable warnings on 'val' and use builtin_expect.
1387 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1388 __builtin_expect.
e9258400
DM
1389 (INLINE_CLONE_SYSCALL): Likewise.
1390
3bd2c723
DM
13912012-03-05 David S. Miller <davem@davemloft.net>
1392
1393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1394
bbb78d03
AS
13952012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1396
884c5db4
AS
1397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1398
bbb78d03
AS
1399 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1400 only for |x| >= 40.
1401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1402
1c9f702a 14032012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1404
1405 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1406 Replace gettimeofday with __vdso_gettimeofday.
1407
7be16f82
RM
1408 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1409 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1410 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1411
1412 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1413 time with __vdso_time.
1414
ed58a00f
JM
14152012-03-05 Joseph Myers <joseph@codesourcery.com>
1416
1417 * manual/lang.texi (size_t): Note types to which size_t may be
1418 equivalent with the GNU C Library, but do not describe when
1419 differences between them are significant.
1420
30ee4ced
AJ
14212012-03-05 Andreas Jaeger <aj@suse.de>
1422
1423 * sysdeps/i386/fpu/libm-test-ulps: Update.
1424
b7cd39e8
JM
14252012-03-05 Joseph Myers <joseph@codesourcery.com>
1426
1427 [BZ #3976]
1428 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1429 (__ieee754_pow): Save and restore rounding mode and use
1430 round-to-nearest for main computations.
1431 * math/libm-test.inc (pow_test_tonearest): New function.
1432 (pow_test_towardzero): Likewise.
1433 (pow_test_downward): Likewise.
1434 (pow_test_upward): Likewise.
1435 (main): Call the new functions.
1436 * sysdeps/i386/fpu/libm-test-ulps: Update.
1437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1438
1439 [BZ #3976]
1440 * math/libm-test.inc (cosh_test_tonearest): New function.
1441 (cosh_test_towardzero): Likewise.
1442 (cosh_test_downward): Likewise.
1443 (cosh_test_upward): Likewise.
1444 (sinh_test_tonearest): Likewise.
1445 (sinh_test_towardzero): Likewise.
1446 (sinh_test_downward): Likewise.
1447 (sinh_test_upward): Likewise.
1448 (main): Call the new functions.
1449 * sysdeps/i386/fpu/libm-test-ulps: Update.
1450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1451
6c6a98c9
TV
14522012-03-05 Tom de Vries <tom@codesourcery.com>
1453
1454 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1455 default stack guard is set in last bytes.
1456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1457
21bb2d2e 14582012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1459
21bb2d2e 1460 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1461
21bb2d2e
AJ
1462 [BZ #13656]
1463 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1464 possibly allocate from heap instead of stack.
1465 * stdio-common/bug-vfprintf-nargs.c: New file.
1466 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1467
c6922934
AS
14682012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1469
1470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1471
bc957d53
MP
14722012-03-03 Marek Polacek <polacek@redhat.com>
1473
1474 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1475 * math/math_private.h: Likewise.
1476 * stdlib/tst-strtod.c: Likewise.
1477 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1478 * sysdeps/x86_64/bits/atomic.h: Likewise.
1479
6358490d
DM
14802012-03-02 David S. Miller <davem@davemloft.net>
1481
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1486 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1487 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1488 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1489 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1490
01ae168d
RM
14912012-03-02 Roland McGrath <roland@hack.frob.com>
1492
d9a17c07
RM
1493 [BZ #13792]
1494 * manual/examples/README: New file, says the example source files
1495 can be used under GPL>=2.
1496 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1497 line containing just "*/".
1498 * manual/examples/add.c: Add copyright header (GPL>=2).
1499 * manual/examples/argp-ex1.c: Likewise.
1500 * manual/examples/argp-ex2.c: Likewise.
1501 * manual/examples/argp-ex3.c: Likewise.
1502 * manual/examples/argp-ex4.c: Likewise.
1503 * manual/examples/atexit.c: Likewise.
1504 * manual/examples/db.c: Likewise.
1505 * manual/examples/dir.c: Likewise.
1506 * manual/examples/dir2.c: Likewise.
1507 * manual/examples/execinfo.c: Likewise.
1508 * manual/examples/filecli.c: Likewise.
1509 * manual/examples/filesrv.c: Likewise.
1510 * manual/examples/fmtmsgexpl.c: Likewise.
1511 * manual/examples/genpass.c: Likewise.
1512 * manual/examples/inetcli.c: Likewise.
1513 * manual/examples/inetsrv.c: Likewise.
1514 * manual/examples/isockad.c: Likewise.
1515 * manual/examples/longopt.c: Likewise.
1516 * manual/examples/memopen.c: Likewise.
1517 * manual/examples/memstrm.c: Likewise.
1518 * manual/examples/mkfsock.c: Likewise.
1519 * manual/examples/mkisock.c: Likewise.
1520 * manual/examples/mygetpass.c: Likewise.
1521 * manual/examples/pipe.c: Likewise.
1522 * manual/examples/popen.c: Likewise.
1523 * manual/examples/rprintf.c: Likewise.
1524 * manual/examples/search.c: Likewise.
1525 * manual/examples/select.c: Likewise.
1526 * manual/examples/setjmp.c: Likewise.
1527 * manual/examples/sigh1.c: Likewise.
1528 * manual/examples/sigusr.c: Likewise.
1529 * manual/examples/stpcpy.c: Likewise.
1530 * manual/examples/strdupa.c: Likewise.
1531 * manual/examples/strftim.c: Likewise.
1532 * manual/examples/strncat.c: Likewise.
1533 * manual/examples/subopt.c: Likewise.
1534 * manual/examples/swapcontext.c: Likewise.
1535 * manual/examples/termios.c: Likewise.
1536 * manual/examples/testopt.c: Likewise.
1537 * manual/examples/testpass.c: Likewise.
1538 * manual/examples/timeval_subtract.c: Likewise.
1539
01ae168d
RM
1540 [BZ #13792]
1541 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1542 function to ...
1543 * manual/timeval_subtract.c.texi: ... here, new file.
1544
49efa33d
DM
15452012-03-02 David S. Miller <davem@davemloft.net>
1546
1547 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1548
28afd92d
JM
15492012-03-02 Joseph Myers <joseph@codesourcery.com>
1550
804360ed
JM
1551 [BZ #3976]
1552 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1553 (__sin): Save and restore rounding mode and use round-to-nearest
1554 for all computations.
1555 (__cos): Save and restore rounding mode and use round-to-nearest
1556 for all computations.
1557 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1558 <fenv.h>.
1559 (tan): Save and restore rounding mode and use round-to-nearest for
1560 all computations.
1561 * math/libm-test.inc (cos_test_tonearest): New function.
1562 (cos_test_towardzero): Likewise.
1563 (cos_test_downward): Likewise.
1564 (cos_test_upward): Likewise.
1565 (sin_test_tonearest): Likewise.
1566 (sin_test_towardzero): Likewise.
1567 (sin_test_downward): Likewise.
1568 (sin_test_upward): Likewise.
1569 (tan_test_tonearest): Likewise.
1570 (tan_test_towardzero): Likewise.
1571 (tan_test_downward): Likewise.
1572 (tan_test_upward): Likewise.
1573 (main): Call the new functions.
1574 * sysdeps/i386/fpu/libm-test-ulps: Update.
1575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1576
a6d06d7b
JM
1577 [BZ #10135]
1578 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1579 small n, then large n, before computing and testing k+n.
1580 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1582 Likewise.
1583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1584 Likewise.
1585 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1586 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1587 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1588 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1591 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1592 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1593 * math/libm-test.inc (scalbn_test): Add more tests.
1594 (scalbln_test): Likewise.
1595
07e12bb3
JM
1596 * manual/filesys.texi (mode_t): Describe constraints on size and
1597 signedness, not exact equivalence to a particular type.
1598 (ino_t): Likewise.
1599 (ino64_t): Likewise.
1600 (dev_t): Likewise.
1601 (nlink_t): Likewise.
1602 (blkcnt_t): Likewise.
1603 (blkcnt64_t): Likewise.
1604 * manual/llio.texi (off_t): Likewise.
1605
28afd92d
JM
1606 [BZ #3976]
1607 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1608 (__ieee754_exp): Save and restore rounding mode and use
1609 round-to-nearest for all computations.
1610 * math/libm-test.inc (exp_test_tonearest): New function.
1611 (exp_test_towardzero): Likewise.
1612 (exp_test_downward): Likewise.
1613 (exp_test_upward): Likewise.
1614 (main): Call the new functions.
1615 * sysdeps/i386/fpu/libm-test-ulps: Update.
1616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1617
b1eeb65d
CD
16182012-03-01 Chris Demetriou <cgd@google.com>
1619
1620 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1621 have predictable order.
1622
53362a4b
DM
16232012-03-01 David S. Miller <davem@davemloft.net>
1624
3c969083
DM
1625 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1626
759707de
DM
1627 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1628 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1629 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1630 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1631
dfdb8ff2
DM
1632 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1633 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1634 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1636 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1637 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1638 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1639 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1640 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1641
ead89f96
DM
1642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1643
7f66bd07
DM
1644 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1645 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1646 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1647
53362a4b
DM
1648 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1649 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1650 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1651 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1652 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1653 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1655 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1656 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1657 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1658 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1659 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1661 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1662 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1664 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1665 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1666 * sysdeps/sparc/elf/configure: Regenerated.
1667
7b1902cb
JM
16682012-03-01 Joseph Myers <joseph@codesourcery.com>
1669
bec039bc
JM
1670 * configure.in (AS, LD): Require binutils 2.20 or later.
1671 * configure: Regenerated.
1672 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1673 as required minimum version.
1674 * INSTALL: Regenerated.
1675
7b1902cb
JM
1676 [BZ #2541]
1677 [BZ #4108]
1678 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1679 before squaring exponent.
1680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1681 bottom long double and 27 bits of top long double before squaring
1682 exponent.
1683 * math/libm-test.inc (erfc_test): Add more tests.
1684 * sysdeps/i386/fpu/libm-test-ulps: Update.
1685 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1687
f775c276
KT
16882012-03-01 Kai Tietz <ktietz@redhat.com>
1689
1690 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1691 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1692 containing bit-fields.
1693 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1694 * soft-fp/single.h (_FP_UNION_S): Likewise.
1695 * soft-fp/double.h (_FP_UNION_D): Likewise.
1696
5b8a4d4a
JM
16972012-02-29 Joseph Myers <joseph@codesourcery.com>
1698
0bab47b6
JM
1699 [BZ #13786]
1700 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1701 not include ../strcmp.S.
1702 [USE_AS_STRNCASECMP_L]: Likewise.
1703 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1704 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1705 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1706 (__strncasecmp_l_ia32): Define as alias to
1707 __strncasecmp_l_nonascii.
1708
0fcad3e2
JM
1709 [BZ #5794]
1710 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1711 * sysdeps/i386/fpu/libm-test-ulps: Update.
1712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1713
5b8a4d4a
JM
1714 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1716
8fdceb2e
JL
17172012-02-29 Jeff Law <law@redhat.com>
1718
1719 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1720 out of bounds read.
1721
1f393a11
MP
17222012-02-29 Marek Polacek <polacek@redhat.com>
1723
1724 [BZ #13706]
1725 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1726 * elf/Makefile: Add rules to run tst-unused-dep.out.
1727
8847f037
DM
17282012-02-28 David S. Miller <davem@davemloft.net>
1729
1730 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1731 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1734 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1735 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1736
169d7f11
JM
17372012-02-29 Joseph Myers <joseph@codesourcery.com>
1738
1739 * math/libm-test.inc (llround_test): Move one test from
1740 lround_test. Use TEST_f_L in moved test.
1741 (lround_test): Move misplaced test to llround_test. Add testcase
1742 from bug 2561.
1743
39adf059
UD
17442012-02-28 Ulrich Drepper <drepper@gmail.com>
1745
1746 * sysdeps/x86_64/fpu/e_expf.S: New file.
1747 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1748
71b5d1c5
SB
17492012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1750
1751 [BZ #13637]
1752 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1753 of remain_len that may cause incomplete multi-byte character and
1754 false match.
1755 * posix/bug-regex33.c: New file.
1756 * posix/Makefile (tests): Add bug-regex33.
1757
1f77f049
JM
17582012-02-28 Joseph Myers <joseph@codesourcery.com>
1759
1760 * manual/macros.texi: New file.
1761 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1762 * manual/libc.texinfo: Include macros.texi.
1763 * manual/creatute.texi: Likewise.
1764 * manual/install.texi: Likewise.
1765 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1766 @glibcadj{} in references to the GNU C Library.
1767 * manual/charset.texi: Likewise.
1768 * manual/conf.texi: Likewise.
1769 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1770 when not using those macros.
1771 * manual/creature.texi: Likewise.
1772 * manual/crypt.texi: Likewise.
1773 * manual/errno.texi: Likewise.
1774 * manual/filesys.texi: Likewise.
1775 * manual/header.texi: Likewise.
1776 * manual/install.texi: Likewise.
1777 * manual/intro.texi: Likewise.
1778 * manual/io.texi: Likewise.
1779 * manual/job.texi: Likewise.
1780 * manual/lang.texi: Likewise.
1781 * manual/libc.texiinfo: Likewise.
1782 * manual/llio.texi: Likewise.
1783 * manual/locale.texi: Likewise.
1784 * manual/maint.texi: Likewise.
1785 * manual/math.texi: Likewise.
1786 * manual/memory.texi: Likewise.
1787 * manual/message.texi: Likewise.
1788 * manual/nss.texi: Likewise.
1789 * manual/pattern.texi: Likewise.
1790 * manual/process.texi: Likewise.
1791 * manual/resource.texi: Likewise.
1792 * manual/search.texi: Likewise.
1793 * manual/setjmp.texi: Likewise.
1794 * manual/signal.texi: Likewise.
1795 * manual/socket.texi: Likewise.
1796 * manual/startup.texi: Likewise.
1797 * manual/stdio.texi: Likewise.
1798 * manual/string.texi: Likewise.
1799 * manual/sysinfo.texi: Likewise.
1800 * manual/syslog.texi: Likewise.
1801 * manual/terminal.texi: Likewise.
1802 * manual/time.texi: Likewise.
1803 * manual/users.texi: Likewise.
1804 * INSTALL: Regenerated.
1805 * NOTES: Regenerated.
d40c5d54 1806 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1807
450bf206
AS
18082012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1809
1810 * include/dirent.h: Include <dirstream.h> before
1811 <dirent/dirent.h>.
1812
741a235b
DM
18132012-02-28 David S. Miller <davem@davemloft.net>
1814
1815 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1816 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1817 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1818 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1819
d6b5aa58
DM
18202012-02-27 David S. Miller <davem@davemloft.net>
1821
1aff59a3
DM
1822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1824 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1825 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1826
d6b5aa58
DM
1827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1828 frame pointer instead of stack pointer relative arg slot.
1829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1830 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1831 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1832
433f48bf
CD
18332012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1834
1835 [BZ #3992]
1836 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1837
d674b76d
DM
18382012-02-27 David S. Miller <davem@davemloft.net>
1839
1840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1844 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1845 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1846 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1847 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1848
0e7727f7
JM
18492012-02-27 Joseph Myers <joseph@codesourcery.com>
1850
1851 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1852 later. Allow versions 5-9.
43be4ca2 1853 * configure: Regenerated.
0e7727f7
JM
1854 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1855 required minimum version and 4.6 as recommended version. Do not
1856 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1857 * INSTALL: Regenerated.
0e7727f7 1858
a78bc654
DM
18592012-02-27 David S. Miller <davem@davemloft.net>
1860
428d5830
DM
1861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1865 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1866 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1867 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1868 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1869
a78bc654
DM
1870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1871 manipulate bits before adding and subtracting TWO112[sx].
1872 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1873
4579f81c
RM
18742012-02-27 Roland McGrath <roland@hack.frob.com>
1875
36c8acb4
RM
1876 [BZ #13775]
1877 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1878 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1879 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1880 being in POSIX, because they are in 1003.1-2008.
1881
84ad622b
RM
1882 * rt/tst-aio.c: Include <fcntl.h>.
1883 * rt/tst-aio7.c: Likewise.
1884 * rt/tst-aio64.c: Likewise.
1885
4579f81c
RM
1886 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1887
abd923db
JM
18882012-02-27 Joseph Myers <joseph@codesourcery.com>
1889
1890 * manual/install.texi (--with-headers): Describe headers as
1891 interface headers, not private headers.
1892 (Specific advice for GNU/Linux systems): Describe use of headers
1893 from "make headers_install", not private headers from older
1894 kernels.
43be4ca2 1895 * INSTALL: Regenerated.
abd923db
JM
1896 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1897 Change to 2.6.19.
1898 * sysdeps/unix/sysv/linux/configure: Regenerated.
1899
6664049b
JM
1900 * manual/llio.texi (fclean): Remove documentation.
1901
bb8b6697
JM
1902 * manual/Makefile (libc-texi-generated): New variable. Include
1903 version.texi.
1904 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1905 $(libc-texi-generated), not duplicated list of files.
1906 (version.texi, stamp-version): New rules.
1907 (realclean): Remove $(libc-texi-generated), not individual files
1908 from that list. Do not remove dir-add.texinfo.
1909 * manual/libc.texinfo: Comment out uses of edition numbers and
1910 references to printed manual. Remove last-updated dates.
1911 (EDITION): Comment out.
1912 (ISBN): Likewise.
1913 (VERSION, UPDATED): Remove.
1914 (version.texi): Include.
1915
12e5c3b9
AS
19162012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1917
1918 * sysdeps/posix/spawni.c: Include <signal.h>.
1919 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1920 * sysdeps/pthread/aio_fsync.c: Likewise.
1921
4efeffc1 19222012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1923
ba63ba08
UD
1924 * conform/Makefile (tests): Run only when not cross-compiling and
1925 when fast-check is not defined.
1926
d94a4670
UD
1927 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1928 * conform/data/limits.h-data: Fixes for POSIX2008.
1929 * conform/run-conformtest.sh: Run all tests.
1930 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1931 headers.
1932 * include/bits/dlfcn.h: Likewise.
1933 * include/langinfo.h: Likewise.
1934 * include/monetary.h: Likewise.
1935 * include/sys/poll.h: Likewise.
1936
1937 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1938 for __USE_GNU.
1939 * posix/spawn.h: Define __need_sigset_t.
1940 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1941 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1942 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1943 to get sigevent_t only.
1944 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1945 only for __USE_GNU.
1946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1947 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1948 process_vm_writev only for __USE_GNU.
1949 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1950
1951 * conform/Makefile: For now ignore errors from run-conformtest.
1952 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1953 POSIX to avoid namespace pollution. Don't prepend headers.
1954 * conform/data/aio.h-data: Fixes for POSIX testing.
1955 * conform/data/fcntl.h-data: Likewise.
1956 * conform/data/glob.h-data: Likewise.
1957 * conform/data/grp.h-data: Likewise.
1958 * conform/data/pthread.h-data: Likewise.
1959 * conform/data/pwd.h-data: Likewise.
1960 * conform/data/signal.h-data: Likewise.
1961 * conform/data/spawn.h-data: Likewise.
1962 * conform/data/stdio.h-data: Likewise.
1963 * conform/data/stdlib.h-data: Likewise.
1964 * conform/data/stropts.h-data: Likewise.
1965 * conform/data/sys/mman.h-data: Likewise.
1966 * conform/data/sys/stat.h-data: Likewise.
1967 * conform/data/sys/types.h-data: Likewise.
1968 * conform/data/sys/wait.h-data: Likewise.
1969 * conform/data/time.h-data: Likewise.
1970 * conform/data/unistd.h-data: Likewise.
1971 * conform/data/utime.h-data: Likewise.
1972
1973 * io/sys/stat.h: fchmod was always in POSIX.
1974 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1975 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1976 * rt/aio.h: Define __need_timespec before including <time.h>.
1977 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1978 struct. Add forward declaration of pthread_attr_t and use it in
1979 sigevent.
1980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1981 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1982 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1983 always remove CLK_TCK definition.
1984
c20105c3
AS
19852012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1986
1987 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1988
7a270350
UD
19892012-02-25 Ulrich Drepper <drepper@gmail.com>
1990
31341567
UD
1991 * conform/run-conformtest.sh: New file.
1992 * conform/Makefile: Run run-conformtest for tests.
1993 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1994 support.
1995
1996 * conform/data/uchar.h-data: New file.
1997 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1998 * conform/data/arpa/inet.h-data: Likewise.
1999 * conform/data/assert.h-data: Likewise.
2000 * conform/data/complex.h-data: Likewise.
2001 * conform/data/cpio.h-data: Likewise.
2002 * conform/data/ctype.h-data: Likewise.
2003 * conform/data/dirent.h-data: Likewise.
2004 * conform/data/dlfcn.h-data: Likewise.
2005 * conform/data/errno.h-data: Likewise.
2006 * conform/data/fcntl.h-data: Likewise.
2007 * conform/data/float.h-data: Likewise.
2008 * conform/data/fmtmsg.h-data: Likewise.
2009 * conform/data/fnmatch.h-data: Likewise.
2010 * conform/data/ftw.h-data: Likewise.
2011 * conform/data/glob.h-data: Likewise.
2012 * conform/data/grp.h-data: Likewise.
2013 * conform/data/iconv.h-data: Likewise.
2014 * conform/data/inttypes.h-data: Likewise.
2015 * conform/data/langinfo.h-data: Likewise.
2016 * conform/data/libgen.h-data: Likewise.
2017 * conform/data/limits.h-data: Likewise.
2018 * conform/data/locale.h-data: Likewise.
2019 * conform/data/math.h-data: Likewise.
2020 * conform/data/monetary.h-data: Likewise.
2021 * conform/data/mqueue.h-data: Likewise.
2022 * conform/data/ndbm.h-data: Likewise.
2023 * conform/data/net/if.h-data: Likewise.
2024 * conform/data/netdb.h-data: Likewise.
2025 * conform/data/netinet/in.h-data: Likewise.
2026 * conform/data/nl_types.h-data: Likewise.
2027 * conform/data/poll.h-data: Likewise.
2028 * conform/data/pthread.h-data: Likewise.
2029 * conform/data/pwd.h-data: Likewise.
2030 * conform/data/regex.h-data: Likewise.
2031 * conform/data/sched.h-data: Likewise.
2032 * conform/data/search.h-data: Likewise.
2033 * conform/data/semaphore.h-data: Likewise.
2034 * conform/data/setjmp.h-data: Likewise.
2035 * conform/data/signal.h-data: Likewise.
2036 * conform/data/spawn.h-data: Likewise.
2037 * conform/data/stdarg.h-data: Likewise.
2038 * conform/data/stdio.h-data: Likewise.
2039 * conform/data/stdlib.h-data: Likewise.
2040 * conform/data/string.h-data: Likewise.
2041 * conform/data/strings.h-data: Likewise.
2042 * conform/data/stropts.h-data: Likewise.
2043 * conform/data/sys/ipc.h-data: Likewise.
2044 * conform/data/sys/mman.h-data: Likewise.
2045 * conform/data/sys/msg.h-data: Likewise.
2046 * conform/data/sys/resource.h-data: Likewise.
2047 * conform/data/sys/select.h-data: Likewise.
2048 * conform/data/sys/sem.h-data: Likewise.
2049 * conform/data/sys/shm.h-data: Likewise.
2050 * conform/data/sys/socket.h-data: Likewise.
2051 * conform/data/sys/stat.h-data: Likewise.
2052 * conform/data/sys/statvfs.h-data: Likewise.
2053 * conform/data/sys/time.h-data: Likewise.
2054 * conform/data/sys/timeb.h-data: Likewise.
2055 * conform/data/sys/times.h-data: Likewise.
2056 * conform/data/sys/types.h-data: Likewise.
2057 * conform/data/sys/uio.h-data: Likewise.
2058 * conform/data/sys/un.h-data: Likewise.
2059 * conform/data/sys/utsname.h-data: Likewise.
2060 * conform/data/sys/wait.h-data: Likewise.
2061 * conform/data/syslog.h-data: Likewise.
2062 * conform/data/tar.h-data: Likewise.
2063 * conform/data/termios.h-data: Likewise.
2064 * conform/data/utime.h-data: Likewise.
2065 * conform/data/utmpx.h-data: Likewise.
2066 * conform/data/varargs.h-data: Likewise.
2067 * conform/data/wchar.h-data: Likewise.
2068 * conform/data/wctype.h-data: Likewise.
2069 * conform/data/wordexp.h-data: Likewise.
2070
2071 * include/stropts.h: New file.
2072 * include/uchar.h: New file.
2073 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2074 * include/assert.h: Likewise.
2075 * include/ctype.h: Likewise.
2076 * include/dirent.h: Likewise.
2077 * include/dlfcn.h: Likewise.
2078 * include/fcntl.h: Likewise.
2079 * include/fnmatch.h: Likewise.
2080 * include/glob.h: Likewise.
2081 * include/grp.h: Likewise.
2082 * include/libio.h: Likewise.
2083 * include/locale.h: Likewise.
2084 * include/math.h: Likewise.
2085 * include/net/if.h: Likewise.
2086 * include/netdb.h: Likewise.
2087 * include/netinet/in.h: Likewise.
2088 * include/pthread.h: Likewise.
2089 * include/pwd.h: Likewise.
2090 * include/regex.h: Likewise.
2091 * include/sched.h: Likewise.
2092 * include/search.h: Likewise.
2093 * include/setjmp.h: Likewise.
2094 * include/signal.h: Likewise.
2095 * include/stdio.h: Likewise.
2096 * include/stdlib.h: Likewise.
2097 * include/string.h: Likewise.
2098 * include/sys/cdefs.h: Likewise.
2099 * include/sys/mman.h: Likewise.
2100 * include/sys/msg.h: Likewise.
2101 * include/sys/resource.h: Likewise.
2102 * include/sys/select.h: Likewise.
2103 * include/sys/socket.h: Likewise.
2104 * include/sys/stat.h: Likewise.
2105 * include/sys/statvfs.h: Likewise.
2106 * include/sys/time.h: Likewise.
2107 * include/sys/times.h: Likewise.
2108 * include/sys/uio.h: Likewise.
2109 * include/sys/utsname.h: Likewise.
2110 * include/sys/wait.h: Likewise.
2111 * include/termios.h: Likewise.
2112 * include/time.h: Likewise.
2113 * include/ulimit.h: Likewise.
2114 * include/unistd.h: Likewise.
2115 * include/utime.h: Likewise.
2116 * include/wchar.h: Likewise.
2117 * include/wctype.h: Likewise.
2118 * include/wordexp.h: Likewise.
2119
2120 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2121
7a270350
UD
2122 * time/time.h: TIME_UTC must be a macro.
2123 Make timespec_get available for ISO C11 only as well.
2124
7724defc
UD
21252012-02-24 Ulrich Drepper <drepper@gmail.com>
2126
2127 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2128 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2129
6b1d1d46
JM
21302012-02-24 Joseph Myers <joseph@codesourcery.com>
2131
2132 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2133
0f8bbd69
JM
21342012-02-24 Joseph Myers <joseph@codesourcery.com>
2135
2136 * manual/texinfo.tex: Update to version 2012-01-19.16.
2137
66ab80bc
JM
21382012-02-24 Joseph Myers <joseph@codesourcery.com>
2139
2140 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2141
74981cc5
RM
21422012-02-24 Roland McGrath <roland@hack.frob.com>
2143
ee968201
RM
2144 [BZ #13738]
2145 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2146 * manual/fdl-1.3.texi: New file.
2147 * manual/fdl-1.1.texi: File removed.
2148
74981cc5
RM
2149 [BZ #13738]
2150 * manual/libc.texinfo (FDL_VERSION): New @set.
2151 Use it for mention of FDL in cover text.
2152 (Documentation License): Use it in @include file name.
2153
7bb764bc
JM
21542012-02-22 Joseph Myers <joseph@codesourcery.com>
2155 Roland McGrath <roland@hack.frob.com>
2156
2157 [BZ #5461]
2158 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2159 not LONG_LONG_MAX and LONG_LONG_MIN.
2160 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2161 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2162 name.
2163 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2164
6cbeae47
JM
21652012-02-22 Joseph Myers <joseph@codesourcery.com>
2166
2167 [BZ #2547]
2168 [BZ #11365]
2169 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2170 manipulate bits before adding and subtracting TWO23[sx].
2171 * math/libm-test.inc (nearbyint_test): Add more tests.
2172
fe45ce09
JM
21732012-02-22 Joseph Myers <joseph@codesourcery.com>
2174
2175 [BZ #2548]
2176 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2177 bits before adding and subtracting TWO23[sx].
2178 * math/libm-test.inc (rint_test): Add more tests.
2179 (rint_test_tonearest): Likewise.
2180 (rint_test_towardzero): Likewise.
2181 (rint_test_downward): Likewise.
2182 (rint_test_upward: Likewise.
2183
ff3b3d82
JM
21842012-02-22 Joseph Myers <joseph@codesourcery.com>
2185
2186 [BZ #10110]
2187 * include/stdc-predef.h: New file. Extracted from features.h.
2188 * include/features.h: Include stdc-predef.h.
2189 * Makefile (headers): Add stdc-predef.h.
2190 * CONFORMANCE (Compiler limitations): Update.
2191
ef0aab35
JM
21922012-02-22 Joseph Myers <joseph@codesourcery.com>
2193
2194 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2195
58639409
DM
21962012-02-21 David S. Miller <davem@davemloft.net>
2197
2198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2200
c0e70b25
DM
22012012-02-20 David S. Miller <davem@davemloft.net>
2202
2203 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2204 using a normal save/restore sequence, rather than allocating a
2205 dummy stack frame just to store a frame pointer and restore.
2206 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2207
fb06851d
JM
22082012-02-21 Joseph Myers <joseph@codesourcery.com>
2209
2210 * manual/install.texi: Fix stray word in line-wrapped comment.
2211
7a8b71c3
DM
22122012-02-20 David S. Miller <davem@davemloft.net>
2213
d510c123
DM
2214 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2215 both binutils and gcc support GOTDATA.
2216
0722d7c2
DM
2217 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2218 "rd %pc" in the PIC register setup sequences.
2219
3d2b3019
DM
2220 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2221 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2222 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2223 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2224 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2226 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2229 (SYSCALL_ERROR_HANDLER): Likewise.
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2231 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2233 (SYSCALL_ERROR_HANDLER): Likewise.
2234
c80098a9
DM
2235 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2236 (HAVE_GCC_GOTDATA): New.
2237 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2238 relocation support in both binutils and gcc.
2239 * sysdeps/sparc/elf/configure: Regenerate.
2240
3a2545a0
DM
2241 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2242 * sysdeps/sparc/sparc32/elf/configure: Delete.
2243 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2244 * sysdeps/sparc/sparc64/elf/configure: Delete.
2245 * sysdeps/sparc/elf/configure.in: New file.
2246 * sysdeps/sparc/elf/configure: Generate.
2247
7a8b71c3
DM
2248 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2249 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2250 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2251 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2252 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2253
f1e86fca
JM
22542012-02-21 Joseph Myers <joseph@codesourcery.com>
2255
2256 * manual/install.texi: Do not mention specific glibc version
2257 numbers.
2258 * manual/libc.texinfo (VERSION, UPDATED): Update.
2259 (@copying): Use @copyright{} and range of years.
2260
0e7dfaef
JM
22612012-02-21 Joseph Myers <joseph@codesourcery.com>
2262
2263 [BZ #13695]
2264 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2265 [crti.S not in sysdirs] (generated): Do not append.
2266 [crti.S not in sysdirs] (omit-deps): Likewise.
2267 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2268 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2269 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2270 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2271 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2272 Likewise.
2273 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2274 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2275 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2276 * csu/defs.awk: Remove file.
2277 * sysdeps/generic/initfini.c: Likewise.
2278 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2279 variable.
2280 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2281 Likewise.
2282
599af3ca
JM
22832012-02-20 Joseph Myers <joseph@codesourcery.com>
2284
2285 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2286 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2287 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2288 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2289 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2290 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2291 <bits/epoll.h>.
2292 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2293 (__EPOLL_PACKED): Define to empty if not defined by
2294 <bits/epoll.h>.
2295 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2297 bits/epoll.h.
2298
0e499750
JM
22992012-02-20 Joseph Myers <joseph@codesourcery.com>
2300
2301 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2302 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2303 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2304 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2305 <bits/timerfd.h>.
2306 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2308 bits/timerfd.h.
2309
5ad91f6e
JM
23102012-02-20 Joseph Myers <joseph@codesourcery.com>
2311
2312 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2313 in C locale.
2314 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2315 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2318
06b99b02
AJ
23192012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2320
2321 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2322 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2323
7638c0fd
AS
23242012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2325
2326 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2327 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2328 defined.
2329 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2330 Likewise.
2331 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2332 entry for 2.16.
2333
92221550
AJ
23342012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2335
2336 * math/w_acos.c: Use non-signaling floating-point comparisons.
2337 * math/w_acosf.c: Likewise.
2338 * math/w_acosh.c: Likewise.
2339 * math/w_acoshf.c: Likewise.
2340 * math/w_acoshl.c: Likewise.
2341 * math/w_acosl.c: Likewise.
2342 * math/w_asin.c: Likewise.
2343 * math/w_asinf.c: Likewise.
2344 * math/w_asinl.c: Likewise.
2345 * math/w_atanh.c: Likewise.
2346 * math/w_atanhf.c: Likewise.
2347 * math/w_atanhl.c: Likewise.
2348 * math/w_exp2.c: Likewise.
2349 * math/w_exp2f.c: Likewise.
2350 * math/w_exp2l.c: Likewise.
2351 * math/w_j0.c: Likewise.
2352 * math/w_j0f.c: Likewise.
2353 * math/w_j0l.c: Likewise.
2354 * math/w_j1.c: Likewise.
2355 * math/w_j1f.c: Likewise.
2356 * math/w_j1l.c: Likewise.
2357 * math/w_jn.c: Likewise.
2358 * math/w_jnf.c: Likewise.
2359 * math/w_log.c: Likewise.
2360 * math/w_log10.c: Likewise.
2361 * math/w_log10f.c: Likewise.
2362 * math/w_log10l.c: Likewise.
2363 * math/w_log2.c: Likewise.
2364 * math/w_log2f.c: Likewise.
2365 * math/w_log2l.c: Likewise.
2366 * math/w_logf.c: Likewise.
2367 * math/w_logl.c: Likewise.
2368 * math/w_sqrt.c: Likewise.
2369 * math/w_sqrtf.c: Likewise.
2370 * math/w_sqrtl.c: Likewise.
2371 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2372 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2373 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2374 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2375 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2376
ebaf36eb
JM
23772012-02-19 Joseph Myers <joseph@codesourcery.com>
2378
2379 [BZ #9739]
2380 * manual/string.texi (strnlen): Use correct parameter name in
2381 equivalent expression.
2382
71c254a6
JM
23832012-02-19 Joseph Myers <joseph@codesourcery.com>
2384
2385 [BZ #11174]
2386 * manual/users.texi (seteuid): Consistently use neweuid for
2387 argument name.
2388
16d2c631
JM
23892012-02-19 Joseph Myers <joseph@codesourcery.com>
2390
2391 [BZ #13704]
2392 * manual/nss.texi (Services in the NSS configuration): Correct
2393 list of services in example configuration file.
2394
cd837b09
NB
23952012-02-19 Nick Bowler <nbowler@draconx.ca>
2396
2397 [BZ #11322]
2398 * manual/arith.texi: Remove statements about negative zero
2399 behaving identically to zero.
2400
02c4bbad
JM
24012012-02-18 Joseph Myers <joseph@codesourcery.com>
2402
2403 [BZ #5993]
2404 * manual/install.texi: Do not document upgrading from libc5.
2405
366842e7
JM
24062012-02-18 Joseph Myers <joseph@codesourcery.com>
2407
2408 [BZ #4596]
2409 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2410
dd54084d
DM
24112012-02-18 David S. Miller <davem@davemloft.net>
2412
2413 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2414 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2415 %o7 across the call.
2416 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2417 instead.
2418 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2419 SETUP_PIC_REG_LEAF.
2420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2421 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2422 * sysdeps/sparc/crtn.S: Likewise.
2423
2bcc53a3
UD
24242012-02-17 Ulrich Drepper <drepper@gmail.com>
2425
2426 * aout/Makefile: Remove.
2427
09c093b5
RK
24282012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2429
2430 [BZ #13058]
2431 * manual/examples/argp-ex1.c (main): Format definition in GNU
2432 style.
2433 * manual/examples/argp-ex2.c (main): Likewise.
2434 * manual/examples/argp-ex3.c (main): Likewise.
2435 * manual/examples/argp-ex4.c (main): Likewise.
2436 * manual/examples/longopt.c (main): Use new-style prototype
2437 definition.
2438 * manual/examples/strncat.c (main): Specify return type and use
2439 (void) for arguments.
2440 * manual/examples/subopt.c (main): Use char **argv argument.
2441
2ee633a2
JM
24422012-02-17 Joseph Myers <joseph@codesourcery.com>
2443
2444 [BZ #5077]
2445 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2446 rounding modes.
2447
0520adde
FB
24482012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2449
2450 [BZ #6907]
2451 * manual/string.texi (strchr): Change when strchrnul is
2452 recommended.
2453
3f4081cd
DGM
24542012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2455
2456 [BZ #174]
2457 * manual/locale.texi (setlocale): Document LOCPATH.
2458
d1b10e78
JM
24592012-02-17 Joseph Myers <joseph@codesourcery.com>
2460
2461 [BZ #10210]
2462 * manual/process.texi (execle): Move @dots{} before last argument.
2463
79c6869c
PB
24642012-02-17 Paul Bolle <pebolle@tiscali.nl>
2465
2466 [BZ #12047]
2467 * manual/charset.texi (Generic Charset Conversion): Fix typo
2468 (LC_TYPE -> LC_CTYPE).
2469
cc6e48bc
NB
24702012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2471
2472 [BZ #5805]
2473 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2474 (scalbnf): Likewise.
2475 (scalbnl): Likewise.
2476 (scalbln): Likewise.
2477 (scalblnf): Likewise.
2478 (scalblnl): Likewise.
2479 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2480 (vwarnx): Likewise.
2481 (verr): Likewise.
2482 (verrx): Likewise.
2483 * manual/filesys.texi (telldir): Use braces around return type.
2484 * manual/llio.texi (mmap): Add space after comma.
2485 (mmap64): Likewise.
2486 * manual/math.texi (jn): Use @var{} on parameter names.
2487 (jnf): Likewise.
2488 (jnl): Likewise.
2489 (yn): Likewise.
2490 (ynf): Likewise.
2491 (ynl): Likewise.
2492 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2493 line.
2494 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2495 "...".
2496 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2497 (sched_get_priority_max): Likewise.
2498 * manual/signal.texi (sigvec): Add space after comma.
2499 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2500 names.
2501 (if_indextoname): Likewise.
2502 (if_freenameindex): Likewise.
2503 (sendto): Use ',' instead of '.' in prototype.
2504 * manual/startup.texi (syscall): Use @dots{} instead of literal
2505 "...".
2506 * manual/stdio.texi (__fpending): Separate initial words of
2507 paragraph from @deftypefun line.
2508 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2509 "...".
2510 (vsyslog): Use @var{} on parameter names.
2511 * manual/terminal.texi (stty): Use @var{} on parameter names.
2512 * manual/users.texi (getutmp): Use @var{} on parameter names.
2513 (getutmpx): Likewise.
2514
5b23062f
JM
25152012-02-17 Joseph Myers <joseph@codesourcery.com>
2516
2517 [BZ #6884]
2518 * manual/stdio.texi (fopen): Fix typos in description of
2519 ",ccs=STRING".
2520
8dee4833
AJ
25212012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2522
2523 [BZ #4026]
2524 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2525 get clock_id definition.
2526
9078ce93
TS
25272012-02-17 Thomas Schwinge <thomas@schwinge.name>
2528
2529 [BZ #4822]
2530 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2531 (madvise): Cast every argument to void on its own.
2532
3835c55f
JM
25332012-02-17 Joseph Myers <joseph@codesourcery.com>
2534
2535 [BZ #9902]
2536 * manual/startup.texi (Exit Status): Fix typo.
2537
35c47e37
JM
25382012-02-17 Joseph Myers <joseph@codesourcery.com>
2539
2540 [BZ #10140]
2541 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2542 * manual/examples/argp-ex2.c: Likewise.
2543 * manual/examples/argp-ex3.c: Likewise.
2544
e3b69ca7
RH
25452012-02-16 Richard Henderson <rth@redhat.com>
2546
2547 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2548 * sysdeps/s390/s390-32/initfini.c: Remove.
2549 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2550 * sysdeps/s390/s390-64/initfini.c: Remove.
2551
df83af67
KK
25522012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2553
2554 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2555 compiler output for sysdeps/generic/initfini.c.
2556 * sysdeps/sh/elf/initfini.c: Remove file.
2557
f63f3380
DM
25582012-02-16 David S. Miller <davem@davemloft.net>
2559
fb59b3a4
DM
2560 [BZ #11494]
2561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2562
f63f3380
DM
2563 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2564 * sysdeps/sparc/crti.S: New file.
2565 * sysdeps/sparc/crtn.S: New file.
2566 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2567 * sysdeps/sparc/sparc64/Makefile: Likewise.
2568
df6a4a4a
MF
25692012-02-15 Mike Frysinger <vapier@gentoo.org>
2570
6dd8f3dc 2571 [BZ #3335]
df6a4a4a
MF
2572 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2573
1cac7236
RM
25742012-02-15 Roland McGrath <roland@hack.frob.com>
2575
d2c736f8
RM
2576 [BZ #4822]
2577 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2578
1cac7236
RM
2579 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2580 (write, read, close): Likewise.
2581 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2582
8e475601
JM
25832012-02-15 Joseph Myers <joseph@codesourcery.com>
2584
2585 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2586 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2588 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2589 <bits/signalfd.h>.
2590 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2592 bits/signalfd.h.
2593
ed656b40
MP
25942012-02-14 Marek Polacek <polacek@redhat.com>
2595
2596 * sysdeps/x86_64/crti.S: New file.
2597 * sysdeps/x86_64/crtn.S: New file.
2598 * sysdeps/x86_64/elf/initfini.c: Remove file.
2599
2a979d3a
JM
26002012-02-13 Joseph Myers <joseph@codesourcery.com>
2601
2602 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2603 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2604 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2605 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2606 <bits/inotify.h>.
2607 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2609 bits/inotify.h.
2610
2a418ac3
JM
26112012-02-13 Joseph Myers <joseph@codesourcery.com>
2612
2613 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2614 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2615 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2616 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2617 <bits/eventfd.h>.
2618 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2620 bits/eventfd.h.
2621
fb779be7
TS
26222012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2623
e19e83c5
RM
2624 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2625 __feraiseexcept instead of feraiseexcept.
7c35ffed 2626
fb779be7
TS
2627 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2628 nanosleep invocations.
2629 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2630 strings, and add error checking for a nanosleep invocations.
2631
59ba27a6
PE
26322012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2633
2634 Replace FSF snail mail address with URLs, as per GNU coding standards.
2635 Most of the snail mail addresses were wrong anyway, and omitting
2636 them makes the source code easier to maintain. Almost all of the
2637 changes are to license notices and to locale LC_IDENTIFICATION
2638 addresses, except for this one:
2639 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2640 not its snail mail address.
2641
57b957eb
RH
26422012-02-09 Richard Henderson <rth@twiddle.net>
2643
af850b1c
RH
2644 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2645 of kernel-features.h.
2646
57b957eb
RH
2647 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2648
6b73181a
MP
26492012-02-08 Marek Polacek <polacek@redhat.com>
2650
2651 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2652 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2653 * sysdeps/gnu/_G_config.h: Likewise.
2654 * sysdeps/generic/_G_config.h: Likewise.
2655
26ecc33a
AS
26562012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2657
6c6dbc63
AS
2658 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2659 tests.
2660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2661
e216c012
AS
2662 * sysdeps/powerpc/powerpc32/crti.S: New file.
2663 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2664 * sysdeps/powerpc/powerpc64/crti.S: New file.
2665 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2666
26ecc33a
AS
2667 * Makeconfig (have-initfini): Don't set.
2668 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2669 * configure.in (nopic_initfini): Don't substitute.
2670 * config.h.in (HAVE_INITFINI): Don't #undef.
2671 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2672 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2673
3add8e13
JM
26742012-02-08 Joseph Myers <joseph@codesourcery.com>
2675
2676 Support crti.S and crtn.S provided directly by architectures.
2677 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2678 [crti.S in sysdirs] (omit-deps): Likewise.
2679 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2680 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2681 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2682 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2683 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2684 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2685 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2686 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2687 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2688 compiler output for sysdeps/generic/initfini.c.
2689 * sysdeps/i386/elf/Makefile: Remove file.
2690 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2691
a22f12b4
MP
26922012-02-07 Marek Polacek <polacek@redhat.com>
2693
2694 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2695 * sysdeps/gnu/_G_config.h: Likewise.
2696 * sysdeps/mach/hurd/_G_config.h: Likewise.
2697
148cf100
MP
26982012-02-07 Marek Polacek <polacek@redhat.com>
2699
2700 * math/Makefile (tests): Add tst-CMPLX2.
2701 * math/tst-CMPLX2.c: New file.
2702
cfdc0dd7
AS
27032012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2704
84ba42c4
AS
2705 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2706
cfdc0dd7
AS
2707 * math/libm-test.inc (jn_test): Add missing L suffix.
2708
622c86f4
MP
27092012-02-06 Marek Polacek <polacek@redhat.com>
2710
2711 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2712 * sysdeps/i386/fpu/e_powf.S: Likewise.
2713 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2714 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2715 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2716 * sysdeps/i386/fpu/e_pow.S: Likewise.
2717 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2718 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2719 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2720 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2721 * sysdeps/i386/fpu/e_log2.S: Likewise.
2722 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2723 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2724 * sysdeps/i386/fpu/e_powl.S: Likewise.
2725 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2726 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2727 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2728 * sysdeps/i386/fpu/e_logl.S: Likewise.
2729 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2730 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2731 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2732 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2733 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2734 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2735 * sysdeps/i386/fpu/e_log.S: Likewise.
2736 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2737 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2738 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2739 * sysdeps/i386/fpu/e_logf.S: Likewise.
2740 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2741 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2742 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2743 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2744 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2745 * sysdeps/i386/fpu/e_log10.S: Likewise.
2746 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2747 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2748 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2749 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2750 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2751 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2752 * sysdeps/i386/asm-syntax.h: Likewise.
2753 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2754 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2755 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2756 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2757 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2758 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2759 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2760 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2761 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2762 * sysdeps/powerpc/sysdep.h: Likewise.
2763 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2765
d4a54ac6
JM
27662012-02-06 Joseph Myers <joseph@codesourcery.com>
2767
2768 [BZ #411]
2769 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2770
314054ea
JM
27712012-02-06 Joseph Myers <joseph@codesourcery.com>
2772
2773 * sysdeps/i386/sysdep.h: Include <features.h>.
2774 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2775 version.
2776
d8e0ca50
JM
27772012-02-05 Joseph Myers <joseph@codesourcery.com>
2778
2779 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2780 Define.
2781 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2782 LOAD_PIC_REG_STR.
2783
b1da7dd9
JM
27842012-02-03 Joseph Myers <joseph@codesourcery.com>
2785
2786 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2787 (SETUP_PIC_REG): Use GET_PC_THUNK.
2788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2789 macro.
2790
9a1d9254
JM
27912012-02-03 Joseph Myers <joseph@codesourcery.com>
2792
2793 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2794 for non-PIC compilation.
2795 (SETUP_PIC_REG): Add .p2align directive.
2796 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2797 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2798 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2799 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2800 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2801 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2802 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2803 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2804 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2805 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2806 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2807 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2808 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2809 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2810 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2811 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2812 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2813 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2814 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2815 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2816 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2817 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2818 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2819 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2820 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2822 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2823 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2824 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2825 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2826 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2827 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2828 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2829 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2830 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2831 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2832 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2833 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2834 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2835 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2836 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2837
65dc3b75
JM
28382012-02-03 Joseph Myers <joseph@codesourcery.com>
2839
2840 * math/tst-CMPLX.c: Include <stdio.h>.
2841
d55bf177
JM
28422012-01-31 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2845 float.
2846 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2847 * sysdeps/sparc/bits/mathdef.h: Likewise.
2848
69db4f8f
MP
28492012-01-31 Marek Polacek <polacek@redhat.com>
2850
2851 * libio/libio.h: Don't define _PARAMS.
2852 * locale/programs/config.h: Don't define PARAMS.
2853 * stdlib/strtol_l.c: Likewise.
2854 (__strtol_l): Remove PARAMS from the prototype.
2855
41b81892
UD
28562012-01-31 Ulrich Drepper <drepper@gmail.com>
2857
3b49edc0
UD
2858 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2859 names. Just use the correct names. Remove unnecessary wrapper
2860 functions.
2861 * malloc/arena.c: Likewise.
2862 * malloc/hooks.c: Likewise.
2863
41b81892
UD
2864 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2865 ARENA_TEST says not to. Simplify test for creation of a new arena.
2866 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2867
27a25b6e
UD
28682012-01-30 Ulrich Drepper <drepper@gmail.com>
2869
2870 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2871 into tail calls.
2872 (update_get_addr): New function.
2873 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2874 GET_ADDR_MODULE parameter.
2875
c8a89e7d
JM
28762012-01-30 Joseph Myers <joseph@codesourcery.com>
2877
2878 * crypt/cert.c: Remove __STDC__ conditionals.
2879 * crypt/crypt-entry.c: Likewise.
2880 * crypt/crypt_util.c: Likewise.
2881 * libio/filedoalloc.c: Likewise.
2882 * libio/fileops.c: Likewise.
2883 * libio/genops.c: Likewise.
2884 * libio/iofclose.c: Likewise.
2885 * libio/iofdopen.c: Likewise.
2886 * libio/iofopen.c: Likewise.
2887 * libio/iofopen64.c: Likewise.
2888 * libio/iogetdelim.c: Likewise.
2889 * libio/iopopen.c: Likewise.
2890 * libio/obprintf.c: Likewise.
2891 * libio/oldfileops.c: Likewise.
2892 * libio/oldiofclose.c: Likewise.
2893 * libio/oldiofdopen.c: Likewise.
2894 * libio/oldiofopen.c: Likewise.
2895 * libio/oldiopopen.c: Likewise.
2896 * libio/wfiledoalloc.c: Likewise.
2897 * libio/wgenops.c: Likewise.
2898 * locale/programs/xmalloc.c: Likewise.
2899 * misc/syslog.c: Likewise.
2900 * stdio-common/xbug.c: Likewise.
2901 * string/memchr.c: Likewise.
2902 * string/memcmp.c: Likewise.
2903 * string/memrchr.c: Likewise.
2904 * string/rawmemchr.c: Likewise.
2905 * sysdeps/posix/getcwd.c: Likewise.
2906 * time/strftime_l.c: Likewise.
2907
3b100462
JM
29082012-01-30 Joseph Myers <joseph@codesourcery.com>
2909
2910 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2911 * config.make.in (config-cflags-sse2avx): Define.
2912 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2913 Fix typo.
2914
607998af
CM
29152012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2916
2917 * scripts/config.guess: Update from upstream config git repository.
2918 * scripts/config.sub: Likewise.
2919
3601428f
CM
29202012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2921
3ac8b282
CM
2922 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2923 (EM_NUM): Update.
2924 (R_TILEPRO_*, R_TILEGX_*): New macros.
2925
e034841e
CM
2926 * scripts/firstversions.awk: Fix bug in version range handling.
2927
540d7568
CM
2928 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2929
3601428f
CM
2930 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2931
463de862
CM
2932 * include/sys/epoll.h: New file.
2933 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2934 libc_hidden_def.
2935
73139a76
UD
29362012-01-28 Ulrich Drepper <drepper@gmail.com>
2937
96bc5b45
UD
2938 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2939 Avoid unnecessary __WORDSIZE == 64 test.
2940 (fmaxf): Use VEX format if possible.
2941 (fmax): Likewise.
2942 (fminf): Likewise.
2943 (fmin): Likewise.
2944
56f6f6a2
UD
2945 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2946 * math/math_private.h: Remove libc_fegetround* and
2947 libc_fesetround*.
2948 * sysdeps/i386/configure.in: Check for -msse2avx.
2949 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2950 also if SSE2AVX is defined.
2951 Remove libc_fegetround* and libc_fesetround*.
2952 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2953 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2955 of HAS_YMM_USABLE.
2956 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2957 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2958 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2959 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2961
73139a76
UD
2962 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2963
d73f93a4
AZ
29642012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2965
2966 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2967 size is not set.
2968 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2969
6ee65ed6
UD
29702012-01-27 Ulrich Drepper <drepper@gmail.com>
2971
2972 [BZ #13618]
2973 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2974 relocation.
2975 * Makeconfig (libm): Define.
2976 * elf/Makefile: Add rules to build and run tst-relsort1.
2977 * elf/tst-relsort1.c: New file.
2978 * elf/tst-relsort1mod1.c: New file.
2979 * elf/tst-relsort1mod2.c: New file.
2980
8db21882
JM
29812012-01-27 Joseph Myers <joseph@codesourcery.com>
2982
2983 * math/s_ldexp.c: Remove __STDC__ conditionals.
2984 * math/s_ldexpf.c: Likewise.
2985 * math/s_ldexpl.c: Likewise.
2986 * math/s_nextafter.c: Likewise.
2987 * math/s_nexttowardf.c: Likewise.
2988 * math/s_significand.c: Likewise.
2989 * math/s_significandf.c: Likewise.
2990 * math/s_significandl.c: Likewise.
2991 * math/w_jnl.c: Likewise.
2992 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2993 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2994 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2995 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2996 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2997 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3000 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3002 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3006 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3007 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3008 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3009 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3011 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3013 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3014 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3015 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3016 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3017 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3018 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3019 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3020 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3021 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3022 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3023 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3024 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3025 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3026 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3027 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3028 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3029 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3030 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3031 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3032 * sysdeps/ieee754/k_standard.c: Likewise.
3033 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3034 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3035 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3036 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3037 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3038 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3039 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3040 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3041 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3042 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3043 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3044 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3045 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3046 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3047 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3048 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3049 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3050 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3051 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3052 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3053 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3054 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3055 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3056 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3057 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3058 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3059 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3060 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3062 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3063 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3064 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3065 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3066 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3067 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3069 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3070 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3071 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3072 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3073 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3074 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3075 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3076 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3077 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3078 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3080 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3081 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3082 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3083 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3084 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3085 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3089 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3091 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3092 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3093 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3094 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3095 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3096 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3097 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3098 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3099 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3100 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3102 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3103 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3104 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3108 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3111 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3112 * sysdeps/ieee754/s_matherr.c: Likewise.
3113 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3114 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3117
965a54a4
JM
31182012-01-26 Joseph Myers <joseph@codesourcery.com>
3119
3120 * crypt/md5.h: Remove __STDC__ conditionals.
3121 * libio/libioP.h: Likewise.
3122 * locale/programs/config.h: Likewise.
3123 * sysdeps/generic/sysdep.h: Likewise.
3124 * sysdeps/i386/asm-syntax.h: Likewise.
3125 * sysdeps/s390/asm-syntax.h: Likewise.
3126 * sysdeps/unix/sysdep.h: Likewise.
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3129
7071ad79
JM
31302012-01-26 Joseph Myers <joseph@codesourcery.com>
3131
3132 * libio/libio.h: Remove __STDC__ conditionals.
3133 * malloc/obstack.h: Likewise.
3134 * math/complex.h: Likewise.
3135 * math/math.h: Likewise.
3136 * sysdeps/generic/_G_config.h: Likewise.
3137 * sysdeps/gnu/_G_config.h: Likewise.
3138 * sysdeps/mach/hurd/_G_config.h: Likewise.
3139 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3140 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3141 * sysdeps/sparc/bits/mathdef.h: Likewise.
3142
afc5ed09
UD
31432012-01-26 Ulrich Drepper <drepper@gmail.com>
3144
3145 [BZ #13583]
3146 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3147 Clean up HAS_* macros.
afc5ed09 3148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3149 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3150 possible.
3151 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3152 HAS_AVX.
3153 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3154 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3155 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3156 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3157 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3158
bdb6de1d
JM
31592012-01-25 Joseph Myers <joseph@codesourcery.com>
3160
3161 * elf/tst-unique3.cc (gets): Remove declaration.
3162 * elf/tst-unique3lib.cc (gets): Likewise.
3163 * elf/tst-unique3lib2.cc (gets): Likewise.
3164 * elf/tst-unique4.cc (gets): Likewise.
3165
b15549e6
UD
31662012-01-24 Ulrich Drepper <drepper@gmail.com>
3167
3168 * include/stdio.h: Add C++ protection. Add gets declarations and
3169 definitions.
3170 * debug/tst-chk1.c: Don't declare gets here.
3171 * stdio-common/tst-gets.c: Likewise.
3172
a037381f
JM
31732012-01-24 Joseph Myers <joseph@codesourcery.com>
3174
3175 * posix/glob: Remove directory.
3176
f1d4aa75
JM
31772012-01-24 Joseph Myers <joseph@codesourcery.com>
3178
3179 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3180
81c0c964
PT
31812012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3182
3183 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3184 of the non-standard EPFNOSUPPORT.
3185
0ea698ae
ST
31862011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3187
3188 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3189 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3190 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3191
d220b117
UD
31922012-01-21 Ulrich Drepper <drepper@gmail.com>
3193
3194 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3195
3e1aa84e
UD
31962012-01-20 Ulrich Drepper <drepper@gmail.com>
3197
3198 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3199 transient errors.
3200 * nscd/grpcache.c (cache_addgr): Likewise.
3201 * nscd/hstcache.c (cache_addhst): Likewise.
3202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3203 * nscd/pwdcache.c (cache_addpw): Likewise.
3204 * nscd/servicescache.c (cache_addserv): Likewise.
3205
400aa020
UD
32062012-01-16 Ulrich Drepper <drepper@gmail.com>
3207
d77e7869
UD
3208 * malloc/malloc.c: Various cleanups.
3209 * malloc/hooks.c: Likewise.
3210
400aa020
UD
3211 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3212 * stdlib/bug-fmtmsg1.c: New file.
3213
3214 * stdlib/fmtmsg.c (init): Add missing unlock.
3215 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3216
e0a309cf
MP
32172012-01-12 Marek Polacek <polacek@redhat.com>
3218
3219 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3220 and _GNU_SOURCE.
3221
929d11c7
WS
32222012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3223
3224 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3225 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3226 macro to ensure uniqueness of label name.
3227 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3228 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3229
41d0e869
UD
32302012-01-11 Ulrich Drepper <drepper@gmail.com>
3231
0cc5ed3b
UD
3232 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3233
41d0e869
UD
3234 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3235 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3238
a47a831a
UD
32392012-01-10 Ulrich Drepper <drepper@gmail.com>
3240
daa891c0
UD
3241 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3242
3243 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3244 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3245 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3246
e58ef0f2
UD
3247 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3248
a47a831a 3249 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3250 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3251 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3253
3254 * math/bits/math-finite.h: Add ldexp support.
3255
a0bfc9c7
MP
32562012-01-10 Marek Polacek <polacek@redhat.com>
3257
3258 * locale/programs/localedef.h (show_archive_content): Add noreturn
3259 attribute.
3260
d6e97a1d
UD
32612012-01-09 Ulrich Drepper <drepper@gmail.com>
3262
3263 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3264
d5835c26
UD
32652012-01-08 Ulrich Drepper <drepper@gmail.com>
3266
e5f484c6
UD
3267 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3268
d5835c26
UD
3269 * io/Makefile (headers): Add bits/poll2.h.
3270
d1f741e9
WS
32712011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3272
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3274 typo #include statement.
3275
ec09c1c4
UD
32762012-01-08 Ulrich Drepper <drepper@gmail.com>
3277
3278 * include/sys/cdefs.h: Define __attribute_alloc_size.
3279 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3280 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3281 * elf/pldd.c: Likewise.
3282 * iconv/iconv_charmap.c: Likewise.
3283 * iconv/iconvconfig.c: Likewise.
3284 * iconv/strtab.c: Likewise.
3285 * locale/programs/locale.c: Likewise.
3286 * locale/programs/localedef.h: Likewise.
3287 * locale/programs/simple-hash.c: Likewise.
3288 * nscd/nscd.h: Likewise.
3289 * nss/makedb.c: Likewise.
3290 * sysdeps/generic/ldconfig.h: Likewise.
3291 * locale/programs/localedef.c: Remove xmalloc prototype.
3292 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3293
20b38e03
PP
32942012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3295
3296 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3297 appropriate.
3298
a0da5fe1
UD
32992012-01-08 Ulrich Drepper <drepper@gmail.com>
3300
1d5a644a 3301 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3302 * math/tst-CMPLX.c: New file.
1d5a644a 3303
8784a6db
UD
3304 * math/complex.h (CMPLXL): Fix typo.
3305
d9a216c0
UD
3306 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3307 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3308 GLIBC_2.16.
3309 * debug/tst-chk1.c: Add poll and ppoll tests.
3310 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3311 * include/sys/poll.h: Add hidden proto for ppoll.
3312 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3313 * sysdeps/mach/hurd/ppoll.c: Likewise.
3314 * io/ppoll.c: Likewise.
3315 * debug/poll_chk.c: New file.
3316 * debug/ppoll_chk.c: New file.
3317 * include/bits/poll2.h: New file.
3318 * io/bits/poll2.h: New file.
3319
ac097f5c
UD
3320 [BZ #1350]
3321 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3322
2119dcfa
UD
3323 * configure.in: static is always set to yes. Remove.
3324 * config.make.in: Don't set build-static.
3325 * Makeconfig: Remove use of build-static.
3326 * dlfcn/Makefile: Likewise.
3327 * elf/Makefile: Likewise.
3328 * math/Makefile: Likewise.
3329 * misc/Makefile: Likewise.
3330 * nptl/Makefile: Likewise.
3331 * sysdeps/mach/hurd/Makefile: Likewise.
3332
121766a9
UD
3333 * configure.in: PWD_P is not used anymore.
3334 * config.make.in: Remove PWD_P entry.
3335
51a1d39c 3336 * configure.in: Remove last remnants of RANLIB.
8720d066 3337 No need to check for signed size_t anymore.
215f4bdc
UD
3338 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3339 and IA-64.
3857022a 3340 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3341 * aclocal.m4: Likewise.
3342
d3ed7225
UD
3343 * wcsmbs/mbrtoc16.c: Implement using towc function.
3344 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3345 * wcsmbs/wcsmbsload.c: Likewise.
3346 * iconv/gconv_simple.c: Likewise.
3347 * iconv/gconv_int.h: Likewise.
3348 * iconv/gconv_builtin.h: Likewise.
3349 * iconv/iconv_prog.c: Remove CHAR16 handling.
3350
3351 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3352
3353 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3354
a0da5fe1
UD
3355 * configure.in: Remove --with-elf and --enable-bounded options.
3356 Dont set base_machine for ia64. More non-ELF conditions removed.
3357 Remove testing and setting of leading underscore information.
3358 * config.make.in (build-bounded): Set to no.
3359 * config.h.in: Remove NO_UNDERSCORES entry.
3360 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3361 them.
3362 * csu/start.c: Remove !NO_UNDERSCORE code.
3363 * locale/localeinfo.h: Likewise.
3364 * sysdeps/generic/machine-gmon.h: Likewise.
3365 * sysdeps/generic/sysdep.h: Likewise.
3366 * sysdeps/i386/sysdep.h: Likewise.
3367 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3368 * sysdeps/mach/sysdep.h: Likewise.
3369 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3371 * sysdeps/sh/sysdep.h: Likewise.
3372 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3373 * sysdeps/unix/i386/sysdep.S: Likewise.
3374 * sysdeps/unix/sparc/start.c: Likewise.
3375 * sysdeps/unix/sparc/sysdep.S: Likewise.
3376 * sysdeps/unix/sparc/sysdep.h: Likewise.
3377 * sysdeps/unix/start.c: Likewise.
3378 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3379 * sysdeps/x86_64/sysdep.h: Likewise.
3380
df78418a
UD
33812012-01-07 Ulrich Drepper <drepper@gmail.com>
3382
a784e502
UD
3383 [BZ #13553]
3384 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3385 for non-gcc.
3386 * argp/argp-fmtstream.h: Use const instead __const.
3387 * argp/argp.h: Likewise.
3388 * assert/assert.h: Likewise.
3389 * bits/fenv.h: Likewise.
3390 * bits/sched.h: Likewise.
3391 * bits/sigset.h: Likewise.
3392 * bits/sigthread.h: Likewise.
3393 * catgets/nl_types.h: Likewise.
3394 * conform/data/pthread.h-data: Likewise.
3395 * crypt/crypt-private.h: Likewise.
3396 * crypt/crypt.h: Likewise.
3397 * crypt/crypt_util.c: Likewise.
3398 * ctype/ctype.h: Likewise.
3399 * debug/execinfo.h: Likewise.
3400 * debug/mbsnrtowcs_chk.c: Likewise.
3401 * debug/mbsrtowcs_chk.c: Likewise.
3402 * debug/wcsnrtombs_chk.c: Likewise.
3403 * debug/wcsrtombs_chk.c: Likewise.
3404 * debug/wcstombs_chk.c: Likewise.
3405 * dirent/dirent.h: Likewise.
3406 * dlfcn/dlfcn.h: Likewise.
3407 * elf/neededtest4.c: Likewise.
3408 * grp/grp.h: Likewise.
3409 * gshadow/gshadow.h: Likewise.
3410 * iconv/gconv.h: Likewise.
3411 * iconv/gconv_int.h: Likewise.
3412 * iconv/gconv_simple.c: Likewise.
3413 * iconv/iconv.h: Likewise.
3414 * iconv/loop.c: Likewise.
3415 * iconv/skeleton.c: Likewise.
3416 * include/aio.h: Likewise.
3417 * include/aliases.h: Likewise.
3418 * include/argz.h: Likewise.
3419 * include/arpa/inet.h: Likewise.
3420 * include/assert.h: Likewise.
3421 * include/dirent.h: Likewise.
3422 * include/dlfcn.h: Likewise.
3423 * include/execinfo.h: Likewise.
3424 * include/fcntl.h: Likewise.
3425 * include/fenv.h: Likewise.
3426 * include/glob.h: Likewise.
3427 * include/grp.h: Likewise.
3428 * include/libintl.h: Likewise.
3429 * include/mntent.h: Likewise.
3430 * include/netdb.h: Likewise.
3431 * include/pwd.h: Likewise.
3432 * include/rpc/netdb.h: Likewise.
3433 * include/sched.h: Likewise.
3434 * include/search.h: Likewise.
3435 * include/shadow.h: Likewise.
3436 * include/signal.h: Likewise.
3437 * include/stdio.h: Likewise.
3438 * include/stdlib.h: Likewise.
3439 * include/string.h: Likewise.
3440 * include/sys/socket.h: Likewise.
3441 * include/sys/stat.h: Likewise.
3442 * include/sys/statfs.h: Likewise.
3443 * include/sys/statvfs.h: Likewise.
3444 * include/sys/syslog.h: Likewise.
3445 * include/sys/time.h: Likewise.
3446 * include/sys/uio.h: Likewise.
3447 * include/time.h: Likewise.
3448 * include/unistd.h: Likewise.
3449 * include/utmp.h: Likewise.
3450 * include/wchar.h: Likewise.
3451 * include/wctype.h: Likewise.
3452 * inet/aliases.h: Likewise.
3453 * inet/arpa/inet.h: Likewise.
3454 * inet/netinet/ether.h: Likewise.
3455 * inet/netinet/in.h: Likewise.
3456 * intl/libintl.h: Likewise.
3457 * io/bits/fcntl2.h: Likewise.
3458 * io/fcntl.h: Likewise.
3459 * io/ftw.h: Likewise.
3460 * io/sys/poll.h: Likewise.
3461 * io/sys/stat.h: Likewise.
3462 * io/sys/statfs.h: Likewise.
3463 * io/sys/statvfs.h: Likewise.
3464 * io/utime.h: Likewise.
3465 * libio/bits/stdio.h: Likewise.
3466 * libio/bits/stdio2.h: Likewise.
3467 * libio/libio.h: Likewise.
3468 * libio/libioP.h: Likewise.
3469 * libio/stdio.h: Likewise.
3470 * locale/lc-ctype.c: Likewise.
3471 * locale/locale.h: Likewise.
3472 * login/utmp.h: Likewise.
3473 * malloc/arena.c: Likewise.
3474 * malloc/malloc.c: Likewise.
3475 * malloc/malloc.h: Likewise.
3476 * malloc/mcheck.c: Likewise.
3477 * malloc/mtrace.c: Likewise.
3478 * math/bits/mathcalls.h: Likewise.
3479 * math/fenv.h: Likewise.
3480 * math/math_private.h: Likewise.
3481 * misc/bits/error.h: Likewise.
3482 * misc/bits/syslog.h: Likewise.
3483 * misc/err.h: Likewise.
3484 * misc/error.h: Likewise.
3485 * misc/fstab.h: Likewise.
3486 * misc/mntent.h: Likewise.
3487 * misc/regexp.h: Likewise.
3488 * misc/search.h: Likewise.
3489 * misc/sgtty.h: Likewise.
3490 * misc/sys/mman.h: Likewise.
3491 * misc/sys/syslog.h: Likewise.
3492 * misc/sys/uio.h: Likewise.
3493 * misc/sys/xattr.h: Likewise.
3494 * misc/ttyent.h: Likewise.
3495 * nis/rpcsvc/ypclnt.h: Likewise.
3496 * nss/nss.h: Likewise.
3497 * posix/bits/unistd.h: Likewise.
3498 * posix/fnmatch.h: Likewise.
3499 * posix/glob.h: Likewise.
3500 * posix/sched.h: Likewise.
3501 * posix/spawn.h: Likewise.
3502 * posix/sys/wait.h: Likewise.
3503 * posix/unistd.h: Likewise.
3504 * posix/wordexp.h: Likewise.
3505 * pwd/pwd.h: Likewise.
3506 * resolv/netdb.h: Likewise.
3507 * resource/sys/resource.h: Likewise.
3508 * rt/aio.h: Likewise.
3509 * rt/bits/mqueue2.h: Likewise.
3510 * rt/mqueue.h: Likewise.
3511 * shadow/shadow.h: Likewise.
3512 * signal/signal.h: Likewise.
3513 * socket/send.c: Likewise.
3514 * socket/sendto.c: Likewise.
3515 * socket/sys/socket.h: Likewise.
3516 * stdio-common/printf.h: Likewise.
3517 * stdlib/bits/stdlib.h: Likewise.
3518 * stdlib/fmtmsg.h: Likewise.
3519 * stdlib/monetary.h: Likewise.
3520 * stdlib/stdlib.h: Likewise.
3521 * stdlib/ucontext.h: Likewise.
3522 * streams/stropts.h: Likewise.
3523 * string/argz.h: Likewise.
3524 * string/bits/string2.h: Likewise.
3525 * string/string.h: Likewise.
3526 * string/strings.h: Likewise.
3527 * sunrpc/rpc/auth.h: Likewise.
3528 * sunrpc/rpc/auth_des.h: Likewise.
3529 * sunrpc/rpc/clnt.h: Likewise.
3530 * sunrpc/rpc/netdb.h: Likewise.
3531 * sunrpc/rpc/pmap_clnt.h: Likewise.
3532 * sunrpc/rpc/xdr.h: Likewise.
3533 * sysdeps/generic/inttypes.h: Likewise.
3534 * sysdeps/generic/net/if.h: Likewise.
3535 * sysdeps/generic/sys/swap.h: Likewise.
3536 * sysdeps/gnu/net/if.h: Likewise.
3537 * sysdeps/gnu/utmpx.h: Likewise.
3538 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3539 * sysdeps/i386/i486/bits/string.h: Likewise.
3540 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3541 * sysdeps/s390/bits/string.h: Likewise.
3542 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3543 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3544 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3545 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3546 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3547 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3548 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3549 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3550 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3551 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3552 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3553 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3554 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3555 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3556 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3557 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3558 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3560 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3561 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3563 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3564 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3565 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3566 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3567 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3568 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3569 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3570 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3571 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3572 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3573 * sysvipc/sys/ipc.h: Likewise.
3574 * sysvipc/sys/msg.h: Likewise.
3575 * sysvipc/sys/sem.h: Likewise.
3576 * sysvipc/sys/shm.h: Likewise.
3577 * termios/termios.h: Likewise.
3578 * time/sys/time.h: Likewise.
3579 * time/time.h: Likewise.
3580 * wcsmbs/bits/wchar2.h: Likewise.
3581 * wcsmbs/uchar.h: Likewise.
3582 * wcsmbs/wchar.h: Likewise.
3583 * wctype/wctype.h: Likewise.
3584
0269750c
UD
3585 [BZ #13551]
3586 * Makeconfig: Remove all but ELF support including AIX support.
3587 * Makerules: Likewise.
3588 * config.h.in: Likewise.
3589 * config.make.in: Likewise.
3590 * configure: Likewise.
3591 * configure.in: Likewise.
3592 * csu/Makefile: Likewise.
3593 * csu/version.c: Likewise.
3594 * debug/Makefile: Likewise.
3595 * dlfcn/Makefile: Likewise.
3596 * elf/Makefile: Likewise.
3597 * extra-lib.mk: Likewise.
3598 * iconv/Makefile: Likewise.
3599 * include/libc-symbols.h: Likewise.
3600 * include/shlib-compat.h: Likewise.
3601 * resolv/Makefile: Likewise.
3602 * resolv/res_libc.c: Likewise.
3603 * rt/Makefile: Likewise.
3604 * sysdeps/i386/asm-syntax.h: Likewise.
3605 * sysdeps/i386/sysdep.h: Likewise.
3606 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3607 * sysdeps/mach/sysdep.h: Likewise.
3608 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3609 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3610 * sysdeps/s390/asm-syntax.h: Likewise.
3611 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3612 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3613 * sysdeps/sh/sysdep.h: Likewise.
3614 * sysdeps/unix/sparc/sysdep.h: Likewise.
3615 * sysdeps/wordsize-32/divdi3.c: Likewise.
3616 * sysdeps/x86_64/sysdep.h: Likewise.
3617
00bbd29b
UD
3618 * argp/Versions: Remove _argp_unlock_xxx.
3619
3620 [BZ #13559]
3621 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3622 * abilist/libBrokenLocale.abilist: Likewise.
3623 * abilist/libanl.abilist: Likewise.
3624 * abilist/libc.abilist: Likewise.
3625 * abilist/libcrypt.abilist: Likewise.
3626 * abilist/libdl.abilist: Likewise.
3627 * abilist/libm.abilist: Likewise.
3628 * abilist/libnsl.abilist: Likewise.
3629 * abilist/libpthread.abilist: Likewise.
3630 * abilist/libresolv.abilist: Likewise.
3631 * abilist/librt.abilist: Likewise.
3632 * abilist/libthread_db.abilist: Likewise.
3633 * abilist/libutil.abilist: Likewise.
3634 * abilist/libnss_db.abilist: New file.
3635
3636 * scripts/abilist.awk: Add support for indirect functions.
3637
a2693a0e
UD
3638 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3639
3f05895f
UD
3640 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3641
ecb6fb48
UD
3642 * shlib-versions: Remove entries for ports architectures.
3643
664f8cb9
UD
3644 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3645 files in ports.
3646 * elf/stackguard-macros.h: Remove support for IA-64.
3647 * elf/tst-auditmod1.c: Likewise.
3648 * sysdeps/generic/ldsodefs.h: Likewise.
3649
7ae81d88
UD
3650 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3651 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3652 configure files.
3653
bdeba135
UD
3654 [BZ #13552]
3655 * configure.in: Remove --enable-omitfp support.
3656 * FAQ.in: Adjust.
3657 * config.make.in: Likewise.
3658 * Makeconfig: Likewise.
3659 * manual/install.texi: Likewise.
3660
d75a0a62
UD
3661 In case anyone cares, the IA-64 architecture could move to ports.
3662 * sysdeps/ia64/*: Removed.
3663 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3664 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3665
dcc9756b
UD
3666 [BZ #13555]
3667 * configure.in: Remove entries for unsupported architectures.
3668
d3761ebc 3669 [BZ #13533]
9954432e
UD
3670 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3671 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3672 routines.
3673 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3674 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3675 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3676 fall back to using wcrtomb.
3677 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3678 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3679 renaming.
3680 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3681 * wcsmbs/tst-c16c32-1.c: New file.
3682
3683 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3684 local variable.
3685
c3a87236
UD
3686 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3687
28926a1b
UD
3688 * elf/tst-unique3.cc: Add explicit declaration of gets.
3689 * elf/tst-unique3lib.cc: Likewise.
3690 * elf/tst-unique3lib2.cc: Likewise.
3691 * elf/tst-unique4.cc: Likewise.
3692
df78418a
UD
3693 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3694
8ecd6b2a
JM
36952012-01-06 Joseph Myers <joseph@codesourcery.com>
3696
3697 [BZ #13566]
3698 * assert/assert.h (static_assert): Don't define for C++.
3699 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3700 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3701
9f115170
UD
37022012-01-03 Ulrich Drepper <drepper@gmail.com>
3703
5e0d0300
UD
3704 * iconv/loop.c (single loop): Fix assertion in storing of
3705 remaining bytes.
3706
9f115170
UD
3707 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3708
81fb02b0
UD
37092012-01-01 Ulrich Drepper <drepper@gmail.com>
3710
3711 * posix/getconf.c: Update copyright year.
3712 * nss/getent.c: Likewise.
a316c1f6 3713 * nss/makedb.c: Likewise.
81fb02b0
UD
3714 * iconv/iconvconfig.c: Likewise.
3715 * iconv/iconv_prog.c: Likewise.
3716 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3717 * elf/pldd.c: Likewise.
3718 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3719 * catgets/gencat.c: Likewise.
3720 * csu/version.c: Likewise.
3721 * elf/ldd.bash.in: Likewise.
3722 * elf/sprof.c (print_version): Likewise.
3723 * locale/programs/locale.c: Likewise.
3724 * locale/programs/localedef.c: Likewise.
a316c1f6 3725 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3726 * nscd/nscd.c (print_version): Likewise.
3727 * debug/xtrace.sh: Likewise.
3728 * malloc/memusage.sh: Likewise.
3729 * malloc/mtrace.pl: Likewise.
3730 * debug/catchsegv.sh: Likewise.
3731
2ba92745
JJ
37322011-12-30 Jakub Jelinek <jakub@redhat.com>
3733
3734 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3735 pure attribute.
3736
dadebdae
UD
37372011-12-24 Ulrich Drepper <drepper@gmail.com>
3738
d3761ebc 3739 [BZ #13533]
db6af3eb
UD
3740 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3741 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3742 transformations.
3743 * iconv/gconv_int.h: Likewise.
3744 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3745 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3746 from libc for GLIBC_2.16.
3747 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3748 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3749 * wcsmbs/uchar.h: Really define mbstate_t.
3750 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3751 * wcsmbs/c16rtomb.c: New file.
3752 * wcsmbs/mbrtoc16.c: New file.
3753 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3754 for C/POSIX locale.
3755 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3756 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3757
dadebdae
UD
3758 * wcsmbs/wchar.h: Add missing __restrict.
3759
67371b56
UD
37602011-12-23 Ulrich Drepper <drepper@gmail.com>
3761
74033a25
UD
3762 [BZ #13532]
3763 * time/Makefile (routines): Add timespec_get.
3764 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3765 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3766 timespec for ISO C11.
3767 * time/timespec_get.c: New file.
3768 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3769 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3770
380d7e87
UD
3771 [BZ #13531]
3772 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3773 * stdlib/stdlib.h: Declare aligned_alloc.
3774 * Versions.def: Add GLIBC_2.16 for libc.
3775 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3776
4e9e7a35
UD
3777 [BZ 13527]
3778 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3779 ISO C11.
3780
380d7e87 3781 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3782 code.
3783
03a71829
UD
3784 [BZ #13528]
3785 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3786
839e283e
UD
3787 [BZ #13529]
3788 * assert/assert.h (static_assert): Define.
3789
ce5294e2 3790 * version.h: Update for 2.16 development version.
90fa7312 3791
8d44e150 3792 [BZ #13526]
d7809905
UD
3793 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3794 _ISOC11_SOURCE.
3795
c0da14cd
UD
3796 * version.h (RELEASE): Bump for 2.15 release.
3797 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3798
530a3249
MP
3799 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3800 Patch by Marek Polacek <mpolacek@redhat.com>.
3801
67371b56
UD
3802 * bits/byteswap.h: Protect long long constants with __extension__.
3803 * sysdeps/i386/bits/byteswap.h: Likewise.
3804 * sysdeps/ia64/bits/byteswap.h: Likewise.
3805 * sysdeps/s390/bits/byteswap.h: Likewise.
3806 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3807
15db4de1
LD
38082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3809
3810 [BZ #13540]
bbe315ea
LD
3811 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3812 destination buffer.
15db4de1
LD
3813 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3814
2b2596b1
MP
38152011-12-23 Marek Polacek <polacek@redhat.com>
3816
3817 * elf/dl-addr.c (determine_info): Add inline keyword.
3818 * elf/tst-auditmod4b.c (check_avx): Likewise.
3819 * elf/tst-auditmod6b.c (check_avx): Likewise.
3820 * elf/tst-auditmod6c.c (check_avx): Likewise.
3821 * elf/tst-auditmod7b.c (check_avx): Likewise.
3822
70c6c246
UD
38232011-12-23 Ulrich Drepper <drepper@gmail.com>
3824
3825 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3826 !__SSE_MATH__.
3827
c044cf14
LD
38282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3829
15db4de1 3830 [BZ #13540]
c044cf14
LD
3831 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3832 processing for last bytes.
3833
6b13d9d9
BH
38342011-08-06 Bruno Haible <bruno@clisp.org>
3835
d455f537
BH
3836 [BZ #13061]
3837 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3838 U+0385, not to U+1FEE.
3839
6b13d9d9
BH
3840 [BZ #13062]
3841 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3842 entry for U+00A5 U+0301.
3843
db910efd
UD
38442011-12-22 Ulrich Drepper <drepper@gmail.com>
3845
27deeafc
UD
3846 [BZ #13166]
3847 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3848 buffer for the output is too small.
3849
aed9d171
UD
3850 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3851 optimization.
3852
db910efd
UD
3853 [BZ #13185]
3854 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3855 SSE flags if possible.
3856
2bd779ae
LD
38572011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3858
e7f9dac3 3859 [BZ #13540]
2bd779ae
LD
3860 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3861 processing for last bytes.
3862
154bfc16
JM
38632011-12-22 Joseph Myers <joseph@codesourcery.com>
3864
3865 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3866 (syscall-list-default-options, syscall-list-default-condition)
3867 (syscall-list-includes): Define.
3868 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3869 list of ABIs and options and #if conditions for each ABI. Do not
3870 handle common syscalls between ABIs specially.
3871 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3872 Remove.
3873 (syscall-list-variants, syscall-list-32bit-options)
3874 (syscall-list-32bit-condition, syscall-list-64bit-options)
3875 (syscall-list-64bit-condition): Define.
3876 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3877 (syscall-list-variants, syscall-list-32bit-options)
3878 (syscall-list-32bit-condition, syscall-list-64bit-options)
3879 (syscall-list-64bit-condition): Define.
3880 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3881 Remove.
3882 (syscall-list-variants, syscall-list-32bit-options)
3883 (syscall-list-32bit-condition, syscall-list-64bit-options)
3884 (syscall-list-64bit-condition): Define.
3885 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3886 Remove.
3887 (syscall-list-variants, syscall-list-32bit-options)
3888 (syscall-list-32bit-condition, syscall-list-64bit-options)
3889 (syscall-list-64bit-condition): Define.
3890
21eaf3a5
UD
38912011-12-22 Ulrich Drepper <drepper@gmail.com>
3892
16c6f992
UD
3893 * locale/iso-639.def: Add brx entry.
3894
41043168
UD
3895 [BZ #13328]
3896 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3897 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3898
21eaf3a5
UD
3899 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3900 __feraiseexcept_renamed.
3901
e3a851a2
UD
39022011-12-21 Ulrich Drepper <drepper@gmail.com>
3903
4920765e
UD
3904 [BZ #13538]
3905 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3906 EPOLLET with unsigned values.
3907 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3909
e3a851a2
UD
3910 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3911 to large cancellation.
3912 * math/s_cacoshf.c: Likewise.
3913 * math/s_cacoshl.c: Likewise.
3914
b27e24b8
RK
39152011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3916
3917 [BZ #13305]
aebefeee 3918 [BZ #12786]
b27e24b8
RK
3919 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3920 * math/s_cacoshf.c: Likewise.
3921 * math/s_cacoshl.c: Likewise.
3922
ee190f67
UD
39232011-12-21 Ulrich Drepper <drepper@gmail.com>
3924
3925 [BZ #13439]
3926 * iconv/gconv.h: Define __GCONV_SWAP.
3927 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3928 * iconvdata/utf-16.c: Likewise.
3929 * iconvdata/utf-32.c: Likewise.
3930
707f25df
AS
39312011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3932
3933 [BZ #13524]
3934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3935 numerator after shifting it by one limb.
3936
d2daaa1e
RÁE
39372011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3938
3939 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3940 under [__USE_EXTERN_INLINES].
3941
a4647e72
UD
39422011-12-17 Ulrich Drepper <drepper@gmail.com>
3943
3944 [BZ #13446]
3945 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3946
f0b264f1
AZ
39472011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3948
3949 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3950 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3951 optimized code.
3952 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3953 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3954 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3955 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3956 for strncasecmp/strncasecmp_l compilation.
3957 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3958 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3959
8ef4f244
MP
39602011-12-08 Marek Polacek <mpolacek@redhat.com>
3961
3962 [BZ #13484]
3963 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3964 of __asm__.
3965
97ac2654
UD
39662011-12-17 Ulrich Drepper <drepper@gmail.com>
3967
3968 [BZ #13506]
3969 * time/tzfile.c (__tzfile_read): Check values from file header.
3970
91d2a845
WS
39712011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3972
3973 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3974 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3975 * powerpc/powerpc32/dl-start.S: Likewise.
3976 * powerpc/powerpc32/elf/start.S: Likewise.
3977 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3978 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3979 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3980 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3981 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3982 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3983 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3984 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3985 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3986 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3987 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3988 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3989 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3990 * powerpc/powerpc32/memset.S: Likewise.
3991 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3992 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3993 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3994 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3995 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3996 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3997 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3998 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3999 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4000 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4001 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4002 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4003 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4004
a1267ba1
AZ
40052011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4006
4007 * math/libm-test.inc: Added more nearbyint tests.
4008 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4010 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4012
ad8ac1bd
RL
40132011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4014
4015 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4016 FD_CLOEXEC.
4017
1d3e4b61
UD
40182011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4019
4020 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4021 Add wcscpy-ssse3 wcscpy-c.
4022 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4023 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4024 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4025 * sysdeps/x86_64/wcschr.S: New file.
4026 * sysdeps/x86_64/wcsrchr.S: New file.
4027 * string/test-strcmp.c: Remove checking of wcscmp function for
4028 wrong alignments.
4029 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4030 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4031 wcsrchr-sse2 wcsrchr-c.
4032 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4033 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4034 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4035 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4036 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4037 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4038 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4039 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4040 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4041 * wcsmbc/wcschr.c (WCSCHR): New macro.
4042
5b330a2d
UD
40432011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4044
4045 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4046 * wcsmbs/test-wcsrchr.c: New file.
4047 * string/test-strrchr.c: Add wcsrchr support.
4048 (WIDE): New macro.
4049 * wcsmbs/test-wcscpy.c: New file.
4050 * string/test-strcpy.c: Add wcscpy support.
4051 (WIDE): New macro.
26428b7c 4052
f039c043
UD
40532011-12-10 Ulrich Drepper <drepper@gmail.com>
4054
4055 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4056 the inner loop.
4057
850fb039
AS
40582011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4059
4060 [BZ #13472]
4061 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4062
4efbd5cb
UD
40632011-12-04 Ulrich Drepper <drepper@gmail.com>
4064
52ff5dd0 4065 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4066 Minor optimizations.
52ff5dd0 4067
4efbd5cb
UD
4068 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4069 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4070 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4071
8a426e12
UD
40722011-12-03 Ulrich Drepper <drepper@gmail.com>
4073
aff2453d
UD
4074 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4075 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4076 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4077 for gcc to avoid warnings.
4078 * inet/Makefile (tests): Add tst-checks.
4079 * inet/tst-checks.c: New file.
4080
4081 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4082 warning.
4083
4084 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4085 __wmemcmp_sse2.
4086
4087 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4088 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4089
8a426e12
UD
4090 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4091
9bea3473
UD
40922011-12-02 Ulrich Drepper <drepper@gmail.com>
4093
3a965496
UD
4094 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4095 problem.
4096
9bea3473
UD
4097 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4098
f101631b
UD
40992011-11-29 Joseph Myers <joseph@codesourcery.com>
4100
4101 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4102 conditional on GCC version.
4103 (__arch_compare_and_exchange_val_8_acq)
4104 (__arch_compare_and_exchange_val_16_acq)
4105 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4106 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4107 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4108
a98275aa
UD
41092011-12-02 Joseph Myers <joseph@codesourcery.com>
4110
4111 * sysdeps/sh/backtrace.c: New file.
4112
d4cc29a2
AS
41132011-12-02 Andreas Schwab <schwab@redhat.com>
4114
4115 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4116 parenthesis.
4117
6257af2d
AS
41182011-12-01 Andreas Schwab <schwab@redhat.com>
4119
4120 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4121 falling back to utime.
4122
b5f44c1a
AS
41232011-11-30 Andreas Schwab <schwab@redhat.com>
4124
4125 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4126 expectations for float.
4127
f3a6cc0a
AS
41282011-11-29 Andreas Schwab <schwab@redhat.com>
4129
4130 * locale/weight.h (findidx): Add parameter len.
4131 * locale/weightwc.h (findidx): Likewise.
4132 * posix/fnmatch_loop.c (FCT): Adjust caller.
4133 * posix/regcomp.c (build_equiv_class): Likewise.
4134 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4135 * posix/regexec.c (check_node_accept_bytes): Likewise.
4136 * string/strcoll_l.c (STRCOLL): Likewise.
4137 * string/strxfrm_l.c (STRXFRM): Likewise.
4138
9d65ea3a
UD
41392011-11-17 Ulrich Drepper <drepper@gmail.com>
4140
4141 * Makefile.in: Remove CVSOPT handling.
4142 * configure.in: Remove use of AC_REVISION.
4143 * iconvdata/Makefile (distribute): No need to filter out CVS.
4144 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4145 handling.
4146
5583a086
AS
41472011-11-16 Andreas Schwab <schwab@redhat.com>
4148
4149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4150 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4151 [USE_AS_STRNCASECMP_L]: Likewise.
4152 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4153 NO_TLS_DIRECT_SEG_REFS.
4154 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4155 Fix argument offsets for non-PIC.
4156 [USE_AS_STRNCASECMP_L]: Likewise.
4157 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4158 NO_TLS_DIRECT_SEG_REFS.
4159
d62a8200
UD
41602011-11-15 Ulrich Drepper <drepper@gmail.com>
4161
9d65ea3a 4162 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4163 O_CLOEXEC.
4164 * locale/loadlocale.c (_nl_load_locale): Likewise.
4165
09f93bd3
AS
41662011-11-15 Andreas Schwab <schwab@redhat.com>
4167
446514f9
AS
4168 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4169 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4170 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4171 (SYSCALL_GETTIME): Set errno on error.
4172
09f93bd3
AS
4173 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4174 count references to noai6ai_cached.
4175
312be3f9
UD
41762011-11-15 Ulrich Drepper <drepper@gmail.com>
4177
4178 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4179
4180 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4181 FD_CLOEXEC for /proc/self/maps.
4182
4183 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4184 FD_CLOEXEC for /proc/meminfo.
4185
4186 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4187 gai.conf.
4188
4189 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4190 FD_CLOEXEC for given file.
4191
4192 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4193
4194 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4195 FD_CLOEXEC for /etc/hosts.
4196 (_gethtent): Likewise.
4197
4198 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4199
4200 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4201 cancellation and set FD_CLOEXEC for /etc/netgroup.
4202
4203 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4204 reading /etc/publickey.
4205
4206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4207 allow cancellation when reading /etc/group.
4208
4209 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4210 cancellation.
4211 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4212
4213 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4214 when using data file.
4215
4216 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4217
4218 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4219 (write_nis_obj): Use "c" and "e" in fopen.
4220
4221 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4222
4223 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4224
4225 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4226
4227 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4228
4229 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4230 locale.alias.
4231
4232 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4233
4234 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4235
4236 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4237
4238 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4239 file parsing and set FD_CLOEXEC.
4240
82af0fa8
UD
42412011-11-14 Ulrich Drepper <drepper@gmail.com>
4242
4243 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4244
a5fb313c
AS
42452011-11-14 Andreas Schwab <schwab@redhat.com>
4246
4247 * malloc/arena.c (arena_get2): Don't call reused_arena when
4248 _int_new_arena failed.
4249
6abf3465
UD
42502011-11-14 Ulrich Drepper <drepper@gmail.com>
4251
4252 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4253 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4254 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4255 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4256 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4258 to compile strcasecmp and strncasecmp.
4259 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4260 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4261
4262 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4263
76e3966e
UD
42642011-11-13 Ulrich Drepper <drepper@gmail.com>
4265
4266 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4267 locale-defines.sym to gen-as-const-headers.
4268 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4269 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4271 to compile strcasecmp and strncasecmp.
4272 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4273 strcasecmp_l and strncasecmp_l.
4274 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4275 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4276 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4277 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4278 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4279 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4280 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4281 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4282 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4283 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4284 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4285
ab26144e
UD
42862011-11-12 Ulrich Drepper <drepper@gmail.com>
4287
7edb22ef
UD
4288 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4289 result of SYSDEP_GETTIME_CPU to retval.
4290 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4291 parameter list to macro. Remove trailing semicolon. Adjust users.
4292
9694fc44
UD
4293 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4294 variable.
4295
8ad89ef8
UD
4296 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4297 mantissa words.
4298 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4299
0c822ef9
UD
4300 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4301 from unused variable.
4302
874e0564
UD
4303 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4304 DWARF definitions.
4305 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4306 for assembling.
4307
3a2edc79
UD
4308 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4309 over namespaces.
4310
f3c2577f
UD
4311 * sunrpc/rpc_prot.c (rejected): Fix case value.
4312
294ce126
UD
4313 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4314 unsigned long long int to avoid warnings in shift.
4315
5e2b63c6
UD
4316 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4317 of use of trans.
4318 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4319 variable tmp.
4320
e7f4b08e
UD
4321 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4322 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4323 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4324
ab26144e
UD
4325 * nis/nis_table.c (nis_list): Use variable of correct type for
4326 result of __follow_path call.
4327
8a6d5255
AZ
43282011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4329
4330 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4331 of math functions ceil, trunc, floor, round, and sqrt, when
4332 avaliable on the platform.
4333 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4334 name clash.
4335 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4336 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4337 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4338
aaddc98c
MP
43392011-10-30 Marek Polacek <mpolacek@redhat.com>
4340
4341 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4342 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4343
95b7042b
RM
43442011-11-11 Roland McGrath <roland@hack.frob.com>
4345
4346 * include/unistd.h: Fix __readlink return type.
4347 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4348
57769839
UD
43492011-11-11 Ulrich Drepper <drepper@gmail.com>
4350
4351 * stdlib/ucontext.h: Undo last change for makecontext.
4352
edc5984d
AS
43532011-11-11 Andreas Schwab <schwab@redhat.com>
4354
98591e58
AS
4355 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4356
edc5984d
AS
4357 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4358 * setjmp/setjmp.h: Mark functions as non-leaf.
4359 * setjmp/bits/setjmp2.h: Likewise.
4360 * stdlib/ucontext.h: Likewise.
4361
77cdc054
AS
43622011-11-10 Andreas Schwab <schwab@redhat.com>
4363
4364 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4365 (reused_arena): Don't check arena limit.
4366 (arena_get2): Atomically check arena limit.
4367
fe72eebd
UD
43682011-11-08 Ulrich Drepper <drepper@gmail.com>
4369
5f078c32
UD
4370 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4371 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4372
fe72eebd
UD
4373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4374 instructions.
4375
ae1bc2fa
AS
43762011-11-07 Andreas Schwab <schwab@redhat.com>
4377
7583a88d
AS
4378 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4379 handler when locking.
4380
ae1bc2fa
AS
4381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4382 Fix size of allocated buffer.
4383
10fb0bfa
AS
43842011-11-04 Andreas Schwab <schwab@redhat.com>
4385
998832a4
AS
4386 [BZ #10103]
4387 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4388 declarations for long double functions.
4389 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4390
10fb0bfa
AS
4391 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4392
3d7ba52b
AS
43932011-11-03 Andreas Schwab <schwab@redhat.com>
4394
a9ae54a1
AS
4395 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4396 installed.
4397
3d7ba52b
AS
4398 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4399 is disabled.
4400
bc8db248
ST
44012011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4402
4403 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4404
45b96dd6
AS
44052011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4406
647776f6
AS
4407 * include/alloca.h (stackinfo_alloca_round): Define.
4408 (extend_alloca): Use it.
4409 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4410 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4411 here.
4412
d91a8b93
AS
4413 * scripts/check-local-headers.sh: Ignore libaudit.h.
4414
45b96dd6
AS
4415 * nscd/Makefile (extra-objs): Make recursively expanded.
4416
432d41ce
UD
44172011-11-01 Ulrich Drepper <drepper@gmail.com>
4418
34372fc6
UD
4419 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4420 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4421
fadb59f8
UD
4422 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4423 * posix/tst-rfc3484-2.c: Likewise.
4424 * posix/tst-rfc3484-3.c: Likewise.
4425
78239589
UD
4426 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4427 process_vm_writev.
4428 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4429 process_vm_writev.
4430 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4431 process_vm_writev from libc using GLIBC_2.15 version.
4432
432d41ce
UD
4433 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4434
02f9c6cf
PP
44352011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4436
4437 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4438 stack usage.
4439
3a2c0242
UD
44402011-10-31 Ulrich Drepper <drepper@gmail.com>
4441
f4ec4833
UD
4442 [BZ #13367]
4443 * nss/getent.c (initgroups_keys): Show error message in case no group
4444 names are given.
4445
3a2c0242
UD
4446 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4447 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4448 __bump_nl_timestamp.
4449 * nscd/connections (nscd_init): When host database is served open
4450 netlink socket and request notification about configuration changes.
4451 (main_loop_poll): Track netlink file descriptor and bump timestamp
4452 in case data becomes available.
4453 (main_loop_epoll): Likewise.
4454 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4455 (database_pers_head): Add extra_data fileds.
4456 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4457 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4458 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4459 Adjust caller.
4460 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4461 in6ai data, call __free_in6ai.
4462 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4463 Add -DHAVE_NETLINK.
4464 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4465 interface information. Reuse previous data if netlink timestamp
4466 is not changed.
4467 (__bump_nl_timestamp): New function.
4468 (__free_in6ai): New function.
4469
636064eb
UD
44702011-10-30 Ulrich Drepper <drepper@gmail.com>
4471
4472 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4473 close_not_cancel_no_status here.
4474 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4475
9beb2334
UD
44762011-10-29 Ulrich Drepper <drepper@gmail.com>
4477
6ef76f3b
UD
4478 [BZ #13276]
4479 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4480 return value.
4481
0ffc4f3e 4482 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4483 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4484 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4485
cb95113e
UD
44862011-07-03 Andreas Jaeger <aj@suse.de>
4487
4488 [BZ #10709]
4489 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4490 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4491 * math/libm-test.inc (sin_test): Add test case.
4492
a1b560ff
UD
44932011-10-29 Ulrich Drepper <drepper@gmail.com>
4494
c9aaface
UD
4495 [BZ #13337]
4496 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4497 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4498
d272e7f1
UD
4499 * elf/chroot_canon.c (chroot_canon): Cleanups.
4500
1bc33071
UD
4501 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4502
1760874d
TJ
4503 [BZ #13335]
4504 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4505 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4506
51d91b18
UD
4507 * string/test-strchr.c: Make usable for strchrnul testing.
4508 * string/test-strchrnul.c: New file.
4509 * string/Makefile (strop-tests): Add strchrnul.
4510
a1b560ff 4511 * po/it.po: Update from translation team.
b611fb81 4512 * po/es.po: Likewise.
a1b560ff 4513
a5b81e1f
UD
45142011-10-28 Ulrich Drepper <drepper@gmail.com>
4515
fd52bc6d
UD
4516 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4517 the three constants needed as parameters. Drop the others.
4518 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4519 __m128i_strloadu_tolower.
52e4b9eb
UD
4520 Create and initialize variable zero and use it in all the places
4521 where _mm_setzero_si128 was used.
fd52bc6d 4522
a5b81e1f
UD
4523 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4524 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4525 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4526 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4527 anymore.
4528 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4529 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4530 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4531 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4532 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4533 __mpranred, __mptan.
4534 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4535 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4536 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4537 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4538 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4539 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4540 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4541 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4542 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4543
b4343346
AS
45442011-10-28 Andreas Schwab <schwab@redhat.com>
4545
0c92d8a8
AS
4546 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4547 redefine if SHARED.
4548 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4549
b4343346
AS
4550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4551 wide char related routines to wcsmbs subdir.
4552
3871f58f
AS
45532011-10-27 Andreas Schwab <schwab@redhat.com>
4554
4555 [BZ #13344]
4556 * misc/sys/cdefs.h (__THROWNL): Define.
4557 * posix/unistd.h: Use __THREADNL instead of __THREAD
4558 for memory synchronization functions.
4559
94d44d9f
RM
45602011-10-26 Roland McGrath <roland@hack.frob.com>
4561
21b64b15 4562 [BZ #13349]
94d44d9f
RM
4563 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4564 doesn't exist.
4565 * manual/stdio.texi (Obstack Streams): Node removed.
4566
f6ce9294
AS
45672011-10-26 Andreas Schwab <schwab@redhat.com>
4568
80479147
AS
4569 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4570 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4571 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4572
f6ce9294
AS
4573 * math/math_private.h (math_force_eval): Allow non-addressable
4574 arguments.
4575 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4576
618280a1
UD
45772011-10-25 Ulrich Drepper <drepper@gmail.com>
4578
e0016b11
UD
4579 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4580 file is not needed.
4581
4582 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4583 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4585 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4588 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4589 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4590 Add AVX variants.
4591 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4592 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4593 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4594 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4595 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4596 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4597 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4598 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4599 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4600 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4601 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4602 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4603 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4604 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4605 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4606 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4607 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4608 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4609 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4610
4611 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4612 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4613
618280a1
UD
4614 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4615 place. Use VEX encoding when compiling for AVX.
4616
37822576
AS
46172011-10-25 Andreas Schwab <schwab@redhat.com>
4618
1f1e1947
AS
4619 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4620 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4621
37822576
AS
4622 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4623
31ea014d
UD
46242011-10-25 Ulrich Drepper <drepper@gmail.com>
4625
d7826aa1 4626 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4627 useless if() expression.
d7826aa1
UD
4628 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4637 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4638 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4639 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4640 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4641 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4642 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4643 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4644 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4646 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4647
31ea014d
UD
4648 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4649
16437fec
AS
46502011-10-25 Andreas Schwab <schwab@redhat.com>
4651
4652 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4653 condition.
4654 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4655
31d3cc00
UD
46562011-10-25 Ulrich Drepper <drepper@gmail.com>
4657
4658 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4659 .text section. Avoid duplicate constants.
4660 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4662 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4668 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4669 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4670 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4671 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4672 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4673 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4674 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4675 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4676 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4677 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4678 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4680 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4681 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4682 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4683 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4684 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4685 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4686 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4687 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4688 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4689 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4690 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4691 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4692 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4693 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4694 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4695 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4696 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4697 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4698 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4699 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4700 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4701 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4702 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4703 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4704 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4705
58985aa9
UD
47062011-10-24 Ulrich Drepper <drepper@gmail.com>
4707
202c9deb
UD
4708 * sysdeps/x86_64/dla.h: Move to ...
4709 * sysdeps/x86_64/fpu/dla.h: ...here.
4710 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4711 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4712
af968f62
UD
4713 * config.make.in: Add have-mfma4 entry.
4714 * configure.in: Substitute libc_cv_cc_fma4.
4715 * math/Makefile (dbl-only-routines): Add sincostab.
4716 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4717 Use __sincostab not sincos.
4718 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4719 name is a macro.
4720 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4724 using __copysign.
4725 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4726 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4727 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4728 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4729 and __inv.
4730 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4731 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4732 __copysign.
4733 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4734 define aliases when function name is a macro.
4735 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4736 sysdeps/ieee754/dbl-64/sincos.tbl.
4737 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4738 fma4-enabled routines.
4739 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4740 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4741 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4742 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4743 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4744 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4745 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4746 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4747 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4748 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4749 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4750 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4751 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4752 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4753 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4754 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4755 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4756 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4757 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4758 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4759 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4760 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4761 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4762 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4763 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4764 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4766 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4767 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4768 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4769
58985aa9
UD
4770 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4771 rename.
4772 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4780
a201fbcf
AS
47812011-10-24 Andreas Schwab <schwab@redhat.com>
4782
4783 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4784
fc2ee42a
LD
47852011-10-23 Ulrich Drepper <drepper@gmail.com>
4786
bb3129bd
UD
4787 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4788
0275fff8
UD
4789 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4790 prediction.
4791 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4792
2fa2ae85
UD
4793 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4794 Remove unused variable magic_bits.
4795 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4796
fc2ee42a
LD
4797 * string/strnlen.c: Define and use STRNLEN macro.
4798 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4799 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4800 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4801 * wcsmbs/wcslen.c: Define and use WCSLEN.
4802 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4803 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4804 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4805 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4806 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4807 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4808 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4809
ce7dd29f
LD
48102011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4811
4812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4813 strnlen-sse2-no-bsf.
4814 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4815 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4816 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4817 Add strnlen support.
4818 (USE_AS_STRNLEN): New macro.
4819 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4820 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4821 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4822 * sysdeps/x86_64/wcslen.S: New file.
4823
979c70a3
MZ
48242011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4825
4826 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4827 XMM-moves are used for copying on small sizes.
4828
2d09f82f
LD
48292011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4830
4831 * wcsmbs/Makefile (strop-tests): Add wcschr.
4832 * wcsmbs/test-wcschr.c: New file.
4833 * string/test-strchr.c: Update.
4834 Add wcschr support.
4835 (WIDE): New macro.
4836
619fccca
LD
48372011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4838
2d09f82f 4839 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4840 * wcsmbs/test-wcslen.c: New file.
4841 * string/test-strlen.c: Update.
4842 Add wcslen support.
4843 (WIDE): New macro.
4844
09f699ea
UD
48452011-10-23 Ulrich Drepper <drepper@gmail.com>
4846
4847 * po/it.po: Update from translation team.
4848
95584d3b
LD
48492011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4850
4851 * sysdeps/x86_64/wcscmp.S: Update.
4852 Fix wrong comparison semantics.
4853 wcscmp shall use signed comparison not unsigned.
4854 Don't use substraction to avoid overflow bug.
4855 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4856 * wcsmbc/wcscmp.c: Likewise.
4857 * string/test-strcmp.c: Likewise.
4858 Add new tests to check cases with negative values.
4859
c8b3296b
UD
48602011-10-23 Ulrich Drepper <drepper@gmail.com>
4861
4862 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4863 * sysdeps/x86_64/dla.h: ...here. New file.
4864 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4866 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4868 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4869 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4870 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4873
246ad57a
AS
48742011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4875
4876 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4877 __ynl_finite aliases.
4878
a1a87169
UD
48792011-10-22 Ulrich Drepper <drepper@gmail.com>
4880
0d355eb7
UD
4881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4882
a1a87169
UD
4883 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4884 define DLA_FMA.
4885 [DLA_FMA] (EMULV): Use DLA_FMA.
4886 [DLA_FMA] (MUL12): Use EMULV.
4887 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4888 that are not needed.
4889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4890 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4891 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4892 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4893 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4894 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4895 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4896
ee2aafe0
AS
48972011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4898
4899 * math/s_nan.c: Undef __nan.
4900 * math/s_nanf.c: Undef __nanf.
4901 * math/s_nanl.c: Undef __nanl.
4902 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4903 "math_private.h".
4904
bc62c2fb
UD
49052011-10-22 Ulrich Drepper <drepper@gmail.com>
4906
77425c63
UD
4907 * math/s_catan.c: Add branch predictions.
4908 * math/s_catanf.c: Likewise.
4909 * math/s_catanh.c: Likewise.
4910 * math/s_catanhf.c: Likewise.
4911 * math/s_catanhl.c: Likewise.
4912 * math/s_catanl.c: Likewise.
4913 * math/s_cexp.c: Likewise.
4914 * math/s_cexpf.c: Likewise.
4915 * math/s_cexpl.c: Likewise.
4916 * math/s_clog.c: Likewise.
4917 * math/s_clog10.c: Likewise.
4918 * math/s_clog10f.c: Likewise.
4919 * math/s_clog10l.c: Likewise.
4920 * math/s_clogf.c: Likewise.
4921 * math/s_clogl.c: Likewise.
4922 * math/s_csqrt.c: Likewise.
4923 * math/s_csqrtf.c: Likewise.
4924 * math/s_csqrtl.c: Likewise.
4925 * math/s_ctanf.c: Likewise.
4926 * math/s_ctanh.c: Likewise.
4927 * math/s_ctanhf.c: Likewise.
4928 * math/s_ctanhl.c: Likewise.
4929 * math/s_ctanl.c: Likewise.
4930
bc62c2fb
UD
4931 * math/math_private.h: Define __nan, __nanf, __nanl.
4932 * math/s_cacosh.c: Include <math_private.h>.
4933 * math/s_cacoshl.c: Likewise.
4934 * math/s_casinh.c: Likewise.
4935 * math/s_casinhf.c: Likewise.
4936 * math/s_casinhl.c: Likewise.
4937 * math/s_ccos.c: Rely entire on ccosh.
4938 * math/s_ccosf.c: Rely entire on ccoshf.
4939 * math/s_ccosl.c: Rely entirely on ccoshl.
4940 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4941 Remove tests for FE_INVALID.
4942 * math/s_ccoshf.c: Likewise.
4943 * math/s_ccoshl.c: Likewise.
4944 * math/s_csin.c: Likewise.
4945 * math/s_csinf.c: Likewise.
4946 * math/s_csinh.c Likewise.
4947 * math/s_csinhf.c: Likewise.
4948 * math/s_csinhl.c: Likewise.
4949 * math/s_csinl.c: Likewise.
4950 * math/s_ctan.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4952 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4953 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4954
8ec250a4
UD
49552011-10-21 Ulrich Drepper <drepper@gmail.com>
4956
c196fed8
UD
4957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4958 compilation problems.
4959
8ec250a4
UD
4960 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4961 __builtin_expect.
4962
8d4f46c6
UD
49632011-10-20 Ulrich Drepper <drepper@gmail.com>
4964
ed72b654
UD
4965 * sysdeps/i386/configure.in: Test for -mfma4 option.
4966 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4967 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4968 COMMON_CPUID_INDEX_80000001.
4969 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4970 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4971 use it if FMA3 is not supported.
4972 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4973
8d4f46c6
UD
4974 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4975 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4976
d45c60c2
AS
49772011-10-20 Andreas Schwab <schwab@redhat.com>
4978
4979 [BZ #12892]
4980 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4981 it would create a cycle with a link time dependency.
4982
d9a4d2ab
UD
49832011-10-19 Ulrich Drepper <drepper@gmail.com>
4984
855d1560
UD
4985 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4986 instruction.
4987 * string/Makefile (strop-tests): Add rawmemchr.
4988 * string/test-rawmemchr.c: New file.
4989
d9a4d2ab
UD
4990 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4991 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4992 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4993 when compiling str{,n}casecmp and when AVX is available. Hook up
4994 new optimized code in initializers.
4995
8f3b1ffe
AS
49962011-10-19 Andreas Schwab <schwab@redhat.com>
4997
4998 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4999 __feraiseexcept instead of feraiseexcept.
5000
d38f1dba
UD
50012011-10-18 Ulrich Drepper <drepper@gmail.com>
5002
d9a8d0ab
UD
5003 * math/math_private.h: Define defaults for libc_fetestexcept and
5004 libc_feupdateenv.
5005 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5006 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5007 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5008 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5009 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5010 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5011 libc_fetestexcept and libc_feupdateenv.
5012
4855e3dd
UD
5013 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5014 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5015 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5016 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5017 libc_feholdexcept_setround.
5018
581d30e3
UD
5019 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5020 Add s_nearbyint-c and s_nearbyintf-c.
5021 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5022 nearbyintf inlines.
5023 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5025 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5027
d38f1dba
UD
5028 * math/math_private.h: Define defaults for libc_fegetround,
5029 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5030 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5031 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5032 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5033 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5034 standard functions.
5035 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5036 Remove comments and hacks for old compiler versions.
5037 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5038 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5039 libc_feholdexceptl.
5040
caa6c9d8
AS
50412011-10-18 Andreas Schwab <schwab@redhat.com>
5042
5043 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5044 (__feraiseexcept_renamed): Add __NTH.
5045 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5046 namespace violations.
5047
97c066e6
UD
50482011-10-17 Ulrich Drepper <drepper@gmail.com>
5049
99ce7b04
UD
5050 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5051
1004d182
UD
5052 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5053
228a984d
UD
5054 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5055 recently added interfaces.
5056 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5057
c8553a6a
UD
5058 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5059 about macro parameter expansion.
5060
ed22dcf6
UD
5061 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5062 __NO_MATH_INLINES is defined. Cleanups.
5063
5064 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5065 and __floorf is target has SSE4.1.
5066 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5067 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5068 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5069 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5070
b171c137
UD
5071 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5072 name.
5073 (floorf): Likewise.
5074
97c066e6
UD
5075 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5076
629f62ef
AS
50772011-10-17 Andreas Schwab <schwab@redhat.com>
5078
49a43d80
AS
5079 * misc/sys/cdefs.h: Fix last change.
5080
629f62ef
AS
5081 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5082 database lookup.
5083
e453f6cd
UD
50842011-10-16 Ulrich Drepper <drepper@gmail.com>
5085
aa78043a
UD
5086 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5087
ad0f5cad
UD
5088 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5089 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5094 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5095 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5096 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5097 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5098 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5099 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5100 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5101 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5102 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5103 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5104 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5105 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5106 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5107 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5108 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5109 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5110
5111 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5112 ceil, ceilf, floor, floorf.
5113
5114 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5115 Perform IRELATIVE relocations last.
5116
e453f6cd
UD
5117 * elf/do-rel.h: Add another parameter nrelative, replacing the
5118 local variable with the same name. Change name of the function
5119 to end in Rel or Rela (uppercase).
5120 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5121 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5122 elf_dynamic_do_##reloc function.
5123
fd5bdc09
UD
51242011-10-15 Ulrich Drepper <drepper@gmail.com>
5125
79b195b5
UD
5126 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5127 is sufficient, at least on modern CPUs.
5128
d4a28569
UD
5129 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5130
b61099b5
UD
5131 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5132 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5133
bcf01e6d
UD
5134 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5135 __expl_finite.
5136 * math/bits/math-finite.h: Add entries for exp.
5137 * math/e_expl.c: Add __*_finite alias.
5138 * sysdeps/i386/fpu/e_exp.S: Likewise.
5139 * sysdeps/i386/fpu/e_expf.S: Likewise.
5140 * sysdeps/i386/fpu/e_expl.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5142 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5143 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5144 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5146 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5147 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5148
ba1a0d59
UD
5149 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5150 is sufficient, at least on modern CPUs.
5151
fd5bdc09
UD
5152 * ctype/ctype-info.c (__ctype_init): Define.
5153 * include/ctype.h (__ctype_init): Declare.
5154 (__ctype_b_loc): The variable is always initialized.
5155 (__ctype_toupper_loc): Likewise.
5156 (__ctype_tolower_loc): Likewise.
5157 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5158 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5159
7872cfb0
AS
51602011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5161
b468825a
AS
5162 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5163
7872cfb0
AS
5164 * configure.in: Also look in $cxxmachine/include for C++ system
5165 headers.
5166
be13f7bf
LD
51672011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5168
5169 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5170 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5171 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5172 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5173 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5174 (USE_AS_WMEMCMP): New macro.
5175 Fixing indents.
5176 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5177 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5178 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5179 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5181 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5182 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5183 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5184 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5185 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5186 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5187 (USE_AS_WMEMCMP): New macro.
5188 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5189 * sysdeps/string/test-memcmp.c: Update.
5190 Fix simple_wmemcmp.
5191 Add new tests.
5192 * wcsmbs/wmemcmp.c: Update.
5193 (WMEMCMP): New macro.
5194 Fix overflow bug.
5195
556a2007
AJ
51962011-10-12 Andreas Jaeger <aj@suse.de>
5197
5198 [BZ #13268]
5199 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5200
538faaa7
UD
52012011-10-15 Ulrich Drepper <drepper@gmail.com>
5202
ab6737ff
UD
5203 * libio/iofwide.c (do_length): Avoid warning.
5204
538faaa7
UD
5205 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5206
396a21b1
UD
52072011-10-14 Ulrich Drepper <drepper@gmail.com>
5208
cdf2901f
UD
5209 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5210
38ad40ce
UD
5211 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5212 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5213 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5214 * sysdeps/i386/i686/fpu/e_log.S: New file.
5215 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5216 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5217
396a21b1
UD
5218 * ctype/ctype.h: Add support for inlined isXXX functions when
5219 compiling C++ code.
5220
6b1f68c9
AS
52212011-10-14 Andreas Schwab <schwab@redhat.com>
5222
349290c0
AS
5223 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5224
6b1f68c9
AS
5225 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5226
f2282d42
RM
52272011-10-13 Roland McGrath <roland@hack.frob.com>
5228
5229 [BZ #13291]
5230 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5231
5298ffa8
AS
52322011-10-13 Andreas Schwab <schwab@redhat.com>
5233
714fad23
AS
5234 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5235 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5236 feraiseexcept.
5237
81dcc7fb
AS
5238 * sysdeps/x86_64/memrchr.S: Check for zero size.
5239
5298ffa8
AS
5240 * string/stratcliff.c: Add memrchr tests.
5241
951fbcec
LD
52422011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5243
5244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5245 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5246 rawmemchr-sse2 rawmemchr-sse2-bsf.
5247 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5248 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5249 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5250 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5251 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5252 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5253 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5254 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5255 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5257 * string/memrchr.c (MEMRCHR): New macro.
5258
0ac5ae23
UD
52592011-10-12 Ulrich Drepper <drepper@gmail.com>
5260
5261 Add integration with gcc's -ffinite-math-only and optimize wrapper
5262 functions in libm.
5263 * Versions.def: Define GLIBC_2.15 version for libm.
5264 * math/Makefile (headers): Add bits/math-finite.h.
5265 * math/bits/math-finite.h: New file.
5266 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5267 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5268 * math/e_acoshl.c: Add __*_finite alias.
5269 * math/e_acosl.c: Likewise.
5270 * math/e_asinl.c: Likewise.
5271 * math/e_atan2l.c: Likewise.
5272 * math/e_atanhl.c: Likewise.
5273 * math/e_coshl.c: Likewise.
5274 * math/e_exp10.c: Likewise.
5275 * math/e_exp10f.c: Likewise.
5276 * math/e_exp10l.c: Likewise.
5277 * math/e_exp2l.c: Likewise.
5278 * math/e_fmodl.c: Likewise.
5279 * math/e_gammal_r.c: Likewise.
5280 * math/e_hypotl.c: Likewise.
5281 * math/e_j0l.c: Likewise.
5282 * math/e_j1l.c: Likewise.
5283 * math/e_jnl.c: Likewise.
5284 * math/e_lgammal_r.c: Likewise.
5285 * math/e_log10l.c: Likewise.
5286 * math/e_log2l.c: Likewise.
5287 * math/e_logl.c: Likewise.
5288 * math/e_powl.c: Likewise.
5289 * math/e_sinhl.c: Likewise.
5290 * math/e_sqrtl.c: Likewise.
5291 * math/e_scalb.c: Completely rewritten and optimized.
5292 * math/e_scalbf.c: Likewise.
5293 * math/e_scalbl.c: Likewise.
5294 * math/w_acos.c: Likewise.
5295 * math/w_acosf.c: Likewise.
5296 * math/w_acosl.c: Likewise.
5297 * math/w_acosh.c: Likewise.
5298 * math/w_acoshf.c: Likewise.
5299 * math/w_acoshl.c: Likewise.
5300 * math/w_asin.c: Likewise.
5301 * math/w_asinf.c: Likewise.
5302 * math/w_asinl.c: Likewise.
5303 * math/w_atan2.c: Likewise.
5304 * math/w_atan2f.c: Likewise.
5305 * math/w_atan2l.c: Likewise.
5306 * math/w_atanh.c: Likewise.
5307 * math/w_atanhf.c: Likewise.
5308 * math/w_atanhl.c: Likewise.
5309 * math/w_exp10.c: Likewise.
5310 * math/w_exp10f.c: Likewise.
5311 * math/w_exp10l.c: Likewise.
5312 * math/w_fmod.c: Likewise.
5313 * math/w_fmodf.c: Likewise.
5314 * math/w_fmodl.c: Likewise.
5315 * math/w_j0.c: Likewise.
5316 * math/w_j0f.c: Likewise.
5317 * math/w_j0l.c: Likewise.
5318 * math/w_j1.c: Likewise.
5319 * math/w_j1f.c: Likewise.
5320 * math/w_j1l.c: Likewise.
5321 * math/w_jn.c: Likewise.
5322 * math/w_jnf.c: Likewise.
5323 * math/w_log.c: Likewise.
5324 * math/w_logf.c: Likewise.
5325 * math/w_logl.c: Likewise.
5326 * math/w_log10.c: Likewise.
5327 * math/w_log10f.c: Likewise.
5328 * math/w_log10l.c: Likewise.
5329 * math/w_log2.c: Likewise.
5330 * math/w_log2f.c: Likewise.
5331 * math/w_log2l.c: Likewise.
5332 * math/w_pow.c: Likewise.
5333 * math/w_powf.c: Likewise.
5334 * math/w_powl.c: Likewise.
5335 * math/w_remainder.c: Likewise.
5336 * math/w_remainderf.c: Likewise.
5337 * math/w_remainderl.c: Likewise.
5338 * math/w_scalb.c: Likewise.
5339 * math/w_scalbf.c: Likewise.
5340 * math/w_scalbl.c: Likewise.
5341 * math/w_sqrt.c: Likewise.
5342 * math/w_sqrtf.c: Likewise.
5343 * math/w_sqrtl.c: Likewise.
5344 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5345 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5346 used.
5347 * math/math_private.h: Declare __kernel_standard_f.
5348 * math/w_cosh.c: Remove cruft and optimize a bit.
5349 * math/w_coshf.c: Likewise.
5350 * math/w_coshl.c: Likewise.
5351 * math/w_exp2.c: Likewise.
5352 * math/w_exp2f.c: Likewise.
5353 * math/w_exp2l.c: Likewise.
5354 * math/w_hypot.c: Likewise.
5355 * math/w_hypotf.c: Likewise.
5356 * math/w_hypotl.c: Likewise.
5357 * math/w_lgamma.c: Likewise.
5358 * math/w_lgamma_r.c: Likewise.
5359 * math/w_lgammaf.c: Likewise.
5360 * math/w_lgammaf_r.c: Likewise.
5361 * math/w_lgammal.c: Likewise.
5362 * math/w_lgammal_r.c: Likewise.
5363 * math/w_sinh.c: Likewise.
5364 * math/w_sinhf.c: Likewise.
5365 * math/w_sinhl.c: Likewise.
5366 * math/w_tgamma.c: Likewise.
5367 * math/w_tgammaf.c: Likewise.
5368 * math/w_tgammal.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5371 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5372 Minor optimizations. Pretty printing. Remove cruft.
5373 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5374 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5375 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5376 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5377 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5378 * sysdeps/i386/fpu/e_asin.S: Likewise.
5379 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5380 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5381 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5382 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5383 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5384 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5385 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5386 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5387 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5388 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5389 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5390 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5391 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5392 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5393 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5394 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5395 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5396 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5397 * sysdeps/i386/fpu/e_log.S: Likewise.
5398 * sysdeps/i386/fpu/e_log10.S: Likewise.
5399 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5400 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5401 * sysdeps/i386/fpu/e_log2.S: Likewise.
5402 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5403 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5404 * sysdeps/i386/fpu/e_logf.S: Likewise.
5405 * sysdeps/i386/fpu/e_logl.S: Likewise.
5406 * sysdeps/i386/fpu/e_pow.S: Likewise.
5407 * sysdeps/i386/fpu/e_powf.S: Likewise.
5408 * sysdeps/i386/fpu/e_powl.S: Likewise.
5409 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5410 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5411 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5412 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5413 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5414 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5415 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5416 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5417 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5422 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5423 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5425 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5428 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5438 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5439 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5440 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5441 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5443 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5444 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5445 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5446 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5447 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5448 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5449 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5450 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5451 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5452 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5453 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5454 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5457 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5458 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5459 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5498 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5501 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5503 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5504 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5506 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5509 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5510 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5511 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5512 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5513 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5514 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5515 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5516 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5517 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5518 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5519 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5520 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5521 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5522 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5523 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5524 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5525 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5526 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5527 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5528 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5529 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5530 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5531 (__isnanf): Likewise.
5532 (__isinf_ns): Likewise.
5533 (__isinf_nsf): Likewise.
5534 (__finite): Likewise.
5535 (__finitef): Likewise.
5536 (__ieee754_sqrt): Define as macro.
5537 (__ieee754_sqrtf): Define as macro.
5538 (__ieee754_sqrtl): Define as macro.
5539 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5540 inlined copy.
5541 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5542 __FINITE_MATH_ONLY__ consistent.
5543 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5544
12cc2fcd
AS
55452011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5546
a843a204
AS
5547 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5548 of rawmemchr.
5549
12cc2fcd
AS
5550 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5551
c853acd5
UD
55522011-10-09 Ulrich Drepper <drepper@gmail.com>
5553
5554 * po/ja.po: Update from translation team.
5555
c658d255
RM
55562011-10-08 Roland McGrath <roland@hack.frob.com>
5557
110946e4
RM
5558 * locale/programs/locarchive.c (prepare_address_space): New function.
5559 (create_archive, enlarge_archive, open_archive): Use it.
5560
50604220
RM
5561 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5562 inside [SHARED], where it is used.
5563
c658d255
RM
5564 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5565
5566 * nss/getent.c (netgroup_keys): Remove unused variable.
5567 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5568
6a621eb7
UD
55692011-10-08 Ulrich Drepper <drepper@gmail.com>
5570
7edb55ce
UD
5571 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5572 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5574 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5575 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5576 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5577 * math/Makefile (libm-calls): Add s_isinf_ns.
5578 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5579 * math/multc3.c: Likewise.
5580 * math/s_casin.c: Likewise.
5581 * math/s_casinf.c: Likewise.
5582 * math/s_casinl.c: Likewise.
5583 * math/s_ccos.c: Likewise.
5584 * math/s_ccosf.c: Likewise.
5585 * math/s_ccosl.c: Likewise.
5586 * math/s_ctan.c: Likewise.
5587 * math/s_ctanf.c: Likewise.
5588 * math/s_ctanh.c: Likewise.
5589 * math/s_ctanhf.c: Likewise.
5590 * math/s_ctanhl.c: Likewise.
5591 * math/s_ctanl.c: Likewise.
5592 * math/w_fmod.c: Likewise.
5593 * math/w_fmodf.c: Likewise.
5594 * math/w_fmodl.c: Likewise.
5595 * math/w_remainder.c: Likewise.
5596 * math/w_remainderf.c: Likewise.
5597 * math/w_remainderl.c: Likewise.
5598 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5599 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5600 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5601 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5602 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5603 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5604 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5605 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5606
187da0ae
UD
5607 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5608 of the number.
5609 * stdio-common/printf_fphex.c: Likewise.
5610 * stdio-common/printf_size.c: Likewise.
5611
9277c064
UD
5612 * math/e_exp10.c: Include math_private.h using <...> not "...".
5613 * math/e_exp10f.c: Likewise.
5614 * math/e_exp10l.c: Likewise.
5615 * math/e_exp2l.c: Likewise.
5616 * math/e_j0l.c: Likewise.
5617 * math/e_j1l.c: Likewise.
5618 * math/e_jnl.c: Likewise.
5619 * math/e_lgammal_r.c: Likewise.
5620 * math/e_rem_pio2l.c: Likewise.
5621 * math/e_scalb.c: Likewise.
5622 * math/e_scalbf.c: Likewise.
5623 * math/e_scalbl.c: Likewise.
5624 * math/k_cosl.c: Likewise.
5625 * math/k_sinl.c: Likewise.
5626 * math/k_tanl.c: Likewise.
5627 * math/s_cacoshf.c: Likewise.
5628 * math/s_catan.c: Likewise.
5629 * math/s_catanf.c: Likewise.
5630 * math/s_catanh.c: Likewise.
5631 * math/s_catanhf.c: Likewise.
5632 * math/s_catanhl.c: Likewise.
5633 * math/s_catanl.c: Likewise.
5634 * math/s_ccosh.c: Likewise.
5635 * math/s_ccoshf.c: Likewise.
5636 * math/s_ccoshl.c: Likewise.
5637 * math/s_cexp.c: Likewise.
5638 * math/s_cexpf.c: Likewise.
5639 * math/s_cexpl.c: Likewise.
5640 * math/s_clog.c: Likewise.
5641 * math/s_clog10.c: Likewise.
5642 * math/s_clog10f.c: Likewise.
5643 * math/s_clog10l.c: Likewise.
5644 * math/s_clogf.c: Likewise.
5645 * math/s_clogl.c: Likewise.
5646 * math/s_csin.c: Likewise.
5647 * math/s_csinf.c: Likewise.
5648 * math/s_csinh.c: Likewise.
5649 * math/s_csinhf.c: Likewise.
5650 * math/s_csinhl.c: Likewise.
5651 * math/s_csinl.c: Likewise.
5652 * math/s_csqrt.c: Likewise.
5653 * math/s_csqrtf.c: Likewise.
5654 * math/s_csqrtl.c: Likewise.
5655 * math/s_ctan.c: Likewise.
5656 * math/s_ctanf.c: Likewise.
5657 * math/s_ctanh.c: Likewise.
5658 * math/s_ctanhf.c: Likewise.
5659 * math/s_ctanhl.c: Likewise.
5660 * math/s_ctanl.c: Likewise.
5661 * math/s_ldexp.c: Likewise.
5662 * math/s_ldexpf.c: Likewise.
5663 * math/s_ldexpl.c: Likewise.
5664 * math/s_significand.c: Likewise.
5665 * math/s_significandf.c: Likewise.
5666 * math/s_significandl.c: Likewise.
5667 * math/w_acos.c: Likewise.
5668 * math/w_acosf.c: Likewise.
5669 * math/w_acosh.c: Likewise.
5670 * math/w_acoshf.c: Likewise.
5671 * math/w_acoshl.c: Likewise.
5672 * math/w_acosl.c: Likewise.
5673 * math/w_asin.c: Likewise.
5674 * math/w_asinf.c: Likewise.
5675 * math/w_asinl.c: Likewise.
5676 * math/w_atan2.c: Likewise.
5677 * math/w_atan2f.c: Likewise.
5678 * math/w_atan2l.c: Likewise.
5679 * math/w_atanh.c: Likewise.
5680 * math/w_atanhf.c: Likewise.
5681 * math/w_atanhl.c: Likewise.
5682 * math/w_cosh.c: Likewise.
5683 * math/w_coshf.c: Likewise.
5684 * math/w_coshl.c: Likewise.
5685 * math/w_dremf.c: Likewise.
5686 * math/w_exp10.c: Likewise.
5687 * math/w_exp10f.c: Likewise.
5688 * math/w_exp10l.c: Likewise.
5689 * math/w_exp2.c: Likewise.
5690 * math/w_exp2f.c: Likewise.
5691 * math/w_fmod.c: Likewise.
5692 * math/w_fmodf.c: Likewise.
5693 * math/w_fmodl.c: Likewise.
5694 * math/w_hypot.c: Likewise.
5695 * math/w_hypotf.c: Likewise.
5696 * math/w_hypotl.c: Likewise.
5697 * math/w_j0.c: Likewise.
5698 * math/w_j0f.c: Likewise.
5699 * math/w_j0l.c: Likewise.
5700 * math/w_j1.c: Likewise.
5701 * math/w_j1f.c: Likewise.
5702 * math/w_j1l.c: Likewise.
5703 * math/w_jn.c: Likewise.
5704 * math/w_jnf.c: Likewise.
5705 * math/w_jnl.c: Likewise.
5706 * math/w_lgamma.c: Likewise.
5707 * math/w_lgamma_r.c: Likewise.
5708 * math/w_lgammaf.c: Likewise.
5709 * math/w_lgammaf_r.c: Likewise.
5710 * math/w_lgammal.c: Likewise.
5711 * math/w_lgammal_r.c: Likewise.
5712 * math/w_log.c: Likewise.
5713 * math/w_log10.c: Likewise.
5714 * math/w_log10f.c: Likewise.
5715 * math/w_log10l.c: Likewise.
5716 * math/w_log2.c: Likewise.
5717 * math/w_log2f.c: Likewise.
5718 * math/w_log2l.c: Likewise.
5719 * math/w_logf.c: Likewise.
5720 * math/w_logl.c: Likewise.
5721 * math/w_pow.c: Likewise.
5722 * math/w_powf.c: Likewise.
5723 * math/w_powl.c: Likewise.
5724 * math/w_remainder.c: Likewise.
5725 * math/w_remainderf.c: Likewise.
5726 * math/w_remainderl.c: Likewise.
5727 * math/w_scalb.c: Likewise.
5728 * math/w_scalbf.c: Likewise.
5729 * math/w_scalbl.c: Likewise.
5730 * math/w_sinh.c: Likewise.
5731 * math/w_sinhf.c: Likewise.
5732 * math/w_sinhl.c: Likewise.
5733 * math/w_sqrt.c: Likewise.
5734 * math/w_sqrtf.c: Likewise.
5735 * math/w_sqrtl.c: Likewise.
5736 * math/w_tgamma.c: Likewise.
5737 * math/w_tgammaf.c: Likewise.
5738 * math/w_tgammal.c: Likewise.
5739
6a621eb7
UD
5740 * po/ja.po: Update from translation team.
5741
bf582445
AJ
57422011-09-29 Andreas Jaeger <aj@suse.de>
5743
f9efbf3a
AJ
5744 [BZ #13179]
5745 * sunrpc/netname.c (netname2host): Fix logic.
5746
bf582445
AJ
5747 [BZ #6779]
5748 [BZ #6783]
5749 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5750 correctly.
5751 * math/w_remainder.c (__remainder): Likewise.
5752 * math/w_remainderf.c (__remainderf): Likewise.
5753 * math/libm-test.inc (remainder_test): Add test cases.
5754
48693bea
AK
57552011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5756
5757 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5758 sdiv_qrnnd.
5759
42622229
LD
57602011-10-07 Ulrich Drepper <drepper@gmail.com>
5761
5762 * string/test-memcmp.c: Avoid unncessary #defines.
5763 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5764
093ecf92
LD
57652011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5766
5767 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5768 Use new sse2 version for core i3 - i7 as it's faster
5769 than sse42 version.
5770 (bit_Prefer_PMINUB_for_stringop): New.
5771 * sysdeps/x86_64/rawmemchr.S: Update.
5772 Replace with faster SSE2 version.
5773 * sysdeps/x86_64/memrchr.S: New file.
5774 * sysdeps/x86_64/memchr.S: Update.
5775 Replace with faster SSE2 version.
5776
fde56e5c
MP
57772011-09-12 Marek Polacek <mpolacek@redhat.com>
5778
5779 * elf/dl-load.c (lose): Add cast to avoid warning.
5780
21fd49a9
UD
57812011-10-07 Ulrich Drepper <drepper@gmail.com>
5782
5a06e643
UD
5783 * po/ca.po: Update from translation team.
5784
684ae515
UD
5785 * inet/getnetgrent_r.c: Hook up nscd.
5786 * nscd/Makefile (routines): Add nscd_netgroup.
5787 (nscd-modules): Add netgroupcache.
5788 (CFLAGS-netgroupcache.c): Define.
5789 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5790 (cache_search): Add const to second parameter.
5791 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5792 INNETGR.
5793 (dbs): Add netgrdb entry.
5794 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5795 (verify_persistent_db): Handle netgrdb.
5796 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5797 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5798 GETFDNETGR.
5799 (netgroup_response_header): Define.
5800 (innetgroup_response_header): Define.
5801 (datahead): Add netgroup_response_header and innetgroup_response_header
5802 elements.
5803 * nscd/nscd.conf: Add entries for netgroup cache.
5804 * nscd/nscd.h (dbtype): Add netgrdb.
5805 (_PATH_NSCD_NETGROUP_DB): Define.
5806 (netgroup_iov_disabled): Declare.
5807 (xmalloc, xcalloc, xrealloc): Move declarations here.
5808 (cache_search): Adjust prototype.
5809 Add netgroup-related prototypes.
5810 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5811 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5812 (__nscd_innetgr): Declare.
5813 * nscd/selinux.c (perms): Use access_vector_t as element type and
5814 add netgroup-related initializers.
5815 * nscd/netgroupcache.c: New file.
5816 * nscd/nscd_netgroup.c: New file.
5817 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5818 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5819 For four parameters use innetgr.
5820 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5821 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5822 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5823 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5824
21fd49a9
UD
5825 * nscd/connections.c (register_traced_file): Don't register file
5826 for disabled databases.
5827
054c0457
UD
58282011-10-06 Ulrich Drepper <drepper@gmail.com>
5829
32b63198
UD
5830 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5831
054c0457
UD
5832 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5833 from tree and freeing node.
5834
64031225
JO
58352011-09-25 Jiri Olsa <jolsa@redhat.com>
5836
5837 * nss/nsswitch.c (__nss_database_lookup): Handle
5838 nss_parse_service_list out of memory case.
5839
0490345c
JO
58402011-09-15 Jiri Olsa <jolsa@redhat.com>
5841
5842 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5843 out of memory case.
5844
3a62d00d
AS
58452011-10-04 Andreas Schwab <schwab@redhat.com>
5846
5847 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5848 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5849 pass it down.
5850 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5851 elf_machine_rela, elf_machine_lazy_rel.
5852 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5853 (ELF_DYNAMIC_DO_REL): Likewise.
5854 (ELF_DYNAMIC_DO_RELA): Likewise.
5855 (ELF_DYNAMIC_RELOCATE): Likewise.
5856 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5857 to ELF_DYNAMIC_DO_REL.
5858 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5859 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5860 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5861 elf_machine_rela.
5862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5863 skip_ifunc, don't call ifunc function if non-zero.
5864 (elf_machine_rela): Likewise.
5865 (elf_machine_lazy_rel): Likewise.
5866 (elf_machine_lazy_rela): Likewise.
5867 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5868 (elf_machine_lazy_rel): Likewise.
5869 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5870 Likewise.
5871 (elf_machine_lazy_rel): Likewise.
5872 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5873 Likewise.
5874 (elf_machine_lazy_rel): Likewise.
5875 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5876 (elf_machine_lazy_rel): Likewise.
5877 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5878 (elf_machine_lazy_rel): Likewise.
5879 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5880 (elf_machine_lazy_rel): Likewise.
5881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5882 (elf_machine_lazy_rel): Likewise.
5883 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5884 (elf_machine_lazy_rel): Likewise.
5885 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5886 (elf_machine_lazy_rel): Likewise.
5887
68577918
UD
58882011-09-28 Ulrich Drepper <drepper@gmail.com>
5889
5890 * nss/nss_files/files-init.c (_nss_files_init): Use static
5891 initialization for all the *_traced_file variables.
5892
68822d74
AS
58932011-09-28 Andreas Schwab <schwab@redhat.com>
5894
5895 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5896
2056100b
RM
58972011-09-27 Roland McGrath <roland@hack.frob.com>
5898
5899 [BZ #13226]
5900 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5901
32c76b63
AS
59022011-09-27 Andreas Schwab <schwab@redhat.com>
5903
5904 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5905 Reread the line before reparsing it.
5906
bf972c9d
AS
59072011-09-26 Andreas Schwab <schwab@redhat.com>
5908
5909 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5910
e057a1b5
JM
59112011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5912 Maxim Kuvyrkov <maxim@codesourcery.com>
5913 Joseph Myers <joseph@codesourcery.com>
5914
5915 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5916 if needed for __stack_chk_guard.
5917
bc7e1c36
RM
59182011-09-19 Roland McGrath <roland@hack.frob.com>
5919
ecb1482f
RM
5920 * sysdeps/posix/spawni.c (script_execute): Always define it.
5921 It will be optimized away if unused.
5922 (maybe_script_execute): New function.
5923 (__spawni): Call it.
5924
bc7e1c36
RM
5925 * Makerules: Don't include tls.make.
5926 (config-tls): Always set to thread.
5927 * tls.make.c: File removed.
5928
1c3b002b
MF
59292011-09-19 Mike Frysinger <vapier@gentoo.org>
5930
5931 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5932 * config.make.in (CPPFLAGS-config): New substituted variable.
5933
2840865d
UD
59342011-09-15 Ulrich Drepper <drepper@gmail.com>
5935
88738eb6
UD
5936 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5937
cbf645a6 5938 [BZ #13192]
2840865d
UD
5939 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5940 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5941
b402e91a
RM
59422011-09-15 Roland McGrath <roland@hack.frob.com>
5943
5944 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5945 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5947 (CALL_FAIL): Likewise.
5948 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5949 (CALL_FAIL): Macro removed.
5950 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5951
4c1a1f71
UD
59522011-09-15 Ulrich Drepper <drepper@gmail.com>
5953
5954 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5955 for __FINITE_MATH_ONLY__ == 1.
5956
edc121be
AS
59572011-09-15 Andreas Schwab <schwab@redhat.com>
5958
5959 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5960 __ieee754_sqrt instead of sqrt.
5961 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5962 __ieee754_sqrtf instead of sqrtf.
5963 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5964 __floorf instead of floorf.
5965 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5966 __floorf, __truncf instead of floorf, truncf.
5967
cd205654
UD
59682011-09-14 Ulrich Drepper <drepper@gmail.com>
5969
ee4d0315
UD
5970 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5971
cd205654
UD
5972 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5973 __extern_always_inline.
5974 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5975 32-bit.
5976
48b67d71
AS
59772011-09-14 Andreas Schwab <schwab@redhat.com>
5978
5979 * elf/rtld.c (dl_main): Also relocate in dependency order when
5980 doing symbol dependency testing.
5981
1ae12c75
AS
59822011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5983
5984 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5985 Always define `refsym'.
5986
995a80df
AS
59872011-09-13 Andreas Schwab <schwab@redhat.com>
5988
e529793b
AS
5989 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5990 (__FD_ELT): Renamed from __FDELT.
5991 * misc/bits/select2.h (__FD_ELT): Likewise.
5992 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5993 __FD_MASK instead of __FDELT, __FDMASK.
5994 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5995 Likewise.
5996 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5997 Likewise.
5998
52d4fef8
AS
5999 * elf/Makefile (gen-ldd): Fix pattern.
6000
995a80df
AS
6001 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6002 (init_tls): Likewise.
6003
8682f8b0
UD
60042011-09-12 Ulrich Drepper <drepper@gmail.com>
6005
6006 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6007
de82006d
AS
60082011-09-12 Andreas Schwab <schwab@redhat.com>
6009
a7c8e6a1
AS
6010 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6011 `struct cmsghdr *' instead of `void *'.
6012 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6013 Likewise.
6014
0f31fe77
AS
60152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6016
6017 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6018 if non-absolute.
6019 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6020 ldd_rewrite_script.
0f31fe77 6021
32b4c839
UD
60222011-09-11 Ulrich Drepper <drepper@gmail.com>
6023
83cd1420
UD
6024 * configure.in: Remove --with-tls option.
6025 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6026 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6027 out in case it is missing.
6028 * sysdeps/ia64/elf/configure.in: Likewise.
6029 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6030 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6031 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6032 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6033 * sysdeps/sh/elf/configure.in: Likewise.
6034 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6035 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6036 * sysdeps/x86_64/elf/configure.in: Likewise.
6037 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6038 * sysdeps/mach/hurd/tls.h: Likewise.
6039
633f745d
UD
6040 [BZ #13067]
6041 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6042
f318beb8
UD
6043 [BZ #13090]
6044 * configure.in: Fix use of AC_INIT.
6045
32b4c839
UD
6046 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6047
3ce1f295
UD
60482011-09-10 Ulrich Drepper <drepper@gmail.com>
6049
bb016596
UD
6050 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6051 __set_errno.
8e58439c
UD
6052 * malloc/hooks.c: Likewise.
6053
aebae053 6054 [BZ #11929]
02d46fc4
UD
6055 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6056 variables statically.
6057 (narenas): Initialize.
6058 (list_lock): Initialize.
bb016596
UD
6059 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6060 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6061 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6062 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6063 Add initializers to main_arena and mp_.
6064 (malloc_state): Remove pagesize member. Change all users to use
6065 GLRO(dl_pagesize).
6066
6067 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6068 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6069 is always initialized.
6070
22a89187
UD
6071 * malloc/malloc.c: Removed unused configurations and dead code.
6072 * malloc/arena.c: Likewise.
6073 * malloc/hooks.c: Likewise.
02d46fc4 6074 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6075
d063d164
UD
6076 * include/tls.h: Removed. USE___THREAD must always be defined.
6077 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6078 * elf/dl-libc.c: Likewise.
6079 * elf/dl-tsd.c: Likewise.
6080 * include/errno.h: Likewise.
6081 * include/netdb.h: Likewise.
6082 * include/resolv.h: Likewise.
6083 * inet/herrno-loc.c: Likewise.
6084 * inet/herrno.c: Likewise.
6085 * malloc/arena.c: Likewise.
6086 * malloc/hooks.c: Likewise.
6087 * malloc/malloc.c: Likewise.
6088 * resolv/res-state.c: Likewise.
6089 * resolv/res_libc.c: Likewise.
6090 * sysdeps/i386/dl-machine.h: Likewise.
6091 * sysdeps/ia64/dl-machine.h: Likewise.
6092 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6093 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6094 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6095 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6096 * sysdeps/sh/dl-machine.h: Likewise.
6097 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6098 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6099 * sysdeps/unix/i386/sysdep.S: Likewise.
6100 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6101 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6102 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6106 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6110 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6111 * sysdeps/x86_64/dl-machine.h: Likewise.
6112 * tls.make.c: Likewise.
6113
3ce1f295
UD
6114 * configure.in: Remove --with-__thread option. Make tests for
6115 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6116 tls_model attribute fail if no support is available. Remove
6117 USE_IN_LIBIO.
6118 * Makeconfig: Adjust for dropped configure option. All features are
6119 now mandatory.
6120 * Makerules: Likewise.
6121 * Versions.def: Likewise.
6122 * argp/argp-fmtstream.c: Likewise.
6123 * argp/argp-fmtstream.h: Likewise.
6124 * argp/argp-help.c: Likewise.
6125 * assert/assert.c: Likewise.
6126 * config.h.in: Likewise.
6127 * config.make.in: Likewise.
6128 * configure: Likewise.
6129 * configure.in: Likewise.
6130 * csu/Versions: Likewise.
6131 * csu/init.c: Likewise.
6132 * elf/tst-audit2.c: Likewise.
6133 * elf/tst-tls10.c: Likewise.
6134 * elf/tst-tls10.h: Likewise.
6135 * elf/tst-tls11.c: Likewise.
6136 * elf/tst-tls12.c: Likewise.
6137 * elf/tst-tls14.c: Likewise.
6138 * elf/tst-tlsmod11.c: Likewise.
6139 * elf/tst-tlsmod12.c: Likewise.
6140 * elf/tst-tlsmod13.c: Likewise.
6141 * elf/tst-tlsmod13a.c: Likewise.
6142 * elf/tst-tlsmod14a.c: Likewise.
6143 * elf/tst-tlsmod15b.c: Likewise.
6144 * elf/tst-tlsmod16a.c: Likewise.
6145 * elf/tst-tlsmod16b.c: Likewise.
6146 * elf/tst-tlsmod7.c: Likewise.
6147 * elf/tst-tlsmod8.c: Likewise.
6148 * elf/tst-tlsmod9.c: Likewise.
6149 * gmon/gmon.c: Likewise.
6150 * grp/fgetgrent_r.c: Likewise.
6151 * grp/putgrent.c: Likewise.
6152 * hurd/fopenport.c: Likewise.
6153 * include/libc-symbols.h: Likewise.
6154 * include/tls.h: Likewise.
6155 * intl/gettextP.h: Likewise.
6156 * intl/loadinfo.h: Likewise.
6157 * locale/global-locale.c: Likewise.
6158 * locale/localeinfo.h: Likewise.
6159 * mach/devstream.c: Likewise.
6160 * malloc/arena.c: Likewise.
6161 * malloc/set-freeres.c: Likewise.
6162 * misc/err.c: Likewise.
6163 * misc/getttyent.c: Likewise.
6164 * misc/mntent_r.c: Likewise.
6165 * posix/getopt.c: Likewise.
6166 * posix/wordexp.c: Likewise.
6167 * pwd/fgetpwent_r.c: Likewise.
6168 * resolv/Versions: Likewise.
6169 * resolv/res_hconf.c: Likewise.
6170 * shadow/fgetspent_r.c: Likewise.
6171 * shadow/putspent.c: Likewise.
6172 * stdio-common/printf_fphex.c: Likewise.
6173 * stdio-common/tmpfile.c: Likewise.
6174 * stdlib/abort.c: Likewise.
6175 * stdlib/fmtmsg.c: Likewise.
6176 * sunrpc/auth_unix.c: Likewise.
6177 * sunrpc/clnt_perr.c: Likewise.
6178 * sunrpc/clnt_tcp.c: Likewise.
6179 * sunrpc/clnt_udp.c: Likewise.
6180 * sunrpc/clnt_unix.c: Likewise.
6181 * sunrpc/openchild.c: Likewise.
6182 * sunrpc/svc_simple.c: Likewise.
6183 * sunrpc/svc_tcp.c: Likewise.
6184 * sunrpc/svc_udp.c: Likewise.
6185 * sunrpc/svc_unix.c: Likewise.
6186 * sunrpc/xdr.c: Likewise.
6187 * sunrpc/xdr_array.c: Likewise.
6188 * sunrpc/xdr_rec.c: Likewise.
6189 * sunrpc/xdr_ref.c: Likewise.
6190 * sunrpc/xdr_stdio.c: Likewise.
6191
1248c1c4
PB
61922011-09-09 Ulrich Drepper <drepper@gmail.com>
6193
6194 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6195
61962011-07-03 Andreas Jaeger <aj@suse.de>
6197
6198 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6199 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6200 regenerate with gen-libm-tests.pl.
6201
62022010-05-12 Petr Baudis <pasky@suse.cz>
6203
6204 [BZ #11589]
6205 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6206 around j0() zero points by switching to j1().
6207 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6208 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6211
f22e1074
UD
62122011-09-09 Ulrich Drepper <drepper@gmail.com>
6213
f19009c1
UD
6214 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6215 instead of 0.
6216 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6217 instead of 0. .
6218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6219 Patch in part by Pavel Roskin <proski@gnu.org>.
6220
3f8cc204
UD
6221 [BZ #13138]
6222 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6223 realloc.
6224 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6225 Free memory block if necessary.
6226
f22e1074
UD
6227 [BZ #12847]
6228 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6229 be NULL. Don't lock in this case.
6230
0a2349f9
RM
62312011-09-09 Roland McGrath <roland@hack.frob.com>
6232
6233 * elf/elf.h (ELFOSABI_GNU): New macro.
6234 (ELFOSABI_LINUX): Define to that.
6235
f3cdd467
DZ
62362011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6237
6238 * string/strncat.c (strncat): Undef the symbol in case it has been
6239 defined in bits/string.h.
6240
74718d13
UD
62412011-09-09 Ulrich Drepper <drepper@gmail.com>
6242
633e9e0f
UD
6243 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6244
0a2349f9 6245 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6246 link map.
6247
f9924780
AJ
62482011-08-17 Andreas Jaeger <aj@suse.de>
6249
6250 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6251
7f5517aa
PP
62522011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6253 Ian Lance Taylor <iant@google.com>
6254
6255 * math/libm-test.inc (lround_test): New testcase.
6256 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6257
762011fe
UD
62582011-09-08 Ulrich Drepper <drepper@gmail.com>
6259
92963737
UD
6260 * Makefile: Remove support for automatic cvs check-ins.
6261 * Makerules: Likewise.
6262 * config.make.in: Likewise.
6263 * configure.in: Likewise.
6264 * intl/Makefile: Likewise.
6265 * locale/Makefile: Likewise.
6266 * po/Makefile: Likewise.
6267 * posix/Makefile: Likewise.
6268 * sysdeps/gnu/Makefile: Likewise.
6269 * sysdeps/mach/hurd/Makefile: Likewise.
6270 * sysdeps/sparc/sparc32/Makefile: Likewise.
6271
b0727fd8
JS
6272 [BZ #13118]
6273 * posix/Makefile (bug-regex32-ENV): Define.
6274 Patch by John Stanley <jpsinthemix@verizon.net>.
6275
a0f33f99
UD
6276 * misc/Makefile (headers): Add bits/select2.h.
6277 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6278 * misc/bits/select2.h: New file.
6279 * include/bits/select2.h: New file.
6280 * debug/Makefile (routines): Add fdelt_chk.
6281 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6282 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6283 FD_ISSET.
6284 * debug/fdelt_chk.c: New file.
6285
762011fe
UD
6286 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6287 * wcsmbs/test-wmemcmp.c: Likewise.
6288 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6289 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6290
62912011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6292
6293 * string/Makefile (strop-tests): Add memcmp.
6294 * string/test-wmemcmp.c: New file.
6295 * string/test-memcmp.c: Add wmemcmp support.
6296
7f513ec8
RM
62972011-09-08 Roland McGrath <roland@hack.frob.com>
6298
0442afb4
RM
6299 [BZ #13153]
6300 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6301 2011-07-19 change.
6302
7f513ec8
RM
6303 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6304 garbage value in a __mach_port_mod_refs call in the cases of the
6305 task-self and thread-self ports.
6306
a12b2239
ST
63072011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6308
6309 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6310
610f9ab4
AS
63112011-09-08 Andreas Schwab <schwab@redhat.com>
6312
7f513ec8 6313 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6314
48882a1a
LD
63152011-09-07 Ulrich Drepper <drepper@gmail.com>
6316
b49865be
UD
6317 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6318
fdc86bc9
UD
6319 * elf/dl-libc.c (dlerror_run): Pass back error code from
6320 dl_catch_error.
6321
c966526a
UD
6322 [BZ #13123]
6323 * elf/dl-load.c (lose): Free l_origin if it is valid.
6324
48882a1a
LD
6325 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6326 names.
6327 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6328 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6329 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6330 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6331 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6332 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6333
77a2a8b4
AZ
63342011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335
6336 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6337 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6338 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6339 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6340 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6341 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6342 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6343 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6344 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6345 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6346
24f579d8
AM
63472011-08-15 Alan Modra <amodra@gmail.com>
6348
6349 [BZ #13092]
6350 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6351 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6352 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6353 ppc_mcount to static-only-routines.
6354 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6355 __mcount_internal.
6356 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6357 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6358
3d4837df
UD
63592011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6360
6361 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6362 for finite and infinity parameters.
6363
22700377
WS
63642011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6365
6366 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6367 and add nop instructions for throughput optimization.
6368 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6369
5025581e
WS
63702011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6371
6372 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6373 aligned copy for power7 with vector-scalar instructions.
6374 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6375
08a300c9
L
63762011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6379 AVX check.
6380
59178ef9
AS
63812011-09-07 Andreas Schwab <schwab@redhat.com>
6382
6383 [BZ #13144]
6384 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6385 last change.
6386
e38ba7ab
UD
63872011-09-07 Ulrich Drepper <drepper@gmail.com>
6388
6389 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6390 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6391 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6392 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6393 clock_gettime.
6394
d53a73ac
UD
63952011-09-06 Ulrich Drepper <drepper@gmail.com>
6396
fc8bffcc
UD
6397 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6398 Forgot to demangle the pointer.
6399
ceaa0c5d
UD
6400 * sysdeps/i386/sysdep.h: Define atom_text_section.
6401 * sysdeps/x86_64/sysdep.h: Likewise.
6402 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6403 section with atom_text_section.
6404 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6405 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6406 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6408 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6409
a77d3c17
UD
6410 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6412 already be defined. Change to take two parameters and don't assign
6413 result to variable. Adjust all users.
6414 Define INTERNAL_GETTIME if not already defined.
6415 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6416 call.
6417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6418 HAVE_CLOCK_GETTIME_VSYSCALL.
6419 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6420
d53a73ac
UD
6421 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6422 gettimeofday vsyscall, just use time.
6423
a8f84144
AS
64242011-09-06 Andreas Schwab <schwab@redhat.com>
6425
6426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6427 <errno.h>.
6428
ef606249
UD
64292011-09-06 Ulrich Drepper <drepper@gmail.com>
6430
6431 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6432 syscall on x86-64.
6433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6434 syscall.
6435 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6436 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6437 syscall if possible.
6438
6585cb60
UD
64392011-09-05 Ulrich Drepper <drepper@gmail.com>
6440
6441 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6442 e_ident. Don't pass to find_mapsXX.
6443 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6444
a5f524e4
LD
64452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6446
6447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6448 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6449 * sysdeps/x86_64/multiarch/strchr.S: Update.
6450 Check bit_slow_BSF bit.
6451 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6452 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6453 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6454
554881ef
UD
64552011-09-05 Ulrich Drepper <drepper@gmail.com>
6456
d96de963
UD
6457 [BZ #13134]
6458 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6459 before glibc 2.15.
6460 (tryshell): Define.
6461 (__spawni): Change last parameter to be flag. Test
6462 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6463 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6464 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6465 * posix/spawni.c: Likewise.
6466 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6467 * posix/spawnp.c: Likewise. Change normal version to use
6468 SPAWN_XFLAGS_USE_PATH.
6469 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6470 SPAWN_XFLAGS_TRY_SHELL.
6471
d48e5868
UD
6472 [BZ #13150]
6473 * posix/glob.h: Remove gcc 1.x support.
6474
554881ef
UD
6475 [BZ #13068]
6476 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6477
693fb948
LD
64782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6479
6480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6481 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6482 strrchr-sse2-bsf
6483 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6484 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6485 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6486 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6487 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6488 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6489
1b48c537
UD
64902011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6491
49d42c37
UD
6492 * sysdeps/x86_64/wcscmp.S: New file.
6493
1b48c537
UD
6494 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6495 wcscmp-c wcscmp-sse2
6496 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6497 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6498 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6499 * wcsmbs/wcscmp.c: Allow renaming.
6500
15c95c5d
DM
65012011-09-05 David S. Miller <davem@davemloft.net>
6502
6503 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6504 stack slot, rather than the struct return pointer slot.
6505 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6506 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6508 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6509
2f0ad8f3
UD
65102011-09-05 Ulrich Drepper <drepper@gmail.com>
6511
d88ae418
UD
6512 * po/ja.po: Update from translation team.
6513
2f0ad8f3
UD
6514 [BZ #13144]
6515 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6516 kernel in 64-bit binaries.
6517
5f4318d1
DM
65182011-09-01 David S. Miller <davem@davemloft.net>
6519
6520 * elf/elf.h (HWCAP_SPARC_*): Move to..
6521 * sysdeps/sparc/sysdep.h: this new file and add new values.
6522 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6523 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6524 _DL_HWCAP_COUNT to 24.
6525 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6526 entries.
6527 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6528 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6529 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6531 instead of magic constants.
6532 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6533
3ba57516
DM
65342011-08-31 David S. Miller <davem@davemloft.net>
6535
6536 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6538 Reimplement to do errno handling inline.
6539 (SYSCALL_ERROR_HANDLER): New macro.
6540 (__SYSCALL_STRING): Do not do errno handling in asm.
6541 (__CLONE_SYSCALL_STRING): Delete.
6542 (__INTERNAL_SYSCALL_STRING): Delete.
6543 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6544 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6545 (PSEUDO): Reimplement to do errno handling inline.
6546 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6547 (SYSCALL_ERROR_HANDLER): New macro.
6548 (__SYSCALL_STRING): Do not do errno handling in asm.
6549 (__CLONE_SYSCALL_STRING): Delete.
6550 (__INTERNAL_SYSCALL_STRING): Delete.
6551 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6552 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6553 i386.
6554 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6555 (inline_syscall*): Add 'err' argument.
6556 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6557 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6558 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6559 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6560
6561 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6562 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6563
2bc17433
AS
65642011-08-30 Andreas Schwab <schwab@redhat.com>
6565
6566 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6567
fbeb5f4d
JO
65682011-08-29 Jiri Olsa <jolsa@redhat.com>
6569
6570 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6571 directive.
6572
ad69cc26
DM
65732011-08-24 David S. Miller <davem@davemloft.net>
6574
6575 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6576
39dd69df
AS
65772011-08-24 Andreas Schwab <schwab@redhat.com>
6578
6579 * elf/Makefile: Add rules to build and run unload8 test.
6580 * elf/unload8.c: New file.
6581 * elf/unload8mod1.c: New file.
6582 * elf/unload8mod1x.c: New file.
6583 * elf/unload8mod2.c: New file.
6584 * elf/unload8mod3.c: New file.
6585
6586 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6587 it wasn't used.
6588
2c0b250a
DM
65892011-08-23 David S. Miller <davem@davemloft.net>
6590
6591 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6592 subtract stack bias.
6593 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6594 %sp not %fp in calculations.
6595 (_JMPBUF_UNWINDS_ADJ): Likewise.
6596
22044b48
DM
6597 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6598 (aio_suspend): Call it to force an exception region around the
6599 AIO_MISC_WAIT() invocation.
6600
2cae4995
AS
66012011-08-23 Andreas Schwab <schwab@redhat.com>
6602
6603 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6604 backslash.
6605
873a772e
AJ
66062011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6607
6608 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6609 protection macro.
6610 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6611 and <dl-machine.h>.
6612 (Elf64_FuncDesc): Remove.
6613
25ad0df1
DM
66142011-08-22 David S. Miller <davem@davemloft.net>
6615
6616 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6617 sigaltstack check, add missing cfi directives.
6618 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6619 missing cfi directives, and sigaltstack handling.
6620
e888bcbe
AS
66212011-08-16 Andreas Schwab <schwab@redhat.com>
6622
6623 [BZ #11724]
6624 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6625 object is seen twice.
6626 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6627
6628 * elf/Makefile (distribute): Add tst-initorder2.c.
6629 (tests): Add tst-initorder2.
6630 (modules-names): Add tst-initorder2a tst-initorder2b
6631 tst-initorder2c tst-initorder2d. Add rules to build them.
6632 ($(objpfx)tst-initorder2.out): New rule.
6633 * elf/tst-initorder2.c: New file.
6634 * elf/tst-initorder2.exp: New file.
6635
87162f46
AS
66362011-08-22 Andreas Schwab <schwab@redhat.com>
6637
70538b7f
AS
6638 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6639
f55ffe58
AS
6640 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6641 dependencies back to end of function.
6642
87162f46
AS
6643 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6644 $(elfobjdir)/ld.so.
6645
91b392a4
UD
66462011-08-21 Ulrich Drepper <drepper@gmail.com>
6647
6648 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6649 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6651 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6652 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6653 of __vdso_gettimeofday.
6654 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6655 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6656 attribute_hidden.
6657 (_libc_vdso_platform_setup): Remove initialization of
6658 __vdso_gettimeofday and __vdso_time.
6659
5c43483f
UD
66602011-08-20 Ulrich Drepper <drepper@gmail.com>
6661
775a77e7
UD
6662 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6663 and fgetc_unlocked.
6664 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6665 getc_unlocked.
89f447ed 6666
49c74ba9
UD
6667 * elf/dl-open.c (add_to_global): Report additions to the global scope
6668 for LD_DEBUG=scopes.
6669 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6670 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6671
5c43483f
UD
6672 [BZ #13114]
6673 * stdio-common/Makefile (tests): Add bug24.
6674 * stdio-common/bug24.c: New file.
6675
a101b025
AJ
66762011-08-19 Andreas Jaeger <aj@suse.de>
6677
6678 [BZ #13114]
6679 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6680 non-existant file when using close-on-exec mode.
6681
c88f1766
UD
66822011-08-20 Ulrich Drepper <drepper@gmail.com>
6683
0276a718
UD
6684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6685 the very first instruction.
6686
c88f1766
UD
6687 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6688 the CFI state in the end.
6689 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6690 inclusion of dl-trampoline.h.
6691 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6692
51ccffa0
AS
66932011-08-19 Andreas Schwab <schwab@redhat.com>
6694
94d7165f
AS
6695 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6696 expectations for long double.
6697
51ccffa0
AS
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6699 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6700
fd708658 67012011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6702
6703 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6704 artificual limit depends upon the system page size.
6705
44f0a71e
UD
67062011-08-17 Ulrich Drepper <drepper@gmail.com>
6707
6708 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6709 * resolv/Makefile: Define CFLAGS-libresolv.
6710
8de79a24
AS
67112011-08-17 Andreas Schwab <schwab@redhat.com>
6712
6713 * nss/makedb.c (compute_tables): Make variables used in nested
6714 function static.
6715
27724598
UD
67162011-08-17 Ulrich Drepper <drepper@gmail.com>
6717
c5305d88
UD
6718 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6719 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6720 if buffer was too small.
6721
27724598
UD
6722 * elf/pldd.c (main): Attach to all threads in the process.
6723 Rewrite /proc handling to use *at functions.
6724
076fe015
UD
67252011-08-16 Ulrich Drepper <drepper@gmail.com>
6726
174baab3
UD
6727 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6728 specifies first scope to show.
6729 (dl_open_worker): Update callers. Move printing scope of new
6730 object to before the relocation.
44f0a71e 6731 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6732 * sysdeps/generic/ldsodefs.h: Update declaration.
6733
076fe015
UD
6734 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6735 string for the scope number.
6736
a60df2c3
UD
67372011-08-14 Ulrich Drepper <drepper@gmail.com>
6738
6739 * nscd/servicescache.c (cache_addserv): Make sure written is always
6740 initialized.
6741
5e4287d1
RM
67422011-08-14 Roland McGrath <roland@hack.frob.com>
6743
85ae0589
RM
6744 * sysdeps/i386/i486/bits/atomic.h
6745 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6746 statement expression, so as to suppress "set but not used" warning.
6747 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6748
69f63097
RM
6749 * string/strncat.c (STRNCAT): Use prototype definition.
6750
675456ef
RM
6751 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6752 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6753 -Iprograms here.
6754 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6755 (localedef-modules): Add localedef.
6756 (locale-modules): Add locale.
6757
5e4287d1
RM
6758 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6759 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6760 to avoid a warning.
6761
9c96ff23
DM
67622011-08-14 David S. Miller <davem@davemloft.net>
6763
6764 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6765 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6766
f9ddf089
UD
67672011-08-13 Ulrich Drepper <drepper@gmail.com>
6768
44f0a71e 6769 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6770 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6771 * elf/rtld.c (dl_main): Set l_name of vDSO.
6772 Call _dl_show_scope when DL_DEBUG_SCOPES.
6773 (process_dl_debug): Recognize scopes flag and also set it for all.
6774 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6775 Declare _dl_show_scope.
6776
1dc27704
UD
6777 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6778 (do_dlopen): Pass caller_dlopen to dl_open.
6779 (__libc_dlopen_mode): Initialize caller_dlopen.
6780
f9ddf089
UD
6781 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6782 of libc. Make tolower call locale-independent. Optimize a bit by
6783 using isdigit instead of isalnum.
6784 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6785
9ac533d3
UD
67862011-08-12 Ulrich Drepper <drepper@gmail.com>
6787
6788 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6789 was a dependency or dynamically loaded.
6790
89edf2e9
UD
67912011-08-11 Ulrich Drepper <drepper@gmail.com>
6792
8e999d29
UD
6793 * intl/l10nflist.c: Allow architecture-specific pop function.
6794 * sysdeps/x86_64/l10nflist.c: New file.
6795
89edf2e9
UD
6796 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6797 classification.
6798
14d96785
AS
67992011-08-10 Andreas Schwab <schwab@redhat.com>
6800
6801 * include/dirent.h: Add libc_hidden_proto for scandirat and
6802 scandirat64. Don't declare __scandirat64.
6803 * dirent/scandirat.c: Add libc_hidden_def.
6804 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6805 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6806
6761ac04
DM
68072011-08-10 David S. Miller <davem@davemloft.net>
6808
6809 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6810 enum.
6811 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6813 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6814
c55fbd1e
UD
68152011-08-09 Ulrich Drepper <drepper@gmail.com>
6816
6817 * Versions.def [libc]: Add GLIBC_2.15.
6818 * dirent/Makefile (routines): Add scandirat and scandirat64.
6819 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6820 GLIBC_2.15.
6821 * dirent/dirent.h: Declare scandirat and scandirat64.
6822 * dirent/scandirat.c: New file.
6823 * dirent/scandirat64.c: New file.
6824 * sysdeps/wordsize-64/scandirat.c: New file.
6825 * sysdeps/wordsize-64/scandirat64.c: New file.
6826 * dirent/opendir.c: Define opendirat.
6827 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6828 using scandirat.
6829 * dirent/scandir64.c: Adjust for scandir.c change.
6830 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6831 __scandirat64, and __scandir_cancel_handler.
6832 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6833 additional parameter and use openat instead of open (outside of ld.so).
6834 Add new __opendir as wrapper around __opendirat.
6835 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6836 here without requiring old scandirat implementation.
6837
879165f2
UD
68382011-08-08 Ulrich Drepper <drepper@gmail.com>
6839
6840 * dirent/scandir.c (cancel_handler): Renamed to
6841 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6842 defined. Adjust users.
6843 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6844 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6845
cb7e923b
UD
68462011-08-04 Ulrich Drepper <drepper@gmail.com>
6847
16292edd
UD
6848 * string/test-string.h (IMPL): Use __STRING to expand name and then
6849 stringify it.
6850
cb7e923b
UD
6851 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6852 of cleanups.
6853
cff82933
LD
68542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6855
6856 * string/Makefile: Update.
6857 (strop-tests): Append strncat.
6858 * string/test-wcscmp.c: New file.
6859 New comprehensive test for wcscmp.
6860 * string/test-strcmp.c: Update.
6861 (WIDE): New define.
6862
9be9bfcc
AS
68632011-07-22 Andreas Schwab <schwab@redhat.com>
6864
6865 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6866 line.
6867
2e96f1c7
AS
68682011-07-26 Andreas Schwab <schwab@redhat.com>
6869
6870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6871 encoding to ACE if AI_IDN.
6872
85188888
JJ
68732011-08-01 Jakub Jelinek <jakub@redhat.com>
6874
6875 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6876 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6877
5fa16e9b
LD
68782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6879
6880 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6881 Fix overflow bug in strncat.
6882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6883
6884 * string/test-strncat.c: Update.
6885 Add new tests for checking overflow bugs.
6886
68872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6888
6889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6890 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6891 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6892 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6893 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6894 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6895 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6896 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6897 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6898
6899 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6900 (USE_AS_STRCAT): Define.
6901 Add strcat and strncat support.
6902 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6903
8c1a459f
AS
69042011-07-25 Andreas Schwab <schwab@redhat.com>
6905
6906 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6907 __n bigger than INT_MAX+1.
6908 (__strncmp_g): Likewise.
6909
bba33c28
UD
69102011-07-23 Ulrich Drepper <drepper@gmail.com>
6911
798be72d
UD
6912 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6913 * libio/stido.h: Likewise.
6914
8accd4dc
UD
6915 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6916 (AF_NFC): Define.
6917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6918 (AF_NFC): Define.
6919
cbff0d96
UD
6920 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6921 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6922 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6923 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6924 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6925
9191c04a
UD
6926 [BZ #13021]
6927 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6928 installed.
6929
bba33c28
UD
6930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6931 typo.
6932 (_dl_x86_64_save_sse): Likewise.
6933
90f139dd
UD
69342011-07-22 Ulrich Drepper <drepper@gmail.com>
6935
1aae088a
UD
6936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6937 OSXSAVE.
6938 (_dl_x86_64_save_sse): Likewise.
6939
8e2045f5
UD
6940 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6941
90f139dd
UD
6942 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6943
1d002f25
AS
69442011-07-21 Andreas Schwab <schwab@redhat.com>
6945
6946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6947 change.
6948 (_dl_x86_64_save_sse): Use correct AVX check.
6949
21137f89
UD
69502011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6951
6952 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6953 bug in strncpy/strncat.
6954 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6955
a65c0b7a
UD
69562011-07-21 Ulrich Drepper <drepper@gmail.com>
6957
6958 * string/tester.c (test_strcat): Add tests for different alignments
6959 of source and destination.
6960 (test_strncat): Likewise.
6961
6986b98a
UD
69622011-07-20 Ulrich Drepper <drepper@gmail.com>
6963
90bb2039
UD
6964 [BZ #12852]
6965 * posix/glob.c (glob): Check passed in values before using them in
6966 expressions to avoid some overflows.
6967 (glob_in_dir): Likewise.
6968
5644ef54
UD
6969 [BZ #13007]
6970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6971 check for AVX enablement so that we don't crash with old kernels and
6972 new hardware.
6973 * elf/tst-audit4.c: Add same checks here.
6974 * elf/tst-audit6.c: Likewise.
6975
6976 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6977
bfc9dc9b
AS
69782011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6979
6980 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6981
702e64bb
UD
69822011-07-20 Ulrich Drepper <drepper@gmail.com>
6983
6984 * po/cs.po: Update from translation team.
6985 * po/bg.po: Likewise.
6986
295e904f
MP
69872011-07-12 Marek Polacek <mpolacek@redhat.com>
6988
6989 * misc/sys/cdefs.h: Add support for const attribute.
6990 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6991 to gnu_dev_{major,minor,makedev} functions.
6992
3ff94596
MP
69932011-07-20 Marek Polacek <mpolacek@redhat.com>
6994
6995 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6996
28b59fca
AS
69972011-07-20 Andreas Schwab <schwab@redhat.com>
6998
6999 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7000 strlen results.
7001
19df733e
AK
70022011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7003
7004 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7005 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7006 register in order to avoid conflicts with the soft frame pointer
7007 being held in r11 when necessary.
7008 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7009 (INTERNAL_VSYSCALL_NCS): Likewise.
7010
c8835729
MP
70112011-07-14 Marek Polacek <mpolacek@redhat.com>
7012
7013 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7014 * elf/dl-fini.c (_dl_fini): Adjust caller.
7015 * elf/dl-close.c (_dl_close_worker): Likewise.
7016 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7017
b902330c
MP
70182011-07-15 Marek Polacek <mpolacek@redhat.com>
7019
8991e135
MP
7020 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7021 "aux_cache->nlibs < 0".
7022
b902330c
MP
7023 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7024 in the reload-count case.
7025
99710781
LD
70262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7027
7028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7029 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7030 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7031 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7032 * sysdeps/x86_64/multiarch/strcat.S: New file.
7033 * sysdeps/x86_64/multiarch/strncat.S: New file.
7034 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7035 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7036 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7037 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7038 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7039 (USE_AS_STRCAT): Define.
7040 Add strcat and strncat support.
7041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7042 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7043 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7044 * string/strncat.c: Update.
7045 (USE_AS_STRNCAT): Define.
7046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7047 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7048 and i7.
7049 * sysdeps/x86_64/multiarch/init-arch.h
7050 (bit_Prefer_PMINUB_for_stringop): New.
7051 (index_Prefer_PMINUB_for_stringop): Likewise.
7052 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7053 bit_Prefer_PMINUB_for_stringop.
7054
7dc6bd90
UD
70552011-07-19 Ulrich Drepper <drepper@gmail.com>
7056
7057 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7058 buffer64.
7059 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7060 of casting of buffer.
7061 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7062 buffer32 and buffer64.
7063 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7064 writes instead of casting of buffer.
7065 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7066 buffer32.
7067 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7068 casting of buffer.
7069
e0e72284
AS
70702011-07-19 Andreas Schwab <schwab@redhat.com>
7071
7072 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7073
feb1eb0b
UD
70742011-07-19 Ulrich Drepper <drepper@gmail.com>
7075
7076 * nscd/nscd.c (termination_handler): Don't do anything for a database
7077 if it has not yet been initialized.
7078
298711ff
UD
70792011-07-18 Ulrich Drepper <drepper@gmail.com>
7080
7081 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7082
70832011-07-15 Marek Polacek <mpolacek@redhat.com>
7084
7085 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7086
f9d68389
UD
70872011-07-18 Ulrich Drepper <drepper@gmail.com>
7088
7089 * po/nl.po: Update from translation team.
7090 * po/sv.po: Likewise.
7091
db290cf5
RM
70922011-07-16 Roland McGrath <roland@hack.frob.com>
7093
7094 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7095 now disallowed by GCC.
5c550700 7096
fd5e21c7
RM
7097 * configure.in (use-default-link): Default to yes if a test -shared
7098 link meets our qualifications.
7099 * configure: Regenerated.
7100
5c550700
RM
7101 * config.make.in (output-format): New variable.
7102 * configure.in: Check for ld --print-output-format support.
7103 * configure: Regenerated.
7104 * Makerules ($(common-objpfx)format.lds)
7105 [$(output-format) != unknown]: Just use $(output-format),
7106 instead of the linker-script munging.
7107
9fa2c032
RM
71082011-07-14 Roland McGrath <roland@hack.frob.com>
7109
a6928d51
RM
7110 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7111 of $(common-objpfx)shlib.lds.
7112 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7113
661607b3
RM
7114 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7115 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7116
9fa2c032
RM
7117 * configure.in (-z relro check): Adjust test code to add a large
7118 writable data section after it.
7119 * configure: Regenerated.
7120
defe9061
RM
71212011-07-11 Roland McGrath <roland@hack.frob.com>
7122
7123 * configure.in (-z relro check): Fix test code to make the variable
7124 truly const.
7125 * configure: Regenerated.
7126
319b9ad4
UD
71272011-07-11 Ulrich Drepper <drepper@gmail.com>
7128
7129 * nscd/nscd.h (struct traced_file): Define.
7130 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7131 elements. Add traced_files.
7132 (inotify_fd): Declare.
7133 (register_traced_file): Declare.
7134 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7135 (inotify_fd): Export.
7136 (resolv_conf_descr): Remove.
7137 (nscd_init): Move inotify descriptor creation to main.
7138 Don't register files for notification here.
7139 (register_traced_file): New function.
7140 (invalidate_cache): Don't use reset_res to determine whether to call
7141 res_init, go through the list of registered files.
7142 (main_loop_poll): The inotify descriptors are now stored in the
7143 structures for the traced files.
7144 (main_loop_epoll): Likewise
7145 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7146 to __nss_disable_nscd.
7147 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7148 for a database anymore. Check the records for all the registered
7149 files instead.
7150 * nss/Makefile (libnss_files-routines): Add files-init.
7151 (libnss_db-routines): Add db-init.
7152 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7153 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7154 * nss/nss_db/db-init.c: New file.
7155 * nss/nss_files/files-init.c: New file.
7156 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7157 __nss_lookup_function.
7158 (__nss_lookup_function): Call nss_load_library.
7159 (nss_load_all_libraries): New function.
7160 (__nss_disable_nscd): Take parameter with callback function for files
7161 to register. Set is_nscd. Load all the DSOs for the NSS modules
7162 used for the cached services.
7163 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7164 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7165 options for features to all the files in nscd.
7166
7167 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7168
23bee3e8
RM
71692011-07-10 Roland McGrath <roland@hack.frob.com>
7170
7171 * csu/elf-init.c (__libc_csu_init): Comment typo.
7172
46a5b7f0
UD
71732011-07-09 Ulrich Drepper <drepper@gmail.com>
7174
7175 * po/pl.po: Update from translation team.
7176 * po/ja.po: Likewise.
7177 * po/ru.po: Likewise.
7178 * po/ko.po: Likewise.
7179 * po/fr.po: Likewise.
7180
d30cf5bb
RM
71812011-07-09 Roland McGrath <roland@hack.frob.com>
7182
113ddea4
RM
7183 * configure.in (.ctors/.dtors header and trailer check):
7184 Use an empirical test on a built program.
7185 * configure: Regenerated.
7186
574920b4
RM
7187 * configure.in (-z relro check): Use an empirical test on a built DSO.
7188 Detect, but do not require, on ia64.
7189 * configure: Regenerated.
7190
d30cf5bb
RM
7191 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7192 Update tests that use readelf to use $READELF instead.
7193 * configure: Regenerated.
7194
8538fdb3
UD
71952011-07-08 Ulrich Drepper <drepper@gmail.com>
7196
7197 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7198 if the result is not used.
7199
04d08991
AJ
72002011-07-05 Andreas Jaeger <aj@suse.de>
7201
7202 [BZ#9696]
7203 * stdlib/tst-strtod.c: Add testcase.
7204
de283087
AD
72052011-07-07 Ulrich Drepper <drepper@gmail.com>
7206
4e5f31c8 7207 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7208 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7209 The latter has a higher limit. Take additional parameter to pass to
7210 the new function.
7211 (__pathconf): Pass file to __statfs_link_max.
7212 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7213 __statfs_link_max.
7214 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7215 __statfs_link_max.
7216
de283087
AD
7217 [BZ #12868]
7218 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7220 Handle Lustre.
7221 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7222 (__statfs_filesize_max): Likewise.
7223 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7224
c75fa153
AJ
72252011-07-05 Andreas Jaeger <aj@suse.de>
7226
7227 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7228
1a544854
UD
72292011-07-06 Marek Polacek <mpolacek@redhat.com>
7230
7231 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7232 `status' variable.
7233 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7234 Likewise.
7235
6f0eec67
UD
72362011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7237
7238 * Makefile (strop-tests): Add strncat.
7239 * string/test-strncat.c: New file.
7240
aae30307
UD
72412011-06-30 Marek Polacek <mpolacek@redhat.com>
7242
7243 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7244
c0cfb5eb
UD
72452011-06-21 Andreas Jaeger <aj@suse.de>
7246
7247 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7248 Copy rule from iconvdata/Makefile.
7249
01636b21
UD
72502011-07-06 Ulrich Drepper <drepper@gmail.com>
7251
7252 [BZ #12922]
7253 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7254 but no long options are defined, just return 'W'.
7255
9895c8bc
UD
72562011-06-22 Marek Polacek <mpolacek@redhat.com>
7257
7258 [BZ #9696]
7259 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7260
5d4cf042
UD
72612011-07-06 Ulrich Drepper <drepper@gmail.com>
7262
7263 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7264 netgroups to read.
960e5535 7265 (innetgr): Likewise.
5d4cf042 7266
751eb97e
RM
72672011-07-05 Roland McGrath <roland@hack.frob.com>
7268
7269 * config.make.in (install_root): Default to $(DESTDIR).
7270
f15f1e45
UD
72712011-07-05 Ulrich Drepper <drepper@gmail.com>
7272
7273 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7274
4e34ac6a
RM
72752011-07-02 Roland McGrath <roland@hack.frob.com>
7276
5e9b6af4
RM
7277 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7278
84f9ea0f
RM
7279 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7280 containing directory rather than embedding absolute directory names.
7281
ea5ee9f7
RM
7282 * scripts/check-local-headers.sh: Rewritten using awk.
7283 Match by word, not by line. Print error messages for matches.
7284 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7285
1b74661a
RM
7286 * Makerules [shlib-lds-flags empty]:
7287 ($(common-objpfx)libc_pic.opts): New target.
7288 ($(common-objpfx)libc_pic.os.clean): New target.
7289 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7290
7291 * config.make.in (OBJCOPY): New variable.
7292 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7293 * configure: Regenerated.
7294
f781ef40
RM
7295 * config.make.in (use-default-link): New variable.
7296 * configure.in (use_default_link): Grok --with-default-link to set it.
7297 * configure: Regenerated.
7298 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7299 (shlib-lds, shlib-lds-flags): Define to empty.
7300
2d4fa81e
RM
7301 * Makerules (shlib-lds): New variable.
7302 (shlib-lds-flags): New variable.
7303 (build-shlib, build-moduile, build-module-asneeded): Use it.
7304 ($(common-objpfx)libc.so): Use $(shlib-lds).
7305 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7306 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7307
31fffa6b
RM
7308 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7309 DT_FLAGS/DT_FLAGS_1 with zero flags.
7310
4e34ac6a
RM
7311 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7312 linker script munging.
7313
fcfc776b
UD
73142011-07-02 Ulrich Drepper <drepper@gmail.com>
7315
7316 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7317 as 128-bit value.
7318 * crypt/sha512.c (sha512_process_block): Perform total addition using
7319 128-bit if possible.
7320 (__sha512_finish_ctx): Likewise.
7321 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7322 as 64-bit value.
7323 * crypt/sha256.c (SWAP64): Define.
7324 (sha256_process_block): Perform total addition using 64-bit if
7325 possible.
7326 (__sha256_finish_ctx): Likewise.
7327
99231d9a
UD
73282011-07-01 Ulrich Drepper <drepper@gmail.com>
7329
7330 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7331 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7332 * nscd/hstcache.c (cache_addhst): Likewise.
7333 * nscd/grpcache.c (cache_addgr): Likewise.
7334 * nscd/aicache.c (addhstaiX): Likewise
7335 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7336
445b4a53
TK
73372011-07-01 Thorsten Kukuk <kukuk@suse.de>
7338
7339 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7340 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7341 * nscd/hstcache.c (cache_addhst): Likewise.
7342 * nscd/grpcache.c (cache_addgr): Likewise.
7343 * nscd/aicache.c (addhstaiX): Likewise
7344
6d4d8e8e
AS
73452011-07-01 Andreas Schwab <schwab@redhat.com>
7346
7347 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7348 domain only when needed.
7349
89f654c5
AS
73502011-06-30 Andreas Schwab <schwab@redhat.com>
7351
7352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7353 is always restored.
7354
cf3b23ff
UD
73552011-06-29 Ulrich Drepper <drepper@gmail.com>
7356
7357 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7358 are re-adding the entry.
7359 * nscd/servicescache.c (cache_addserv): Likewise.
7360
751626f9
AJ
73612011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7362
7363 * sysdeps/generic/dl-irel.h: fix protection against multiple
7364 inclusions.
7365 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7366
9113ea1f
UD
73672011-06-28 Ulrich Drepper <drepper@gmail.com>
7368
5c0b8d90
UD
7369 [BZ #12935]
7370 * malloc/memusage.sh: Fix quoting in message.
7371 * debug/xtrace.sh: Likewise.
7372
9113ea1f
UD
7373 * configure.in: Remove support for --experimental-malloc option, make
7374 it the default.
7375 * config.make.in: Likewise.
7376 * malloc/Makefile: Likewise.
7377
a4172181
AS
73782011-06-27 Andreas Schwab <schwab@redhat.com>
7379
7380 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7381 two-byte characters.
7382
78a7eee7
RM
73832011-06-27 Roland McGrath <roland@hack.frob.com>
7384
62bede13
RM
7385 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7386 AC_CACHE_CHECK invocation.
7387 * configure: Regenerated.
7388
78a7eee7
RM
7389 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7390
5ce33a62
UD
73912011-06-27 Ulrich Drepper <drepper@gmail.com>
7392
034807a9
UD
7393 [BZ #12350]
7394 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7395 bit from old_res_options.
7396
4902da17
UD
7397 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7398
5ce33a62
UD
7399 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7400 value type for setfct.
7401
c2344f56
L
74022011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7403
7404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7405 __gettimeofday instead of gettimeofday.
7406
68468076
UD
74072011-06-26 Ulrich Drepper <drepper@gmail.com>
7408
7409 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7410
acb0d739
L
74112011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7412
7413 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7414
7415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7416 info.
7417
8912479f
L
74182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7419
7420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7421 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7422 strcpy-sse2-unaligned strncpy-sse2-unaligned
7423 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7424 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7425 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7426 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7427 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7428 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7429 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7430 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7431 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7432 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7433 (STRCPY): Support SSE2 and SSSE3 versions.
7434
d5495a11
UD
74352011-06-24 Ulrich Drepper <drepper@gmail.com>
7436
7437 [BZ #12874]
7438 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7439 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7440 kernels which artificially limit size of requests.
7441
0b1cbaae
L
74422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7443
7444 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7445 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7446 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7447 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7448 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7449 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7450 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7451 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7452 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7453 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7454 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7455 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7456 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7457 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7458 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7460 Enable unaligned load optimization for Intel Core i3, i5 and i7
7461 processors.
7462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7463 Define.
7464 (index_Fast_Unaligned_Load): Define.
7465 (HAS_FAST_UNALIGNED_LOAD): Define.
7466
07f494a0
MP
74672011-06-23 Marek Polacek <mpolacek@redhat.com>
7468
7469 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7470
fa3fc0fe
UD
74712011-06-22 Ulrich Drepper <drepper@gmail.com>
7472
7473 [BZ #12907]
7474 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7475 until it is clear that the information is realy needed.
7476 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7477
e12df166
AS
74782011-06-22 Andreas Schwab <schwab@redhat.com>
7479
7480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7481
852eb34d
UD
74822011-06-22 Ulrich Drepper <drepper@gmail.com>
7483
84e2a551
UD
7484 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7485 /sys/devices/system/cpu/online if it is usable.
7486
852eb34d
UD
7487 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7488 reading the information from the /proc filesystem to once a second.
7489
6e502e19
UD
74902011-06-21 Andreas Jaeger <aj@suse.de>
7491
7492 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7493 NULL after inclusion of kernel headers.
7494
75d39ff2
UD
74952011-06-21 Ulrich Drepper <drepper@gmail.com>
7496
51f9aa6a
UD
7497 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7498 calls to internal_setent.
7499
c0244a9d
UD
7500 [BZ #12885]
7501 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7502 addresses using gethostbyname4_r ignore IPv4 addresses.
7503
c5e3c2ae
UD
7504 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7505 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7506
75d39ff2
UD
7507 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7508
42675c6f
DM
75092011-06-20 David S. Miller <davem@davemloft.net>
7510
7511 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7512 inclusions.
7513 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7514
7515 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7516 (elf_irel): Use it.
7517 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7518 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7519 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7520 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7521 * sysdeps/x86_64/dl-irel.h: Likewise.
7522
7523 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7524 * elf/dl-sym.c: Likewise.
7525
57912a71
UD
75262011-06-15 Ulrich Drepper <drepper@gmail.com>
7527
7528 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7529 need to dereference resplen2.
7530
ee22793d
AS
75312011-06-14 Andreas Schwab <schwab@redhat.com>
7532
7533 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7534
a9e836b0
UD
75352011-06-15 Ulrich Drepper <drepper@gmail.com>
7536
77fb9117
UD
7537 * Makeconfig: Define vardbdir and inst_vardbdir.
7538 * nss/Makefile: Add rules to install db-Makefile.
7539
40c1b22c
UD
7540 * nss/nss_db/db-XXX.c: Cleanup.
7541
9f2da732
UD
7542 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7543 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7544 GLIBC_PRIVATE.
7545 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7546 * nss/makedb.c: Implement -g option to specify that value strings
7547 are generated and should not be added to table iterated over for
7548 get*ent calls.
7549 * nss/nss_db/db-initgroups.c: New file.
7550
82e9a1f7
UD
7551 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7552 interface.
7553
c41af17e
UD
7554 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7555 (internal_getgrouplist): Adjust to name change.
7556 Update use_initgroups_entry if this is not the first call.
7557 * nss/databases.def: Add initgroups entry.
7558
a9e836b0
UD
7559 * nss/makedb.c (compute_tables): Check result of multiple hash table
7560 sizes to minimize maximum chain length.
7561
2666d441
UD
75622011-06-14 Ulrich Drepper <drepper@gmail.com>
7563
7564 * Versions.def: Add entry for libnss_db.
7565 * shlib-versions: Likewise.
7566 * nss/Makefile: Add rules to build libnss_db.
7567 * nss/Versions: Add libnss_db information. Organize libnss_files
7568 entries better.
7569 * nss/db-Makefile: Add gshadow support. Change rules for the new
7570 makedb progra. Some minor improvements to generate smaller files.
7571 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7572 here from...
7573 * nss/makedb.c: ...here.
7574 Improve database format to be smaller and require less memory at
7575 runtime.
7576 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7577 db anymore.
7578 * nss/nss_db/db-netgrp.c: Likewise.
7579 * nss/nss_db/db-open.c: Likewise.
7580 * nss/nss_files/flies-XXX.x: Adjust comments.
7581 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7582 * nss/nss_files/files-grp.c: Likewise.
7583 * nss/nss_files/files-hosts.c: Likewise.
7584 * nss/nss_files/files-network.c: Likewise.
7585 * nss/nss_files/files-proto.c: Likewise.
7586 * nss/nss_files/files-pwd.c: Likewise.
7587 * nss/nss_files/files-rpc.c: Likewise.
7588 * nss/nss_files/files-service.c: Likewise.
7589 * nss/nss_files/files-sgrp.c: Likewise.
7590 * nss/nss_files/files-spwd.c: Likewise.
7591 * nss/nss_db/db-alias.c: Removed.
7592 * nss/nss_db/dummy-db.h: Removed.
7593
9ee76b5a
UD
75942011-06-02 Ulrich Drepper <drepper@gmail.com>
7595
7596 * nss/makedb.c: Rewritten to not use database library.
7597 * nss/Makefile: Update to build new makedb program.
7598
c71ca1f8
AJ
75992011-06-14 Andreas Jaeger <aj@suse.de>
7600
7601 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7602 memset declaration.
7603
3154bfb8
UD
76042011-06-10 Andreas Schwab <schwab@redhat.com>
7605
7606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7607 tmpbuf.
7608
b350afab
RM
76092011-06-10 Roland McGrath <roland@hack.frob.com>
7610
decd4e50
RM
7611 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7612 * elf/Makefile ($(objpfx)ld.so): Likewise.
7613
5615eaf2
RM
7614 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7615 Don't list ld.so twice in dependencies.
7616
7617 * posix/bug-regex31.c: Include <stdlib.h>.
7618
7619 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7620
7621 * nis/nss_compat/compat-spwd.c
7622 (getspent_next_nss_netgr): Remove unused variable.
7623 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7624
7625 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7626 nonmembers" output to use the right array.
7627
7628 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7629
7630 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7631
7632 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7633 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7634 * catgets/gencat.c (read_input_file): Likewise.
7635 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7636
7637 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7638 variable definition inside #if's controlling its use.
7639
7640 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7641
7642 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7643
7644 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7645
7646 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7647 unreachable code.
7648
7649 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7650
b68e08db
RM
7651 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7652 * configure: Regenerated.
7653
b350afab
RM
7654 * Makerules: Revert last change.
7655 * elf/Makefile: Likewise.
7656
28368601
RM
76572011-06-09 Roland McGrath <roland@hack.frob.com>
7658
7659 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7660 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7661 (reloc-link): Likewise.
7662
11988f8f
UD
76632011-06-09 Ulrich Drepper <drepper@gmail.com>
7664
7665 * elf/Makefile: Add rules to build pldd.
7666 * elf/pldd.c: New file.
7667 * elf/pldd-xx.c: New file.
7668
e80fab37
UD
76692011-06-07 Ulrich Drepper <drepper@gmail.com>
7670
7671 * version.h: Update for 2.15 development version.
7672
9b849836
DM
76732011-06-07 David S. Miller <davem@davemloft.net>
7674
7675 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7676 ifuncs.
7677 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7678 elf_machine_lazy_rel): Likewise.
7679 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7680 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7681 elf_machine_lazy_rel): Likewise.
7682 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7683 dl_hwcap via passed in argument.
7684 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7685 Likewise.
7686
5a31b283
AK
76872011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7688
7689 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7690
069e52f8
RM
76912011-06-06 Roland McGrath <roland@hack.frob.com>
7692
7693 [BZ #12849]
7694 * manual/fdl-1.1.texi: New file, verbatim from:
7695 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7696 * manual/lgpl-2.1.texi: New file, verbatim from:
7697 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7698 * manual/Makefile (licenses): New variable, list those new file names.
7699 (texis): Use it.
7700 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7701
7702 * manual/fdl.texi: File removed.
7703 * manual/lesser.texi: File removed.
7704 * manual/libc.texinfo (Copying, Documentation License):
7705 Use new @include file names, put @appendix directive before @include.
7706
f16846a5
JJ
77072011-06-04 Jakub Jelinek <jakub@redhat.com>
7708
7709 [BZ #12841]
7710 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7711 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7712 (mq_open): Add __NTH.
7713
3d29045b
L
77142011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7715
7716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7717 Assume Intel Core i3/i5/i7 processor if AVX is available.
7718
8c297311
UD
77192011-05-31 Ulrich Drepper <drepper@gmail.com>
7720
7721 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7722 typo.
7723
c8fc0c91
UD
77242011-05-31 Andreas Schwab <schwab@redhat.com>
7725
7726 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7727 memory. Use alloca_account. Fix memory leak when retrying.
7728
5b27a807
UD
77292011-05-31 Ulrich Drepper <drepper@gmail.com>
7730
356f8bc6
UD
7731 * version.h (RELEASE): Bump for 2.14 release.
7732 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7733
5b27a807
UD
7734 * config.make.in (RANLIB): Remove entry.
7735
01f16ab0
UD
77362011-05-30 Ulrich Drepper <drepper@gmail.com>
7737
41fce8bd
UD
7738 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7739 (libc.pot): Work around missing support for .ksh extension in xgettext.
7740
4769ae77
UD
7741 [BZ #12684]
7742 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7743 if both request failed.
7744 (send_dg): In case of server errors clear resplen or *resplen2.
7745
6b1e7d19
UD
7746 [BZ #12454]
7747 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7748 when there are multiple maps.
7749 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7750 (_dl_fini): Remove test here.
7751
01f16ab0
UD
7752 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7753
b1ebd700
UD
77542011-05-29 Ulrich Drepper <drepper@gmail.com>
7755
7ae22829
UD
7756 [BZ #12350]
7757 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7758 bit from old_res_options.
7759 (gaih_inet): Likewise.
7760
553149f6 7761 [BZ #11099]
18a84741 7762 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7763 as signed.
7764
652ffab1
UD
7765 * resolv/res_init.c (res_setoptions): Make the code more compact.
7766
16985fd0
UD
7767 [BZ #11558]
7768 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7769 set RES_USEVC.
7770
0464f746
UD
7771 [BZ #11634]
7772 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7773
7d17596c
UD
7774 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7775
cf6bbbd7
UD
7776 [BZ #11781]
7777 * malloc/malloc.h: Declare malloc hook variables as volatile.
7778
13f1ab36
UD
7779 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7780 in last patch.
7781
b1ebd700
UD
7782 [BZ #11799]
7783 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7784 raise in the comment.
80e2212d
UD
7785 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7786 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7787 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7788
ce67228d
UD
77892011-05-28 Ulrich Drepper <drepper@gmail.com>
7790
8887a920
UD
7791 [BZ #12811]
7792 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7793 grow the buffers more if it already has to be sufficient.
7794 (build_wcs_upper_buffer): Likewise.
7795 * posix/regexec.c (check_matching): Likewise.
7796 (clean_state_log_if_needed): Likewise.
7797 (extend_buffers): Don't enlarge buffers beyond size of the input
7798 buffer.
7799 Patches mostly by Emil Wojak <emil@wojak.eu>.
7800 * posix/bug-regex32.c: New file.
7801 * posix/Makefile (tests): Add bug-regex32.
7802
4f031072
UD
7803 * locale/findlocale.c (_nl_find_locale): Return right away if
7804 _nl_explode_name failed.
7805 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7806
d0478f0c
UD
7807 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7808
de81b246
UD
7809 * debug/xtrace.sh: Unify messages.
7810 * malloc/memusage.sh: Likewise.
7811
c738465a
UD
7812 [BZ #12813]
7813 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7814 time symbol from vDSO. Substitute with vsyscall if not available.
7815 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7816 __vdso_time.
7817
f1f929d7
UD
7818 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7819 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7820 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7821 Add sendmmsg and internal_sendmmsg.
7822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7823 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7824 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7825
ce67228d
UD
7826 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7827 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7828 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7829
e57420c6
UD
78302011-05-27 Ulrich Drepper <drepper@gmail.com>
7831
a8509ca5
UD
7832 [BZ #12813]
7833 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7834 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7835 available.
7836 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7837 __vdso_getcpu.
7838
e57420c6
UD
7839 [BZ #12814]
7840 * iconvdata/Makefile (tests): Add bug-iconv9.
7841 * iconvdata/bug-iconv9.c: New file.
7842
4d07db15
AS
78432011-05-27 Andreas Schwab <schwab@redhat.com>
7844
7845 [BZ #12814]
7846 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7847
ea486f69
JJ
78482011-05-25 Jakub Jelinek <jakub@redhat.com>
7849
7850 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7851 (struct user_regs_struct): Change intcs field back to cs.
7852
6f038433
UD
78532011-05-25 Ulrich Drepper <drepper@gmail.com>
7854
7855 * po/ja.po: Update from translation team.
7856
67f86a25
UD
78572011-05-23 Ulrich Drepper <drepper@gmail.com>
7858
7859 [BZ #12795]
7860 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7861 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7862
def7fbd6
AS
78632011-05-20 Andreas Schwab <schwab@redhat.com>
7864
7865 * stdlib/longlong.h: Update from GCC.
7866
f50ef8f1
AS
78672011-05-23 Andreas Schwab <schwab@redhat.com>
7868
7869 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7870 parameter name.
7871 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7872 Add parameter name.
7873 (__sysconf): Pass it down.
7874
de7ce8f1
UD
78752011-05-22 Ulrich Drepper <drepper@gmail.com>
7876
f2962a71
UD
7877 [BZ #12671]
7878 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7879 some situations.
7880 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7881 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7882 add in in __libc_use_alloca calls. Adjust callers.
7883 (glob): Use malloc in some situations.
7884
de7ce8f1
UD
7885 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7886 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7887 pltexit.
7888
aec84f53
UD
78892011-05-21 Ulrich Drepper <drepper@gmail.com>
7890
05bb4a68
UD
7891 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7892 and CLOCK_BOOTTIME_ALARM.
7893
7ea72f99
UD
7894 [BZ #12782]
7895 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7896 is returned.
7897
7e4afad5
UD
7898 * string/_strerror.c (__strerror_r): Print negative errors as signed
7899 numbers.
7900
8e211fec
UD
7901 [BZ #12777]
7902 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7903 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7904 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7905
f7d82dc9
UD
7906 * configure.in: Fix typo in redirection and correct removal of test
7907 files in two cases.
7908
cc9e536d
UD
7909 [BZ #12788]
7910 * locale/setlocale.c (new_composite_name): Fix test to check for
7911 identical name of all categories.
7912
aec84f53
UD
7913 [BZ #12792]
7914 * libio/filedoalloc.c (local_isatty): New function.
7915 (_IO_file_doallocate): Use local_isatty.
7916 * stdio-common/perror.c (perror): In case a new stream is used
7917 forward the stream error.
7918 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7919 error flag.
7920
78e64fdc
RT
79212011-05-20 Ulrich Drepper <drepper@gmail.com>
7922
34a9094f
UD
7923 [BZ #11869]
7924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7925 alloca.
7926 * include/alloca.h (extend_alloca_account): Define.
7927
78e64fdc
RT
7928 [BZ #11857]
7929 * posix/regex.h: Fix comments with documentation of user-accessible
7930 fields after compilation and describe correct free'ing of pattern
7931 after re_compile_pattern.
7932 Patch by Reuben Thomas <rrt@sc3d.org>.
7933
457bddfc
RA
79342011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7935
7936 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7937 and -mno-altivec to prevent the compiler from using Altivec and/or
7938 VSX instructions when the corresponding registers are not available.
7939
a4527b51
AS
79402011-05-19 Andreas Schwab <schwab@redhat.com>
7941
7942 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7943
ed690b2f
UD
79442011-05-19 Ulrich Drepper <drepper@gmail.com>
7945
7946 * libio/freopen.c (freopen): Use __dup2, not dup2.
7947 * libio/freopen64.c (freopen64): Likewise.
7948
8db73634
L
79492011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7950
7951 [BZ #12775]
7952 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7953 * math/Makefile (tests): Add test-powl.
7954 (CFLAGS-test-powl.c): Define.
7955 * math/test-powl.c: New file.
7956
0a197a9d
L
79572011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7958
7959 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7960
ee30c380
UD
79612011-05-17 Ulrich Drepper <drepper@gmail.com>
7962
7963 [BZ #11837]
7964 * iconvdata/gb18030.c: Update to GB18020-2005.
7965
6ce75379
UD
79662011-05-16 Ulrich Drepper <drepper@gmail.com>
7967
a4b89fd8
AR
7968 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7969 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7970 Patch by Aharon Robbins <arnold@skeeve.com>.
7971
ea389b12
UD
7972 [BZ #11892]
7973 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7974 on the stack.
7975
68a3f91f
UD
7976 [BZ #11895]
7977 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7978 through underflows.
7979
15cc7dd1
UD
7980 [BZ #12766]
7981 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7982 point to strings before performing equality test for error_one_per_line
7983 mode.
7984
f3799213
UD
7985 [BZ #11697]
7986 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7987
d79a9c94
UD
7988 [BZ #11820]
7989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7990 (struct user_fpregs_struct): Avoid __uint*_t types.
7991
56e5eb46
UD
7992 [BZ #6420]
7993 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7994 symbol info. Use it instead of calling _dl_addr locally.
7995 (lock_and_info): New function.
7996 (tr_freehook): Call lock_and_info and pass symbol info as additional
7997 parameter to tr_where.
7998 (tr_mallochook): Likewise.
7999 (tr_reallochook): Likewise.
8000 (tr_memalignhook): Likewise.
8001
6ce75379
UD
8002 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8003 used and couldn't be at all thread-safe.
8004
f8a3b5bf
UD
80052011-05-15 Ulrich Drepper <drepper@gmail.com>
8006
94b7cc37
UD
8007 * libio/freopen.c (freopen): Don't close old file descriptor
8008 before the new one is opened. Instead dup the new file descriptor
8009 to the old one after the new stream is created.
8010 * libio/freopen64.c (freopen64): Likewise.
8011 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8012 * libio/fileops.c (_IO_new_file_close_it): Handle new
8013 _IO_FLAGS2_NOCLOSE flag.
8014 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8015 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8016 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8017 _IO_FLAGS2_NOCLOSE flag.
8018 * include/unistd.h: Add hidden_proto for dup3.
8019 Define __have_dup3.
8020 * io/dup3.c: Define hidden symbol.
8021 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8022
bd25564e
UD
8023 [BZ #7101]
8024 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8025 when an incomplete long option is used.
8026 * posix/tst-getopt_long1.c: New file.
8027 * posix/Makefile (tests): Add tst-getopt_long1.
8028
c84cfef4
UD
8029 [BZ #10138]
8030 * scripts/config.guess: Update from autoconf-2.68.
8031 * scripts/config.sub: Likewise.
8032
3b85df27
UD
8033 [BZ #10157]
8034 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8035 tests into ...
8036 (has_cpuclock): ...this. New function.
8037 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8038 macro here based on has_cpuclock code.
8039
15a856b1
UD
8040 [BZ #10149]
8041 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8042 First byte (not low byte) is now always NUL.
8043 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8044
05f399e6
UD
8045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8046 Use non-cancelable interfaces.
8047
10a52685 8048 [BZ #9809]
94ecc67d
UD
8049 * locale/iso-639.def: Add entry for Sorani.
8050
f8a3b5bf
UD
8051 [BZ #11901]
8052 * include/stdlib.h: Move include protection to the right place.
8053 Define abort_msg_s. Declare __abort_msg with it.
8054 * stdlib/abort.c (__abort_msg): Adjust type.
8055 * assert/assert.c (__assert_fail_base): New function. Majority
8056 of code from __assert_fail. Allocate memory for __abort_msg with
8057 mmap.
8058 (__assert_fail): Now call __assert_fail_base.
8059 * assert/assert-perr.c: Remove bulk of implementation. Use
8060 __assert_fail_base.
8061 * include/assert.hL Declare __assert_fail_base.
8062 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8063 mmap.
8064 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8065
1af4e298
UD
80662011-05-14 Ulrich Drepper <drepper@gmail.com>
8067
f8a3b5bf 8068 [BZ #11952]
d26dfc60
MG
8069 [BZ #12453]
8070 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8071 until all modules are registered in the DTV.
8072 * elf/Makefile: Add rules to build and run tst-tls19.
8073 * elf/tst-tls19.c: New file.
8074 * elf/tst-tls19mod1.c: New file.
8075 * elf/tst-tls19mod2.c: New file.
8076 * elf/tst-tls19mod3.c: New file.
8077 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8078
2fc54d6f
UD
8079 [BZ #12083]
8080 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8081 correctly.
8082
98d76b46
UD
8083 [BZ #12601]
8084 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8085 two-byte sequence errors.
8086 * iconvdata/Makefile (tests): Add bug-iconv8.
8087 * iconvdata/bug-iconv8.c: New file.
8088
da3c19ef
UD
8089 [BZ #12626]
8090 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8091 buf2 definition.
8092
ca408c15
UD
8093 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8094
d6f67f7d
UD
8095 [BZ #12432]
8096 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8097 (dummy_getcfa): New function.
8098 (init): Get _Unwind_GetCFA address, use dummy if not found.
8099 (backtrace_helper): In recursion check, also check whether CFA changes.
8100 (__backtrace): Completely initialize arg.
8101
1af4e298 8102 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8103 storing incomplete byte sequence in state object. Avoid testing for
8104 guaranteed too small input if we know there is enough data available.
1af4e298 8105
da62f81b
AS
81062011-05-11 Andreas Schwab <schwab@redhat.com>
8107
8108 * Makeconfig (+link-pie): Indent.
8109 * Rules (binaries-pie): Define if $(have-fpie) and
8110 $(build-shared).
8111 (binaries-shared): Also filter out $(binaries-pie).
8112 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8113 * nscd/Makefile (others-pie): Add nscd.
8114 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8115 ($(objpfx)nscd): Remove command override.
8116 * login/Makefile (others-pie): Add pt_chown.
8117 ($(objpfx)pt_chown): Remove command override.
8118 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8119 remove command overrides.
8120
fcabc0f8
UD
81212011-05-13 Ulrich Drepper <drepper@gmail.com>
8122
20030ae6
UD
8123 * libio/tst_putwc.c: Fix error messages.
8124
fcabc0f8
UD
8125 [BZ #12724]
8126 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8127 currently writing and seek to current position when not.
8128 * libio/Makefile (tests): Add bug-fclose1.
8129 * libio/bug-fclose1.c: New file.
8130
320a5dc0
PB
81312011-05-12 Ulrich Drepper <drepper@gmail.com>
8132
8133 [BZ #12511]
8134 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8135 don't set DF_1_NODELETE here.
8136 (do_lookup_x): When entering new entry test for copy relocation
8137 and if necessary set DF_1_NODELETE flag.
8138 * elf/tst-unique4.cc: New file.
8139 * elf/tst-unique4.h: New file.
8140 * elf/tst-unique4lib.cc: New file.
8141 * elf/Makefile: Add rules to build and run tst-unique4.
8142 Patch by Piotr Bury <pbury@goahead.com>.
8143
22836f52
UD
81442011-05-11 Ulrich Drepper <drepper@gmail.com>
8145
f574184a
UD
8146 [BZ #12052]
8147 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8148
e1fb097f
UD
8149 [BZ #12625]
8150 * misc/mntent_r.c (addmntent): Flush the stream after the output
8151
22836f52
UD
8152 [BZ #12393]
8153 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8154 (is_trusted_path_normalize): Skip initial colon. Append slash
8155 to empty buffer. Duplicate is_trusted_path code but allow
8156 constructed patch to be prefix.
8157 (is_dst): Allow $ORIGIN followed by /.
8158 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8159 Correct testing of result of is_trusted_path_normalize
8160 (decompose_rpath): Fix warning.
8161
7b3b0b2a
UD
81622011-05-10 Ulrich Drepper <drepper@gmail.com>
8163
8164 [BZ #11257]
8165 * grp/initgroups.c (internal_getgrouplist): When we found the service
8166 list through the initgroups entry in nsswitch.conf do not always
8167 continue on a successful lookup. Don't always use the
eac80ce2 8168 __nss_group_database value if it is set.
7b3b0b2a
UD
8169 * nss/nsswitch.conf (initgroups): Change action for successful db
8170 lookup to continue for compatibility.
8171
2a81eaa5
UD
81722011-05-09 Ulrich Drepper <drepper@gmail.com>
8173
be97a69e
UD
8174 [BZ #11532]
8175 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8176 and CP774 modules.
8177 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8178 and CP774 modules.
8179 * iconvdata/tst-tables.sh: Likewise.
8180 * iconvdata/cp770.c: New file.
8181 * iconvdata/cp771.c: New file.
8182 * iconvdata/cp772.c: New file.
8183 * iconvdata/cp773.c: New file.
8184 * iconvdata/cp774.c: New file.
8185 * iconvdata/testdata/CP770: New file.
8186 * iconvdata/testdata/CP770..UTF8: New file.
8187 * iconvdata/testdata/CP771: New file.
8188 * iconvdata/testdata/CP771..UTF8: New file.
8189 * iconvdata/testdata/CP772: New file.
8190 * iconvdata/testdata/CP772..UTF8: New file.
8191 * iconvdata/testdata/CP773: New file.
8192 * iconvdata/testdata/CP773..UTF8: New file.
8193 * iconvdata/testdata/CP774: New file.
8194 * iconvdata/testdata/CP774..UTF8: New file.
8195
8196 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8197 END CHARMAP line.
8198 * iconvdata/gen-8bit-gap.sh: Likewise.
8199 * iconvdata/gen-8bit.sh: Likewise.
8200
c1e9e399
UD
8201 * locale/iso-639.def: Add ary entry.
8202
24c55fb3 8203 [BZ #11258]
96b4b1b0
UD
8204 * locale/C-translit.h.in: Add U20A1 transliteration.
8205
bdc2f971
KB
8206 [BZ #12178]
8207 * locale/iso-639.def: Add wae entry.
8208 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8209
2952b117
UD
8210 [BZ #12545]
8211 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8212 for n.
8213
2a81eaa5
UD
8214 [BZ #12711]
8215 * locale/C-translit.h.in: Add entry for U20B9.
8216 Patch by pravin.d.s@gmail.com.
8217
28377d1b
UD
82182011-05-08 Ulrich Drepper <drepper@gmail.com>
8219
7fb90fb8
UD
8220 [BZ #12713]
8221 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8222 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8223 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8224 in rtld. Use *stat64.
7fb90fb8 8225 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8226 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8227 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8228 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8229 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8230 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8231 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8232 __fstatat64 macros.
7fb90fb8
UD
8233 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8234 * dirent/rewinddir.c: Add libc_hidden_def.
8235 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8236 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8237
28377d1b
UD
8238 * include/dirent.h (__alloc_dir): Add flags parameter.
8239 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8240 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8241 __alloc_dir.
8242 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8243 from fdopendir if O_CLOEXEC is already set.
8244
66bdbaa4
AM
82452011-03-15 Alan Modra <amodra@gmail.com>
8246
8247 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8248 l_tls_firstbyte_offset non-zero. Save padding offset in
8249 l_tls_firstbyte_offset for later use.
8250 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8251 freeing static tls block.
8252
95721191
JN
82532011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8254
8255 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8256 where #ifdef was intended. The intent is to prevent ARG_MAX from
8257 being defined by the kernel headers.
8258
f87dfb1f
UD
82592011-05-07 Ulrich Drepper <drepper@gmail.com>
8260
8261 [BZ #12734]
8262 * resolv/resolv.h: Define RES_NOTLDQUERY.
8263 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8264 no-tld-query and set RES_NOTLDQUERY.
8265 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8266 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8267 modern BIND to search name as TLD unless forbidden.
8268
47c3cd7a
UD
82692011-05-07 Petr Baudis <pasky@suse.cz>
8270 Ulrich Drepper <drepper@gmail.com>
8271
8272 [BZ #12393]
8273 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8274 (is_trusted_path): ...to here.
c1e9ea35 8275 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8276 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8277 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8278
8a35c912
PP
82792011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8280
8281 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8282 __BEGIN/__END_DECLS.
8283
acd41f47
UD
82842011-05-06 Ulrich Drepper <drepper@gmail.com>
8285
8286 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8287 NSS_STATUS_NOTFOUND if no record was found.
8288
597df647
AS
82892011-05-05 Andreas Schwab <schwab@redhat.com>
8290
8291 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8292 (headers-not-in-tirpc): Remove rpc/netdb.h
8293 * resolv/netdb.h: Revert last change.
8294
b9af1301
PP
82952011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8296
8297 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8298 circular dependency between libgcc.a and libc.a.
8299
4e34d5f5
AS
83002011-05-05 Andreas Schwab <schwab@redhat.com>
8301
8302 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8303 * nis/Makefile: Don't install rpcsvc/*.
8304 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8305 instead of <rpc/types.h>.
8306 (MAXHOSTNAMELEN): Define.
8307
00ee369c
AS
83082011-05-03 Andreas Schwab <schwab@redhat.com>
8309
8310 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8311
0b592a30
MB
83122011-04-28 Maciej Babinski <mbabinski@google.com>
8313
8314 [BZ #12714]
8315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8316 gethostbyname4_r when IPv6 results are possible.
8317
6e04cbbe
UD
83182011-05-02 Ulrich Drepper <drepper@gmail.com>
8319
8320 [BZ #12723]
8321 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8322 _PC_PIPE_BUF handling.
8323
e4ecafe0
BH
83242011-04-30 Bruno Haible <bruno@clisp.org>
8325
8326 [BZ #12717]
8327 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8328 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8329 to 'int'.
8330 * inet/getnameinfo.c (getnameinfo): Likewise.
8331
125ee683
UD
83322011-04-29 Ulrich Drepper <drepper@gmail.com>
8333
8334 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8335 to groups setting in database lookup.
8336 * nss/nsswitch.conf: Add initgroups entry.
8337
b722481a
EB
83382011-04-22 Ulrich Drepper <drepper@gmail.com>
8339
8340 [BZ #12685]
8341 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8342 mode string.
8343 Patch by Eric Blake <eblake@redhat.com>.
8344
4df46dbd
L
83452011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * sunrpc/Makefile (need-export-routines): Add svc_run.
8348 (routines): Remove svc_run.
8349 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8350 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8351 * sunrpc/svc_run.c (svc_run): Likewise.
8352 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8353
e84142d2
UD
83542011-04-21 Ulrich Drepper <drepper@gmail.com>
8355
8356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8357 problem in reallocation in last patch.
8358
877175d8
UD
83592011-04-20 Ulrich Drepper <drepper@gmail.com>
8360
8361 * sunrpc/Makefile: Move inclusion of Rules.
8362
ab8eed78
UD
83632011-04-19 Ulrich Drepper <drepper@gmail.com>
8364
8365 * nss/nss_files/files-initgroups.c: New file.
8366 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8367 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8368 _nss_files_initgroups_dyn.
8369
e3d8f584
RS
83702011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8371
8372 * elf/elf.h (R_ARM_IRELATIVE): Define.
8373
af190f45
UD
83742011-04-19 Ulrich Drepper <drepper@gmail.com>
8375
8376 * po/ru.po: Update from translation team.
8377
53cf59ef
UD
83782011-04-17 Ulrich Drepper <drepper@gmail.com>
8379
8380 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8381 dependencies.
8382
4c559bcd
MF
83832011-02-06 Mike Frysinger <vapier@gentoo.org>
8384
8385 [BZ #12653]
8386 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8387 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8388 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8389 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8390 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8391
4420675c
AS
83922011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8393
8394 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8395 differing bytes.
8396 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8397 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8399
75ea32ab
UD
84002011-04-17 Ulrich Drepper <drepper@gmail.com>
8401
8402 [BZ #12420]
8403 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8404 storing it.
8405 * stdlib/bug-getcontext.c: New file.
8406 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8407
27390476
AK
84082011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8409
8410 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8411 instructions into .machine "z9-109".
8412 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8413 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8414
10442705
AK
84152011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8416
8417 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8418 between environment variables and auxiliary vector.
8419
7b57bfe5
UD
84202011-04-16 Ulrich Drepper <drepper@gmail.com>
8421
8422 * Makefile: Add rules to build linkobj/libc.so.
8423 * include/libc-symbols.h: Define libc_hidden_nolink.
8424 * include/rpc/auth.h: Mark functions which are to be hidden.
8425 * include/rpc/auth_des.h: Likewise.
8426 * include/rpc/auth_unix.h: Likewise.
8427 * include/rpc/clnt.h: Likewise.
8428 * include/rpc/des_crypt.h: Likewise.
8429 * include/rpc/key_prot.h: Likewise.
8430 * include/rpc/pmap_clnt.h: Likewise.
8431 * include/rpc/pmap_prot.h: Likewise.
8432 * include/rpc/pmap_rmt.h: Likewise.
8433 * include/rpc/rpc_msg.h: Likewise.
8434 * include/rpc/svc.h: Likewise.
8435 * include/rpc/svc_auth.h: Likewise.
8436 * include/rpc/xdr.h: Likewise.
8437 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8438 * nss/Makefile: Likewise.
8439 * sunrpc/Makefile: Don't install headers. Build library with normal
8440 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8441 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8442 for the compat linking library. Remove use of INTDEF/INTUSE.
8443 * sunrpc/auth_none.c: Likewise.
8444 * sunrpc/auth_unix.c: Likewise.
8445 * sunrpc/authdes_prot.c: Likewise.
8446 * sunrpc/authuxprot.c: Likewise.
8447 * sunrpc/clnt_gen.c: Likewise.
8448 * sunrpc/clnt_perr.c: Likewise.
8449 * sunrpc/clnt_raw.c: Likewise.
8450 * sunrpc/clnt_simp.c: Likewise.
8451 * sunrpc/clnt_tcp.c: Likewise.
8452 * sunrpc/clnt_udp.c: Likewise.
8453 * sunrpc/clnt_unix.c: Likewise.
8454 * sunrpc/des_crypt.c: Likewise.
8455 * sunrpc/des_soft.c: Likewise.
8456 * sunrpc/get_myaddr.c: Likewise.
8457 * sunrpc/key_call.c: Likewise.
8458 * sunrpc/key_prot.c: Likewise.
8459 * sunrpc/netname.c: Likewise.
8460 * sunrpc/pm_getmaps.c: Likewise.
8461 * sunrpc/pm_getport.c: Likewise.
8462 * sunrpc/pmap_clnt.c: Likewise.
8463 * sunrpc/pmap_prot.c: Likewise.
8464 * sunrpc/pmap_prot2.c: Likewise.
8465 * sunrpc/pmap_rmt.c: Likewise.
8466 * sunrpc/publickey.c: Likewise.
8467 * sunrpc/rpc_cmsg.c: Likewise.
8468 * sunrpc/rpc_common.c: Likewise.
8469 * sunrpc/rpc_dtable.c: Likewise.
8470 * sunrpc/rpc_prot.c: Likewise.
8471 * sunrpc/rpc_thread.c: Likewise.
8472 * sunrpc/rtime.c: Likewise.
8473 * sunrpc/svc.c: Likewise.
8474 * sunrpc/svc_auth.c: Likewise.
8475 * sunrpc/svc_authux.c: Likewise.
8476 * sunrpc/svc_raw.c: Likewise.
8477 * sunrpc/svc_run.c: Likewise.
8478 * sunrpc/svc_simple.c: Likewise.
8479 * sunrpc/svc_tcp.c: Likewise.
8480 * sunrpc/svc_udp.c: Likewise.
8481 * sunrpc/svc_unix.c: Likewise.
8482 * sunrpc/svcauth_des.c: Likewise.
8483 * sunrpc/xcrypt.c: Likewise.
8484 * sunrpc/xdr.c: Likewise.
8485 * sunrpc/xdr_array.c: Likewise.
8486 * sunrpc/xdr_float.c: Likewise.
8487 * sunrpc/xdr_intXX_t.c: Likewise.
8488 * sunrpc/xdr_mem.c: Likewise.
8489 * sunrpc/xdr_rec.c: Likewise.
8490 * sunrpc/xdr_ref.c: Likewise.
8491 * sunrpc/xdr_sizeof.c: Likewise.
8492 * sunrpc/xdr_stdio.c: Likewise.
8493
e6c61494
UD
84942011-04-10 Ulrich Drepper <drepper@gmail.com>
8495
8496 [BZ #12650]
8497 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8498 * sysdeps/ia64/dl-tls.h: Likewise.
8499 * sysdeps/powerpc/dl-tls.h: Likewise.
8500 * sysdeps/s390/dl-tls.h: Likewise.
8501 * sysdeps/sh/dl-tls.h: Likewise.
8502 * sysdeps/sparc/dl-tls.h: Likewise.
8503 * sysdeps/x86_64/dl-tls.h: Likewise.
8504 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8505
34fe483e
AS
85062011-03-14 Andreas Schwab <schwab@redhat.com>
8507
8508 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8509 rpath element also skip the following colon.
8510 (expand_dynamic_string_token): Add is_path parameter and pass
8511 down to DL_DST_REQUIRED and _dl_dst_substitute.
8512 (decompose_rpath): Call expand_dynamic_string_token with
8513 non-zero is_path. Ignore empty rpaths.
8514 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8515 with zero is_path.
8516
f12a32e6
AS
85172011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8518
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8520 Make cancelable.
8521
38a7d692
UD
85222011-04-09 Ulrich Drepper <drepper@gmail.com>
8523
8524 [BZ #12655]
8525 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8526 Patch by Filipe David Manana <fdmanana@apache.org>.
8527
e451d22b
AS
85282011-04-07 Andreas Schwab <schwab@redhat.com>
8529
8530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8531 Maintain aligned stack.
8532 (CHECK_RSP): Remove unused macro.
8533
dedc7c7b
UD
85342011-04-03 Ulrich Drepper <drepper@gmail.com>
8535
8536 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8537 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8538
94521213
UD
85392011-04-02 Ulrich Drepper <drepper@gmail.com>
8540
8541 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8542
8cb700c0 8543 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8544
0354e355
L
85452011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8546
8547 [BZ #12518]
8548 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8549 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8550 * sysdeps/x86_64/memmove.c: New file.
8551 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8552 (memcpy): Renamed to ...
8553 (__new_memcpy): This.
8554 (memcpy): Provide GLIBC_2_14 memcpy.
8555 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8556 (memcpy): Provide GLIBC_2_2_5 memcpy.
8557
8593482f
UD
85582011-04-01 Ulrich Drepper <drepper@gmail.com>
8559
8560 [BZ #12631]
8561 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8562
81a5726b
AS
85632011-03-30 Andreas Schwab <schwab@redhat.com>
8564
8565 * misc/syncfs.c: New file.
8566 * misc/Makefile (routines): Add syncfs.
8567 * posix/unistd.h: Declare syncfs.
8568 * sysdeps/unix/syscalls.list: Add syncfs.
8569
00e5419f
AS
85702011-04-01 Andreas Schwab <schwab@redhat.com>
8571
8572 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8573 open_by_handle_at.
8574 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8575 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8579 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8580 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8581
748876bf
UD
85822011-04-01 Ulrich Drepper <drepper@gmail.com>
8583
658e451d
UD
8584 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8585 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8586 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8587 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8588 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8591
748876bf
UD
8592 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8593 sync_file_range.c with -fexceptions.
8594 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8595 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8596 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8597 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8598 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8599 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8601 sync_file_range as cancellation point
8602 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8603 now a wrapper around __call_sync_file_range with cancellation handling.
8604 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8605 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8606 function name to __call_sync_file_range.
8607 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8608 Add call_sync_file_range.
748876bf 8609
6e63d5e1
AS
86102011-04-01 Andreas Schwab <schwab@redhat.com>
8611
8612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8613 bits/timex.h.
6e63d5e1 8614
46998f74
UD
86152011-04-01 Ulrich Drepper <drepper@gmail.com>
8616
4c1423ed
UD
8617 * iconv/iconv.h: Fix typo in comment.
8618 * io/fcntl.h: Likewise.
8619 * libio/stdio.h: Likewise.
8620 * posix/spawn.h: Likewise.
8621 * posix/unistd.h: Likewise.
8622 * stdlib/stdlib.h: Likewise.
8623 * time/time.h: Likewise.
8624 * wcsmbs/wchar.h: Likewise.
8625
158648c0
UD
8626 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8627 open_by_handle): Add.
8628 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8629 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8630 Augment a few comments.
8631 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8632 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8633 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8636 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8637 open_by_handle.
8638
46998f74
UD
8639 * io/fcntl.h (AT_EMPTY_PATH): Define.
8640
83fe108b
UD
86412011-03-30 Ulrich Drepper <drepper@gmail.com>
8642
8643 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8644 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8645 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8646 to...
8647 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8648 * Versions.def: Add GLIBC_2.14.
8649 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8650 Export.
83fe108b 8651
bb242059
UD
86522011-03-22 Ulrich Drepper <drepper@gmail.com>
8653
8654 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8655 round counter.
8656 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8657
c97a1282
L
86582011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 [BZ #12597]
8661 * string/test-strncmp.c (do_page_test): New function.
8662 (check2): Likewise.
8663 (test_main): Call check2.
8664 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8665
2a115601
UD
86662011-03-20 Ulrich Drepper <drepper@gmail.com>
8667
8668 [BZ #12587]
8669 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8670 Handle cache information in CPU leaf 4.
8671 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8672
8126d904
UD
86732011-03-18 Ulrich Drepper <drepper@gmail.com>
8674
042c49c6 8675 [BZ #12583]
8126d904
UD
8676 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8677 character representation.
8678 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8679
ccfe366e
RA
86802011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8681
8682 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8683 END(__isnan) to END(__isnanf) to match function entry point/label
8684 EALIGN(__isnanf,...).
8685
c6e13027
JJ
86862011-03-10 Jakub Jelinek <jakub@redhat.com>
8687
8688 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8689
33f85a3f
UD
86902011-03-10 Ulrich Drepper <drepper@gmail.com>
8691
028478fa
UD
8692 [BZ #12510]
8693 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8694 copy from the symbol referenced in the relocation to initialize the
8695 used variable.
8696 Patch by Piotr Bury <pbury@goahead.com>.
8697 * elf/Makefile: Add rules to build and tst-unique3.
8698 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8699 * elf/tst-unique3.cc: New file.
8700 * elf/tst-unique3.h: New file.
8701 * elf/tst-unique3lib.cc: New file.
8702 * elf/tst-unique3lib2.cc: New file.
8703
33f85a3f
UD
8704 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8705
03592fc7
MF
87062011-03-10 Mike Frysinger <vapier@gentoo.org>
8707
8708 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8709 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8710 to _start.
03592fc7 8711
6a5ee102
UD
87122011-03-06 Ulrich Drepper <drepper@gmail.com>
8713
8714 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8715 to-be-loaded object along a path to loader is ld.so.
8716
7e4ba49c
HJ
87172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8718 Ulrich Drepper <drepper@gmail.com>
8719
8720 * sysdeps/x86_64/memset.S: After aligning destination, code
8721 branches to different locations depending on the value of
8722 misalignment, when multiarch is enabled. Fix this.
8723
87242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8725
8726 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8727 Set _x86_64_preferred_memory_instruction for AMD processsors.
8728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8729 Set bit_Prefer_SSE_for_memop for AMD processors.
8730
13a804de
UD
87312011-03-04 Ulrich Drepper <drepper@gmail.com>
8732
8733 * libio/fmemopen.c (fmemopen): Optimize a bit.
8734
9d25c392
AS
87352011-03-03 Andreas Schwab <schwab@redhat.com>
8736
8737 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8738
a5543c6a
RM
87392011-03-03 Roland McGrath <roland@redhat.com>
8740
8741 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8742
012d35f7
DM
87432011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8744
7e4ba49c 8745 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8746 __bzero_ultra1 instead of __memset_ultra1.
8747
4bff6e01
AS
87482011-02-23 Andreas Schwab <schwab@redhat.com>
8749 Ulrich Drepper <drepper@gmail.com>
8750
8751 [BZ #12509]
8752 * include/link.h (struct link_map): Add l_orig_initfini.
8753 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8754 returning unsuccessfully.
8755 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8756 close of a file loaded at startup, restore the original l_initfini
8757 list.
8758 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8759 list, store the pointer.
8760 * elf/Makefile ($(objpfx)noload-mem): New rule.
8761 (noload-ENV): Define.
8762 (tests): Add $(objpfx)noload-mem.
8763 * elf/noload.c: Include <memcheck.h>.
8764 (main): Call mtrace. Close all opened handles.
8765
f2092faf
AS
87662011-02-17 Andreas Schwab <schwab@redhat.com>
8767
8768 [BZ #12454]
8769 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8770 dependencies are missing.
8771
6c8a2e88
ST
87722011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8773
f2092faf 8774 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8775 Hurd needs munmap.
8776 * sysdeps/mach/hurd/ifreq.h: New file.
8777
84a42118
PB
87782011-01-27 Petr Baudis <pasky@suse.cz>
8779 Ulrich Drepper <drepper@gmail.com>
8780
071f805e 8781 [BZ 12445]#
84a42118
PB
8782 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8783 to extend_alloca().
8784 * stdio-common/bug23.c: New file.
8785 * stdio-common/Makefile (tests): Add bug23.
8786
e23fe25b
AS
87872010-09-28 Andreas Schwab <schwab@redhat.com>
8788 Ulrich Drepper <drepper@gmail.com>
8789
8790 [BZ #12489]
8791 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8792 before performing relro protection. At old place add assertion
8793 to make sure nothing changed.
8794
d3f02e10
NS
87952011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8796 Glauber de Oliveira Costa <glommer@gmail.com>
8797
8798 * elf/elf.h: Add new ARM TLS relocs.
8799
d55fd7a5
RA
88002011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8801
8802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8803 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8804 cast from r3.
8805 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8806 'tests' variable.
8807 * sysdeps/wordsize-64/tst-writev.c: New file.
8808
2206397e
RA
88092011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8810
8811 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8812 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8813 insns in _dl_start to prevent a TOC reference before relocs are
8814 resolved.
8815
e9433893
UD
88162011-02-15 Ulrich Drepper <drepper@gmail.com>
8817
8818 [BZ #12469]
8819 * Makeconfig: Remove RANLIB definition.
8820 * Makerules: Don't use RANLIB.
8821 * aclocal.m4: Remove ranlib test.
8822 * configure.in: No need to check for ranlib.
8823 * elf/rtld-Rules: Don't use RANLIB.
8824
f75286c6
ST
88252011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8826
8e31c82d
ST
8827 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8828 protection macro.
8829 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8830 inclusion protection macro.
8831
f75286c6
ST
8832 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8833 SIGRTMIN and SIGRTMAX and print information in that case only when
8834 SIGRTMIN is defined.
8835
c1d0e639
JJ
88362011-02-11 Jakub Jelinek <jakub@redhat.com>
8837
8838 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8839 arginfo fn returning -1.
8840
8841 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8842 and thousands string is zero terminated.
8843
edf9294e
AS
88442011-02-03 Andreas Schwab <schwab@redhat.com>
8845
8846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8847 sysdeps/unix/sysv/linux/bits/socket.h.
8848
2b7e92df
ST
88492011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8850
edf9294e
AS
8851 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8852 (__CPU_COUNT): Remove old macros.
8853 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8854 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8855 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8856 (__sched_cpualloc, __sched_cpufree): Add declarations.
8857
a4c7ea7b
UD
88582011-02-05 Ulrich Drepper <drepper@gmail.com>
8859
8860 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8861 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8862 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8863 (readdhstai): Return value of addhstaiX call.
8864 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8865 (addgrbyX): Return value returned by cache_addgr.
8866 (readdgrbyname): Return value returned by addgrbyX.
8867 (readdgrbygid): Likewise.
8868 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8869 (addpwbyX): Return value returned by cache_addpw.
8870 (readdpwbyname): Return value returned by addhstbyX.
8871 (readdpwbyuid): Likewise.
8872 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8873 (addservbyX): Return value returned by cache_addserv.
8874 (readdservbyname): Return value returned by addservbyX:
8875 (readdservbyport): Likewise.
8876 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8877 (addhstbyX): Return value returned by cache_addhst.
8878 (readdhstbyname): Return value returned by addhstbyX.
8879 (readdhstbyaddr): Likewise.
8880 (readdhstbynamev6): Likewise.
8881 (readdhstbyaddrv6): Likewise.
8882 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8883 (readdinitgroups): Return value returned by addinitgroupsX.
8884 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8885 (prune_cache): Keep track of timeout value of re-added entries.
8886 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8887 * nscd/nscd.h: Adjust prototypes of readd* functions.
8888
a0bf67cc
RM
88892011-02-04 Roland McGrath <roland@redhat.com>
8890
8891 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8892 (nis_stats): Likewise.
8893 * nis/nis_modify.c (nis_modify): Likewise.
8894 * nis/nis_remove.c (nis_remove): Likewise.
8895 * nis/nis_add.c (nis_add): Likewise.
8896
8897 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8898
8899 * posix/fnmatch_loop.c: Add some consts.
8900
8901 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8902
435b95eb
L
89032011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8904
8905 [BZ #12460]
8906 * config.make.in (config-cflags-novzeroupper): Define.
8907 * configure.in: Substitute libc_cv_cc_novzeroupper.
8908 * elf/Makefile (AVX-CFLAGS): Define.
8909 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8910 (CFLAGS-tst-auditmod4a.c): Likewise.
8911 (CFLAGS-tst-auditmod4b.c): Likewise.
8912 (CFLAGS-tst-auditmod6b.c): Likewise.
8913 (CFLAGS-tst-auditmod6c.c): Likewise.
8914 (CFLAGS-tst-auditmod7b.c): Likewise.
8915 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8916
8517b15e
UD
89172011-02-02 Ulrich Drepper <drepper@gmail.com>
8918
8919 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8920 function to the callback.
8921 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8922
10a656fe
AS
89232011-02-02 Andreas Schwab <schwab@redhat.com>
8924
8925 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8926 of errno.
8927
968dad0a
UD
89282011-01-19 Ulrich Drepper <drepper@gmail.com>
8929
9f94d2ea 8930 [BZ #11724]
968dad0a
UD
8931 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8932 of constructors.
8933 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8934 of destructors.
8935 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8936
8937 [BZ #11724]
8938 * elf/Makefile: Add rules to build and run new test.
8939 * elf/tst-initorder.c: New file.
8940 * elf/tst-initorder.exp: New file.
8941 * elf/tst-initordera1.c: New file.
8942 * elf/tst-initordera2.c: New file.
8943 * elf/tst-initordera3.c: New file.
8944 * elf/tst-initordera4.c: New file.
8945 * elf/tst-initorderb1.c: New file.
8946 * elf/tst-initorderb2.c: New file.
8947 * elf/tst-order-a1.c: New file.
8948 * elf/tst-order-a2.c: New file.
8949 * elf/tst-order-a3.c: New file.
8950 * elf/tst-order-a4.c: New file.
8951 * elf/tst-order-b1.c: New file.
8952 * elf/tst-order-b2.c: New file.
8953 * elf/tst-order-main.c: New file.
8954 New test case by George Gensure <werkt0@gmail.com>.
8955
86e92359
UD
89562010-10-01 Andreas Schwab <schwab@redhat.com>
8957
8958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8959 decoding ACE if AI_CANONIDN.
8960
5d5732b0
UD
89612011-01-18 Ulrich Drepper <drepper@gmail.com>
8962
8963 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8964
a77e8cbc
UD
89652011-01-17 Ulrich Drepper <drepper@gmail.com>
8966
6392473f
UD
8967 * version.h (RELEASE): Bump for 2.13 release.
8968 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8969
620a0529
UD
8970 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8971
18ba70a5
UD
8972 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8973 MADV_NOHUGEPAGE.
32465c3e
UD
8974 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8975 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8979 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8980
c0dafcf1
UD
8981 * posix/getconf.c: Update copyright year.
8982 * catgets/gencat.c: Likewise.
8983 * csu/version.c: Likewise.
8984 * debug/catchsegv.sh: Likewise.
8985 * debug/xtrace.sh: Likewise.
8986 * elf/ldconfig.c: Likewise.
8987 * elf/ldd.bash.in: Likewise.
8988 * elf/sprof.c (print_version): Likewise.
8989 * iconv/iconv_prog.c: Likewise.
8990 * iconv/iconvconfig.c: Likewise.
8991 * locale/programs/locale.c: Likewise.
8992 * locale/programs/localedef.c: Likewise.
8993 * malloc/memusage.sh: Likewise.
8994 * malloc/mtrace.pl: Likewise.
8995 * nscd/nscd.c (print_version): Likewise.
8996 * nss/getent.c: Likewise.
8997
a77e8cbc
UD
8998 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8999 PF_CAIF, and PF_ALG.
9000 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9001
77e8bddf
AS
90022011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9003
1f20b93a
AS
9004 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9005 (modules-names): Use them.
9006 (ifunc-test-modules, ifunc-pie-tests): Define.
9007 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9008 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9009 (test-extras): Likewise.
9010 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9011 $(compile-command.c).
9012 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9013 (all-built-dso): Define.
9014 (check-textrel.out, check-execstack.out): Depend on it.
9015
77e8bddf
AS
9016 * configure.in: Don't override --enable-multi-arch.
9017
bc425b33
UD
90182011-01-15 Ulrich Drepper <drepper@gmail.com>
9019
9020 [BZ #6812]
9021 * nscd/hstcache.c (tryagain): Define.
9022 (cache_addhst): Return tryagain not notfound for temporary errors.
9023 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9024 failed.
9025
794c3ad3
UD
90262011-01-14 Ulrich Drepper <drepper@gmail.com>
9027
70181fdd
UD
9028 [BZ #10563]
9029 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9030 to make the syscall.
9031 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9032
794c3ad3
UD
9033 [BZ #12378]
9034 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9035 and fall back to matching as normal character if the string ends before
9036 the matching ']' is found. This is what POSIX requires.
9037 * posix/testfnm.c: Adjust test result.
9038 * posix/globtest.sh: Adjust test result. Add new test.
9039 * posix/tst-fnmatch.input: Likewise.
9040 * posix/tst-fnmatch2.c: Add new test.
9041
68dc9497
AS
90422010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9043
9044 * elf/Makefile (check-execstack): Revert last change. Depend on
9045 check-execstack.h.
9046 (check-execstack.h): New target.
9047 (generated): Add check-execstack.h.
9048 * elf/check-execstack.c: Include "check-execstack.h".
9049 (main): Revert last change.
9050 (handle_file): Return zero if GNU_STACK is absent and
9051 DEFAULT_STACK_PERMS doesn't include PF_X.
9052
451f001b
UD
90532011-01-13 Ulrich Drepper <drepper@gmail.com>
9054
cfa28e56
UD
9055 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9056 in child fails because the descriptor is already closed.
8cf8ce17
UD
9057 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9058 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9059 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9060
1086d70d
UD
9061 [BZ #12397]
9062 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9063 syscall.
9064
451f001b
UD
9065 [BZ #10484]
9066 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9067 temporary buffer used to handle multi lookups locally.
a85b5cb4 9068 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9069
08769175
UD
90702011-01-12 Ulrich Drepper <drepper@gmail.com>
9071
9072 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9073 loader is ld.so.
9074
5e49c52e
UD
90752011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9076
9077 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9078 alignment for SSE2.
9079
60522a5f
UD
90802011-01-12 Ulrich Drepper <drepper@gmail.com>
9081
9082 [BZ #12394]
9083 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9084 characters. When rounding increased number of integer digits recompute
9085 number of groups.
9086 * stdio-common/tst-grouping.c: New file.
9087 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9088
f257bbd7
UD
90892011-01-09 Ulrich Drepper <drepper@gmail.com>
9090
9091 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9092 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9093
9094 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9095 void.
9096 * bits/select.h: Likewise.
9097
fa9c15cb
UD
90982011-01-08 Ulrich Drepper <drepper@gmail.com>
9099
9100 * po/ja.po: Update from translation team.
9101
16c2895f
DM
91022011-01-04 David S. Miller <davem@sunset.davemloft.net>
9103
9104 [BZ #11155]
9105 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9106 implementation just like for lxstat, fxstatat, et al.
9107
2543fef2
JM
91082010-12-27 Jim Meyering <meyering@redhat.com>
9109
9110 [BZ #12348]
9111 * posix/regexec.c (build_trtable): Return failure indication upon
9112 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9113
98727dbe
UD
91142010-12-25 Ulrich Drepper <drepper@gmail.com>
9115
5bd6dc5c
UD
9116 [BZ #12201]
9117 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9118 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9119 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9120 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9121
97983464
UD
9122 [BZ #12207]
9123 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9124
98727dbe
UD
9125 [BZ #12204]
9126 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9127 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9128
4a531bb0
L
91292010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9132 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9133 script has SORT_BY_INIT_PRIORITY.
9134 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9135 NO_CTORS_DTORS_SECTIONS is defined.
9136 * elf/soinit.c: Likewise.
9137 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9138 NO_CTORS_DTORS_SECTIONS is defined.
9139 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9140 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9141 * sysdeps/sh/init-first.c: Likewise.
9142 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9143
07eb4b71
UD
91442010-12-24 Ulrich Drepper <drepper@gmail.com>
9145
9146 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9147 always use the slow path.
9148
30950a5f
RA
91492010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9150
9151 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9152 similar rule which adds the sysdep directories to the header search in
9153 order to pick up the correct platform stackinfo.h.
9154 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9155 perform test if it is, otherwise return successfully without testing.
9156 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9157 DEFAULT_STACK_PERMS define in stackinfo.h.
9158 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9159 defined in stackinfo.h.
9160 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9161 DEFAULT_STACK_PERMS defined in stackinfo.h.
9162 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9163 * sysdeps/ia64/stackinfo.h: Likewise.
9164 * sysdeps/s390/stackinfo.h: Likewise.
9165 * sysdeps/sh/stackinfo.h: Likewise.
9166 * sysdeps/sparc/stackinfo.h: Likewise.
9167 * sysdeps/x86_64/stackinfo.h: Likewise.
9168 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9169 PF_X for powerpc64. Retain PF_X for powerpc32.
9170
db753e2c
UD
91712010-12-19 Ulrich Drepper <drepper@gmail.com>
9172
14b697f7
UD
9173 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9174 accurately.
db753e2c
UD
9175 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9176 GETDENTS_64BIT_ALIGNED.
9177
28300719
UD
91782010-12-14 Ulrich Drepper <dreper@gmail.com>
9179
14b697f7 9180 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9181
4f197237
AS
91822010-12-10 Andreas Schwab <schwab@redhat.com>
9183
dbb0472f
AS
9184 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9185 _GNU_SOURCE.
9186
4f197237
AS
9187 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9188 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9189 Remove __restrict.
9190 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9191 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9192
fb88ac72
UD
91932010-12-09 Ulrich Drepper <drepper@gmail.com>
9194
9195 [BZ #11655]
9196 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9197 are initialized.
9198
42acbb92
JJ
91992010-12-09 Jakub Jelinek <jakub@redhat.com>
9200
9201 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9202
c038d98d
UD
92032010-12-03 Ulrich Drepper <drepper@gmail.com>
9204
9205 * po/it.po: Update from translation team.
9206
3a4a2499
L
92072010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9208
9209 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9210 unused codes.
9211
1e24cf6e
UD
92122010-11-30 Ulrich Drepper <drepper@gmail.com>
9213
9214 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9215
a7690819
AS
92162010-11-24 Andreas Schwab <schwab@redhat.com>
9217
9218 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9219 specially.
9220 (gaih_getanswer_slice): Likewise.
9221
3bf8d1b1
JJ
92222010-10-20 Jakub Jelinek <jakub@redhat.com>
9223
9224 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9225
6db52fbb
PB
92262010-05-31 Petr Baudis <pasky@suse.cz>
9227
9228 [BZ #11149]
9229 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9230 silently even in the chroot mode.
9231
eaca7569
UD
92322010-11-22 Ulrich Drepper <drepper@gmail.com>
9233
9234 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9235 last patch a bit. Pretty printing
9236
3056dcdb
UD
92372010-05-31 Petr Baudis <pasky@suse.cz>
9238
9239 [BZ #10085]
9240 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9241 initialization of skip_initgroups_dyn.
9242
cf7c9078
UD
92432010-11-19 Ulrich Drepper <drepper@gmail.com>
9244
9245 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9246 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9247
a1fb5e3e
UD
92482010-11-16 Ulrich Drepper <drepper@gmail.com>
9249
9250 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9251
3540d66b
AS
92522010-11-11 Andreas Schwab <schwab@redhat.com>
9253
9254 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9255 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9256 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9257 ($(objpfx)tst-fnmatch-mem): New rule.
9258 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9259 * posix/tst-fnmatch.c (main): Call mtrace.
9260
13b69574
L
92612010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9262
9263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9264 Support Intel processor model 6 and model 0x2c.
9265
da93d214
LM
92662010-11-10 Luis Machado <luisgpm@br.ibm.com>
9267
9268 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9269 signed comparison.
9270
8ca52c6e
L
92712010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9272
9273 [BZ #12205]
9274 * string/test-strncasecmp.c (check_result): New function.
9275 (do_one_test): Use it.
9276 (check1): New function.
9277 (test_main): Use it.
9278 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9279 Support strcasecmp and strncasecmp.
9280
69da074d
UD
92812010-11-08 Ulrich Drepper <drepper@gmail.com>
9282
9283 [BZ #12194]
9284 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9285 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9286
ff02d528
L
92872010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9288
9289 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9290 IFUNC support.
9291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9292 memset-x86-64.
9293 * sysdeps/x86_64/multiarch/bzero.S: New file.
9294 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9295 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9296 * sysdeps/x86_64/multiarch/memset.S: New file.
9297 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9299 Set bit_Prefer_SSE_for_memop for Intel processors.
9300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9301 Define.
9302 (index_Prefer_SSE_for_memop): Define.
9303 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9304
344d0b54
LM
93052010-11-04 Luis Machado <luisgpm@br.ibm.com>
9306
9307 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9308 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9309
c0dde15b
UD
93102010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9311
9312 [BZ #12191]
9313 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9314 (__x86_64_raw_data_cache_size_half): Likewise.
9315 (__x86_64_raw_shared_cache_size): Likewise.
9316 (__x86_64_raw_shared_cache_size_half): Likewise.
9317
9318 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9319 (__x86_64_raw_data_cache_size_half): Likewise.
9320 (__x86_64_raw_shared_cache_size): Likewise.
9321 (__x86_64_raw_shared_cache_size_half): Likewise.
9322 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9323 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9324 and __x86_64_raw_shared_cache_size_half. Round
9325 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9326 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9327 to multiple of 256 bytes.
9328
0e516e0e
MS
93292010-11-03 Ulrich Drepper <drepper@gmail.com>
9330
9331 [BZ #12167]
9332 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9333 of inacessible symlinks. Verify result of symlink before returning it.
9334 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9335 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9336
0e012e87
ER
93372010-10-28 Erich Ritz <erichritz@gmail.com>
9338
9339 * math/math.h (isinf): Fix typo in comment.
9340
de0ff7bc
UD
93412010-11-01 Ulrich Drepper <drepper@gmail.com>
9342
9343 * po/da.po: Update from translation team.
9344
fa41c84d
UD
93452010-10-26 Ulrich Drepper <drepper@gmail.com>
9346
9347 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9348 is added to the list.
9349
f0967738
AK
93502010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9351 Ulrich Drepper <drepper@gmail.com>
9352
9353 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9354 the global list here. Move code to...
9355 (_dl_add_to_namespace_list): ...here. New function.
9356 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9357 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9358 * elf/dl-load.c (lose): Don't remove the element from the list.
9359 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9360 (_dl_map_object): Likewise.
9361
93622010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9363
9364 [BZ #12159]
9365 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9366 into all bytes of SSE register.
9367 Patch by Richard Li <richardpku@gmail.com>.
9368
f0967738 93692010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9370
9371 [BZ #12140]
9372 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9373 perturbing.
9374
d0b9e94f
MB
93752010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9376
9377 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9378 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9379 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9380 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9382 submachine.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9384
8e9f92e9
AS
93852010-10-22 Andreas Schwab <schwab@redhat.com>
9386
9387 * include/dlfcn.h (__RTLD_SECURE): Define.
9388 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9389 mode & __RTLD_SECURE instead.
9390 (open_path): Rename preloaded parameter to secure.
9391 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9392 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9393 * elf/dl-deps.c (openaux): Likewise.
9394 * elf/rtld.c (struct map_args): Remove is_preloaded.
9395 (map_doit): Don't use it.
9396 (dl_main): Likewise.
9397 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9398 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9399
bc96fbda
AS
94002010-09-09 Andreas Schwab <schwab@redhat.com>
9401
9402 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9403 (sysd-rules-targets): Remove duplicates.
9404 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9405 rtld-%.$o dependency.
9406
22cd1c9b
AS
94072010-10-18 Andreas Schwab <schwab@redhat.com>
9408
9409 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9410 _dl_map_object do it.
9411
18edac48
UD
94122010-10-19 Ulrich Drepper <drepper@gmail.com>
9413
9414 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9415 fast fma builtins, define the macros in the C99 standard.
9416 (FP_FAST_FMAF): Likewise.
9417 (FP_FAST_FMAL): Likewise.
9418 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9419
9420 * bits/mathdef.h: Update copyright year.
9421 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9422
d2050124
MM
94232010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9424
9425 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9426 builtins, define the macros in the C99 standard.
9427 (FP_FAST_FMAF): Likewise.
9428 (FP_FAST_FMAL): Likewise.
9429 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9430 multiply/add.
9431 (FP_FAST_FMAF): Likewise.
9432
475facd1
JJ
94332010-10-15 Jakub Jelinek <jakub@redhat.com>
9434
9435 [BZ #3268]
9436 * math/libm-test.inc (fma_test): Some new testcases.
9437 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9438 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9439 y and infinite z. Do multiplication by C already in long double.
9440 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9442 y and infinite z. Do bitwise or of inexact bit into u.d.
9443 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9444 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9445 * sysdeps/i386/fpu/s_fma.S: Removed.
9446 * sysdeps/i386/fpu/s_fmal.S: Removed.
9447
7c08a05c
JJ
94482010-10-16 Jakub Jelinek <jakub@redhat.com>
9449
9450 [BZ #3268]
9451 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9453 computation is not scheduled after fetestexcept. Fix value
9454 of minimum denormal long double.
9455
f3f7372d
JJ
94562010-10-14 Jakub Jelinek <jakub@redhat.com>
9457
9458 [BZ #3268]
9459 * math/libm-test.inc (fma_test): Add some more tests.
9460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9461 correctly.
9462
14d43591
AS
94632010-10-15 Andreas Schwab <schwab@redhat.com>
9464
9465 * scripts/data/localplt-s390-linux-gnu.data: New file.
9466 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9467
5e908464
JJ
94682010-10-13 Jakub Jelinek <jakub@redhat.com>
9469
9470 [BZ #3268]
9471 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9472 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9473 instead of dbl-64.
9474 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9475 inlines.
9476 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9478 if one of x and y is very large and the other is subnormal.
9479 * sysdeps/s390/fpu/s_fmaf.c: New file.
9480 * sysdeps/s390/fpu/s_fma.c: New file.
9481 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9482 * sysdeps/powerpc/fpu/s_fma.S: New file.
9483 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9484 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9485 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9486
94872010-10-12 Jakub Jelinek <jakub@redhat.com>
9488
9489 [BZ #3268]
9490 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9491 fma tests.
9492 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9493 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9494 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9495 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9496 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9497 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9499
b833d51f
UD
95002010-10-12 Ulrich Drepper <drepper@redhat.com>
9501
9502 [BZ #12078]
9503 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9504 * posix/bug-regex31.input: Add test case.
9505
1751705d
UD
95062010-10-11 Ulrich Drepper <drepper@gmail.com>
9507
e9b9cbf5
UD
9508 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9509 * posix/bug-regex31.input: New file.
9510
9511 [BZ #12078]
9512 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9513 (parse_sub_exp): Fix last change, use postorder.
9514
ef06edbe
UD
9515 * posix/bug-regex31.c: New file.
9516 * posix/Makefile: Add rules to build and run bug-regex31.
9517
a129c80d
UD
9518 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9519
9520 [BZ #12078]
9521 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9522
b76b818e
UD
9523 [BZ #12108]
9524 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9525 to have entries in sys_siglist.
9526
1751705d
UD
9527 [BZ #12093]
9528 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9529 be NULL.
9530
9ff8d36f
JJ
95312010-10-07 Jakub Jelinek <jakub@redhat.com>
9532
9533 [BZ #3268]
9534 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9535 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9536 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9537 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9538 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9539 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9540 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9541 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9542 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9543 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9544 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9545 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9546 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9547 * math/ftestexcept.c (fetestexcept): Likewise.
9548 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9549 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9550 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9551 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9552 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9553 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9554 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9555
af325969
UD
95562010-10-11 Ulrich Drepper <drepper@gmail.com>
9557
c579b202 9558 [BZ #12107]
af325969
UD
9559 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9560 newline.
9561
67a67b95
UD
95622010-10-06 Ulrich Drepper <drepper@gmail.com>
9563
9564 * string/bug-strstr1.c: New file.
9565 * string/Makefile: Add rules to build and run bug-strstr1.
9566
5fb308bc
EB
95672010-10-05 Eric Blake <eblake@redhat.com>
9568
9569 [BZ #12092]
9570 * string/str-two-way.h (two_way_long_needle): Always clear memory
9571 when skipping input due to the shift table.
9572
45db99c7
UD
95732010-10-03 Ulrich Drepper <drepper@gmail.com>
9574
3b111893
UD
9575 [BZ #12005]
9576 * malloc/mcheck.c: Handle large requests.
9577
45db99c7
UD
9578 [BZ #12077]
9579 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9580 for strncmp and strncasecmp.
9581 * string/stratcliff.c: Add tests for strcmp and strncmp.
9582 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9583
cf7a1eb8
NI
95842010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9585
9586 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9587 __set_fpscr.
9588
6484ba5e
AJ
95892010-09-30 Andreas Jaeger <aj@suse.de>
9590
9591 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9592 (CGROUP_SUPER_MAGIC): Define.
9593 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9594 Handle btrfs and cgroup file systems.
9595 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9596 Likewise.
9597
91c42559
LM
95982010-09-27 Luis Machado <luisgpm@br.ibm.com>
9599
9600 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9601 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9602
87a97932
AK
96032010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9604
9605 [BZ #12067]
9606 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9607 trying to locate the ELF header.
9608
c21cc9bc
AS
96092010-09-27 Andreas Schwab <schwab@redhat.com>
9610
9611 [BZ #11611]
9612 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9613 Mask out sign-bit copies when constructing f_fsid.
9614
315970f6
PB
96152010-09-24 Petr Baudis <pasky@suse.cz>
9616
9617 * debug/stack_chk_fail_local.c: Add missing licence exception.
9618 * debug/warning-nop.c: Likewise.
9619
1ac7a2c7
JM
96202010-09-15 Joseph Myers <joseph@codesourcery.com>
9621
9622 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9623 implementing getdents64 using getdents syscall, set d_type if
9624 __ASSUME_GETDENTS32_D_TYPE.
9625
56801c50
AS
96262010-09-16 Andreas Schwab <schwab@redhat.com>
9627
9628 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9629 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9630
dda51327
UD
96312010-09-21 Ulrich Drepper <drepper@redhat.com>
9632
9633 [BZ #12037]
9634 * posix/unistd.h: Undo change of feature selection for ftruncate from
9635 2010-01-11.
9636
8ffcee4a
UD
96372010-09-20 Ulrich Drepper <drepper@redhat.com>
9638
a545ecd9 9639 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9640 detection.
9641
e24f0a8b
AS
96422010-09-20 Andreas Schwab <schwab@redhat.com>
9643
9644 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9645 fanotify_mark.
9646 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9647
7291c56f
AS
96482010-09-14 Andreas Schwab <schwab@redhat.com>
9649
9650 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9651 variables after CHECK_SP call.
9652 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9653
bc5fb037
AS
96542010-09-13 Andreas Schwab <schwab@redhat.com>
9655 Ulrich Drepper <drepper@redhat.com>
9656
9657 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9658 re-relocationg ld.so.
9659 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9660 _dl_init_paths call.
9661 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9662 here anymore.
9663
e66e7419
UD
96642010-09-14 Ulrich Drepper <drepper@redhat.com>
9665
9666 * resolv/res_init.c (__res_vinit): Count the default server we added.
9667
c044aa75
CLT
96682010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9669 Ulrich Drepper <drepper@redhat.com>
9670
9671 [BZ #11968]
9672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9673 (____longjmp_chk): Use %ebx for saving value across system call.
9674 Add unwind info.
9675
32cf4069
AS
96762010-09-06 Andreas Schwab <schwab@redhat.com>
9677
9678 * manual/Makefile: Don't mix pattern rules with normal rules.
9679
817328ee
AS
96802010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9681
9682 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9683 operation.
9684 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9685 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9686 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9687 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9689 Likewise.
9690
29fddf61
UD
96912010-09-04 Ulrich Drepper <drepper@redhat.com>
9692
9693 [BZ #11979]
9694 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9695 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9696
0959ffc9
UD
96972010-09-02 Ulrich Drepper <drepper@redhat.com>
9698
9699 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9700 * sysdeps/x86_64/addmul_1.S: Likewise.
9701 * sysdeps/x86_64/lshift.S: Likewise.
9702 * sysdeps/x86_64/mul_1.S: Likewise.
9703 * sysdeps/x86_64/rshift.S: Likewise.
9704 * sysdeps/x86_64/sub_n.S: Likewise.
9705 * sysdeps/x86_64/submul_1.S: Likewise.
9706
ece29840
ST
97072010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9708
0959ffc9
UD
9709 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9710 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9711 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9712 * bits/sched.h [__need_schedparam]
ece29840 9713 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9714 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9715 (__defined_schedparam): Define to 1.
ece29840
ST
9716 (__sched_param): New structure, identical to sched_param.
9717 (__need_schedparam): Undefine.
9718
e53a31fe
MF
97192010-08-31 Mike Frysinger <vapier@gentoo.org>
9720
fdc0c10d
MF
9721 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9722 (epoll_create1): Declare.
9723
e53a31fe
MF
9724 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9725
a726d796
AS
97262010-08-31 Andreas Schwab <schwab@redhat.com>
9727
9728 [BZ #7066]
9729 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9730 shifting retval into place.
9731
2f3e3dc7
UD
97322010-09-01 Ulrich Drepper <drepper@redhat.com>
9733
f2933da9
UD
9734 * nis/rpcsvc/nis.h: Update copyright notice.
9735 * nis/rpcsvc/nis.x: Likewise.
9736 * nis/rpcsvc/nis_callback.h: Likewise.
9737 * nis/rpcsvc/nis_callback.x: Likewise.
9738 * nis/rpcsvc/nis_object.x: Likewise.
9739 * nis/rpcsvc/nis_tags.h: Likewise.
9740 * nis/rpcsvc/yp.h: Likewise.
9741 * nis/rpcsvc/yp.x: Likewise.
9742 * nis/rpcsvc/ypupd.h: Likewise.
9743 * nis/yp_xdr.c: Likewise.
9744 * nis/ypupdate_xdr.c: Likewise.
9745
2f3e3dc7
UD
9746 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9747 mainly the body of pmap_getport. Add parameters to specify timeouts.
9748 (pmap_getport): Use __libc_rpc_getport.
9749 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9750 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9751 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9752
f3dcc2f9
AS
97532010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9754
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9756 fanotify_mark.
9757
6d34eb5b
RM
97582010-08-27 Roland McGrath <roland@redhat.com>
9759
9760 * sysdeps/i386/i686/multiarch/Makefile
9761 (CFLAGS-varshift.c): New variable.
9762
9ea3de11
UD
97632010-08-27 Ulrich Drepper <drepper@redhat.com>
9764
c96d23fc
UD
9765 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9766 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9767
9ea3de11
UD
9768 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9769
9770 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9771
623aac7f
L
97722010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 * sysdeps/x86_64/strlen.S: Unroll the loop.
9775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9776 strlen-sse2 strlen-sse2-bsf.
9777 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9778 __strlen_no_bsf if bit_Slow_BSF is set.
9779 (__strlen_sse42): Removed.
9780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9781 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9782
8b2b7715
RM
97832010-08-25 Roland McGrath <roland@redhat.com>
9784
9785 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9786 * sysdeps/x86_64/multiarch/varshift.c: New file.
9787 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9788 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9789 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9790 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9791
e73015f2
L
97922010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9793
9794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9795 strlen-sse2 strlen-sse2-bsf.
9796 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9797 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9798 (__strlen_sse2): Removed.
9799 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9800 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9802 bit_Slow_BSF for Atom.
9803 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9804 (index_Slow_BSF): Define.
9805 (HAS_SLOW_BSF): Define.
9806
df24a73e
UD
98072010-08-25 Ulrich Drepper <drepper@redhat.com>
9808
9809 [BZ #10851]
9810 * resolv/res_init.c (__res_vinit): When no server address at all
9811 is given default to loopback.
9812
f2ac4868
RM
98132010-08-24 Roland McGrath <roland@redhat.com>
9814
09055553
RM
9815 * configure.in: Remove config-name.h generation.
9816 * configure: Regenerated.
9817 * config-name.in: File removed.
9818 * scripts/config-uname.sh: New file.
9819 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9820 ($(objdir)config-name.h): New target.
9821
f2ac4868
RM
9822 * sunrpc/rpc_parse.h: Avoid nested comment.
9823
73f27d5e
RH
98242010-08-24 Richard Henderson <rth@redhat.com>
9825 Ulrich Drepper <drepper@redhat.com>
9826 H.J. Lu <hongjiu.lu@intel.com>
9827
9828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9830 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9831 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9832 _mm_alignr_epi8 with _mm_loadu_si128.
9833 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9834 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9835 (__m128i_shift_right): Removed.
9836 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9837 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9838 * sysdeps/x86_64/multiarch/varshift.h: New file.
9839 * sysdeps/x86_64/multiarch/varshift.S: New file.
9840
84b9230c
MF
98412010-08-21 Mike Frysinger <vapier@gentoo.org>
9842
9843 * configure.in: Move assembler checks to before sysdep dir checking.
9844
9bbd0ddc
PB
98452010-08-20 Petr Baudis <pasky@suse.cz>
9846
9847 * LICENSES: Sync the sunrpc license.
9848
9da4bb31
UD
98492010-08-19 Ulrich Drepper <drepper@redhat.com>
9850
a7ab6ec8
UD
9851 * sunrpc/auth_des.c: Update copyright notice once again.
9852 * sunrpc/auth_none.c: Likewise.
9853 * sunrpc/auth_unix.c: Likewise.
9854 * sunrpc/authdes_prot.c: Likewise.
9855 * sunrpc/authuxprot.c: Likewise.
9856 * sunrpc/bindrsvprt.c: Likewise.
9857 * sunrpc/clnt_gen.c: Likewise.
9858 * sunrpc/clnt_perr.c: Likewise.
9859 * sunrpc/clnt_raw.c: Likewise.
9860 * sunrpc/clnt_simp.c: Likewise.
9861 * sunrpc/clnt_tcp.c: Likewise.
9862 * sunrpc/clnt_udp.c: Likewise.
9863 * sunrpc/clnt_unix.c: Likewise.
9864 * sunrpc/des_crypt.c: Likewise.
9865 * sunrpc/des_soft.c: Likewise.
9866 * sunrpc/get_myaddr.c: Likewise.
9867 * sunrpc/getrpcport.c: Likewise.
9868 * sunrpc/key_call.c: Likewise.
9869 * sunrpc/key_prot.c: Likewise.
9870 * sunrpc/openchild.c: Likewise.
9871 * sunrpc/pm_getmaps.c: Likewise.
9872 * sunrpc/pm_getport.c: Likewise.
9873 * sunrpc/pmap_clnt.c: Likewise.
9874 * sunrpc/pmap_prot.c: Likewise.
9875 * sunrpc/pmap_prot2.c: Likewise.
9876 * sunrpc/pmap_rmt.c: Likewise.
9877 * sunrpc/rpc/auth.h: Likewise.
9878 * sunrpc/rpc/auth_unix.h: Likewise.
9879 * sunrpc/rpc/clnt.h: Likewise.
9880 * sunrpc/rpc/des_crypt.h: Likewise.
9881 * sunrpc/rpc/key_prot.h: Likewise.
9882 * sunrpc/rpc/netdb.h: Likewise.
9883 * sunrpc/rpc/pmap_clnt.h: Likewise.
9884 * sunrpc/rpc/pmap_prot.h: Likewise.
9885 * sunrpc/rpc/pmap_rmt.h: Likewise.
9886 * sunrpc/rpc/rpc.h: Likewise.
9887 * sunrpc/rpc/rpc_des.h: Likewise.
9888 * sunrpc/rpc/rpc_msg.h: Likewise.
9889 * sunrpc/rpc/svc.h: Likewise.
9890 * sunrpc/rpc/svc_auth.h: Likewise.
9891 * sunrpc/rpc/types.h: Likewise.
9892 * sunrpc/rpc/xdr.h: Likewise.
9893 * sunrpc/rpc_clntout.c: Likewise.
9894 * sunrpc/rpc_cmsg.c: Likewise.
9895 * sunrpc/rpc_common.c: Likewise.
9896 * sunrpc/rpc_cout.c: Likewise.
9897 * sunrpc/rpc_dtable.c: Likewise.
9898 * sunrpc/rpc_hout.c: Likewise.
9899 * sunrpc/rpc_main.c: Likewise.
9900 * sunrpc/rpc_parse.c: Likewise.
9901 * sunrpc/rpc_parse.h: Likewise.
9902 * sunrpc/rpc_prot.c: Likewise.
9903 * sunrpc/rpc_sample.c: Likewise.
9904 * sunrpc/rpc_scan.c: Likewise.
9905 * sunrpc/rpc_scan.h: Likewise.
9906 * sunrpc/rpc_svcout.c: Likewise.
9907 * sunrpc/rpc_tblout.c: Likewise.
9908 * sunrpc/rpc_util.c: Likewise.
9909 * sunrpc/rpc_util.h: Likewise.
9910 * sunrpc/rpcinfo.c: Likewise.
9911 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9912 * sunrpc/rpcsvc/key_prot.x: Likewise.
9913 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9914 * sunrpc/rpcsvc/mount.x: Likewise.
9915 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9916 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9917 * sunrpc/rpcsvc/rex.x: Likewise.
9918 * sunrpc/rpcsvc/rstat.x: Likewise.
9919 * sunrpc/rpcsvc/rusers.x: Likewise.
9920 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9921 * sunrpc/rpcsvc/spray.x: Likewise.
9922 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9923 * sunrpc/rtime.c: Likewise.
9924 * sunrpc/svc.c: Likewise.
9925 * sunrpc/svc_auth.c: Likewise.
9926 * sunrpc/svc_authux.c: Likewise.
9927 * sunrpc/svc_raw.c: Likewise.
9928 * sunrpc/svc_run.c: Likewise.
9929 * sunrpc/svc_simple.c: Likewise.
9930 * sunrpc/svc_tcp.c: Likewise.
9931 * sunrpc/svc_udp.c: Likewise.
9932 * sunrpc/svc_unix.c: Likewise.
9933 * sunrpc/svcauth_des.c: Likewise.
9934 * sunrpc/xcrypt.c: Likewise.
9935 * sunrpc/xdr.c: Likewise.
9936 * sunrpc/xdr_array.c: Likewise.
9937 * sunrpc/xdr_float.c: Likewise.
9938 * sunrpc/xdr_mem.c: Likewise.
9939 * sunrpc/xdr_rec.c: Likewise.
9940 * sunrpc/xdr_ref.c: Likewise.
9941 * sunrpc/xdr_sizeof.c: Likewise.
9942 * sunrpc/xdr_stdio.c: Likewise.
9943
9da4bb31
UD
9944 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9945 handling.
9946
bdaa77bc
AS
99472010-08-19 Andreas Schwab <schwab@redhat.com>
9948
9949 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9950
fe2f79db
LM
99512010-08-19 Luis Machado <luisgpm@br.ibm.com>
9952
9953 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9954 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9955 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9956 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9957 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9958 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9959 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9960 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9961 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9962 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9963 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9964 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9965 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9966 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9967
b9b42ee0
AB
99682010-07-26 Anton Blanchard <anton@samba.org>
9969
9970 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9971 * malloc/arena.c (heap_trim): Likewise.
9972
1c06ba31
UD
99732010-08-16 Ulrich Drepper <drepper@redhat.com>
9974
9975 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9976 here. Not...
9977 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9978 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9979
f8392f40
L
99802010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9981
9982 * sysdeps/i386/elf/Makefile: New file.
9983
3162f12e
AS
99842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9985
9986 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9987 from fanotify_init.
9988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9990
28c90b2c
UD
99912010-08-15 Ulrich Drepper <drepper@redhat.com>
9992
9993 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9994 of strncasecmp_l.
1feccb6c 9995 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9996
ca6bb004
UD
99972010-08-14 Ulrich Drepper <drepper@redhat.com>
9998
e9f82e0d
UD
9999 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10000 strncase_l-nonascii.
10001 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10002 Add strncase_l-ssse3.
10003 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10004 * sysdeps/x86_64/strcmp.S: Likewise.
10005 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10006 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10007 * sysdeps/x86_64/strncase.S: New file.
10008 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10009 * sysdeps/x86_64/strncase_l.S: New file.
10010 * string/Makefile (strop-tests): Add strncasecmp.
10011 * string/test-strncasecmp.c: New file.
10012
10013 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10014 warning.
10015
ca6bb004
UD
10016 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10017 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10018
052fa7b3
AS
100192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10020
10021 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10022
962dba78
UD
100232010-08-12 Ulrich Drepper <drepper@redhat.com>
10024
10025 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10026 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10027 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10028
bebff237
AM
100292010-05-01 Alan Modra <amodra@gmail.com>
10030
10031 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10032 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10033 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10034 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10035 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10036 tidying. Don't tail-call __sigjmp_save for static lib.
10037 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10038 save location.
10039 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10040 (CALL_MCOUNT): Add eh info, and nop after bl.
10041 (TAIL_CALL_SYSCALL_ERROR): New macro.
10042 (PSEUDO_RET): Use it.
10043 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10044 Correct save location of integer regs and cr.
10045 (_dl_profile_resolve): Correct cr save location. Delete nops
10046 after bl when SHARED. Reduce cfi size a little by better
10047 placement of cfi directives.
10048 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10049 make a stack frame. Instead use parm save area as a temp.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10051 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10053 Don't make a stack frame for parent, use parm save area.
10054 Increase child stack frame to 112 bytes. Don't save unused reg,
10055 and adjust reg usage. Set up cfi on error recovery and
10056 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10058 (__makecontext): Add dummy nop after jump to exit.
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10060 Use correct parm save area and cr save, reduce stack frame.
10061 Correct cfi for possible PSEUDO_RET frame setup.
10062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10063 Branch to local label emitted by PSEUDO_RET rather than
10064 __syscall_error.
10065
02637374
AS
100662010-08-12 Andreas Schwab <schwab@redhat.com>
10067
10068 [BZ #11904]
10069 * locale/programs/locale.c (print_assignment): New function.
10070 (show_locale_vars): Use it.
10071
c3e2f19b
UD
100722010-08-11 Ulrich Drepper <drepper@redhat.com>
10073
3cdaa6ad
UD
10074 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10075 field.
10076 (struct statfs64): Likewise.
10077 (_STATFS_F_FLAGS): Define.
10078 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10080 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10081 (ST_VALID): Define locally.
10082 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10083 __statvfs_getflags, use the provided value.
10084 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10085 __ASSUME_STATFS_F_FLAGS.
10086
754f7da3
UD
10087 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10088
10b3bedc
UD
10089 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10090 Add sys/fanotify.h.
10091 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10092 fanotify_mask for GLIBC_2.13.
10093 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10094 fanotify_init and fanotify_mark.
10095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10096 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10097
c08fb0d7
UD
10098 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10099 Add prlimit.
10100 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10101 prlimit64 for GLIBC_2.13.
10102 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10103 prlimit64.
10104 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10105 syscall.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10107 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10108 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10109 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10111 add prlimit alias.
10112 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10113
15bac72b
UD
10114 [BZ #11903]
10115 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10116 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10117
c3e2f19b
UD
10118 * nss/Makefile: Add rules to build and run tst-nss-test1.
10119 * shlib-versions: Add entry for libnss_test1.
10120 * nss/nss_test1.c: New file.
10121 * nss/tst-nss-test1.c: New file.
10122
10123 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10124 (__nss_configure_lookup): Set appropriate entry in
10125 __nss_configure_lookup to true.
10126 * nss/nsswitch.h: Define enum with indeces of databases in
10127 databases and __nss_database_custom arrays. Declare
10128 __nss_database_custom.
10129 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10130 to avoid using nscd when custom rules are installed.
10131 * nss/getXXbyYY_r.c: Likewise.
10132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10133
10134 * nss/nss_files/files-parse.c: Whitespace fixes.
10135
f15ce4d8
UD
101362010-08-09 Ulrich Drepper <drepper@redhat.com>
10137
10138 [BZ #11883]
10139 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10140 * posix/fnmatch_loop.c: Likewise.
10141
d22e4cc9
AK
101422010-07-17 Andi Kleen <ak@linux.intel.com>
10143
10144 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10145 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10146 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10147 * Versions.def [GLIBC_2.13]: Add.
10148
805bc17d
UD
101492010-08-06 Ulrich Drepper <drepper@redhat.com>
10150
10151 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10152 Also fail if tpwd after pwuid call is NULL.
10153
5a42321d
ST
101542010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10155
10156 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10157 when converting to ms.
10158
fd3ebeda
ST
101592010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10160
10161 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10162 EOPNOTSUPP errors with ENOTTY.
10163 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10164 EOPNOTSUPP errors with ENOTTY.
10165
73507d3a
UD
101662010-07-31 Ulrich Drepper <drepper@redhat.com>
10167
10168 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10169 Add strcasecmp_l-ssse3.
10170 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10171 strcasecmp.
10172 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10173 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10174 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10175
fe36dd02
UD
101762010-07-30 Ulrich Drepper <drepper@redhat.com>
10177
66f6765a
UD
10178 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10179
42e08a54
UD
10180 * string/Makefile (strop-tests): Add strcasecmp.
10181 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10182 strcasecmp_l-nonascii.
10183 (gen-as-const-headers): Add locale-defines.sym.
10184 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10185 * sysdeps/x86_64/strcasecmp.S: New file.
10186 * sysdeps/x86_64/strcasecmp_l.S: New file.
10187 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10188 * sysdeps/x86_64/locale-defines.sym: New file.
10189 * string/test-strcasecmp.c: New file.
10190
fe36dd02
UD
10191 * string/test-strcasestr.c: Test both ends of the range of characters.
10192 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10193
48cbc0d6
RM
101942010-07-29 Roland McGrath <roland@redhat.com>
10195
76e6d6bc 10196 [BZ #11856]
48cbc0d6
RM
10197 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10198
880113d9
UD
101992010-07-27 Ulrich Drepper <drepper@redhat.com>
10200
10201 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10202 for ld.so.
10203
deb9cabb
AS
102042010-07-27 Andreas Schwab <schwab@redhat.com>
10205
10206 * manual/memory.texi (Malloc Tunable Parameters): Document
10207 M_PERTURB.
10208
1c7570ff
RM
102092010-07-26 Roland McGrath <roland@redhat.com>
10210
10211 [BZ #11840]
10212 * configure.in (-fgnu89-inline check): Set and substitute
10213 gnu89_inline, not libc_cv_gnu89_inline.
10214 * configure: Regenerated.
10215 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10216
24fb0f88
UD
102172010-07-26 Ulrich Drepper <drepper@redhat.com>
10218
10219 * string/test-strnlen.c: New file.
10220 * string/Makefile (strop-tests): Add strnlen.
10221 * string/tester.c (test_strnlen): Add a few more test cases.
10222 * string/tst-strlen.c: Better error reporting.
10223
10224 * sysdeps/x86_64/strnlen.S: New file.
10225
8e96b93a
UD
102262010-07-24 Ulrich Drepper <drepper@redhat.com>
10227
10228 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10229 lower-latency instructions.
10230
dbc676d4
UD
102312010-07-23 Ulrich Drepper <drepper@redhat.com>
10232
10233 * string/test-strcasestr.c: New file.
10234 * string/test-strstr.c: New file.
10235 * string/Makefile (strop-tests): Add strstr and strcasestr.
10236 * string/str-two-way.h: Don't undefine MAX.
10237 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10238
f6a31e0e
AS
102392010-07-21 Andreas Schwab <schwab@redhat.com>
10240
10241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10242 strcasestr-nonascii.
10243 (CFLAGS-strcasestr-nonascii.c): Define.
10244 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10245 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10246 Remove unused attribute.
10247
5dbc3b6c
RM
102482010-07-20 Roland McGrath <roland@redhat.com>
10249
10250 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10251 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10252 ld.so.cache was broken. With it, there is no way to disable dsocaps
10253 like LD_HWCAP_MASK can disable hwcaps.
10254
23d101d8
EPM
102552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10256
10257 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10258
cc9f2e47
UD
102592010-07-16 Ulrich Drepper <drepper@redhat.com>
10260
10261 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10262 call in strcasestr.
10263 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10264 __strcasestr_sse42_nonascii.
10265 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10266 strcasestr-nonascii.c.
10267 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10268
77c1b069
LM
102692010-06-15 Luis Machado <luisgpm@br.ibm.com>
10270
10271 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10273 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10275
440566c3
UD
102762010-07-09 Ulrich Drepper <drepper@redhat.com>
10277
10278 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10279 fcntl.
10280
5be9d05d
AS
102812010-07-06 Andreas Schwab <schwab@redhat.com>
10282
c30b7ee2 10283 [BZ #11577]
5be9d05d
AS
10284 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10285 dl_signal_cerror.
10286
8a492a67
UD
102872010-07-06 Ulrich Drepper <drepper@redhat.com>
10288
10289 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10290 _PC_PIPE_BUF using F_GETPIPE_SZ.
10291
713df3d5
RM
102922010-07-05 Roland McGrath <roland@redhat.com>
10293
10294 * manual/arith.texi (Rounding Functions): Fix rint description
10295 implicit in round description.
10296
702e8f14
UD
102972010-07-02 Ulrich Drepper <drepper@redhat.com>
10298
10299 * elf/Makefile: Fix linking for a few tests to make recent linker
10300 happy.
10301
52ed8be9
AS
103022010-06-30 Andreas Schwab <schwab@redhat.com>
10303
10304 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10305 $(common-objpfx)libc_nonshared.a.
10306
f47c9a11
LM
103072010-06-21 Luis Machado <luisgpm@br.ibm.com>
10308
10309 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10310 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10311 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10312 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10313 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10314 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10315 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10316 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10331 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10332 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10333 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10334 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10335 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10336 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10337 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10338 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10339 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10340 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10341 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10342 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10357
6fb8cbcb
L
103582010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10359
10360 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10361 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10362 * string/memmove.c (memmove): Renamed to ...
10363 (MEMMOVE): ...this. Default to memmove.
10364 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10365 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10366 (END_CHK): Define.
10367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10368 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10369 mempcpy-ssse3-back memmove-ssse3-back.
10370 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10371 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10372 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10373 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10374 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10375 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10376 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10377 * sysdeps/x86_64/multiarch/memmove.c: New file.
10378 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10379 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10380 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10381 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10382 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10383 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10384 Define.
10385 (index_Fast_Copy_Backward): Define.
10386 (HAS_ARCH_FEATURE): Define.
10387 (HAS_FAST_REP_STRING): Define.
10388 (HAS_FAST_COPY_BACKWARD): Define.
10389
4e733bac 103902010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10391
10392 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10393 Restore proper fallback handling.
10394
63c4ed22
UD
103952010-06-19 Ulrich Drepper <drepper@redhat.com>
10396
ac2b484c
UD
10397 [BZ #11701]
10398 * posix/group_member.c (__group_member): Correct checking loop.
10399
63c4ed22
UD
10400 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10401 OOM in getpwuid_r correctly. Return error number when the caller
10402 should return, otherwise -1.
10403 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10404 call returning > 0 value.
10405 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10406
765ade4b
AS
104072010-06-07 Andreas Schwab <schwab@redhat.com>
10408
10409 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10410 libc_nonshared.a from targets in modules-names.
10411
80da2e09
KS
104122010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10413
10414 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10415 requires it.
10416
158db122
LM
104172010-06-10 Luis Machado <luisgpm@br.ibm.com>
10418
10419 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10420 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10421 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10422 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10423
caa78cf8
AS
104242010-06-02 Andreas Schwab <schwab@redhat.com>
10425
10426 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10427
b2ef2c01
UD
104282010-06-14 Ulrich Drepper <drepper@redhat.com>
10429
10430 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10431 and F_GETPIPE_SZ.
10432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10437 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10438
fbd643b6
RM
104392010-06-14 Roland McGrath <roland@redhat.com>
10440
10441 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10442
f32f2869
JJ
104432010-06-07 Jakub Jelinek <jakub@redhat.com>
10444
10445 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10446 __REDIRECT followed by __THROW.
10447 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10448 * posix/getopt.h (getopt): Likewise.
10449
2a50c078
EPM
104502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10451
10452 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10453 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10454 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10455 in AT_FLAGS.
10456 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10457 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10458
eb5ad2eb
LM
104592010-05-28 Luis Machado <luisgpm@br.ibm.com>
10460
10461 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10462
3c88fe1e
L
104632010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10464
10465 [BZ #11640]
10466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10467 Properly check family and model.
10468
d2f73151
TY
104692010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10470
10471 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10472
ebd2e13d
LM
104732010-05-24 Luis Machado <luisgpm@br.ibm.com>
10474
10475 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10476
b32b8b45
UD
104772010-05-21 Ulrich Drepper <drepper@redhat.com>
10478
10479 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10480 symbol reference.
10481
9acbe24d
AS
104822010-05-19 Andreas Schwab <schwab@redhat.com>
10483
10484 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10485 symbol reference.
10486
f0ccf6ea
AS
104872010-05-21 Andreas Schwab <schwab@redhat.com>
10488
3d04ff3a
AS
10489 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10490 and internal_recvmmsg.
10491 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10492 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10494 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10495
f0ccf6ea
AS
10496 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10497 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10498 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10499
5b08ac57
AS
105002010-05-20 Andreas Schwab <schwab@redhat.com>
10501
10502 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10503
4828935d
LM
105042010-05-17 Luis Machado <luisgpm@br.ibm.com>
10505
10506 POWER7 optimizations.
10507 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10508 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10509
373d545e
UD
105102010-05-19 Ulrich Drepper <drepper@redhat.com>
10511
10512 * version.h: Update for 2.13 development version.
10513
21a2b1ae
AS
105142010-05-12 Andrew Stubbs <ams@codesourcery.com>
10515
10516 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10517 exceptions. Return 0.
10518
3f7dcb2b
RM
105192010-05-07 Roland McGrath <roland@redhat.com>
10520
10521 * elf/ldconfig.c (main): Add a const.
10522
5f24d53a 105232010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10524
a160f8d8
UD
10525 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10526 (args_options): Add no-idn option.
10527 (ahosts_keys_int): Add idn_flags to ai_flags.
10528 (parse_option): Handle 'i' option to clear idn_flags.
10529
5f24d53a
UD
10530 * malloc/malloc.c (_int_free): Possible race in the most recently
10531 added check. Only act on the data if no current modification
10532 happened.
265bb1ce
UD
10533
10534See ChangeLog.17 for earlier changes.