]> sourceware.org Git - glibc.git/blame - ChangeLog
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
[glibc.git] / ChangeLog
CommitLineData
8542dee3
L
12012-03-0 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4 Replace gettimeofday with __vdso_gettimeofday.
5
6 * sysdeps/unix/sysv/linux/x86_64/init-first.c (_libc_vdso_platform_setup):
7 Replace clock_gettime and getcpu with __vdso_clock_gettime and
8 __vdso_getcpu.
9
10 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11 time with __vdso_time.
12
ed58a00f
JM
132012-03-05 Joseph Myers <joseph@codesourcery.com>
14
15 * manual/lang.texi (size_t): Note types to which size_t may be
16 equivalent with the GNU C Library, but do not describe when
17 differences between them are significant.
18
30ee4ced
AJ
192012-03-05 Andreas Jaeger <aj@suse.de>
20
21 * sysdeps/i386/fpu/libm-test-ulps: Update.
22
b7cd39e8
JM
232012-03-05 Joseph Myers <joseph@codesourcery.com>
24
25 [BZ #3976]
26 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27 (__ieee754_pow): Save and restore rounding mode and use
28 round-to-nearest for main computations.
29 * math/libm-test.inc (pow_test_tonearest): New function.
30 (pow_test_towardzero): Likewise.
31 (pow_test_downward): Likewise.
32 (pow_test_upward): Likewise.
33 (main): Call the new functions.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36
37 [BZ #3976]
38 * math/libm-test.inc (cosh_test_tonearest): New function.
39 (cosh_test_towardzero): Likewise.
40 (cosh_test_downward): Likewise.
41 (cosh_test_upward): Likewise.
42 (sinh_test_tonearest): Likewise.
43 (sinh_test_towardzero): Likewise.
44 (sinh_test_downward): Likewise.
45 (sinh_test_upward): Likewise.
46 (main): Call the new functions.
47 * sysdeps/i386/fpu/libm-test-ulps: Update.
48 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49
6c6a98c9
TV
502012-03-05 Tom de Vries <tom@codesourcery.com>
51
52 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53 default stack guard is set in last bytes.
54 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55
21bb2d2e 562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 57
21bb2d2e 58 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 59
21bb2d2e
AJ
60 [BZ #13656]
61 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62 possibly allocate from heap instead of stack.
63 * stdio-common/bug-vfprintf-nargs.c: New file.
64 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 65
c6922934
AS
662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
67
68 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69
bc957d53
MP
702012-03-03 Marek Polacek <polacek@redhat.com>
71
72 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73 * math/math_private.h: Likewise.
74 * stdlib/tst-strtod.c: Likewise.
75 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76 * sysdeps/x86_64/bits/atomic.h: Likewise.
77
6358490d
DM
782012-03-02 David S. Miller <davem@davemloft.net>
79
80 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
82 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
83 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
86 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
88
01ae168d
RM
892012-03-02 Roland McGrath <roland@hack.frob.com>
90
d9a17c07
RM
91 [BZ #13792]
92 * manual/examples/README: New file, says the example source files
93 can be used under GPL>=2.
94 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
95 line containing just "*/".
96 * manual/examples/add.c: Add copyright header (GPL>=2).
97 * manual/examples/argp-ex1.c: Likewise.
98 * manual/examples/argp-ex2.c: Likewise.
99 * manual/examples/argp-ex3.c: Likewise.
100 * manual/examples/argp-ex4.c: Likewise.
101 * manual/examples/atexit.c: Likewise.
102 * manual/examples/db.c: Likewise.
103 * manual/examples/dir.c: Likewise.
104 * manual/examples/dir2.c: Likewise.
105 * manual/examples/execinfo.c: Likewise.
106 * manual/examples/filecli.c: Likewise.
107 * manual/examples/filesrv.c: Likewise.
108 * manual/examples/fmtmsgexpl.c: Likewise.
109 * manual/examples/genpass.c: Likewise.
110 * manual/examples/inetcli.c: Likewise.
111 * manual/examples/inetsrv.c: Likewise.
112 * manual/examples/isockad.c: Likewise.
113 * manual/examples/longopt.c: Likewise.
114 * manual/examples/memopen.c: Likewise.
115 * manual/examples/memstrm.c: Likewise.
116 * manual/examples/mkfsock.c: Likewise.
117 * manual/examples/mkisock.c: Likewise.
118 * manual/examples/mygetpass.c: Likewise.
119 * manual/examples/pipe.c: Likewise.
120 * manual/examples/popen.c: Likewise.
121 * manual/examples/rprintf.c: Likewise.
122 * manual/examples/search.c: Likewise.
123 * manual/examples/select.c: Likewise.
124 * manual/examples/setjmp.c: Likewise.
125 * manual/examples/sigh1.c: Likewise.
126 * manual/examples/sigusr.c: Likewise.
127 * manual/examples/stpcpy.c: Likewise.
128 * manual/examples/strdupa.c: Likewise.
129 * manual/examples/strftim.c: Likewise.
130 * manual/examples/strncat.c: Likewise.
131 * manual/examples/subopt.c: Likewise.
132 * manual/examples/swapcontext.c: Likewise.
133 * manual/examples/termios.c: Likewise.
134 * manual/examples/testopt.c: Likewise.
135 * manual/examples/testpass.c: Likewise.
136 * manual/examples/timeval_subtract.c: Likewise.
137
01ae168d
RM
138 [BZ #13792]
139 * manual/time.texi (Elapsed Time): Move timeval_subtract example
140 function to ...
141 * manual/timeval_subtract.c.texi: ... here, new file.
142
49efa33d
DM
1432012-03-02 David S. Miller <davem@davemloft.net>
144
145 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
146
28afd92d
JM
1472012-03-02 Joseph Myers <joseph@codesourcery.com>
148
804360ed
JM
149 [BZ #3976]
150 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
151 (__sin): Save and restore rounding mode and use round-to-nearest
152 for all computations.
153 (__cos): Save and restore rounding mode and use round-to-nearest
154 for all computations.
155 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
156 <fenv.h>.
157 (tan): Save and restore rounding mode and use round-to-nearest for
158 all computations.
159 * math/libm-test.inc (cos_test_tonearest): New function.
160 (cos_test_towardzero): Likewise.
161 (cos_test_downward): Likewise.
162 (cos_test_upward): Likewise.
163 (sin_test_tonearest): Likewise.
164 (sin_test_towardzero): Likewise.
165 (sin_test_downward): Likewise.
166 (sin_test_upward): Likewise.
167 (tan_test_tonearest): Likewise.
168 (tan_test_towardzero): Likewise.
169 (tan_test_downward): Likewise.
170 (tan_test_upward): Likewise.
171 (main): Call the new functions.
172 * sysdeps/i386/fpu/libm-test-ulps: Update.
173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
174
a6d06d7b
JM
175 [BZ #10135]
176 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
177 small n, then large n, before computing and testing k+n.
178 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
180 Likewise.
181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
182 Likewise.
183 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
184 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
185 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
186 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
187 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
188 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
189 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
190 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
191 * math/libm-test.inc (scalbn_test): Add more tests.
192 (scalbln_test): Likewise.
193
07e12bb3
JM
194 * manual/filesys.texi (mode_t): Describe constraints on size and
195 signedness, not exact equivalence to a particular type.
196 (ino_t): Likewise.
197 (ino64_t): Likewise.
198 (dev_t): Likewise.
199 (nlink_t): Likewise.
200 (blkcnt_t): Likewise.
201 (blkcnt64_t): Likewise.
202 * manual/llio.texi (off_t): Likewise.
203
28afd92d
JM
204 [BZ #3976]
205 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
206 (__ieee754_exp): Save and restore rounding mode and use
207 round-to-nearest for all computations.
208 * math/libm-test.inc (exp_test_tonearest): New function.
209 (exp_test_towardzero): Likewise.
210 (exp_test_downward): Likewise.
211 (exp_test_upward): Likewise.
212 (main): Call the new functions.
213 * sysdeps/i386/fpu/libm-test-ulps: Update.
214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
215
b1eeb65d
CD
2162012-03-01 Chris Demetriou <cgd@google.com>
217
218 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
219 have predictable order.
220
53362a4b
DM
2212012-03-01 David S. Miller <davem@davemloft.net>
222
3c969083
DM
223 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
224
759707de
DM
225 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
226 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
227 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
228 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
229
dfdb8ff2
DM
230 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
231 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
232 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
234 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
235 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
236 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
237 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
238 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
239
ead89f96
DM
240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
241
7f66bd07
DM
242 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
243 * sysdeps/sparc/fpu/libm-test-ulps: to here.
244 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
245
53362a4b
DM
246 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
247 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
248 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
249 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
250 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
251 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
252 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
253 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
254 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
255 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
256 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
259 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
260 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
262 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
263 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
264 * sysdeps/sparc/elf/configure: Regenerated.
265
7b1902cb
JM
2662012-03-01 Joseph Myers <joseph@codesourcery.com>
267
bec039bc
JM
268 * configure.in (AS, LD): Require binutils 2.20 or later.
269 * configure: Regenerated.
270 * manual/install.texi (Tools for Compilation): Give binutils 2.20
271 as required minimum version.
272 * INSTALL: Regenerated.
273
7b1902cb
JM
274 [BZ #2541]
275 [BZ #4108]
276 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
277 before squaring exponent.
278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
279 bottom long double and 27 bits of top long double before squaring
280 exponent.
281 * math/libm-test.inc (erfc_test): Add more tests.
282 * sysdeps/i386/fpu/libm-test-ulps: Update.
283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
285
f775c276
KT
2862012-03-01 Kai Tietz <ktietz@redhat.com>
287
288 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
289 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
290 containing bit-fields.
291 * soft-fp/extended.h (_FP_UNION_E): Likewise.
292 * soft-fp/single.h (_FP_UNION_S): Likewise.
293 * soft-fp/double.h (_FP_UNION_D): Likewise.
294
5b8a4d4a
JM
2952012-02-29 Joseph Myers <joseph@codesourcery.com>
296
0bab47b6
JM
297 [BZ #13786]
298 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
299 not include ../strcmp.S.
300 [USE_AS_STRNCASECMP_L]: Likewise.
301 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
302 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
303 * sysdeps/i386/i686/multiarch/strncase_l-c.c
304 (__strncasecmp_l_ia32): Define as alias to
305 __strncasecmp_l_nonascii.
306
0fcad3e2
JM
307 [BZ #5794]
308 * math/libm-test.inc (expm1_test): Add test for bug 5794.
309 * sysdeps/i386/fpu/libm-test-ulps: Update.
310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
311
5b8a4d4a
JM
312 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
314
8fdceb2e
JL
3152012-02-29 Jeff Law <law@redhat.com>
316
317 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
318 out of bounds read.
319
1f393a11
MP
3202012-02-29 Marek Polacek <polacek@redhat.com>
321
322 [BZ #13706]
323 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
324 * elf/Makefile: Add rules to run tst-unused-dep.out.
325
8847f037
DM
3262012-02-28 David S. Miller <davem@davemloft.net>
327
328 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
329 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
332 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
333 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
334
169d7f11
JM
3352012-02-29 Joseph Myers <joseph@codesourcery.com>
336
337 * math/libm-test.inc (llround_test): Move one test from
338 lround_test. Use TEST_f_L in moved test.
339 (lround_test): Move misplaced test to llround_test. Add testcase
340 from bug 2561.
341
39adf059
UD
3422012-02-28 Ulrich Drepper <drepper@gmail.com>
343
344 * sysdeps/x86_64/fpu/e_expf.S: New file.
345 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
346
71b5d1c5
SB
3472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
348
349 [BZ #13637]
350 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
351 of remain_len that may cause incomplete multi-byte character and
352 false match.
353 * posix/bug-regex33.c: New file.
354 * posix/Makefile (tests): Add bug-regex33.
355
1f77f049
JM
3562012-02-28 Joseph Myers <joseph@codesourcery.com>
357
358 * manual/macros.texi: New file.
359 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
360 * manual/libc.texinfo: Include macros.texi.
361 * manual/creatute.texi: Likewise.
362 * manual/install.texi: Likewise.
363 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
364 @glibcadj{} in references to the GNU C Library.
365 * manual/charset.texi: Likewise.
366 * manual/conf.texi: Likewise.
367 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
368 when not using those macros.
369 * manual/creature.texi: Likewise.
370 * manual/crypt.texi: Likewise.
371 * manual/errno.texi: Likewise.
372 * manual/filesys.texi: Likewise.
373 * manual/header.texi: Likewise.
374 * manual/install.texi: Likewise.
375 * manual/intro.texi: Likewise.
376 * manual/io.texi: Likewise.
377 * manual/job.texi: Likewise.
378 * manual/lang.texi: Likewise.
379 * manual/libc.texiinfo: Likewise.
380 * manual/llio.texi: Likewise.
381 * manual/locale.texi: Likewise.
382 * manual/maint.texi: Likewise.
383 * manual/math.texi: Likewise.
384 * manual/memory.texi: Likewise.
385 * manual/message.texi: Likewise.
386 * manual/nss.texi: Likewise.
387 * manual/pattern.texi: Likewise.
388 * manual/process.texi: Likewise.
389 * manual/resource.texi: Likewise.
390 * manual/search.texi: Likewise.
391 * manual/setjmp.texi: Likewise.
392 * manual/signal.texi: Likewise.
393 * manual/socket.texi: Likewise.
394 * manual/startup.texi: Likewise.
395 * manual/stdio.texi: Likewise.
396 * manual/string.texi: Likewise.
397 * manual/sysinfo.texi: Likewise.
398 * manual/syslog.texi: Likewise.
399 * manual/terminal.texi: Likewise.
400 * manual/time.texi: Likewise.
401 * manual/users.texi: Likewise.
402 * INSTALL: Regenerated.
403 * NOTES: Regenerated.
d40c5d54 404 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 405
450bf206
AS
4062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
407
408 * include/dirent.h: Include <dirstream.h> before
409 <dirent/dirent.h>.
410
741a235b
DM
4112012-02-28 David S. Miller <davem@davemloft.net>
412
413 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
414 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
415 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
416 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
417
d6b5aa58
DM
4182012-02-27 David S. Miller <davem@davemloft.net>
419
1aff59a3
DM
420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
422 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
423 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
424
d6b5aa58
DM
425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
426 frame pointer instead of stack pointer relative arg slot.
427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
428 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
429 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
430
433f48bf
CD
4312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
432
433 [BZ #3992]
434 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
435
d674b76d
DM
4362012-02-27 David S. Miller <davem@davemloft.net>
437
438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
442 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
443 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
444 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
445 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
446
0e7727f7
JM
4472012-02-27 Joseph Myers <joseph@codesourcery.com>
448
449 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
450 later. Allow versions 5-9.
43be4ca2 451 * configure: Regenerated.
0e7727f7
JM
452 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
453 required minimum version and 4.6 as recommended version. Do not
454 mention bugs in GCC 2.7 and 2.8.
43be4ca2 455 * INSTALL: Regenerated.
0e7727f7 456
a78bc654
DM
4572012-02-27 David S. Miller <davem@davemloft.net>
458
428d5830
DM
459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
463 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
464 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
465 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
466 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
467
a78bc654
DM
468 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
469 manipulate bits before adding and subtracting TWO112[sx].
470 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
471
4579f81c
RM
4722012-02-27 Roland McGrath <roland@hack.frob.com>
473
36c8acb4
RM
474 [BZ #13775]
475 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
476 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
477 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
478 being in POSIX, because they are in 1003.1-2008.
479
84ad622b
RM
480 * rt/tst-aio.c: Include <fcntl.h>.
481 * rt/tst-aio7.c: Likewise.
482 * rt/tst-aio64.c: Likewise.
483
4579f81c
RM
484 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
485
abd923db
JM
4862012-02-27 Joseph Myers <joseph@codesourcery.com>
487
488 * manual/install.texi (--with-headers): Describe headers as
489 interface headers, not private headers.
490 (Specific advice for GNU/Linux systems): Describe use of headers
491 from "make headers_install", not private headers from older
492 kernels.
43be4ca2 493 * INSTALL: Regenerated.
abd923db
JM
494 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
495 Change to 2.6.19.
496 * sysdeps/unix/sysv/linux/configure: Regenerated.
497
6664049b
JM
498 * manual/llio.texi (fclean): Remove documentation.
499
bb8b6697
JM
500 * manual/Makefile (libc-texi-generated): New variable. Include
501 version.texi.
502 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
503 $(libc-texi-generated), not duplicated list of files.
504 (version.texi, stamp-version): New rules.
505 (realclean): Remove $(libc-texi-generated), not individual files
506 from that list. Do not remove dir-add.texinfo.
507 * manual/libc.texinfo: Comment out uses of edition numbers and
508 references to printed manual. Remove last-updated dates.
509 (EDITION): Comment out.
510 (ISBN): Likewise.
511 (VERSION, UPDATED): Remove.
512 (version.texi): Include.
513
12e5c3b9
AS
5142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
515
516 * sysdeps/posix/spawni.c: Include <signal.h>.
517 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
518 * sysdeps/pthread/aio_fsync.c: Likewise.
519
4efeffc1 5202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 521
ba63ba08
UD
522 * conform/Makefile (tests): Run only when not cross-compiling and
523 when fast-check is not defined.
524
d94a4670
UD
525 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
526 * conform/data/limits.h-data: Fixes for POSIX2008.
527 * conform/run-conformtest.sh: Run all tests.
528 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
529 headers.
530 * include/bits/dlfcn.h: Likewise.
531 * include/langinfo.h: Likewise.
532 * include/monetary.h: Likewise.
533 * include/sys/poll.h: Likewise.
534
535 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
536 for __USE_GNU.
537 * posix/spawn.h: Define __need_sigset_t.
538 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
539 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
540 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
541 to get sigevent_t only.
542 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
543 only for __USE_GNU.
544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
545 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
546 process_vm_writev only for __USE_GNU.
547 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
548
549 * conform/Makefile: For now ignore errors from run-conformtest.
550 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
551 POSIX to avoid namespace pollution. Don't prepend headers.
552 * conform/data/aio.h-data: Fixes for POSIX testing.
553 * conform/data/fcntl.h-data: Likewise.
554 * conform/data/glob.h-data: Likewise.
555 * conform/data/grp.h-data: Likewise.
556 * conform/data/pthread.h-data: Likewise.
557 * conform/data/pwd.h-data: Likewise.
558 * conform/data/signal.h-data: Likewise.
559 * conform/data/spawn.h-data: Likewise.
560 * conform/data/stdio.h-data: Likewise.
561 * conform/data/stdlib.h-data: Likewise.
562 * conform/data/stropts.h-data: Likewise.
563 * conform/data/sys/mman.h-data: Likewise.
564 * conform/data/sys/stat.h-data: Likewise.
565 * conform/data/sys/types.h-data: Likewise.
566 * conform/data/sys/wait.h-data: Likewise.
567 * conform/data/time.h-data: Likewise.
568 * conform/data/unistd.h-data: Likewise.
569 * conform/data/utime.h-data: Likewise.
570
571 * io/sys/stat.h: fchmod was always in POSIX.
572 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
573 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
574 * rt/aio.h: Define __need_timespec before including <time.h>.
575 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
576 struct. Add forward declaration of pthread_attr_t and use it in
577 sigevent.
578 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
580 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
581 always remove CLK_TCK definition.
582
c20105c3
AS
5832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
584
585 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
586
7a270350
UD
5872012-02-25 Ulrich Drepper <drepper@gmail.com>
588
31341567
UD
589 * conform/run-conformtest.sh: New file.
590 * conform/Makefile: Run run-conformtest for tests.
591 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
592 support.
593
594 * conform/data/uchar.h-data: New file.
595 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
596 * conform/data/arpa/inet.h-data: Likewise.
597 * conform/data/assert.h-data: Likewise.
598 * conform/data/complex.h-data: Likewise.
599 * conform/data/cpio.h-data: Likewise.
600 * conform/data/ctype.h-data: Likewise.
601 * conform/data/dirent.h-data: Likewise.
602 * conform/data/dlfcn.h-data: Likewise.
603 * conform/data/errno.h-data: Likewise.
604 * conform/data/fcntl.h-data: Likewise.
605 * conform/data/float.h-data: Likewise.
606 * conform/data/fmtmsg.h-data: Likewise.
607 * conform/data/fnmatch.h-data: Likewise.
608 * conform/data/ftw.h-data: Likewise.
609 * conform/data/glob.h-data: Likewise.
610 * conform/data/grp.h-data: Likewise.
611 * conform/data/iconv.h-data: Likewise.
612 * conform/data/inttypes.h-data: Likewise.
613 * conform/data/langinfo.h-data: Likewise.
614 * conform/data/libgen.h-data: Likewise.
615 * conform/data/limits.h-data: Likewise.
616 * conform/data/locale.h-data: Likewise.
617 * conform/data/math.h-data: Likewise.
618 * conform/data/monetary.h-data: Likewise.
619 * conform/data/mqueue.h-data: Likewise.
620 * conform/data/ndbm.h-data: Likewise.
621 * conform/data/net/if.h-data: Likewise.
622 * conform/data/netdb.h-data: Likewise.
623 * conform/data/netinet/in.h-data: Likewise.
624 * conform/data/nl_types.h-data: Likewise.
625 * conform/data/poll.h-data: Likewise.
626 * conform/data/pthread.h-data: Likewise.
627 * conform/data/pwd.h-data: Likewise.
628 * conform/data/regex.h-data: Likewise.
629 * conform/data/sched.h-data: Likewise.
630 * conform/data/search.h-data: Likewise.
631 * conform/data/semaphore.h-data: Likewise.
632 * conform/data/setjmp.h-data: Likewise.
633 * conform/data/signal.h-data: Likewise.
634 * conform/data/spawn.h-data: Likewise.
635 * conform/data/stdarg.h-data: Likewise.
636 * conform/data/stdio.h-data: Likewise.
637 * conform/data/stdlib.h-data: Likewise.
638 * conform/data/string.h-data: Likewise.
639 * conform/data/strings.h-data: Likewise.
640 * conform/data/stropts.h-data: Likewise.
641 * conform/data/sys/ipc.h-data: Likewise.
642 * conform/data/sys/mman.h-data: Likewise.
643 * conform/data/sys/msg.h-data: Likewise.
644 * conform/data/sys/resource.h-data: Likewise.
645 * conform/data/sys/select.h-data: Likewise.
646 * conform/data/sys/sem.h-data: Likewise.
647 * conform/data/sys/shm.h-data: Likewise.
648 * conform/data/sys/socket.h-data: Likewise.
649 * conform/data/sys/stat.h-data: Likewise.
650 * conform/data/sys/statvfs.h-data: Likewise.
651 * conform/data/sys/time.h-data: Likewise.
652 * conform/data/sys/timeb.h-data: Likewise.
653 * conform/data/sys/times.h-data: Likewise.
654 * conform/data/sys/types.h-data: Likewise.
655 * conform/data/sys/uio.h-data: Likewise.
656 * conform/data/sys/un.h-data: Likewise.
657 * conform/data/sys/utsname.h-data: Likewise.
658 * conform/data/sys/wait.h-data: Likewise.
659 * conform/data/syslog.h-data: Likewise.
660 * conform/data/tar.h-data: Likewise.
661 * conform/data/termios.h-data: Likewise.
662 * conform/data/utime.h-data: Likewise.
663 * conform/data/utmpx.h-data: Likewise.
664 * conform/data/varargs.h-data: Likewise.
665 * conform/data/wchar.h-data: Likewise.
666 * conform/data/wctype.h-data: Likewise.
667 * conform/data/wordexp.h-data: Likewise.
668
669 * include/stropts.h: New file.
670 * include/uchar.h: New file.
671 * include/aio.h: Changes to allow conformtest.pl to use the headers.
672 * include/assert.h: Likewise.
673 * include/ctype.h: Likewise.
674 * include/dirent.h: Likewise.
675 * include/dlfcn.h: Likewise.
676 * include/fcntl.h: Likewise.
677 * include/fnmatch.h: Likewise.
678 * include/glob.h: Likewise.
679 * include/grp.h: Likewise.
680 * include/libio.h: Likewise.
681 * include/locale.h: Likewise.
682 * include/math.h: Likewise.
683 * include/net/if.h: Likewise.
684 * include/netdb.h: Likewise.
685 * include/netinet/in.h: Likewise.
686 * include/pthread.h: Likewise.
687 * include/pwd.h: Likewise.
688 * include/regex.h: Likewise.
689 * include/sched.h: Likewise.
690 * include/search.h: Likewise.
691 * include/setjmp.h: Likewise.
692 * include/signal.h: Likewise.
693 * include/stdio.h: Likewise.
694 * include/stdlib.h: Likewise.
695 * include/string.h: Likewise.
696 * include/sys/cdefs.h: Likewise.
697 * include/sys/mman.h: Likewise.
698 * include/sys/msg.h: Likewise.
699 * include/sys/resource.h: Likewise.
700 * include/sys/select.h: Likewise.
701 * include/sys/socket.h: Likewise.
702 * include/sys/stat.h: Likewise.
703 * include/sys/statvfs.h: Likewise.
704 * include/sys/time.h: Likewise.
705 * include/sys/times.h: Likewise.
706 * include/sys/uio.h: Likewise.
707 * include/sys/utsname.h: Likewise.
708 * include/sys/wait.h: Likewise.
709 * include/termios.h: Likewise.
710 * include/time.h: Likewise.
711 * include/ulimit.h: Likewise.
712 * include/unistd.h: Likewise.
713 * include/utime.h: Likewise.
714 * include/wchar.h: Likewise.
715 * include/wctype.h: Likewise.
716 * include/wordexp.h: Likewise.
717
718 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
719
7a270350
UD
720 * time/time.h: TIME_UTC must be a macro.
721 Make timespec_get available for ISO C11 only as well.
722
7724defc
UD
7232012-02-24 Ulrich Drepper <drepper@gmail.com>
724
725 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
726 Reported by Peng Haitao <penght@cn.fujitsu.com>.
727
6b1d1d46
JM
7282012-02-24 Joseph Myers <joseph@codesourcery.com>
729
730 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 731
0f8bbd69
JM
7322012-02-24 Joseph Myers <joseph@codesourcery.com>
733
734 * manual/texinfo.tex: Update to version 2012-01-19.16.
735
66ab80bc
JM
7362012-02-24 Joseph Myers <joseph@codesourcery.com>
737
738 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
739
74981cc5
RM
7402012-02-24 Roland McGrath <roland@hack.frob.com>
741
ee968201
RM
742 [BZ #13738]
743 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
744 * manual/fdl-1.3.texi: New file.
745 * manual/fdl-1.1.texi: File removed.
746
74981cc5
RM
747 [BZ #13738]
748 * manual/libc.texinfo (FDL_VERSION): New @set.
749 Use it for mention of FDL in cover text.
750 (Documentation License): Use it in @include file name.
751
7bb764bc
JM
7522012-02-22 Joseph Myers <joseph@codesourcery.com>
753 Roland McGrath <roland@hack.frob.com>
754
755 [BZ #5461]
756 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
757 not LONG_LONG_MAX and LONG_LONG_MIN.
758 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
759 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
760 name.
761 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
762
6cbeae47
JM
7632012-02-22 Joseph Myers <joseph@codesourcery.com>
764
765 [BZ #2547]
766 [BZ #11365]
767 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
768 manipulate bits before adding and subtracting TWO23[sx].
769 * math/libm-test.inc (nearbyint_test): Add more tests.
770
fe45ce09
JM
7712012-02-22 Joseph Myers <joseph@codesourcery.com>
772
773 [BZ #2548]
774 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
775 bits before adding and subtracting TWO23[sx].
776 * math/libm-test.inc (rint_test): Add more tests.
777 (rint_test_tonearest): Likewise.
778 (rint_test_towardzero): Likewise.
779 (rint_test_downward): Likewise.
780 (rint_test_upward: Likewise.
781
ff3b3d82
JM
7822012-02-22 Joseph Myers <joseph@codesourcery.com>
783
784 [BZ #10110]
785 * include/stdc-predef.h: New file. Extracted from features.h.
786 * include/features.h: Include stdc-predef.h.
787 * Makefile (headers): Add stdc-predef.h.
788 * CONFORMANCE (Compiler limitations): Update.
789
ef0aab35
JM
7902012-02-22 Joseph Myers <joseph@codesourcery.com>
791
792 * manual/libc.texinfo (VERSION, UPDATED): Revert.
793
58639409
DM
7942012-02-21 David S. Miller <davem@davemloft.net>
795
796 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
797 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
798
c0e70b25
DM
7992012-02-20 David S. Miller <davem@davemloft.net>
800
801 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
802 using a normal save/restore sequence, rather than allocating a
803 dummy stack frame just to store a frame pointer and restore.
804 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
805
fb06851d
JM
8062012-02-21 Joseph Myers <joseph@codesourcery.com>
807
808 * manual/install.texi: Fix stray word in line-wrapped comment.
809
7a8b71c3
DM
8102012-02-20 David S. Miller <davem@davemloft.net>
811
d510c123
DM
812 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
813 both binutils and gcc support GOTDATA.
814
0722d7c2
DM
815 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
816 "rd %pc" in the PIC register setup sequences.
817
3d2b3019
DM
818 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
819 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
820 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
821 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
822 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
824 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
825 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
827 (SYSCALL_ERROR_HANDLER): Likewise.
828 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
829 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
831 (SYSCALL_ERROR_HANDLER): Likewise.
832
c80098a9
DM
833 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
834 (HAVE_GCC_GOTDATA): New.
835 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
836 relocation support in both binutils and gcc.
837 * sysdeps/sparc/elf/configure: Regenerate.
838
3a2545a0
DM
839 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
840 * sysdeps/sparc/sparc32/elf/configure: Delete.
841 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
842 * sysdeps/sparc/sparc64/elf/configure: Delete.
843 * sysdeps/sparc/elf/configure.in: New file.
844 * sysdeps/sparc/elf/configure: Generate.
845
7a8b71c3
DM
846 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
847 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
848 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
849 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
850 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
851
f1e86fca
JM
8522012-02-21 Joseph Myers <joseph@codesourcery.com>
853
854 * manual/install.texi: Do not mention specific glibc version
855 numbers.
856 * manual/libc.texinfo (VERSION, UPDATED): Update.
857 (@copying): Use @copyright{} and range of years.
858
0e7dfaef
JM
8592012-02-21 Joseph Myers <joseph@codesourcery.com>
860
861 [BZ #13695]
862 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
863 [crti.S not in sysdirs] (generated): Do not append.
864 [crti.S not in sysdirs] (omit-deps): Likewise.
865 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
866 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
867 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
868 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
869 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
870 Likewise.
871 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
872 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
873 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
874 * csu/defs.awk: Remove file.
875 * sysdeps/generic/initfini.c: Likewise.
876 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
877 variable.
878 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
879 Likewise.
880
599af3ca
JM
8812012-02-20 Joseph Myers <joseph@codesourcery.com>
882
883 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
884 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
885 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
887 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
888 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
889 <bits/epoll.h>.
890 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
891 (__EPOLL_PACKED): Define to empty if not defined by
892 <bits/epoll.h>.
893 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
895 bits/epoll.h.
896
0e499750
JM
8972012-02-20 Joseph Myers <joseph@codesourcery.com>
898
899 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
900 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
901 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
902 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
903 <bits/timerfd.h>.
904 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
906 bits/timerfd.h.
907
5ad91f6e
JM
9082012-02-20 Joseph Myers <joseph@codesourcery.com>
909
910 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
911 in C locale.
912 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
913 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
916
06b99b02
AJ
9172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
918
919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
921
7638c0fd
AS
9222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
923
924 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
925 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
926 defined.
927 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
928 Likewise.
929 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
930 entry for 2.16.
931
92221550
AJ
9322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
933
934 * math/w_acos.c: Use non-signaling floating-point comparisons.
935 * math/w_acosf.c: Likewise.
936 * math/w_acosh.c: Likewise.
937 * math/w_acoshf.c: Likewise.
938 * math/w_acoshl.c: Likewise.
939 * math/w_acosl.c: Likewise.
940 * math/w_asin.c: Likewise.
941 * math/w_asinf.c: Likewise.
942 * math/w_asinl.c: Likewise.
943 * math/w_atanh.c: Likewise.
944 * math/w_atanhf.c: Likewise.
945 * math/w_atanhl.c: Likewise.
946 * math/w_exp2.c: Likewise.
947 * math/w_exp2f.c: Likewise.
948 * math/w_exp2l.c: Likewise.
949 * math/w_j0.c: Likewise.
950 * math/w_j0f.c: Likewise.
951 * math/w_j0l.c: Likewise.
952 * math/w_j1.c: Likewise.
953 * math/w_j1f.c: Likewise.
954 * math/w_j1l.c: Likewise.
955 * math/w_jn.c: Likewise.
956 * math/w_jnf.c: Likewise.
957 * math/w_log.c: Likewise.
958 * math/w_log10.c: Likewise.
959 * math/w_log10f.c: Likewise.
960 * math/w_log10l.c: Likewise.
961 * math/w_log2.c: Likewise.
962 * math/w_log2f.c: Likewise.
963 * math/w_log2l.c: Likewise.
964 * math/w_logf.c: Likewise.
965 * math/w_logl.c: Likewise.
966 * math/w_sqrt.c: Likewise.
967 * math/w_sqrtf.c: Likewise.
968 * math/w_sqrtl.c: Likewise.
969 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
970 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
972 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
973 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
974
ebaf36eb
JM
9752012-02-19 Joseph Myers <joseph@codesourcery.com>
976
977 [BZ #9739]
978 * manual/string.texi (strnlen): Use correct parameter name in
979 equivalent expression.
980
71c254a6
JM
9812012-02-19 Joseph Myers <joseph@codesourcery.com>
982
983 [BZ #11174]
984 * manual/users.texi (seteuid): Consistently use neweuid for
985 argument name.
986
16d2c631
JM
9872012-02-19 Joseph Myers <joseph@codesourcery.com>
988
989 [BZ #13704]
990 * manual/nss.texi (Services in the NSS configuration): Correct
991 list of services in example configuration file.
992
cd837b09
NB
9932012-02-19 Nick Bowler <nbowler@draconx.ca>
994
995 [BZ #11322]
996 * manual/arith.texi: Remove statements about negative zero
997 behaving identically to zero.
998
02c4bbad
JM
9992012-02-18 Joseph Myers <joseph@codesourcery.com>
1000
1001 [BZ #5993]
1002 * manual/install.texi: Do not document upgrading from libc5.
1003
366842e7
JM
10042012-02-18 Joseph Myers <joseph@codesourcery.com>
1005
1006 [BZ #4596]
1007 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1008
dd54084d
DM
10092012-02-18 David S. Miller <davem@davemloft.net>
1010
1011 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1012 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1013 %o7 across the call.
1014 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1015 instead.
1016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1017 SETUP_PIC_REG_LEAF.
1018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1019 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1020 * sysdeps/sparc/crtn.S: Likewise.
1021
2bcc53a3
UD
10222012-02-17 Ulrich Drepper <drepper@gmail.com>
1023
1024 * aout/Makefile: Remove.
1025
09c093b5
RK
10262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1027
1028 [BZ #13058]
1029 * manual/examples/argp-ex1.c (main): Format definition in GNU
1030 style.
1031 * manual/examples/argp-ex2.c (main): Likewise.
1032 * manual/examples/argp-ex3.c (main): Likewise.
1033 * manual/examples/argp-ex4.c (main): Likewise.
1034 * manual/examples/longopt.c (main): Use new-style prototype
1035 definition.
1036 * manual/examples/strncat.c (main): Specify return type and use
1037 (void) for arguments.
1038 * manual/examples/subopt.c (main): Use char **argv argument.
1039
2ee633a2
JM
10402012-02-17 Joseph Myers <joseph@codesourcery.com>
1041
1042 [BZ #5077]
1043 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1044 rounding modes.
1045
0520adde
FB
10462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1047
1048 [BZ #6907]
1049 * manual/string.texi (strchr): Change when strchrnul is
1050 recommended.
1051
3f4081cd
DGM
10522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1053
1054 [BZ #174]
1055 * manual/locale.texi (setlocale): Document LOCPATH.
1056
d1b10e78
JM
10572012-02-17 Joseph Myers <joseph@codesourcery.com>
1058
1059 [BZ #10210]
1060 * manual/process.texi (execle): Move @dots{} before last argument.
1061
79c6869c
PB
10622012-02-17 Paul Bolle <pebolle@tiscali.nl>
1063
1064 [BZ #12047]
1065 * manual/charset.texi (Generic Charset Conversion): Fix typo
1066 (LC_TYPE -> LC_CTYPE).
1067
cc6e48bc
NB
10682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1069
1070 [BZ #5805]
1071 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1072 (scalbnf): Likewise.
1073 (scalbnl): Likewise.
1074 (scalbln): Likewise.
1075 (scalblnf): Likewise.
1076 (scalblnl): Likewise.
1077 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1078 (vwarnx): Likewise.
1079 (verr): Likewise.
1080 (verrx): Likewise.
1081 * manual/filesys.texi (telldir): Use braces around return type.
1082 * manual/llio.texi (mmap): Add space after comma.
1083 (mmap64): Likewise.
1084 * manual/math.texi (jn): Use @var{} on parameter names.
1085 (jnf): Likewise.
1086 (jnl): Likewise.
1087 (yn): Likewise.
1088 (ynf): Likewise.
1089 (ynl): Likewise.
1090 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1091 line.
1092 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1093 "...".
1094 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1095 (sched_get_priority_max): Likewise.
1096 * manual/signal.texi (sigvec): Add space after comma.
1097 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1098 names.
1099 (if_indextoname): Likewise.
1100 (if_freenameindex): Likewise.
1101 (sendto): Use ',' instead of '.' in prototype.
1102 * manual/startup.texi (syscall): Use @dots{} instead of literal
1103 "...".
1104 * manual/stdio.texi (__fpending): Separate initial words of
1105 paragraph from @deftypefun line.
1106 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1107 "...".
1108 (vsyslog): Use @var{} on parameter names.
1109 * manual/terminal.texi (stty): Use @var{} on parameter names.
1110 * manual/users.texi (getutmp): Use @var{} on parameter names.
1111 (getutmpx): Likewise.
1112
5b23062f
JM
11132012-02-17 Joseph Myers <joseph@codesourcery.com>
1114
1115 [BZ #6884]
1116 * manual/stdio.texi (fopen): Fix typos in description of
1117 ",ccs=STRING".
1118
8dee4833
AJ
11192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1120
1121 [BZ #4026]
1122 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1123 get clock_id definition.
1124
9078ce93
TS
11252012-02-17 Thomas Schwinge <thomas@schwinge.name>
1126
1127 [BZ #4822]
1128 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1129 (madvise): Cast every argument to void on its own.
1130
3835c55f
JM
11312012-02-17 Joseph Myers <joseph@codesourcery.com>
1132
1133 [BZ #9902]
1134 * manual/startup.texi (Exit Status): Fix typo.
1135
35c47e37
JM
11362012-02-17 Joseph Myers <joseph@codesourcery.com>
1137
1138 [BZ #10140]
1139 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1140 * manual/examples/argp-ex2.c: Likewise.
1141 * manual/examples/argp-ex3.c: Likewise.
1142
e3b69ca7
RH
11432012-02-16 Richard Henderson <rth@redhat.com>
1144
1145 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1146 * sysdeps/s390/s390-32/initfini.c: Remove.
1147 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1148 * sysdeps/s390/s390-64/initfini.c: Remove.
1149
df83af67
KK
11502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1151
1152 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1153 compiler output for sysdeps/generic/initfini.c.
1154 * sysdeps/sh/elf/initfini.c: Remove file.
1155
f63f3380
DM
11562012-02-16 David S. Miller <davem@davemloft.net>
1157
fb59b3a4
DM
1158 [BZ #11494]
1159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1160
f63f3380
DM
1161 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1162 * sysdeps/sparc/crti.S: New file.
1163 * sysdeps/sparc/crtn.S: New file.
1164 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1165 * sysdeps/sparc/sparc64/Makefile: Likewise.
1166
df6a4a4a
MF
11672012-02-15 Mike Frysinger <vapier@gentoo.org>
1168
6dd8f3dc 1169 [BZ #3335]
df6a4a4a
MF
1170 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1171
1cac7236
RM
11722012-02-15 Roland McGrath <roland@hack.frob.com>
1173
d2c736f8
RM
1174 [BZ #4822]
1175 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1176
1cac7236
RM
1177 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1178 (write, read, close): Likewise.
1179 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1180
8e475601
JM
11812012-02-15 Joseph Myers <joseph@codesourcery.com>
1182
1183 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1184 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1185 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1186 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1187 <bits/signalfd.h>.
1188 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1190 bits/signalfd.h.
1191
ed656b40
MP
11922012-02-14 Marek Polacek <polacek@redhat.com>
1193
1194 * sysdeps/x86_64/crti.S: New file.
1195 * sysdeps/x86_64/crtn.S: New file.
1196 * sysdeps/x86_64/elf/initfini.c: Remove file.
1197
2a979d3a
JM
11982012-02-13 Joseph Myers <joseph@codesourcery.com>
1199
1200 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1201 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1202 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1203 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1204 <bits/inotify.h>.
1205 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1207 bits/inotify.h.
1208
2a418ac3
JM
12092012-02-13 Joseph Myers <joseph@codesourcery.com>
1210
1211 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1212 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1213 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1214 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1215 <bits/eventfd.h>.
1216 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1218 bits/eventfd.h.
1219
fb779be7
TS
12202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1221
e19e83c5
RM
1222 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1223 __feraiseexcept instead of feraiseexcept.
7c35ffed 1224
fb779be7
TS
1225 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1226 nanosleep invocations.
1227 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1228 strings, and add error checking for a nanosleep invocations.
1229
59ba27a6
PE
12302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1231
1232 Replace FSF snail mail address with URLs, as per GNU coding standards.
1233 Most of the snail mail addresses were wrong anyway, and omitting
1234 them makes the source code easier to maintain. Almost all of the
1235 changes are to license notices and to locale LC_IDENTIFICATION
1236 addresses, except for this one:
1237 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1238 not its snail mail address.
1239
57b957eb
RH
12402012-02-09 Richard Henderson <rth@twiddle.net>
1241
af850b1c
RH
1242 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1243 of kernel-features.h.
1244
57b957eb
RH
1245 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1246
6b73181a
MP
12472012-02-08 Marek Polacek <polacek@redhat.com>
1248
1249 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1250 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1251 * sysdeps/gnu/_G_config.h: Likewise.
1252 * sysdeps/generic/_G_config.h: Likewise.
1253
26ecc33a
AS
12542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1255
6c6dbc63
AS
1256 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1257 tests.
1258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1259
e216c012
AS
1260 * sysdeps/powerpc/powerpc32/crti.S: New file.
1261 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1262 * sysdeps/powerpc/powerpc64/crti.S: New file.
1263 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1264
26ecc33a
AS
1265 * Makeconfig (have-initfini): Don't set.
1266 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1267 * configure.in (nopic_initfini): Don't substitute.
1268 * config.h.in (HAVE_INITFINI): Don't #undef.
1269 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1270 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1271
3add8e13
JM
12722012-02-08 Joseph Myers <joseph@codesourcery.com>
1273
1274 Support crti.S and crtn.S provided directly by architectures.
1275 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1276 [crti.S in sysdirs] (omit-deps): Likewise.
1277 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1278 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1279 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1280 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1281 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1282 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1283 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1284 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1285 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1286 compiler output for sysdeps/generic/initfini.c.
1287 * sysdeps/i386/elf/Makefile: Remove file.
1288 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1289
a22f12b4
MP
12902012-02-07 Marek Polacek <polacek@redhat.com>
1291
1292 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1293 * sysdeps/gnu/_G_config.h: Likewise.
1294 * sysdeps/mach/hurd/_G_config.h: Likewise.
1295
148cf100
MP
12962012-02-07 Marek Polacek <polacek@redhat.com>
1297
1298 * math/Makefile (tests): Add tst-CMPLX2.
1299 * math/tst-CMPLX2.c: New file.
1300
cfdc0dd7
AS
13012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1302
84ba42c4
AS
1303 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1304
cfdc0dd7
AS
1305 * math/libm-test.inc (jn_test): Add missing L suffix.
1306
622c86f4
MP
13072012-02-06 Marek Polacek <polacek@redhat.com>
1308
1309 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1310 * sysdeps/i386/fpu/e_powf.S: Likewise.
1311 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1312 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1313 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1314 * sysdeps/i386/fpu/e_pow.S: Likewise.
1315 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1317 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1318 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1319 * sysdeps/i386/fpu/e_log2.S: Likewise.
1320 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1321 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1322 * sysdeps/i386/fpu/e_powl.S: Likewise.
1323 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1324 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1325 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1326 * sysdeps/i386/fpu/e_logl.S: Likewise.
1327 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1328 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1329 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1330 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1332 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1333 * sysdeps/i386/fpu/e_log.S: Likewise.
1334 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1335 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1336 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1337 * sysdeps/i386/fpu/e_logf.S: Likewise.
1338 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1339 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1340 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1341 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1342 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1343 * sysdeps/i386/fpu/e_log10.S: Likewise.
1344 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1345 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1346 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1347 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1348 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1349 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1350 * sysdeps/i386/asm-syntax.h: Likewise.
1351 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1352 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1353 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1354 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1355 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1356 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1357 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1358 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1359 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1360 * sysdeps/powerpc/sysdep.h: Likewise.
1361 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1363
d4a54ac6
JM
13642012-02-06 Joseph Myers <joseph@codesourcery.com>
1365
1366 [BZ #411]
1367 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1368
314054ea
JM
13692012-02-06 Joseph Myers <joseph@codesourcery.com>
1370
1371 * sysdeps/i386/sysdep.h: Include <features.h>.
1372 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1373 version.
1374
d8e0ca50
JM
13752012-02-05 Joseph Myers <joseph@codesourcery.com>
1376
1377 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1378 Define.
1379 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1380 LOAD_PIC_REG_STR.
1381
b1da7dd9
JM
13822012-02-03 Joseph Myers <joseph@codesourcery.com>
1383
1384 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1385 (SETUP_PIC_REG): Use GET_PC_THUNK.
1386 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1387 macro.
1388
9a1d9254
JM
13892012-02-03 Joseph Myers <joseph@codesourcery.com>
1390
1391 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1392 for non-PIC compilation.
1393 (SETUP_PIC_REG): Add .p2align directive.
1394 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1395 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1396 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1397 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1398 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1399 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1400 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1402 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1403 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1404 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1405 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1406 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1407 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1408 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1409 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1410 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1411 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1412 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1413 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1414 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1416 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1417 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1418 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1420 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1421 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1422 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1423 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1424 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1425 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1426 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1427 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1428 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1429 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1430 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1431 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1432 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1433 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1434 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1435
65dc3b75
JM
14362012-02-03 Joseph Myers <joseph@codesourcery.com>
1437
1438 * math/tst-CMPLX.c: Include <stdio.h>.
1439
d55bf177
JM
14402012-01-31 Joseph Myers <joseph@codesourcery.com>
1441
1442 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1443 float.
1444 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1445 * sysdeps/sparc/bits/mathdef.h: Likewise.
1446
69db4f8f
MP
14472012-01-31 Marek Polacek <polacek@redhat.com>
1448
1449 * libio/libio.h: Don't define _PARAMS.
1450 * locale/programs/config.h: Don't define PARAMS.
1451 * stdlib/strtol_l.c: Likewise.
1452 (__strtol_l): Remove PARAMS from the prototype.
1453
41b81892
UD
14542012-01-31 Ulrich Drepper <drepper@gmail.com>
1455
3b49edc0
UD
1456 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1457 names. Just use the correct names. Remove unnecessary wrapper
1458 functions.
1459 * malloc/arena.c: Likewise.
1460 * malloc/hooks.c: Likewise.
1461
41b81892
UD
1462 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1463 ARENA_TEST says not to. Simplify test for creation of a new arena.
1464 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1465
27a25b6e
UD
14662012-01-30 Ulrich Drepper <drepper@gmail.com>
1467
1468 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1469 into tail calls.
1470 (update_get_addr): New function.
1471 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1472 GET_ADDR_MODULE parameter.
1473
c8a89e7d
JM
14742012-01-30 Joseph Myers <joseph@codesourcery.com>
1475
1476 * crypt/cert.c: Remove __STDC__ conditionals.
1477 * crypt/crypt-entry.c: Likewise.
1478 * crypt/crypt_util.c: Likewise.
1479 * libio/filedoalloc.c: Likewise.
1480 * libio/fileops.c: Likewise.
1481 * libio/genops.c: Likewise.
1482 * libio/iofclose.c: Likewise.
1483 * libio/iofdopen.c: Likewise.
1484 * libio/iofopen.c: Likewise.
1485 * libio/iofopen64.c: Likewise.
1486 * libio/iogetdelim.c: Likewise.
1487 * libio/iopopen.c: Likewise.
1488 * libio/obprintf.c: Likewise.
1489 * libio/oldfileops.c: Likewise.
1490 * libio/oldiofclose.c: Likewise.
1491 * libio/oldiofdopen.c: Likewise.
1492 * libio/oldiofopen.c: Likewise.
1493 * libio/oldiopopen.c: Likewise.
1494 * libio/wfiledoalloc.c: Likewise.
1495 * libio/wgenops.c: Likewise.
1496 * locale/programs/xmalloc.c: Likewise.
1497 * misc/syslog.c: Likewise.
1498 * stdio-common/xbug.c: Likewise.
1499 * string/memchr.c: Likewise.
1500 * string/memcmp.c: Likewise.
1501 * string/memrchr.c: Likewise.
1502 * string/rawmemchr.c: Likewise.
1503 * sysdeps/posix/getcwd.c: Likewise.
1504 * time/strftime_l.c: Likewise.
1505
3b100462
JM
15062012-01-30 Joseph Myers <joseph@codesourcery.com>
1507
1508 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1509 * config.make.in (config-cflags-sse2avx): Define.
1510 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1511 Fix typo.
1512
607998af
CM
15132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1514
1515 * scripts/config.guess: Update from upstream config git repository.
1516 * scripts/config.sub: Likewise.
1517
3601428f
CM
15182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1519
3ac8b282
CM
1520 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1521 (EM_NUM): Update.
1522 (R_TILEPRO_*, R_TILEGX_*): New macros.
1523
e034841e
CM
1524 * scripts/firstversions.awk: Fix bug in version range handling.
1525
540d7568
CM
1526 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1527
3601428f
CM
1528 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1529
463de862
CM
1530 * include/sys/epoll.h: New file.
1531 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1532 libc_hidden_def.
1533
73139a76
UD
15342012-01-28 Ulrich Drepper <drepper@gmail.com>
1535
96bc5b45
UD
1536 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1537 Avoid unnecessary __WORDSIZE == 64 test.
1538 (fmaxf): Use VEX format if possible.
1539 (fmax): Likewise.
1540 (fminf): Likewise.
1541 (fmin): Likewise.
1542
56f6f6a2
UD
1543 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1544 * math/math_private.h: Remove libc_fegetround* and
1545 libc_fesetround*.
1546 * sysdeps/i386/configure.in: Check for -msse2avx.
1547 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1548 also if SSE2AVX is defined.
1549 Remove libc_fegetround* and libc_fesetround*.
1550 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1551 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1552 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1553 of HAS_YMM_USABLE.
1554 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1555 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1557 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1559
73139a76
UD
1560 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1561
d73f93a4
AZ
15622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563
1564 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1565 size is not set.
1566 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1567
6ee65ed6
UD
15682012-01-27 Ulrich Drepper <drepper@gmail.com>
1569
1570 [BZ #13618]
1571 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1572 relocation.
1573 * Makeconfig (libm): Define.
1574 * elf/Makefile: Add rules to build and run tst-relsort1.
1575 * elf/tst-relsort1.c: New file.
1576 * elf/tst-relsort1mod1.c: New file.
1577 * elf/tst-relsort1mod2.c: New file.
1578
8db21882
JM
15792012-01-27 Joseph Myers <joseph@codesourcery.com>
1580
1581 * math/s_ldexp.c: Remove __STDC__ conditionals.
1582 * math/s_ldexpf.c: Likewise.
1583 * math/s_ldexpl.c: Likewise.
1584 * math/s_nextafter.c: Likewise.
1585 * math/s_nexttowardf.c: Likewise.
1586 * math/s_significand.c: Likewise.
1587 * math/s_significandf.c: Likewise.
1588 * math/s_significandl.c: Likewise.
1589 * math/w_jnl.c: Likewise.
1590 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1591 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1592 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1593 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1594 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1609 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1610 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1617 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1618 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1619 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1620 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1621 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1622 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1623 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1624 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1625 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1627 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1628 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1629 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1630 * sysdeps/ieee754/k_standard.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1692 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1697 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1706 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1710 * sysdeps/ieee754/s_matherr.c: Likewise.
1711 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1712 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1713 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1715
965a54a4
JM
17162012-01-26 Joseph Myers <joseph@codesourcery.com>
1717
1718 * crypt/md5.h: Remove __STDC__ conditionals.
1719 * libio/libioP.h: Likewise.
1720 * locale/programs/config.h: Likewise.
1721 * sysdeps/generic/sysdep.h: Likewise.
1722 * sysdeps/i386/asm-syntax.h: Likewise.
1723 * sysdeps/s390/asm-syntax.h: Likewise.
1724 * sysdeps/unix/sysdep.h: Likewise.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1727
7071ad79
JM
17282012-01-26 Joseph Myers <joseph@codesourcery.com>
1729
1730 * libio/libio.h: Remove __STDC__ conditionals.
1731 * malloc/obstack.h: Likewise.
1732 * math/complex.h: Likewise.
1733 * math/math.h: Likewise.
1734 * sysdeps/generic/_G_config.h: Likewise.
1735 * sysdeps/gnu/_G_config.h: Likewise.
1736 * sysdeps/mach/hurd/_G_config.h: Likewise.
1737 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1738 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1739 * sysdeps/sparc/bits/mathdef.h: Likewise.
1740
afc5ed09
UD
17412012-01-26 Ulrich Drepper <drepper@gmail.com>
1742
1743 [BZ #13583]
1744 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1745 Clean up HAS_* macros.
afc5ed09 1746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1747 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1748 possible.
1749 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1750 HAS_AVX.
1751 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1752 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1753 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1754 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1755 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1756
bdb6de1d
JM
17572012-01-25 Joseph Myers <joseph@codesourcery.com>
1758
1759 * elf/tst-unique3.cc (gets): Remove declaration.
1760 * elf/tst-unique3lib.cc (gets): Likewise.
1761 * elf/tst-unique3lib2.cc (gets): Likewise.
1762 * elf/tst-unique4.cc (gets): Likewise.
1763
b15549e6
UD
17642012-01-24 Ulrich Drepper <drepper@gmail.com>
1765
1766 * include/stdio.h: Add C++ protection. Add gets declarations and
1767 definitions.
1768 * debug/tst-chk1.c: Don't declare gets here.
1769 * stdio-common/tst-gets.c: Likewise.
1770
a037381f
JM
17712012-01-24 Joseph Myers <joseph@codesourcery.com>
1772
1773 * posix/glob: Remove directory.
1774
f1d4aa75
JM
17752012-01-24 Joseph Myers <joseph@codesourcery.com>
1776
1777 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1778
81c0c964
PT
17792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1780
1781 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1782 of the non-standard EPFNOSUPPORT.
1783
0ea698ae
ST
17842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1785
1786 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1787 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1788 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1789
d220b117
UD
17902012-01-21 Ulrich Drepper <drepper@gmail.com>
1791
1792 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1793
3e1aa84e
UD
17942012-01-20 Ulrich Drepper <drepper@gmail.com>
1795
1796 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1797 transient errors.
1798 * nscd/grpcache.c (cache_addgr): Likewise.
1799 * nscd/hstcache.c (cache_addhst): Likewise.
1800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1801 * nscd/pwdcache.c (cache_addpw): Likewise.
1802 * nscd/servicescache.c (cache_addserv): Likewise.
1803
400aa020
UD
18042012-01-16 Ulrich Drepper <drepper@gmail.com>
1805
d77e7869
UD
1806 * malloc/malloc.c: Various cleanups.
1807 * malloc/hooks.c: Likewise.
1808
400aa020
UD
1809 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1810 * stdlib/bug-fmtmsg1.c: New file.
1811
1812 * stdlib/fmtmsg.c (init): Add missing unlock.
1813 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1814
e0a309cf
MP
18152012-01-12 Marek Polacek <polacek@redhat.com>
1816
1817 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1818 and _GNU_SOURCE.
1819
929d11c7
WS
18202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1821
1822 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1823 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1824 macro to ensure uniqueness of label name.
1825 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1826 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1827
41d0e869
UD
18282012-01-11 Ulrich Drepper <drepper@gmail.com>
1829
0cc5ed3b
UD
1830 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1831
41d0e869
UD
1832 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1833 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1836
a47a831a
UD
18372012-01-10 Ulrich Drepper <drepper@gmail.com>
1838
daa891c0
UD
1839 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1840
1841 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1842 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1843 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1844
e58ef0f2
UD
1845 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1846
a47a831a 1847 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1848 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1849 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1851
1852 * math/bits/math-finite.h: Add ldexp support.
1853
a0bfc9c7
MP
18542012-01-10 Marek Polacek <polacek@redhat.com>
1855
1856 * locale/programs/localedef.h (show_archive_content): Add noreturn
1857 attribute.
1858
d6e97a1d
UD
18592012-01-09 Ulrich Drepper <drepper@gmail.com>
1860
1861 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1862
d5835c26
UD
18632012-01-08 Ulrich Drepper <drepper@gmail.com>
1864
e5f484c6
UD
1865 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1866
d5835c26
UD
1867 * io/Makefile (headers): Add bits/poll2.h.
1868
d1f741e9
WS
18692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1870
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1872 typo #include statement.
1873
ec09c1c4
UD
18742012-01-08 Ulrich Drepper <drepper@gmail.com>
1875
1876 * include/sys/cdefs.h: Define __attribute_alloc_size.
1877 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1878 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1879 * elf/pldd.c: Likewise.
1880 * iconv/iconv_charmap.c: Likewise.
1881 * iconv/iconvconfig.c: Likewise.
1882 * iconv/strtab.c: Likewise.
1883 * locale/programs/locale.c: Likewise.
1884 * locale/programs/localedef.h: Likewise.
1885 * locale/programs/simple-hash.c: Likewise.
1886 * nscd/nscd.h: Likewise.
1887 * nss/makedb.c: Likewise.
1888 * sysdeps/generic/ldconfig.h: Likewise.
1889 * locale/programs/localedef.c: Remove xmalloc prototype.
1890 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1891
20b38e03
PP
18922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1893
1894 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1895 appropriate.
1896
a0da5fe1
UD
18972012-01-08 Ulrich Drepper <drepper@gmail.com>
1898
1d5a644a 1899 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1900 * math/tst-CMPLX.c: New file.
1d5a644a 1901
8784a6db
UD
1902 * math/complex.h (CMPLXL): Fix typo.
1903
d9a216c0
UD
1904 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1905 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1906 GLIBC_2.16.
1907 * debug/tst-chk1.c: Add poll and ppoll tests.
1908 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1909 * include/sys/poll.h: Add hidden proto for ppoll.
1910 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1911 * sysdeps/mach/hurd/ppoll.c: Likewise.
1912 * io/ppoll.c: Likewise.
1913 * debug/poll_chk.c: New file.
1914 * debug/ppoll_chk.c: New file.
1915 * include/bits/poll2.h: New file.
1916 * io/bits/poll2.h: New file.
1917
ac097f5c
UD
1918 [BZ #1350]
1919 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1920
2119dcfa
UD
1921 * configure.in: static is always set to yes. Remove.
1922 * config.make.in: Don't set build-static.
1923 * Makeconfig: Remove use of build-static.
1924 * dlfcn/Makefile: Likewise.
1925 * elf/Makefile: Likewise.
1926 * math/Makefile: Likewise.
1927 * misc/Makefile: Likewise.
1928 * nptl/Makefile: Likewise.
1929 * sysdeps/mach/hurd/Makefile: Likewise.
1930
121766a9
UD
1931 * configure.in: PWD_P is not used anymore.
1932 * config.make.in: Remove PWD_P entry.
1933
51a1d39c 1934 * configure.in: Remove last remnants of RANLIB.
8720d066 1935 No need to check for signed size_t anymore.
215f4bdc
UD
1936 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1937 and IA-64.
3857022a 1938 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1939 * aclocal.m4: Likewise.
1940
d3ed7225
UD
1941 * wcsmbs/mbrtoc16.c: Implement using towc function.
1942 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1943 * wcsmbs/wcsmbsload.c: Likewise.
1944 * iconv/gconv_simple.c: Likewise.
1945 * iconv/gconv_int.h: Likewise.
1946 * iconv/gconv_builtin.h: Likewise.
1947 * iconv/iconv_prog.c: Remove CHAR16 handling.
1948
1949 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1950
1951 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1952
a0da5fe1
UD
1953 * configure.in: Remove --with-elf and --enable-bounded options.
1954 Dont set base_machine for ia64. More non-ELF conditions removed.
1955 Remove testing and setting of leading underscore information.
1956 * config.make.in (build-bounded): Set to no.
1957 * config.h.in: Remove NO_UNDERSCORES entry.
1958 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1959 them.
1960 * csu/start.c: Remove !NO_UNDERSCORE code.
1961 * locale/localeinfo.h: Likewise.
1962 * sysdeps/generic/machine-gmon.h: Likewise.
1963 * sysdeps/generic/sysdep.h: Likewise.
1964 * sysdeps/i386/sysdep.h: Likewise.
1965 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1966 * sysdeps/mach/sysdep.h: Likewise.
1967 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1969 * sysdeps/sh/sysdep.h: Likewise.
1970 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1971 * sysdeps/unix/i386/sysdep.S: Likewise.
1972 * sysdeps/unix/sparc/start.c: Likewise.
1973 * sysdeps/unix/sparc/sysdep.S: Likewise.
1974 * sysdeps/unix/sparc/sysdep.h: Likewise.
1975 * sysdeps/unix/start.c: Likewise.
1976 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1977 * sysdeps/x86_64/sysdep.h: Likewise.
1978
df78418a
UD
19792012-01-07 Ulrich Drepper <drepper@gmail.com>
1980
a784e502
UD
1981 [BZ #13553]
1982 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1983 for non-gcc.
1984 * argp/argp-fmtstream.h: Use const instead __const.
1985 * argp/argp.h: Likewise.
1986 * assert/assert.h: Likewise.
1987 * bits/fenv.h: Likewise.
1988 * bits/sched.h: Likewise.
1989 * bits/sigset.h: Likewise.
1990 * bits/sigthread.h: Likewise.
1991 * catgets/nl_types.h: Likewise.
1992 * conform/data/pthread.h-data: Likewise.
1993 * crypt/crypt-private.h: Likewise.
1994 * crypt/crypt.h: Likewise.
1995 * crypt/crypt_util.c: Likewise.
1996 * ctype/ctype.h: Likewise.
1997 * debug/execinfo.h: Likewise.
1998 * debug/mbsnrtowcs_chk.c: Likewise.
1999 * debug/mbsrtowcs_chk.c: Likewise.
2000 * debug/wcsnrtombs_chk.c: Likewise.
2001 * debug/wcsrtombs_chk.c: Likewise.
2002 * debug/wcstombs_chk.c: Likewise.
2003 * dirent/dirent.h: Likewise.
2004 * dlfcn/dlfcn.h: Likewise.
2005 * elf/neededtest4.c: Likewise.
2006 * grp/grp.h: Likewise.
2007 * gshadow/gshadow.h: Likewise.
2008 * iconv/gconv.h: Likewise.
2009 * iconv/gconv_int.h: Likewise.
2010 * iconv/gconv_simple.c: Likewise.
2011 * iconv/iconv.h: Likewise.
2012 * iconv/loop.c: Likewise.
2013 * iconv/skeleton.c: Likewise.
2014 * include/aio.h: Likewise.
2015 * include/aliases.h: Likewise.
2016 * include/argz.h: Likewise.
2017 * include/arpa/inet.h: Likewise.
2018 * include/assert.h: Likewise.
2019 * include/dirent.h: Likewise.
2020 * include/dlfcn.h: Likewise.
2021 * include/execinfo.h: Likewise.
2022 * include/fcntl.h: Likewise.
2023 * include/fenv.h: Likewise.
2024 * include/glob.h: Likewise.
2025 * include/grp.h: Likewise.
2026 * include/libintl.h: Likewise.
2027 * include/mntent.h: Likewise.
2028 * include/netdb.h: Likewise.
2029 * include/pwd.h: Likewise.
2030 * include/rpc/netdb.h: Likewise.
2031 * include/sched.h: Likewise.
2032 * include/search.h: Likewise.
2033 * include/shadow.h: Likewise.
2034 * include/signal.h: Likewise.
2035 * include/stdio.h: Likewise.
2036 * include/stdlib.h: Likewise.
2037 * include/string.h: Likewise.
2038 * include/sys/socket.h: Likewise.
2039 * include/sys/stat.h: Likewise.
2040 * include/sys/statfs.h: Likewise.
2041 * include/sys/statvfs.h: Likewise.
2042 * include/sys/syslog.h: Likewise.
2043 * include/sys/time.h: Likewise.
2044 * include/sys/uio.h: Likewise.
2045 * include/time.h: Likewise.
2046 * include/unistd.h: Likewise.
2047 * include/utmp.h: Likewise.
2048 * include/wchar.h: Likewise.
2049 * include/wctype.h: Likewise.
2050 * inet/aliases.h: Likewise.
2051 * inet/arpa/inet.h: Likewise.
2052 * inet/netinet/ether.h: Likewise.
2053 * inet/netinet/in.h: Likewise.
2054 * intl/libintl.h: Likewise.
2055 * io/bits/fcntl2.h: Likewise.
2056 * io/fcntl.h: Likewise.
2057 * io/ftw.h: Likewise.
2058 * io/sys/poll.h: Likewise.
2059 * io/sys/stat.h: Likewise.
2060 * io/sys/statfs.h: Likewise.
2061 * io/sys/statvfs.h: Likewise.
2062 * io/utime.h: Likewise.
2063 * libio/bits/stdio.h: Likewise.
2064 * libio/bits/stdio2.h: Likewise.
2065 * libio/libio.h: Likewise.
2066 * libio/libioP.h: Likewise.
2067 * libio/stdio.h: Likewise.
2068 * locale/lc-ctype.c: Likewise.
2069 * locale/locale.h: Likewise.
2070 * login/utmp.h: Likewise.
2071 * malloc/arena.c: Likewise.
2072 * malloc/malloc.c: Likewise.
2073 * malloc/malloc.h: Likewise.
2074 * malloc/mcheck.c: Likewise.
2075 * malloc/mtrace.c: Likewise.
2076 * math/bits/mathcalls.h: Likewise.
2077 * math/fenv.h: Likewise.
2078 * math/math_private.h: Likewise.
2079 * misc/bits/error.h: Likewise.
2080 * misc/bits/syslog.h: Likewise.
2081 * misc/err.h: Likewise.
2082 * misc/error.h: Likewise.
2083 * misc/fstab.h: Likewise.
2084 * misc/mntent.h: Likewise.
2085 * misc/regexp.h: Likewise.
2086 * misc/search.h: Likewise.
2087 * misc/sgtty.h: Likewise.
2088 * misc/sys/mman.h: Likewise.
2089 * misc/sys/syslog.h: Likewise.
2090 * misc/sys/uio.h: Likewise.
2091 * misc/sys/xattr.h: Likewise.
2092 * misc/ttyent.h: Likewise.
2093 * nis/rpcsvc/ypclnt.h: Likewise.
2094 * nss/nss.h: Likewise.
2095 * posix/bits/unistd.h: Likewise.
2096 * posix/fnmatch.h: Likewise.
2097 * posix/glob.h: Likewise.
2098 * posix/sched.h: Likewise.
2099 * posix/spawn.h: Likewise.
2100 * posix/sys/wait.h: Likewise.
2101 * posix/unistd.h: Likewise.
2102 * posix/wordexp.h: Likewise.
2103 * pwd/pwd.h: Likewise.
2104 * resolv/netdb.h: Likewise.
2105 * resource/sys/resource.h: Likewise.
2106 * rt/aio.h: Likewise.
2107 * rt/bits/mqueue2.h: Likewise.
2108 * rt/mqueue.h: Likewise.
2109 * shadow/shadow.h: Likewise.
2110 * signal/signal.h: Likewise.
2111 * socket/send.c: Likewise.
2112 * socket/sendto.c: Likewise.
2113 * socket/sys/socket.h: Likewise.
2114 * stdio-common/printf.h: Likewise.
2115 * stdlib/bits/stdlib.h: Likewise.
2116 * stdlib/fmtmsg.h: Likewise.
2117 * stdlib/monetary.h: Likewise.
2118 * stdlib/stdlib.h: Likewise.
2119 * stdlib/ucontext.h: Likewise.
2120 * streams/stropts.h: Likewise.
2121 * string/argz.h: Likewise.
2122 * string/bits/string2.h: Likewise.
2123 * string/string.h: Likewise.
2124 * string/strings.h: Likewise.
2125 * sunrpc/rpc/auth.h: Likewise.
2126 * sunrpc/rpc/auth_des.h: Likewise.
2127 * sunrpc/rpc/clnt.h: Likewise.
2128 * sunrpc/rpc/netdb.h: Likewise.
2129 * sunrpc/rpc/pmap_clnt.h: Likewise.
2130 * sunrpc/rpc/xdr.h: Likewise.
2131 * sysdeps/generic/inttypes.h: Likewise.
2132 * sysdeps/generic/net/if.h: Likewise.
2133 * sysdeps/generic/sys/swap.h: Likewise.
2134 * sysdeps/gnu/net/if.h: Likewise.
2135 * sysdeps/gnu/utmpx.h: Likewise.
2136 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2137 * sysdeps/i386/i486/bits/string.h: Likewise.
2138 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2139 * sysdeps/s390/bits/string.h: Likewise.
2140 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2141 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2142 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2143 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2144 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2145 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2146 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2147 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2148 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2149 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2150 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2151 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2152 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2153 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2154 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2155 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2156 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2158 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2159 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2160 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2162 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2163 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2164 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2165 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2166 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2167 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2168 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2169 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2170 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2171 * sysvipc/sys/ipc.h: Likewise.
2172 * sysvipc/sys/msg.h: Likewise.
2173 * sysvipc/sys/sem.h: Likewise.
2174 * sysvipc/sys/shm.h: Likewise.
2175 * termios/termios.h: Likewise.
2176 * time/sys/time.h: Likewise.
2177 * time/time.h: Likewise.
2178 * wcsmbs/bits/wchar2.h: Likewise.
2179 * wcsmbs/uchar.h: Likewise.
2180 * wcsmbs/wchar.h: Likewise.
2181 * wctype/wctype.h: Likewise.
2182
0269750c
UD
2183 [BZ #13551]
2184 * Makeconfig: Remove all but ELF support including AIX support.
2185 * Makerules: Likewise.
2186 * config.h.in: Likewise.
2187 * config.make.in: Likewise.
2188 * configure: Likewise.
2189 * configure.in: Likewise.
2190 * csu/Makefile: Likewise.
2191 * csu/version.c: Likewise.
2192 * debug/Makefile: Likewise.
2193 * dlfcn/Makefile: Likewise.
2194 * elf/Makefile: Likewise.
2195 * extra-lib.mk: Likewise.
2196 * iconv/Makefile: Likewise.
2197 * include/libc-symbols.h: Likewise.
2198 * include/shlib-compat.h: Likewise.
2199 * resolv/Makefile: Likewise.
2200 * resolv/res_libc.c: Likewise.
2201 * rt/Makefile: Likewise.
2202 * sysdeps/i386/asm-syntax.h: Likewise.
2203 * sysdeps/i386/sysdep.h: Likewise.
2204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2205 * sysdeps/mach/sysdep.h: Likewise.
2206 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2207 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2208 * sysdeps/s390/asm-syntax.h: Likewise.
2209 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2211 * sysdeps/sh/sysdep.h: Likewise.
2212 * sysdeps/unix/sparc/sysdep.h: Likewise.
2213 * sysdeps/wordsize-32/divdi3.c: Likewise.
2214 * sysdeps/x86_64/sysdep.h: Likewise.
2215
00bbd29b
UD
2216 * argp/Versions: Remove _argp_unlock_xxx.
2217
2218 [BZ #13559]
2219 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2220 * abilist/libBrokenLocale.abilist: Likewise.
2221 * abilist/libanl.abilist: Likewise.
2222 * abilist/libc.abilist: Likewise.
2223 * abilist/libcrypt.abilist: Likewise.
2224 * abilist/libdl.abilist: Likewise.
2225 * abilist/libm.abilist: Likewise.
2226 * abilist/libnsl.abilist: Likewise.
2227 * abilist/libpthread.abilist: Likewise.
2228 * abilist/libresolv.abilist: Likewise.
2229 * abilist/librt.abilist: Likewise.
2230 * abilist/libthread_db.abilist: Likewise.
2231 * abilist/libutil.abilist: Likewise.
2232 * abilist/libnss_db.abilist: New file.
2233
2234 * scripts/abilist.awk: Add support for indirect functions.
2235
a2693a0e
UD
2236 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2237
3f05895f
UD
2238 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2239
ecb6fb48
UD
2240 * shlib-versions: Remove entries for ports architectures.
2241
664f8cb9
UD
2242 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2243 files in ports.
2244 * elf/stackguard-macros.h: Remove support for IA-64.
2245 * elf/tst-auditmod1.c: Likewise.
2246 * sysdeps/generic/ldsodefs.h: Likewise.
2247
7ae81d88
UD
2248 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2249 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2250 configure files.
2251
bdeba135
UD
2252 [BZ #13552]
2253 * configure.in: Remove --enable-omitfp support.
2254 * FAQ.in: Adjust.
2255 * config.make.in: Likewise.
2256 * Makeconfig: Likewise.
2257 * manual/install.texi: Likewise.
2258
d75a0a62
UD
2259 In case anyone cares, the IA-64 architecture could move to ports.
2260 * sysdeps/ia64/*: Removed.
2261 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2262 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2263
dcc9756b
UD
2264 [BZ #13555]
2265 * configure.in: Remove entries for unsupported architectures.
2266
d3761ebc 2267 [BZ #13533]
9954432e
UD
2268 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2269 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2270 routines.
2271 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2272 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2273 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2274 fall back to using wcrtomb.
2275 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2276 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2277 renaming.
2278 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2279 * wcsmbs/tst-c16c32-1.c: New file.
2280
2281 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2282 local variable.
2283
c3a87236
UD
2284 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2285
28926a1b
UD
2286 * elf/tst-unique3.cc: Add explicit declaration of gets.
2287 * elf/tst-unique3lib.cc: Likewise.
2288 * elf/tst-unique3lib2.cc: Likewise.
2289 * elf/tst-unique4.cc: Likewise.
2290
df78418a
UD
2291 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2292
8ecd6b2a
JM
22932012-01-06 Joseph Myers <joseph@codesourcery.com>
2294
2295 [BZ #13566]
2296 * assert/assert.h (static_assert): Don't define for C++.
2297 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2298 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2299
9f115170
UD
23002012-01-03 Ulrich Drepper <drepper@gmail.com>
2301
5e0d0300
UD
2302 * iconv/loop.c (single loop): Fix assertion in storing of
2303 remaining bytes.
2304
9f115170
UD
2305 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2306
81fb02b0
UD
23072012-01-01 Ulrich Drepper <drepper@gmail.com>
2308
2309 * posix/getconf.c: Update copyright year.
2310 * nss/getent.c: Likewise.
a316c1f6 2311 * nss/makedb.c: Likewise.
81fb02b0
UD
2312 * iconv/iconvconfig.c: Likewise.
2313 * iconv/iconv_prog.c: Likewise.
2314 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2315 * elf/pldd.c: Likewise.
2316 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2317 * catgets/gencat.c: Likewise.
2318 * csu/version.c: Likewise.
2319 * elf/ldd.bash.in: Likewise.
2320 * elf/sprof.c (print_version): Likewise.
2321 * locale/programs/locale.c: Likewise.
2322 * locale/programs/localedef.c: Likewise.
a316c1f6 2323 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2324 * nscd/nscd.c (print_version): Likewise.
2325 * debug/xtrace.sh: Likewise.
2326 * malloc/memusage.sh: Likewise.
2327 * malloc/mtrace.pl: Likewise.
2328 * debug/catchsegv.sh: Likewise.
2329
2ba92745
JJ
23302011-12-30 Jakub Jelinek <jakub@redhat.com>
2331
2332 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2333 pure attribute.
2334
dadebdae
UD
23352011-12-24 Ulrich Drepper <drepper@gmail.com>
2336
d3761ebc 2337 [BZ #13533]
db6af3eb
UD
2338 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2339 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2340 transformations.
2341 * iconv/gconv_int.h: Likewise.
2342 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2343 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2344 from libc for GLIBC_2.16.
2345 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2346 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2347 * wcsmbs/uchar.h: Really define mbstate_t.
2348 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2349 * wcsmbs/c16rtomb.c: New file.
2350 * wcsmbs/mbrtoc16.c: New file.
2351 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2352 for C/POSIX locale.
2353 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2354 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2355
dadebdae
UD
2356 * wcsmbs/wchar.h: Add missing __restrict.
2357
67371b56
UD
23582011-12-23 Ulrich Drepper <drepper@gmail.com>
2359
74033a25
UD
2360 [BZ #13532]
2361 * time/Makefile (routines): Add timespec_get.
2362 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2363 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2364 timespec for ISO C11.
2365 * time/timespec_get.c: New file.
2366 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2367 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2368
380d7e87
UD
2369 [BZ #13531]
2370 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2371 * stdlib/stdlib.h: Declare aligned_alloc.
2372 * Versions.def: Add GLIBC_2.16 for libc.
2373 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2374
4e9e7a35
UD
2375 [BZ 13527]
2376 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2377 ISO C11.
2378
380d7e87 2379 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2380 code.
2381
03a71829
UD
2382 [BZ #13528]
2383 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2384
839e283e
UD
2385 [BZ #13529]
2386 * assert/assert.h (static_assert): Define.
2387
ce5294e2 2388 * version.h: Update for 2.16 development version.
90fa7312 2389
8d44e150 2390 [BZ #13526]
d7809905
UD
2391 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2392 _ISOC11_SOURCE.
2393
c0da14cd
UD
2394 * version.h (RELEASE): Bump for 2.15 release.
2395 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2396
530a3249
MP
2397 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2398 Patch by Marek Polacek <mpolacek@redhat.com>.
2399
67371b56
UD
2400 * bits/byteswap.h: Protect long long constants with __extension__.
2401 * sysdeps/i386/bits/byteswap.h: Likewise.
2402 * sysdeps/ia64/bits/byteswap.h: Likewise.
2403 * sysdeps/s390/bits/byteswap.h: Likewise.
2404 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2405
15db4de1
LD
24062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2407
2408 [BZ #13540]
bbe315ea
LD
2409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2410 destination buffer.
15db4de1
LD
2411 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2412
2b2596b1
MP
24132011-12-23 Marek Polacek <polacek@redhat.com>
2414
2415 * elf/dl-addr.c (determine_info): Add inline keyword.
2416 * elf/tst-auditmod4b.c (check_avx): Likewise.
2417 * elf/tst-auditmod6b.c (check_avx): Likewise.
2418 * elf/tst-auditmod6c.c (check_avx): Likewise.
2419 * elf/tst-auditmod7b.c (check_avx): Likewise.
2420
70c6c246
UD
24212011-12-23 Ulrich Drepper <drepper@gmail.com>
2422
2423 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2424 !__SSE_MATH__.
2425
c044cf14
LD
24262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2427
15db4de1 2428 [BZ #13540]
c044cf14
LD
2429 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2430 processing for last bytes.
2431
6b13d9d9
BH
24322011-08-06 Bruno Haible <bruno@clisp.org>
2433
d455f537
BH
2434 [BZ #13061]
2435 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2436 U+0385, not to U+1FEE.
2437
6b13d9d9
BH
2438 [BZ #13062]
2439 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2440 entry for U+00A5 U+0301.
2441
db910efd
UD
24422011-12-22 Ulrich Drepper <drepper@gmail.com>
2443
27deeafc
UD
2444 [BZ #13166]
2445 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2446 buffer for the output is too small.
2447
aed9d171
UD
2448 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2449 optimization.
2450
db910efd
UD
2451 [BZ #13185]
2452 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2453 SSE flags if possible.
2454
2bd779ae
LD
24552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2456
e7f9dac3 2457 [BZ #13540]
2bd779ae
LD
2458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2459 processing for last bytes.
2460
154bfc16
JM
24612011-12-22 Joseph Myers <joseph@codesourcery.com>
2462
2463 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2464 (syscall-list-default-options, syscall-list-default-condition)
2465 (syscall-list-includes): Define.
2466 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2467 list of ABIs and options and #if conditions for each ABI. Do not
2468 handle common syscalls between ABIs specially.
2469 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2470 Remove.
2471 (syscall-list-variants, syscall-list-32bit-options)
2472 (syscall-list-32bit-condition, syscall-list-64bit-options)
2473 (syscall-list-64bit-condition): Define.
2474 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2475 (syscall-list-variants, syscall-list-32bit-options)
2476 (syscall-list-32bit-condition, syscall-list-64bit-options)
2477 (syscall-list-64bit-condition): Define.
2478 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2479 Remove.
2480 (syscall-list-variants, syscall-list-32bit-options)
2481 (syscall-list-32bit-condition, syscall-list-64bit-options)
2482 (syscall-list-64bit-condition): Define.
2483 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2484 Remove.
2485 (syscall-list-variants, syscall-list-32bit-options)
2486 (syscall-list-32bit-condition, syscall-list-64bit-options)
2487 (syscall-list-64bit-condition): Define.
2488
21eaf3a5
UD
24892011-12-22 Ulrich Drepper <drepper@gmail.com>
2490
16c6f992
UD
2491 * locale/iso-639.def: Add brx entry.
2492
41043168
UD
2493 [BZ #13328]
2494 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2495 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2496
21eaf3a5
UD
2497 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2498 __feraiseexcept_renamed.
2499
e3a851a2
UD
25002011-12-21 Ulrich Drepper <drepper@gmail.com>
2501
4920765e
UD
2502 [BZ #13538]
2503 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2504 EPOLLET with unsigned values.
2505 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2506 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2507
e3a851a2
UD
2508 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2509 to large cancellation.
2510 * math/s_cacoshf.c: Likewise.
2511 * math/s_cacoshl.c: Likewise.
2512
b27e24b8
RK
25132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2514
2515 [BZ #13305]
aebefeee 2516 [BZ #12786]
b27e24b8
RK
2517 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2518 * math/s_cacoshf.c: Likewise.
2519 * math/s_cacoshl.c: Likewise.
2520
ee190f67
UD
25212011-12-21 Ulrich Drepper <drepper@gmail.com>
2522
2523 [BZ #13439]
2524 * iconv/gconv.h: Define __GCONV_SWAP.
2525 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2526 * iconvdata/utf-16.c: Likewise.
2527 * iconvdata/utf-32.c: Likewise.
2528
707f25df
AS
25292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2530
2531 [BZ #13524]
2532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2533 numerator after shifting it by one limb.
2534
d2daaa1e
RÁE
25352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2536
2537 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2538 under [__USE_EXTERN_INLINES].
2539
a4647e72
UD
25402011-12-17 Ulrich Drepper <drepper@gmail.com>
2541
2542 [BZ #13446]
2543 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2544
f0b264f1
AZ
25452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2546
2547 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2548 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2549 optimized code.
2550 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2551 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2552 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2553 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2554 for strncasecmp/strncasecmp_l compilation.
2555 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2556 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2557
8ef4f244
MP
25582011-12-08 Marek Polacek <mpolacek@redhat.com>
2559
2560 [BZ #13484]
2561 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2562 of __asm__.
2563
97ac2654
UD
25642011-12-17 Ulrich Drepper <drepper@gmail.com>
2565
2566 [BZ #13506]
2567 * time/tzfile.c (__tzfile_read): Check values from file header.
2568
91d2a845
WS
25692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2570
2571 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2572 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2573 * powerpc/powerpc32/dl-start.S: Likewise.
2574 * powerpc/powerpc32/elf/start.S: Likewise.
2575 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2576 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2577 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2578 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2579 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2580 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2581 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2582 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2583 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2584 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2585 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2586 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2587 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2588 * powerpc/powerpc32/memset.S: Likewise.
2589 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2590 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2591 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2592 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2593 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2594 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2595 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2596 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2597 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2598 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2599 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2600 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2601 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2602
a1267ba1
AZ
26032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604
2605 * math/libm-test.inc: Added more nearbyint tests.
2606 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2607 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2608 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2609 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2610
ad8ac1bd
RL
26112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2612
2613 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2614 FD_CLOEXEC.
2615
1d3e4b61
UD
26162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2617
2618 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2619 Add wcscpy-ssse3 wcscpy-c.
2620 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2621 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2622 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2623 * sysdeps/x86_64/wcschr.S: New file.
2624 * sysdeps/x86_64/wcsrchr.S: New file.
2625 * string/test-strcmp.c: Remove checking of wcscmp function for
2626 wrong alignments.
2627 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2628 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2629 wcsrchr-sse2 wcsrchr-c.
2630 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2631 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2632 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2633 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2634 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2635 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2636 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2637 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2638 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2639 * wcsmbc/wcschr.c (WCSCHR): New macro.
2640
5b330a2d
UD
26412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2642
2643 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2644 * wcsmbs/test-wcsrchr.c: New file.
2645 * string/test-strrchr.c: Add wcsrchr support.
2646 (WIDE): New macro.
2647 * wcsmbs/test-wcscpy.c: New file.
2648 * string/test-strcpy.c: Add wcscpy support.
2649 (WIDE): New macro.
26428b7c 2650
f039c043
UD
26512011-12-10 Ulrich Drepper <drepper@gmail.com>
2652
2653 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2654 the inner loop.
2655
850fb039
AS
26562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2657
2658 [BZ #13472]
2659 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2660
4efbd5cb
UD
26612011-12-04 Ulrich Drepper <drepper@gmail.com>
2662
52ff5dd0 2663 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2664 Minor optimizations.
52ff5dd0 2665
4efbd5cb
UD
2666 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2667 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2668 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2669
8a426e12
UD
26702011-12-03 Ulrich Drepper <drepper@gmail.com>
2671
aff2453d
UD
2672 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2673 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2674 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2675 for gcc to avoid warnings.
2676 * inet/Makefile (tests): Add tst-checks.
2677 * inet/tst-checks.c: New file.
2678
2679 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2680 warning.
2681
2682 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2683 __wmemcmp_sse2.
2684
2685 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2686 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2687
8a426e12
UD
2688 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2689
9bea3473
UD
26902011-12-02 Ulrich Drepper <drepper@gmail.com>
2691
3a965496
UD
2692 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2693 problem.
2694
9bea3473
UD
2695 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2696
f101631b
UD
26972011-11-29 Joseph Myers <joseph@codesourcery.com>
2698
2699 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2700 conditional on GCC version.
2701 (__arch_compare_and_exchange_val_8_acq)
2702 (__arch_compare_and_exchange_val_16_acq)
2703 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2704 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2705 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2706
a98275aa
UD
27072011-12-02 Joseph Myers <joseph@codesourcery.com>
2708
2709 * sysdeps/sh/backtrace.c: New file.
2710
d4cc29a2
AS
27112011-12-02 Andreas Schwab <schwab@redhat.com>
2712
2713 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2714 parenthesis.
2715
6257af2d
AS
27162011-12-01 Andreas Schwab <schwab@redhat.com>
2717
2718 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2719 falling back to utime.
2720
b5f44c1a
AS
27212011-11-30 Andreas Schwab <schwab@redhat.com>
2722
2723 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2724 expectations for float.
2725
f3a6cc0a
AS
27262011-11-29 Andreas Schwab <schwab@redhat.com>
2727
2728 * locale/weight.h (findidx): Add parameter len.
2729 * locale/weightwc.h (findidx): Likewise.
2730 * posix/fnmatch_loop.c (FCT): Adjust caller.
2731 * posix/regcomp.c (build_equiv_class): Likewise.
2732 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2733 * posix/regexec.c (check_node_accept_bytes): Likewise.
2734 * string/strcoll_l.c (STRCOLL): Likewise.
2735 * string/strxfrm_l.c (STRXFRM): Likewise.
2736
9d65ea3a
UD
27372011-11-17 Ulrich Drepper <drepper@gmail.com>
2738
2739 * Makefile.in: Remove CVSOPT handling.
2740 * configure.in: Remove use of AC_REVISION.
2741 * iconvdata/Makefile (distribute): No need to filter out CVS.
2742 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2743 handling.
2744
5583a086
AS
27452011-11-16 Andreas Schwab <schwab@redhat.com>
2746
2747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2748 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2749 [USE_AS_STRNCASECMP_L]: Likewise.
2750 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2751 NO_TLS_DIRECT_SEG_REFS.
2752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2753 Fix argument offsets for non-PIC.
2754 [USE_AS_STRNCASECMP_L]: Likewise.
2755 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2756 NO_TLS_DIRECT_SEG_REFS.
2757
d62a8200
UD
27582011-11-15 Ulrich Drepper <drepper@gmail.com>
2759
9d65ea3a 2760 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2761 O_CLOEXEC.
2762 * locale/loadlocale.c (_nl_load_locale): Likewise.
2763
09f93bd3
AS
27642011-11-15 Andreas Schwab <schwab@redhat.com>
2765
446514f9
AS
2766 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2767 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2768 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2769 (SYSCALL_GETTIME): Set errno on error.
2770
09f93bd3
AS
2771 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2772 count references to noai6ai_cached.
2773
312be3f9
UD
27742011-11-15 Ulrich Drepper <drepper@gmail.com>
2775
2776 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2777
2778 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2779 FD_CLOEXEC for /proc/self/maps.
2780
2781 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2782 FD_CLOEXEC for /proc/meminfo.
2783
2784 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2785 gai.conf.
2786
2787 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2788 FD_CLOEXEC for given file.
2789
2790 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2791
2792 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2793 FD_CLOEXEC for /etc/hosts.
2794 (_gethtent): Likewise.
2795
2796 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2797
2798 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2799 cancellation and set FD_CLOEXEC for /etc/netgroup.
2800
2801 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2802 reading /etc/publickey.
2803
2804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2805 allow cancellation when reading /etc/group.
2806
2807 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2808 cancellation.
2809 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2810
2811 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2812 when using data file.
2813
2814 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2815
2816 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2817 (write_nis_obj): Use "c" and "e" in fopen.
2818
2819 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2820
2821 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2822
2823 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2824
2825 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2826
2827 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2828 locale.alias.
2829
2830 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2831
2832 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2833
2834 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2835
2836 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2837 file parsing and set FD_CLOEXEC.
2838
82af0fa8
UD
28392011-11-14 Ulrich Drepper <drepper@gmail.com>
2840
2841 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2842
a5fb313c
AS
28432011-11-14 Andreas Schwab <schwab@redhat.com>
2844
2845 * malloc/arena.c (arena_get2): Don't call reused_arena when
2846 _int_new_arena failed.
2847
6abf3465
UD
28482011-11-14 Ulrich Drepper <drepper@gmail.com>
2849
2850 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2851 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2852 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2854 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2856 to compile strcasecmp and strncasecmp.
2857 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2858 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2859
2860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2861
76e3966e
UD
28622011-11-13 Ulrich Drepper <drepper@gmail.com>
2863
2864 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2865 locale-defines.sym to gen-as-const-headers.
2866 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2867 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2869 to compile strcasecmp and strncasecmp.
2870 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2871 strcasecmp_l and strncasecmp_l.
2872 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2873 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2874 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2875 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2876 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2877 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2878 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2879 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2880 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2881 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2882 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2883
ab26144e
UD
28842011-11-12 Ulrich Drepper <drepper@gmail.com>
2885
7edb22ef
UD
2886 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2887 result of SYSDEP_GETTIME_CPU to retval.
2888 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2889 parameter list to macro. Remove trailing semicolon. Adjust users.
2890
9694fc44
UD
2891 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2892 variable.
2893
8ad89ef8
UD
2894 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2895 mantissa words.
2896 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2897
0c822ef9
UD
2898 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2899 from unused variable.
2900
874e0564
UD
2901 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2902 DWARF definitions.
2903 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2904 for assembling.
2905
3a2edc79
UD
2906 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2907 over namespaces.
2908
f3c2577f
UD
2909 * sunrpc/rpc_prot.c (rejected): Fix case value.
2910
294ce126
UD
2911 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2912 unsigned long long int to avoid warnings in shift.
2913
5e2b63c6
UD
2914 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2915 of use of trans.
2916 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2917 variable tmp.
2918
e7f4b08e
UD
2919 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2920 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2921 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2922
ab26144e
UD
2923 * nis/nis_table.c (nis_list): Use variable of correct type for
2924 result of __follow_path call.
2925
8a6d5255
AZ
29262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927
2928 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2929 of math functions ceil, trunc, floor, round, and sqrt, when
2930 avaliable on the platform.
2931 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2932 name clash.
2933 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2934 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2935 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2936
aaddc98c
MP
29372011-10-30 Marek Polacek <mpolacek@redhat.com>
2938
2939 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2940 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2941
95b7042b
RM
29422011-11-11 Roland McGrath <roland@hack.frob.com>
2943
2944 * include/unistd.h: Fix __readlink return type.
2945 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2946
57769839
UD
29472011-11-11 Ulrich Drepper <drepper@gmail.com>
2948
2949 * stdlib/ucontext.h: Undo last change for makecontext.
2950
edc5984d
AS
29512011-11-11 Andreas Schwab <schwab@redhat.com>
2952
98591e58
AS
2953 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2954
edc5984d
AS
2955 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2956 * setjmp/setjmp.h: Mark functions as non-leaf.
2957 * setjmp/bits/setjmp2.h: Likewise.
2958 * stdlib/ucontext.h: Likewise.
2959
77cdc054
AS
29602011-11-10 Andreas Schwab <schwab@redhat.com>
2961
2962 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2963 (reused_arena): Don't check arena limit.
2964 (arena_get2): Atomically check arena limit.
2965
fe72eebd
UD
29662011-11-08 Ulrich Drepper <drepper@gmail.com>
2967
5f078c32
UD
2968 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2969 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2970
fe72eebd
UD
2971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2972 instructions.
2973
ae1bc2fa
AS
29742011-11-07 Andreas Schwab <schwab@redhat.com>
2975
7583a88d
AS
2976 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2977 handler when locking.
2978
ae1bc2fa
AS
2979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2980 Fix size of allocated buffer.
2981
10fb0bfa
AS
29822011-11-04 Andreas Schwab <schwab@redhat.com>
2983
998832a4
AS
2984 [BZ #10103]
2985 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2986 declarations for long double functions.
2987 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2988
10fb0bfa
AS
2989 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2990
3d7ba52b
AS
29912011-11-03 Andreas Schwab <schwab@redhat.com>
2992
a9ae54a1
AS
2993 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2994 installed.
2995
3d7ba52b
AS
2996 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2997 is disabled.
2998
bc8db248
ST
29992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3000
3001 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3002
45b96dd6
AS
30032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3004
647776f6
AS
3005 * include/alloca.h (stackinfo_alloca_round): Define.
3006 (extend_alloca): Use it.
3007 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3008 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3009 here.
3010
d91a8b93
AS
3011 * scripts/check-local-headers.sh: Ignore libaudit.h.
3012
45b96dd6
AS
3013 * nscd/Makefile (extra-objs): Make recursively expanded.
3014
432d41ce
UD
30152011-11-01 Ulrich Drepper <drepper@gmail.com>
3016
34372fc6
UD
3017 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3018 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3019
fadb59f8
UD
3020 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3021 * posix/tst-rfc3484-2.c: Likewise.
3022 * posix/tst-rfc3484-3.c: Likewise.
3023
78239589
UD
3024 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3025 process_vm_writev.
3026 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3027 process_vm_writev.
3028 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3029 process_vm_writev from libc using GLIBC_2.15 version.
3030
432d41ce
UD
3031 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3032
02f9c6cf
PP
30332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3034
3035 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3036 stack usage.
3037
3a2c0242
UD
30382011-10-31 Ulrich Drepper <drepper@gmail.com>
3039
f4ec4833
UD
3040 [BZ #13367]
3041 * nss/getent.c (initgroups_keys): Show error message in case no group
3042 names are given.
3043
3a2c0242
UD
3044 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3045 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3046 __bump_nl_timestamp.
3047 * nscd/connections (nscd_init): When host database is served open
3048 netlink socket and request notification about configuration changes.
3049 (main_loop_poll): Track netlink file descriptor and bump timestamp
3050 in case data becomes available.
3051 (main_loop_epoll): Likewise.
3052 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3053 (database_pers_head): Add extra_data fileds.
3054 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3055 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3056 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3057 Adjust caller.
3058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3059 in6ai data, call __free_in6ai.
3060 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3061 Add -DHAVE_NETLINK.
3062 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3063 interface information. Reuse previous data if netlink timestamp
3064 is not changed.
3065 (__bump_nl_timestamp): New function.
3066 (__free_in6ai): New function.
3067
636064eb
UD
30682011-10-30 Ulrich Drepper <drepper@gmail.com>
3069
3070 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3071 close_not_cancel_no_status here.
3072 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3073
9beb2334
UD
30742011-10-29 Ulrich Drepper <drepper@gmail.com>
3075
6ef76f3b
UD
3076 [BZ #13276]
3077 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3078 return value.
3079
0ffc4f3e 3080 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3081 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3082 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3083
cb95113e
UD
30842011-07-03 Andreas Jaeger <aj@suse.de>
3085
3086 [BZ #10709]
3087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3088 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3089 * math/libm-test.inc (sin_test): Add test case.
3090
a1b560ff
UD
30912011-10-29 Ulrich Drepper <drepper@gmail.com>
3092
c9aaface
UD
3093 [BZ #13337]
3094 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3095 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3096
d272e7f1
UD
3097 * elf/chroot_canon.c (chroot_canon): Cleanups.
3098
1bc33071
UD
3099 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3100
1760874d
TJ
3101 [BZ #13335]
3102 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3103 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3104
51d91b18
UD
3105 * string/test-strchr.c: Make usable for strchrnul testing.
3106 * string/test-strchrnul.c: New file.
3107 * string/Makefile (strop-tests): Add strchrnul.
3108
a1b560ff 3109 * po/it.po: Update from translation team.
b611fb81 3110 * po/es.po: Likewise.
a1b560ff 3111
a5b81e1f
UD
31122011-10-28 Ulrich Drepper <drepper@gmail.com>
3113
fd52bc6d
UD
3114 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3115 the three constants needed as parameters. Drop the others.
3116 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3117 __m128i_strloadu_tolower.
52e4b9eb
UD
3118 Create and initialize variable zero and use it in all the places
3119 where _mm_setzero_si128 was used.
fd52bc6d 3120
a5b81e1f
UD
3121 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3122 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3123 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3124 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3125 anymore.
3126 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3127 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3128 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3129 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3130 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3131 __mpranred, __mptan.
3132 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3133 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3134 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3135 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3136 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3137 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3138 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3139 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3140 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3141
b4343346
AS
31422011-10-28 Andreas Schwab <schwab@redhat.com>
3143
0c92d8a8
AS
3144 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3145 redefine if SHARED.
3146 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3147
b4343346
AS
3148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3149 wide char related routines to wcsmbs subdir.
3150
3871f58f
AS
31512011-10-27 Andreas Schwab <schwab@redhat.com>
3152
3153 [BZ #13344]
3154 * misc/sys/cdefs.h (__THROWNL): Define.
3155 * posix/unistd.h: Use __THREADNL instead of __THREAD
3156 for memory synchronization functions.
3157
94d44d9f
RM
31582011-10-26 Roland McGrath <roland@hack.frob.com>
3159
21b64b15 3160 [BZ #13349]
94d44d9f
RM
3161 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3162 doesn't exist.
3163 * manual/stdio.texi (Obstack Streams): Node removed.
3164
f6ce9294
AS
31652011-10-26 Andreas Schwab <schwab@redhat.com>
3166
80479147
AS
3167 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3168 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3169 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3170
f6ce9294
AS
3171 * math/math_private.h (math_force_eval): Allow non-addressable
3172 arguments.
3173 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3174
618280a1
UD
31752011-10-25 Ulrich Drepper <drepper@gmail.com>
3176
e0016b11
UD
3177 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3178 file is not needed.
3179
3180 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3181 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3182 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3183 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3184 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3185 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3186 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3187 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3188 Add AVX variants.
3189 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3190 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3191 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3192 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3193 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3194 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3195 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3197 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3198 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3199 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3200 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3201 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3202 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3203 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3204 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3205 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3206 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3207 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3208
3209 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3210 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3211
618280a1
UD
3212 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3213 place. Use VEX encoding when compiling for AVX.
3214
37822576
AS
32152011-10-25 Andreas Schwab <schwab@redhat.com>
3216
1f1e1947
AS
3217 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3218 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3219
37822576
AS
3220 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3221
31ea014d
UD
32222011-10-25 Ulrich Drepper <drepper@gmail.com>
3223
d7826aa1 3224 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3225 useless if() expression.
d7826aa1
UD
3226 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3227 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3228 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3231 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3232 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3234 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3236 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3237 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3238 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3239 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3240 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3242 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3244 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3245
31ea014d
UD
3246 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3247
16437fec
AS
32482011-10-25 Andreas Schwab <schwab@redhat.com>
3249
3250 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3251 condition.
3252 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3253
31d3cc00
UD
32542011-10-25 Ulrich Drepper <drepper@gmail.com>
3255
3256 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3257 .text section. Avoid duplicate constants.
3258 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3266 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3267 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3268 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3269 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3270 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3271 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3272 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3273 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3275 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3279 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3281 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3282 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3283 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3284 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3285 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3286 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3287 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3288 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3289 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3290 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3291 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3292 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3293 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3294 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3295 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3296 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3297 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3298 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3299 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3300 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3301 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3302 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3303
58985aa9
UD
33042011-10-24 Ulrich Drepper <drepper@gmail.com>
3305
202c9deb
UD
3306 * sysdeps/x86_64/dla.h: Move to ...
3307 * sysdeps/x86_64/fpu/dla.h: ...here.
3308 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3309 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3310
af968f62
UD
3311 * config.make.in: Add have-mfma4 entry.
3312 * configure.in: Substitute libc_cv_cc_fma4.
3313 * math/Makefile (dbl-only-routines): Add sincostab.
3314 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3315 Use __sincostab not sincos.
3316 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3317 name is a macro.
3318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3322 using __copysign.
3323 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3324 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3325 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3326 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3327 and __inv.
3328 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3329 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3330 __copysign.
3331 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3332 define aliases when function name is a macro.
3333 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3334 sysdeps/ieee754/dbl-64/sincos.tbl.
3335 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3336 fma4-enabled routines.
3337 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3338 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3339 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3340 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3342 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3343 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3344 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3346 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3347 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3348 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3349 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3350 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3352 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3353 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3354 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3355 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3357 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3358 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3359 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3360 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3362 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3363 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3364 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3365 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3366 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3367
58985aa9
UD
3368 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3369 rename.
3370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3378
a201fbcf
AS
33792011-10-24 Andreas Schwab <schwab@redhat.com>
3380
3381 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3382
fc2ee42a
LD
33832011-10-23 Ulrich Drepper <drepper@gmail.com>
3384
bb3129bd
UD
3385 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3386
0275fff8
UD
3387 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3388 prediction.
3389 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3390
2fa2ae85
UD
3391 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3392 Remove unused variable magic_bits.
3393 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3394
fc2ee42a
LD
3395 * string/strnlen.c: Define and use STRNLEN macro.
3396 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3397 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3399 * wcsmbs/wcslen.c: Define and use WCSLEN.
3400 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3401 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3402 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3403 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3404 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3405 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3406 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3407
ce7dd29f
LD
34082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3409
3410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3411 strnlen-sse2-no-bsf.
3412 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3413 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3414 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3415 Add strnlen support.
3416 (USE_AS_STRNLEN): New macro.
3417 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3418 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3419 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3420 * sysdeps/x86_64/wcslen.S: New file.
3421
979c70a3
MZ
34222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3423
3424 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3425 XMM-moves are used for copying on small sizes.
3426
2d09f82f
LD
34272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3428
3429 * wcsmbs/Makefile (strop-tests): Add wcschr.
3430 * wcsmbs/test-wcschr.c: New file.
3431 * string/test-strchr.c: Update.
3432 Add wcschr support.
3433 (WIDE): New macro.
3434
619fccca
LD
34352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3436
2d09f82f 3437 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3438 * wcsmbs/test-wcslen.c: New file.
3439 * string/test-strlen.c: Update.
3440 Add wcslen support.
3441 (WIDE): New macro.
3442
09f699ea
UD
34432011-10-23 Ulrich Drepper <drepper@gmail.com>
3444
3445 * po/it.po: Update from translation team.
3446
95584d3b
LD
34472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3448
3449 * sysdeps/x86_64/wcscmp.S: Update.
3450 Fix wrong comparison semantics.
3451 wcscmp shall use signed comparison not unsigned.
3452 Don't use substraction to avoid overflow bug.
3453 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3454 * wcsmbc/wcscmp.c: Likewise.
3455 * string/test-strcmp.c: Likewise.
3456 Add new tests to check cases with negative values.
3457
c8b3296b
UD
34582011-10-23 Ulrich Drepper <drepper@gmail.com>
3459
3460 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3461 * sysdeps/x86_64/dla.h: ...here. New file.
3462 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3465 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3467 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3471
246ad57a
AS
34722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3473
3474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3475 __ynl_finite aliases.
3476
a1a87169
UD
34772011-10-22 Ulrich Drepper <drepper@gmail.com>
3478
0d355eb7
UD
3479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3480
a1a87169
UD
3481 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3482 define DLA_FMA.
3483 [DLA_FMA] (EMULV): Use DLA_FMA.
3484 [DLA_FMA] (MUL12): Use EMULV.
3485 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3486 that are not needed.
3487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3492 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3494
ee2aafe0
AS
34952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3496
3497 * math/s_nan.c: Undef __nan.
3498 * math/s_nanf.c: Undef __nanf.
3499 * math/s_nanl.c: Undef __nanl.
3500 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3501 "math_private.h".
3502
bc62c2fb
UD
35032011-10-22 Ulrich Drepper <drepper@gmail.com>
3504
77425c63
UD
3505 * math/s_catan.c: Add branch predictions.
3506 * math/s_catanf.c: Likewise.
3507 * math/s_catanh.c: Likewise.
3508 * math/s_catanhf.c: Likewise.
3509 * math/s_catanhl.c: Likewise.
3510 * math/s_catanl.c: Likewise.
3511 * math/s_cexp.c: Likewise.
3512 * math/s_cexpf.c: Likewise.
3513 * math/s_cexpl.c: Likewise.
3514 * math/s_clog.c: Likewise.
3515 * math/s_clog10.c: Likewise.
3516 * math/s_clog10f.c: Likewise.
3517 * math/s_clog10l.c: Likewise.
3518 * math/s_clogf.c: Likewise.
3519 * math/s_clogl.c: Likewise.
3520 * math/s_csqrt.c: Likewise.
3521 * math/s_csqrtf.c: Likewise.
3522 * math/s_csqrtl.c: Likewise.
3523 * math/s_ctanf.c: Likewise.
3524 * math/s_ctanh.c: Likewise.
3525 * math/s_ctanhf.c: Likewise.
3526 * math/s_ctanhl.c: Likewise.
3527 * math/s_ctanl.c: Likewise.
3528
bc62c2fb
UD
3529 * math/math_private.h: Define __nan, __nanf, __nanl.
3530 * math/s_cacosh.c: Include <math_private.h>.
3531 * math/s_cacoshl.c: Likewise.
3532 * math/s_casinh.c: Likewise.
3533 * math/s_casinhf.c: Likewise.
3534 * math/s_casinhl.c: Likewise.
3535 * math/s_ccos.c: Rely entire on ccosh.
3536 * math/s_ccosf.c: Rely entire on ccoshf.
3537 * math/s_ccosl.c: Rely entirely on ccoshl.
3538 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3539 Remove tests for FE_INVALID.
3540 * math/s_ccoshf.c: Likewise.
3541 * math/s_ccoshl.c: Likewise.
3542 * math/s_csin.c: Likewise.
3543 * math/s_csinf.c: Likewise.
3544 * math/s_csinh.c Likewise.
3545 * math/s_csinhf.c: Likewise.
3546 * math/s_csinhl.c: Likewise.
3547 * math/s_csinl.c: Likewise.
3548 * math/s_ctan.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3550 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3551 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3552
8ec250a4
UD
35532011-10-21 Ulrich Drepper <drepper@gmail.com>
3554
c196fed8
UD
3555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3556 compilation problems.
3557
8ec250a4
UD
3558 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3559 __builtin_expect.
3560
8d4f46c6
UD
35612011-10-20 Ulrich Drepper <drepper@gmail.com>
3562
ed72b654
UD
3563 * sysdeps/i386/configure.in: Test for -mfma4 option.
3564 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3565 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3566 COMMON_CPUID_INDEX_80000001.
3567 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3568 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3569 use it if FMA3 is not supported.
3570 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3571
8d4f46c6
UD
3572 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3573 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3574
d45c60c2
AS
35752011-10-20 Andreas Schwab <schwab@redhat.com>
3576
3577 [BZ #12892]
3578 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3579 it would create a cycle with a link time dependency.
3580
d9a4d2ab
UD
35812011-10-19 Ulrich Drepper <drepper@gmail.com>
3582
855d1560
UD
3583 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3584 instruction.
3585 * string/Makefile (strop-tests): Add rawmemchr.
3586 * string/test-rawmemchr.c: New file.
3587
d9a4d2ab
UD
3588 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3589 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3590 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3591 when compiling str{,n}casecmp and when AVX is available. Hook up
3592 new optimized code in initializers.
3593
8f3b1ffe
AS
35942011-10-19 Andreas Schwab <schwab@redhat.com>
3595
3596 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3597 __feraiseexcept instead of feraiseexcept.
3598
d38f1dba
UD
35992011-10-18 Ulrich Drepper <drepper@gmail.com>
3600
d9a8d0ab
UD
3601 * math/math_private.h: Define defaults for libc_fetestexcept and
3602 libc_feupdateenv.
3603 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3604 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3605 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3606 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3607 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3608 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3609 libc_fetestexcept and libc_feupdateenv.
3610
4855e3dd
UD
3611 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3612 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3613 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3614 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3615 libc_feholdexcept_setround.
3616
581d30e3
UD
3617 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3618 Add s_nearbyint-c and s_nearbyintf-c.
3619 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3620 nearbyintf inlines.
3621 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3622 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3623 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3624 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3625
d38f1dba
UD
3626 * math/math_private.h: Define defaults for libc_fegetround,
3627 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3628 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3629 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3630 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3631 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3632 standard functions.
3633 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3634 Remove comments and hacks for old compiler versions.
3635 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3636 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3637 libc_feholdexceptl.
3638
caa6c9d8
AS
36392011-10-18 Andreas Schwab <schwab@redhat.com>
3640
3641 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3642 (__feraiseexcept_renamed): Add __NTH.
3643 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3644 namespace violations.
3645
97c066e6
UD
36462011-10-17 Ulrich Drepper <drepper@gmail.com>
3647
99ce7b04
UD
3648 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3649
1004d182
UD
3650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3651
228a984d
UD
3652 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3653 recently added interfaces.
3654 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3655
c8553a6a
UD
3656 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3657 about macro parameter expansion.
3658
ed22dcf6
UD
3659 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3660 __NO_MATH_INLINES is defined. Cleanups.
3661
3662 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3663 and __floorf is target has SSE4.1.
3664 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3665 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3666 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3667 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3668
b171c137
UD
3669 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3670 name.
3671 (floorf): Likewise.
3672
97c066e6
UD
3673 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3674
629f62ef
AS
36752011-10-17 Andreas Schwab <schwab@redhat.com>
3676
49a43d80
AS
3677 * misc/sys/cdefs.h: Fix last change.
3678
629f62ef
AS
3679 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3680 database lookup.
3681
e453f6cd
UD
36822011-10-16 Ulrich Drepper <drepper@gmail.com>
3683
aa78043a
UD
3684 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3685
ad0f5cad
UD
3686 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3692 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3693 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3694 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3695 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3696 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3697 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3698 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3699 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3700 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3701 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3702 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3703 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3704 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3705 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3706 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3707 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3708
3709 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3710 ceil, ceilf, floor, floorf.
3711
3712 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3713 Perform IRELATIVE relocations last.
3714
e453f6cd
UD
3715 * elf/do-rel.h: Add another parameter nrelative, replacing the
3716 local variable with the same name. Change name of the function
3717 to end in Rel or Rela (uppercase).
3718 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3719 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3720 elf_dynamic_do_##reloc function.
3721
fd5bdc09
UD
37222011-10-15 Ulrich Drepper <drepper@gmail.com>
3723
79b195b5
UD
3724 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3725 is sufficient, at least on modern CPUs.
3726
d4a28569
UD
3727 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3728
b61099b5
UD
3729 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3730 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3731
bcf01e6d
UD
3732 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3733 __expl_finite.
3734 * math/bits/math-finite.h: Add entries for exp.
3735 * math/e_expl.c: Add __*_finite alias.
3736 * sysdeps/i386/fpu/e_exp.S: Likewise.
3737 * sysdeps/i386/fpu/e_expf.S: Likewise.
3738 * sysdeps/i386/fpu/e_expl.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3740 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3744 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3745 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3746
ba1a0d59
UD
3747 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3748 is sufficient, at least on modern CPUs.
3749
fd5bdc09
UD
3750 * ctype/ctype-info.c (__ctype_init): Define.
3751 * include/ctype.h (__ctype_init): Declare.
3752 (__ctype_b_loc): The variable is always initialized.
3753 (__ctype_toupper_loc): Likewise.
3754 (__ctype_tolower_loc): Likewise.
3755 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3756 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3757
7872cfb0
AS
37582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3759
b468825a
AS
3760 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3761
7872cfb0
AS
3762 * configure.in: Also look in $cxxmachine/include for C++ system
3763 headers.
3764
be13f7bf
LD
37652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3766
3767 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3768 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3769 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3770 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3771 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3772 (USE_AS_WMEMCMP): New macro.
3773 Fixing indents.
3774 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3775 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3776 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3777 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3779 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3780 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3781 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3782 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3783 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3784 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3785 (USE_AS_WMEMCMP): New macro.
3786 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3787 * sysdeps/string/test-memcmp.c: Update.
3788 Fix simple_wmemcmp.
3789 Add new tests.
3790 * wcsmbs/wmemcmp.c: Update.
3791 (WMEMCMP): New macro.
3792 Fix overflow bug.
3793
556a2007
AJ
37942011-10-12 Andreas Jaeger <aj@suse.de>
3795
3796 [BZ #13268]
3797 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3798
538faaa7
UD
37992011-10-15 Ulrich Drepper <drepper@gmail.com>
3800
ab6737ff
UD
3801 * libio/iofwide.c (do_length): Avoid warning.
3802
538faaa7
UD
3803 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3804
396a21b1
UD
38052011-10-14 Ulrich Drepper <drepper@gmail.com>
3806
cdf2901f
UD
3807 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3808
38ad40ce
UD
3809 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3810 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3811 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3812 * sysdeps/i386/i686/fpu/e_log.S: New file.
3813 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3814 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3815
396a21b1
UD
3816 * ctype/ctype.h: Add support for inlined isXXX functions when
3817 compiling C++ code.
3818
6b1f68c9
AS
38192011-10-14 Andreas Schwab <schwab@redhat.com>
3820
349290c0
AS
3821 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3822
6b1f68c9
AS
3823 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3824
f2282d42
RM
38252011-10-13 Roland McGrath <roland@hack.frob.com>
3826
3827 [BZ #13291]
3828 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3829
5298ffa8
AS
38302011-10-13 Andreas Schwab <schwab@redhat.com>
3831
714fad23
AS
3832 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3833 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3834 feraiseexcept.
3835
81dcc7fb
AS
3836 * sysdeps/x86_64/memrchr.S: Check for zero size.
3837
5298ffa8
AS
3838 * string/stratcliff.c: Add memrchr tests.
3839
951fbcec
LD
38402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3841
3842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3843 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3844 rawmemchr-sse2 rawmemchr-sse2-bsf.
3845 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3846 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3847 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3848 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3849 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3850 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3851 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3852 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3853 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3854 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3855 * string/memrchr.c (MEMRCHR): New macro.
3856
0ac5ae23
UD
38572011-10-12 Ulrich Drepper <drepper@gmail.com>
3858
3859 Add integration with gcc's -ffinite-math-only and optimize wrapper
3860 functions in libm.
3861 * Versions.def: Define GLIBC_2.15 version for libm.
3862 * math/Makefile (headers): Add bits/math-finite.h.
3863 * math/bits/math-finite.h: New file.
3864 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3865 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3866 * math/e_acoshl.c: Add __*_finite alias.
3867 * math/e_acosl.c: Likewise.
3868 * math/e_asinl.c: Likewise.
3869 * math/e_atan2l.c: Likewise.
3870 * math/e_atanhl.c: Likewise.
3871 * math/e_coshl.c: Likewise.
3872 * math/e_exp10.c: Likewise.
3873 * math/e_exp10f.c: Likewise.
3874 * math/e_exp10l.c: Likewise.
3875 * math/e_exp2l.c: Likewise.
3876 * math/e_fmodl.c: Likewise.
3877 * math/e_gammal_r.c: Likewise.
3878 * math/e_hypotl.c: Likewise.
3879 * math/e_j0l.c: Likewise.
3880 * math/e_j1l.c: Likewise.
3881 * math/e_jnl.c: Likewise.
3882 * math/e_lgammal_r.c: Likewise.
3883 * math/e_log10l.c: Likewise.
3884 * math/e_log2l.c: Likewise.
3885 * math/e_logl.c: Likewise.
3886 * math/e_powl.c: Likewise.
3887 * math/e_sinhl.c: Likewise.
3888 * math/e_sqrtl.c: Likewise.
3889 * math/e_scalb.c: Completely rewritten and optimized.
3890 * math/e_scalbf.c: Likewise.
3891 * math/e_scalbl.c: Likewise.
3892 * math/w_acos.c: Likewise.
3893 * math/w_acosf.c: Likewise.
3894 * math/w_acosl.c: Likewise.
3895 * math/w_acosh.c: Likewise.
3896 * math/w_acoshf.c: Likewise.
3897 * math/w_acoshl.c: Likewise.
3898 * math/w_asin.c: Likewise.
3899 * math/w_asinf.c: Likewise.
3900 * math/w_asinl.c: Likewise.
3901 * math/w_atan2.c: Likewise.
3902 * math/w_atan2f.c: Likewise.
3903 * math/w_atan2l.c: Likewise.
3904 * math/w_atanh.c: Likewise.
3905 * math/w_atanhf.c: Likewise.
3906 * math/w_atanhl.c: Likewise.
3907 * math/w_exp10.c: Likewise.
3908 * math/w_exp10f.c: Likewise.
3909 * math/w_exp10l.c: Likewise.
3910 * math/w_fmod.c: Likewise.
3911 * math/w_fmodf.c: Likewise.
3912 * math/w_fmodl.c: Likewise.
3913 * math/w_j0.c: Likewise.
3914 * math/w_j0f.c: Likewise.
3915 * math/w_j0l.c: Likewise.
3916 * math/w_j1.c: Likewise.
3917 * math/w_j1f.c: Likewise.
3918 * math/w_j1l.c: Likewise.
3919 * math/w_jn.c: Likewise.
3920 * math/w_jnf.c: Likewise.
3921 * math/w_log.c: Likewise.
3922 * math/w_logf.c: Likewise.
3923 * math/w_logl.c: Likewise.
3924 * math/w_log10.c: Likewise.
3925 * math/w_log10f.c: Likewise.
3926 * math/w_log10l.c: Likewise.
3927 * math/w_log2.c: Likewise.
3928 * math/w_log2f.c: Likewise.
3929 * math/w_log2l.c: Likewise.
3930 * math/w_pow.c: Likewise.
3931 * math/w_powf.c: Likewise.
3932 * math/w_powl.c: Likewise.
3933 * math/w_remainder.c: Likewise.
3934 * math/w_remainderf.c: Likewise.
3935 * math/w_remainderl.c: Likewise.
3936 * math/w_scalb.c: Likewise.
3937 * math/w_scalbf.c: Likewise.
3938 * math/w_scalbl.c: Likewise.
3939 * math/w_sqrt.c: Likewise.
3940 * math/w_sqrtf.c: Likewise.
3941 * math/w_sqrtl.c: Likewise.
3942 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3943 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3944 used.
3945 * math/math_private.h: Declare __kernel_standard_f.
3946 * math/w_cosh.c: Remove cruft and optimize a bit.
3947 * math/w_coshf.c: Likewise.
3948 * math/w_coshl.c: Likewise.
3949 * math/w_exp2.c: Likewise.
3950 * math/w_exp2f.c: Likewise.
3951 * math/w_exp2l.c: Likewise.
3952 * math/w_hypot.c: Likewise.
3953 * math/w_hypotf.c: Likewise.
3954 * math/w_hypotl.c: Likewise.
3955 * math/w_lgamma.c: Likewise.
3956 * math/w_lgamma_r.c: Likewise.
3957 * math/w_lgammaf.c: Likewise.
3958 * math/w_lgammaf_r.c: Likewise.
3959 * math/w_lgammal.c: Likewise.
3960 * math/w_lgammal_r.c: Likewise.
3961 * math/w_sinh.c: Likewise.
3962 * math/w_sinhf.c: Likewise.
3963 * math/w_sinhl.c: Likewise.
3964 * math/w_tgamma.c: Likewise.
3965 * math/w_tgammaf.c: Likewise.
3966 * math/w_tgammal.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3969 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3970 Minor optimizations. Pretty printing. Remove cruft.
3971 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3972 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3973 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3974 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3975 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3976 * sysdeps/i386/fpu/e_asin.S: Likewise.
3977 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3978 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3979 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3980 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3981 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3982 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3983 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3984 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3985 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3986 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3987 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3988 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3989 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3990 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3991 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3992 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3993 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3994 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3995 * sysdeps/i386/fpu/e_log.S: Likewise.
3996 * sysdeps/i386/fpu/e_log10.S: Likewise.
3997 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3998 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3999 * sysdeps/i386/fpu/e_log2.S: Likewise.
4000 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4001 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4002 * sysdeps/i386/fpu/e_logf.S: Likewise.
4003 * sysdeps/i386/fpu/e_logl.S: Likewise.
4004 * sysdeps/i386/fpu/e_pow.S: Likewise.
4005 * sysdeps/i386/fpu/e_powf.S: Likewise.
4006 * sysdeps/i386/fpu/e_powl.S: Likewise.
4007 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4008 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4009 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4010 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4011 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4012 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4013 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4014 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4015 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4037 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4038 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4039 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4040 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4041 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4042 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4043 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4044 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4045 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4046 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4047 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4048 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4050 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4051 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4052 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4053 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4054 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4055 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4056 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4057 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4096 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4099 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4101 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4102 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4104 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4107 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4108 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4109 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4110 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4111 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4112 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4113 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4114 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4115 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4116 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4117 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4118 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4119 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4120 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4121 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4122 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4123 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4124 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4125 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4126 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4127 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4128 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4129 (__isnanf): Likewise.
4130 (__isinf_ns): Likewise.
4131 (__isinf_nsf): Likewise.
4132 (__finite): Likewise.
4133 (__finitef): Likewise.
4134 (__ieee754_sqrt): Define as macro.
4135 (__ieee754_sqrtf): Define as macro.
4136 (__ieee754_sqrtl): Define as macro.
4137 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4138 inlined copy.
4139 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4140 __FINITE_MATH_ONLY__ consistent.
4141 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4142
12cc2fcd
AS
41432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4144
a843a204
AS
4145 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4146 of rawmemchr.
4147
12cc2fcd
AS
4148 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4149
c853acd5
UD
41502011-10-09 Ulrich Drepper <drepper@gmail.com>
4151
4152 * po/ja.po: Update from translation team.
4153
c658d255
RM
41542011-10-08 Roland McGrath <roland@hack.frob.com>
4155
110946e4
RM
4156 * locale/programs/locarchive.c (prepare_address_space): New function.
4157 (create_archive, enlarge_archive, open_archive): Use it.
4158
50604220
RM
4159 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4160 inside [SHARED], where it is used.
4161
c658d255
RM
4162 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4163
4164 * nss/getent.c (netgroup_keys): Remove unused variable.
4165 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4166
6a621eb7
UD
41672011-10-08 Ulrich Drepper <drepper@gmail.com>
4168
7edb55ce
UD
4169 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4170 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4173 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4174 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4175 * math/Makefile (libm-calls): Add s_isinf_ns.
4176 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4177 * math/multc3.c: Likewise.
4178 * math/s_casin.c: Likewise.
4179 * math/s_casinf.c: Likewise.
4180 * math/s_casinl.c: Likewise.
4181 * math/s_ccos.c: Likewise.
4182 * math/s_ccosf.c: Likewise.
4183 * math/s_ccosl.c: Likewise.
4184 * math/s_ctan.c: Likewise.
4185 * math/s_ctanf.c: Likewise.
4186 * math/s_ctanh.c: Likewise.
4187 * math/s_ctanhf.c: Likewise.
4188 * math/s_ctanhl.c: Likewise.
4189 * math/s_ctanl.c: Likewise.
4190 * math/w_fmod.c: Likewise.
4191 * math/w_fmodf.c: Likewise.
4192 * math/w_fmodl.c: Likewise.
4193 * math/w_remainder.c: Likewise.
4194 * math/w_remainderf.c: Likewise.
4195 * math/w_remainderl.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4197 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4198 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4200 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4201 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4202 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4203 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4204
187da0ae
UD
4205 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4206 of the number.
4207 * stdio-common/printf_fphex.c: Likewise.
4208 * stdio-common/printf_size.c: Likewise.
4209
9277c064
UD
4210 * math/e_exp10.c: Include math_private.h using <...> not "...".
4211 * math/e_exp10f.c: Likewise.
4212 * math/e_exp10l.c: Likewise.
4213 * math/e_exp2l.c: Likewise.
4214 * math/e_j0l.c: Likewise.
4215 * math/e_j1l.c: Likewise.
4216 * math/e_jnl.c: Likewise.
4217 * math/e_lgammal_r.c: Likewise.
4218 * math/e_rem_pio2l.c: Likewise.
4219 * math/e_scalb.c: Likewise.
4220 * math/e_scalbf.c: Likewise.
4221 * math/e_scalbl.c: Likewise.
4222 * math/k_cosl.c: Likewise.
4223 * math/k_sinl.c: Likewise.
4224 * math/k_tanl.c: Likewise.
4225 * math/s_cacoshf.c: Likewise.
4226 * math/s_catan.c: Likewise.
4227 * math/s_catanf.c: Likewise.
4228 * math/s_catanh.c: Likewise.
4229 * math/s_catanhf.c: Likewise.
4230 * math/s_catanhl.c: Likewise.
4231 * math/s_catanl.c: Likewise.
4232 * math/s_ccosh.c: Likewise.
4233 * math/s_ccoshf.c: Likewise.
4234 * math/s_ccoshl.c: Likewise.
4235 * math/s_cexp.c: Likewise.
4236 * math/s_cexpf.c: Likewise.
4237 * math/s_cexpl.c: Likewise.
4238 * math/s_clog.c: Likewise.
4239 * math/s_clog10.c: Likewise.
4240 * math/s_clog10f.c: Likewise.
4241 * math/s_clog10l.c: Likewise.
4242 * math/s_clogf.c: Likewise.
4243 * math/s_clogl.c: Likewise.
4244 * math/s_csin.c: Likewise.
4245 * math/s_csinf.c: Likewise.
4246 * math/s_csinh.c: Likewise.
4247 * math/s_csinhf.c: Likewise.
4248 * math/s_csinhl.c: Likewise.
4249 * math/s_csinl.c: Likewise.
4250 * math/s_csqrt.c: Likewise.
4251 * math/s_csqrtf.c: Likewise.
4252 * math/s_csqrtl.c: Likewise.
4253 * math/s_ctan.c: Likewise.
4254 * math/s_ctanf.c: Likewise.
4255 * math/s_ctanh.c: Likewise.
4256 * math/s_ctanhf.c: Likewise.
4257 * math/s_ctanhl.c: Likewise.
4258 * math/s_ctanl.c: Likewise.
4259 * math/s_ldexp.c: Likewise.
4260 * math/s_ldexpf.c: Likewise.
4261 * math/s_ldexpl.c: Likewise.
4262 * math/s_significand.c: Likewise.
4263 * math/s_significandf.c: Likewise.
4264 * math/s_significandl.c: Likewise.
4265 * math/w_acos.c: Likewise.
4266 * math/w_acosf.c: Likewise.
4267 * math/w_acosh.c: Likewise.
4268 * math/w_acoshf.c: Likewise.
4269 * math/w_acoshl.c: Likewise.
4270 * math/w_acosl.c: Likewise.
4271 * math/w_asin.c: Likewise.
4272 * math/w_asinf.c: Likewise.
4273 * math/w_asinl.c: Likewise.
4274 * math/w_atan2.c: Likewise.
4275 * math/w_atan2f.c: Likewise.
4276 * math/w_atan2l.c: Likewise.
4277 * math/w_atanh.c: Likewise.
4278 * math/w_atanhf.c: Likewise.
4279 * math/w_atanhl.c: Likewise.
4280 * math/w_cosh.c: Likewise.
4281 * math/w_coshf.c: Likewise.
4282 * math/w_coshl.c: Likewise.
4283 * math/w_dremf.c: Likewise.
4284 * math/w_exp10.c: Likewise.
4285 * math/w_exp10f.c: Likewise.
4286 * math/w_exp10l.c: Likewise.
4287 * math/w_exp2.c: Likewise.
4288 * math/w_exp2f.c: Likewise.
4289 * math/w_fmod.c: Likewise.
4290 * math/w_fmodf.c: Likewise.
4291 * math/w_fmodl.c: Likewise.
4292 * math/w_hypot.c: Likewise.
4293 * math/w_hypotf.c: Likewise.
4294 * math/w_hypotl.c: Likewise.
4295 * math/w_j0.c: Likewise.
4296 * math/w_j0f.c: Likewise.
4297 * math/w_j0l.c: Likewise.
4298 * math/w_j1.c: Likewise.
4299 * math/w_j1f.c: Likewise.
4300 * math/w_j1l.c: Likewise.
4301 * math/w_jn.c: Likewise.
4302 * math/w_jnf.c: Likewise.
4303 * math/w_jnl.c: Likewise.
4304 * math/w_lgamma.c: Likewise.
4305 * math/w_lgamma_r.c: Likewise.
4306 * math/w_lgammaf.c: Likewise.
4307 * math/w_lgammaf_r.c: Likewise.
4308 * math/w_lgammal.c: Likewise.
4309 * math/w_lgammal_r.c: Likewise.
4310 * math/w_log.c: Likewise.
4311 * math/w_log10.c: Likewise.
4312 * math/w_log10f.c: Likewise.
4313 * math/w_log10l.c: Likewise.
4314 * math/w_log2.c: Likewise.
4315 * math/w_log2f.c: Likewise.
4316 * math/w_log2l.c: Likewise.
4317 * math/w_logf.c: Likewise.
4318 * math/w_logl.c: Likewise.
4319 * math/w_pow.c: Likewise.
4320 * math/w_powf.c: Likewise.
4321 * math/w_powl.c: Likewise.
4322 * math/w_remainder.c: Likewise.
4323 * math/w_remainderf.c: Likewise.
4324 * math/w_remainderl.c: Likewise.
4325 * math/w_scalb.c: Likewise.
4326 * math/w_scalbf.c: Likewise.
4327 * math/w_scalbl.c: Likewise.
4328 * math/w_sinh.c: Likewise.
4329 * math/w_sinhf.c: Likewise.
4330 * math/w_sinhl.c: Likewise.
4331 * math/w_sqrt.c: Likewise.
4332 * math/w_sqrtf.c: Likewise.
4333 * math/w_sqrtl.c: Likewise.
4334 * math/w_tgamma.c: Likewise.
4335 * math/w_tgammaf.c: Likewise.
4336 * math/w_tgammal.c: Likewise.
4337
6a621eb7
UD
4338 * po/ja.po: Update from translation team.
4339
bf582445
AJ
43402011-09-29 Andreas Jaeger <aj@suse.de>
4341
f9efbf3a
AJ
4342 [BZ #13179]
4343 * sunrpc/netname.c (netname2host): Fix logic.
4344
bf582445
AJ
4345 [BZ #6779]
4346 [BZ #6783]
4347 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4348 correctly.
4349 * math/w_remainder.c (__remainder): Likewise.
4350 * math/w_remainderf.c (__remainderf): Likewise.
4351 * math/libm-test.inc (remainder_test): Add test cases.
4352
48693bea
AK
43532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4354
4355 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4356 sdiv_qrnnd.
4357
42622229
LD
43582011-10-07 Ulrich Drepper <drepper@gmail.com>
4359
4360 * string/test-memcmp.c: Avoid unncessary #defines.
4361 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4362
093ecf92
LD
43632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4364
4365 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4366 Use new sse2 version for core i3 - i7 as it's faster
4367 than sse42 version.
4368 (bit_Prefer_PMINUB_for_stringop): New.
4369 * sysdeps/x86_64/rawmemchr.S: Update.
4370 Replace with faster SSE2 version.
4371 * sysdeps/x86_64/memrchr.S: New file.
4372 * sysdeps/x86_64/memchr.S: Update.
4373 Replace with faster SSE2 version.
4374
fde56e5c
MP
43752011-09-12 Marek Polacek <mpolacek@redhat.com>
4376
4377 * elf/dl-load.c (lose): Add cast to avoid warning.
4378
21fd49a9
UD
43792011-10-07 Ulrich Drepper <drepper@gmail.com>
4380
5a06e643
UD
4381 * po/ca.po: Update from translation team.
4382
684ae515
UD
4383 * inet/getnetgrent_r.c: Hook up nscd.
4384 * nscd/Makefile (routines): Add nscd_netgroup.
4385 (nscd-modules): Add netgroupcache.
4386 (CFLAGS-netgroupcache.c): Define.
4387 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4388 (cache_search): Add const to second parameter.
4389 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4390 INNETGR.
4391 (dbs): Add netgrdb entry.
4392 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4393 (verify_persistent_db): Handle netgrdb.
4394 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4395 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4396 GETFDNETGR.
4397 (netgroup_response_header): Define.
4398 (innetgroup_response_header): Define.
4399 (datahead): Add netgroup_response_header and innetgroup_response_header
4400 elements.
4401 * nscd/nscd.conf: Add entries for netgroup cache.
4402 * nscd/nscd.h (dbtype): Add netgrdb.
4403 (_PATH_NSCD_NETGROUP_DB): Define.
4404 (netgroup_iov_disabled): Declare.
4405 (xmalloc, xcalloc, xrealloc): Move declarations here.
4406 (cache_search): Adjust prototype.
4407 Add netgroup-related prototypes.
4408 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4409 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4410 (__nscd_innetgr): Declare.
4411 * nscd/selinux.c (perms): Use access_vector_t as element type and
4412 add netgroup-related initializers.
4413 * nscd/netgroupcache.c: New file.
4414 * nscd/nscd_netgroup.c: New file.
4415 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4416 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4417 For four parameters use innetgr.
4418 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4419 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4420 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4421 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4422
21fd49a9
UD
4423 * nscd/connections.c (register_traced_file): Don't register file
4424 for disabled databases.
4425
054c0457
UD
44262011-10-06 Ulrich Drepper <drepper@gmail.com>
4427
32b63198
UD
4428 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4429
054c0457
UD
4430 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4431 from tree and freeing node.
4432
64031225
JO
44332011-09-25 Jiri Olsa <jolsa@redhat.com>
4434
4435 * nss/nsswitch.c (__nss_database_lookup): Handle
4436 nss_parse_service_list out of memory case.
4437
0490345c
JO
44382011-09-15 Jiri Olsa <jolsa@redhat.com>
4439
4440 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4441 out of memory case.
4442
3a62d00d
AS
44432011-10-04 Andreas Schwab <schwab@redhat.com>
4444
4445 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4446 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4447 pass it down.
4448 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4449 elf_machine_rela, elf_machine_lazy_rel.
4450 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4451 (ELF_DYNAMIC_DO_REL): Likewise.
4452 (ELF_DYNAMIC_DO_RELA): Likewise.
4453 (ELF_DYNAMIC_RELOCATE): Likewise.
4454 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4455 to ELF_DYNAMIC_DO_REL.
4456 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4457 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4458 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4459 elf_machine_rela.
4460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4461 skip_ifunc, don't call ifunc function if non-zero.
4462 (elf_machine_rela): Likewise.
4463 (elf_machine_lazy_rel): Likewise.
4464 (elf_machine_lazy_rela): Likewise.
4465 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4466 (elf_machine_lazy_rel): Likewise.
4467 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4468 Likewise.
4469 (elf_machine_lazy_rel): Likewise.
4470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4471 Likewise.
4472 (elf_machine_lazy_rel): Likewise.
4473 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4474 (elf_machine_lazy_rel): Likewise.
4475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4476 (elf_machine_lazy_rel): Likewise.
4477 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4478 (elf_machine_lazy_rel): Likewise.
4479 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4480 (elf_machine_lazy_rel): Likewise.
4481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4482 (elf_machine_lazy_rel): Likewise.
4483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4484 (elf_machine_lazy_rel): Likewise.
4485
68577918
UD
44862011-09-28 Ulrich Drepper <drepper@gmail.com>
4487
4488 * nss/nss_files/files-init.c (_nss_files_init): Use static
4489 initialization for all the *_traced_file variables.
4490
68822d74
AS
44912011-09-28 Andreas Schwab <schwab@redhat.com>
4492
4493 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4494
2056100b
RM
44952011-09-27 Roland McGrath <roland@hack.frob.com>
4496
4497 [BZ #13226]
4498 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4499
32c76b63
AS
45002011-09-27 Andreas Schwab <schwab@redhat.com>
4501
4502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4503 Reread the line before reparsing it.
4504
bf972c9d
AS
45052011-09-26 Andreas Schwab <schwab@redhat.com>
4506
4507 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4508
e057a1b5
JM
45092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4510 Maxim Kuvyrkov <maxim@codesourcery.com>
4511 Joseph Myers <joseph@codesourcery.com>
4512
4513 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4514 if needed for __stack_chk_guard.
4515
bc7e1c36
RM
45162011-09-19 Roland McGrath <roland@hack.frob.com>
4517
ecb1482f
RM
4518 * sysdeps/posix/spawni.c (script_execute): Always define it.
4519 It will be optimized away if unused.
4520 (maybe_script_execute): New function.
4521 (__spawni): Call it.
4522
bc7e1c36
RM
4523 * Makerules: Don't include tls.make.
4524 (config-tls): Always set to thread.
4525 * tls.make.c: File removed.
4526
1c3b002b
MF
45272011-09-19 Mike Frysinger <vapier@gentoo.org>
4528
4529 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4530 * config.make.in (CPPFLAGS-config): New substituted variable.
4531
2840865d
UD
45322011-09-15 Ulrich Drepper <drepper@gmail.com>
4533
88738eb6
UD
4534 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4535
cbf645a6 4536 [BZ #13192]
2840865d
UD
4537 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4538 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4539
b402e91a
RM
45402011-09-15 Roland McGrath <roland@hack.frob.com>
4541
4542 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4543 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4545 (CALL_FAIL): Likewise.
4546 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4547 (CALL_FAIL): Macro removed.
4548 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4549
4c1a1f71
UD
45502011-09-15 Ulrich Drepper <drepper@gmail.com>
4551
4552 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4553 for __FINITE_MATH_ONLY__ == 1.
4554
edc121be
AS
45552011-09-15 Andreas Schwab <schwab@redhat.com>
4556
4557 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4558 __ieee754_sqrt instead of sqrt.
4559 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4560 __ieee754_sqrtf instead of sqrtf.
4561 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4562 __floorf instead of floorf.
4563 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4564 __floorf, __truncf instead of floorf, truncf.
4565
cd205654
UD
45662011-09-14 Ulrich Drepper <drepper@gmail.com>
4567
ee4d0315
UD
4568 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4569
cd205654
UD
4570 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4571 __extern_always_inline.
4572 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4573 32-bit.
4574
48b67d71
AS
45752011-09-14 Andreas Schwab <schwab@redhat.com>
4576
4577 * elf/rtld.c (dl_main): Also relocate in dependency order when
4578 doing symbol dependency testing.
4579
1ae12c75
AS
45802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4581
4582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4583 Always define `refsym'.
4584
995a80df
AS
45852011-09-13 Andreas Schwab <schwab@redhat.com>
4586
e529793b
AS
4587 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4588 (__FD_ELT): Renamed from __FDELT.
4589 * misc/bits/select2.h (__FD_ELT): Likewise.
4590 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4591 __FD_MASK instead of __FDELT, __FDMASK.
4592 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4593 Likewise.
4594 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4595 Likewise.
4596
52d4fef8
AS
4597 * elf/Makefile (gen-ldd): Fix pattern.
4598
995a80df
AS
4599 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4600 (init_tls): Likewise.
4601
8682f8b0
UD
46022011-09-12 Ulrich Drepper <drepper@gmail.com>
4603
4604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4605
de82006d
AS
46062011-09-12 Andreas Schwab <schwab@redhat.com>
4607
a7c8e6a1
AS
4608 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4609 `struct cmsghdr *' instead of `void *'.
4610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4611 Likewise.
4612
0f31fe77
AS
46132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4614
4615 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4616 if non-absolute.
4617 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4618 ldd_rewrite_script.
0f31fe77 4619
32b4c839
UD
46202011-09-11 Ulrich Drepper <drepper@gmail.com>
4621
83cd1420
UD
4622 * configure.in: Remove --with-tls option.
4623 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4624 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4625 out in case it is missing.
4626 * sysdeps/ia64/elf/configure.in: Likewise.
4627 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4628 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4629 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4630 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4631 * sysdeps/sh/elf/configure.in: Likewise.
4632 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4633 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4634 * sysdeps/x86_64/elf/configure.in: Likewise.
4635 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4636 * sysdeps/mach/hurd/tls.h: Likewise.
4637
633f745d
UD
4638 [BZ #13067]
4639 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4640
f318beb8
UD
4641 [BZ #13090]
4642 * configure.in: Fix use of AC_INIT.
4643
32b4c839
UD
4644 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4645
3ce1f295
UD
46462011-09-10 Ulrich Drepper <drepper@gmail.com>
4647
bb016596
UD
4648 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4649 __set_errno.
8e58439c
UD
4650 * malloc/hooks.c: Likewise.
4651
aebae053 4652 [BZ #11929]
02d46fc4
UD
4653 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4654 variables statically.
4655 (narenas): Initialize.
4656 (list_lock): Initialize.
bb016596
UD
4657 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4658 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4659 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4660 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4661 Add initializers to main_arena and mp_.
4662 (malloc_state): Remove pagesize member. Change all users to use
4663 GLRO(dl_pagesize).
4664
4665 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4666 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4667 is always initialized.
4668
22a89187
UD
4669 * malloc/malloc.c: Removed unused configurations and dead code.
4670 * malloc/arena.c: Likewise.
4671 * malloc/hooks.c: Likewise.
02d46fc4 4672 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4673
d063d164
UD
4674 * include/tls.h: Removed. USE___THREAD must always be defined.
4675 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4676 * elf/dl-libc.c: Likewise.
4677 * elf/dl-tsd.c: Likewise.
4678 * include/errno.h: Likewise.
4679 * include/netdb.h: Likewise.
4680 * include/resolv.h: Likewise.
4681 * inet/herrno-loc.c: Likewise.
4682 * inet/herrno.c: Likewise.
4683 * malloc/arena.c: Likewise.
4684 * malloc/hooks.c: Likewise.
4685 * malloc/malloc.c: Likewise.
4686 * resolv/res-state.c: Likewise.
4687 * resolv/res_libc.c: Likewise.
4688 * sysdeps/i386/dl-machine.h: Likewise.
4689 * sysdeps/ia64/dl-machine.h: Likewise.
4690 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4691 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4692 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4693 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4694 * sysdeps/sh/dl-machine.h: Likewise.
4695 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4696 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4697 * sysdeps/unix/i386/sysdep.S: Likewise.
4698 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4699 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4704 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4709 * sysdeps/x86_64/dl-machine.h: Likewise.
4710 * tls.make.c: Likewise.
4711
3ce1f295
UD
4712 * configure.in: Remove --with-__thread option. Make tests for
4713 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4714 tls_model attribute fail if no support is available. Remove
4715 USE_IN_LIBIO.
4716 * Makeconfig: Adjust for dropped configure option. All features are
4717 now mandatory.
4718 * Makerules: Likewise.
4719 * Versions.def: Likewise.
4720 * argp/argp-fmtstream.c: Likewise.
4721 * argp/argp-fmtstream.h: Likewise.
4722 * argp/argp-help.c: Likewise.
4723 * assert/assert.c: Likewise.
4724 * config.h.in: Likewise.
4725 * config.make.in: Likewise.
4726 * configure: Likewise.
4727 * configure.in: Likewise.
4728 * csu/Versions: Likewise.
4729 * csu/init.c: Likewise.
4730 * elf/tst-audit2.c: Likewise.
4731 * elf/tst-tls10.c: Likewise.
4732 * elf/tst-tls10.h: Likewise.
4733 * elf/tst-tls11.c: Likewise.
4734 * elf/tst-tls12.c: Likewise.
4735 * elf/tst-tls14.c: Likewise.
4736 * elf/tst-tlsmod11.c: Likewise.
4737 * elf/tst-tlsmod12.c: Likewise.
4738 * elf/tst-tlsmod13.c: Likewise.
4739 * elf/tst-tlsmod13a.c: Likewise.
4740 * elf/tst-tlsmod14a.c: Likewise.
4741 * elf/tst-tlsmod15b.c: Likewise.
4742 * elf/tst-tlsmod16a.c: Likewise.
4743 * elf/tst-tlsmod16b.c: Likewise.
4744 * elf/tst-tlsmod7.c: Likewise.
4745 * elf/tst-tlsmod8.c: Likewise.
4746 * elf/tst-tlsmod9.c: Likewise.
4747 * gmon/gmon.c: Likewise.
4748 * grp/fgetgrent_r.c: Likewise.
4749 * grp/putgrent.c: Likewise.
4750 * hurd/fopenport.c: Likewise.
4751 * include/libc-symbols.h: Likewise.
4752 * include/tls.h: Likewise.
4753 * intl/gettextP.h: Likewise.
4754 * intl/loadinfo.h: Likewise.
4755 * locale/global-locale.c: Likewise.
4756 * locale/localeinfo.h: Likewise.
4757 * mach/devstream.c: Likewise.
4758 * malloc/arena.c: Likewise.
4759 * malloc/set-freeres.c: Likewise.
4760 * misc/err.c: Likewise.
4761 * misc/getttyent.c: Likewise.
4762 * misc/mntent_r.c: Likewise.
4763 * posix/getopt.c: Likewise.
4764 * posix/wordexp.c: Likewise.
4765 * pwd/fgetpwent_r.c: Likewise.
4766 * resolv/Versions: Likewise.
4767 * resolv/res_hconf.c: Likewise.
4768 * shadow/fgetspent_r.c: Likewise.
4769 * shadow/putspent.c: Likewise.
4770 * stdio-common/printf_fphex.c: Likewise.
4771 * stdio-common/tmpfile.c: Likewise.
4772 * stdlib/abort.c: Likewise.
4773 * stdlib/fmtmsg.c: Likewise.
4774 * sunrpc/auth_unix.c: Likewise.
4775 * sunrpc/clnt_perr.c: Likewise.
4776 * sunrpc/clnt_tcp.c: Likewise.
4777 * sunrpc/clnt_udp.c: Likewise.
4778 * sunrpc/clnt_unix.c: Likewise.
4779 * sunrpc/openchild.c: Likewise.
4780 * sunrpc/svc_simple.c: Likewise.
4781 * sunrpc/svc_tcp.c: Likewise.
4782 * sunrpc/svc_udp.c: Likewise.
4783 * sunrpc/svc_unix.c: Likewise.
4784 * sunrpc/xdr.c: Likewise.
4785 * sunrpc/xdr_array.c: Likewise.
4786 * sunrpc/xdr_rec.c: Likewise.
4787 * sunrpc/xdr_ref.c: Likewise.
4788 * sunrpc/xdr_stdio.c: Likewise.
4789
1248c1c4
PB
47902011-09-09 Ulrich Drepper <drepper@gmail.com>
4791
4792 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4793
47942011-07-03 Andreas Jaeger <aj@suse.de>
4795
4796 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4797 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4798 regenerate with gen-libm-tests.pl.
4799
48002010-05-12 Petr Baudis <pasky@suse.cz>
4801
4802 [BZ #11589]
4803 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4804 around j0() zero points by switching to j1().
4805 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4809
f22e1074
UD
48102011-09-09 Ulrich Drepper <drepper@gmail.com>
4811
f19009c1
UD
4812 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4813 instead of 0.
4814 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4815 instead of 0. .
4816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4817 Patch in part by Pavel Roskin <proski@gnu.org>.
4818
3f8cc204
UD
4819 [BZ #13138]
4820 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4821 realloc.
4822 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4823 Free memory block if necessary.
4824
f22e1074
UD
4825 [BZ #12847]
4826 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4827 be NULL. Don't lock in this case.
4828
0a2349f9
RM
48292011-09-09 Roland McGrath <roland@hack.frob.com>
4830
4831 * elf/elf.h (ELFOSABI_GNU): New macro.
4832 (ELFOSABI_LINUX): Define to that.
4833
f3cdd467
DZ
48342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4835
4836 * string/strncat.c (strncat): Undef the symbol in case it has been
4837 defined in bits/string.h.
4838
74718d13
UD
48392011-09-09 Ulrich Drepper <drepper@gmail.com>
4840
633e9e0f
UD
4841 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4842
0a2349f9 4843 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4844 link map.
4845
f9924780
AJ
48462011-08-17 Andreas Jaeger <aj@suse.de>
4847
4848 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4849
7f5517aa
PP
48502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4851 Ian Lance Taylor <iant@google.com>
4852
4853 * math/libm-test.inc (lround_test): New testcase.
4854 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4855
762011fe
UD
48562011-09-08 Ulrich Drepper <drepper@gmail.com>
4857
92963737
UD
4858 * Makefile: Remove support for automatic cvs check-ins.
4859 * Makerules: Likewise.
4860 * config.make.in: Likewise.
4861 * configure.in: Likewise.
4862 * intl/Makefile: Likewise.
4863 * locale/Makefile: Likewise.
4864 * po/Makefile: Likewise.
4865 * posix/Makefile: Likewise.
4866 * sysdeps/gnu/Makefile: Likewise.
4867 * sysdeps/mach/hurd/Makefile: Likewise.
4868 * sysdeps/sparc/sparc32/Makefile: Likewise.
4869
b0727fd8
JS
4870 [BZ #13118]
4871 * posix/Makefile (bug-regex32-ENV): Define.
4872 Patch by John Stanley <jpsinthemix@verizon.net>.
4873
a0f33f99
UD
4874 * misc/Makefile (headers): Add bits/select2.h.
4875 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4876 * misc/bits/select2.h: New file.
4877 * include/bits/select2.h: New file.
4878 * debug/Makefile (routines): Add fdelt_chk.
4879 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4880 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4881 FD_ISSET.
4882 * debug/fdelt_chk.c: New file.
4883
762011fe
UD
4884 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4885 * wcsmbs/test-wmemcmp.c: Likewise.
4886 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4887 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4888
48892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4890
4891 * string/Makefile (strop-tests): Add memcmp.
4892 * string/test-wmemcmp.c: New file.
4893 * string/test-memcmp.c: Add wmemcmp support.
4894
7f513ec8
RM
48952011-09-08 Roland McGrath <roland@hack.frob.com>
4896
0442afb4
RM
4897 [BZ #13153]
4898 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4899 2011-07-19 change.
4900
7f513ec8
RM
4901 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4902 garbage value in a __mach_port_mod_refs call in the cases of the
4903 task-self and thread-self ports.
4904
a12b2239
ST
49052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4906
4907 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4908
610f9ab4
AS
49092011-09-08 Andreas Schwab <schwab@redhat.com>
4910
7f513ec8 4911 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4912
48882a1a
LD
49132011-09-07 Ulrich Drepper <drepper@gmail.com>
4914
b49865be
UD
4915 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4916
fdc86bc9
UD
4917 * elf/dl-libc.c (dlerror_run): Pass back error code from
4918 dl_catch_error.
4919
c966526a
UD
4920 [BZ #13123]
4921 * elf/dl-load.c (lose): Free l_origin if it is valid.
4922
48882a1a
LD
4923 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4924 names.
4925 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4930 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4931
77a2a8b4
AZ
49322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933
4934 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4935 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4936 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4937 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4938 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4939 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4940 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4941 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4942 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4943 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4944
24f579d8
AM
49452011-08-15 Alan Modra <amodra@gmail.com>
4946
4947 [BZ #13092]
4948 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4949 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4950 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4951 ppc_mcount to static-only-routines.
4952 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4953 __mcount_internal.
4954 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4955 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4956
3d4837df
UD
49572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4958
4959 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4960 for finite and infinity parameters.
4961
22700377
WS
49622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4963
4964 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4965 and add nop instructions for throughput optimization.
4966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4967
5025581e
WS
49682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4969
4970 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4971 aligned copy for power7 with vector-scalar instructions.
4972 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4973
08a300c9
L
49742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4975
4976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4977 AVX check.
4978
59178ef9
AS
49792011-09-07 Andreas Schwab <schwab@redhat.com>
4980
4981 [BZ #13144]
4982 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4983 last change.
4984
e38ba7ab
UD
49852011-09-07 Ulrich Drepper <drepper@gmail.com>
4986
4987 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4988 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4989 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4990 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4991 clock_gettime.
4992
d53a73ac
UD
49932011-09-06 Ulrich Drepper <drepper@gmail.com>
4994
fc8bffcc
UD
4995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4996 Forgot to demangle the pointer.
4997
ceaa0c5d
UD
4998 * sysdeps/i386/sysdep.h: Define atom_text_section.
4999 * sysdeps/x86_64/sysdep.h: Likewise.
5000 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5001 section with atom_text_section.
5002 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5004 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5005 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5006 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5007
a77d3c17
UD
5008 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5009 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5010 already be defined. Change to take two parameters and don't assign
5011 result to variable. Adjust all users.
5012 Define INTERNAL_GETTIME if not already defined.
5013 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5014 call.
5015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5016 HAVE_CLOCK_GETTIME_VSYSCALL.
5017 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5018
d53a73ac
UD
5019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5020 gettimeofday vsyscall, just use time.
5021
a8f84144
AS
50222011-09-06 Andreas Schwab <schwab@redhat.com>
5023
5024 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5025 <errno.h>.
5026
ef606249
UD
50272011-09-06 Ulrich Drepper <drepper@gmail.com>
5028
5029 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5030 syscall on x86-64.
5031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5032 syscall.
5033 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5034 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5035 syscall if possible.
5036
6585cb60
UD
50372011-09-05 Ulrich Drepper <drepper@gmail.com>
5038
5039 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5040 e_ident. Don't pass to find_mapsXX.
5041 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5042
a5f524e4
LD
50432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5044
5045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5046 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5047 * sysdeps/x86_64/multiarch/strchr.S: Update.
5048 Check bit_slow_BSF bit.
5049 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5050 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5051 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5052
554881ef
UD
50532011-09-05 Ulrich Drepper <drepper@gmail.com>
5054
d96de963
UD
5055 [BZ #13134]
5056 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5057 before glibc 2.15.
5058 (tryshell): Define.
5059 (__spawni): Change last parameter to be flag. Test
5060 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5061 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5062 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5063 * posix/spawni.c: Likewise.
5064 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5065 * posix/spawnp.c: Likewise. Change normal version to use
5066 SPAWN_XFLAGS_USE_PATH.
5067 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5068 SPAWN_XFLAGS_TRY_SHELL.
5069
d48e5868
UD
5070 [BZ #13150]
5071 * posix/glob.h: Remove gcc 1.x support.
5072
554881ef
UD
5073 [BZ #13068]
5074 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5075
693fb948
LD
50762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5077
5078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5079 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5080 strrchr-sse2-bsf
5081 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5082 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5083 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5084 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5085 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5086 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5087
1b48c537
UD
50882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5089
49d42c37
UD
5090 * sysdeps/x86_64/wcscmp.S: New file.
5091
1b48c537
UD
5092 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5093 wcscmp-c wcscmp-sse2
5094 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5095 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5096 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5097 * wcsmbs/wcscmp.c: Allow renaming.
5098
15c95c5d
DM
50992011-09-05 David S. Miller <davem@davemloft.net>
5100
5101 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5102 stack slot, rather than the struct return pointer slot.
5103 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5104 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5106 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5107
2f0ad8f3
UD
51082011-09-05 Ulrich Drepper <drepper@gmail.com>
5109
d88ae418
UD
5110 * po/ja.po: Update from translation team.
5111
2f0ad8f3
UD
5112 [BZ #13144]
5113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5114 kernel in 64-bit binaries.
5115
5f4318d1
DM
51162011-09-01 David S. Miller <davem@davemloft.net>
5117
5118 * elf/elf.h (HWCAP_SPARC_*): Move to..
5119 * sysdeps/sparc/sysdep.h: this new file and add new values.
5120 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5121 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5122 _DL_HWCAP_COUNT to 24.
5123 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5124 entries.
5125 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5126 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5127 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5129 instead of magic constants.
5130 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5131
3ba57516
DM
51322011-08-31 David S. Miller <davem@davemloft.net>
5133
5134 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5136 Reimplement to do errno handling inline.
5137 (SYSCALL_ERROR_HANDLER): New macro.
5138 (__SYSCALL_STRING): Do not do errno handling in asm.
5139 (__CLONE_SYSCALL_STRING): Delete.
5140 (__INTERNAL_SYSCALL_STRING): Delete.
5141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5142 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5143 (PSEUDO): Reimplement to do errno handling inline.
5144 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5145 (SYSCALL_ERROR_HANDLER): New macro.
5146 (__SYSCALL_STRING): Do not do errno handling in asm.
5147 (__CLONE_SYSCALL_STRING): Delete.
5148 (__INTERNAL_SYSCALL_STRING): Delete.
5149 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5150 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5151 i386.
5152 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5153 (inline_syscall*): Add 'err' argument.
5154 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5155 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5156 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5157 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5158
5159 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5160 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5161
2bc17433
AS
51622011-08-30 Andreas Schwab <schwab@redhat.com>
5163
5164 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5165
fbeb5f4d
JO
51662011-08-29 Jiri Olsa <jolsa@redhat.com>
5167
5168 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5169 directive.
5170
ad69cc26
DM
51712011-08-24 David S. Miller <davem@davemloft.net>
5172
5173 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5174
39dd69df
AS
51752011-08-24 Andreas Schwab <schwab@redhat.com>
5176
5177 * elf/Makefile: Add rules to build and run unload8 test.
5178 * elf/unload8.c: New file.
5179 * elf/unload8mod1.c: New file.
5180 * elf/unload8mod1x.c: New file.
5181 * elf/unload8mod2.c: New file.
5182 * elf/unload8mod3.c: New file.
5183
5184 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5185 it wasn't used.
5186
2c0b250a
DM
51872011-08-23 David S. Miller <davem@davemloft.net>
5188
5189 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5190 subtract stack bias.
5191 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5192 %sp not %fp in calculations.
5193 (_JMPBUF_UNWINDS_ADJ): Likewise.
5194
22044b48
DM
5195 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5196 (aio_suspend): Call it to force an exception region around the
5197 AIO_MISC_WAIT() invocation.
5198
2cae4995
AS
51992011-08-23 Andreas Schwab <schwab@redhat.com>
5200
5201 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5202 backslash.
5203
873a772e
AJ
52042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5205
5206 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5207 protection macro.
5208 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5209 and <dl-machine.h>.
5210 (Elf64_FuncDesc): Remove.
5211
25ad0df1
DM
52122011-08-22 David S. Miller <davem@davemloft.net>
5213
5214 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5215 sigaltstack check, add missing cfi directives.
5216 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5217 missing cfi directives, and sigaltstack handling.
5218
e888bcbe
AS
52192011-08-16 Andreas Schwab <schwab@redhat.com>
5220
5221 [BZ #11724]
5222 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5223 object is seen twice.
5224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5225
5226 * elf/Makefile (distribute): Add tst-initorder2.c.
5227 (tests): Add tst-initorder2.
5228 (modules-names): Add tst-initorder2a tst-initorder2b
5229 tst-initorder2c tst-initorder2d. Add rules to build them.
5230 ($(objpfx)tst-initorder2.out): New rule.
5231 * elf/tst-initorder2.c: New file.
5232 * elf/tst-initorder2.exp: New file.
5233
87162f46
AS
52342011-08-22 Andreas Schwab <schwab@redhat.com>
5235
70538b7f
AS
5236 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5237
f55ffe58
AS
5238 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5239 dependencies back to end of function.
5240
87162f46
AS
5241 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5242 $(elfobjdir)/ld.so.
5243
91b392a4
UD
52442011-08-21 Ulrich Drepper <drepper@gmail.com>
5245
5246 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5247 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5249 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5250 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5251 of __vdso_gettimeofday.
5252 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5253 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5254 attribute_hidden.
5255 (_libc_vdso_platform_setup): Remove initialization of
5256 __vdso_gettimeofday and __vdso_time.
5257
5c43483f
UD
52582011-08-20 Ulrich Drepper <drepper@gmail.com>
5259
775a77e7
UD
5260 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5261 and fgetc_unlocked.
5262 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5263 getc_unlocked.
89f447ed 5264
49c74ba9
UD
5265 * elf/dl-open.c (add_to_global): Report additions to the global scope
5266 for LD_DEBUG=scopes.
5267 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5268 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5269
5c43483f
UD
5270 [BZ #13114]
5271 * stdio-common/Makefile (tests): Add bug24.
5272 * stdio-common/bug24.c: New file.
5273
a101b025
AJ
52742011-08-19 Andreas Jaeger <aj@suse.de>
5275
5276 [BZ #13114]
5277 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5278 non-existant file when using close-on-exec mode.
5279
c88f1766
UD
52802011-08-20 Ulrich Drepper <drepper@gmail.com>
5281
0276a718
UD
5282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5283 the very first instruction.
5284
c88f1766
UD
5285 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5286 the CFI state in the end.
5287 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5288 inclusion of dl-trampoline.h.
5289 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5290
51ccffa0
AS
52912011-08-19 Andreas Schwab <schwab@redhat.com>
5292
94d7165f
AS
5293 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5294 expectations for long double.
5295
51ccffa0
AS
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5297 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5298
fd708658 52992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5300
5301 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5302 artificual limit depends upon the system page size.
5303
44f0a71e
UD
53042011-08-17 Ulrich Drepper <drepper@gmail.com>
5305
5306 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5307 * resolv/Makefile: Define CFLAGS-libresolv.
5308
8de79a24
AS
53092011-08-17 Andreas Schwab <schwab@redhat.com>
5310
5311 * nss/makedb.c (compute_tables): Make variables used in nested
5312 function static.
5313
27724598
UD
53142011-08-17 Ulrich Drepper <drepper@gmail.com>
5315
c5305d88
UD
5316 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5317 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5318 if buffer was too small.
5319
27724598
UD
5320 * elf/pldd.c (main): Attach to all threads in the process.
5321 Rewrite /proc handling to use *at functions.
5322
076fe015
UD
53232011-08-16 Ulrich Drepper <drepper@gmail.com>
5324
174baab3
UD
5325 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5326 specifies first scope to show.
5327 (dl_open_worker): Update callers. Move printing scope of new
5328 object to before the relocation.
44f0a71e 5329 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5330 * sysdeps/generic/ldsodefs.h: Update declaration.
5331
076fe015
UD
5332 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5333 string for the scope number.
5334
a60df2c3
UD
53352011-08-14 Ulrich Drepper <drepper@gmail.com>
5336
5337 * nscd/servicescache.c (cache_addserv): Make sure written is always
5338 initialized.
5339
5e4287d1
RM
53402011-08-14 Roland McGrath <roland@hack.frob.com>
5341
85ae0589
RM
5342 * sysdeps/i386/i486/bits/atomic.h
5343 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5344 statement expression, so as to suppress "set but not used" warning.
5345 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5346
69f63097
RM
5347 * string/strncat.c (STRNCAT): Use prototype definition.
5348
675456ef
RM
5349 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5350 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5351 -Iprograms here.
5352 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5353 (localedef-modules): Add localedef.
5354 (locale-modules): Add locale.
5355
5e4287d1
RM
5356 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5357 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5358 to avoid a warning.
5359
9c96ff23
DM
53602011-08-14 David S. Miller <davem@davemloft.net>
5361
5362 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5363 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5364
f9ddf089
UD
53652011-08-13 Ulrich Drepper <drepper@gmail.com>
5366
44f0a71e 5367 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5368 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5369 * elf/rtld.c (dl_main): Set l_name of vDSO.
5370 Call _dl_show_scope when DL_DEBUG_SCOPES.
5371 (process_dl_debug): Recognize scopes flag and also set it for all.
5372 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5373 Declare _dl_show_scope.
5374
1dc27704
UD
5375 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5376 (do_dlopen): Pass caller_dlopen to dl_open.
5377 (__libc_dlopen_mode): Initialize caller_dlopen.
5378
f9ddf089
UD
5379 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5380 of libc. Make tolower call locale-independent. Optimize a bit by
5381 using isdigit instead of isalnum.
5382 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5383
9ac533d3
UD
53842011-08-12 Ulrich Drepper <drepper@gmail.com>
5385
5386 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5387 was a dependency or dynamically loaded.
5388
89edf2e9
UD
53892011-08-11 Ulrich Drepper <drepper@gmail.com>
5390
8e999d29
UD
5391 * intl/l10nflist.c: Allow architecture-specific pop function.
5392 * sysdeps/x86_64/l10nflist.c: New file.
5393
89edf2e9
UD
5394 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5395 classification.
5396
14d96785
AS
53972011-08-10 Andreas Schwab <schwab@redhat.com>
5398
5399 * include/dirent.h: Add libc_hidden_proto for scandirat and
5400 scandirat64. Don't declare __scandirat64.
5401 * dirent/scandirat.c: Add libc_hidden_def.
5402 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5403 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5404
6761ac04
DM
54052011-08-10 David S. Miller <davem@davemloft.net>
5406
5407 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5408 enum.
5409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5411 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5412
c55fbd1e
UD
54132011-08-09 Ulrich Drepper <drepper@gmail.com>
5414
5415 * Versions.def [libc]: Add GLIBC_2.15.
5416 * dirent/Makefile (routines): Add scandirat and scandirat64.
5417 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5418 GLIBC_2.15.
5419 * dirent/dirent.h: Declare scandirat and scandirat64.
5420 * dirent/scandirat.c: New file.
5421 * dirent/scandirat64.c: New file.
5422 * sysdeps/wordsize-64/scandirat.c: New file.
5423 * sysdeps/wordsize-64/scandirat64.c: New file.
5424 * dirent/opendir.c: Define opendirat.
5425 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5426 using scandirat.
5427 * dirent/scandir64.c: Adjust for scandir.c change.
5428 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5429 __scandirat64, and __scandir_cancel_handler.
5430 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5431 additional parameter and use openat instead of open (outside of ld.so).
5432 Add new __opendir as wrapper around __opendirat.
5433 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5434 here without requiring old scandirat implementation.
5435
879165f2
UD
54362011-08-08 Ulrich Drepper <drepper@gmail.com>
5437
5438 * dirent/scandir.c (cancel_handler): Renamed to
5439 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5440 defined. Adjust users.
5441 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5442 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5443
cb7e923b
UD
54442011-08-04 Ulrich Drepper <drepper@gmail.com>
5445
16292edd
UD
5446 * string/test-string.h (IMPL): Use __STRING to expand name and then
5447 stringify it.
5448
cb7e923b
UD
5449 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5450 of cleanups.
5451
cff82933
LD
54522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5453
5454 * string/Makefile: Update.
5455 (strop-tests): Append strncat.
5456 * string/test-wcscmp.c: New file.
5457 New comprehensive test for wcscmp.
5458 * string/test-strcmp.c: Update.
5459 (WIDE): New define.
5460
9be9bfcc
AS
54612011-07-22 Andreas Schwab <schwab@redhat.com>
5462
5463 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5464 line.
5465
2e96f1c7
AS
54662011-07-26 Andreas Schwab <schwab@redhat.com>
5467
5468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5469 encoding to ACE if AI_IDN.
5470
85188888
JJ
54712011-08-01 Jakub Jelinek <jakub@redhat.com>
5472
5473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5474 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5475
5fa16e9b
LD
54762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5477
5478 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5479 Fix overflow bug in strncat.
5480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5481
5482 * string/test-strncat.c: Update.
5483 Add new tests for checking overflow bugs.
5484
54852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5486
5487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5488 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5489 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5490 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5491 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5492 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5493 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5494 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5495 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5496
5497 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5498 (USE_AS_STRCAT): Define.
5499 Add strcat and strncat support.
5500 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5501
8c1a459f
AS
55022011-07-25 Andreas Schwab <schwab@redhat.com>
5503
5504 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5505 __n bigger than INT_MAX+1.
5506 (__strncmp_g): Likewise.
5507
bba33c28
UD
55082011-07-23 Ulrich Drepper <drepper@gmail.com>
5509
798be72d
UD
5510 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5511 * libio/stido.h: Likewise.
5512
8accd4dc
UD
5513 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5514 (AF_NFC): Define.
5515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5516 (AF_NFC): Define.
5517
cbff0d96
UD
5518 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5520 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5521 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5523
9191c04a
UD
5524 [BZ #13021]
5525 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5526 installed.
5527
bba33c28
UD
5528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5529 typo.
5530 (_dl_x86_64_save_sse): Likewise.
5531
90f139dd
UD
55322011-07-22 Ulrich Drepper <drepper@gmail.com>
5533
1aae088a
UD
5534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5535 OSXSAVE.
5536 (_dl_x86_64_save_sse): Likewise.
5537
8e2045f5
UD
5538 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5539
90f139dd
UD
5540 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5541
1d002f25
AS
55422011-07-21 Andreas Schwab <schwab@redhat.com>
5543
5544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5545 change.
5546 (_dl_x86_64_save_sse): Use correct AVX check.
5547
21137f89
UD
55482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5549
5550 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5551 bug in strncpy/strncat.
5552 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5553
a65c0b7a
UD
55542011-07-21 Ulrich Drepper <drepper@gmail.com>
5555
5556 * string/tester.c (test_strcat): Add tests for different alignments
5557 of source and destination.
5558 (test_strncat): Likewise.
5559
6986b98a
UD
55602011-07-20 Ulrich Drepper <drepper@gmail.com>
5561
90bb2039
UD
5562 [BZ #12852]
5563 * posix/glob.c (glob): Check passed in values before using them in
5564 expressions to avoid some overflows.
5565 (glob_in_dir): Likewise.
5566
5644ef54
UD
5567 [BZ #13007]
5568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5569 check for AVX enablement so that we don't crash with old kernels and
5570 new hardware.
5571 * elf/tst-audit4.c: Add same checks here.
5572 * elf/tst-audit6.c: Likewise.
5573
5574 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5575
bfc9dc9b
AS
55762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5577
5578 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5579
702e64bb
UD
55802011-07-20 Ulrich Drepper <drepper@gmail.com>
5581
5582 * po/cs.po: Update from translation team.
5583 * po/bg.po: Likewise.
5584
295e904f
MP
55852011-07-12 Marek Polacek <mpolacek@redhat.com>
5586
5587 * misc/sys/cdefs.h: Add support for const attribute.
5588 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5589 to gnu_dev_{major,minor,makedev} functions.
5590
3ff94596
MP
55912011-07-20 Marek Polacek <mpolacek@redhat.com>
5592
5593 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5594
28b59fca
AS
55952011-07-20 Andreas Schwab <schwab@redhat.com>
5596
5597 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5598 strlen results.
5599
19df733e
AK
56002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5601
5602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5603 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5604 register in order to avoid conflicts with the soft frame pointer
5605 being held in r11 when necessary.
5606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5607 (INTERNAL_VSYSCALL_NCS): Likewise.
5608
c8835729
MP
56092011-07-14 Marek Polacek <mpolacek@redhat.com>
5610
5611 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5612 * elf/dl-fini.c (_dl_fini): Adjust caller.
5613 * elf/dl-close.c (_dl_close_worker): Likewise.
5614 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5615
b902330c
MP
56162011-07-15 Marek Polacek <mpolacek@redhat.com>
5617
8991e135
MP
5618 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5619 "aux_cache->nlibs < 0".
5620
b902330c
MP
5621 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5622 in the reload-count case.
5623
99710781
LD
56242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5625
5626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5627 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5628 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5629 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5630 * sysdeps/x86_64/multiarch/strcat.S: New file.
5631 * sysdeps/x86_64/multiarch/strncat.S: New file.
5632 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5633 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5634 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5635 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5637 (USE_AS_STRCAT): Define.
5638 Add strcat and strncat support.
5639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5640 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5641 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5642 * string/strncat.c: Update.
5643 (USE_AS_STRNCAT): Define.
5644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5645 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5646 and i7.
5647 * sysdeps/x86_64/multiarch/init-arch.h
5648 (bit_Prefer_PMINUB_for_stringop): New.
5649 (index_Prefer_PMINUB_for_stringop): Likewise.
5650 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5651 bit_Prefer_PMINUB_for_stringop.
5652
7dc6bd90
UD
56532011-07-19 Ulrich Drepper <drepper@gmail.com>
5654
5655 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5656 buffer64.
5657 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5658 of casting of buffer.
5659 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5660 buffer32 and buffer64.
5661 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5662 writes instead of casting of buffer.
5663 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5664 buffer32.
5665 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5666 casting of buffer.
5667
e0e72284
AS
56682011-07-19 Andreas Schwab <schwab@redhat.com>
5669
5670 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5671
feb1eb0b
UD
56722011-07-19 Ulrich Drepper <drepper@gmail.com>
5673
5674 * nscd/nscd.c (termination_handler): Don't do anything for a database
5675 if it has not yet been initialized.
5676
298711ff
UD
56772011-07-18 Ulrich Drepper <drepper@gmail.com>
5678
5679 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5680
56812011-07-15 Marek Polacek <mpolacek@redhat.com>
5682
5683 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5684
f9d68389
UD
56852011-07-18 Ulrich Drepper <drepper@gmail.com>
5686
5687 * po/nl.po: Update from translation team.
5688 * po/sv.po: Likewise.
5689
db290cf5
RM
56902011-07-16 Roland McGrath <roland@hack.frob.com>
5691
5692 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5693 now disallowed by GCC.
5c550700 5694
fd5e21c7
RM
5695 * configure.in (use-default-link): Default to yes if a test -shared
5696 link meets our qualifications.
5697 * configure: Regenerated.
5698
5c550700
RM
5699 * config.make.in (output-format): New variable.
5700 * configure.in: Check for ld --print-output-format support.
5701 * configure: Regenerated.
5702 * Makerules ($(common-objpfx)format.lds)
5703 [$(output-format) != unknown]: Just use $(output-format),
5704 instead of the linker-script munging.
5705
9fa2c032
RM
57062011-07-14 Roland McGrath <roland@hack.frob.com>
5707
a6928d51
RM
5708 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5709 of $(common-objpfx)shlib.lds.
5710 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5711
661607b3
RM
5712 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5713 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5714
9fa2c032
RM
5715 * configure.in (-z relro check): Adjust test code to add a large
5716 writable data section after it.
5717 * configure: Regenerated.
5718
defe9061
RM
57192011-07-11 Roland McGrath <roland@hack.frob.com>
5720
5721 * configure.in (-z relro check): Fix test code to make the variable
5722 truly const.
5723 * configure: Regenerated.
5724
319b9ad4
UD
57252011-07-11 Ulrich Drepper <drepper@gmail.com>
5726
5727 * nscd/nscd.h (struct traced_file): Define.
5728 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5729 elements. Add traced_files.
5730 (inotify_fd): Declare.
5731 (register_traced_file): Declare.
5732 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5733 (inotify_fd): Export.
5734 (resolv_conf_descr): Remove.
5735 (nscd_init): Move inotify descriptor creation to main.
5736 Don't register files for notification here.
5737 (register_traced_file): New function.
5738 (invalidate_cache): Don't use reset_res to determine whether to call
5739 res_init, go through the list of registered files.
5740 (main_loop_poll): The inotify descriptors are now stored in the
5741 structures for the traced files.
5742 (main_loop_epoll): Likewise
5743 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5744 to __nss_disable_nscd.
5745 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5746 for a database anymore. Check the records for all the registered
5747 files instead.
5748 * nss/Makefile (libnss_files-routines): Add files-init.
5749 (libnss_db-routines): Add db-init.
5750 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5751 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5752 * nss/nss_db/db-init.c: New file.
5753 * nss/nss_files/files-init.c: New file.
5754 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5755 __nss_lookup_function.
5756 (__nss_lookup_function): Call nss_load_library.
5757 (nss_load_all_libraries): New function.
5758 (__nss_disable_nscd): Take parameter with callback function for files
5759 to register. Set is_nscd. Load all the DSOs for the NSS modules
5760 used for the cached services.
5761 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5762 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5763 options for features to all the files in nscd.
5764
5765 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5766
23bee3e8
RM
57672011-07-10 Roland McGrath <roland@hack.frob.com>
5768
5769 * csu/elf-init.c (__libc_csu_init): Comment typo.
5770
46a5b7f0
UD
57712011-07-09 Ulrich Drepper <drepper@gmail.com>
5772
5773 * po/pl.po: Update from translation team.
5774 * po/ja.po: Likewise.
5775 * po/ru.po: Likewise.
5776 * po/ko.po: Likewise.
5777 * po/fr.po: Likewise.
5778
d30cf5bb
RM
57792011-07-09 Roland McGrath <roland@hack.frob.com>
5780
113ddea4
RM
5781 * configure.in (.ctors/.dtors header and trailer check):
5782 Use an empirical test on a built program.
5783 * configure: Regenerated.
5784
574920b4
RM
5785 * configure.in (-z relro check): Use an empirical test on a built DSO.
5786 Detect, but do not require, on ia64.
5787 * configure: Regenerated.
5788
d30cf5bb
RM
5789 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5790 Update tests that use readelf to use $READELF instead.
5791 * configure: Regenerated.
5792
8538fdb3
UD
57932011-07-08 Ulrich Drepper <drepper@gmail.com>
5794
5795 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5796 if the result is not used.
5797
04d08991
AJ
57982011-07-05 Andreas Jaeger <aj@suse.de>
5799
5800 [BZ#9696]
5801 * stdlib/tst-strtod.c: Add testcase.
5802
de283087
AD
58032011-07-07 Ulrich Drepper <drepper@gmail.com>
5804
4e5f31c8 5805 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5806 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5807 The latter has a higher limit. Take additional parameter to pass to
5808 the new function.
5809 (__pathconf): Pass file to __statfs_link_max.
5810 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5811 __statfs_link_max.
5812 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5813 __statfs_link_max.
5814
de283087
AD
5815 [BZ #12868]
5816 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5818 Handle Lustre.
5819 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5820 (__statfs_filesize_max): Likewise.
5821 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5822
c75fa153
AJ
58232011-07-05 Andreas Jaeger <aj@suse.de>
5824
5825 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5826
1a544854
UD
58272011-07-06 Marek Polacek <mpolacek@redhat.com>
5828
5829 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5830 `status' variable.
5831 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5832 Likewise.
5833
6f0eec67
UD
58342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5835
5836 * Makefile (strop-tests): Add strncat.
5837 * string/test-strncat.c: New file.
5838
aae30307
UD
58392011-06-30 Marek Polacek <mpolacek@redhat.com>
5840
5841 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5842
c0cfb5eb
UD
58432011-06-21 Andreas Jaeger <aj@suse.de>
5844
5845 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5846 Copy rule from iconvdata/Makefile.
5847
01636b21
UD
58482011-07-06 Ulrich Drepper <drepper@gmail.com>
5849
5850 [BZ #12922]
5851 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5852 but no long options are defined, just return 'W'.
5853
9895c8bc
UD
58542011-06-22 Marek Polacek <mpolacek@redhat.com>
5855
5856 [BZ #9696]
5857 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5858
5d4cf042
UD
58592011-07-06 Ulrich Drepper <drepper@gmail.com>
5860
5861 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5862 netgroups to read.
960e5535 5863 (innetgr): Likewise.
5d4cf042 5864
751eb97e
RM
58652011-07-05 Roland McGrath <roland@hack.frob.com>
5866
5867 * config.make.in (install_root): Default to $(DESTDIR).
5868
f15f1e45
UD
58692011-07-05 Ulrich Drepper <drepper@gmail.com>
5870
5871 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5872
4e34ac6a
RM
58732011-07-02 Roland McGrath <roland@hack.frob.com>
5874
5e9b6af4
RM
5875 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5876
84f9ea0f
RM
5877 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5878 containing directory rather than embedding absolute directory names.
5879
ea5ee9f7
RM
5880 * scripts/check-local-headers.sh: Rewritten using awk.
5881 Match by word, not by line. Print error messages for matches.
5882 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5883
1b74661a
RM
5884 * Makerules [shlib-lds-flags empty]:
5885 ($(common-objpfx)libc_pic.opts): New target.
5886 ($(common-objpfx)libc_pic.os.clean): New target.
5887 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5888
5889 * config.make.in (OBJCOPY): New variable.
5890 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5891 * configure: Regenerated.
5892
f781ef40
RM
5893 * config.make.in (use-default-link): New variable.
5894 * configure.in (use_default_link): Grok --with-default-link to set it.
5895 * configure: Regenerated.
5896 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5897 (shlib-lds, shlib-lds-flags): Define to empty.
5898
2d4fa81e
RM
5899 * Makerules (shlib-lds): New variable.
5900 (shlib-lds-flags): New variable.
5901 (build-shlib, build-moduile, build-module-asneeded): Use it.
5902 ($(common-objpfx)libc.so): Use $(shlib-lds).
5903 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5904 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5905
31fffa6b
RM
5906 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5907 DT_FLAGS/DT_FLAGS_1 with zero flags.
5908
4e34ac6a
RM
5909 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5910 linker script munging.
5911
fcfc776b
UD
59122011-07-02 Ulrich Drepper <drepper@gmail.com>
5913
5914 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5915 as 128-bit value.
5916 * crypt/sha512.c (sha512_process_block): Perform total addition using
5917 128-bit if possible.
5918 (__sha512_finish_ctx): Likewise.
5919 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5920 as 64-bit value.
5921 * crypt/sha256.c (SWAP64): Define.
5922 (sha256_process_block): Perform total addition using 64-bit if
5923 possible.
5924 (__sha256_finish_ctx): Likewise.
5925
99231d9a
UD
59262011-07-01 Ulrich Drepper <drepper@gmail.com>
5927
5928 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5929 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5930 * nscd/hstcache.c (cache_addhst): Likewise.
5931 * nscd/grpcache.c (cache_addgr): Likewise.
5932 * nscd/aicache.c (addhstaiX): Likewise
5933 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5934
445b4a53
TK
59352011-07-01 Thorsten Kukuk <kukuk@suse.de>
5936
5937 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5939 * nscd/hstcache.c (cache_addhst): Likewise.
5940 * nscd/grpcache.c (cache_addgr): Likewise.
5941 * nscd/aicache.c (addhstaiX): Likewise
5942
6d4d8e8e
AS
59432011-07-01 Andreas Schwab <schwab@redhat.com>
5944
5945 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5946 domain only when needed.
5947
89f654c5
AS
59482011-06-30 Andreas Schwab <schwab@redhat.com>
5949
5950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5951 is always restored.
5952
cf3b23ff
UD
59532011-06-29 Ulrich Drepper <drepper@gmail.com>
5954
5955 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5956 are re-adding the entry.
5957 * nscd/servicescache.c (cache_addserv): Likewise.
5958
751626f9
AJ
59592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5960
5961 * sysdeps/generic/dl-irel.h: fix protection against multiple
5962 inclusions.
5963 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5964
9113ea1f
UD
59652011-06-28 Ulrich Drepper <drepper@gmail.com>
5966
5c0b8d90
UD
5967 [BZ #12935]
5968 * malloc/memusage.sh: Fix quoting in message.
5969 * debug/xtrace.sh: Likewise.
5970
9113ea1f
UD
5971 * configure.in: Remove support for --experimental-malloc option, make
5972 it the default.
5973 * config.make.in: Likewise.
5974 * malloc/Makefile: Likewise.
5975
a4172181
AS
59762011-06-27 Andreas Schwab <schwab@redhat.com>
5977
5978 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5979 two-byte characters.
5980
78a7eee7
RM
59812011-06-27 Roland McGrath <roland@hack.frob.com>
5982
62bede13
RM
5983 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5984 AC_CACHE_CHECK invocation.
5985 * configure: Regenerated.
5986
78a7eee7
RM
5987 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5988
5ce33a62
UD
59892011-06-27 Ulrich Drepper <drepper@gmail.com>
5990
034807a9
UD
5991 [BZ #12350]
5992 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5993 bit from old_res_options.
5994
4902da17
UD
5995 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5996
5ce33a62
UD
5997 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5998 value type for setfct.
5999
c2344f56
L
60002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6001
6002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6003 __gettimeofday instead of gettimeofday.
6004
68468076
UD
60052011-06-26 Ulrich Drepper <drepper@gmail.com>
6006
6007 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6008
acb0d739
L
60092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6010
6011 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6012
6013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6014 info.
6015
8912479f
L
60162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6017
6018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6019 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6020 strcpy-sse2-unaligned strncpy-sse2-unaligned
6021 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6022 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6023 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6024 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6025 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6026 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6027 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6028 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6029 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6030 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6031 (STRCPY): Support SSE2 and SSSE3 versions.
6032
d5495a11
UD
60332011-06-24 Ulrich Drepper <drepper@gmail.com>
6034
6035 [BZ #12874]
6036 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6037 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6038 kernels which artificially limit size of requests.
6039
0b1cbaae
L
60402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6041
6042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6043 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6044 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6045 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6046 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6047 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6048 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6049 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6050 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6052 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6053 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6054 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6055 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6056 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6058 Enable unaligned load optimization for Intel Core i3, i5 and i7
6059 processors.
6060 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6061 Define.
6062 (index_Fast_Unaligned_Load): Define.
6063 (HAS_FAST_UNALIGNED_LOAD): Define.
6064
07f494a0
MP
60652011-06-23 Marek Polacek <mpolacek@redhat.com>
6066
6067 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6068
fa3fc0fe
UD
60692011-06-22 Ulrich Drepper <drepper@gmail.com>
6070
6071 [BZ #12907]
6072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6073 until it is clear that the information is realy needed.
6074 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6075
e12df166
AS
60762011-06-22 Andreas Schwab <schwab@redhat.com>
6077
6078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6079
852eb34d
UD
60802011-06-22 Ulrich Drepper <drepper@gmail.com>
6081
84e2a551
UD
6082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6083 /sys/devices/system/cpu/online if it is usable.
6084
852eb34d
UD
6085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6086 reading the information from the /proc filesystem to once a second.
6087
6e502e19
UD
60882011-06-21 Andreas Jaeger <aj@suse.de>
6089
6090 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6091 NULL after inclusion of kernel headers.
6092
75d39ff2
UD
60932011-06-21 Ulrich Drepper <drepper@gmail.com>
6094
51f9aa6a
UD
6095 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6096 calls to internal_setent.
6097
c0244a9d
UD
6098 [BZ #12885]
6099 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6100 addresses using gethostbyname4_r ignore IPv4 addresses.
6101
c5e3c2ae
UD
6102 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6103 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6104
75d39ff2
UD
6105 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6106
42675c6f
DM
61072011-06-20 David S. Miller <davem@davemloft.net>
6108
6109 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6110 inclusions.
6111 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6112
6113 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6114 (elf_irel): Use it.
6115 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6116 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6117 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6118 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6119 * sysdeps/x86_64/dl-irel.h: Likewise.
6120
6121 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6122 * elf/dl-sym.c: Likewise.
6123
57912a71
UD
61242011-06-15 Ulrich Drepper <drepper@gmail.com>
6125
6126 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6127 need to dereference resplen2.
6128
ee22793d
AS
61292011-06-14 Andreas Schwab <schwab@redhat.com>
6130
6131 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6132
a9e836b0
UD
61332011-06-15 Ulrich Drepper <drepper@gmail.com>
6134
77fb9117
UD
6135 * Makeconfig: Define vardbdir and inst_vardbdir.
6136 * nss/Makefile: Add rules to install db-Makefile.
6137
40c1b22c
UD
6138 * nss/nss_db/db-XXX.c: Cleanup.
6139
9f2da732
UD
6140 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6141 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6142 GLIBC_PRIVATE.
6143 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6144 * nss/makedb.c: Implement -g option to specify that value strings
6145 are generated and should not be added to table iterated over for
6146 get*ent calls.
6147 * nss/nss_db/db-initgroups.c: New file.
6148
82e9a1f7
UD
6149 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6150 interface.
6151
c41af17e
UD
6152 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6153 (internal_getgrouplist): Adjust to name change.
6154 Update use_initgroups_entry if this is not the first call.
6155 * nss/databases.def: Add initgroups entry.
6156
a9e836b0
UD
6157 * nss/makedb.c (compute_tables): Check result of multiple hash table
6158 sizes to minimize maximum chain length.
6159
2666d441
UD
61602011-06-14 Ulrich Drepper <drepper@gmail.com>
6161
6162 * Versions.def: Add entry for libnss_db.
6163 * shlib-versions: Likewise.
6164 * nss/Makefile: Add rules to build libnss_db.
6165 * nss/Versions: Add libnss_db information. Organize libnss_files
6166 entries better.
6167 * nss/db-Makefile: Add gshadow support. Change rules for the new
6168 makedb progra. Some minor improvements to generate smaller files.
6169 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6170 here from...
6171 * nss/makedb.c: ...here.
6172 Improve database format to be smaller and require less memory at
6173 runtime.
6174 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6175 db anymore.
6176 * nss/nss_db/db-netgrp.c: Likewise.
6177 * nss/nss_db/db-open.c: Likewise.
6178 * nss/nss_files/flies-XXX.x: Adjust comments.
6179 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6180 * nss/nss_files/files-grp.c: Likewise.
6181 * nss/nss_files/files-hosts.c: Likewise.
6182 * nss/nss_files/files-network.c: Likewise.
6183 * nss/nss_files/files-proto.c: Likewise.
6184 * nss/nss_files/files-pwd.c: Likewise.
6185 * nss/nss_files/files-rpc.c: Likewise.
6186 * nss/nss_files/files-service.c: Likewise.
6187 * nss/nss_files/files-sgrp.c: Likewise.
6188 * nss/nss_files/files-spwd.c: Likewise.
6189 * nss/nss_db/db-alias.c: Removed.
6190 * nss/nss_db/dummy-db.h: Removed.
6191
9ee76b5a
UD
61922011-06-02 Ulrich Drepper <drepper@gmail.com>
6193
6194 * nss/makedb.c: Rewritten to not use database library.
6195 * nss/Makefile: Update to build new makedb program.
6196
c71ca1f8
AJ
61972011-06-14 Andreas Jaeger <aj@suse.de>
6198
6199 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6200 memset declaration.
6201
3154bfb8
UD
62022011-06-10 Andreas Schwab <schwab@redhat.com>
6203
6204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6205 tmpbuf.
6206
b350afab
RM
62072011-06-10 Roland McGrath <roland@hack.frob.com>
6208
decd4e50
RM
6209 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6210 * elf/Makefile ($(objpfx)ld.so): Likewise.
6211
5615eaf2
RM
6212 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6213 Don't list ld.so twice in dependencies.
6214
6215 * posix/bug-regex31.c: Include <stdlib.h>.
6216
6217 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6218
6219 * nis/nss_compat/compat-spwd.c
6220 (getspent_next_nss_netgr): Remove unused variable.
6221 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6222
6223 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6224 nonmembers" output to use the right array.
6225
6226 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6227
6228 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6229
6230 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6231 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6232 * catgets/gencat.c (read_input_file): Likewise.
6233 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6234
6235 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6236 variable definition inside #if's controlling its use.
6237
6238 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6239
6240 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6241
6242 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6243
6244 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6245 unreachable code.
6246
6247 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6248
b68e08db
RM
6249 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6250 * configure: Regenerated.
6251
b350afab
RM
6252 * Makerules: Revert last change.
6253 * elf/Makefile: Likewise.
6254
28368601
RM
62552011-06-09 Roland McGrath <roland@hack.frob.com>
6256
6257 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6258 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6259 (reloc-link): Likewise.
6260
11988f8f
UD
62612011-06-09 Ulrich Drepper <drepper@gmail.com>
6262
6263 * elf/Makefile: Add rules to build pldd.
6264 * elf/pldd.c: New file.
6265 * elf/pldd-xx.c: New file.
6266
e80fab37
UD
62672011-06-07 Ulrich Drepper <drepper@gmail.com>
6268
6269 * version.h: Update for 2.15 development version.
6270
9b849836
DM
62712011-06-07 David S. Miller <davem@davemloft.net>
6272
6273 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6274 ifuncs.
6275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6276 elf_machine_lazy_rel): Likewise.
6277 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6279 elf_machine_lazy_rel): Likewise.
6280 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6281 dl_hwcap via passed in argument.
6282 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6283 Likewise.
6284
5a31b283
AK
62852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6286
6287 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6288
069e52f8
RM
62892011-06-06 Roland McGrath <roland@hack.frob.com>
6290
6291 [BZ #12849]
6292 * manual/fdl-1.1.texi: New file, verbatim from:
6293 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6294 * manual/lgpl-2.1.texi: New file, verbatim from:
6295 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6296 * manual/Makefile (licenses): New variable, list those new file names.
6297 (texis): Use it.
6298 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6299
6300 * manual/fdl.texi: File removed.
6301 * manual/lesser.texi: File removed.
6302 * manual/libc.texinfo (Copying, Documentation License):
6303 Use new @include file names, put @appendix directive before @include.
6304
f16846a5
JJ
63052011-06-04 Jakub Jelinek <jakub@redhat.com>
6306
6307 [BZ #12841]
6308 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6309 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6310 (mq_open): Add __NTH.
6311
3d29045b
L
63122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6313
6314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6315 Assume Intel Core i3/i5/i7 processor if AVX is available.
6316
8c297311
UD
63172011-05-31 Ulrich Drepper <drepper@gmail.com>
6318
6319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6320 typo.
6321
c8fc0c91
UD
63222011-05-31 Andreas Schwab <schwab@redhat.com>
6323
6324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6325 memory. Use alloca_account. Fix memory leak when retrying.
6326
5b27a807
UD
63272011-05-31 Ulrich Drepper <drepper@gmail.com>
6328
356f8bc6
UD
6329 * version.h (RELEASE): Bump for 2.14 release.
6330 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6331
5b27a807
UD
6332 * config.make.in (RANLIB): Remove entry.
6333
01f16ab0
UD
63342011-05-30 Ulrich Drepper <drepper@gmail.com>
6335
41fce8bd
UD
6336 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6337 (libc.pot): Work around missing support for .ksh extension in xgettext.
6338
4769ae77
UD
6339 [BZ #12684]
6340 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6341 if both request failed.
6342 (send_dg): In case of server errors clear resplen or *resplen2.
6343
6b1e7d19
UD
6344 [BZ #12454]
6345 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6346 when there are multiple maps.
6347 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6348 (_dl_fini): Remove test here.
6349
01f16ab0
UD
6350 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6351
b1ebd700
UD
63522011-05-29 Ulrich Drepper <drepper@gmail.com>
6353
7ae22829
UD
6354 [BZ #12350]
6355 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6356 bit from old_res_options.
6357 (gaih_inet): Likewise.
6358
553149f6 6359 [BZ #11099]
18a84741 6360 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6361 as signed.
6362
652ffab1
UD
6363 * resolv/res_init.c (res_setoptions): Make the code more compact.
6364
16985fd0
UD
6365 [BZ #11558]
6366 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6367 set RES_USEVC.
6368
0464f746
UD
6369 [BZ #11634]
6370 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6371
7d17596c
UD
6372 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6373
cf6bbbd7
UD
6374 [BZ #11781]
6375 * malloc/malloc.h: Declare malloc hook variables as volatile.
6376
13f1ab36
UD
6377 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6378 in last patch.
6379
b1ebd700
UD
6380 [BZ #11799]
6381 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6382 raise in the comment.
80e2212d
UD
6383 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6384 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6385 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6386
ce67228d
UD
63872011-05-28 Ulrich Drepper <drepper@gmail.com>
6388
8887a920
UD
6389 [BZ #12811]
6390 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6391 grow the buffers more if it already has to be sufficient.
6392 (build_wcs_upper_buffer): Likewise.
6393 * posix/regexec.c (check_matching): Likewise.
6394 (clean_state_log_if_needed): Likewise.
6395 (extend_buffers): Don't enlarge buffers beyond size of the input
6396 buffer.
6397 Patches mostly by Emil Wojak <emil@wojak.eu>.
6398 * posix/bug-regex32.c: New file.
6399 * posix/Makefile (tests): Add bug-regex32.
6400
4f031072
UD
6401 * locale/findlocale.c (_nl_find_locale): Return right away if
6402 _nl_explode_name failed.
6403 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6404
d0478f0c
UD
6405 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6406
de81b246
UD
6407 * debug/xtrace.sh: Unify messages.
6408 * malloc/memusage.sh: Likewise.
6409
c738465a
UD
6410 [BZ #12813]
6411 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6412 time symbol from vDSO. Substitute with vsyscall if not available.
6413 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6414 __vdso_time.
6415
f1f929d7
UD
6416 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6417 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6418 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6419 Add sendmmsg and internal_sendmmsg.
6420 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6421 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6422 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6423
ce67228d
UD
6424 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6425 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6426 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6427
e57420c6
UD
64282011-05-27 Ulrich Drepper <drepper@gmail.com>
6429
a8509ca5
UD
6430 [BZ #12813]
6431 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6432 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6433 available.
6434 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6435 __vdso_getcpu.
6436
e57420c6
UD
6437 [BZ #12814]
6438 * iconvdata/Makefile (tests): Add bug-iconv9.
6439 * iconvdata/bug-iconv9.c: New file.
6440
4d07db15
AS
64412011-05-27 Andreas Schwab <schwab@redhat.com>
6442
6443 [BZ #12814]
6444 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6445
ea486f69
JJ
64462011-05-25 Jakub Jelinek <jakub@redhat.com>
6447
6448 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6449 (struct user_regs_struct): Change intcs field back to cs.
6450
6f038433
UD
64512011-05-25 Ulrich Drepper <drepper@gmail.com>
6452
6453 * po/ja.po: Update from translation team.
6454
67f86a25
UD
64552011-05-23 Ulrich Drepper <drepper@gmail.com>
6456
6457 [BZ #12795]
6458 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6459 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6460
def7fbd6
AS
64612011-05-20 Andreas Schwab <schwab@redhat.com>
6462
6463 * stdlib/longlong.h: Update from GCC.
6464
f50ef8f1
AS
64652011-05-23 Andreas Schwab <schwab@redhat.com>
6466
6467 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6468 parameter name.
6469 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6470 Add parameter name.
6471 (__sysconf): Pass it down.
6472
de7ce8f1
UD
64732011-05-22 Ulrich Drepper <drepper@gmail.com>
6474
f2962a71
UD
6475 [BZ #12671]
6476 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6477 some situations.
6478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6479 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6480 add in in __libc_use_alloca calls. Adjust callers.
6481 (glob): Use malloc in some situations.
6482
de7ce8f1
UD
6483 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6484 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6485 pltexit.
6486
aec84f53
UD
64872011-05-21 Ulrich Drepper <drepper@gmail.com>
6488
05bb4a68
UD
6489 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6490 and CLOCK_BOOTTIME_ALARM.
6491
7ea72f99
UD
6492 [BZ #12782]
6493 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6494 is returned.
6495
7e4afad5
UD
6496 * string/_strerror.c (__strerror_r): Print negative errors as signed
6497 numbers.
6498
8e211fec
UD
6499 [BZ #12777]
6500 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6501 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6502 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6503
f7d82dc9
UD
6504 * configure.in: Fix typo in redirection and correct removal of test
6505 files in two cases.
6506
cc9e536d
UD
6507 [BZ #12788]
6508 * locale/setlocale.c (new_composite_name): Fix test to check for
6509 identical name of all categories.
6510
aec84f53
UD
6511 [BZ #12792]
6512 * libio/filedoalloc.c (local_isatty): New function.
6513 (_IO_file_doallocate): Use local_isatty.
6514 * stdio-common/perror.c (perror): In case a new stream is used
6515 forward the stream error.
6516 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6517 error flag.
6518
78e64fdc
RT
65192011-05-20 Ulrich Drepper <drepper@gmail.com>
6520
34a9094f
UD
6521 [BZ #11869]
6522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6523 alloca.
6524 * include/alloca.h (extend_alloca_account): Define.
6525
78e64fdc
RT
6526 [BZ #11857]
6527 * posix/regex.h: Fix comments with documentation of user-accessible
6528 fields after compilation and describe correct free'ing of pattern
6529 after re_compile_pattern.
6530 Patch by Reuben Thomas <rrt@sc3d.org>.
6531
457bddfc
RA
65322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6533
6534 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6535 and -mno-altivec to prevent the compiler from using Altivec and/or
6536 VSX instructions when the corresponding registers are not available.
6537
a4527b51
AS
65382011-05-19 Andreas Schwab <schwab@redhat.com>
6539
6540 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6541
ed690b2f
UD
65422011-05-19 Ulrich Drepper <drepper@gmail.com>
6543
6544 * libio/freopen.c (freopen): Use __dup2, not dup2.
6545 * libio/freopen64.c (freopen64): Likewise.
6546
8db73634
L
65472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6548
6549 [BZ #12775]
6550 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6551 * math/Makefile (tests): Add test-powl.
6552 (CFLAGS-test-powl.c): Define.
6553 * math/test-powl.c: New file.
6554
0a197a9d
L
65552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6556
6557 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6558
ee30c380
UD
65592011-05-17 Ulrich Drepper <drepper@gmail.com>
6560
6561 [BZ #11837]
6562 * iconvdata/gb18030.c: Update to GB18020-2005.
6563
6ce75379
UD
65642011-05-16 Ulrich Drepper <drepper@gmail.com>
6565
a4b89fd8
AR
6566 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6567 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6568 Patch by Aharon Robbins <arnold@skeeve.com>.
6569
ea389b12
UD
6570 [BZ #11892]
6571 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6572 on the stack.
6573
68a3f91f
UD
6574 [BZ #11895]
6575 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6576 through underflows.
6577
15cc7dd1
UD
6578 [BZ #12766]
6579 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6580 point to strings before performing equality test for error_one_per_line
6581 mode.
6582
f3799213
UD
6583 [BZ #11697]
6584 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6585
d79a9c94
UD
6586 [BZ #11820]
6587 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6588 (struct user_fpregs_struct): Avoid __uint*_t types.
6589
56e5eb46
UD
6590 [BZ #6420]
6591 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6592 symbol info. Use it instead of calling _dl_addr locally.
6593 (lock_and_info): New function.
6594 (tr_freehook): Call lock_and_info and pass symbol info as additional
6595 parameter to tr_where.
6596 (tr_mallochook): Likewise.
6597 (tr_reallochook): Likewise.
6598 (tr_memalignhook): Likewise.
6599
6ce75379
UD
6600 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6601 used and couldn't be at all thread-safe.
6602
f8a3b5bf
UD
66032011-05-15 Ulrich Drepper <drepper@gmail.com>
6604
94b7cc37
UD
6605 * libio/freopen.c (freopen): Don't close old file descriptor
6606 before the new one is opened. Instead dup the new file descriptor
6607 to the old one after the new stream is created.
6608 * libio/freopen64.c (freopen64): Likewise.
6609 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6610 * libio/fileops.c (_IO_new_file_close_it): Handle new
6611 _IO_FLAGS2_NOCLOSE flag.
6612 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6613 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6614 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6615 _IO_FLAGS2_NOCLOSE flag.
6616 * include/unistd.h: Add hidden_proto for dup3.
6617 Define __have_dup3.
6618 * io/dup3.c: Define hidden symbol.
6619 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6620
bd25564e
UD
6621 [BZ #7101]
6622 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6623 when an incomplete long option is used.
6624 * posix/tst-getopt_long1.c: New file.
6625 * posix/Makefile (tests): Add tst-getopt_long1.
6626
c84cfef4
UD
6627 [BZ #10138]
6628 * scripts/config.guess: Update from autoconf-2.68.
6629 * scripts/config.sub: Likewise.
6630
3b85df27
UD
6631 [BZ #10157]
6632 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6633 tests into ...
6634 (has_cpuclock): ...this. New function.
6635 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6636 macro here based on has_cpuclock code.
6637
15a856b1
UD
6638 [BZ #10149]
6639 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6640 First byte (not low byte) is now always NUL.
6641 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6642
05f399e6
UD
6643 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6644 Use non-cancelable interfaces.
6645
10a52685 6646 [BZ #9809]
94ecc67d
UD
6647 * locale/iso-639.def: Add entry for Sorani.
6648
f8a3b5bf
UD
6649 [BZ #11901]
6650 * include/stdlib.h: Move include protection to the right place.
6651 Define abort_msg_s. Declare __abort_msg with it.
6652 * stdlib/abort.c (__abort_msg): Adjust type.
6653 * assert/assert.c (__assert_fail_base): New function. Majority
6654 of code from __assert_fail. Allocate memory for __abort_msg with
6655 mmap.
6656 (__assert_fail): Now call __assert_fail_base.
6657 * assert/assert-perr.c: Remove bulk of implementation. Use
6658 __assert_fail_base.
6659 * include/assert.hL Declare __assert_fail_base.
6660 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6661 mmap.
6662 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6663
1af4e298
UD
66642011-05-14 Ulrich Drepper <drepper@gmail.com>
6665
f8a3b5bf 6666 [BZ #11952]
d26dfc60
MG
6667 [BZ #12453]
6668 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6669 until all modules are registered in the DTV.
6670 * elf/Makefile: Add rules to build and run tst-tls19.
6671 * elf/tst-tls19.c: New file.
6672 * elf/tst-tls19mod1.c: New file.
6673 * elf/tst-tls19mod2.c: New file.
6674 * elf/tst-tls19mod3.c: New file.
6675 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6676
2fc54d6f
UD
6677 [BZ #12083]
6678 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6679 correctly.
6680
98d76b46
UD
6681 [BZ #12601]
6682 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6683 two-byte sequence errors.
6684 * iconvdata/Makefile (tests): Add bug-iconv8.
6685 * iconvdata/bug-iconv8.c: New file.
6686
da3c19ef
UD
6687 [BZ #12626]
6688 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6689 buf2 definition.
6690
ca408c15
UD
6691 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6692
d6f67f7d
UD
6693 [BZ #12432]
6694 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6695 (dummy_getcfa): New function.
6696 (init): Get _Unwind_GetCFA address, use dummy if not found.
6697 (backtrace_helper): In recursion check, also check whether CFA changes.
6698 (__backtrace): Completely initialize arg.
6699
1af4e298 6700 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6701 storing incomplete byte sequence in state object. Avoid testing for
6702 guaranteed too small input if we know there is enough data available.
1af4e298 6703
da62f81b
AS
67042011-05-11 Andreas Schwab <schwab@redhat.com>
6705
6706 * Makeconfig (+link-pie): Indent.
6707 * Rules (binaries-pie): Define if $(have-fpie) and
6708 $(build-shared).
6709 (binaries-shared): Also filter out $(binaries-pie).
6710 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6711 * nscd/Makefile (others-pie): Add nscd.
6712 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6713 ($(objpfx)nscd): Remove command override.
6714 * login/Makefile (others-pie): Add pt_chown.
6715 ($(objpfx)pt_chown): Remove command override.
6716 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6717 remove command overrides.
6718
fcabc0f8
UD
67192011-05-13 Ulrich Drepper <drepper@gmail.com>
6720
20030ae6
UD
6721 * libio/tst_putwc.c: Fix error messages.
6722
fcabc0f8
UD
6723 [BZ #12724]
6724 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6725 currently writing and seek to current position when not.
6726 * libio/Makefile (tests): Add bug-fclose1.
6727 * libio/bug-fclose1.c: New file.
6728
320a5dc0
PB
67292011-05-12 Ulrich Drepper <drepper@gmail.com>
6730
6731 [BZ #12511]
6732 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6733 don't set DF_1_NODELETE here.
6734 (do_lookup_x): When entering new entry test for copy relocation
6735 and if necessary set DF_1_NODELETE flag.
6736 * elf/tst-unique4.cc: New file.
6737 * elf/tst-unique4.h: New file.
6738 * elf/tst-unique4lib.cc: New file.
6739 * elf/Makefile: Add rules to build and run tst-unique4.
6740 Patch by Piotr Bury <pbury@goahead.com>.
6741
22836f52
UD
67422011-05-11 Ulrich Drepper <drepper@gmail.com>
6743
f574184a
UD
6744 [BZ #12052]
6745 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6746
e1fb097f
UD
6747 [BZ #12625]
6748 * misc/mntent_r.c (addmntent): Flush the stream after the output
6749
22836f52
UD
6750 [BZ #12393]
6751 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6752 (is_trusted_path_normalize): Skip initial colon. Append slash
6753 to empty buffer. Duplicate is_trusted_path code but allow
6754 constructed patch to be prefix.
6755 (is_dst): Allow $ORIGIN followed by /.
6756 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6757 Correct testing of result of is_trusted_path_normalize
6758 (decompose_rpath): Fix warning.
6759
7b3b0b2a
UD
67602011-05-10 Ulrich Drepper <drepper@gmail.com>
6761
6762 [BZ #11257]
6763 * grp/initgroups.c (internal_getgrouplist): When we found the service
6764 list through the initgroups entry in nsswitch.conf do not always
6765 continue on a successful lookup. Don't always use the
eac80ce2 6766 __nss_group_database value if it is set.
7b3b0b2a
UD
6767 * nss/nsswitch.conf (initgroups): Change action for successful db
6768 lookup to continue for compatibility.
6769
2a81eaa5
UD
67702011-05-09 Ulrich Drepper <drepper@gmail.com>
6771
be97a69e
UD
6772 [BZ #11532]
6773 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6774 and CP774 modules.
6775 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6776 and CP774 modules.
6777 * iconvdata/tst-tables.sh: Likewise.
6778 * iconvdata/cp770.c: New file.
6779 * iconvdata/cp771.c: New file.
6780 * iconvdata/cp772.c: New file.
6781 * iconvdata/cp773.c: New file.
6782 * iconvdata/cp774.c: New file.
6783 * iconvdata/testdata/CP770: New file.
6784 * iconvdata/testdata/CP770..UTF8: New file.
6785 * iconvdata/testdata/CP771: New file.
6786 * iconvdata/testdata/CP771..UTF8: New file.
6787 * iconvdata/testdata/CP772: New file.
6788 * iconvdata/testdata/CP772..UTF8: New file.
6789 * iconvdata/testdata/CP773: New file.
6790 * iconvdata/testdata/CP773..UTF8: New file.
6791 * iconvdata/testdata/CP774: New file.
6792 * iconvdata/testdata/CP774..UTF8: New file.
6793
6794 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6795 END CHARMAP line.
6796 * iconvdata/gen-8bit-gap.sh: Likewise.
6797 * iconvdata/gen-8bit.sh: Likewise.
6798
c1e9e399
UD
6799 * locale/iso-639.def: Add ary entry.
6800
24c55fb3 6801 [BZ #11258]
96b4b1b0
UD
6802 * locale/C-translit.h.in: Add U20A1 transliteration.
6803
bdc2f971
KB
6804 [BZ #12178]
6805 * locale/iso-639.def: Add wae entry.
6806 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6807
2952b117
UD
6808 [BZ #12545]
6809 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6810 for n.
6811
2a81eaa5
UD
6812 [BZ #12711]
6813 * locale/C-translit.h.in: Add entry for U20B9.
6814 Patch by pravin.d.s@gmail.com.
6815
28377d1b
UD
68162011-05-08 Ulrich Drepper <drepper@gmail.com>
6817
7fb90fb8
UD
6818 [BZ #12713]
6819 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6820 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6821 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6822 in rtld. Use *stat64.
7fb90fb8 6823 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6824 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6825 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6826 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6827 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6828 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6829 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6830 __fstatat64 macros.
7fb90fb8
UD
6831 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6832 * dirent/rewinddir.c: Add libc_hidden_def.
6833 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6834 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6835
28377d1b
UD
6836 * include/dirent.h (__alloc_dir): Add flags parameter.
6837 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6838 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6839 __alloc_dir.
6840 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6841 from fdopendir if O_CLOEXEC is already set.
6842
66bdbaa4
AM
68432011-03-15 Alan Modra <amodra@gmail.com>
6844
6845 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6846 l_tls_firstbyte_offset non-zero. Save padding offset in
6847 l_tls_firstbyte_offset for later use.
6848 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6849 freeing static tls block.
6850
95721191
JN
68512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6852
6853 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6854 where #ifdef was intended. The intent is to prevent ARG_MAX from
6855 being defined by the kernel headers.
6856
f87dfb1f
UD
68572011-05-07 Ulrich Drepper <drepper@gmail.com>
6858
6859 [BZ #12734]
6860 * resolv/resolv.h: Define RES_NOTLDQUERY.
6861 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6862 no-tld-query and set RES_NOTLDQUERY.
6863 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6864 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6865 modern BIND to search name as TLD unless forbidden.
6866
47c3cd7a
UD
68672011-05-07 Petr Baudis <pasky@suse.cz>
6868 Ulrich Drepper <drepper@gmail.com>
6869
6870 [BZ #12393]
6871 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6872 (is_trusted_path): ...to here.
c1e9ea35 6873 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6874 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6875 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6876
8a35c912
PP
68772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6878
6879 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6880 __BEGIN/__END_DECLS.
6881
acd41f47
UD
68822011-05-06 Ulrich Drepper <drepper@gmail.com>
6883
6884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6885 NSS_STATUS_NOTFOUND if no record was found.
6886
597df647
AS
68872011-05-05 Andreas Schwab <schwab@redhat.com>
6888
6889 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6890 (headers-not-in-tirpc): Remove rpc/netdb.h
6891 * resolv/netdb.h: Revert last change.
6892
b9af1301
PP
68932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6894
6895 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6896 circular dependency between libgcc.a and libc.a.
6897
4e34d5f5
AS
68982011-05-05 Andreas Schwab <schwab@redhat.com>
6899
6900 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6901 * nis/Makefile: Don't install rpcsvc/*.
6902 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6903 instead of <rpc/types.h>.
6904 (MAXHOSTNAMELEN): Define.
6905
00ee369c
AS
69062011-05-03 Andreas Schwab <schwab@redhat.com>
6907
6908 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6909
0b592a30
MB
69102011-04-28 Maciej Babinski <mbabinski@google.com>
6911
6912 [BZ #12714]
6913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6914 gethostbyname4_r when IPv6 results are possible.
6915
6e04cbbe
UD
69162011-05-02 Ulrich Drepper <drepper@gmail.com>
6917
6918 [BZ #12723]
6919 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6920 _PC_PIPE_BUF handling.
6921
e4ecafe0
BH
69222011-04-30 Bruno Haible <bruno@clisp.org>
6923
6924 [BZ #12717]
6925 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6926 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6927 to 'int'.
6928 * inet/getnameinfo.c (getnameinfo): Likewise.
6929
125ee683
UD
69302011-04-29 Ulrich Drepper <drepper@gmail.com>
6931
6932 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6933 to groups setting in database lookup.
6934 * nss/nsswitch.conf: Add initgroups entry.
6935
b722481a
EB
69362011-04-22 Ulrich Drepper <drepper@gmail.com>
6937
6938 [BZ #12685]
6939 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6940 mode string.
6941 Patch by Eric Blake <eblake@redhat.com>.
6942
4df46dbd
L
69432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6944
6945 * sunrpc/Makefile (need-export-routines): Add svc_run.
6946 (routines): Remove svc_run.
6947 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6948 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6949 * sunrpc/svc_run.c (svc_run): Likewise.
6950 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6951
e84142d2
UD
69522011-04-21 Ulrich Drepper <drepper@gmail.com>
6953
6954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6955 problem in reallocation in last patch.
6956
877175d8
UD
69572011-04-20 Ulrich Drepper <drepper@gmail.com>
6958
6959 * sunrpc/Makefile: Move inclusion of Rules.
6960
ab8eed78
UD
69612011-04-19 Ulrich Drepper <drepper@gmail.com>
6962
6963 * nss/nss_files/files-initgroups.c: New file.
6964 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6965 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6966 _nss_files_initgroups_dyn.
6967
e3d8f584
RS
69682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6969
6970 * elf/elf.h (R_ARM_IRELATIVE): Define.
6971
af190f45
UD
69722011-04-19 Ulrich Drepper <drepper@gmail.com>
6973
6974 * po/ru.po: Update from translation team.
6975
53cf59ef
UD
69762011-04-17 Ulrich Drepper <drepper@gmail.com>
6977
6978 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6979 dependencies.
6980
4c559bcd
MF
69812011-02-06 Mike Frysinger <vapier@gentoo.org>
6982
6983 [BZ #12653]
6984 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6985 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6989
4420675c
AS
69902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6991
6992 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6993 differing bytes.
6994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6995 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6997
75ea32ab
UD
69982011-04-17 Ulrich Drepper <drepper@gmail.com>
6999
7000 [BZ #12420]
7001 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7002 storing it.
7003 * stdlib/bug-getcontext.c: New file.
7004 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7005
27390476
AK
70062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7007
7008 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7009 instructions into .machine "z9-109".
7010 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7011 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7012
10442705
AK
70132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7014
7015 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7016 between environment variables and auxiliary vector.
7017
7b57bfe5
UD
70182011-04-16 Ulrich Drepper <drepper@gmail.com>
7019
7020 * Makefile: Add rules to build linkobj/libc.so.
7021 * include/libc-symbols.h: Define libc_hidden_nolink.
7022 * include/rpc/auth.h: Mark functions which are to be hidden.
7023 * include/rpc/auth_des.h: Likewise.
7024 * include/rpc/auth_unix.h: Likewise.
7025 * include/rpc/clnt.h: Likewise.
7026 * include/rpc/des_crypt.h: Likewise.
7027 * include/rpc/key_prot.h: Likewise.
7028 * include/rpc/pmap_clnt.h: Likewise.
7029 * include/rpc/pmap_prot.h: Likewise.
7030 * include/rpc/pmap_rmt.h: Likewise.
7031 * include/rpc/rpc_msg.h: Likewise.
7032 * include/rpc/svc.h: Likewise.
7033 * include/rpc/svc_auth.h: Likewise.
7034 * include/rpc/xdr.h: Likewise.
7035 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7036 * nss/Makefile: Likewise.
7037 * sunrpc/Makefile: Don't install headers. Build library with normal
7038 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7039 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7040 for the compat linking library. Remove use of INTDEF/INTUSE.
7041 * sunrpc/auth_none.c: Likewise.
7042 * sunrpc/auth_unix.c: Likewise.
7043 * sunrpc/authdes_prot.c: Likewise.
7044 * sunrpc/authuxprot.c: Likewise.
7045 * sunrpc/clnt_gen.c: Likewise.
7046 * sunrpc/clnt_perr.c: Likewise.
7047 * sunrpc/clnt_raw.c: Likewise.
7048 * sunrpc/clnt_simp.c: Likewise.
7049 * sunrpc/clnt_tcp.c: Likewise.
7050 * sunrpc/clnt_udp.c: Likewise.
7051 * sunrpc/clnt_unix.c: Likewise.
7052 * sunrpc/des_crypt.c: Likewise.
7053 * sunrpc/des_soft.c: Likewise.
7054 * sunrpc/get_myaddr.c: Likewise.
7055 * sunrpc/key_call.c: Likewise.
7056 * sunrpc/key_prot.c: Likewise.
7057 * sunrpc/netname.c: Likewise.
7058 * sunrpc/pm_getmaps.c: Likewise.
7059 * sunrpc/pm_getport.c: Likewise.
7060 * sunrpc/pmap_clnt.c: Likewise.
7061 * sunrpc/pmap_prot.c: Likewise.
7062 * sunrpc/pmap_prot2.c: Likewise.
7063 * sunrpc/pmap_rmt.c: Likewise.
7064 * sunrpc/publickey.c: Likewise.
7065 * sunrpc/rpc_cmsg.c: Likewise.
7066 * sunrpc/rpc_common.c: Likewise.
7067 * sunrpc/rpc_dtable.c: Likewise.
7068 * sunrpc/rpc_prot.c: Likewise.
7069 * sunrpc/rpc_thread.c: Likewise.
7070 * sunrpc/rtime.c: Likewise.
7071 * sunrpc/svc.c: Likewise.
7072 * sunrpc/svc_auth.c: Likewise.
7073 * sunrpc/svc_authux.c: Likewise.
7074 * sunrpc/svc_raw.c: Likewise.
7075 * sunrpc/svc_run.c: Likewise.
7076 * sunrpc/svc_simple.c: Likewise.
7077 * sunrpc/svc_tcp.c: Likewise.
7078 * sunrpc/svc_udp.c: Likewise.
7079 * sunrpc/svc_unix.c: Likewise.
7080 * sunrpc/svcauth_des.c: Likewise.
7081 * sunrpc/xcrypt.c: Likewise.
7082 * sunrpc/xdr.c: Likewise.
7083 * sunrpc/xdr_array.c: Likewise.
7084 * sunrpc/xdr_float.c: Likewise.
7085 * sunrpc/xdr_intXX_t.c: Likewise.
7086 * sunrpc/xdr_mem.c: Likewise.
7087 * sunrpc/xdr_rec.c: Likewise.
7088 * sunrpc/xdr_ref.c: Likewise.
7089 * sunrpc/xdr_sizeof.c: Likewise.
7090 * sunrpc/xdr_stdio.c: Likewise.
7091
e6c61494
UD
70922011-04-10 Ulrich Drepper <drepper@gmail.com>
7093
7094 [BZ #12650]
7095 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7096 * sysdeps/ia64/dl-tls.h: Likewise.
7097 * sysdeps/powerpc/dl-tls.h: Likewise.
7098 * sysdeps/s390/dl-tls.h: Likewise.
7099 * sysdeps/sh/dl-tls.h: Likewise.
7100 * sysdeps/sparc/dl-tls.h: Likewise.
7101 * sysdeps/x86_64/dl-tls.h: Likewise.
7102 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7103
34fe483e
AS
71042011-03-14 Andreas Schwab <schwab@redhat.com>
7105
7106 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7107 rpath element also skip the following colon.
7108 (expand_dynamic_string_token): Add is_path parameter and pass
7109 down to DL_DST_REQUIRED and _dl_dst_substitute.
7110 (decompose_rpath): Call expand_dynamic_string_token with
7111 non-zero is_path. Ignore empty rpaths.
7112 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7113 with zero is_path.
7114
f12a32e6
AS
71152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7116
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7118 Make cancelable.
7119
38a7d692
UD
71202011-04-09 Ulrich Drepper <drepper@gmail.com>
7121
7122 [BZ #12655]
7123 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7124 Patch by Filipe David Manana <fdmanana@apache.org>.
7125
e451d22b
AS
71262011-04-07 Andreas Schwab <schwab@redhat.com>
7127
7128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7129 Maintain aligned stack.
7130 (CHECK_RSP): Remove unused macro.
7131
dedc7c7b
UD
71322011-04-03 Ulrich Drepper <drepper@gmail.com>
7133
7134 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7135 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7136
94521213
UD
71372011-04-02 Ulrich Drepper <drepper@gmail.com>
7138
7139 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7140
8cb700c0 7141 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7142
0354e355
L
71432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7144
7145 [BZ #12518]
7146 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7147 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7148 * sysdeps/x86_64/memmove.c: New file.
7149 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7150 (memcpy): Renamed to ...
7151 (__new_memcpy): This.
7152 (memcpy): Provide GLIBC_2_14 memcpy.
7153 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7154 (memcpy): Provide GLIBC_2_2_5 memcpy.
7155
8593482f
UD
71562011-04-01 Ulrich Drepper <drepper@gmail.com>
7157
7158 [BZ #12631]
7159 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7160
81a5726b
AS
71612011-03-30 Andreas Schwab <schwab@redhat.com>
7162
7163 * misc/syncfs.c: New file.
7164 * misc/Makefile (routines): Add syncfs.
7165 * posix/unistd.h: Declare syncfs.
7166 * sysdeps/unix/syscalls.list: Add syncfs.
7167
00e5419f
AS
71682011-04-01 Andreas Schwab <schwab@redhat.com>
7169
7170 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7171 open_by_handle_at.
7172 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7177 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7179
748876bf
UD
71802011-04-01 Ulrich Drepper <drepper@gmail.com>
7181
658e451d
UD
7182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7184 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7189
748876bf
UD
7190 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7191 sync_file_range.c with -fexceptions.
7192 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7193 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7194 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7195 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7196 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7197 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7199 sync_file_range as cancellation point
7200 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7201 now a wrapper around __call_sync_file_range with cancellation handling.
7202 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7203 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7204 function name to __call_sync_file_range.
7205 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7206 Add call_sync_file_range.
748876bf 7207
6e63d5e1
AS
72082011-04-01 Andreas Schwab <schwab@redhat.com>
7209
7210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7211 bits/timex.h.
6e63d5e1 7212
46998f74
UD
72132011-04-01 Ulrich Drepper <drepper@gmail.com>
7214
4c1423ed
UD
7215 * iconv/iconv.h: Fix typo in comment.
7216 * io/fcntl.h: Likewise.
7217 * libio/stdio.h: Likewise.
7218 * posix/spawn.h: Likewise.
7219 * posix/unistd.h: Likewise.
7220 * stdlib/stdlib.h: Likewise.
7221 * time/time.h: Likewise.
7222 * wcsmbs/wchar.h: Likewise.
7223
158648c0
UD
7224 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7225 open_by_handle): Add.
7226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7227 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7228 Augment a few comments.
7229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7230 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7231 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7234 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7235 open_by_handle.
7236
46998f74
UD
7237 * io/fcntl.h (AT_EMPTY_PATH): Define.
7238
83fe108b
UD
72392011-03-30 Ulrich Drepper <drepper@gmail.com>
7240
7241 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7242 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7243 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7244 to...
7245 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7246 * Versions.def: Add GLIBC_2.14.
7247 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7248 Export.
83fe108b 7249
bb242059
UD
72502011-03-22 Ulrich Drepper <drepper@gmail.com>
7251
7252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7253 round counter.
7254 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7255
c97a1282
L
72562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7257
7258 [BZ #12597]
7259 * string/test-strncmp.c (do_page_test): New function.
7260 (check2): Likewise.
7261 (test_main): Call check2.
7262 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7263
2a115601
UD
72642011-03-20 Ulrich Drepper <drepper@gmail.com>
7265
7266 [BZ #12587]
7267 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7268 Handle cache information in CPU leaf 4.
7269 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7270
8126d904
UD
72712011-03-18 Ulrich Drepper <drepper@gmail.com>
7272
042c49c6 7273 [BZ #12583]
8126d904
UD
7274 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7275 character representation.
7276 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7277
ccfe366e
RA
72782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7279
7280 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7281 END(__isnan) to END(__isnanf) to match function entry point/label
7282 EALIGN(__isnanf,...).
7283
c6e13027
JJ
72842011-03-10 Jakub Jelinek <jakub@redhat.com>
7285
7286 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7287
33f85a3f
UD
72882011-03-10 Ulrich Drepper <drepper@gmail.com>
7289
028478fa
UD
7290 [BZ #12510]
7291 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7292 copy from the symbol referenced in the relocation to initialize the
7293 used variable.
7294 Patch by Piotr Bury <pbury@goahead.com>.
7295 * elf/Makefile: Add rules to build and tst-unique3.
7296 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7297 * elf/tst-unique3.cc: New file.
7298 * elf/tst-unique3.h: New file.
7299 * elf/tst-unique3lib.cc: New file.
7300 * elf/tst-unique3lib2.cc: New file.
7301
33f85a3f
UD
7302 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7303
03592fc7
MF
73042011-03-10 Mike Frysinger <vapier@gentoo.org>
7305
7306 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7307 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7308 to _start.
03592fc7 7309
6a5ee102
UD
73102011-03-06 Ulrich Drepper <drepper@gmail.com>
7311
7312 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7313 to-be-loaded object along a path to loader is ld.so.
7314
7e4ba49c
HJ
73152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7316 Ulrich Drepper <drepper@gmail.com>
7317
7318 * sysdeps/x86_64/memset.S: After aligning destination, code
7319 branches to different locations depending on the value of
7320 misalignment, when multiarch is enabled. Fix this.
7321
73222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7323
7324 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7325 Set _x86_64_preferred_memory_instruction for AMD processsors.
7326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7327 Set bit_Prefer_SSE_for_memop for AMD processors.
7328
13a804de
UD
73292011-03-04 Ulrich Drepper <drepper@gmail.com>
7330
7331 * libio/fmemopen.c (fmemopen): Optimize a bit.
7332
9d25c392
AS
73332011-03-03 Andreas Schwab <schwab@redhat.com>
7334
7335 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7336
a5543c6a
RM
73372011-03-03 Roland McGrath <roland@redhat.com>
7338
7339 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7340
012d35f7
DM
73412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7342
7e4ba49c 7343 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7344 __bzero_ultra1 instead of __memset_ultra1.
7345
4bff6e01
AS
73462011-02-23 Andreas Schwab <schwab@redhat.com>
7347 Ulrich Drepper <drepper@gmail.com>
7348
7349 [BZ #12509]
7350 * include/link.h (struct link_map): Add l_orig_initfini.
7351 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7352 returning unsuccessfully.
7353 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7354 close of a file loaded at startup, restore the original l_initfini
7355 list.
7356 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7357 list, store the pointer.
7358 * elf/Makefile ($(objpfx)noload-mem): New rule.
7359 (noload-ENV): Define.
7360 (tests): Add $(objpfx)noload-mem.
7361 * elf/noload.c: Include <memcheck.h>.
7362 (main): Call mtrace. Close all opened handles.
7363
f2092faf
AS
73642011-02-17 Andreas Schwab <schwab@redhat.com>
7365
7366 [BZ #12454]
7367 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7368 dependencies are missing.
7369
6c8a2e88
ST
73702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7371
f2092faf 7372 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7373 Hurd needs munmap.
7374 * sysdeps/mach/hurd/ifreq.h: New file.
7375
84a42118
PB
73762011-01-27 Petr Baudis <pasky@suse.cz>
7377 Ulrich Drepper <drepper@gmail.com>
7378
071f805e 7379 [BZ 12445]#
84a42118
PB
7380 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7381 to extend_alloca().
7382 * stdio-common/bug23.c: New file.
7383 * stdio-common/Makefile (tests): Add bug23.
7384
e23fe25b
AS
73852010-09-28 Andreas Schwab <schwab@redhat.com>
7386 Ulrich Drepper <drepper@gmail.com>
7387
7388 [BZ #12489]
7389 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7390 before performing relro protection. At old place add assertion
7391 to make sure nothing changed.
7392
d3f02e10
NS
73932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7394 Glauber de Oliveira Costa <glommer@gmail.com>
7395
7396 * elf/elf.h: Add new ARM TLS relocs.
7397
d55fd7a5
RA
73982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7399
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7401 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7402 cast from r3.
7403 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7404 'tests' variable.
7405 * sysdeps/wordsize-64/tst-writev.c: New file.
7406
2206397e
RA
74072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7408
7409 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7410 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7411 insns in _dl_start to prevent a TOC reference before relocs are
7412 resolved.
7413
e9433893
UD
74142011-02-15 Ulrich Drepper <drepper@gmail.com>
7415
7416 [BZ #12469]
7417 * Makeconfig: Remove RANLIB definition.
7418 * Makerules: Don't use RANLIB.
7419 * aclocal.m4: Remove ranlib test.
7420 * configure.in: No need to check for ranlib.
7421 * elf/rtld-Rules: Don't use RANLIB.
7422
f75286c6
ST
74232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7424
8e31c82d
ST
7425 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7426 protection macro.
7427 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7428 inclusion protection macro.
7429
f75286c6
ST
7430 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7431 SIGRTMIN and SIGRTMAX and print information in that case only when
7432 SIGRTMIN is defined.
7433
c1d0e639
JJ
74342011-02-11 Jakub Jelinek <jakub@redhat.com>
7435
7436 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7437 arginfo fn returning -1.
7438
7439 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7440 and thousands string is zero terminated.
7441
edf9294e
AS
74422011-02-03 Andreas Schwab <schwab@redhat.com>
7443
7444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7445 sysdeps/unix/sysv/linux/bits/socket.h.
7446
2b7e92df
ST
74472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7448
edf9294e
AS
7449 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7450 (__CPU_COUNT): Remove old macros.
7451 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7452 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7453 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7454 (__sched_cpualloc, __sched_cpufree): Add declarations.
7455
a4c7ea7b
UD
74562011-02-05 Ulrich Drepper <drepper@gmail.com>
7457
7458 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7459 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7460 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7461 (readdhstai): Return value of addhstaiX call.
7462 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7463 (addgrbyX): Return value returned by cache_addgr.
7464 (readdgrbyname): Return value returned by addgrbyX.
7465 (readdgrbygid): Likewise.
7466 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7467 (addpwbyX): Return value returned by cache_addpw.
7468 (readdpwbyname): Return value returned by addhstbyX.
7469 (readdpwbyuid): Likewise.
7470 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7471 (addservbyX): Return value returned by cache_addserv.
7472 (readdservbyname): Return value returned by addservbyX:
7473 (readdservbyport): Likewise.
7474 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7475 (addhstbyX): Return value returned by cache_addhst.
7476 (readdhstbyname): Return value returned by addhstbyX.
7477 (readdhstbyaddr): Likewise.
7478 (readdhstbynamev6): Likewise.
7479 (readdhstbyaddrv6): Likewise.
7480 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7481 (readdinitgroups): Return value returned by addinitgroupsX.
7482 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7483 (prune_cache): Keep track of timeout value of re-added entries.
7484 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7485 * nscd/nscd.h: Adjust prototypes of readd* functions.
7486
a0bf67cc
RM
74872011-02-04 Roland McGrath <roland@redhat.com>
7488
7489 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7490 (nis_stats): Likewise.
7491 * nis/nis_modify.c (nis_modify): Likewise.
7492 * nis/nis_remove.c (nis_remove): Likewise.
7493 * nis/nis_add.c (nis_add): Likewise.
7494
7495 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7496
7497 * posix/fnmatch_loop.c: Add some consts.
7498
7499 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7500
435b95eb
L
75012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7502
7503 [BZ #12460]
7504 * config.make.in (config-cflags-novzeroupper): Define.
7505 * configure.in: Substitute libc_cv_cc_novzeroupper.
7506 * elf/Makefile (AVX-CFLAGS): Define.
7507 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7508 (CFLAGS-tst-auditmod4a.c): Likewise.
7509 (CFLAGS-tst-auditmod4b.c): Likewise.
7510 (CFLAGS-tst-auditmod6b.c): Likewise.
7511 (CFLAGS-tst-auditmod6c.c): Likewise.
7512 (CFLAGS-tst-auditmod7b.c): Likewise.
7513 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7514
8517b15e
UD
75152011-02-02 Ulrich Drepper <drepper@gmail.com>
7516
7517 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7518 function to the callback.
7519 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7520
10a656fe
AS
75212011-02-02 Andreas Schwab <schwab@redhat.com>
7522
7523 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7524 of errno.
7525
968dad0a
UD
75262011-01-19 Ulrich Drepper <drepper@gmail.com>
7527
9f94d2ea 7528 [BZ #11724]
968dad0a
UD
7529 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7530 of constructors.
7531 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7532 of destructors.
7533 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7534
7535 [BZ #11724]
7536 * elf/Makefile: Add rules to build and run new test.
7537 * elf/tst-initorder.c: New file.
7538 * elf/tst-initorder.exp: New file.
7539 * elf/tst-initordera1.c: New file.
7540 * elf/tst-initordera2.c: New file.
7541 * elf/tst-initordera3.c: New file.
7542 * elf/tst-initordera4.c: New file.
7543 * elf/tst-initorderb1.c: New file.
7544 * elf/tst-initorderb2.c: New file.
7545 * elf/tst-order-a1.c: New file.
7546 * elf/tst-order-a2.c: New file.
7547 * elf/tst-order-a3.c: New file.
7548 * elf/tst-order-a4.c: New file.
7549 * elf/tst-order-b1.c: New file.
7550 * elf/tst-order-b2.c: New file.
7551 * elf/tst-order-main.c: New file.
7552 New test case by George Gensure <werkt0@gmail.com>.
7553
86e92359
UD
75542010-10-01 Andreas Schwab <schwab@redhat.com>
7555
7556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7557 decoding ACE if AI_CANONIDN.
7558
5d5732b0
UD
75592011-01-18 Ulrich Drepper <drepper@gmail.com>
7560
7561 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7562
a77e8cbc
UD
75632011-01-17 Ulrich Drepper <drepper@gmail.com>
7564
6392473f
UD
7565 * version.h (RELEASE): Bump for 2.13 release.
7566 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7567
620a0529
UD
7568 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7569
18ba70a5
UD
7570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7571 MADV_NOHUGEPAGE.
32465c3e
UD
7572 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7574 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7577 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7578
c0dafcf1
UD
7579 * posix/getconf.c: Update copyright year.
7580 * catgets/gencat.c: Likewise.
7581 * csu/version.c: Likewise.
7582 * debug/catchsegv.sh: Likewise.
7583 * debug/xtrace.sh: Likewise.
7584 * elf/ldconfig.c: Likewise.
7585 * elf/ldd.bash.in: Likewise.
7586 * elf/sprof.c (print_version): Likewise.
7587 * iconv/iconv_prog.c: Likewise.
7588 * iconv/iconvconfig.c: Likewise.
7589 * locale/programs/locale.c: Likewise.
7590 * locale/programs/localedef.c: Likewise.
7591 * malloc/memusage.sh: Likewise.
7592 * malloc/mtrace.pl: Likewise.
7593 * nscd/nscd.c (print_version): Likewise.
7594 * nss/getent.c: Likewise.
7595
a77e8cbc
UD
7596 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7597 PF_CAIF, and PF_ALG.
7598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7599
77e8bddf
AS
76002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7601
1f20b93a
AS
7602 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7603 (modules-names): Use them.
7604 (ifunc-test-modules, ifunc-pie-tests): Define.
7605 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7606 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7607 (test-extras): Likewise.
7608 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7609 $(compile-command.c).
7610 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7611 (all-built-dso): Define.
7612 (check-textrel.out, check-execstack.out): Depend on it.
7613
77e8bddf
AS
7614 * configure.in: Don't override --enable-multi-arch.
7615
bc425b33
UD
76162011-01-15 Ulrich Drepper <drepper@gmail.com>
7617
7618 [BZ #6812]
7619 * nscd/hstcache.c (tryagain): Define.
7620 (cache_addhst): Return tryagain not notfound for temporary errors.
7621 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7622 failed.
7623
794c3ad3
UD
76242011-01-14 Ulrich Drepper <drepper@gmail.com>
7625
70181fdd
UD
7626 [BZ #10563]
7627 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7628 to make the syscall.
7629 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7630
794c3ad3
UD
7631 [BZ #12378]
7632 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7633 and fall back to matching as normal character if the string ends before
7634 the matching ']' is found. This is what POSIX requires.
7635 * posix/testfnm.c: Adjust test result.
7636 * posix/globtest.sh: Adjust test result. Add new test.
7637 * posix/tst-fnmatch.input: Likewise.
7638 * posix/tst-fnmatch2.c: Add new test.
7639
68dc9497
AS
76402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7641
7642 * elf/Makefile (check-execstack): Revert last change. Depend on
7643 check-execstack.h.
7644 (check-execstack.h): New target.
7645 (generated): Add check-execstack.h.
7646 * elf/check-execstack.c: Include "check-execstack.h".
7647 (main): Revert last change.
7648 (handle_file): Return zero if GNU_STACK is absent and
7649 DEFAULT_STACK_PERMS doesn't include PF_X.
7650
451f001b
UD
76512011-01-13 Ulrich Drepper <drepper@gmail.com>
7652
cfa28e56
UD
7653 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7654 in child fails because the descriptor is already closed.
8cf8ce17
UD
7655 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7656 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7657 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7658
1086d70d
UD
7659 [BZ #12397]
7660 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7661 syscall.
7662
451f001b
UD
7663 [BZ #10484]
7664 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7665 temporary buffer used to handle multi lookups locally.
a85b5cb4 7666 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7667
08769175
UD
76682011-01-12 Ulrich Drepper <drepper@gmail.com>
7669
7670 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7671 loader is ld.so.
7672
5e49c52e
UD
76732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7674
7675 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7676 alignment for SSE2.
7677
60522a5f
UD
76782011-01-12 Ulrich Drepper <drepper@gmail.com>
7679
7680 [BZ #12394]
7681 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7682 characters. When rounding increased number of integer digits recompute
7683 number of groups.
7684 * stdio-common/tst-grouping.c: New file.
7685 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7686
f257bbd7
UD
76872011-01-09 Ulrich Drepper <drepper@gmail.com>
7688
7689 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7690 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7691
7692 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7693 void.
7694 * bits/select.h: Likewise.
7695
fa9c15cb
UD
76962011-01-08 Ulrich Drepper <drepper@gmail.com>
7697
7698 * po/ja.po: Update from translation team.
7699
16c2895f
DM
77002011-01-04 David S. Miller <davem@sunset.davemloft.net>
7701
7702 [BZ #11155]
7703 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7704 implementation just like for lxstat, fxstatat, et al.
7705
2543fef2
JM
77062010-12-27 Jim Meyering <meyering@redhat.com>
7707
7708 [BZ #12348]
7709 * posix/regexec.c (build_trtable): Return failure indication upon
7710 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7711
98727dbe
UD
77122010-12-25 Ulrich Drepper <drepper@gmail.com>
7713
5bd6dc5c
UD
7714 [BZ #12201]
7715 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7716 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7717 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7718 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7719
97983464
UD
7720 [BZ #12207]
7721 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7722
98727dbe
UD
7723 [BZ #12204]
7724 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7725 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7726
4a531bb0
L
77272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7728
7729 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7730 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7731 script has SORT_BY_INIT_PRIORITY.
7732 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7733 NO_CTORS_DTORS_SECTIONS is defined.
7734 * elf/soinit.c: Likewise.
7735 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7736 NO_CTORS_DTORS_SECTIONS is defined.
7737 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7738 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7739 * sysdeps/sh/init-first.c: Likewise.
7740 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7741
07eb4b71
UD
77422010-12-24 Ulrich Drepper <drepper@gmail.com>
7743
7744 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7745 always use the slow path.
7746
30950a5f
RA
77472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7748
7749 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7750 similar rule which adds the sysdep directories to the header search in
7751 order to pick up the correct platform stackinfo.h.
7752 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7753 perform test if it is, otherwise return successfully without testing.
7754 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7755 DEFAULT_STACK_PERMS define in stackinfo.h.
7756 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7757 defined in stackinfo.h.
7758 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7759 DEFAULT_STACK_PERMS defined in stackinfo.h.
7760 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7761 * sysdeps/ia64/stackinfo.h: Likewise.
7762 * sysdeps/s390/stackinfo.h: Likewise.
7763 * sysdeps/sh/stackinfo.h: Likewise.
7764 * sysdeps/sparc/stackinfo.h: Likewise.
7765 * sysdeps/x86_64/stackinfo.h: Likewise.
7766 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7767 PF_X for powerpc64. Retain PF_X for powerpc32.
7768
db753e2c
UD
77692010-12-19 Ulrich Drepper <drepper@gmail.com>
7770
14b697f7
UD
7771 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7772 accurately.
db753e2c
UD
7773 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7774 GETDENTS_64BIT_ALIGNED.
7775
28300719
UD
77762010-12-14 Ulrich Drepper <dreper@gmail.com>
7777
14b697f7 7778 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7779
4f197237
AS
77802010-12-10 Andreas Schwab <schwab@redhat.com>
7781
dbb0472f
AS
7782 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7783 _GNU_SOURCE.
7784
4f197237
AS
7785 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7786 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7787 Remove __restrict.
7788 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7789 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7790
fb88ac72
UD
77912010-12-09 Ulrich Drepper <drepper@gmail.com>
7792
7793 [BZ #11655]
7794 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7795 are initialized.
7796
42acbb92
JJ
77972010-12-09 Jakub Jelinek <jakub@redhat.com>
7798
7799 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7800
c038d98d
UD
78012010-12-03 Ulrich Drepper <drepper@gmail.com>
7802
7803 * po/it.po: Update from translation team.
7804
3a4a2499
L
78052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7806
7807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7808 unused codes.
7809
1e24cf6e
UD
78102010-11-30 Ulrich Drepper <drepper@gmail.com>
7811
7812 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7813
a7690819
AS
78142010-11-24 Andreas Schwab <schwab@redhat.com>
7815
7816 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7817 specially.
7818 (gaih_getanswer_slice): Likewise.
7819
3bf8d1b1
JJ
78202010-10-20 Jakub Jelinek <jakub@redhat.com>
7821
7822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7823
6db52fbb
PB
78242010-05-31 Petr Baudis <pasky@suse.cz>
7825
7826 [BZ #11149]
7827 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7828 silently even in the chroot mode.
7829
eaca7569
UD
78302010-11-22 Ulrich Drepper <drepper@gmail.com>
7831
7832 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7833 last patch a bit. Pretty printing
7834
3056dcdb
UD
78352010-05-31 Petr Baudis <pasky@suse.cz>
7836
7837 [BZ #10085]
7838 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7839 initialization of skip_initgroups_dyn.
7840
cf7c9078
UD
78412010-11-19 Ulrich Drepper <drepper@gmail.com>
7842
7843 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7844 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7845
a1fb5e3e
UD
78462010-11-16 Ulrich Drepper <drepper@gmail.com>
7847
7848 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7849
3540d66b
AS
78502010-11-11 Andreas Schwab <schwab@redhat.com>
7851
7852 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7853 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7854 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7855 ($(objpfx)tst-fnmatch-mem): New rule.
7856 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7857 * posix/tst-fnmatch.c (main): Call mtrace.
7858
13b69574
L
78592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7860
7861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7862 Support Intel processor model 6 and model 0x2c.
7863
da93d214
LM
78642010-11-10 Luis Machado <luisgpm@br.ibm.com>
7865
7866 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7867 signed comparison.
7868
8ca52c6e
L
78692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7870
7871 [BZ #12205]
7872 * string/test-strncasecmp.c (check_result): New function.
7873 (do_one_test): Use it.
7874 (check1): New function.
7875 (test_main): Use it.
7876 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7877 Support strcasecmp and strncasecmp.
7878
69da074d
UD
78792010-11-08 Ulrich Drepper <drepper@gmail.com>
7880
7881 [BZ #12194]
7882 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7883 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7884
ff02d528
L
78852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7886
7887 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7888 IFUNC support.
7889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7890 memset-x86-64.
7891 * sysdeps/x86_64/multiarch/bzero.S: New file.
7892 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7893 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7894 * sysdeps/x86_64/multiarch/memset.S: New file.
7895 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7897 Set bit_Prefer_SSE_for_memop for Intel processors.
7898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7899 Define.
7900 (index_Prefer_SSE_for_memop): Define.
7901 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7902
344d0b54
LM
79032010-11-04 Luis Machado <luisgpm@br.ibm.com>
7904
7905 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7906 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7907
c0dde15b
UD
79082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7909
7910 [BZ #12191]
7911 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7912 (__x86_64_raw_data_cache_size_half): Likewise.
7913 (__x86_64_raw_shared_cache_size): Likewise.
7914 (__x86_64_raw_shared_cache_size_half): Likewise.
7915
7916 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7917 (__x86_64_raw_data_cache_size_half): Likewise.
7918 (__x86_64_raw_shared_cache_size): Likewise.
7919 (__x86_64_raw_shared_cache_size_half): Likewise.
7920 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7921 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7922 and __x86_64_raw_shared_cache_size_half. Round
7923 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7924 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7925 to multiple of 256 bytes.
7926
0e516e0e
MS
79272010-11-03 Ulrich Drepper <drepper@gmail.com>
7928
7929 [BZ #12167]
7930 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7931 of inacessible symlinks. Verify result of symlink before returning it.
7932 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7933 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7934
0e012e87
ER
79352010-10-28 Erich Ritz <erichritz@gmail.com>
7936
7937 * math/math.h (isinf): Fix typo in comment.
7938
de0ff7bc
UD
79392010-11-01 Ulrich Drepper <drepper@gmail.com>
7940
7941 * po/da.po: Update from translation team.
7942
fa41c84d
UD
79432010-10-26 Ulrich Drepper <drepper@gmail.com>
7944
7945 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7946 is added to the list.
7947
f0967738
AK
79482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7949 Ulrich Drepper <drepper@gmail.com>
7950
7951 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7952 the global list here. Move code to...
7953 (_dl_add_to_namespace_list): ...here. New function.
7954 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7955 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7956 * elf/dl-load.c (lose): Don't remove the element from the list.
7957 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7958 (_dl_map_object): Likewise.
7959
79602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7961
7962 [BZ #12159]
7963 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7964 into all bytes of SSE register.
7965 Patch by Richard Li <richardpku@gmail.com>.
7966
f0967738 79672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
7968
7969 [BZ #12140]
7970 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7971 perturbing.
7972
d0b9e94f
MB
79732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7974
7975 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7976 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7977 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7978 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7980 submachine.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7982
8e9f92e9
AS
79832010-10-22 Andreas Schwab <schwab@redhat.com>
7984
7985 * include/dlfcn.h (__RTLD_SECURE): Define.
7986 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7987 mode & __RTLD_SECURE instead.
7988 (open_path): Rename preloaded parameter to secure.
7989 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7990 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7991 * elf/dl-deps.c (openaux): Likewise.
7992 * elf/rtld.c (struct map_args): Remove is_preloaded.
7993 (map_doit): Don't use it.
7994 (dl_main): Likewise.
7995 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7996 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7997
bc96fbda
AS
79982010-09-09 Andreas Schwab <schwab@redhat.com>
7999
8000 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8001 (sysd-rules-targets): Remove duplicates.
8002 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8003 rtld-%.$o dependency.
8004
22cd1c9b
AS
80052010-10-18 Andreas Schwab <schwab@redhat.com>
8006
8007 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8008 _dl_map_object do it.
8009
18edac48
UD
80102010-10-19 Ulrich Drepper <drepper@gmail.com>
8011
8012 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8013 fast fma builtins, define the macros in the C99 standard.
8014 (FP_FAST_FMAF): Likewise.
8015 (FP_FAST_FMAL): Likewise.
8016 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8017
8018 * bits/mathdef.h: Update copyright year.
8019 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8020
d2050124
MM
80212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8022
8023 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8024 builtins, define the macros in the C99 standard.
8025 (FP_FAST_FMAF): Likewise.
8026 (FP_FAST_FMAL): Likewise.
8027 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8028 multiply/add.
8029 (FP_FAST_FMAF): Likewise.
8030
475facd1
JJ
80312010-10-15 Jakub Jelinek <jakub@redhat.com>
8032
8033 [BZ #3268]
8034 * math/libm-test.inc (fma_test): Some new testcases.
8035 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8036 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8037 y and infinite z. Do multiplication by C already in long double.
8038 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8040 y and infinite z. Do bitwise or of inexact bit into u.d.
8041 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8042 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8043 * sysdeps/i386/fpu/s_fma.S: Removed.
8044 * sysdeps/i386/fpu/s_fmal.S: Removed.
8045
7c08a05c
JJ
80462010-10-16 Jakub Jelinek <jakub@redhat.com>
8047
8048 [BZ #3268]
8049 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8051 computation is not scheduled after fetestexcept. Fix value
8052 of minimum denormal long double.
8053
f3f7372d
JJ
80542010-10-14 Jakub Jelinek <jakub@redhat.com>
8055
8056 [BZ #3268]
8057 * math/libm-test.inc (fma_test): Add some more tests.
8058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8059 correctly.
8060
14d43591
AS
80612010-10-15 Andreas Schwab <schwab@redhat.com>
8062
8063 * scripts/data/localplt-s390-linux-gnu.data: New file.
8064 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8065
5e908464
JJ
80662010-10-13 Jakub Jelinek <jakub@redhat.com>
8067
8068 [BZ #3268]
8069 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8070 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8071 instead of dbl-64.
8072 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8073 inlines.
8074 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8076 if one of x and y is very large and the other is subnormal.
8077 * sysdeps/s390/fpu/s_fmaf.c: New file.
8078 * sysdeps/s390/fpu/s_fma.c: New file.
8079 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8080 * sysdeps/powerpc/fpu/s_fma.S: New file.
8081 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8082 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8083 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8084
80852010-10-12 Jakub Jelinek <jakub@redhat.com>
8086
8087 [BZ #3268]
8088 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8089 fma tests.
8090 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8091 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8092 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8093 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8094 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8095 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8097
b833d51f
UD
80982010-10-12 Ulrich Drepper <drepper@redhat.com>
8099
8100 [BZ #12078]
8101 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8102 * posix/bug-regex31.input: Add test case.
8103
1751705d
UD
81042010-10-11 Ulrich Drepper <drepper@gmail.com>
8105
e9b9cbf5
UD
8106 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8107 * posix/bug-regex31.input: New file.
8108
8109 [BZ #12078]
8110 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8111 (parse_sub_exp): Fix last change, use postorder.
8112
ef06edbe
UD
8113 * posix/bug-regex31.c: New file.
8114 * posix/Makefile: Add rules to build and run bug-regex31.
8115
a129c80d
UD
8116 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8117
8118 [BZ #12078]
8119 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8120
b76b818e
UD
8121 [BZ #12108]
8122 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8123 to have entries in sys_siglist.
8124
1751705d
UD
8125 [BZ #12093]
8126 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8127 be NULL.
8128
9ff8d36f
JJ
81292010-10-07 Jakub Jelinek <jakub@redhat.com>
8130
8131 [BZ #3268]
8132 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8133 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8134 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8135 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8136 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8137 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8138 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8139 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8140 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8141 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8142 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8143 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8144 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8145 * math/ftestexcept.c (fetestexcept): Likewise.
8146 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8147 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8148 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8149 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8150 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8151 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8152 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8153
af325969
UD
81542010-10-11 Ulrich Drepper <drepper@gmail.com>
8155
c579b202 8156 [BZ #12107]
af325969
UD
8157 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8158 newline.
8159
67a67b95
UD
81602010-10-06 Ulrich Drepper <drepper@gmail.com>
8161
8162 * string/bug-strstr1.c: New file.
8163 * string/Makefile: Add rules to build and run bug-strstr1.
8164
5fb308bc
EB
81652010-10-05 Eric Blake <eblake@redhat.com>
8166
8167 [BZ #12092]
8168 * string/str-two-way.h (two_way_long_needle): Always clear memory
8169 when skipping input due to the shift table.
8170
45db99c7
UD
81712010-10-03 Ulrich Drepper <drepper@gmail.com>
8172
3b111893
UD
8173 [BZ #12005]
8174 * malloc/mcheck.c: Handle large requests.
8175
45db99c7
UD
8176 [BZ #12077]
8177 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8178 for strncmp and strncasecmp.
8179 * string/stratcliff.c: Add tests for strcmp and strncmp.
8180 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8181
cf7a1eb8
NI
81822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8183
8184 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8185 __set_fpscr.
8186
6484ba5e
AJ
81872010-09-30 Andreas Jaeger <aj@suse.de>
8188
8189 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8190 (CGROUP_SUPER_MAGIC): Define.
8191 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8192 Handle btrfs and cgroup file systems.
8193 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8194 Likewise.
8195
91c42559
LM
81962010-09-27 Luis Machado <luisgpm@br.ibm.com>
8197
8198 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8199 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8200
87a97932
AK
82012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8202
8203 [BZ #12067]
8204 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8205 trying to locate the ELF header.
8206
c21cc9bc
AS
82072010-09-27 Andreas Schwab <schwab@redhat.com>
8208
8209 [BZ #11611]
8210 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8211 Mask out sign-bit copies when constructing f_fsid.
8212
315970f6
PB
82132010-09-24 Petr Baudis <pasky@suse.cz>
8214
8215 * debug/stack_chk_fail_local.c: Add missing licence exception.
8216 * debug/warning-nop.c: Likewise.
8217
1ac7a2c7
JM
82182010-09-15 Joseph Myers <joseph@codesourcery.com>
8219
8220 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8221 implementing getdents64 using getdents syscall, set d_type if
8222 __ASSUME_GETDENTS32_D_TYPE.
8223
56801c50
AS
82242010-09-16 Andreas Schwab <schwab@redhat.com>
8225
8226 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8227 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8228
dda51327
UD
82292010-09-21 Ulrich Drepper <drepper@redhat.com>
8230
8231 [BZ #12037]
8232 * posix/unistd.h: Undo change of feature selection for ftruncate from
8233 2010-01-11.
8234
8ffcee4a
UD
82352010-09-20 Ulrich Drepper <drepper@redhat.com>
8236
a545ecd9 8237 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8238 detection.
8239
e24f0a8b
AS
82402010-09-20 Andreas Schwab <schwab@redhat.com>
8241
8242 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8243 fanotify_mark.
8244 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8245
7291c56f
AS
82462010-09-14 Andreas Schwab <schwab@redhat.com>
8247
8248 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8249 variables after CHECK_SP call.
8250 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8251
bc5fb037
AS
82522010-09-13 Andreas Schwab <schwab@redhat.com>
8253 Ulrich Drepper <drepper@redhat.com>
8254
8255 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8256 re-relocationg ld.so.
8257 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8258 _dl_init_paths call.
8259 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8260 here anymore.
8261
e66e7419
UD
82622010-09-14 Ulrich Drepper <drepper@redhat.com>
8263
8264 * resolv/res_init.c (__res_vinit): Count the default server we added.
8265
c044aa75
CLT
82662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8267 Ulrich Drepper <drepper@redhat.com>
8268
8269 [BZ #11968]
8270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8271 (____longjmp_chk): Use %ebx for saving value across system call.
8272 Add unwind info.
8273
32cf4069
AS
82742010-09-06 Andreas Schwab <schwab@redhat.com>
8275
8276 * manual/Makefile: Don't mix pattern rules with normal rules.
8277
817328ee
AS
82782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8279
8280 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8281 operation.
8282 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8283 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8284 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8285 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8287 Likewise.
8288
29fddf61
UD
82892010-09-04 Ulrich Drepper <drepper@redhat.com>
8290
8291 [BZ #11979]
8292 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8293 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8294
0959ffc9
UD
82952010-09-02 Ulrich Drepper <drepper@redhat.com>
8296
8297 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8298 * sysdeps/x86_64/addmul_1.S: Likewise.
8299 * sysdeps/x86_64/lshift.S: Likewise.
8300 * sysdeps/x86_64/mul_1.S: Likewise.
8301 * sysdeps/x86_64/rshift.S: Likewise.
8302 * sysdeps/x86_64/sub_n.S: Likewise.
8303 * sysdeps/x86_64/submul_1.S: Likewise.
8304
ece29840
ST
83052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8306
0959ffc9
UD
8307 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8308 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8309 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8310 * bits/sched.h [__need_schedparam]
ece29840 8311 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8312 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8313 (__defined_schedparam): Define to 1.
ece29840
ST
8314 (__sched_param): New structure, identical to sched_param.
8315 (__need_schedparam): Undefine.
8316
e53a31fe
MF
83172010-08-31 Mike Frysinger <vapier@gentoo.org>
8318
fdc0c10d
MF
8319 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8320 (epoll_create1): Declare.
8321
e53a31fe
MF
8322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8323
a726d796
AS
83242010-08-31 Andreas Schwab <schwab@redhat.com>
8325
8326 [BZ #7066]
8327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8328 shifting retval into place.
8329
2f3e3dc7
UD
83302010-09-01 Ulrich Drepper <drepper@redhat.com>
8331
f2933da9
UD
8332 * nis/rpcsvc/nis.h: Update copyright notice.
8333 * nis/rpcsvc/nis.x: Likewise.
8334 * nis/rpcsvc/nis_callback.h: Likewise.
8335 * nis/rpcsvc/nis_callback.x: Likewise.
8336 * nis/rpcsvc/nis_object.x: Likewise.
8337 * nis/rpcsvc/nis_tags.h: Likewise.
8338 * nis/rpcsvc/yp.h: Likewise.
8339 * nis/rpcsvc/yp.x: Likewise.
8340 * nis/rpcsvc/ypupd.h: Likewise.
8341 * nis/yp_xdr.c: Likewise.
8342 * nis/ypupdate_xdr.c: Likewise.
8343
2f3e3dc7
UD
8344 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8345 mainly the body of pmap_getport. Add parameters to specify timeouts.
8346 (pmap_getport): Use __libc_rpc_getport.
8347 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8348 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8349 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8350
f3dcc2f9
AS
83512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8352
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8354 fanotify_mark.
8355
6d34eb5b
RM
83562010-08-27 Roland McGrath <roland@redhat.com>
8357
8358 * sysdeps/i386/i686/multiarch/Makefile
8359 (CFLAGS-varshift.c): New variable.
8360
9ea3de11
UD
83612010-08-27 Ulrich Drepper <drepper@redhat.com>
8362
c96d23fc
UD
8363 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8364 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8365
9ea3de11
UD
8366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8367
8368 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8369
623aac7f
L
83702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8371
8372 * sysdeps/x86_64/strlen.S: Unroll the loop.
8373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8374 strlen-sse2 strlen-sse2-bsf.
8375 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8376 __strlen_no_bsf if bit_Slow_BSF is set.
8377 (__strlen_sse42): Removed.
8378 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8379 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8380
8b2b7715
RM
83812010-08-25 Roland McGrath <roland@redhat.com>
8382
8383 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8384 * sysdeps/x86_64/multiarch/varshift.c: New file.
8385 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8386 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8387 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8388 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8389
e73015f2
L
83902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8391
8392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8393 strlen-sse2 strlen-sse2-bsf.
8394 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8395 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8396 (__strlen_sse2): Removed.
8397 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8400 bit_Slow_BSF for Atom.
8401 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8402 (index_Slow_BSF): Define.
8403 (HAS_SLOW_BSF): Define.
8404
df24a73e
UD
84052010-08-25 Ulrich Drepper <drepper@redhat.com>
8406
8407 [BZ #10851]
8408 * resolv/res_init.c (__res_vinit): When no server address at all
8409 is given default to loopback.
8410
f2ac4868
RM
84112010-08-24 Roland McGrath <roland@redhat.com>
8412
09055553
RM
8413 * configure.in: Remove config-name.h generation.
8414 * configure: Regenerated.
8415 * config-name.in: File removed.
8416 * scripts/config-uname.sh: New file.
8417 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8418 ($(objdir)config-name.h): New target.
8419
f2ac4868
RM
8420 * sunrpc/rpc_parse.h: Avoid nested comment.
8421
73f27d5e
RH
84222010-08-24 Richard Henderson <rth@redhat.com>
8423 Ulrich Drepper <drepper@redhat.com>
8424 H.J. Lu <hongjiu.lu@intel.com>
8425
8426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8428 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8429 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8430 _mm_alignr_epi8 with _mm_loadu_si128.
8431 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8432 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8433 (__m128i_shift_right): Removed.
8434 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8435 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8436 * sysdeps/x86_64/multiarch/varshift.h: New file.
8437 * sysdeps/x86_64/multiarch/varshift.S: New file.
8438
84b9230c
MF
84392010-08-21 Mike Frysinger <vapier@gentoo.org>
8440
8441 * configure.in: Move assembler checks to before sysdep dir checking.
8442
9bbd0ddc
PB
84432010-08-20 Petr Baudis <pasky@suse.cz>
8444
8445 * LICENSES: Sync the sunrpc license.
8446
9da4bb31
UD
84472010-08-19 Ulrich Drepper <drepper@redhat.com>
8448
a7ab6ec8
UD
8449 * sunrpc/auth_des.c: Update copyright notice once again.
8450 * sunrpc/auth_none.c: Likewise.
8451 * sunrpc/auth_unix.c: Likewise.
8452 * sunrpc/authdes_prot.c: Likewise.
8453 * sunrpc/authuxprot.c: Likewise.
8454 * sunrpc/bindrsvprt.c: Likewise.
8455 * sunrpc/clnt_gen.c: Likewise.
8456 * sunrpc/clnt_perr.c: Likewise.
8457 * sunrpc/clnt_raw.c: Likewise.
8458 * sunrpc/clnt_simp.c: Likewise.
8459 * sunrpc/clnt_tcp.c: Likewise.
8460 * sunrpc/clnt_udp.c: Likewise.
8461 * sunrpc/clnt_unix.c: Likewise.
8462 * sunrpc/des_crypt.c: Likewise.
8463 * sunrpc/des_soft.c: Likewise.
8464 * sunrpc/get_myaddr.c: Likewise.
8465 * sunrpc/getrpcport.c: Likewise.
8466 * sunrpc/key_call.c: Likewise.
8467 * sunrpc/key_prot.c: Likewise.
8468 * sunrpc/openchild.c: Likewise.
8469 * sunrpc/pm_getmaps.c: Likewise.
8470 * sunrpc/pm_getport.c: Likewise.
8471 * sunrpc/pmap_clnt.c: Likewise.
8472 * sunrpc/pmap_prot.c: Likewise.
8473 * sunrpc/pmap_prot2.c: Likewise.
8474 * sunrpc/pmap_rmt.c: Likewise.
8475 * sunrpc/rpc/auth.h: Likewise.
8476 * sunrpc/rpc/auth_unix.h: Likewise.
8477 * sunrpc/rpc/clnt.h: Likewise.
8478 * sunrpc/rpc/des_crypt.h: Likewise.
8479 * sunrpc/rpc/key_prot.h: Likewise.
8480 * sunrpc/rpc/netdb.h: Likewise.
8481 * sunrpc/rpc/pmap_clnt.h: Likewise.
8482 * sunrpc/rpc/pmap_prot.h: Likewise.
8483 * sunrpc/rpc/pmap_rmt.h: Likewise.
8484 * sunrpc/rpc/rpc.h: Likewise.
8485 * sunrpc/rpc/rpc_des.h: Likewise.
8486 * sunrpc/rpc/rpc_msg.h: Likewise.
8487 * sunrpc/rpc/svc.h: Likewise.
8488 * sunrpc/rpc/svc_auth.h: Likewise.
8489 * sunrpc/rpc/types.h: Likewise.
8490 * sunrpc/rpc/xdr.h: Likewise.
8491 * sunrpc/rpc_clntout.c: Likewise.
8492 * sunrpc/rpc_cmsg.c: Likewise.
8493 * sunrpc/rpc_common.c: Likewise.
8494 * sunrpc/rpc_cout.c: Likewise.
8495 * sunrpc/rpc_dtable.c: Likewise.
8496 * sunrpc/rpc_hout.c: Likewise.
8497 * sunrpc/rpc_main.c: Likewise.
8498 * sunrpc/rpc_parse.c: Likewise.
8499 * sunrpc/rpc_parse.h: Likewise.
8500 * sunrpc/rpc_prot.c: Likewise.
8501 * sunrpc/rpc_sample.c: Likewise.
8502 * sunrpc/rpc_scan.c: Likewise.
8503 * sunrpc/rpc_scan.h: Likewise.
8504 * sunrpc/rpc_svcout.c: Likewise.
8505 * sunrpc/rpc_tblout.c: Likewise.
8506 * sunrpc/rpc_util.c: Likewise.
8507 * sunrpc/rpc_util.h: Likewise.
8508 * sunrpc/rpcinfo.c: Likewise.
8509 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8510 * sunrpc/rpcsvc/key_prot.x: Likewise.
8511 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8512 * sunrpc/rpcsvc/mount.x: Likewise.
8513 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8514 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8515 * sunrpc/rpcsvc/rex.x: Likewise.
8516 * sunrpc/rpcsvc/rstat.x: Likewise.
8517 * sunrpc/rpcsvc/rusers.x: Likewise.
8518 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8519 * sunrpc/rpcsvc/spray.x: Likewise.
8520 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8521 * sunrpc/rtime.c: Likewise.
8522 * sunrpc/svc.c: Likewise.
8523 * sunrpc/svc_auth.c: Likewise.
8524 * sunrpc/svc_authux.c: Likewise.
8525 * sunrpc/svc_raw.c: Likewise.
8526 * sunrpc/svc_run.c: Likewise.
8527 * sunrpc/svc_simple.c: Likewise.
8528 * sunrpc/svc_tcp.c: Likewise.
8529 * sunrpc/svc_udp.c: Likewise.
8530 * sunrpc/svc_unix.c: Likewise.
8531 * sunrpc/svcauth_des.c: Likewise.
8532 * sunrpc/xcrypt.c: Likewise.
8533 * sunrpc/xdr.c: Likewise.
8534 * sunrpc/xdr_array.c: Likewise.
8535 * sunrpc/xdr_float.c: Likewise.
8536 * sunrpc/xdr_mem.c: Likewise.
8537 * sunrpc/xdr_rec.c: Likewise.
8538 * sunrpc/xdr_ref.c: Likewise.
8539 * sunrpc/xdr_sizeof.c: Likewise.
8540 * sunrpc/xdr_stdio.c: Likewise.
8541
9da4bb31
UD
8542 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8543 handling.
8544
bdaa77bc
AS
85452010-08-19 Andreas Schwab <schwab@redhat.com>
8546
8547 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8548
fe2f79db
LM
85492010-08-19 Luis Machado <luisgpm@br.ibm.com>
8550
8551 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8552 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8553 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8554 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8555 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8556 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8557 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8558 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8560 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8561 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8562 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8563 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8564 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8565
b9b42ee0
AB
85662010-07-26 Anton Blanchard <anton@samba.org>
8567
8568 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8569 * malloc/arena.c (heap_trim): Likewise.
8570
1c06ba31
UD
85712010-08-16 Ulrich Drepper <drepper@redhat.com>
8572
8573 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8574 here. Not...
8575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8576 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8577
f8392f40
L
85782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 * sysdeps/i386/elf/Makefile: New file.
8581
3162f12e
AS
85822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8583
8584 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8585 from fanotify_init.
8586 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8588
28c90b2c
UD
85892010-08-15 Ulrich Drepper <drepper@redhat.com>
8590
8591 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8592 of strncasecmp_l.
1feccb6c 8593 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8594
ca6bb004
UD
85952010-08-14 Ulrich Drepper <drepper@redhat.com>
8596
e9f82e0d
UD
8597 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8598 strncase_l-nonascii.
8599 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8600 Add strncase_l-ssse3.
8601 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8602 * sysdeps/x86_64/strcmp.S: Likewise.
8603 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8604 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8605 * sysdeps/x86_64/strncase.S: New file.
8606 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8607 * sysdeps/x86_64/strncase_l.S: New file.
8608 * string/Makefile (strop-tests): Add strncasecmp.
8609 * string/test-strncasecmp.c: New file.
8610
8611 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8612 warning.
8613
ca6bb004
UD
8614 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8615 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8616
052fa7b3
AS
86172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8618
8619 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8620
962dba78
UD
86212010-08-12 Ulrich Drepper <drepper@redhat.com>
8622
8623 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8624 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8626
bebff237
AM
86272010-05-01 Alan Modra <amodra@gmail.com>
8628
8629 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8630 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8631 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8632 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8633 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8634 tidying. Don't tail-call __sigjmp_save for static lib.
8635 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8636 save location.
8637 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8638 (CALL_MCOUNT): Add eh info, and nop after bl.
8639 (TAIL_CALL_SYSCALL_ERROR): New macro.
8640 (PSEUDO_RET): Use it.
8641 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8642 Correct save location of integer regs and cr.
8643 (_dl_profile_resolve): Correct cr save location. Delete nops
8644 after bl when SHARED. Reduce cfi size a little by better
8645 placement of cfi directives.
8646 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8647 make a stack frame. Instead use parm save area as a temp.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8649 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8651 Don't make a stack frame for parent, use parm save area.
8652 Increase child stack frame to 112 bytes. Don't save unused reg,
8653 and adjust reg usage. Set up cfi on error recovery and
8654 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8656 (__makecontext): Add dummy nop after jump to exit.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8658 Use correct parm save area and cr save, reduce stack frame.
8659 Correct cfi for possible PSEUDO_RET frame setup.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8661 Branch to local label emitted by PSEUDO_RET rather than
8662 __syscall_error.
8663
02637374
AS
86642010-08-12 Andreas Schwab <schwab@redhat.com>
8665
8666 [BZ #11904]
8667 * locale/programs/locale.c (print_assignment): New function.
8668 (show_locale_vars): Use it.
8669
c3e2f19b
UD
86702010-08-11 Ulrich Drepper <drepper@redhat.com>
8671
3cdaa6ad
UD
8672 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8673 field.
8674 (struct statfs64): Likewise.
8675 (_STATFS_F_FLAGS): Define.
8676 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8677 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8678 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8679 (ST_VALID): Define locally.
8680 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8681 __statvfs_getflags, use the provided value.
8682 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8683 __ASSUME_STATFS_F_FLAGS.
8684
754f7da3
UD
8685 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8686
10b3bedc
UD
8687 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8688 Add sys/fanotify.h.
8689 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8690 fanotify_mask for GLIBC_2.13.
8691 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8692 fanotify_init and fanotify_mark.
8693 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8694 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8695
c08fb0d7
UD
8696 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8697 Add prlimit.
8698 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8699 prlimit64 for GLIBC_2.13.
8700 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8701 prlimit64.
8702 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8703 syscall.
8704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8705 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8706 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8707 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8708 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8709 add prlimit alias.
8710 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8711
15bac72b
UD
8712 [BZ #11903]
8713 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8714 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8715
c3e2f19b
UD
8716 * nss/Makefile: Add rules to build and run tst-nss-test1.
8717 * shlib-versions: Add entry for libnss_test1.
8718 * nss/nss_test1.c: New file.
8719 * nss/tst-nss-test1.c: New file.
8720
8721 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8722 (__nss_configure_lookup): Set appropriate entry in
8723 __nss_configure_lookup to true.
8724 * nss/nsswitch.h: Define enum with indeces of databases in
8725 databases and __nss_database_custom arrays. Declare
8726 __nss_database_custom.
8727 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8728 to avoid using nscd when custom rules are installed.
8729 * nss/getXXbyYY_r.c: Likewise.
8730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8731
8732 * nss/nss_files/files-parse.c: Whitespace fixes.
8733
f15ce4d8
UD
87342010-08-09 Ulrich Drepper <drepper@redhat.com>
8735
8736 [BZ #11883]
8737 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8738 * posix/fnmatch_loop.c: Likewise.
8739
d22e4cc9
AK
87402010-07-17 Andi Kleen <ak@linux.intel.com>
8741
8742 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8743 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8744 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8745 * Versions.def [GLIBC_2.13]: Add.
8746
805bc17d
UD
87472010-08-06 Ulrich Drepper <drepper@redhat.com>
8748
8749 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8750 Also fail if tpwd after pwuid call is NULL.
8751
5a42321d
ST
87522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8753
8754 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8755 when converting to ms.
8756
fd3ebeda
ST
87572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8758
8759 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8760 EOPNOTSUPP errors with ENOTTY.
8761 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8762 EOPNOTSUPP errors with ENOTTY.
8763
73507d3a
UD
87642010-07-31 Ulrich Drepper <drepper@redhat.com>
8765
8766 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8767 Add strcasecmp_l-ssse3.
8768 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8769 strcasecmp.
8770 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8771 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8772 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8773
fe36dd02
UD
87742010-07-30 Ulrich Drepper <drepper@redhat.com>
8775
66f6765a
UD
8776 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8777
42e08a54
UD
8778 * string/Makefile (strop-tests): Add strcasecmp.
8779 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8780 strcasecmp_l-nonascii.
8781 (gen-as-const-headers): Add locale-defines.sym.
8782 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8783 * sysdeps/x86_64/strcasecmp.S: New file.
8784 * sysdeps/x86_64/strcasecmp_l.S: New file.
8785 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8786 * sysdeps/x86_64/locale-defines.sym: New file.
8787 * string/test-strcasecmp.c: New file.
8788
fe36dd02
UD
8789 * string/test-strcasestr.c: Test both ends of the range of characters.
8790 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8791
48cbc0d6
RM
87922010-07-29 Roland McGrath <roland@redhat.com>
8793
76e6d6bc 8794 [BZ #11856]
48cbc0d6
RM
8795 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8796
880113d9
UD
87972010-07-27 Ulrich Drepper <drepper@redhat.com>
8798
8799 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8800 for ld.so.
8801
deb9cabb
AS
88022010-07-27 Andreas Schwab <schwab@redhat.com>
8803
8804 * manual/memory.texi (Malloc Tunable Parameters): Document
8805 M_PERTURB.
8806
1c7570ff
RM
88072010-07-26 Roland McGrath <roland@redhat.com>
8808
8809 [BZ #11840]
8810 * configure.in (-fgnu89-inline check): Set and substitute
8811 gnu89_inline, not libc_cv_gnu89_inline.
8812 * configure: Regenerated.
8813 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8814
24fb0f88
UD
88152010-07-26 Ulrich Drepper <drepper@redhat.com>
8816
8817 * string/test-strnlen.c: New file.
8818 * string/Makefile (strop-tests): Add strnlen.
8819 * string/tester.c (test_strnlen): Add a few more test cases.
8820 * string/tst-strlen.c: Better error reporting.
8821
8822 * sysdeps/x86_64/strnlen.S: New file.
8823
8e96b93a
UD
88242010-07-24 Ulrich Drepper <drepper@redhat.com>
8825
8826 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8827 lower-latency instructions.
8828
dbc676d4
UD
88292010-07-23 Ulrich Drepper <drepper@redhat.com>
8830
8831 * string/test-strcasestr.c: New file.
8832 * string/test-strstr.c: New file.
8833 * string/Makefile (strop-tests): Add strstr and strcasestr.
8834 * string/str-two-way.h: Don't undefine MAX.
8835 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8836
f6a31e0e
AS
88372010-07-21 Andreas Schwab <schwab@redhat.com>
8838
8839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8840 strcasestr-nonascii.
8841 (CFLAGS-strcasestr-nonascii.c): Define.
8842 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8843 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8844 Remove unused attribute.
8845
5dbc3b6c
RM
88462010-07-20 Roland McGrath <roland@redhat.com>
8847
8848 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8849 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8850 ld.so.cache was broken. With it, there is no way to disable dsocaps
8851 like LD_HWCAP_MASK can disable hwcaps.
8852
23d101d8
EPM
88532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8854
8855 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8856
cc9f2e47
UD
88572010-07-16 Ulrich Drepper <drepper@redhat.com>
8858
8859 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8860 call in strcasestr.
8861 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8862 __strcasestr_sse42_nonascii.
8863 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8864 strcasestr-nonascii.c.
8865 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8866
77c1b069
LM
88672010-06-15 Luis Machado <luisgpm@br.ibm.com>
8868
8869 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8870 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8871 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8872 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8873
440566c3
UD
88742010-07-09 Ulrich Drepper <drepper@redhat.com>
8875
8876 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8877 fcntl.
8878
5be9d05d
AS
88792010-07-06 Andreas Schwab <schwab@redhat.com>
8880
c30b7ee2 8881 [BZ #11577]
5be9d05d
AS
8882 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8883 dl_signal_cerror.
8884
8a492a67
UD
88852010-07-06 Ulrich Drepper <drepper@redhat.com>
8886
8887 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8888 _PC_PIPE_BUF using F_GETPIPE_SZ.
8889
713df3d5
RM
88902010-07-05 Roland McGrath <roland@redhat.com>
8891
8892 * manual/arith.texi (Rounding Functions): Fix rint description
8893 implicit in round description.
8894
702e8f14
UD
88952010-07-02 Ulrich Drepper <drepper@redhat.com>
8896
8897 * elf/Makefile: Fix linking for a few tests to make recent linker
8898 happy.
8899
52ed8be9
AS
89002010-06-30 Andreas Schwab <schwab@redhat.com>
8901
8902 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8903 $(common-objpfx)libc_nonshared.a.
8904
f47c9a11
LM
89052010-06-21 Luis Machado <luisgpm@br.ibm.com>
8906
8907 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8908 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8909 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8910 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8911 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8912 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8913 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8914 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8929 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8930 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8931 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8932 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8933 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8934 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8935 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8936 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8937 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8938 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8939 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8940 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8955
6fb8cbcb
L
89562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8957
8958 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8959 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8960 * string/memmove.c (memmove): Renamed to ...
8961 (MEMMOVE): ...this. Default to memmove.
8962 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8963 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8964 (END_CHK): Define.
8965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8966 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8967 mempcpy-ssse3-back memmove-ssse3-back.
8968 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8969 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8971 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8972 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8973 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8974 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8975 * sysdeps/x86_64/multiarch/memmove.c: New file.
8976 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8977 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8978 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8979 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8980 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8981 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8982 Define.
8983 (index_Fast_Copy_Backward): Define.
8984 (HAS_ARCH_FEATURE): Define.
8985 (HAS_FAST_REP_STRING): Define.
8986 (HAS_FAST_COPY_BACKWARD): Define.
8987
4e733bac 89882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
8989
8990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8991 Restore proper fallback handling.
8992
63c4ed22
UD
89932010-06-19 Ulrich Drepper <drepper@redhat.com>
8994
ac2b484c
UD
8995 [BZ #11701]
8996 * posix/group_member.c (__group_member): Correct checking loop.
8997
63c4ed22
UD
8998 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8999 OOM in getpwuid_r correctly. Return error number when the caller
9000 should return, otherwise -1.
9001 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9002 call returning > 0 value.
9003 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9004
765ade4b
AS
90052010-06-07 Andreas Schwab <schwab@redhat.com>
9006
9007 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9008 libc_nonshared.a from targets in modules-names.
9009
80da2e09
KS
90102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9011
9012 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9013 requires it.
9014
158db122
LM
90152010-06-10 Luis Machado <luisgpm@br.ibm.com>
9016
9017 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9018 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9021
caa78cf8
AS
90222010-06-02 Andreas Schwab <schwab@redhat.com>
9023
9024 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9025
b2ef2c01
UD
90262010-06-14 Ulrich Drepper <drepper@redhat.com>
9027
9028 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9029 and F_GETPIPE_SZ.
9030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9032 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9034 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9036
fbd643b6
RM
90372010-06-14 Roland McGrath <roland@redhat.com>
9038
9039 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9040
f32f2869
JJ
90412010-06-07 Jakub Jelinek <jakub@redhat.com>
9042
9043 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9044 __REDIRECT followed by __THROW.
9045 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9046 * posix/getopt.h (getopt): Likewise.
9047
2a50c078
EPM
90482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9049
9050 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9051 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9052 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9053 in AT_FLAGS.
9054 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9055 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9056
eb5ad2eb
LM
90572010-05-28 Luis Machado <luisgpm@br.ibm.com>
9058
9059 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9060
3c88fe1e
L
90612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9062
9063 [BZ #11640]
9064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9065 Properly check family and model.
9066
d2f73151
TY
90672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9068
9069 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9070
ebd2e13d
LM
90712010-05-24 Luis Machado <luisgpm@br.ibm.com>
9072
9073 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9074
b32b8b45
UD
90752010-05-21 Ulrich Drepper <drepper@redhat.com>
9076
9077 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9078 symbol reference.
9079
9acbe24d
AS
90802010-05-19 Andreas Schwab <schwab@redhat.com>
9081
9082 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9083 symbol reference.
9084
f0ccf6ea
AS
90852010-05-21 Andreas Schwab <schwab@redhat.com>
9086
3d04ff3a
AS
9087 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9088 and internal_recvmmsg.
9089 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9090 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9091 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9092 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9093
f0ccf6ea
AS
9094 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9095 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9096 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9097
5b08ac57
AS
90982010-05-20 Andreas Schwab <schwab@redhat.com>
9099
9100 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9101
4828935d
LM
91022010-05-17 Luis Machado <luisgpm@br.ibm.com>
9103
9104 POWER7 optimizations.
9105 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9106 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9107
373d545e
UD
91082010-05-19 Ulrich Drepper <drepper@redhat.com>
9109
9110 * version.h: Update for 2.13 development version.
9111
21a2b1ae
AS
91122010-05-12 Andrew Stubbs <ams@codesourcery.com>
9113
9114 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9115 exceptions. Return 0.
9116
3f7dcb2b
RM
91172010-05-07 Roland McGrath <roland@redhat.com>
9118
9119 * elf/ldconfig.c (main): Add a const.
9120
5f24d53a 91212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9122
a160f8d8
UD
9123 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9124 (args_options): Add no-idn option.
9125 (ahosts_keys_int): Add idn_flags to ai_flags.
9126 (parse_option): Handle 'i' option to clear idn_flags.
9127
5f24d53a
UD
9128 * malloc/malloc.c (_int_free): Possible race in the most recently
9129 added check. Only act on the data if no current modification
9130 happened.
265bb1ce
UD
9131
9132See ChangeLog.17 for earlier changes.
This page took 1.103869 seconds and 5 git commands to generate.