]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix pow in non-default rounding modes (bug 3976).
[glibc.git] / ChangeLog
CommitLineData
b7cd39e8
JM
12012-03-05 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #3976]
4 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5 (__ieee754_pow): Save and restore rounding mode and use
6 round-to-nearest for main computations.
7 * math/libm-test.inc (pow_test_tonearest): New function.
8 (pow_test_towardzero): Likewise.
9 (pow_test_downward): Likewise.
10 (pow_test_upward): Likewise.
11 (main): Call the new functions.
12 * sysdeps/i386/fpu/libm-test-ulps: Update.
13 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14
15 [BZ #3976]
16 * math/libm-test.inc (cosh_test_tonearest): New function.
17 (cosh_test_towardzero): Likewise.
18 (cosh_test_downward): Likewise.
19 (cosh_test_upward): Likewise.
20 (sinh_test_tonearest): Likewise.
21 (sinh_test_towardzero): Likewise.
22 (sinh_test_downward): Likewise.
23 (sinh_test_upward): Likewise.
24 (main): Call the new functions.
25 * sysdeps/i386/fpu/libm-test-ulps: Update.
26 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27
6c6a98c9
TV
282012-03-05 Tom de Vries <tom@codesourcery.com>
29
30 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31 default stack guard is set in last bytes.
32 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33
21bb2d2e 342012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35
21bb2d2e 36 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37
21bb2d2e
AJ
38 [BZ #13656]
39 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40 possibly allocate from heap instead of stack.
41 * stdio-common/bug-vfprintf-nargs.c: New file.
42 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43
c6922934
AS
442012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45
46 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47
bc957d53
MP
482012-03-03 Marek Polacek <polacek@redhat.com>
49
50 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51 * math/math_private.h: Likewise.
52 * stdlib/tst-strtod.c: Likewise.
53 * sysdeps/i386/i486/bits/atomic.h: Likewise.
54 * sysdeps/x86_64/bits/atomic.h: Likewise.
55
6358490d
DM
562012-03-02 David S. Miller <davem@davemloft.net>
57
58 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
59 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
63 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66
01ae168d
RM
672012-03-02 Roland McGrath <roland@hack.frob.com>
68
d9a17c07
RM
69 [BZ #13792]
70 * manual/examples/README: New file, says the example source files
71 can be used under GPL>=2.
72 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73 line containing just "*/".
74 * manual/examples/add.c: Add copyright header (GPL>=2).
75 * manual/examples/argp-ex1.c: Likewise.
76 * manual/examples/argp-ex2.c: Likewise.
77 * manual/examples/argp-ex3.c: Likewise.
78 * manual/examples/argp-ex4.c: Likewise.
79 * manual/examples/atexit.c: Likewise.
80 * manual/examples/db.c: Likewise.
81 * manual/examples/dir.c: Likewise.
82 * manual/examples/dir2.c: Likewise.
83 * manual/examples/execinfo.c: Likewise.
84 * manual/examples/filecli.c: Likewise.
85 * manual/examples/filesrv.c: Likewise.
86 * manual/examples/fmtmsgexpl.c: Likewise.
87 * manual/examples/genpass.c: Likewise.
88 * manual/examples/inetcli.c: Likewise.
89 * manual/examples/inetsrv.c: Likewise.
90 * manual/examples/isockad.c: Likewise.
91 * manual/examples/longopt.c: Likewise.
92 * manual/examples/memopen.c: Likewise.
93 * manual/examples/memstrm.c: Likewise.
94 * manual/examples/mkfsock.c: Likewise.
95 * manual/examples/mkisock.c: Likewise.
96 * manual/examples/mygetpass.c: Likewise.
97 * manual/examples/pipe.c: Likewise.
98 * manual/examples/popen.c: Likewise.
99 * manual/examples/rprintf.c: Likewise.
100 * manual/examples/search.c: Likewise.
101 * manual/examples/select.c: Likewise.
102 * manual/examples/setjmp.c: Likewise.
103 * manual/examples/sigh1.c: Likewise.
104 * manual/examples/sigusr.c: Likewise.
105 * manual/examples/stpcpy.c: Likewise.
106 * manual/examples/strdupa.c: Likewise.
107 * manual/examples/strftim.c: Likewise.
108 * manual/examples/strncat.c: Likewise.
109 * manual/examples/subopt.c: Likewise.
110 * manual/examples/swapcontext.c: Likewise.
111 * manual/examples/termios.c: Likewise.
112 * manual/examples/testopt.c: Likewise.
113 * manual/examples/testpass.c: Likewise.
114 * manual/examples/timeval_subtract.c: Likewise.
115
01ae168d
RM
116 [BZ #13792]
117 * manual/time.texi (Elapsed Time): Move timeval_subtract example
118 function to ...
119 * manual/timeval_subtract.c.texi: ... here, new file.
120
49efa33d
DM
1212012-03-02 David S. Miller <davem@davemloft.net>
122
123 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
124
28afd92d
JM
1252012-03-02 Joseph Myers <joseph@codesourcery.com>
126
804360ed
JM
127 [BZ #3976]
128 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
129 (__sin): Save and restore rounding mode and use round-to-nearest
130 for all computations.
131 (__cos): Save and restore rounding mode and use round-to-nearest
132 for all computations.
133 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
134 <fenv.h>.
135 (tan): Save and restore rounding mode and use round-to-nearest for
136 all computations.
137 * math/libm-test.inc (cos_test_tonearest): New function.
138 (cos_test_towardzero): Likewise.
139 (cos_test_downward): Likewise.
140 (cos_test_upward): Likewise.
141 (sin_test_tonearest): Likewise.
142 (sin_test_towardzero): Likewise.
143 (sin_test_downward): Likewise.
144 (sin_test_upward): Likewise.
145 (tan_test_tonearest): Likewise.
146 (tan_test_towardzero): Likewise.
147 (tan_test_downward): Likewise.
148 (tan_test_upward): Likewise.
149 (main): Call the new functions.
150 * sysdeps/i386/fpu/libm-test-ulps: Update.
151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152
a6d06d7b
JM
153 [BZ #10135]
154 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
155 small n, then large n, before computing and testing k+n.
156 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
157 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
158 Likewise.
159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
160 Likewise.
161 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
162 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
163 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
164 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
165 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
166 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
167 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
168 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
169 * math/libm-test.inc (scalbn_test): Add more tests.
170 (scalbln_test): Likewise.
171
07e12bb3
JM
172 * manual/filesys.texi (mode_t): Describe constraints on size and
173 signedness, not exact equivalence to a particular type.
174 (ino_t): Likewise.
175 (ino64_t): Likewise.
176 (dev_t): Likewise.
177 (nlink_t): Likewise.
178 (blkcnt_t): Likewise.
179 (blkcnt64_t): Likewise.
180 * manual/llio.texi (off_t): Likewise.
181
28afd92d
JM
182 [BZ #3976]
183 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
184 (__ieee754_exp): Save and restore rounding mode and use
185 round-to-nearest for all computations.
186 * math/libm-test.inc (exp_test_tonearest): New function.
187 (exp_test_towardzero): Likewise.
188 (exp_test_downward): Likewise.
189 (exp_test_upward): Likewise.
190 (main): Call the new functions.
191 * sysdeps/i386/fpu/libm-test-ulps: Update.
192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
193
b1eeb65d
CD
1942012-03-01 Chris Demetriou <cgd@google.com>
195
196 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
197 have predictable order.
198
53362a4b
DM
1992012-03-01 David S. Miller <davem@davemloft.net>
200
3c969083
DM
201 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
202
759707de
DM
203 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
204 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
205 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
206 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
207
dfdb8ff2
DM
208 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
209 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
210 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
212 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
213 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
214 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
215 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
216 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
217
ead89f96
DM
218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
219
7f66bd07
DM
220 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
221 * sysdeps/sparc/fpu/libm-test-ulps: to here.
222 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
223
53362a4b
DM
224 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
225 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
226 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
227 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
228 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
230 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
231 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
232 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
233 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
234 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
235 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
237 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
238 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
240 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
241 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
242 * sysdeps/sparc/elf/configure: Regenerated.
243
7b1902cb
JM
2442012-03-01 Joseph Myers <joseph@codesourcery.com>
245
bec039bc
JM
246 * configure.in (AS, LD): Require binutils 2.20 or later.
247 * configure: Regenerated.
248 * manual/install.texi (Tools for Compilation): Give binutils 2.20
249 as required minimum version.
250 * INSTALL: Regenerated.
251
7b1902cb
JM
252 [BZ #2541]
253 [BZ #4108]
254 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
255 before squaring exponent.
256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
257 bottom long double and 27 bits of top long double before squaring
258 exponent.
259 * math/libm-test.inc (erfc_test): Add more tests.
260 * sysdeps/i386/fpu/libm-test-ulps: Update.
261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
263
f775c276
KT
2642012-03-01 Kai Tietz <ktietz@redhat.com>
265
266 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
267 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
268 containing bit-fields.
269 * soft-fp/extended.h (_FP_UNION_E): Likewise.
270 * soft-fp/single.h (_FP_UNION_S): Likewise.
271 * soft-fp/double.h (_FP_UNION_D): Likewise.
272
5b8a4d4a
JM
2732012-02-29 Joseph Myers <joseph@codesourcery.com>
274
0bab47b6
JM
275 [BZ #13786]
276 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
277 not include ../strcmp.S.
278 [USE_AS_STRNCASECMP_L]: Likewise.
279 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
280 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
281 * sysdeps/i386/i686/multiarch/strncase_l-c.c
282 (__strncasecmp_l_ia32): Define as alias to
283 __strncasecmp_l_nonascii.
284
0fcad3e2
JM
285 [BZ #5794]
286 * math/libm-test.inc (expm1_test): Add test for bug 5794.
287 * sysdeps/i386/fpu/libm-test-ulps: Update.
288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
289
5b8a4d4a
JM
290 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
292
8fdceb2e
JL
2932012-02-29 Jeff Law <law@redhat.com>
294
295 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
296 out of bounds read.
297
1f393a11
MP
2982012-02-29 Marek Polacek <polacek@redhat.com>
299
300 [BZ #13706]
301 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
302 * elf/Makefile: Add rules to run tst-unused-dep.out.
303
8847f037
DM
3042012-02-28 David S. Miller <davem@davemloft.net>
305
306 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
307 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
308 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
310 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
311 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
312
169d7f11
JM
3132012-02-29 Joseph Myers <joseph@codesourcery.com>
314
315 * math/libm-test.inc (llround_test): Move one test from
316 lround_test. Use TEST_f_L in moved test.
317 (lround_test): Move misplaced test to llround_test. Add testcase
318 from bug 2561.
319
39adf059
UD
3202012-02-28 Ulrich Drepper <drepper@gmail.com>
321
322 * sysdeps/x86_64/fpu/e_expf.S: New file.
323 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
324
71b5d1c5
SB
3252012-02-28 Stanislav Brabec <sbrabec@suse.cz>
326
327 [BZ #13637]
328 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
329 of remain_len that may cause incomplete multi-byte character and
330 false match.
331 * posix/bug-regex33.c: New file.
332 * posix/Makefile (tests): Add bug-regex33.
333
1f77f049
JM
3342012-02-28 Joseph Myers <joseph@codesourcery.com>
335
336 * manual/macros.texi: New file.
337 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
338 * manual/libc.texinfo: Include macros.texi.
339 * manual/creatute.texi: Likewise.
340 * manual/install.texi: Likewise.
341 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
342 @glibcadj{} in references to the GNU C Library.
343 * manual/charset.texi: Likewise.
344 * manual/conf.texi: Likewise.
345 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
346 when not using those macros.
347 * manual/creature.texi: Likewise.
348 * manual/crypt.texi: Likewise.
349 * manual/errno.texi: Likewise.
350 * manual/filesys.texi: Likewise.
351 * manual/header.texi: Likewise.
352 * manual/install.texi: Likewise.
353 * manual/intro.texi: Likewise.
354 * manual/io.texi: Likewise.
355 * manual/job.texi: Likewise.
356 * manual/lang.texi: Likewise.
357 * manual/libc.texiinfo: Likewise.
358 * manual/llio.texi: Likewise.
359 * manual/locale.texi: Likewise.
360 * manual/maint.texi: Likewise.
361 * manual/math.texi: Likewise.
362 * manual/memory.texi: Likewise.
363 * manual/message.texi: Likewise.
364 * manual/nss.texi: Likewise.
365 * manual/pattern.texi: Likewise.
366 * manual/process.texi: Likewise.
367 * manual/resource.texi: Likewise.
368 * manual/search.texi: Likewise.
369 * manual/setjmp.texi: Likewise.
370 * manual/signal.texi: Likewise.
371 * manual/socket.texi: Likewise.
372 * manual/startup.texi: Likewise.
373 * manual/stdio.texi: Likewise.
374 * manual/string.texi: Likewise.
375 * manual/sysinfo.texi: Likewise.
376 * manual/syslog.texi: Likewise.
377 * manual/terminal.texi: Likewise.
378 * manual/time.texi: Likewise.
379 * manual/users.texi: Likewise.
380 * INSTALL: Regenerated.
381 * NOTES: Regenerated.
d40c5d54 382 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 383
450bf206
AS
3842012-02-28 Andreas Schwab <schwab@linux-m68k.org>
385
386 * include/dirent.h: Include <dirstream.h> before
387 <dirent/dirent.h>.
388
741a235b
DM
3892012-02-28 David S. Miller <davem@davemloft.net>
390
391 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
392 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
393 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
394 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
395
d6b5aa58
DM
3962012-02-27 David S. Miller <davem@davemloft.net>
397
1aff59a3
DM
398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
400 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
401 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
402
d6b5aa58
DM
403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
404 frame pointer instead of stack pointer relative arg slot.
405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
406 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
407 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
408
433f48bf
CD
4092012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
410
411 [BZ #3992]
412 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
413
d674b76d
DM
4142012-02-27 David S. Miller <davem@davemloft.net>
415
416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
420 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
421 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
422 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
423 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
424
0e7727f7
JM
4252012-02-27 Joseph Myers <joseph@codesourcery.com>
426
427 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
428 later. Allow versions 5-9.
43be4ca2 429 * configure: Regenerated.
0e7727f7
JM
430 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
431 required minimum version and 4.6 as recommended version. Do not
432 mention bugs in GCC 2.7 and 2.8.
43be4ca2 433 * INSTALL: Regenerated.
0e7727f7 434
a78bc654
DM
4352012-02-27 David S. Miller <davem@davemloft.net>
436
428d5830
DM
437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
441 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
442 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
443 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
444 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
445
a78bc654
DM
446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
447 manipulate bits before adding and subtracting TWO112[sx].
448 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
449
4579f81c
RM
4502012-02-27 Roland McGrath <roland@hack.frob.com>
451
36c8acb4
RM
452 [BZ #13775]
453 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
454 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
455 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
456 being in POSIX, because they are in 1003.1-2008.
457
84ad622b
RM
458 * rt/tst-aio.c: Include <fcntl.h>.
459 * rt/tst-aio7.c: Likewise.
460 * rt/tst-aio64.c: Likewise.
461
4579f81c
RM
462 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
463
abd923db
JM
4642012-02-27 Joseph Myers <joseph@codesourcery.com>
465
466 * manual/install.texi (--with-headers): Describe headers as
467 interface headers, not private headers.
468 (Specific advice for GNU/Linux systems): Describe use of headers
469 from "make headers_install", not private headers from older
470 kernels.
43be4ca2 471 * INSTALL: Regenerated.
abd923db
JM
472 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
473 Change to 2.6.19.
474 * sysdeps/unix/sysv/linux/configure: Regenerated.
475
6664049b
JM
476 * manual/llio.texi (fclean): Remove documentation.
477
bb8b6697
JM
478 * manual/Makefile (libc-texi-generated): New variable. Include
479 version.texi.
480 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
481 $(libc-texi-generated), not duplicated list of files.
482 (version.texi, stamp-version): New rules.
483 (realclean): Remove $(libc-texi-generated), not individual files
484 from that list. Do not remove dir-add.texinfo.
485 * manual/libc.texinfo: Comment out uses of edition numbers and
486 references to printed manual. Remove last-updated dates.
487 (EDITION): Comment out.
488 (ISBN): Likewise.
489 (VERSION, UPDATED): Remove.
490 (version.texi): Include.
491
12e5c3b9
AS
4922012-02-27 Andreas Schwab <schwab@linux-m68k.org>
493
494 * sysdeps/posix/spawni.c: Include <signal.h>.
495 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
496 * sysdeps/pthread/aio_fsync.c: Likewise.
497
4efeffc1 4982012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 499
ba63ba08
UD
500 * conform/Makefile (tests): Run only when not cross-compiling and
501 when fast-check is not defined.
502
d94a4670
UD
503 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
504 * conform/data/limits.h-data: Fixes for POSIX2008.
505 * conform/run-conformtest.sh: Run all tests.
506 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
507 headers.
508 * include/bits/dlfcn.h: Likewise.
509 * include/langinfo.h: Likewise.
510 * include/monetary.h: Likewise.
511 * include/sys/poll.h: Likewise.
512
513 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
514 for __USE_GNU.
515 * posix/spawn.h: Define __need_sigset_t.
516 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
517 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
518 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
519 to get sigevent_t only.
520 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
521 only for __USE_GNU.
522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
523 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
524 process_vm_writev only for __USE_GNU.
525 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
526
527 * conform/Makefile: For now ignore errors from run-conformtest.
528 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
529 POSIX to avoid namespace pollution. Don't prepend headers.
530 * conform/data/aio.h-data: Fixes for POSIX testing.
531 * conform/data/fcntl.h-data: Likewise.
532 * conform/data/glob.h-data: Likewise.
533 * conform/data/grp.h-data: Likewise.
534 * conform/data/pthread.h-data: Likewise.
535 * conform/data/pwd.h-data: Likewise.
536 * conform/data/signal.h-data: Likewise.
537 * conform/data/spawn.h-data: Likewise.
538 * conform/data/stdio.h-data: Likewise.
539 * conform/data/stdlib.h-data: Likewise.
540 * conform/data/stropts.h-data: Likewise.
541 * conform/data/sys/mman.h-data: Likewise.
542 * conform/data/sys/stat.h-data: Likewise.
543 * conform/data/sys/types.h-data: Likewise.
544 * conform/data/sys/wait.h-data: Likewise.
545 * conform/data/time.h-data: Likewise.
546 * conform/data/unistd.h-data: Likewise.
547 * conform/data/utime.h-data: Likewise.
548
549 * io/sys/stat.h: fchmod was always in POSIX.
550 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
551 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
552 * rt/aio.h: Define __need_timespec before including <time.h>.
553 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
554 struct. Add forward declaration of pthread_attr_t and use it in
555 sigevent.
556 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
557 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
558 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
559 always remove CLK_TCK definition.
560
c20105c3
AS
5612012-02-26 Andreas Schwab <schwab@linux-m68k.org>
562
563 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
564
7a270350
UD
5652012-02-25 Ulrich Drepper <drepper@gmail.com>
566
31341567
UD
567 * conform/run-conformtest.sh: New file.
568 * conform/Makefile: Run run-conformtest for tests.
569 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
570 support.
571
572 * conform/data/uchar.h-data: New file.
573 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
574 * conform/data/arpa/inet.h-data: Likewise.
575 * conform/data/assert.h-data: Likewise.
576 * conform/data/complex.h-data: Likewise.
577 * conform/data/cpio.h-data: Likewise.
578 * conform/data/ctype.h-data: Likewise.
579 * conform/data/dirent.h-data: Likewise.
580 * conform/data/dlfcn.h-data: Likewise.
581 * conform/data/errno.h-data: Likewise.
582 * conform/data/fcntl.h-data: Likewise.
583 * conform/data/float.h-data: Likewise.
584 * conform/data/fmtmsg.h-data: Likewise.
585 * conform/data/fnmatch.h-data: Likewise.
586 * conform/data/ftw.h-data: Likewise.
587 * conform/data/glob.h-data: Likewise.
588 * conform/data/grp.h-data: Likewise.
589 * conform/data/iconv.h-data: Likewise.
590 * conform/data/inttypes.h-data: Likewise.
591 * conform/data/langinfo.h-data: Likewise.
592 * conform/data/libgen.h-data: Likewise.
593 * conform/data/limits.h-data: Likewise.
594 * conform/data/locale.h-data: Likewise.
595 * conform/data/math.h-data: Likewise.
596 * conform/data/monetary.h-data: Likewise.
597 * conform/data/mqueue.h-data: Likewise.
598 * conform/data/ndbm.h-data: Likewise.
599 * conform/data/net/if.h-data: Likewise.
600 * conform/data/netdb.h-data: Likewise.
601 * conform/data/netinet/in.h-data: Likewise.
602 * conform/data/nl_types.h-data: Likewise.
603 * conform/data/poll.h-data: Likewise.
604 * conform/data/pthread.h-data: Likewise.
605 * conform/data/pwd.h-data: Likewise.
606 * conform/data/regex.h-data: Likewise.
607 * conform/data/sched.h-data: Likewise.
608 * conform/data/search.h-data: Likewise.
609 * conform/data/semaphore.h-data: Likewise.
610 * conform/data/setjmp.h-data: Likewise.
611 * conform/data/signal.h-data: Likewise.
612 * conform/data/spawn.h-data: Likewise.
613 * conform/data/stdarg.h-data: Likewise.
614 * conform/data/stdio.h-data: Likewise.
615 * conform/data/stdlib.h-data: Likewise.
616 * conform/data/string.h-data: Likewise.
617 * conform/data/strings.h-data: Likewise.
618 * conform/data/stropts.h-data: Likewise.
619 * conform/data/sys/ipc.h-data: Likewise.
620 * conform/data/sys/mman.h-data: Likewise.
621 * conform/data/sys/msg.h-data: Likewise.
622 * conform/data/sys/resource.h-data: Likewise.
623 * conform/data/sys/select.h-data: Likewise.
624 * conform/data/sys/sem.h-data: Likewise.
625 * conform/data/sys/shm.h-data: Likewise.
626 * conform/data/sys/socket.h-data: Likewise.
627 * conform/data/sys/stat.h-data: Likewise.
628 * conform/data/sys/statvfs.h-data: Likewise.
629 * conform/data/sys/time.h-data: Likewise.
630 * conform/data/sys/timeb.h-data: Likewise.
631 * conform/data/sys/times.h-data: Likewise.
632 * conform/data/sys/types.h-data: Likewise.
633 * conform/data/sys/uio.h-data: Likewise.
634 * conform/data/sys/un.h-data: Likewise.
635 * conform/data/sys/utsname.h-data: Likewise.
636 * conform/data/sys/wait.h-data: Likewise.
637 * conform/data/syslog.h-data: Likewise.
638 * conform/data/tar.h-data: Likewise.
639 * conform/data/termios.h-data: Likewise.
640 * conform/data/utime.h-data: Likewise.
641 * conform/data/utmpx.h-data: Likewise.
642 * conform/data/varargs.h-data: Likewise.
643 * conform/data/wchar.h-data: Likewise.
644 * conform/data/wctype.h-data: Likewise.
645 * conform/data/wordexp.h-data: Likewise.
646
647 * include/stropts.h: New file.
648 * include/uchar.h: New file.
649 * include/aio.h: Changes to allow conformtest.pl to use the headers.
650 * include/assert.h: Likewise.
651 * include/ctype.h: Likewise.
652 * include/dirent.h: Likewise.
653 * include/dlfcn.h: Likewise.
654 * include/fcntl.h: Likewise.
655 * include/fnmatch.h: Likewise.
656 * include/glob.h: Likewise.
657 * include/grp.h: Likewise.
658 * include/libio.h: Likewise.
659 * include/locale.h: Likewise.
660 * include/math.h: Likewise.
661 * include/net/if.h: Likewise.
662 * include/netdb.h: Likewise.
663 * include/netinet/in.h: Likewise.
664 * include/pthread.h: Likewise.
665 * include/pwd.h: Likewise.
666 * include/regex.h: Likewise.
667 * include/sched.h: Likewise.
668 * include/search.h: Likewise.
669 * include/setjmp.h: Likewise.
670 * include/signal.h: Likewise.
671 * include/stdio.h: Likewise.
672 * include/stdlib.h: Likewise.
673 * include/string.h: Likewise.
674 * include/sys/cdefs.h: Likewise.
675 * include/sys/mman.h: Likewise.
676 * include/sys/msg.h: Likewise.
677 * include/sys/resource.h: Likewise.
678 * include/sys/select.h: Likewise.
679 * include/sys/socket.h: Likewise.
680 * include/sys/stat.h: Likewise.
681 * include/sys/statvfs.h: Likewise.
682 * include/sys/time.h: Likewise.
683 * include/sys/times.h: Likewise.
684 * include/sys/uio.h: Likewise.
685 * include/sys/utsname.h: Likewise.
686 * include/sys/wait.h: Likewise.
687 * include/termios.h: Likewise.
688 * include/time.h: Likewise.
689 * include/ulimit.h: Likewise.
690 * include/unistd.h: Likewise.
691 * include/utime.h: Likewise.
692 * include/wchar.h: Likewise.
693 * include/wctype.h: Likewise.
694 * include/wordexp.h: Likewise.
695
696 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
697
7a270350
UD
698 * time/time.h: TIME_UTC must be a macro.
699 Make timespec_get available for ISO C11 only as well.
700
7724defc
UD
7012012-02-24 Ulrich Drepper <drepper@gmail.com>
702
703 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
704 Reported by Peng Haitao <penght@cn.fujitsu.com>.
705
6b1d1d46
JM
7062012-02-24 Joseph Myers <joseph@codesourcery.com>
707
708 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 709
0f8bbd69
JM
7102012-02-24 Joseph Myers <joseph@codesourcery.com>
711
712 * manual/texinfo.tex: Update to version 2012-01-19.16.
713
66ab80bc
JM
7142012-02-24 Joseph Myers <joseph@codesourcery.com>
715
716 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
717
74981cc5
RM
7182012-02-24 Roland McGrath <roland@hack.frob.com>
719
ee968201
RM
720 [BZ #13738]
721 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
722 * manual/fdl-1.3.texi: New file.
723 * manual/fdl-1.1.texi: File removed.
724
74981cc5
RM
725 [BZ #13738]
726 * manual/libc.texinfo (FDL_VERSION): New @set.
727 Use it for mention of FDL in cover text.
728 (Documentation License): Use it in @include file name.
729
7bb764bc
JM
7302012-02-22 Joseph Myers <joseph@codesourcery.com>
731 Roland McGrath <roland@hack.frob.com>
732
733 [BZ #5461]
734 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
735 not LONG_LONG_MAX and LONG_LONG_MIN.
736 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
737 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
738 name.
739 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
740
6cbeae47
JM
7412012-02-22 Joseph Myers <joseph@codesourcery.com>
742
743 [BZ #2547]
744 [BZ #11365]
745 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
746 manipulate bits before adding and subtracting TWO23[sx].
747 * math/libm-test.inc (nearbyint_test): Add more tests.
748
fe45ce09
JM
7492012-02-22 Joseph Myers <joseph@codesourcery.com>
750
751 [BZ #2548]
752 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
753 bits before adding and subtracting TWO23[sx].
754 * math/libm-test.inc (rint_test): Add more tests.
755 (rint_test_tonearest): Likewise.
756 (rint_test_towardzero): Likewise.
757 (rint_test_downward): Likewise.
758 (rint_test_upward: Likewise.
759
ff3b3d82
JM
7602012-02-22 Joseph Myers <joseph@codesourcery.com>
761
762 [BZ #10110]
763 * include/stdc-predef.h: New file. Extracted from features.h.
764 * include/features.h: Include stdc-predef.h.
765 * Makefile (headers): Add stdc-predef.h.
766 * CONFORMANCE (Compiler limitations): Update.
767
ef0aab35
JM
7682012-02-22 Joseph Myers <joseph@codesourcery.com>
769
770 * manual/libc.texinfo (VERSION, UPDATED): Revert.
771
58639409
DM
7722012-02-21 David S. Miller <davem@davemloft.net>
773
774 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
775 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
776
c0e70b25
DM
7772012-02-20 David S. Miller <davem@davemloft.net>
778
779 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
780 using a normal save/restore sequence, rather than allocating a
781 dummy stack frame just to store a frame pointer and restore.
782 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
783
fb06851d
JM
7842012-02-21 Joseph Myers <joseph@codesourcery.com>
785
786 * manual/install.texi: Fix stray word in line-wrapped comment.
787
7a8b71c3
DM
7882012-02-20 David S. Miller <davem@davemloft.net>
789
d510c123
DM
790 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
791 both binutils and gcc support GOTDATA.
792
0722d7c2
DM
793 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
794 "rd %pc" in the PIC register setup sequences.
795
3d2b3019
DM
796 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
797 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
798 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
799 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
800 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
803 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
805 (SYSCALL_ERROR_HANDLER): Likewise.
806 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
807 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
808 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
809 (SYSCALL_ERROR_HANDLER): Likewise.
810
c80098a9
DM
811 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
812 (HAVE_GCC_GOTDATA): New.
813 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
814 relocation support in both binutils and gcc.
815 * sysdeps/sparc/elf/configure: Regenerate.
816
3a2545a0
DM
817 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
818 * sysdeps/sparc/sparc32/elf/configure: Delete.
819 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
820 * sysdeps/sparc/sparc64/elf/configure: Delete.
821 * sysdeps/sparc/elf/configure.in: New file.
822 * sysdeps/sparc/elf/configure: Generate.
823
7a8b71c3
DM
824 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
825 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
826 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
827 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
828 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
829
f1e86fca
JM
8302012-02-21 Joseph Myers <joseph@codesourcery.com>
831
832 * manual/install.texi: Do not mention specific glibc version
833 numbers.
834 * manual/libc.texinfo (VERSION, UPDATED): Update.
835 (@copying): Use @copyright{} and range of years.
836
0e7dfaef
JM
8372012-02-21 Joseph Myers <joseph@codesourcery.com>
838
839 [BZ #13695]
840 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
841 [crti.S not in sysdirs] (generated): Do not append.
842 [crti.S not in sysdirs] (omit-deps): Likewise.
843 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
844 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
845 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
846 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
847 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
848 Likewise.
849 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
850 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
851 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
852 * csu/defs.awk: Remove file.
853 * sysdeps/generic/initfini.c: Likewise.
854 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
855 variable.
856 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
857 Likewise.
858
599af3ca
JM
8592012-02-20 Joseph Myers <joseph@codesourcery.com>
860
861 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
862 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
863 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
864 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
866 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
867 <bits/epoll.h>.
868 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
869 (__EPOLL_PACKED): Define to empty if not defined by
870 <bits/epoll.h>.
871 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
873 bits/epoll.h.
874
0e499750
JM
8752012-02-20 Joseph Myers <joseph@codesourcery.com>
876
877 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
878 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
879 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
880 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
881 <bits/timerfd.h>.
882 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
884 bits/timerfd.h.
885
5ad91f6e
JM
8862012-02-20 Joseph Myers <joseph@codesourcery.com>
887
888 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
889 in C locale.
890 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
891 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
892 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
894
06b99b02
AJ
8952012-02-20 Aurelien Jarno <aurelien@aurel32.net>
896
897 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
898 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
899
7638c0fd
AS
9002012-02-19 Andreas Schwab <schwab@linux-m68k.org>
901
902 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
903 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
904 defined.
905 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
906 Likewise.
907 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
908 entry for 2.16.
909
92221550
AJ
9102012-02-19 Aurelien Jarno <aurelien@aurel32.net>
911
912 * math/w_acos.c: Use non-signaling floating-point comparisons.
913 * math/w_acosf.c: Likewise.
914 * math/w_acosh.c: Likewise.
915 * math/w_acoshf.c: Likewise.
916 * math/w_acoshl.c: Likewise.
917 * math/w_acosl.c: Likewise.
918 * math/w_asin.c: Likewise.
919 * math/w_asinf.c: Likewise.
920 * math/w_asinl.c: Likewise.
921 * math/w_atanh.c: Likewise.
922 * math/w_atanhf.c: Likewise.
923 * math/w_atanhl.c: Likewise.
924 * math/w_exp2.c: Likewise.
925 * math/w_exp2f.c: Likewise.
926 * math/w_exp2l.c: Likewise.
927 * math/w_j0.c: Likewise.
928 * math/w_j0f.c: Likewise.
929 * math/w_j0l.c: Likewise.
930 * math/w_j1.c: Likewise.
931 * math/w_j1f.c: Likewise.
932 * math/w_j1l.c: Likewise.
933 * math/w_jn.c: Likewise.
934 * math/w_jnf.c: Likewise.
935 * math/w_log.c: Likewise.
936 * math/w_log10.c: Likewise.
937 * math/w_log10f.c: Likewise.
938 * math/w_log10l.c: Likewise.
939 * math/w_log2.c: Likewise.
940 * math/w_log2f.c: Likewise.
941 * math/w_log2l.c: Likewise.
942 * math/w_logf.c: Likewise.
943 * math/w_logl.c: Likewise.
944 * math/w_sqrt.c: Likewise.
945 * math/w_sqrtf.c: Likewise.
946 * math/w_sqrtl.c: Likewise.
947 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
948 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
949 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
950 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
951 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
952
ebaf36eb
JM
9532012-02-19 Joseph Myers <joseph@codesourcery.com>
954
955 [BZ #9739]
956 * manual/string.texi (strnlen): Use correct parameter name in
957 equivalent expression.
958
71c254a6
JM
9592012-02-19 Joseph Myers <joseph@codesourcery.com>
960
961 [BZ #11174]
962 * manual/users.texi (seteuid): Consistently use neweuid for
963 argument name.
964
16d2c631
JM
9652012-02-19 Joseph Myers <joseph@codesourcery.com>
966
967 [BZ #13704]
968 * manual/nss.texi (Services in the NSS configuration): Correct
969 list of services in example configuration file.
970
cd837b09
NB
9712012-02-19 Nick Bowler <nbowler@draconx.ca>
972
973 [BZ #11322]
974 * manual/arith.texi: Remove statements about negative zero
975 behaving identically to zero.
976
02c4bbad
JM
9772012-02-18 Joseph Myers <joseph@codesourcery.com>
978
979 [BZ #5993]
980 * manual/install.texi: Do not document upgrading from libc5.
981
366842e7
JM
9822012-02-18 Joseph Myers <joseph@codesourcery.com>
983
984 [BZ #4596]
985 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
986
dd54084d
DM
9872012-02-18 David S. Miller <davem@davemloft.net>
988
989 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
990 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
991 %o7 across the call.
992 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
993 instead.
994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
995 SETUP_PIC_REG_LEAF.
996 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
997 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
998 * sysdeps/sparc/crtn.S: Likewise.
999
2bcc53a3
UD
10002012-02-17 Ulrich Drepper <drepper@gmail.com>
1001
1002 * aout/Makefile: Remove.
1003
09c093b5
RK
10042012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1005
1006 [BZ #13058]
1007 * manual/examples/argp-ex1.c (main): Format definition in GNU
1008 style.
1009 * manual/examples/argp-ex2.c (main): Likewise.
1010 * manual/examples/argp-ex3.c (main): Likewise.
1011 * manual/examples/argp-ex4.c (main): Likewise.
1012 * manual/examples/longopt.c (main): Use new-style prototype
1013 definition.
1014 * manual/examples/strncat.c (main): Specify return type and use
1015 (void) for arguments.
1016 * manual/examples/subopt.c (main): Use char **argv argument.
1017
2ee633a2
JM
10182012-02-17 Joseph Myers <joseph@codesourcery.com>
1019
1020 [BZ #5077]
1021 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1022 rounding modes.
1023
0520adde
FB
10242012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1025
1026 [BZ #6907]
1027 * manual/string.texi (strchr): Change when strchrnul is
1028 recommended.
1029
3f4081cd
DGM
10302012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1031
1032 [BZ #174]
1033 * manual/locale.texi (setlocale): Document LOCPATH.
1034
d1b10e78
JM
10352012-02-17 Joseph Myers <joseph@codesourcery.com>
1036
1037 [BZ #10210]
1038 * manual/process.texi (execle): Move @dots{} before last argument.
1039
79c6869c
PB
10402012-02-17 Paul Bolle <pebolle@tiscali.nl>
1041
1042 [BZ #12047]
1043 * manual/charset.texi (Generic Charset Conversion): Fix typo
1044 (LC_TYPE -> LC_CTYPE).
1045
cc6e48bc
NB
10462012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1047
1048 [BZ #5805]
1049 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1050 (scalbnf): Likewise.
1051 (scalbnl): Likewise.
1052 (scalbln): Likewise.
1053 (scalblnf): Likewise.
1054 (scalblnl): Likewise.
1055 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1056 (vwarnx): Likewise.
1057 (verr): Likewise.
1058 (verrx): Likewise.
1059 * manual/filesys.texi (telldir): Use braces around return type.
1060 * manual/llio.texi (mmap): Add space after comma.
1061 (mmap64): Likewise.
1062 * manual/math.texi (jn): Use @var{} on parameter names.
1063 (jnf): Likewise.
1064 (jnl): Likewise.
1065 (yn): Likewise.
1066 (ynf): Likewise.
1067 (ynl): Likewise.
1068 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1069 line.
1070 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1071 "...".
1072 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1073 (sched_get_priority_max): Likewise.
1074 * manual/signal.texi (sigvec): Add space after comma.
1075 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1076 names.
1077 (if_indextoname): Likewise.
1078 (if_freenameindex): Likewise.
1079 (sendto): Use ',' instead of '.' in prototype.
1080 * manual/startup.texi (syscall): Use @dots{} instead of literal
1081 "...".
1082 * manual/stdio.texi (__fpending): Separate initial words of
1083 paragraph from @deftypefun line.
1084 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1085 "...".
1086 (vsyslog): Use @var{} on parameter names.
1087 * manual/terminal.texi (stty): Use @var{} on parameter names.
1088 * manual/users.texi (getutmp): Use @var{} on parameter names.
1089 (getutmpx): Likewise.
1090
5b23062f
JM
10912012-02-17 Joseph Myers <joseph@codesourcery.com>
1092
1093 [BZ #6884]
1094 * manual/stdio.texi (fopen): Fix typos in description of
1095 ",ccs=STRING".
1096
8dee4833
AJ
10972012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1098
1099 [BZ #4026]
1100 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1101 get clock_id definition.
1102
9078ce93
TS
11032012-02-17 Thomas Schwinge <thomas@schwinge.name>
1104
1105 [BZ #4822]
1106 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1107 (madvise): Cast every argument to void on its own.
1108
3835c55f
JM
11092012-02-17 Joseph Myers <joseph@codesourcery.com>
1110
1111 [BZ #9902]
1112 * manual/startup.texi (Exit Status): Fix typo.
1113
35c47e37
JM
11142012-02-17 Joseph Myers <joseph@codesourcery.com>
1115
1116 [BZ #10140]
1117 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1118 * manual/examples/argp-ex2.c: Likewise.
1119 * manual/examples/argp-ex3.c: Likewise.
1120
e3b69ca7
RH
11212012-02-16 Richard Henderson <rth@redhat.com>
1122
1123 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1124 * sysdeps/s390/s390-32/initfini.c: Remove.
1125 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1126 * sysdeps/s390/s390-64/initfini.c: Remove.
1127
df83af67
KK
11282012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1129
1130 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1131 compiler output for sysdeps/generic/initfini.c.
1132 * sysdeps/sh/elf/initfini.c: Remove file.
1133
f63f3380
DM
11342012-02-16 David S. Miller <davem@davemloft.net>
1135
fb59b3a4
DM
1136 [BZ #11494]
1137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1138
f63f3380
DM
1139 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1140 * sysdeps/sparc/crti.S: New file.
1141 * sysdeps/sparc/crtn.S: New file.
1142 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1143 * sysdeps/sparc/sparc64/Makefile: Likewise.
1144
df6a4a4a
MF
11452012-02-15 Mike Frysinger <vapier@gentoo.org>
1146
6dd8f3dc 1147 [BZ #3335]
df6a4a4a
MF
1148 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1149
1cac7236
RM
11502012-02-15 Roland McGrath <roland@hack.frob.com>
1151
d2c736f8
RM
1152 [BZ #4822]
1153 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1154
1cac7236
RM
1155 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1156 (write, read, close): Likewise.
1157 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1158
8e475601
JM
11592012-02-15 Joseph Myers <joseph@codesourcery.com>
1160
1161 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1162 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1163 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1164 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1165 <bits/signalfd.h>.
1166 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1168 bits/signalfd.h.
1169
ed656b40
MP
11702012-02-14 Marek Polacek <polacek@redhat.com>
1171
1172 * sysdeps/x86_64/crti.S: New file.
1173 * sysdeps/x86_64/crtn.S: New file.
1174 * sysdeps/x86_64/elf/initfini.c: Remove file.
1175
2a979d3a
JM
11762012-02-13 Joseph Myers <joseph@codesourcery.com>
1177
1178 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1179 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1180 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1181 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1182 <bits/inotify.h>.
1183 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1185 bits/inotify.h.
1186
2a418ac3
JM
11872012-02-13 Joseph Myers <joseph@codesourcery.com>
1188
1189 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1190 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1191 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1192 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1193 <bits/eventfd.h>.
1194 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1196 bits/eventfd.h.
1197
fb779be7
TS
11982012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1199
e19e83c5
RM
1200 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1201 __feraiseexcept instead of feraiseexcept.
7c35ffed 1202
fb779be7
TS
1203 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1204 nanosleep invocations.
1205 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1206 strings, and add error checking for a nanosleep invocations.
1207
59ba27a6
PE
12082012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1209
1210 Replace FSF snail mail address with URLs, as per GNU coding standards.
1211 Most of the snail mail addresses were wrong anyway, and omitting
1212 them makes the source code easier to maintain. Almost all of the
1213 changes are to license notices and to locale LC_IDENTIFICATION
1214 addresses, except for this one:
1215 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1216 not its snail mail address.
1217
57b957eb
RH
12182012-02-09 Richard Henderson <rth@twiddle.net>
1219
af850b1c
RH
1220 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1221 of kernel-features.h.
1222
57b957eb
RH
1223 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1224
6b73181a
MP
12252012-02-08 Marek Polacek <polacek@redhat.com>
1226
1227 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1228 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1229 * sysdeps/gnu/_G_config.h: Likewise.
1230 * sysdeps/generic/_G_config.h: Likewise.
1231
26ecc33a
AS
12322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1233
6c6dbc63
AS
1234 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1235 tests.
1236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1237
e216c012
AS
1238 * sysdeps/powerpc/powerpc32/crti.S: New file.
1239 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1240 * sysdeps/powerpc/powerpc64/crti.S: New file.
1241 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1242
26ecc33a
AS
1243 * Makeconfig (have-initfini): Don't set.
1244 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1245 * configure.in (nopic_initfini): Don't substitute.
1246 * config.h.in (HAVE_INITFINI): Don't #undef.
1247 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1248 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1249
3add8e13
JM
12502012-02-08 Joseph Myers <joseph@codesourcery.com>
1251
1252 Support crti.S and crtn.S provided directly by architectures.
1253 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1254 [crti.S in sysdirs] (omit-deps): Likewise.
1255 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1256 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1257 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1258 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1259 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1260 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1261 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1262 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1263 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1264 compiler output for sysdeps/generic/initfini.c.
1265 * sysdeps/i386/elf/Makefile: Remove file.
1266 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1267
a22f12b4
MP
12682012-02-07 Marek Polacek <polacek@redhat.com>
1269
1270 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1271 * sysdeps/gnu/_G_config.h: Likewise.
1272 * sysdeps/mach/hurd/_G_config.h: Likewise.
1273
148cf100
MP
12742012-02-07 Marek Polacek <polacek@redhat.com>
1275
1276 * math/Makefile (tests): Add tst-CMPLX2.
1277 * math/tst-CMPLX2.c: New file.
1278
cfdc0dd7
AS
12792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1280
84ba42c4
AS
1281 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1282
cfdc0dd7
AS
1283 * math/libm-test.inc (jn_test): Add missing L suffix.
1284
622c86f4
MP
12852012-02-06 Marek Polacek <polacek@redhat.com>
1286
1287 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1288 * sysdeps/i386/fpu/e_powf.S: Likewise.
1289 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1290 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1291 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1292 * sysdeps/i386/fpu/e_pow.S: Likewise.
1293 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1294 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1295 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1296 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1297 * sysdeps/i386/fpu/e_log2.S: Likewise.
1298 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1299 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1300 * sysdeps/i386/fpu/e_powl.S: Likewise.
1301 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1302 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1303 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1304 * sysdeps/i386/fpu/e_logl.S: Likewise.
1305 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1306 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1307 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1308 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1309 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1310 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1311 * sysdeps/i386/fpu/e_log.S: Likewise.
1312 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1313 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1314 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1315 * sysdeps/i386/fpu/e_logf.S: Likewise.
1316 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1317 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1318 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1319 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1320 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1321 * sysdeps/i386/fpu/e_log10.S: Likewise.
1322 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1323 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1324 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1325 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1326 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1327 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1328 * sysdeps/i386/asm-syntax.h: Likewise.
1329 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1330 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1331 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1332 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1333 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1334 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1335 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1336 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1337 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1338 * sysdeps/powerpc/sysdep.h: Likewise.
1339 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1340 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1341
d4a54ac6
JM
13422012-02-06 Joseph Myers <joseph@codesourcery.com>
1343
1344 [BZ #411]
1345 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1346
314054ea
JM
13472012-02-06 Joseph Myers <joseph@codesourcery.com>
1348
1349 * sysdeps/i386/sysdep.h: Include <features.h>.
1350 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1351 version.
1352
d8e0ca50
JM
13532012-02-05 Joseph Myers <joseph@codesourcery.com>
1354
1355 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1356 Define.
1357 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1358 LOAD_PIC_REG_STR.
1359
b1da7dd9
JM
13602012-02-03 Joseph Myers <joseph@codesourcery.com>
1361
1362 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1363 (SETUP_PIC_REG): Use GET_PC_THUNK.
1364 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1365 macro.
1366
9a1d9254
JM
13672012-02-03 Joseph Myers <joseph@codesourcery.com>
1368
1369 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1370 for non-PIC compilation.
1371 (SETUP_PIC_REG): Add .p2align directive.
1372 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1373 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1374 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1375 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1376 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1377 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1378 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1380 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1381 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1382 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1383 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1384 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1385 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1386 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1387 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1388 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1389 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1390 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1391 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1392 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1393 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1394 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1395 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1398 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1399 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1400 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1401 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1402 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1403 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1404 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1405 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1406 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1407 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1408 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1409 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1410 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1411 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1412 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1413
65dc3b75
JM
14142012-02-03 Joseph Myers <joseph@codesourcery.com>
1415
1416 * math/tst-CMPLX.c: Include <stdio.h>.
1417
d55bf177
JM
14182012-01-31 Joseph Myers <joseph@codesourcery.com>
1419
1420 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1421 float.
1422 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1423 * sysdeps/sparc/bits/mathdef.h: Likewise.
1424
69db4f8f
MP
14252012-01-31 Marek Polacek <polacek@redhat.com>
1426
1427 * libio/libio.h: Don't define _PARAMS.
1428 * locale/programs/config.h: Don't define PARAMS.
1429 * stdlib/strtol_l.c: Likewise.
1430 (__strtol_l): Remove PARAMS from the prototype.
1431
41b81892
UD
14322012-01-31 Ulrich Drepper <drepper@gmail.com>
1433
3b49edc0
UD
1434 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1435 names. Just use the correct names. Remove unnecessary wrapper
1436 functions.
1437 * malloc/arena.c: Likewise.
1438 * malloc/hooks.c: Likewise.
1439
41b81892
UD
1440 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1441 ARENA_TEST says not to. Simplify test for creation of a new arena.
1442 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1443
27a25b6e
UD
14442012-01-30 Ulrich Drepper <drepper@gmail.com>
1445
1446 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1447 into tail calls.
1448 (update_get_addr): New function.
1449 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1450 GET_ADDR_MODULE parameter.
1451
c8a89e7d
JM
14522012-01-30 Joseph Myers <joseph@codesourcery.com>
1453
1454 * crypt/cert.c: Remove __STDC__ conditionals.
1455 * crypt/crypt-entry.c: Likewise.
1456 * crypt/crypt_util.c: Likewise.
1457 * libio/filedoalloc.c: Likewise.
1458 * libio/fileops.c: Likewise.
1459 * libio/genops.c: Likewise.
1460 * libio/iofclose.c: Likewise.
1461 * libio/iofdopen.c: Likewise.
1462 * libio/iofopen.c: Likewise.
1463 * libio/iofopen64.c: Likewise.
1464 * libio/iogetdelim.c: Likewise.
1465 * libio/iopopen.c: Likewise.
1466 * libio/obprintf.c: Likewise.
1467 * libio/oldfileops.c: Likewise.
1468 * libio/oldiofclose.c: Likewise.
1469 * libio/oldiofdopen.c: Likewise.
1470 * libio/oldiofopen.c: Likewise.
1471 * libio/oldiopopen.c: Likewise.
1472 * libio/wfiledoalloc.c: Likewise.
1473 * libio/wgenops.c: Likewise.
1474 * locale/programs/xmalloc.c: Likewise.
1475 * misc/syslog.c: Likewise.
1476 * stdio-common/xbug.c: Likewise.
1477 * string/memchr.c: Likewise.
1478 * string/memcmp.c: Likewise.
1479 * string/memrchr.c: Likewise.
1480 * string/rawmemchr.c: Likewise.
1481 * sysdeps/posix/getcwd.c: Likewise.
1482 * time/strftime_l.c: Likewise.
1483
3b100462
JM
14842012-01-30 Joseph Myers <joseph@codesourcery.com>
1485
1486 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1487 * config.make.in (config-cflags-sse2avx): Define.
1488 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1489 Fix typo.
1490
607998af
CM
14912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1492
1493 * scripts/config.guess: Update from upstream config git repository.
1494 * scripts/config.sub: Likewise.
1495
3601428f
CM
14962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1497
3ac8b282
CM
1498 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1499 (EM_NUM): Update.
1500 (R_TILEPRO_*, R_TILEGX_*): New macros.
1501
e034841e
CM
1502 * scripts/firstversions.awk: Fix bug in version range handling.
1503
540d7568
CM
1504 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1505
3601428f
CM
1506 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1507
463de862
CM
1508 * include/sys/epoll.h: New file.
1509 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1510 libc_hidden_def.
1511
73139a76
UD
15122012-01-28 Ulrich Drepper <drepper@gmail.com>
1513
96bc5b45
UD
1514 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1515 Avoid unnecessary __WORDSIZE == 64 test.
1516 (fmaxf): Use VEX format if possible.
1517 (fmax): Likewise.
1518 (fminf): Likewise.
1519 (fmin): Likewise.
1520
56f6f6a2
UD
1521 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1522 * math/math_private.h: Remove libc_fegetround* and
1523 libc_fesetround*.
1524 * sysdeps/i386/configure.in: Check for -msse2avx.
1525 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1526 also if SSE2AVX is defined.
1527 Remove libc_fegetround* and libc_fesetround*.
1528 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1529 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1530 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1531 of HAS_YMM_USABLE.
1532 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1533 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1534 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1535 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1536 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1537
73139a76
UD
1538 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1539
d73f93a4
AZ
15402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541
1542 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1543 size is not set.
1544 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1545
6ee65ed6
UD
15462012-01-27 Ulrich Drepper <drepper@gmail.com>
1547
1548 [BZ #13618]
1549 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1550 relocation.
1551 * Makeconfig (libm): Define.
1552 * elf/Makefile: Add rules to build and run tst-relsort1.
1553 * elf/tst-relsort1.c: New file.
1554 * elf/tst-relsort1mod1.c: New file.
1555 * elf/tst-relsort1mod2.c: New file.
1556
8db21882
JM
15572012-01-27 Joseph Myers <joseph@codesourcery.com>
1558
1559 * math/s_ldexp.c: Remove __STDC__ conditionals.
1560 * math/s_ldexpf.c: Likewise.
1561 * math/s_ldexpl.c: Likewise.
1562 * math/s_nextafter.c: Likewise.
1563 * math/s_nexttowardf.c: Likewise.
1564 * math/s_significand.c: Likewise.
1565 * math/s_significandf.c: Likewise.
1566 * math/s_significandl.c: Likewise.
1567 * math/w_jnl.c: Likewise.
1568 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1569 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1570 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1571 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1572 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1575 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1577 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1587 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1588 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1589 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1590 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1592 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1593 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1594 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1595 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1596 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1597 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1598 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1600 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1601 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1602 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1603 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1604 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1605 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1606 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1607 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1608 * sysdeps/ieee754/k_standard.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1670 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1683 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1684 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1688 * sysdeps/ieee754/s_matherr.c: Likewise.
1689 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1690 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1691 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1692 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1693
965a54a4
JM
16942012-01-26 Joseph Myers <joseph@codesourcery.com>
1695
1696 * crypt/md5.h: Remove __STDC__ conditionals.
1697 * libio/libioP.h: Likewise.
1698 * locale/programs/config.h: Likewise.
1699 * sysdeps/generic/sysdep.h: Likewise.
1700 * sysdeps/i386/asm-syntax.h: Likewise.
1701 * sysdeps/s390/asm-syntax.h: Likewise.
1702 * sysdeps/unix/sysdep.h: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1705
7071ad79
JM
17062012-01-26 Joseph Myers <joseph@codesourcery.com>
1707
1708 * libio/libio.h: Remove __STDC__ conditionals.
1709 * malloc/obstack.h: Likewise.
1710 * math/complex.h: Likewise.
1711 * math/math.h: Likewise.
1712 * sysdeps/generic/_G_config.h: Likewise.
1713 * sysdeps/gnu/_G_config.h: Likewise.
1714 * sysdeps/mach/hurd/_G_config.h: Likewise.
1715 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1716 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1717 * sysdeps/sparc/bits/mathdef.h: Likewise.
1718
afc5ed09
UD
17192012-01-26 Ulrich Drepper <drepper@gmail.com>
1720
1721 [BZ #13583]
1722 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1723 Clean up HAS_* macros.
afc5ed09 1724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1725 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1726 possible.
1727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1728 HAS_AVX.
1729 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1730 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1734
bdb6de1d
JM
17352012-01-25 Joseph Myers <joseph@codesourcery.com>
1736
1737 * elf/tst-unique3.cc (gets): Remove declaration.
1738 * elf/tst-unique3lib.cc (gets): Likewise.
1739 * elf/tst-unique3lib2.cc (gets): Likewise.
1740 * elf/tst-unique4.cc (gets): Likewise.
1741
b15549e6
UD
17422012-01-24 Ulrich Drepper <drepper@gmail.com>
1743
1744 * include/stdio.h: Add C++ protection. Add gets declarations and
1745 definitions.
1746 * debug/tst-chk1.c: Don't declare gets here.
1747 * stdio-common/tst-gets.c: Likewise.
1748
a037381f
JM
17492012-01-24 Joseph Myers <joseph@codesourcery.com>
1750
1751 * posix/glob: Remove directory.
1752
f1d4aa75
JM
17532012-01-24 Joseph Myers <joseph@codesourcery.com>
1754
1755 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1756
81c0c964
PT
17572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1758
1759 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1760 of the non-standard EPFNOSUPPORT.
1761
0ea698ae
ST
17622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1763
1764 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1765 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1766 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1767
d220b117
UD
17682012-01-21 Ulrich Drepper <drepper@gmail.com>
1769
1770 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1771
3e1aa84e
UD
17722012-01-20 Ulrich Drepper <drepper@gmail.com>
1773
1774 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1775 transient errors.
1776 * nscd/grpcache.c (cache_addgr): Likewise.
1777 * nscd/hstcache.c (cache_addhst): Likewise.
1778 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1779 * nscd/pwdcache.c (cache_addpw): Likewise.
1780 * nscd/servicescache.c (cache_addserv): Likewise.
1781
400aa020
UD
17822012-01-16 Ulrich Drepper <drepper@gmail.com>
1783
d77e7869
UD
1784 * malloc/malloc.c: Various cleanups.
1785 * malloc/hooks.c: Likewise.
1786
400aa020
UD
1787 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1788 * stdlib/bug-fmtmsg1.c: New file.
1789
1790 * stdlib/fmtmsg.c (init): Add missing unlock.
1791 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1792
e0a309cf
MP
17932012-01-12 Marek Polacek <polacek@redhat.com>
1794
1795 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1796 and _GNU_SOURCE.
1797
929d11c7
WS
17982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1799
1800 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1801 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1802 macro to ensure uniqueness of label name.
1803 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1804 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1805
41d0e869
UD
18062012-01-11 Ulrich Drepper <drepper@gmail.com>
1807
0cc5ed3b
UD
1808 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1809
41d0e869
UD
1810 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1811 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1812 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1813 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1814
a47a831a
UD
18152012-01-10 Ulrich Drepper <drepper@gmail.com>
1816
daa891c0
UD
1817 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1818
1819 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1820 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1821 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1822
e58ef0f2
UD
1823 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1824
a47a831a 1825 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1826 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1827 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1829
1830 * math/bits/math-finite.h: Add ldexp support.
1831
a0bfc9c7
MP
18322012-01-10 Marek Polacek <polacek@redhat.com>
1833
1834 * locale/programs/localedef.h (show_archive_content): Add noreturn
1835 attribute.
1836
d6e97a1d
UD
18372012-01-09 Ulrich Drepper <drepper@gmail.com>
1838
1839 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1840
d5835c26
UD
18412012-01-08 Ulrich Drepper <drepper@gmail.com>
1842
e5f484c6
UD
1843 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1844
d5835c26
UD
1845 * io/Makefile (headers): Add bits/poll2.h.
1846
d1f741e9
WS
18472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1848
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1850 typo #include statement.
1851
ec09c1c4
UD
18522012-01-08 Ulrich Drepper <drepper@gmail.com>
1853
1854 * include/sys/cdefs.h: Define __attribute_alloc_size.
1855 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1856 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1857 * elf/pldd.c: Likewise.
1858 * iconv/iconv_charmap.c: Likewise.
1859 * iconv/iconvconfig.c: Likewise.
1860 * iconv/strtab.c: Likewise.
1861 * locale/programs/locale.c: Likewise.
1862 * locale/programs/localedef.h: Likewise.
1863 * locale/programs/simple-hash.c: Likewise.
1864 * nscd/nscd.h: Likewise.
1865 * nss/makedb.c: Likewise.
1866 * sysdeps/generic/ldconfig.h: Likewise.
1867 * locale/programs/localedef.c: Remove xmalloc prototype.
1868 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1869
20b38e03
PP
18702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1871
1872 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1873 appropriate.
1874
a0da5fe1
UD
18752012-01-08 Ulrich Drepper <drepper@gmail.com>
1876
1d5a644a 1877 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1878 * math/tst-CMPLX.c: New file.
1d5a644a 1879
8784a6db
UD
1880 * math/complex.h (CMPLXL): Fix typo.
1881
d9a216c0
UD
1882 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1883 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1884 GLIBC_2.16.
1885 * debug/tst-chk1.c: Add poll and ppoll tests.
1886 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1887 * include/sys/poll.h: Add hidden proto for ppoll.
1888 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1889 * sysdeps/mach/hurd/ppoll.c: Likewise.
1890 * io/ppoll.c: Likewise.
1891 * debug/poll_chk.c: New file.
1892 * debug/ppoll_chk.c: New file.
1893 * include/bits/poll2.h: New file.
1894 * io/bits/poll2.h: New file.
1895
ac097f5c
UD
1896 [BZ #1350]
1897 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1898
2119dcfa
UD
1899 * configure.in: static is always set to yes. Remove.
1900 * config.make.in: Don't set build-static.
1901 * Makeconfig: Remove use of build-static.
1902 * dlfcn/Makefile: Likewise.
1903 * elf/Makefile: Likewise.
1904 * math/Makefile: Likewise.
1905 * misc/Makefile: Likewise.
1906 * nptl/Makefile: Likewise.
1907 * sysdeps/mach/hurd/Makefile: Likewise.
1908
121766a9
UD
1909 * configure.in: PWD_P is not used anymore.
1910 * config.make.in: Remove PWD_P entry.
1911
51a1d39c 1912 * configure.in: Remove last remnants of RANLIB.
8720d066 1913 No need to check for signed size_t anymore.
215f4bdc
UD
1914 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1915 and IA-64.
3857022a 1916 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1917 * aclocal.m4: Likewise.
1918
d3ed7225
UD
1919 * wcsmbs/mbrtoc16.c: Implement using towc function.
1920 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1921 * wcsmbs/wcsmbsload.c: Likewise.
1922 * iconv/gconv_simple.c: Likewise.
1923 * iconv/gconv_int.h: Likewise.
1924 * iconv/gconv_builtin.h: Likewise.
1925 * iconv/iconv_prog.c: Remove CHAR16 handling.
1926
1927 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1928
1929 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1930
a0da5fe1
UD
1931 * configure.in: Remove --with-elf and --enable-bounded options.
1932 Dont set base_machine for ia64. More non-ELF conditions removed.
1933 Remove testing and setting of leading underscore information.
1934 * config.make.in (build-bounded): Set to no.
1935 * config.h.in: Remove NO_UNDERSCORES entry.
1936 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1937 them.
1938 * csu/start.c: Remove !NO_UNDERSCORE code.
1939 * locale/localeinfo.h: Likewise.
1940 * sysdeps/generic/machine-gmon.h: Likewise.
1941 * sysdeps/generic/sysdep.h: Likewise.
1942 * sysdeps/i386/sysdep.h: Likewise.
1943 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1944 * sysdeps/mach/sysdep.h: Likewise.
1945 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1947 * sysdeps/sh/sysdep.h: Likewise.
1948 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1949 * sysdeps/unix/i386/sysdep.S: Likewise.
1950 * sysdeps/unix/sparc/start.c: Likewise.
1951 * sysdeps/unix/sparc/sysdep.S: Likewise.
1952 * sysdeps/unix/sparc/sysdep.h: Likewise.
1953 * sysdeps/unix/start.c: Likewise.
1954 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1955 * sysdeps/x86_64/sysdep.h: Likewise.
1956
df78418a
UD
19572012-01-07 Ulrich Drepper <drepper@gmail.com>
1958
a784e502
UD
1959 [BZ #13553]
1960 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1961 for non-gcc.
1962 * argp/argp-fmtstream.h: Use const instead __const.
1963 * argp/argp.h: Likewise.
1964 * assert/assert.h: Likewise.
1965 * bits/fenv.h: Likewise.
1966 * bits/sched.h: Likewise.
1967 * bits/sigset.h: Likewise.
1968 * bits/sigthread.h: Likewise.
1969 * catgets/nl_types.h: Likewise.
1970 * conform/data/pthread.h-data: Likewise.
1971 * crypt/crypt-private.h: Likewise.
1972 * crypt/crypt.h: Likewise.
1973 * crypt/crypt_util.c: Likewise.
1974 * ctype/ctype.h: Likewise.
1975 * debug/execinfo.h: Likewise.
1976 * debug/mbsnrtowcs_chk.c: Likewise.
1977 * debug/mbsrtowcs_chk.c: Likewise.
1978 * debug/wcsnrtombs_chk.c: Likewise.
1979 * debug/wcsrtombs_chk.c: Likewise.
1980 * debug/wcstombs_chk.c: Likewise.
1981 * dirent/dirent.h: Likewise.
1982 * dlfcn/dlfcn.h: Likewise.
1983 * elf/neededtest4.c: Likewise.
1984 * grp/grp.h: Likewise.
1985 * gshadow/gshadow.h: Likewise.
1986 * iconv/gconv.h: Likewise.
1987 * iconv/gconv_int.h: Likewise.
1988 * iconv/gconv_simple.c: Likewise.
1989 * iconv/iconv.h: Likewise.
1990 * iconv/loop.c: Likewise.
1991 * iconv/skeleton.c: Likewise.
1992 * include/aio.h: Likewise.
1993 * include/aliases.h: Likewise.
1994 * include/argz.h: Likewise.
1995 * include/arpa/inet.h: Likewise.
1996 * include/assert.h: Likewise.
1997 * include/dirent.h: Likewise.
1998 * include/dlfcn.h: Likewise.
1999 * include/execinfo.h: Likewise.
2000 * include/fcntl.h: Likewise.
2001 * include/fenv.h: Likewise.
2002 * include/glob.h: Likewise.
2003 * include/grp.h: Likewise.
2004 * include/libintl.h: Likewise.
2005 * include/mntent.h: Likewise.
2006 * include/netdb.h: Likewise.
2007 * include/pwd.h: Likewise.
2008 * include/rpc/netdb.h: Likewise.
2009 * include/sched.h: Likewise.
2010 * include/search.h: Likewise.
2011 * include/shadow.h: Likewise.
2012 * include/signal.h: Likewise.
2013 * include/stdio.h: Likewise.
2014 * include/stdlib.h: Likewise.
2015 * include/string.h: Likewise.
2016 * include/sys/socket.h: Likewise.
2017 * include/sys/stat.h: Likewise.
2018 * include/sys/statfs.h: Likewise.
2019 * include/sys/statvfs.h: Likewise.
2020 * include/sys/syslog.h: Likewise.
2021 * include/sys/time.h: Likewise.
2022 * include/sys/uio.h: Likewise.
2023 * include/time.h: Likewise.
2024 * include/unistd.h: Likewise.
2025 * include/utmp.h: Likewise.
2026 * include/wchar.h: Likewise.
2027 * include/wctype.h: Likewise.
2028 * inet/aliases.h: Likewise.
2029 * inet/arpa/inet.h: Likewise.
2030 * inet/netinet/ether.h: Likewise.
2031 * inet/netinet/in.h: Likewise.
2032 * intl/libintl.h: Likewise.
2033 * io/bits/fcntl2.h: Likewise.
2034 * io/fcntl.h: Likewise.
2035 * io/ftw.h: Likewise.
2036 * io/sys/poll.h: Likewise.
2037 * io/sys/stat.h: Likewise.
2038 * io/sys/statfs.h: Likewise.
2039 * io/sys/statvfs.h: Likewise.
2040 * io/utime.h: Likewise.
2041 * libio/bits/stdio.h: Likewise.
2042 * libio/bits/stdio2.h: Likewise.
2043 * libio/libio.h: Likewise.
2044 * libio/libioP.h: Likewise.
2045 * libio/stdio.h: Likewise.
2046 * locale/lc-ctype.c: Likewise.
2047 * locale/locale.h: Likewise.
2048 * login/utmp.h: Likewise.
2049 * malloc/arena.c: Likewise.
2050 * malloc/malloc.c: Likewise.
2051 * malloc/malloc.h: Likewise.
2052 * malloc/mcheck.c: Likewise.
2053 * malloc/mtrace.c: Likewise.
2054 * math/bits/mathcalls.h: Likewise.
2055 * math/fenv.h: Likewise.
2056 * math/math_private.h: Likewise.
2057 * misc/bits/error.h: Likewise.
2058 * misc/bits/syslog.h: Likewise.
2059 * misc/err.h: Likewise.
2060 * misc/error.h: Likewise.
2061 * misc/fstab.h: Likewise.
2062 * misc/mntent.h: Likewise.
2063 * misc/regexp.h: Likewise.
2064 * misc/search.h: Likewise.
2065 * misc/sgtty.h: Likewise.
2066 * misc/sys/mman.h: Likewise.
2067 * misc/sys/syslog.h: Likewise.
2068 * misc/sys/uio.h: Likewise.
2069 * misc/sys/xattr.h: Likewise.
2070 * misc/ttyent.h: Likewise.
2071 * nis/rpcsvc/ypclnt.h: Likewise.
2072 * nss/nss.h: Likewise.
2073 * posix/bits/unistd.h: Likewise.
2074 * posix/fnmatch.h: Likewise.
2075 * posix/glob.h: Likewise.
2076 * posix/sched.h: Likewise.
2077 * posix/spawn.h: Likewise.
2078 * posix/sys/wait.h: Likewise.
2079 * posix/unistd.h: Likewise.
2080 * posix/wordexp.h: Likewise.
2081 * pwd/pwd.h: Likewise.
2082 * resolv/netdb.h: Likewise.
2083 * resource/sys/resource.h: Likewise.
2084 * rt/aio.h: Likewise.
2085 * rt/bits/mqueue2.h: Likewise.
2086 * rt/mqueue.h: Likewise.
2087 * shadow/shadow.h: Likewise.
2088 * signal/signal.h: Likewise.
2089 * socket/send.c: Likewise.
2090 * socket/sendto.c: Likewise.
2091 * socket/sys/socket.h: Likewise.
2092 * stdio-common/printf.h: Likewise.
2093 * stdlib/bits/stdlib.h: Likewise.
2094 * stdlib/fmtmsg.h: Likewise.
2095 * stdlib/monetary.h: Likewise.
2096 * stdlib/stdlib.h: Likewise.
2097 * stdlib/ucontext.h: Likewise.
2098 * streams/stropts.h: Likewise.
2099 * string/argz.h: Likewise.
2100 * string/bits/string2.h: Likewise.
2101 * string/string.h: Likewise.
2102 * string/strings.h: Likewise.
2103 * sunrpc/rpc/auth.h: Likewise.
2104 * sunrpc/rpc/auth_des.h: Likewise.
2105 * sunrpc/rpc/clnt.h: Likewise.
2106 * sunrpc/rpc/netdb.h: Likewise.
2107 * sunrpc/rpc/pmap_clnt.h: Likewise.
2108 * sunrpc/rpc/xdr.h: Likewise.
2109 * sysdeps/generic/inttypes.h: Likewise.
2110 * sysdeps/generic/net/if.h: Likewise.
2111 * sysdeps/generic/sys/swap.h: Likewise.
2112 * sysdeps/gnu/net/if.h: Likewise.
2113 * sysdeps/gnu/utmpx.h: Likewise.
2114 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2115 * sysdeps/i386/i486/bits/string.h: Likewise.
2116 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2117 * sysdeps/s390/bits/string.h: Likewise.
2118 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2119 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2120 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2121 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2122 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2123 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2124 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2125 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2126 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2127 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2128 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2129 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2130 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2131 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2132 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2133 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2134 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2136 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2139 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2140 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2141 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2142 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2143 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2144 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2145 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2146 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2147 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2148 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2149 * sysvipc/sys/ipc.h: Likewise.
2150 * sysvipc/sys/msg.h: Likewise.
2151 * sysvipc/sys/sem.h: Likewise.
2152 * sysvipc/sys/shm.h: Likewise.
2153 * termios/termios.h: Likewise.
2154 * time/sys/time.h: Likewise.
2155 * time/time.h: Likewise.
2156 * wcsmbs/bits/wchar2.h: Likewise.
2157 * wcsmbs/uchar.h: Likewise.
2158 * wcsmbs/wchar.h: Likewise.
2159 * wctype/wctype.h: Likewise.
2160
0269750c
UD
2161 [BZ #13551]
2162 * Makeconfig: Remove all but ELF support including AIX support.
2163 * Makerules: Likewise.
2164 * config.h.in: Likewise.
2165 * config.make.in: Likewise.
2166 * configure: Likewise.
2167 * configure.in: Likewise.
2168 * csu/Makefile: Likewise.
2169 * csu/version.c: Likewise.
2170 * debug/Makefile: Likewise.
2171 * dlfcn/Makefile: Likewise.
2172 * elf/Makefile: Likewise.
2173 * extra-lib.mk: Likewise.
2174 * iconv/Makefile: Likewise.
2175 * include/libc-symbols.h: Likewise.
2176 * include/shlib-compat.h: Likewise.
2177 * resolv/Makefile: Likewise.
2178 * resolv/res_libc.c: Likewise.
2179 * rt/Makefile: Likewise.
2180 * sysdeps/i386/asm-syntax.h: Likewise.
2181 * sysdeps/i386/sysdep.h: Likewise.
2182 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2183 * sysdeps/mach/sysdep.h: Likewise.
2184 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2185 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2186 * sysdeps/s390/asm-syntax.h: Likewise.
2187 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2189 * sysdeps/sh/sysdep.h: Likewise.
2190 * sysdeps/unix/sparc/sysdep.h: Likewise.
2191 * sysdeps/wordsize-32/divdi3.c: Likewise.
2192 * sysdeps/x86_64/sysdep.h: Likewise.
2193
00bbd29b
UD
2194 * argp/Versions: Remove _argp_unlock_xxx.
2195
2196 [BZ #13559]
2197 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2198 * abilist/libBrokenLocale.abilist: Likewise.
2199 * abilist/libanl.abilist: Likewise.
2200 * abilist/libc.abilist: Likewise.
2201 * abilist/libcrypt.abilist: Likewise.
2202 * abilist/libdl.abilist: Likewise.
2203 * abilist/libm.abilist: Likewise.
2204 * abilist/libnsl.abilist: Likewise.
2205 * abilist/libpthread.abilist: Likewise.
2206 * abilist/libresolv.abilist: Likewise.
2207 * abilist/librt.abilist: Likewise.
2208 * abilist/libthread_db.abilist: Likewise.
2209 * abilist/libutil.abilist: Likewise.
2210 * abilist/libnss_db.abilist: New file.
2211
2212 * scripts/abilist.awk: Add support for indirect functions.
2213
a2693a0e
UD
2214 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2215
3f05895f
UD
2216 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2217
ecb6fb48
UD
2218 * shlib-versions: Remove entries for ports architectures.
2219
664f8cb9
UD
2220 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2221 files in ports.
2222 * elf/stackguard-macros.h: Remove support for IA-64.
2223 * elf/tst-auditmod1.c: Likewise.
2224 * sysdeps/generic/ldsodefs.h: Likewise.
2225
7ae81d88
UD
2226 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2227 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2228 configure files.
2229
bdeba135
UD
2230 [BZ #13552]
2231 * configure.in: Remove --enable-omitfp support.
2232 * FAQ.in: Adjust.
2233 * config.make.in: Likewise.
2234 * Makeconfig: Likewise.
2235 * manual/install.texi: Likewise.
2236
d75a0a62
UD
2237 In case anyone cares, the IA-64 architecture could move to ports.
2238 * sysdeps/ia64/*: Removed.
2239 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2240 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2241
dcc9756b
UD
2242 [BZ #13555]
2243 * configure.in: Remove entries for unsupported architectures.
2244
d3761ebc 2245 [BZ #13533]
9954432e
UD
2246 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2247 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2248 routines.
2249 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2250 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2251 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2252 fall back to using wcrtomb.
2253 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2254 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2255 renaming.
2256 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2257 * wcsmbs/tst-c16c32-1.c: New file.
2258
2259 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2260 local variable.
2261
c3a87236
UD
2262 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2263
28926a1b
UD
2264 * elf/tst-unique3.cc: Add explicit declaration of gets.
2265 * elf/tst-unique3lib.cc: Likewise.
2266 * elf/tst-unique3lib2.cc: Likewise.
2267 * elf/tst-unique4.cc: Likewise.
2268
df78418a
UD
2269 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2270
8ecd6b2a
JM
22712012-01-06 Joseph Myers <joseph@codesourcery.com>
2272
2273 [BZ #13566]
2274 * assert/assert.h (static_assert): Don't define for C++.
2275 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2276 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2277
9f115170
UD
22782012-01-03 Ulrich Drepper <drepper@gmail.com>
2279
5e0d0300
UD
2280 * iconv/loop.c (single loop): Fix assertion in storing of
2281 remaining bytes.
2282
9f115170
UD
2283 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2284
81fb02b0
UD
22852012-01-01 Ulrich Drepper <drepper@gmail.com>
2286
2287 * posix/getconf.c: Update copyright year.
2288 * nss/getent.c: Likewise.
a316c1f6 2289 * nss/makedb.c: Likewise.
81fb02b0
UD
2290 * iconv/iconvconfig.c: Likewise.
2291 * iconv/iconv_prog.c: Likewise.
2292 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2293 * elf/pldd.c: Likewise.
2294 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2295 * catgets/gencat.c: Likewise.
2296 * csu/version.c: Likewise.
2297 * elf/ldd.bash.in: Likewise.
2298 * elf/sprof.c (print_version): Likewise.
2299 * locale/programs/locale.c: Likewise.
2300 * locale/programs/localedef.c: Likewise.
a316c1f6 2301 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2302 * nscd/nscd.c (print_version): Likewise.
2303 * debug/xtrace.sh: Likewise.
2304 * malloc/memusage.sh: Likewise.
2305 * malloc/mtrace.pl: Likewise.
2306 * debug/catchsegv.sh: Likewise.
2307
2ba92745
JJ
23082011-12-30 Jakub Jelinek <jakub@redhat.com>
2309
2310 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2311 pure attribute.
2312
dadebdae
UD
23132011-12-24 Ulrich Drepper <drepper@gmail.com>
2314
d3761ebc 2315 [BZ #13533]
db6af3eb
UD
2316 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2317 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2318 transformations.
2319 * iconv/gconv_int.h: Likewise.
2320 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2321 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2322 from libc for GLIBC_2.16.
2323 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2324 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2325 * wcsmbs/uchar.h: Really define mbstate_t.
2326 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2327 * wcsmbs/c16rtomb.c: New file.
2328 * wcsmbs/mbrtoc16.c: New file.
2329 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2330 for C/POSIX locale.
2331 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2332 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2333
dadebdae
UD
2334 * wcsmbs/wchar.h: Add missing __restrict.
2335
67371b56
UD
23362011-12-23 Ulrich Drepper <drepper@gmail.com>
2337
74033a25
UD
2338 [BZ #13532]
2339 * time/Makefile (routines): Add timespec_get.
2340 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2341 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2342 timespec for ISO C11.
2343 * time/timespec_get.c: New file.
2344 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2345 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2346
380d7e87
UD
2347 [BZ #13531]
2348 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2349 * stdlib/stdlib.h: Declare aligned_alloc.
2350 * Versions.def: Add GLIBC_2.16 for libc.
2351 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2352
4e9e7a35
UD
2353 [BZ 13527]
2354 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2355 ISO C11.
2356
380d7e87 2357 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2358 code.
2359
03a71829
UD
2360 [BZ #13528]
2361 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2362
839e283e
UD
2363 [BZ #13529]
2364 * assert/assert.h (static_assert): Define.
2365
ce5294e2 2366 * version.h: Update for 2.16 development version.
90fa7312 2367
8d44e150 2368 [BZ #13526]
d7809905
UD
2369 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2370 _ISOC11_SOURCE.
2371
c0da14cd
UD
2372 * version.h (RELEASE): Bump for 2.15 release.
2373 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2374
530a3249
MP
2375 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2376 Patch by Marek Polacek <mpolacek@redhat.com>.
2377
67371b56
UD
2378 * bits/byteswap.h: Protect long long constants with __extension__.
2379 * sysdeps/i386/bits/byteswap.h: Likewise.
2380 * sysdeps/ia64/bits/byteswap.h: Likewise.
2381 * sysdeps/s390/bits/byteswap.h: Likewise.
2382 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2383
15db4de1
LD
23842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2385
2386 [BZ #13540]
bbe315ea
LD
2387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2388 destination buffer.
15db4de1
LD
2389 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2390
2b2596b1
MP
23912011-12-23 Marek Polacek <polacek@redhat.com>
2392
2393 * elf/dl-addr.c (determine_info): Add inline keyword.
2394 * elf/tst-auditmod4b.c (check_avx): Likewise.
2395 * elf/tst-auditmod6b.c (check_avx): Likewise.
2396 * elf/tst-auditmod6c.c (check_avx): Likewise.
2397 * elf/tst-auditmod7b.c (check_avx): Likewise.
2398
70c6c246
UD
23992011-12-23 Ulrich Drepper <drepper@gmail.com>
2400
2401 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2402 !__SSE_MATH__.
2403
c044cf14
LD
24042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2405
15db4de1 2406 [BZ #13540]
c044cf14
LD
2407 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2408 processing for last bytes.
2409
6b13d9d9
BH
24102011-08-06 Bruno Haible <bruno@clisp.org>
2411
d455f537
BH
2412 [BZ #13061]
2413 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2414 U+0385, not to U+1FEE.
2415
6b13d9d9
BH
2416 [BZ #13062]
2417 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2418 entry for U+00A5 U+0301.
2419
db910efd
UD
24202011-12-22 Ulrich Drepper <drepper@gmail.com>
2421
27deeafc
UD
2422 [BZ #13166]
2423 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2424 buffer for the output is too small.
2425
aed9d171
UD
2426 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2427 optimization.
2428
db910efd
UD
2429 [BZ #13185]
2430 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2431 SSE flags if possible.
2432
2bd779ae
LD
24332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2434
e7f9dac3 2435 [BZ #13540]
2bd779ae
LD
2436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2437 processing for last bytes.
2438
154bfc16
JM
24392011-12-22 Joseph Myers <joseph@codesourcery.com>
2440
2441 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2442 (syscall-list-default-options, syscall-list-default-condition)
2443 (syscall-list-includes): Define.
2444 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2445 list of ABIs and options and #if conditions for each ABI. Do not
2446 handle common syscalls between ABIs specially.
2447 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2448 Remove.
2449 (syscall-list-variants, syscall-list-32bit-options)
2450 (syscall-list-32bit-condition, syscall-list-64bit-options)
2451 (syscall-list-64bit-condition): Define.
2452 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2453 (syscall-list-variants, syscall-list-32bit-options)
2454 (syscall-list-32bit-condition, syscall-list-64bit-options)
2455 (syscall-list-64bit-condition): Define.
2456 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2457 Remove.
2458 (syscall-list-variants, syscall-list-32bit-options)
2459 (syscall-list-32bit-condition, syscall-list-64bit-options)
2460 (syscall-list-64bit-condition): Define.
2461 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2462 Remove.
2463 (syscall-list-variants, syscall-list-32bit-options)
2464 (syscall-list-32bit-condition, syscall-list-64bit-options)
2465 (syscall-list-64bit-condition): Define.
2466
21eaf3a5
UD
24672011-12-22 Ulrich Drepper <drepper@gmail.com>
2468
16c6f992
UD
2469 * locale/iso-639.def: Add brx entry.
2470
41043168
UD
2471 [BZ #13328]
2472 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2473 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2474
21eaf3a5
UD
2475 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2476 __feraiseexcept_renamed.
2477
e3a851a2
UD
24782011-12-21 Ulrich Drepper <drepper@gmail.com>
2479
4920765e
UD
2480 [BZ #13538]
2481 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2482 EPOLLET with unsigned values.
2483 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2485
e3a851a2
UD
2486 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2487 to large cancellation.
2488 * math/s_cacoshf.c: Likewise.
2489 * math/s_cacoshl.c: Likewise.
2490
b27e24b8
RK
24912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2492
2493 [BZ #13305]
aebefeee 2494 [BZ #12786]
b27e24b8
RK
2495 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2496 * math/s_cacoshf.c: Likewise.
2497 * math/s_cacoshl.c: Likewise.
2498
ee190f67
UD
24992011-12-21 Ulrich Drepper <drepper@gmail.com>
2500
2501 [BZ #13439]
2502 * iconv/gconv.h: Define __GCONV_SWAP.
2503 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2504 * iconvdata/utf-16.c: Likewise.
2505 * iconvdata/utf-32.c: Likewise.
2506
707f25df
AS
25072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2508
2509 [BZ #13524]
2510 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2511 numerator after shifting it by one limb.
2512
d2daaa1e
RÁE
25132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2514
2515 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2516 under [__USE_EXTERN_INLINES].
2517
a4647e72
UD
25182011-12-17 Ulrich Drepper <drepper@gmail.com>
2519
2520 [BZ #13446]
2521 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2522
f0b264f1
AZ
25232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2524
2525 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2526 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2527 optimized code.
2528 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2529 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2530 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2531 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2532 for strncasecmp/strncasecmp_l compilation.
2533 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2534 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2535
8ef4f244
MP
25362011-12-08 Marek Polacek <mpolacek@redhat.com>
2537
2538 [BZ #13484]
2539 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2540 of __asm__.
2541
97ac2654
UD
25422011-12-17 Ulrich Drepper <drepper@gmail.com>
2543
2544 [BZ #13506]
2545 * time/tzfile.c (__tzfile_read): Check values from file header.
2546
91d2a845
WS
25472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2548
2549 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2550 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2551 * powerpc/powerpc32/dl-start.S: Likewise.
2552 * powerpc/powerpc32/elf/start.S: Likewise.
2553 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2554 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2555 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2556 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2557 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2558 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2559 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2560 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2561 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2562 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2563 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2564 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2565 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2566 * powerpc/powerpc32/memset.S: Likewise.
2567 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2568 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2569 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2570 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2571 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2572 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2573 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2574 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2575 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2576 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2577 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2578 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2579 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2580
a1267ba1
AZ
25812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2582
2583 * math/libm-test.inc: Added more nearbyint tests.
2584 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2585 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2587 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2588
ad8ac1bd
RL
25892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2590
2591 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2592 FD_CLOEXEC.
2593
1d3e4b61
UD
25942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2595
2596 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2597 Add wcscpy-ssse3 wcscpy-c.
2598 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2599 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2600 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2601 * sysdeps/x86_64/wcschr.S: New file.
2602 * sysdeps/x86_64/wcsrchr.S: New file.
2603 * string/test-strcmp.c: Remove checking of wcscmp function for
2604 wrong alignments.
2605 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2606 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2607 wcsrchr-sse2 wcsrchr-c.
2608 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2609 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2610 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2611 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2612 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2613 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2614 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2615 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2616 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2617 * wcsmbc/wcschr.c (WCSCHR): New macro.
2618
5b330a2d
UD
26192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2620
2621 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2622 * wcsmbs/test-wcsrchr.c: New file.
2623 * string/test-strrchr.c: Add wcsrchr support.
2624 (WIDE): New macro.
2625 * wcsmbs/test-wcscpy.c: New file.
2626 * string/test-strcpy.c: Add wcscpy support.
2627 (WIDE): New macro.
26428b7c 2628
f039c043
UD
26292011-12-10 Ulrich Drepper <drepper@gmail.com>
2630
2631 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2632 the inner loop.
2633
850fb039
AS
26342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2635
2636 [BZ #13472]
2637 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2638
4efbd5cb
UD
26392011-12-04 Ulrich Drepper <drepper@gmail.com>
2640
52ff5dd0 2641 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2642 Minor optimizations.
52ff5dd0 2643
4efbd5cb
UD
2644 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2645 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2646 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2647
8a426e12
UD
26482011-12-03 Ulrich Drepper <drepper@gmail.com>
2649
aff2453d
UD
2650 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2651 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2652 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2653 for gcc to avoid warnings.
2654 * inet/Makefile (tests): Add tst-checks.
2655 * inet/tst-checks.c: New file.
2656
2657 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2658 warning.
2659
2660 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2661 __wmemcmp_sse2.
2662
2663 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2664 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2665
8a426e12
UD
2666 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2667
9bea3473
UD
26682011-12-02 Ulrich Drepper <drepper@gmail.com>
2669
3a965496
UD
2670 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2671 problem.
2672
9bea3473
UD
2673 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2674
f101631b
UD
26752011-11-29 Joseph Myers <joseph@codesourcery.com>
2676
2677 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2678 conditional on GCC version.
2679 (__arch_compare_and_exchange_val_8_acq)
2680 (__arch_compare_and_exchange_val_16_acq)
2681 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2682 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2683 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2684
a98275aa
UD
26852011-12-02 Joseph Myers <joseph@codesourcery.com>
2686
2687 * sysdeps/sh/backtrace.c: New file.
2688
d4cc29a2
AS
26892011-12-02 Andreas Schwab <schwab@redhat.com>
2690
2691 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2692 parenthesis.
2693
6257af2d
AS
26942011-12-01 Andreas Schwab <schwab@redhat.com>
2695
2696 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2697 falling back to utime.
2698
b5f44c1a
AS
26992011-11-30 Andreas Schwab <schwab@redhat.com>
2700
2701 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2702 expectations for float.
2703
f3a6cc0a
AS
27042011-11-29 Andreas Schwab <schwab@redhat.com>
2705
2706 * locale/weight.h (findidx): Add parameter len.
2707 * locale/weightwc.h (findidx): Likewise.
2708 * posix/fnmatch_loop.c (FCT): Adjust caller.
2709 * posix/regcomp.c (build_equiv_class): Likewise.
2710 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2711 * posix/regexec.c (check_node_accept_bytes): Likewise.
2712 * string/strcoll_l.c (STRCOLL): Likewise.
2713 * string/strxfrm_l.c (STRXFRM): Likewise.
2714
9d65ea3a
UD
27152011-11-17 Ulrich Drepper <drepper@gmail.com>
2716
2717 * Makefile.in: Remove CVSOPT handling.
2718 * configure.in: Remove use of AC_REVISION.
2719 * iconvdata/Makefile (distribute): No need to filter out CVS.
2720 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2721 handling.
2722
5583a086
AS
27232011-11-16 Andreas Schwab <schwab@redhat.com>
2724
2725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2726 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2727 [USE_AS_STRNCASECMP_L]: Likewise.
2728 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2729 NO_TLS_DIRECT_SEG_REFS.
2730 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2731 Fix argument offsets for non-PIC.
2732 [USE_AS_STRNCASECMP_L]: Likewise.
2733 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2734 NO_TLS_DIRECT_SEG_REFS.
2735
d62a8200
UD
27362011-11-15 Ulrich Drepper <drepper@gmail.com>
2737
9d65ea3a 2738 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2739 O_CLOEXEC.
2740 * locale/loadlocale.c (_nl_load_locale): Likewise.
2741
09f93bd3
AS
27422011-11-15 Andreas Schwab <schwab@redhat.com>
2743
446514f9
AS
2744 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2745 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2746 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2747 (SYSCALL_GETTIME): Set errno on error.
2748
09f93bd3
AS
2749 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2750 count references to noai6ai_cached.
2751
312be3f9
UD
27522011-11-15 Ulrich Drepper <drepper@gmail.com>
2753
2754 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2755
2756 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2757 FD_CLOEXEC for /proc/self/maps.
2758
2759 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2760 FD_CLOEXEC for /proc/meminfo.
2761
2762 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2763 gai.conf.
2764
2765 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2766 FD_CLOEXEC for given file.
2767
2768 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2769
2770 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2771 FD_CLOEXEC for /etc/hosts.
2772 (_gethtent): Likewise.
2773
2774 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2775
2776 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2777 cancellation and set FD_CLOEXEC for /etc/netgroup.
2778
2779 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2780 reading /etc/publickey.
2781
2782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2783 allow cancellation when reading /etc/group.
2784
2785 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2786 cancellation.
2787 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2788
2789 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2790 when using data file.
2791
2792 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2793
2794 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2795 (write_nis_obj): Use "c" and "e" in fopen.
2796
2797 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2798
2799 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2800
2801 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2802
2803 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2804
2805 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2806 locale.alias.
2807
2808 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2809
2810 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2811
2812 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2813
2814 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2815 file parsing and set FD_CLOEXEC.
2816
82af0fa8
UD
28172011-11-14 Ulrich Drepper <drepper@gmail.com>
2818
2819 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2820
a5fb313c
AS
28212011-11-14 Andreas Schwab <schwab@redhat.com>
2822
2823 * malloc/arena.c (arena_get2): Don't call reused_arena when
2824 _int_new_arena failed.
2825
6abf3465
UD
28262011-11-14 Ulrich Drepper <drepper@gmail.com>
2827
2828 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2829 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2830 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2831 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2832 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2834 to compile strcasecmp and strncasecmp.
2835 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2836 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2837
2838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2839
76e3966e
UD
28402011-11-13 Ulrich Drepper <drepper@gmail.com>
2841
2842 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2843 locale-defines.sym to gen-as-const-headers.
2844 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2845 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2847 to compile strcasecmp and strncasecmp.
2848 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2849 strcasecmp_l and strncasecmp_l.
2850 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2851 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2852 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2853 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2854 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2855 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2856 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2857 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2858 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2859 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2860 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2861
ab26144e
UD
28622011-11-12 Ulrich Drepper <drepper@gmail.com>
2863
7edb22ef
UD
2864 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2865 result of SYSDEP_GETTIME_CPU to retval.
2866 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2867 parameter list to macro. Remove trailing semicolon. Adjust users.
2868
9694fc44
UD
2869 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2870 variable.
2871
8ad89ef8
UD
2872 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2873 mantissa words.
2874 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2875
0c822ef9
UD
2876 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2877 from unused variable.
2878
874e0564
UD
2879 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2880 DWARF definitions.
2881 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2882 for assembling.
2883
3a2edc79
UD
2884 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2885 over namespaces.
2886
f3c2577f
UD
2887 * sunrpc/rpc_prot.c (rejected): Fix case value.
2888
294ce126
UD
2889 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2890 unsigned long long int to avoid warnings in shift.
2891
5e2b63c6
UD
2892 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2893 of use of trans.
2894 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2895 variable tmp.
2896
e7f4b08e
UD
2897 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2898 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2899 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2900
ab26144e
UD
2901 * nis/nis_table.c (nis_list): Use variable of correct type for
2902 result of __follow_path call.
2903
8a6d5255
AZ
29042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905
2906 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2907 of math functions ceil, trunc, floor, round, and sqrt, when
2908 avaliable on the platform.
2909 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2910 name clash.
2911 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2912 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2913 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2914
aaddc98c
MP
29152011-10-30 Marek Polacek <mpolacek@redhat.com>
2916
2917 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2918 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2919
95b7042b
RM
29202011-11-11 Roland McGrath <roland@hack.frob.com>
2921
2922 * include/unistd.h: Fix __readlink return type.
2923 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2924
57769839
UD
29252011-11-11 Ulrich Drepper <drepper@gmail.com>
2926
2927 * stdlib/ucontext.h: Undo last change for makecontext.
2928
edc5984d
AS
29292011-11-11 Andreas Schwab <schwab@redhat.com>
2930
98591e58
AS
2931 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2932
edc5984d
AS
2933 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2934 * setjmp/setjmp.h: Mark functions as non-leaf.
2935 * setjmp/bits/setjmp2.h: Likewise.
2936 * stdlib/ucontext.h: Likewise.
2937
77cdc054
AS
29382011-11-10 Andreas Schwab <schwab@redhat.com>
2939
2940 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2941 (reused_arena): Don't check arena limit.
2942 (arena_get2): Atomically check arena limit.
2943
fe72eebd
UD
29442011-11-08 Ulrich Drepper <drepper@gmail.com>
2945
5f078c32
UD
2946 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2947 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2948
fe72eebd
UD
2949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2950 instructions.
2951
ae1bc2fa
AS
29522011-11-07 Andreas Schwab <schwab@redhat.com>
2953
7583a88d
AS
2954 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2955 handler when locking.
2956
ae1bc2fa
AS
2957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2958 Fix size of allocated buffer.
2959
10fb0bfa
AS
29602011-11-04 Andreas Schwab <schwab@redhat.com>
2961
998832a4
AS
2962 [BZ #10103]
2963 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2964 declarations for long double functions.
2965 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2966
10fb0bfa
AS
2967 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2968
3d7ba52b
AS
29692011-11-03 Andreas Schwab <schwab@redhat.com>
2970
a9ae54a1
AS
2971 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2972 installed.
2973
3d7ba52b
AS
2974 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2975 is disabled.
2976
bc8db248
ST
29772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2978
2979 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2980
45b96dd6
AS
29812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2982
647776f6
AS
2983 * include/alloca.h (stackinfo_alloca_round): Define.
2984 (extend_alloca): Use it.
2985 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2986 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2987 here.
2988
d91a8b93
AS
2989 * scripts/check-local-headers.sh: Ignore libaudit.h.
2990
45b96dd6
AS
2991 * nscd/Makefile (extra-objs): Make recursively expanded.
2992
432d41ce
UD
29932011-11-01 Ulrich Drepper <drepper@gmail.com>
2994
34372fc6
UD
2995 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2997
fadb59f8
UD
2998 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2999 * posix/tst-rfc3484-2.c: Likewise.
3000 * posix/tst-rfc3484-3.c: Likewise.
3001
78239589
UD
3002 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3003 process_vm_writev.
3004 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3005 process_vm_writev.
3006 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3007 process_vm_writev from libc using GLIBC_2.15 version.
3008
432d41ce
UD
3009 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3010
02f9c6cf
PP
30112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3012
3013 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3014 stack usage.
3015
3a2c0242
UD
30162011-10-31 Ulrich Drepper <drepper@gmail.com>
3017
f4ec4833
UD
3018 [BZ #13367]
3019 * nss/getent.c (initgroups_keys): Show error message in case no group
3020 names are given.
3021
3a2c0242
UD
3022 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3023 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3024 __bump_nl_timestamp.
3025 * nscd/connections (nscd_init): When host database is served open
3026 netlink socket and request notification about configuration changes.
3027 (main_loop_poll): Track netlink file descriptor and bump timestamp
3028 in case data becomes available.
3029 (main_loop_epoll): Likewise.
3030 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3031 (database_pers_head): Add extra_data fileds.
3032 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3033 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3034 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3035 Adjust caller.
3036 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3037 in6ai data, call __free_in6ai.
3038 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3039 Add -DHAVE_NETLINK.
3040 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3041 interface information. Reuse previous data if netlink timestamp
3042 is not changed.
3043 (__bump_nl_timestamp): New function.
3044 (__free_in6ai): New function.
3045
636064eb
UD
30462011-10-30 Ulrich Drepper <drepper@gmail.com>
3047
3048 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3049 close_not_cancel_no_status here.
3050 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3051
9beb2334
UD
30522011-10-29 Ulrich Drepper <drepper@gmail.com>
3053
6ef76f3b
UD
3054 [BZ #13276]
3055 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3056 return value.
3057
0ffc4f3e 3058 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3059 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3060 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3061
cb95113e
UD
30622011-07-03 Andreas Jaeger <aj@suse.de>
3063
3064 [BZ #10709]
3065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3066 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3067 * math/libm-test.inc (sin_test): Add test case.
3068
a1b560ff
UD
30692011-10-29 Ulrich Drepper <drepper@gmail.com>
3070
c9aaface
UD
3071 [BZ #13337]
3072 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3073 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3074
d272e7f1
UD
3075 * elf/chroot_canon.c (chroot_canon): Cleanups.
3076
1bc33071
UD
3077 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3078
1760874d
TJ
3079 [BZ #13335]
3080 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3081 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3082
51d91b18
UD
3083 * string/test-strchr.c: Make usable for strchrnul testing.
3084 * string/test-strchrnul.c: New file.
3085 * string/Makefile (strop-tests): Add strchrnul.
3086
a1b560ff 3087 * po/it.po: Update from translation team.
b611fb81 3088 * po/es.po: Likewise.
a1b560ff 3089
a5b81e1f
UD
30902011-10-28 Ulrich Drepper <drepper@gmail.com>
3091
fd52bc6d
UD
3092 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3093 the three constants needed as parameters. Drop the others.
3094 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3095 __m128i_strloadu_tolower.
52e4b9eb
UD
3096 Create and initialize variable zero and use it in all the places
3097 where _mm_setzero_si128 was used.
fd52bc6d 3098
a5b81e1f
UD
3099 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3100 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3101 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3102 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3103 anymore.
3104 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3105 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3106 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3107 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3108 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3109 __mpranred, __mptan.
3110 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3111 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3112 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3113 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3114 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3115 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3116 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3117 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3118 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3119
b4343346
AS
31202011-10-28 Andreas Schwab <schwab@redhat.com>
3121
0c92d8a8
AS
3122 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3123 redefine if SHARED.
3124 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3125
b4343346
AS
3126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3127 wide char related routines to wcsmbs subdir.
3128
3871f58f
AS
31292011-10-27 Andreas Schwab <schwab@redhat.com>
3130
3131 [BZ #13344]
3132 * misc/sys/cdefs.h (__THROWNL): Define.
3133 * posix/unistd.h: Use __THREADNL instead of __THREAD
3134 for memory synchronization functions.
3135
94d44d9f
RM
31362011-10-26 Roland McGrath <roland@hack.frob.com>
3137
21b64b15 3138 [BZ #13349]
94d44d9f
RM
3139 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3140 doesn't exist.
3141 * manual/stdio.texi (Obstack Streams): Node removed.
3142
f6ce9294
AS
31432011-10-26 Andreas Schwab <schwab@redhat.com>
3144
80479147
AS
3145 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3146 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3147 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3148
f6ce9294
AS
3149 * math/math_private.h (math_force_eval): Allow non-addressable
3150 arguments.
3151 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3152
618280a1
UD
31532011-10-25 Ulrich Drepper <drepper@gmail.com>
3154
e0016b11
UD
3155 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3156 file is not needed.
3157
3158 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3159 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3161 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3163 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3164 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3165 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3166 Add AVX variants.
3167 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3168 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3169 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3170 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3171 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3172 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3173 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3174 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3175 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3176 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3177 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3178 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3180 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3181 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3182 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3183 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3184 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3185 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3186
3187 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3188 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3189
618280a1
UD
3190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3191 place. Use VEX encoding when compiling for AVX.
3192
37822576
AS
31932011-10-25 Andreas Schwab <schwab@redhat.com>
3194
1f1e1947
AS
3195 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3196 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3197
37822576
AS
3198 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3199
31ea014d
UD
32002011-10-25 Ulrich Drepper <drepper@gmail.com>
3201
d7826aa1 3202 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3203 useless if() expression.
d7826aa1
UD
3204 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3211 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3212 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3213 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3214 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3216 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3217 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3218 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3219 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3220 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3222 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3223
31ea014d
UD
3224 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3225
16437fec
AS
32262011-10-25 Andreas Schwab <schwab@redhat.com>
3227
3228 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3229 condition.
3230 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3231
31d3cc00
UD
32322011-10-25 Ulrich Drepper <drepper@gmail.com>
3233
3234 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3235 .text section. Avoid duplicate constants.
3236 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3238 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3246 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3247 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3248 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3251 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3253 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3256 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3259 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3260 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3261 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3262 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3263 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3264 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3265 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3266 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3267 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3268 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3269 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3270 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3271 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3272 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3274 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3275 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3276 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3277 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3278 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3279 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3280 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3281
58985aa9
UD
32822011-10-24 Ulrich Drepper <drepper@gmail.com>
3283
202c9deb
UD
3284 * sysdeps/x86_64/dla.h: Move to ...
3285 * sysdeps/x86_64/fpu/dla.h: ...here.
3286 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3287 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3288
af968f62
UD
3289 * config.make.in: Add have-mfma4 entry.
3290 * configure.in: Substitute libc_cv_cc_fma4.
3291 * math/Makefile (dbl-only-routines): Add sincostab.
3292 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3293 Use __sincostab not sincos.
3294 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3295 name is a macro.
3296 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3300 using __copysign.
3301 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3302 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3303 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3304 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3305 and __inv.
3306 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3307 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3308 __copysign.
3309 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3310 define aliases when function name is a macro.
3311 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3312 sysdeps/ieee754/dbl-64/sincos.tbl.
3313 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3314 fma4-enabled routines.
3315 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3316 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3317 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3318 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3319 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3320 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3322 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3324 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3325 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3326 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3327 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3328 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3329 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3330 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3331 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3332 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3333 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3334 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3335 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3336 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3337 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3338 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3339 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3340 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3341 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3342 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3343 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3344 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3345
58985aa9
UD
3346 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3347 rename.
3348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3355 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3356
a201fbcf
AS
33572011-10-24 Andreas Schwab <schwab@redhat.com>
3358
3359 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3360
fc2ee42a
LD
33612011-10-23 Ulrich Drepper <drepper@gmail.com>
3362
bb3129bd
UD
3363 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3364
0275fff8
UD
3365 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3366 prediction.
3367 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3368
2fa2ae85
UD
3369 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3370 Remove unused variable magic_bits.
3371 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3372
fc2ee42a
LD
3373 * string/strnlen.c: Define and use STRNLEN macro.
3374 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3375 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3376 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3377 * wcsmbs/wcslen.c: Define and use WCSLEN.
3378 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3379 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3380 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3381 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3382 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3383 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3384 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3385
ce7dd29f
LD
33862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3387
3388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3389 strnlen-sse2-no-bsf.
3390 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3391 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3392 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3393 Add strnlen support.
3394 (USE_AS_STRNLEN): New macro.
3395 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3396 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3397 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3398 * sysdeps/x86_64/wcslen.S: New file.
3399
979c70a3
MZ
34002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3401
3402 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3403 XMM-moves are used for copying on small sizes.
3404
2d09f82f
LD
34052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3406
3407 * wcsmbs/Makefile (strop-tests): Add wcschr.
3408 * wcsmbs/test-wcschr.c: New file.
3409 * string/test-strchr.c: Update.
3410 Add wcschr support.
3411 (WIDE): New macro.
3412
619fccca
LD
34132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3414
2d09f82f 3415 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3416 * wcsmbs/test-wcslen.c: New file.
3417 * string/test-strlen.c: Update.
3418 Add wcslen support.
3419 (WIDE): New macro.
3420
09f699ea
UD
34212011-10-23 Ulrich Drepper <drepper@gmail.com>
3422
3423 * po/it.po: Update from translation team.
3424
95584d3b
LD
34252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3426
3427 * sysdeps/x86_64/wcscmp.S: Update.
3428 Fix wrong comparison semantics.
3429 wcscmp shall use signed comparison not unsigned.
3430 Don't use substraction to avoid overflow bug.
3431 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3432 * wcsmbc/wcscmp.c: Likewise.
3433 * string/test-strcmp.c: Likewise.
3434 Add new tests to check cases with negative values.
3435
c8b3296b
UD
34362011-10-23 Ulrich Drepper <drepper@gmail.com>
3437
3438 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3439 * sysdeps/x86_64/dla.h: ...here. New file.
3440 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3449
246ad57a
AS
34502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3451
3452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3453 __ynl_finite aliases.
3454
a1a87169
UD
34552011-10-22 Ulrich Drepper <drepper@gmail.com>
3456
0d355eb7
UD
3457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3458
a1a87169
UD
3459 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3460 define DLA_FMA.
3461 [DLA_FMA] (EMULV): Use DLA_FMA.
3462 [DLA_FMA] (MUL12): Use EMULV.
3463 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3464 that are not needed.
3465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3470 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3472
ee2aafe0
AS
34732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3474
3475 * math/s_nan.c: Undef __nan.
3476 * math/s_nanf.c: Undef __nanf.
3477 * math/s_nanl.c: Undef __nanl.
3478 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3479 "math_private.h".
3480
bc62c2fb
UD
34812011-10-22 Ulrich Drepper <drepper@gmail.com>
3482
77425c63
UD
3483 * math/s_catan.c: Add branch predictions.
3484 * math/s_catanf.c: Likewise.
3485 * math/s_catanh.c: Likewise.
3486 * math/s_catanhf.c: Likewise.
3487 * math/s_catanhl.c: Likewise.
3488 * math/s_catanl.c: Likewise.
3489 * math/s_cexp.c: Likewise.
3490 * math/s_cexpf.c: Likewise.
3491 * math/s_cexpl.c: Likewise.
3492 * math/s_clog.c: Likewise.
3493 * math/s_clog10.c: Likewise.
3494 * math/s_clog10f.c: Likewise.
3495 * math/s_clog10l.c: Likewise.
3496 * math/s_clogf.c: Likewise.
3497 * math/s_clogl.c: Likewise.
3498 * math/s_csqrt.c: Likewise.
3499 * math/s_csqrtf.c: Likewise.
3500 * math/s_csqrtl.c: Likewise.
3501 * math/s_ctanf.c: Likewise.
3502 * math/s_ctanh.c: Likewise.
3503 * math/s_ctanhf.c: Likewise.
3504 * math/s_ctanhl.c: Likewise.
3505 * math/s_ctanl.c: Likewise.
3506
bc62c2fb
UD
3507 * math/math_private.h: Define __nan, __nanf, __nanl.
3508 * math/s_cacosh.c: Include <math_private.h>.
3509 * math/s_cacoshl.c: Likewise.
3510 * math/s_casinh.c: Likewise.
3511 * math/s_casinhf.c: Likewise.
3512 * math/s_casinhl.c: Likewise.
3513 * math/s_ccos.c: Rely entire on ccosh.
3514 * math/s_ccosf.c: Rely entire on ccoshf.
3515 * math/s_ccosl.c: Rely entirely on ccoshl.
3516 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3517 Remove tests for FE_INVALID.
3518 * math/s_ccoshf.c: Likewise.
3519 * math/s_ccoshl.c: Likewise.
3520 * math/s_csin.c: Likewise.
3521 * math/s_csinf.c: Likewise.
3522 * math/s_csinh.c Likewise.
3523 * math/s_csinhf.c: Likewise.
3524 * math/s_csinhl.c: Likewise.
3525 * math/s_csinl.c: Likewise.
3526 * math/s_ctan.c: Likewise.
3527 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3528 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3529 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3530
8ec250a4
UD
35312011-10-21 Ulrich Drepper <drepper@gmail.com>
3532
c196fed8
UD
3533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3534 compilation problems.
3535
8ec250a4
UD
3536 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3537 __builtin_expect.
3538
8d4f46c6
UD
35392011-10-20 Ulrich Drepper <drepper@gmail.com>
3540
ed72b654
UD
3541 * sysdeps/i386/configure.in: Test for -mfma4 option.
3542 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3543 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3544 COMMON_CPUID_INDEX_80000001.
3545 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3546 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3547 use it if FMA3 is not supported.
3548 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3549
8d4f46c6
UD
3550 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3551 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3552
d45c60c2
AS
35532011-10-20 Andreas Schwab <schwab@redhat.com>
3554
3555 [BZ #12892]
3556 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3557 it would create a cycle with a link time dependency.
3558
d9a4d2ab
UD
35592011-10-19 Ulrich Drepper <drepper@gmail.com>
3560
855d1560
UD
3561 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3562 instruction.
3563 * string/Makefile (strop-tests): Add rawmemchr.
3564 * string/test-rawmemchr.c: New file.
3565
d9a4d2ab
UD
3566 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3567 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3568 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3569 when compiling str{,n}casecmp and when AVX is available. Hook up
3570 new optimized code in initializers.
3571
8f3b1ffe
AS
35722011-10-19 Andreas Schwab <schwab@redhat.com>
3573
3574 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3575 __feraiseexcept instead of feraiseexcept.
3576
d38f1dba
UD
35772011-10-18 Ulrich Drepper <drepper@gmail.com>
3578
d9a8d0ab
UD
3579 * math/math_private.h: Define defaults for libc_fetestexcept and
3580 libc_feupdateenv.
3581 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3582 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3583 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3584 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3585 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3586 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3587 libc_fetestexcept and libc_feupdateenv.
3588
4855e3dd
UD
3589 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3590 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3591 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3592 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3593 libc_feholdexcept_setround.
3594
581d30e3
UD
3595 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3596 Add s_nearbyint-c and s_nearbyintf-c.
3597 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3598 nearbyintf inlines.
3599 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3600 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3601 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3602 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3603
d38f1dba
UD
3604 * math/math_private.h: Define defaults for libc_fegetround,
3605 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3606 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3607 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3608 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3609 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3610 standard functions.
3611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3612 Remove comments and hacks for old compiler versions.
3613 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3614 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3615 libc_feholdexceptl.
3616
caa6c9d8
AS
36172011-10-18 Andreas Schwab <schwab@redhat.com>
3618
3619 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3620 (__feraiseexcept_renamed): Add __NTH.
3621 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3622 namespace violations.
3623
97c066e6
UD
36242011-10-17 Ulrich Drepper <drepper@gmail.com>
3625
99ce7b04
UD
3626 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3627
1004d182
UD
3628 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3629
228a984d
UD
3630 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3631 recently added interfaces.
3632 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3633
c8553a6a
UD
3634 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3635 about macro parameter expansion.
3636
ed22dcf6
UD
3637 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3638 __NO_MATH_INLINES is defined. Cleanups.
3639
3640 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3641 and __floorf is target has SSE4.1.
3642 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3643 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3644 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3645 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3646
b171c137
UD
3647 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3648 name.
3649 (floorf): Likewise.
3650
97c066e6
UD
3651 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3652
629f62ef
AS
36532011-10-17 Andreas Schwab <schwab@redhat.com>
3654
49a43d80
AS
3655 * misc/sys/cdefs.h: Fix last change.
3656
629f62ef
AS
3657 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3658 database lookup.
3659
e453f6cd
UD
36602011-10-16 Ulrich Drepper <drepper@gmail.com>
3661
aa78043a
UD
3662 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3663
ad0f5cad
UD
3664 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3666 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3669 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3670 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3671 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3672 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3673 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3674 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3675 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3676 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3677 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3678 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3679 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3680 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3681 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3682 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3683 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3684 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3685 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3686
3687 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3688 ceil, ceilf, floor, floorf.
3689
3690 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3691 Perform IRELATIVE relocations last.
3692
e453f6cd
UD
3693 * elf/do-rel.h: Add another parameter nrelative, replacing the
3694 local variable with the same name. Change name of the function
3695 to end in Rel or Rela (uppercase).
3696 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3697 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3698 elf_dynamic_do_##reloc function.
3699
fd5bdc09
UD
37002011-10-15 Ulrich Drepper <drepper@gmail.com>
3701
79b195b5
UD
3702 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3703 is sufficient, at least on modern CPUs.
3704
d4a28569
UD
3705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3706
b61099b5
UD
3707 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3708 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3709
bcf01e6d
UD
3710 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3711 __expl_finite.
3712 * math/bits/math-finite.h: Add entries for exp.
3713 * math/e_expl.c: Add __*_finite alias.
3714 * sysdeps/i386/fpu/e_exp.S: Likewise.
3715 * sysdeps/i386/fpu/e_expf.S: Likewise.
3716 * sysdeps/i386/fpu/e_expl.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3718 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3722 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3723 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3724
ba1a0d59
UD
3725 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3726 is sufficient, at least on modern CPUs.
3727
fd5bdc09
UD
3728 * ctype/ctype-info.c (__ctype_init): Define.
3729 * include/ctype.h (__ctype_init): Declare.
3730 (__ctype_b_loc): The variable is always initialized.
3731 (__ctype_toupper_loc): Likewise.
3732 (__ctype_tolower_loc): Likewise.
3733 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3734 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3735
7872cfb0
AS
37362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3737
b468825a
AS
3738 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3739
7872cfb0
AS
3740 * configure.in: Also look in $cxxmachine/include for C++ system
3741 headers.
3742
be13f7bf
LD
37432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3744
3745 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3746 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3747 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3748 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3749 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3750 (USE_AS_WMEMCMP): New macro.
3751 Fixing indents.
3752 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3753 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3754 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3755 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3757 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3758 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3759 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3760 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3761 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3762 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3763 (USE_AS_WMEMCMP): New macro.
3764 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3765 * sysdeps/string/test-memcmp.c: Update.
3766 Fix simple_wmemcmp.
3767 Add new tests.
3768 * wcsmbs/wmemcmp.c: Update.
3769 (WMEMCMP): New macro.
3770 Fix overflow bug.
3771
556a2007
AJ
37722011-10-12 Andreas Jaeger <aj@suse.de>
3773
3774 [BZ #13268]
3775 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3776
538faaa7
UD
37772011-10-15 Ulrich Drepper <drepper@gmail.com>
3778
ab6737ff
UD
3779 * libio/iofwide.c (do_length): Avoid warning.
3780
538faaa7
UD
3781 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3782
396a21b1
UD
37832011-10-14 Ulrich Drepper <drepper@gmail.com>
3784
cdf2901f
UD
3785 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3786
38ad40ce
UD
3787 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3788 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3789 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3790 * sysdeps/i386/i686/fpu/e_log.S: New file.
3791 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3792 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3793
396a21b1
UD
3794 * ctype/ctype.h: Add support for inlined isXXX functions when
3795 compiling C++ code.
3796
6b1f68c9
AS
37972011-10-14 Andreas Schwab <schwab@redhat.com>
3798
349290c0
AS
3799 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3800
6b1f68c9
AS
3801 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3802
f2282d42
RM
38032011-10-13 Roland McGrath <roland@hack.frob.com>
3804
3805 [BZ #13291]
3806 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3807
5298ffa8
AS
38082011-10-13 Andreas Schwab <schwab@redhat.com>
3809
714fad23
AS
3810 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3811 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3812 feraiseexcept.
3813
81dcc7fb
AS
3814 * sysdeps/x86_64/memrchr.S: Check for zero size.
3815
5298ffa8
AS
3816 * string/stratcliff.c: Add memrchr tests.
3817
951fbcec
LD
38182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3819
3820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3821 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3822 rawmemchr-sse2 rawmemchr-sse2-bsf.
3823 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3824 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3825 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3826 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3827 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3828 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3829 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3830 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3831 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3832 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3833 * string/memrchr.c (MEMRCHR): New macro.
3834
0ac5ae23
UD
38352011-10-12 Ulrich Drepper <drepper@gmail.com>
3836
3837 Add integration with gcc's -ffinite-math-only and optimize wrapper
3838 functions in libm.
3839 * Versions.def: Define GLIBC_2.15 version for libm.
3840 * math/Makefile (headers): Add bits/math-finite.h.
3841 * math/bits/math-finite.h: New file.
3842 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3843 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3844 * math/e_acoshl.c: Add __*_finite alias.
3845 * math/e_acosl.c: Likewise.
3846 * math/e_asinl.c: Likewise.
3847 * math/e_atan2l.c: Likewise.
3848 * math/e_atanhl.c: Likewise.
3849 * math/e_coshl.c: Likewise.
3850 * math/e_exp10.c: Likewise.
3851 * math/e_exp10f.c: Likewise.
3852 * math/e_exp10l.c: Likewise.
3853 * math/e_exp2l.c: Likewise.
3854 * math/e_fmodl.c: Likewise.
3855 * math/e_gammal_r.c: Likewise.
3856 * math/e_hypotl.c: Likewise.
3857 * math/e_j0l.c: Likewise.
3858 * math/e_j1l.c: Likewise.
3859 * math/e_jnl.c: Likewise.
3860 * math/e_lgammal_r.c: Likewise.
3861 * math/e_log10l.c: Likewise.
3862 * math/e_log2l.c: Likewise.
3863 * math/e_logl.c: Likewise.
3864 * math/e_powl.c: Likewise.
3865 * math/e_sinhl.c: Likewise.
3866 * math/e_sqrtl.c: Likewise.
3867 * math/e_scalb.c: Completely rewritten and optimized.
3868 * math/e_scalbf.c: Likewise.
3869 * math/e_scalbl.c: Likewise.
3870 * math/w_acos.c: Likewise.
3871 * math/w_acosf.c: Likewise.
3872 * math/w_acosl.c: Likewise.
3873 * math/w_acosh.c: Likewise.
3874 * math/w_acoshf.c: Likewise.
3875 * math/w_acoshl.c: Likewise.
3876 * math/w_asin.c: Likewise.
3877 * math/w_asinf.c: Likewise.
3878 * math/w_asinl.c: Likewise.
3879 * math/w_atan2.c: Likewise.
3880 * math/w_atan2f.c: Likewise.
3881 * math/w_atan2l.c: Likewise.
3882 * math/w_atanh.c: Likewise.
3883 * math/w_atanhf.c: Likewise.
3884 * math/w_atanhl.c: Likewise.
3885 * math/w_exp10.c: Likewise.
3886 * math/w_exp10f.c: Likewise.
3887 * math/w_exp10l.c: Likewise.
3888 * math/w_fmod.c: Likewise.
3889 * math/w_fmodf.c: Likewise.
3890 * math/w_fmodl.c: Likewise.
3891 * math/w_j0.c: Likewise.
3892 * math/w_j0f.c: Likewise.
3893 * math/w_j0l.c: Likewise.
3894 * math/w_j1.c: Likewise.
3895 * math/w_j1f.c: Likewise.
3896 * math/w_j1l.c: Likewise.
3897 * math/w_jn.c: Likewise.
3898 * math/w_jnf.c: Likewise.
3899 * math/w_log.c: Likewise.
3900 * math/w_logf.c: Likewise.
3901 * math/w_logl.c: Likewise.
3902 * math/w_log10.c: Likewise.
3903 * math/w_log10f.c: Likewise.
3904 * math/w_log10l.c: Likewise.
3905 * math/w_log2.c: Likewise.
3906 * math/w_log2f.c: Likewise.
3907 * math/w_log2l.c: Likewise.
3908 * math/w_pow.c: Likewise.
3909 * math/w_powf.c: Likewise.
3910 * math/w_powl.c: Likewise.
3911 * math/w_remainder.c: Likewise.
3912 * math/w_remainderf.c: Likewise.
3913 * math/w_remainderl.c: Likewise.
3914 * math/w_scalb.c: Likewise.
3915 * math/w_scalbf.c: Likewise.
3916 * math/w_scalbl.c: Likewise.
3917 * math/w_sqrt.c: Likewise.
3918 * math/w_sqrtf.c: Likewise.
3919 * math/w_sqrtl.c: Likewise.
3920 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3921 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3922 used.
3923 * math/math_private.h: Declare __kernel_standard_f.
3924 * math/w_cosh.c: Remove cruft and optimize a bit.
3925 * math/w_coshf.c: Likewise.
3926 * math/w_coshl.c: Likewise.
3927 * math/w_exp2.c: Likewise.
3928 * math/w_exp2f.c: Likewise.
3929 * math/w_exp2l.c: Likewise.
3930 * math/w_hypot.c: Likewise.
3931 * math/w_hypotf.c: Likewise.
3932 * math/w_hypotl.c: Likewise.
3933 * math/w_lgamma.c: Likewise.
3934 * math/w_lgamma_r.c: Likewise.
3935 * math/w_lgammaf.c: Likewise.
3936 * math/w_lgammaf_r.c: Likewise.
3937 * math/w_lgammal.c: Likewise.
3938 * math/w_lgammal_r.c: Likewise.
3939 * math/w_sinh.c: Likewise.
3940 * math/w_sinhf.c: Likewise.
3941 * math/w_sinhl.c: Likewise.
3942 * math/w_tgamma.c: Likewise.
3943 * math/w_tgammaf.c: Likewise.
3944 * math/w_tgammal.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3946 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3947 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3948 Minor optimizations. Pretty printing. Remove cruft.
3949 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3950 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3951 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3952 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3953 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3954 * sysdeps/i386/fpu/e_asin.S: Likewise.
3955 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3956 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3957 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3958 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3959 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3961 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3962 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3963 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3964 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3965 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3966 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3967 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3968 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3969 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3970 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3971 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3972 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3973 * sysdeps/i386/fpu/e_log.S: Likewise.
3974 * sysdeps/i386/fpu/e_log10.S: Likewise.
3975 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3977 * sysdeps/i386/fpu/e_log2.S: Likewise.
3978 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3979 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3980 * sysdeps/i386/fpu/e_logf.S: Likewise.
3981 * sysdeps/i386/fpu/e_logl.S: Likewise.
3982 * sysdeps/i386/fpu/e_pow.S: Likewise.
3983 * sysdeps/i386/fpu/e_powf.S: Likewise.
3984 * sysdeps/i386/fpu/e_powl.S: Likewise.
3985 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3986 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3987 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3988 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3989 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3991 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3992 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3993 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4015 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4016 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4017 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4018 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4019 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4020 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4021 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4022 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4023 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4024 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4025 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4026 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4028 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4029 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4030 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4031 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4032 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4034 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4035 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4074 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4077 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4079 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4080 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4082 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4085 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4086 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4087 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4088 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4089 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4090 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4091 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4092 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4093 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4094 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4095 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4096 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4097 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4098 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4099 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4100 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4101 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4102 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4103 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4104 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4105 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4106 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4107 (__isnanf): Likewise.
4108 (__isinf_ns): Likewise.
4109 (__isinf_nsf): Likewise.
4110 (__finite): Likewise.
4111 (__finitef): Likewise.
4112 (__ieee754_sqrt): Define as macro.
4113 (__ieee754_sqrtf): Define as macro.
4114 (__ieee754_sqrtl): Define as macro.
4115 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4116 inlined copy.
4117 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4118 __FINITE_MATH_ONLY__ consistent.
4119 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4120
12cc2fcd
AS
41212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4122
a843a204
AS
4123 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4124 of rawmemchr.
4125
12cc2fcd
AS
4126 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4127
c853acd5
UD
41282011-10-09 Ulrich Drepper <drepper@gmail.com>
4129
4130 * po/ja.po: Update from translation team.
4131
c658d255
RM
41322011-10-08 Roland McGrath <roland@hack.frob.com>
4133
110946e4
RM
4134 * locale/programs/locarchive.c (prepare_address_space): New function.
4135 (create_archive, enlarge_archive, open_archive): Use it.
4136
50604220
RM
4137 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4138 inside [SHARED], where it is used.
4139
c658d255
RM
4140 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4141
4142 * nss/getent.c (netgroup_keys): Remove unused variable.
4143 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4144
6a621eb7
UD
41452011-10-08 Ulrich Drepper <drepper@gmail.com>
4146
7edb55ce
UD
4147 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4148 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4150 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4151 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4152 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4153 * math/Makefile (libm-calls): Add s_isinf_ns.
4154 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4155 * math/multc3.c: Likewise.
4156 * math/s_casin.c: Likewise.
4157 * math/s_casinf.c: Likewise.
4158 * math/s_casinl.c: Likewise.
4159 * math/s_ccos.c: Likewise.
4160 * math/s_ccosf.c: Likewise.
4161 * math/s_ccosl.c: Likewise.
4162 * math/s_ctan.c: Likewise.
4163 * math/s_ctanf.c: Likewise.
4164 * math/s_ctanh.c: Likewise.
4165 * math/s_ctanhf.c: Likewise.
4166 * math/s_ctanhl.c: Likewise.
4167 * math/s_ctanl.c: Likewise.
4168 * math/w_fmod.c: Likewise.
4169 * math/w_fmodf.c: Likewise.
4170 * math/w_fmodl.c: Likewise.
4171 * math/w_remainder.c: Likewise.
4172 * math/w_remainderf.c: Likewise.
4173 * math/w_remainderl.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4175 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4176 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4178 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4179 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4180 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4181 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4182
187da0ae
UD
4183 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4184 of the number.
4185 * stdio-common/printf_fphex.c: Likewise.
4186 * stdio-common/printf_size.c: Likewise.
4187
9277c064
UD
4188 * math/e_exp10.c: Include math_private.h using <...> not "...".
4189 * math/e_exp10f.c: Likewise.
4190 * math/e_exp10l.c: Likewise.
4191 * math/e_exp2l.c: Likewise.
4192 * math/e_j0l.c: Likewise.
4193 * math/e_j1l.c: Likewise.
4194 * math/e_jnl.c: Likewise.
4195 * math/e_lgammal_r.c: Likewise.
4196 * math/e_rem_pio2l.c: Likewise.
4197 * math/e_scalb.c: Likewise.
4198 * math/e_scalbf.c: Likewise.
4199 * math/e_scalbl.c: Likewise.
4200 * math/k_cosl.c: Likewise.
4201 * math/k_sinl.c: Likewise.
4202 * math/k_tanl.c: Likewise.
4203 * math/s_cacoshf.c: Likewise.
4204 * math/s_catan.c: Likewise.
4205 * math/s_catanf.c: Likewise.
4206 * math/s_catanh.c: Likewise.
4207 * math/s_catanhf.c: Likewise.
4208 * math/s_catanhl.c: Likewise.
4209 * math/s_catanl.c: Likewise.
4210 * math/s_ccosh.c: Likewise.
4211 * math/s_ccoshf.c: Likewise.
4212 * math/s_ccoshl.c: Likewise.
4213 * math/s_cexp.c: Likewise.
4214 * math/s_cexpf.c: Likewise.
4215 * math/s_cexpl.c: Likewise.
4216 * math/s_clog.c: Likewise.
4217 * math/s_clog10.c: Likewise.
4218 * math/s_clog10f.c: Likewise.
4219 * math/s_clog10l.c: Likewise.
4220 * math/s_clogf.c: Likewise.
4221 * math/s_clogl.c: Likewise.
4222 * math/s_csin.c: Likewise.
4223 * math/s_csinf.c: Likewise.
4224 * math/s_csinh.c: Likewise.
4225 * math/s_csinhf.c: Likewise.
4226 * math/s_csinhl.c: Likewise.
4227 * math/s_csinl.c: Likewise.
4228 * math/s_csqrt.c: Likewise.
4229 * math/s_csqrtf.c: Likewise.
4230 * math/s_csqrtl.c: Likewise.
4231 * math/s_ctan.c: Likewise.
4232 * math/s_ctanf.c: Likewise.
4233 * math/s_ctanh.c: Likewise.
4234 * math/s_ctanhf.c: Likewise.
4235 * math/s_ctanhl.c: Likewise.
4236 * math/s_ctanl.c: Likewise.
4237 * math/s_ldexp.c: Likewise.
4238 * math/s_ldexpf.c: Likewise.
4239 * math/s_ldexpl.c: Likewise.
4240 * math/s_significand.c: Likewise.
4241 * math/s_significandf.c: Likewise.
4242 * math/s_significandl.c: Likewise.
4243 * math/w_acos.c: Likewise.
4244 * math/w_acosf.c: Likewise.
4245 * math/w_acosh.c: Likewise.
4246 * math/w_acoshf.c: Likewise.
4247 * math/w_acoshl.c: Likewise.
4248 * math/w_acosl.c: Likewise.
4249 * math/w_asin.c: Likewise.
4250 * math/w_asinf.c: Likewise.
4251 * math/w_asinl.c: Likewise.
4252 * math/w_atan2.c: Likewise.
4253 * math/w_atan2f.c: Likewise.
4254 * math/w_atan2l.c: Likewise.
4255 * math/w_atanh.c: Likewise.
4256 * math/w_atanhf.c: Likewise.
4257 * math/w_atanhl.c: Likewise.
4258 * math/w_cosh.c: Likewise.
4259 * math/w_coshf.c: Likewise.
4260 * math/w_coshl.c: Likewise.
4261 * math/w_dremf.c: Likewise.
4262 * math/w_exp10.c: Likewise.
4263 * math/w_exp10f.c: Likewise.
4264 * math/w_exp10l.c: Likewise.
4265 * math/w_exp2.c: Likewise.
4266 * math/w_exp2f.c: Likewise.
4267 * math/w_fmod.c: Likewise.
4268 * math/w_fmodf.c: Likewise.
4269 * math/w_fmodl.c: Likewise.
4270 * math/w_hypot.c: Likewise.
4271 * math/w_hypotf.c: Likewise.
4272 * math/w_hypotl.c: Likewise.
4273 * math/w_j0.c: Likewise.
4274 * math/w_j0f.c: Likewise.
4275 * math/w_j0l.c: Likewise.
4276 * math/w_j1.c: Likewise.
4277 * math/w_j1f.c: Likewise.
4278 * math/w_j1l.c: Likewise.
4279 * math/w_jn.c: Likewise.
4280 * math/w_jnf.c: Likewise.
4281 * math/w_jnl.c: Likewise.
4282 * math/w_lgamma.c: Likewise.
4283 * math/w_lgamma_r.c: Likewise.
4284 * math/w_lgammaf.c: Likewise.
4285 * math/w_lgammaf_r.c: Likewise.
4286 * math/w_lgammal.c: Likewise.
4287 * math/w_lgammal_r.c: Likewise.
4288 * math/w_log.c: Likewise.
4289 * math/w_log10.c: Likewise.
4290 * math/w_log10f.c: Likewise.
4291 * math/w_log10l.c: Likewise.
4292 * math/w_log2.c: Likewise.
4293 * math/w_log2f.c: Likewise.
4294 * math/w_log2l.c: Likewise.
4295 * math/w_logf.c: Likewise.
4296 * math/w_logl.c: Likewise.
4297 * math/w_pow.c: Likewise.
4298 * math/w_powf.c: Likewise.
4299 * math/w_powl.c: Likewise.
4300 * math/w_remainder.c: Likewise.
4301 * math/w_remainderf.c: Likewise.
4302 * math/w_remainderl.c: Likewise.
4303 * math/w_scalb.c: Likewise.
4304 * math/w_scalbf.c: Likewise.
4305 * math/w_scalbl.c: Likewise.
4306 * math/w_sinh.c: Likewise.
4307 * math/w_sinhf.c: Likewise.
4308 * math/w_sinhl.c: Likewise.
4309 * math/w_sqrt.c: Likewise.
4310 * math/w_sqrtf.c: Likewise.
4311 * math/w_sqrtl.c: Likewise.
4312 * math/w_tgamma.c: Likewise.
4313 * math/w_tgammaf.c: Likewise.
4314 * math/w_tgammal.c: Likewise.
4315
6a621eb7
UD
4316 * po/ja.po: Update from translation team.
4317
bf582445
AJ
43182011-09-29 Andreas Jaeger <aj@suse.de>
4319
f9efbf3a
AJ
4320 [BZ #13179]
4321 * sunrpc/netname.c (netname2host): Fix logic.
4322
bf582445
AJ
4323 [BZ #6779]
4324 [BZ #6783]
4325 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4326 correctly.
4327 * math/w_remainder.c (__remainder): Likewise.
4328 * math/w_remainderf.c (__remainderf): Likewise.
4329 * math/libm-test.inc (remainder_test): Add test cases.
4330
48693bea
AK
43312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4332
4333 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4334 sdiv_qrnnd.
4335
42622229
LD
43362011-10-07 Ulrich Drepper <drepper@gmail.com>
4337
4338 * string/test-memcmp.c: Avoid unncessary #defines.
4339 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4340
093ecf92
LD
43412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4342
4343 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4344 Use new sse2 version for core i3 - i7 as it's faster
4345 than sse42 version.
4346 (bit_Prefer_PMINUB_for_stringop): New.
4347 * sysdeps/x86_64/rawmemchr.S: Update.
4348 Replace with faster SSE2 version.
4349 * sysdeps/x86_64/memrchr.S: New file.
4350 * sysdeps/x86_64/memchr.S: Update.
4351 Replace with faster SSE2 version.
4352
fde56e5c
MP
43532011-09-12 Marek Polacek <mpolacek@redhat.com>
4354
4355 * elf/dl-load.c (lose): Add cast to avoid warning.
4356
21fd49a9
UD
43572011-10-07 Ulrich Drepper <drepper@gmail.com>
4358
5a06e643
UD
4359 * po/ca.po: Update from translation team.
4360
684ae515
UD
4361 * inet/getnetgrent_r.c: Hook up nscd.
4362 * nscd/Makefile (routines): Add nscd_netgroup.
4363 (nscd-modules): Add netgroupcache.
4364 (CFLAGS-netgroupcache.c): Define.
4365 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4366 (cache_search): Add const to second parameter.
4367 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4368 INNETGR.
4369 (dbs): Add netgrdb entry.
4370 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4371 (verify_persistent_db): Handle netgrdb.
4372 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4373 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4374 GETFDNETGR.
4375 (netgroup_response_header): Define.
4376 (innetgroup_response_header): Define.
4377 (datahead): Add netgroup_response_header and innetgroup_response_header
4378 elements.
4379 * nscd/nscd.conf: Add entries for netgroup cache.
4380 * nscd/nscd.h (dbtype): Add netgrdb.
4381 (_PATH_NSCD_NETGROUP_DB): Define.
4382 (netgroup_iov_disabled): Declare.
4383 (xmalloc, xcalloc, xrealloc): Move declarations here.
4384 (cache_search): Adjust prototype.
4385 Add netgroup-related prototypes.
4386 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4387 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4388 (__nscd_innetgr): Declare.
4389 * nscd/selinux.c (perms): Use access_vector_t as element type and
4390 add netgroup-related initializers.
4391 * nscd/netgroupcache.c: New file.
4392 * nscd/nscd_netgroup.c: New file.
4393 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4394 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4395 For four parameters use innetgr.
4396 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4397 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4398 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4399 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4400
21fd49a9
UD
4401 * nscd/connections.c (register_traced_file): Don't register file
4402 for disabled databases.
4403
054c0457
UD
44042011-10-06 Ulrich Drepper <drepper@gmail.com>
4405
32b63198
UD
4406 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4407
054c0457
UD
4408 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4409 from tree and freeing node.
4410
64031225
JO
44112011-09-25 Jiri Olsa <jolsa@redhat.com>
4412
4413 * nss/nsswitch.c (__nss_database_lookup): Handle
4414 nss_parse_service_list out of memory case.
4415
0490345c
JO
44162011-09-15 Jiri Olsa <jolsa@redhat.com>
4417
4418 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4419 out of memory case.
4420
3a62d00d
AS
44212011-10-04 Andreas Schwab <schwab@redhat.com>
4422
4423 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4424 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4425 pass it down.
4426 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4427 elf_machine_rela, elf_machine_lazy_rel.
4428 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4429 (ELF_DYNAMIC_DO_REL): Likewise.
4430 (ELF_DYNAMIC_DO_RELA): Likewise.
4431 (ELF_DYNAMIC_RELOCATE): Likewise.
4432 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4433 to ELF_DYNAMIC_DO_REL.
4434 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4435 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4436 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4437 elf_machine_rela.
4438 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4439 skip_ifunc, don't call ifunc function if non-zero.
4440 (elf_machine_rela): Likewise.
4441 (elf_machine_lazy_rel): Likewise.
4442 (elf_machine_lazy_rela): Likewise.
4443 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4444 (elf_machine_lazy_rel): Likewise.
4445 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4446 Likewise.
4447 (elf_machine_lazy_rel): Likewise.
4448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4449 Likewise.
4450 (elf_machine_lazy_rel): Likewise.
4451 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4452 (elf_machine_lazy_rel): Likewise.
4453 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4454 (elf_machine_lazy_rel): Likewise.
4455 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4456 (elf_machine_lazy_rel): Likewise.
4457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4458 (elf_machine_lazy_rel): Likewise.
4459 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4460 (elf_machine_lazy_rel): Likewise.
4461 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4462 (elf_machine_lazy_rel): Likewise.
4463
68577918
UD
44642011-09-28 Ulrich Drepper <drepper@gmail.com>
4465
4466 * nss/nss_files/files-init.c (_nss_files_init): Use static
4467 initialization for all the *_traced_file variables.
4468
68822d74
AS
44692011-09-28 Andreas Schwab <schwab@redhat.com>
4470
4471 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4472
2056100b
RM
44732011-09-27 Roland McGrath <roland@hack.frob.com>
4474
4475 [BZ #13226]
4476 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4477
32c76b63
AS
44782011-09-27 Andreas Schwab <schwab@redhat.com>
4479
4480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4481 Reread the line before reparsing it.
4482
bf972c9d
AS
44832011-09-26 Andreas Schwab <schwab@redhat.com>
4484
4485 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4486
e057a1b5
JM
44872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4488 Maxim Kuvyrkov <maxim@codesourcery.com>
4489 Joseph Myers <joseph@codesourcery.com>
4490
4491 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4492 if needed for __stack_chk_guard.
4493
bc7e1c36
RM
44942011-09-19 Roland McGrath <roland@hack.frob.com>
4495
ecb1482f
RM
4496 * sysdeps/posix/spawni.c (script_execute): Always define it.
4497 It will be optimized away if unused.
4498 (maybe_script_execute): New function.
4499 (__spawni): Call it.
4500
bc7e1c36
RM
4501 * Makerules: Don't include tls.make.
4502 (config-tls): Always set to thread.
4503 * tls.make.c: File removed.
4504
1c3b002b
MF
45052011-09-19 Mike Frysinger <vapier@gentoo.org>
4506
4507 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4508 * config.make.in (CPPFLAGS-config): New substituted variable.
4509
2840865d
UD
45102011-09-15 Ulrich Drepper <drepper@gmail.com>
4511
88738eb6
UD
4512 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4513
cbf645a6 4514 [BZ #13192]
2840865d
UD
4515 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4516 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4517
b402e91a
RM
45182011-09-15 Roland McGrath <roland@hack.frob.com>
4519
4520 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4521 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4522 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4523 (CALL_FAIL): Likewise.
4524 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4525 (CALL_FAIL): Macro removed.
4526 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4527
4c1a1f71
UD
45282011-09-15 Ulrich Drepper <drepper@gmail.com>
4529
4530 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4531 for __FINITE_MATH_ONLY__ == 1.
4532
edc121be
AS
45332011-09-15 Andreas Schwab <schwab@redhat.com>
4534
4535 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4536 __ieee754_sqrt instead of sqrt.
4537 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4538 __ieee754_sqrtf instead of sqrtf.
4539 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4540 __floorf instead of floorf.
4541 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4542 __floorf, __truncf instead of floorf, truncf.
4543
cd205654
UD
45442011-09-14 Ulrich Drepper <drepper@gmail.com>
4545
ee4d0315
UD
4546 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4547
cd205654
UD
4548 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4549 __extern_always_inline.
4550 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4551 32-bit.
4552
48b67d71
AS
45532011-09-14 Andreas Schwab <schwab@redhat.com>
4554
4555 * elf/rtld.c (dl_main): Also relocate in dependency order when
4556 doing symbol dependency testing.
4557
1ae12c75
AS
45582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4559
4560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4561 Always define `refsym'.
4562
995a80df
AS
45632011-09-13 Andreas Schwab <schwab@redhat.com>
4564
e529793b
AS
4565 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4566 (__FD_ELT): Renamed from __FDELT.
4567 * misc/bits/select2.h (__FD_ELT): Likewise.
4568 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4569 __FD_MASK instead of __FDELT, __FDMASK.
4570 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4571 Likewise.
4572 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4573 Likewise.
4574
52d4fef8
AS
4575 * elf/Makefile (gen-ldd): Fix pattern.
4576
995a80df
AS
4577 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4578 (init_tls): Likewise.
4579
8682f8b0
UD
45802011-09-12 Ulrich Drepper <drepper@gmail.com>
4581
4582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4583
de82006d
AS
45842011-09-12 Andreas Schwab <schwab@redhat.com>
4585
a7c8e6a1
AS
4586 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4587 `struct cmsghdr *' instead of `void *'.
4588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4589 Likewise.
4590
0f31fe77
AS
45912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4592
4593 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4594 if non-absolute.
4595 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4596 ldd_rewrite_script.
0f31fe77 4597
32b4c839
UD
45982011-09-11 Ulrich Drepper <drepper@gmail.com>
4599
83cd1420
UD
4600 * configure.in: Remove --with-tls option.
4601 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4602 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4603 out in case it is missing.
4604 * sysdeps/ia64/elf/configure.in: Likewise.
4605 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4606 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4607 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4608 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4609 * sysdeps/sh/elf/configure.in: Likewise.
4610 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4611 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4612 * sysdeps/x86_64/elf/configure.in: Likewise.
4613 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4614 * sysdeps/mach/hurd/tls.h: Likewise.
4615
633f745d
UD
4616 [BZ #13067]
4617 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4618
f318beb8
UD
4619 [BZ #13090]
4620 * configure.in: Fix use of AC_INIT.
4621
32b4c839
UD
4622 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4623
3ce1f295
UD
46242011-09-10 Ulrich Drepper <drepper@gmail.com>
4625
bb016596
UD
4626 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4627 __set_errno.
8e58439c
UD
4628 * malloc/hooks.c: Likewise.
4629
aebae053 4630 [BZ #11929]
02d46fc4
UD
4631 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4632 variables statically.
4633 (narenas): Initialize.
4634 (list_lock): Initialize.
bb016596
UD
4635 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4636 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4637 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4638 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4639 Add initializers to main_arena and mp_.
4640 (malloc_state): Remove pagesize member. Change all users to use
4641 GLRO(dl_pagesize).
4642
4643 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4644 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4645 is always initialized.
4646
22a89187
UD
4647 * malloc/malloc.c: Removed unused configurations and dead code.
4648 * malloc/arena.c: Likewise.
4649 * malloc/hooks.c: Likewise.
02d46fc4 4650 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4651
d063d164
UD
4652 * include/tls.h: Removed. USE___THREAD must always be defined.
4653 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4654 * elf/dl-libc.c: Likewise.
4655 * elf/dl-tsd.c: Likewise.
4656 * include/errno.h: Likewise.
4657 * include/netdb.h: Likewise.
4658 * include/resolv.h: Likewise.
4659 * inet/herrno-loc.c: Likewise.
4660 * inet/herrno.c: Likewise.
4661 * malloc/arena.c: Likewise.
4662 * malloc/hooks.c: Likewise.
4663 * malloc/malloc.c: Likewise.
4664 * resolv/res-state.c: Likewise.
4665 * resolv/res_libc.c: Likewise.
4666 * sysdeps/i386/dl-machine.h: Likewise.
4667 * sysdeps/ia64/dl-machine.h: Likewise.
4668 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4669 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4670 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4671 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4672 * sysdeps/sh/dl-machine.h: Likewise.
4673 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4674 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4675 * sysdeps/unix/i386/sysdep.S: Likewise.
4676 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4677 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4680 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4682 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4686 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4687 * sysdeps/x86_64/dl-machine.h: Likewise.
4688 * tls.make.c: Likewise.
4689
3ce1f295
UD
4690 * configure.in: Remove --with-__thread option. Make tests for
4691 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4692 tls_model attribute fail if no support is available. Remove
4693 USE_IN_LIBIO.
4694 * Makeconfig: Adjust for dropped configure option. All features are
4695 now mandatory.
4696 * Makerules: Likewise.
4697 * Versions.def: Likewise.
4698 * argp/argp-fmtstream.c: Likewise.
4699 * argp/argp-fmtstream.h: Likewise.
4700 * argp/argp-help.c: Likewise.
4701 * assert/assert.c: Likewise.
4702 * config.h.in: Likewise.
4703 * config.make.in: Likewise.
4704 * configure: Likewise.
4705 * configure.in: Likewise.
4706 * csu/Versions: Likewise.
4707 * csu/init.c: Likewise.
4708 * elf/tst-audit2.c: Likewise.
4709 * elf/tst-tls10.c: Likewise.
4710 * elf/tst-tls10.h: Likewise.
4711 * elf/tst-tls11.c: Likewise.
4712 * elf/tst-tls12.c: Likewise.
4713 * elf/tst-tls14.c: Likewise.
4714 * elf/tst-tlsmod11.c: Likewise.
4715 * elf/tst-tlsmod12.c: Likewise.
4716 * elf/tst-tlsmod13.c: Likewise.
4717 * elf/tst-tlsmod13a.c: Likewise.
4718 * elf/tst-tlsmod14a.c: Likewise.
4719 * elf/tst-tlsmod15b.c: Likewise.
4720 * elf/tst-tlsmod16a.c: Likewise.
4721 * elf/tst-tlsmod16b.c: Likewise.
4722 * elf/tst-tlsmod7.c: Likewise.
4723 * elf/tst-tlsmod8.c: Likewise.
4724 * elf/tst-tlsmod9.c: Likewise.
4725 * gmon/gmon.c: Likewise.
4726 * grp/fgetgrent_r.c: Likewise.
4727 * grp/putgrent.c: Likewise.
4728 * hurd/fopenport.c: Likewise.
4729 * include/libc-symbols.h: Likewise.
4730 * include/tls.h: Likewise.
4731 * intl/gettextP.h: Likewise.
4732 * intl/loadinfo.h: Likewise.
4733 * locale/global-locale.c: Likewise.
4734 * locale/localeinfo.h: Likewise.
4735 * mach/devstream.c: Likewise.
4736 * malloc/arena.c: Likewise.
4737 * malloc/set-freeres.c: Likewise.
4738 * misc/err.c: Likewise.
4739 * misc/getttyent.c: Likewise.
4740 * misc/mntent_r.c: Likewise.
4741 * posix/getopt.c: Likewise.
4742 * posix/wordexp.c: Likewise.
4743 * pwd/fgetpwent_r.c: Likewise.
4744 * resolv/Versions: Likewise.
4745 * resolv/res_hconf.c: Likewise.
4746 * shadow/fgetspent_r.c: Likewise.
4747 * shadow/putspent.c: Likewise.
4748 * stdio-common/printf_fphex.c: Likewise.
4749 * stdio-common/tmpfile.c: Likewise.
4750 * stdlib/abort.c: Likewise.
4751 * stdlib/fmtmsg.c: Likewise.
4752 * sunrpc/auth_unix.c: Likewise.
4753 * sunrpc/clnt_perr.c: Likewise.
4754 * sunrpc/clnt_tcp.c: Likewise.
4755 * sunrpc/clnt_udp.c: Likewise.
4756 * sunrpc/clnt_unix.c: Likewise.
4757 * sunrpc/openchild.c: Likewise.
4758 * sunrpc/svc_simple.c: Likewise.
4759 * sunrpc/svc_tcp.c: Likewise.
4760 * sunrpc/svc_udp.c: Likewise.
4761 * sunrpc/svc_unix.c: Likewise.
4762 * sunrpc/xdr.c: Likewise.
4763 * sunrpc/xdr_array.c: Likewise.
4764 * sunrpc/xdr_rec.c: Likewise.
4765 * sunrpc/xdr_ref.c: Likewise.
4766 * sunrpc/xdr_stdio.c: Likewise.
4767
1248c1c4
PB
47682011-09-09 Ulrich Drepper <drepper@gmail.com>
4769
4770 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4771
47722011-07-03 Andreas Jaeger <aj@suse.de>
4773
4774 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4775 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4776 regenerate with gen-libm-tests.pl.
4777
47782010-05-12 Petr Baudis <pasky@suse.cz>
4779
4780 [BZ #11589]
4781 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4782 around j0() zero points by switching to j1().
4783 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4786 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4787
f22e1074
UD
47882011-09-09 Ulrich Drepper <drepper@gmail.com>
4789
f19009c1
UD
4790 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4791 instead of 0.
4792 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4793 instead of 0. .
4794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4795 Patch in part by Pavel Roskin <proski@gnu.org>.
4796
3f8cc204
UD
4797 [BZ #13138]
4798 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4799 realloc.
4800 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4801 Free memory block if necessary.
4802
f22e1074
UD
4803 [BZ #12847]
4804 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4805 be NULL. Don't lock in this case.
4806
0a2349f9
RM
48072011-09-09 Roland McGrath <roland@hack.frob.com>
4808
4809 * elf/elf.h (ELFOSABI_GNU): New macro.
4810 (ELFOSABI_LINUX): Define to that.
4811
f3cdd467
DZ
48122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4813
4814 * string/strncat.c (strncat): Undef the symbol in case it has been
4815 defined in bits/string.h.
4816
74718d13
UD
48172011-09-09 Ulrich Drepper <drepper@gmail.com>
4818
633e9e0f
UD
4819 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4820
0a2349f9 4821 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4822 link map.
4823
f9924780
AJ
48242011-08-17 Andreas Jaeger <aj@suse.de>
4825
4826 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4827
7f5517aa
PP
48282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4829 Ian Lance Taylor <iant@google.com>
4830
4831 * math/libm-test.inc (lround_test): New testcase.
4832 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4833
762011fe
UD
48342011-09-08 Ulrich Drepper <drepper@gmail.com>
4835
92963737
UD
4836 * Makefile: Remove support for automatic cvs check-ins.
4837 * Makerules: Likewise.
4838 * config.make.in: Likewise.
4839 * configure.in: Likewise.
4840 * intl/Makefile: Likewise.
4841 * locale/Makefile: Likewise.
4842 * po/Makefile: Likewise.
4843 * posix/Makefile: Likewise.
4844 * sysdeps/gnu/Makefile: Likewise.
4845 * sysdeps/mach/hurd/Makefile: Likewise.
4846 * sysdeps/sparc/sparc32/Makefile: Likewise.
4847
b0727fd8
JS
4848 [BZ #13118]
4849 * posix/Makefile (bug-regex32-ENV): Define.
4850 Patch by John Stanley <jpsinthemix@verizon.net>.
4851
a0f33f99
UD
4852 * misc/Makefile (headers): Add bits/select2.h.
4853 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4854 * misc/bits/select2.h: New file.
4855 * include/bits/select2.h: New file.
4856 * debug/Makefile (routines): Add fdelt_chk.
4857 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4858 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4859 FD_ISSET.
4860 * debug/fdelt_chk.c: New file.
4861
762011fe
UD
4862 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4863 * wcsmbs/test-wmemcmp.c: Likewise.
4864 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4865 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4866
48672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4868
4869 * string/Makefile (strop-tests): Add memcmp.
4870 * string/test-wmemcmp.c: New file.
4871 * string/test-memcmp.c: Add wmemcmp support.
4872
7f513ec8
RM
48732011-09-08 Roland McGrath <roland@hack.frob.com>
4874
0442afb4
RM
4875 [BZ #13153]
4876 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4877 2011-07-19 change.
4878
7f513ec8
RM
4879 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4880 garbage value in a __mach_port_mod_refs call in the cases of the
4881 task-self and thread-self ports.
4882
a12b2239
ST
48832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4884
4885 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4886
610f9ab4
AS
48872011-09-08 Andreas Schwab <schwab@redhat.com>
4888
7f513ec8 4889 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4890
48882a1a
LD
48912011-09-07 Ulrich Drepper <drepper@gmail.com>
4892
b49865be
UD
4893 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4894
fdc86bc9
UD
4895 * elf/dl-libc.c (dlerror_run): Pass back error code from
4896 dl_catch_error.
4897
c966526a
UD
4898 [BZ #13123]
4899 * elf/dl-load.c (lose): Free l_origin if it is valid.
4900
48882a1a
LD
4901 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4902 names.
4903 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4906 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4908 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4909
77a2a8b4
AZ
49102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4911
4912 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4913 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4914 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4915 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4916 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4917 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4918 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4919 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4920 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4921 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4922
24f579d8
AM
49232011-08-15 Alan Modra <amodra@gmail.com>
4924
4925 [BZ #13092]
4926 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4927 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4928 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4929 ppc_mcount to static-only-routines.
4930 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4931 __mcount_internal.
4932 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4933 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4934
3d4837df
UD
49352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4936
4937 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4938 for finite and infinity parameters.
4939
22700377
WS
49402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4941
4942 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4943 and add nop instructions for throughput optimization.
4944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4945
5025581e
WS
49462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4947
4948 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4949 aligned copy for power7 with vector-scalar instructions.
4950 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4951
08a300c9
L
49522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4953
4954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4955 AVX check.
4956
59178ef9
AS
49572011-09-07 Andreas Schwab <schwab@redhat.com>
4958
4959 [BZ #13144]
4960 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4961 last change.
4962
e38ba7ab
UD
49632011-09-07 Ulrich Drepper <drepper@gmail.com>
4964
4965 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4966 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4967 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4968 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4969 clock_gettime.
4970
d53a73ac
UD
49712011-09-06 Ulrich Drepper <drepper@gmail.com>
4972
fc8bffcc
UD
4973 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4974 Forgot to demangle the pointer.
4975
ceaa0c5d
UD
4976 * sysdeps/i386/sysdep.h: Define atom_text_section.
4977 * sysdeps/x86_64/sysdep.h: Likewise.
4978 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4979 section with atom_text_section.
4980 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4981 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4982 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4983 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4984 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4985
a77d3c17
UD
4986 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4987 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4988 already be defined. Change to take two parameters and don't assign
4989 result to variable. Adjust all users.
4990 Define INTERNAL_GETTIME if not already defined.
4991 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4992 call.
4993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4994 HAVE_CLOCK_GETTIME_VSYSCALL.
4995 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4996
d53a73ac
UD
4997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4998 gettimeofday vsyscall, just use time.
4999
a8f84144
AS
50002011-09-06 Andreas Schwab <schwab@redhat.com>
5001
5002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5003 <errno.h>.
5004
ef606249
UD
50052011-09-06 Ulrich Drepper <drepper@gmail.com>
5006
5007 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5008 syscall on x86-64.
5009 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5010 syscall.
5011 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5012 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5013 syscall if possible.
5014
6585cb60
UD
50152011-09-05 Ulrich Drepper <drepper@gmail.com>
5016
5017 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5018 e_ident. Don't pass to find_mapsXX.
5019 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5020
a5f524e4
LD
50212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5022
5023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5024 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5025 * sysdeps/x86_64/multiarch/strchr.S: Update.
5026 Check bit_slow_BSF bit.
5027 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5028 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5029 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5030
554881ef
UD
50312011-09-05 Ulrich Drepper <drepper@gmail.com>
5032
d96de963
UD
5033 [BZ #13134]
5034 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5035 before glibc 2.15.
5036 (tryshell): Define.
5037 (__spawni): Change last parameter to be flag. Test
5038 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5039 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5040 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5041 * posix/spawni.c: Likewise.
5042 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5043 * posix/spawnp.c: Likewise. Change normal version to use
5044 SPAWN_XFLAGS_USE_PATH.
5045 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5046 SPAWN_XFLAGS_TRY_SHELL.
5047
d48e5868
UD
5048 [BZ #13150]
5049 * posix/glob.h: Remove gcc 1.x support.
5050
554881ef
UD
5051 [BZ #13068]
5052 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5053
693fb948
LD
50542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5055
5056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5057 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5058 strrchr-sse2-bsf
5059 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5060 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5061 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5062 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5063 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5064 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5065
1b48c537
UD
50662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5067
49d42c37
UD
5068 * sysdeps/x86_64/wcscmp.S: New file.
5069
1b48c537
UD
5070 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5071 wcscmp-c wcscmp-sse2
5072 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5073 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5074 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5075 * wcsmbs/wcscmp.c: Allow renaming.
5076
15c95c5d
DM
50772011-09-05 David S. Miller <davem@davemloft.net>
5078
5079 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5080 stack slot, rather than the struct return pointer slot.
5081 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5082 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5085
2f0ad8f3
UD
50862011-09-05 Ulrich Drepper <drepper@gmail.com>
5087
d88ae418
UD
5088 * po/ja.po: Update from translation team.
5089
2f0ad8f3
UD
5090 [BZ #13144]
5091 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5092 kernel in 64-bit binaries.
5093
5f4318d1
DM
50942011-09-01 David S. Miller <davem@davemloft.net>
5095
5096 * elf/elf.h (HWCAP_SPARC_*): Move to..
5097 * sysdeps/sparc/sysdep.h: this new file and add new values.
5098 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5099 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5100 _DL_HWCAP_COUNT to 24.
5101 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5102 entries.
5103 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5104 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5105 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5107 instead of magic constants.
5108 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5109
3ba57516
DM
51102011-08-31 David S. Miller <davem@davemloft.net>
5111
5112 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5113 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5114 Reimplement to do errno handling inline.
5115 (SYSCALL_ERROR_HANDLER): New macro.
5116 (__SYSCALL_STRING): Do not do errno handling in asm.
5117 (__CLONE_SYSCALL_STRING): Delete.
5118 (__INTERNAL_SYSCALL_STRING): Delete.
5119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5120 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5121 (PSEUDO): Reimplement to do errno handling inline.
5122 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5123 (SYSCALL_ERROR_HANDLER): New macro.
5124 (__SYSCALL_STRING): Do not do errno handling in asm.
5125 (__CLONE_SYSCALL_STRING): Delete.
5126 (__INTERNAL_SYSCALL_STRING): Delete.
5127 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5128 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5129 i386.
5130 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5131 (inline_syscall*): Add 'err' argument.
5132 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5133 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5134 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5135 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5136
5137 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5138 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5139
2bc17433
AS
51402011-08-30 Andreas Schwab <schwab@redhat.com>
5141
5142 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5143
fbeb5f4d
JO
51442011-08-29 Jiri Olsa <jolsa@redhat.com>
5145
5146 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5147 directive.
5148
ad69cc26
DM
51492011-08-24 David S. Miller <davem@davemloft.net>
5150
5151 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5152
39dd69df
AS
51532011-08-24 Andreas Schwab <schwab@redhat.com>
5154
5155 * elf/Makefile: Add rules to build and run unload8 test.
5156 * elf/unload8.c: New file.
5157 * elf/unload8mod1.c: New file.
5158 * elf/unload8mod1x.c: New file.
5159 * elf/unload8mod2.c: New file.
5160 * elf/unload8mod3.c: New file.
5161
5162 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5163 it wasn't used.
5164
2c0b250a
DM
51652011-08-23 David S. Miller <davem@davemloft.net>
5166
5167 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5168 subtract stack bias.
5169 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5170 %sp not %fp in calculations.
5171 (_JMPBUF_UNWINDS_ADJ): Likewise.
5172
22044b48
DM
5173 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5174 (aio_suspend): Call it to force an exception region around the
5175 AIO_MISC_WAIT() invocation.
5176
2cae4995
AS
51772011-08-23 Andreas Schwab <schwab@redhat.com>
5178
5179 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5180 backslash.
5181
873a772e
AJ
51822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5183
5184 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5185 protection macro.
5186 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5187 and <dl-machine.h>.
5188 (Elf64_FuncDesc): Remove.
5189
25ad0df1
DM
51902011-08-22 David S. Miller <davem@davemloft.net>
5191
5192 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5193 sigaltstack check, add missing cfi directives.
5194 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5195 missing cfi directives, and sigaltstack handling.
5196
e888bcbe
AS
51972011-08-16 Andreas Schwab <schwab@redhat.com>
5198
5199 [BZ #11724]
5200 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5201 object is seen twice.
5202 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5203
5204 * elf/Makefile (distribute): Add tst-initorder2.c.
5205 (tests): Add tst-initorder2.
5206 (modules-names): Add tst-initorder2a tst-initorder2b
5207 tst-initorder2c tst-initorder2d. Add rules to build them.
5208 ($(objpfx)tst-initorder2.out): New rule.
5209 * elf/tst-initorder2.c: New file.
5210 * elf/tst-initorder2.exp: New file.
5211
87162f46
AS
52122011-08-22 Andreas Schwab <schwab@redhat.com>
5213
70538b7f
AS
5214 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5215
f55ffe58
AS
5216 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5217 dependencies back to end of function.
5218
87162f46
AS
5219 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5220 $(elfobjdir)/ld.so.
5221
91b392a4
UD
52222011-08-21 Ulrich Drepper <drepper@gmail.com>
5223
5224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5225 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5227 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5228 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5229 of __vdso_gettimeofday.
5230 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5231 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5232 attribute_hidden.
5233 (_libc_vdso_platform_setup): Remove initialization of
5234 __vdso_gettimeofday and __vdso_time.
5235
5c43483f
UD
52362011-08-20 Ulrich Drepper <drepper@gmail.com>
5237
775a77e7
UD
5238 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5239 and fgetc_unlocked.
5240 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5241 getc_unlocked.
89f447ed 5242
49c74ba9
UD
5243 * elf/dl-open.c (add_to_global): Report additions to the global scope
5244 for LD_DEBUG=scopes.
5245 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5246 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5247
5c43483f
UD
5248 [BZ #13114]
5249 * stdio-common/Makefile (tests): Add bug24.
5250 * stdio-common/bug24.c: New file.
5251
a101b025
AJ
52522011-08-19 Andreas Jaeger <aj@suse.de>
5253
5254 [BZ #13114]
5255 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5256 non-existant file when using close-on-exec mode.
5257
c88f1766
UD
52582011-08-20 Ulrich Drepper <drepper@gmail.com>
5259
0276a718
UD
5260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5261 the very first instruction.
5262
c88f1766
UD
5263 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5264 the CFI state in the end.
5265 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5266 inclusion of dl-trampoline.h.
5267 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5268
51ccffa0
AS
52692011-08-19 Andreas Schwab <schwab@redhat.com>
5270
94d7165f
AS
5271 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5272 expectations for long double.
5273
51ccffa0
AS
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5275 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5276
fd708658 52772011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5278
5279 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5280 artificual limit depends upon the system page size.
5281
44f0a71e
UD
52822011-08-17 Ulrich Drepper <drepper@gmail.com>
5283
5284 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5285 * resolv/Makefile: Define CFLAGS-libresolv.
5286
8de79a24
AS
52872011-08-17 Andreas Schwab <schwab@redhat.com>
5288
5289 * nss/makedb.c (compute_tables): Make variables used in nested
5290 function static.
5291
27724598
UD
52922011-08-17 Ulrich Drepper <drepper@gmail.com>
5293
c5305d88
UD
5294 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5295 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5296 if buffer was too small.
5297
27724598
UD
5298 * elf/pldd.c (main): Attach to all threads in the process.
5299 Rewrite /proc handling to use *at functions.
5300
076fe015
UD
53012011-08-16 Ulrich Drepper <drepper@gmail.com>
5302
174baab3
UD
5303 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5304 specifies first scope to show.
5305 (dl_open_worker): Update callers. Move printing scope of new
5306 object to before the relocation.
44f0a71e 5307 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5308 * sysdeps/generic/ldsodefs.h: Update declaration.
5309
076fe015
UD
5310 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5311 string for the scope number.
5312
a60df2c3
UD
53132011-08-14 Ulrich Drepper <drepper@gmail.com>
5314
5315 * nscd/servicescache.c (cache_addserv): Make sure written is always
5316 initialized.
5317
5e4287d1
RM
53182011-08-14 Roland McGrath <roland@hack.frob.com>
5319
85ae0589
RM
5320 * sysdeps/i386/i486/bits/atomic.h
5321 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5322 statement expression, so as to suppress "set but not used" warning.
5323 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5324
69f63097
RM
5325 * string/strncat.c (STRNCAT): Use prototype definition.
5326
675456ef
RM
5327 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5328 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5329 -Iprograms here.
5330 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5331 (localedef-modules): Add localedef.
5332 (locale-modules): Add locale.
5333
5e4287d1
RM
5334 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5335 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5336 to avoid a warning.
5337
9c96ff23
DM
53382011-08-14 David S. Miller <davem@davemloft.net>
5339
5340 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5341 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5342
f9ddf089
UD
53432011-08-13 Ulrich Drepper <drepper@gmail.com>
5344
44f0a71e 5345 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5346 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5347 * elf/rtld.c (dl_main): Set l_name of vDSO.
5348 Call _dl_show_scope when DL_DEBUG_SCOPES.
5349 (process_dl_debug): Recognize scopes flag and also set it for all.
5350 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5351 Declare _dl_show_scope.
5352
1dc27704
UD
5353 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5354 (do_dlopen): Pass caller_dlopen to dl_open.
5355 (__libc_dlopen_mode): Initialize caller_dlopen.
5356
f9ddf089
UD
5357 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5358 of libc. Make tolower call locale-independent. Optimize a bit by
5359 using isdigit instead of isalnum.
5360 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5361
9ac533d3
UD
53622011-08-12 Ulrich Drepper <drepper@gmail.com>
5363
5364 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5365 was a dependency or dynamically loaded.
5366
89edf2e9
UD
53672011-08-11 Ulrich Drepper <drepper@gmail.com>
5368
8e999d29
UD
5369 * intl/l10nflist.c: Allow architecture-specific pop function.
5370 * sysdeps/x86_64/l10nflist.c: New file.
5371
89edf2e9
UD
5372 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5373 classification.
5374
14d96785
AS
53752011-08-10 Andreas Schwab <schwab@redhat.com>
5376
5377 * include/dirent.h: Add libc_hidden_proto for scandirat and
5378 scandirat64. Don't declare __scandirat64.
5379 * dirent/scandirat.c: Add libc_hidden_def.
5380 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5381 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5382
6761ac04
DM
53832011-08-10 David S. Miller <davem@davemloft.net>
5384
5385 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5386 enum.
5387 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5389 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5390
c55fbd1e
UD
53912011-08-09 Ulrich Drepper <drepper@gmail.com>
5392
5393 * Versions.def [libc]: Add GLIBC_2.15.
5394 * dirent/Makefile (routines): Add scandirat and scandirat64.
5395 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5396 GLIBC_2.15.
5397 * dirent/dirent.h: Declare scandirat and scandirat64.
5398 * dirent/scandirat.c: New file.
5399 * dirent/scandirat64.c: New file.
5400 * sysdeps/wordsize-64/scandirat.c: New file.
5401 * sysdeps/wordsize-64/scandirat64.c: New file.
5402 * dirent/opendir.c: Define opendirat.
5403 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5404 using scandirat.
5405 * dirent/scandir64.c: Adjust for scandir.c change.
5406 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5407 __scandirat64, and __scandir_cancel_handler.
5408 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5409 additional parameter and use openat instead of open (outside of ld.so).
5410 Add new __opendir as wrapper around __opendirat.
5411 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5412 here without requiring old scandirat implementation.
5413
879165f2
UD
54142011-08-08 Ulrich Drepper <drepper@gmail.com>
5415
5416 * dirent/scandir.c (cancel_handler): Renamed to
5417 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5418 defined. Adjust users.
5419 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5420 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5421
cb7e923b
UD
54222011-08-04 Ulrich Drepper <drepper@gmail.com>
5423
16292edd
UD
5424 * string/test-string.h (IMPL): Use __STRING to expand name and then
5425 stringify it.
5426
cb7e923b
UD
5427 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5428 of cleanups.
5429
cff82933
LD
54302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5431
5432 * string/Makefile: Update.
5433 (strop-tests): Append strncat.
5434 * string/test-wcscmp.c: New file.
5435 New comprehensive test for wcscmp.
5436 * string/test-strcmp.c: Update.
5437 (WIDE): New define.
5438
9be9bfcc
AS
54392011-07-22 Andreas Schwab <schwab@redhat.com>
5440
5441 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5442 line.
5443
2e96f1c7
AS
54442011-07-26 Andreas Schwab <schwab@redhat.com>
5445
5446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5447 encoding to ACE if AI_IDN.
5448
85188888
JJ
54492011-08-01 Jakub Jelinek <jakub@redhat.com>
5450
5451 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5452 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5453
5fa16e9b
LD
54542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5455
5456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5457 Fix overflow bug in strncat.
5458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5459
5460 * string/test-strncat.c: Update.
5461 Add new tests for checking overflow bugs.
5462
54632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5464
5465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5466 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5467 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5468 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5469 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5470 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5471 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5472 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5473 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5474
5475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5476 (USE_AS_STRCAT): Define.
5477 Add strcat and strncat support.
5478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5479
8c1a459f
AS
54802011-07-25 Andreas Schwab <schwab@redhat.com>
5481
5482 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5483 __n bigger than INT_MAX+1.
5484 (__strncmp_g): Likewise.
5485
bba33c28
UD
54862011-07-23 Ulrich Drepper <drepper@gmail.com>
5487
798be72d
UD
5488 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5489 * libio/stido.h: Likewise.
5490
8accd4dc
UD
5491 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5492 (AF_NFC): Define.
5493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5494 (AF_NFC): Define.
5495
cbff0d96
UD
5496 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5497 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5499 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5500 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5501
9191c04a
UD
5502 [BZ #13021]
5503 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5504 installed.
5505
bba33c28
UD
5506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5507 typo.
5508 (_dl_x86_64_save_sse): Likewise.
5509
90f139dd
UD
55102011-07-22 Ulrich Drepper <drepper@gmail.com>
5511
1aae088a
UD
5512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5513 OSXSAVE.
5514 (_dl_x86_64_save_sse): Likewise.
5515
8e2045f5
UD
5516 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5517
90f139dd
UD
5518 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5519
1d002f25
AS
55202011-07-21 Andreas Schwab <schwab@redhat.com>
5521
5522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5523 change.
5524 (_dl_x86_64_save_sse): Use correct AVX check.
5525
21137f89
UD
55262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5527
5528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5529 bug in strncpy/strncat.
5530 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5531
a65c0b7a
UD
55322011-07-21 Ulrich Drepper <drepper@gmail.com>
5533
5534 * string/tester.c (test_strcat): Add tests for different alignments
5535 of source and destination.
5536 (test_strncat): Likewise.
5537
6986b98a
UD
55382011-07-20 Ulrich Drepper <drepper@gmail.com>
5539
90bb2039
UD
5540 [BZ #12852]
5541 * posix/glob.c (glob): Check passed in values before using them in
5542 expressions to avoid some overflows.
5543 (glob_in_dir): Likewise.
5544
5644ef54
UD
5545 [BZ #13007]
5546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5547 check for AVX enablement so that we don't crash with old kernels and
5548 new hardware.
5549 * elf/tst-audit4.c: Add same checks here.
5550 * elf/tst-audit6.c: Likewise.
5551
5552 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5553
bfc9dc9b
AS
55542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5555
5556 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5557
702e64bb
UD
55582011-07-20 Ulrich Drepper <drepper@gmail.com>
5559
5560 * po/cs.po: Update from translation team.
5561 * po/bg.po: Likewise.
5562
295e904f
MP
55632011-07-12 Marek Polacek <mpolacek@redhat.com>
5564
5565 * misc/sys/cdefs.h: Add support for const attribute.
5566 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5567 to gnu_dev_{major,minor,makedev} functions.
5568
3ff94596
MP
55692011-07-20 Marek Polacek <mpolacek@redhat.com>
5570
5571 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5572
28b59fca
AS
55732011-07-20 Andreas Schwab <schwab@redhat.com>
5574
5575 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5576 strlen results.
5577
19df733e
AK
55782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5579
5580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5581 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5582 register in order to avoid conflicts with the soft frame pointer
5583 being held in r11 when necessary.
5584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5585 (INTERNAL_VSYSCALL_NCS): Likewise.
5586
c8835729
MP
55872011-07-14 Marek Polacek <mpolacek@redhat.com>
5588
5589 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5590 * elf/dl-fini.c (_dl_fini): Adjust caller.
5591 * elf/dl-close.c (_dl_close_worker): Likewise.
5592 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5593
b902330c
MP
55942011-07-15 Marek Polacek <mpolacek@redhat.com>
5595
8991e135
MP
5596 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5597 "aux_cache->nlibs < 0".
5598
b902330c
MP
5599 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5600 in the reload-count case.
5601
99710781
LD
56022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5603
5604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5605 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5606 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5607 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5608 * sysdeps/x86_64/multiarch/strcat.S: New file.
5609 * sysdeps/x86_64/multiarch/strncat.S: New file.
5610 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5611 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5612 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5613 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5615 (USE_AS_STRCAT): Define.
5616 Add strcat and strncat support.
5617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5618 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5619 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5620 * string/strncat.c: Update.
5621 (USE_AS_STRNCAT): Define.
5622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5623 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5624 and i7.
5625 * sysdeps/x86_64/multiarch/init-arch.h
5626 (bit_Prefer_PMINUB_for_stringop): New.
5627 (index_Prefer_PMINUB_for_stringop): Likewise.
5628 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5629 bit_Prefer_PMINUB_for_stringop.
5630
7dc6bd90
UD
56312011-07-19 Ulrich Drepper <drepper@gmail.com>
5632
5633 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5634 buffer64.
5635 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5636 of casting of buffer.
5637 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5638 buffer32 and buffer64.
5639 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5640 writes instead of casting of buffer.
5641 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5642 buffer32.
5643 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5644 casting of buffer.
5645
e0e72284
AS
56462011-07-19 Andreas Schwab <schwab@redhat.com>
5647
5648 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5649
feb1eb0b
UD
56502011-07-19 Ulrich Drepper <drepper@gmail.com>
5651
5652 * nscd/nscd.c (termination_handler): Don't do anything for a database
5653 if it has not yet been initialized.
5654
298711ff
UD
56552011-07-18 Ulrich Drepper <drepper@gmail.com>
5656
5657 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5658
56592011-07-15 Marek Polacek <mpolacek@redhat.com>
5660
5661 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5662
f9d68389
UD
56632011-07-18 Ulrich Drepper <drepper@gmail.com>
5664
5665 * po/nl.po: Update from translation team.
5666 * po/sv.po: Likewise.
5667
db290cf5
RM
56682011-07-16 Roland McGrath <roland@hack.frob.com>
5669
5670 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5671 now disallowed by GCC.
5c550700 5672
fd5e21c7
RM
5673 * configure.in (use-default-link): Default to yes if a test -shared
5674 link meets our qualifications.
5675 * configure: Regenerated.
5676
5c550700
RM
5677 * config.make.in (output-format): New variable.
5678 * configure.in: Check for ld --print-output-format support.
5679 * configure: Regenerated.
5680 * Makerules ($(common-objpfx)format.lds)
5681 [$(output-format) != unknown]: Just use $(output-format),
5682 instead of the linker-script munging.
5683
9fa2c032
RM
56842011-07-14 Roland McGrath <roland@hack.frob.com>
5685
a6928d51
RM
5686 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5687 of $(common-objpfx)shlib.lds.
5688 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5689
661607b3
RM
5690 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5691 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5692
9fa2c032
RM
5693 * configure.in (-z relro check): Adjust test code to add a large
5694 writable data section after it.
5695 * configure: Regenerated.
5696
defe9061
RM
56972011-07-11 Roland McGrath <roland@hack.frob.com>
5698
5699 * configure.in (-z relro check): Fix test code to make the variable
5700 truly const.
5701 * configure: Regenerated.
5702
319b9ad4
UD
57032011-07-11 Ulrich Drepper <drepper@gmail.com>
5704
5705 * nscd/nscd.h (struct traced_file): Define.
5706 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5707 elements. Add traced_files.
5708 (inotify_fd): Declare.
5709 (register_traced_file): Declare.
5710 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5711 (inotify_fd): Export.
5712 (resolv_conf_descr): Remove.
5713 (nscd_init): Move inotify descriptor creation to main.
5714 Don't register files for notification here.
5715 (register_traced_file): New function.
5716 (invalidate_cache): Don't use reset_res to determine whether to call
5717 res_init, go through the list of registered files.
5718 (main_loop_poll): The inotify descriptors are now stored in the
5719 structures for the traced files.
5720 (main_loop_epoll): Likewise
5721 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5722 to __nss_disable_nscd.
5723 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5724 for a database anymore. Check the records for all the registered
5725 files instead.
5726 * nss/Makefile (libnss_files-routines): Add files-init.
5727 (libnss_db-routines): Add db-init.
5728 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5729 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5730 * nss/nss_db/db-init.c: New file.
5731 * nss/nss_files/files-init.c: New file.
5732 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5733 __nss_lookup_function.
5734 (__nss_lookup_function): Call nss_load_library.
5735 (nss_load_all_libraries): New function.
5736 (__nss_disable_nscd): Take parameter with callback function for files
5737 to register. Set is_nscd. Load all the DSOs for the NSS modules
5738 used for the cached services.
5739 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5740 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5741 options for features to all the files in nscd.
5742
5743 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5744
23bee3e8
RM
57452011-07-10 Roland McGrath <roland@hack.frob.com>
5746
5747 * csu/elf-init.c (__libc_csu_init): Comment typo.
5748
46a5b7f0
UD
57492011-07-09 Ulrich Drepper <drepper@gmail.com>
5750
5751 * po/pl.po: Update from translation team.
5752 * po/ja.po: Likewise.
5753 * po/ru.po: Likewise.
5754 * po/ko.po: Likewise.
5755 * po/fr.po: Likewise.
5756
d30cf5bb
RM
57572011-07-09 Roland McGrath <roland@hack.frob.com>
5758
113ddea4
RM
5759 * configure.in (.ctors/.dtors header and trailer check):
5760 Use an empirical test on a built program.
5761 * configure: Regenerated.
5762
574920b4
RM
5763 * configure.in (-z relro check): Use an empirical test on a built DSO.
5764 Detect, but do not require, on ia64.
5765 * configure: Regenerated.
5766
d30cf5bb
RM
5767 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5768 Update tests that use readelf to use $READELF instead.
5769 * configure: Regenerated.
5770
8538fdb3
UD
57712011-07-08 Ulrich Drepper <drepper@gmail.com>
5772
5773 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5774 if the result is not used.
5775
04d08991
AJ
57762011-07-05 Andreas Jaeger <aj@suse.de>
5777
5778 [BZ#9696]
5779 * stdlib/tst-strtod.c: Add testcase.
5780
de283087
AD
57812011-07-07 Ulrich Drepper <drepper@gmail.com>
5782
4e5f31c8 5783 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5784 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5785 The latter has a higher limit. Take additional parameter to pass to
5786 the new function.
5787 (__pathconf): Pass file to __statfs_link_max.
5788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5789 __statfs_link_max.
5790 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5791 __statfs_link_max.
5792
de283087
AD
5793 [BZ #12868]
5794 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5796 Handle Lustre.
5797 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5798 (__statfs_filesize_max): Likewise.
5799 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5800
c75fa153
AJ
58012011-07-05 Andreas Jaeger <aj@suse.de>
5802
5803 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5804
1a544854
UD
58052011-07-06 Marek Polacek <mpolacek@redhat.com>
5806
5807 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5808 `status' variable.
5809 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5810 Likewise.
5811
6f0eec67
UD
58122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5813
5814 * Makefile (strop-tests): Add strncat.
5815 * string/test-strncat.c: New file.
5816
aae30307
UD
58172011-06-30 Marek Polacek <mpolacek@redhat.com>
5818
5819 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5820
c0cfb5eb
UD
58212011-06-21 Andreas Jaeger <aj@suse.de>
5822
5823 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5824 Copy rule from iconvdata/Makefile.
5825
01636b21
UD
58262011-07-06 Ulrich Drepper <drepper@gmail.com>
5827
5828 [BZ #12922]
5829 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5830 but no long options are defined, just return 'W'.
5831
9895c8bc
UD
58322011-06-22 Marek Polacek <mpolacek@redhat.com>
5833
5834 [BZ #9696]
5835 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5836
5d4cf042
UD
58372011-07-06 Ulrich Drepper <drepper@gmail.com>
5838
5839 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5840 netgroups to read.
960e5535 5841 (innetgr): Likewise.
5d4cf042 5842
751eb97e
RM
58432011-07-05 Roland McGrath <roland@hack.frob.com>
5844
5845 * config.make.in (install_root): Default to $(DESTDIR).
5846
f15f1e45
UD
58472011-07-05 Ulrich Drepper <drepper@gmail.com>
5848
5849 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5850
4e34ac6a
RM
58512011-07-02 Roland McGrath <roland@hack.frob.com>
5852
5e9b6af4
RM
5853 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5854
84f9ea0f
RM
5855 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5856 containing directory rather than embedding absolute directory names.
5857
ea5ee9f7
RM
5858 * scripts/check-local-headers.sh: Rewritten using awk.
5859 Match by word, not by line. Print error messages for matches.
5860 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5861
1b74661a
RM
5862 * Makerules [shlib-lds-flags empty]:
5863 ($(common-objpfx)libc_pic.opts): New target.
5864 ($(common-objpfx)libc_pic.os.clean): New target.
5865 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5866
5867 * config.make.in (OBJCOPY): New variable.
5868 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5869 * configure: Regenerated.
5870
f781ef40
RM
5871 * config.make.in (use-default-link): New variable.
5872 * configure.in (use_default_link): Grok --with-default-link to set it.
5873 * configure: Regenerated.
5874 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5875 (shlib-lds, shlib-lds-flags): Define to empty.
5876
2d4fa81e
RM
5877 * Makerules (shlib-lds): New variable.
5878 (shlib-lds-flags): New variable.
5879 (build-shlib, build-moduile, build-module-asneeded): Use it.
5880 ($(common-objpfx)libc.so): Use $(shlib-lds).
5881 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5882 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5883
31fffa6b
RM
5884 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5885 DT_FLAGS/DT_FLAGS_1 with zero flags.
5886
4e34ac6a
RM
5887 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5888 linker script munging.
5889
fcfc776b
UD
58902011-07-02 Ulrich Drepper <drepper@gmail.com>
5891
5892 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5893 as 128-bit value.
5894 * crypt/sha512.c (sha512_process_block): Perform total addition using
5895 128-bit if possible.
5896 (__sha512_finish_ctx): Likewise.
5897 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5898 as 64-bit value.
5899 * crypt/sha256.c (SWAP64): Define.
5900 (sha256_process_block): Perform total addition using 64-bit if
5901 possible.
5902 (__sha256_finish_ctx): Likewise.
5903
99231d9a
UD
59042011-07-01 Ulrich Drepper <drepper@gmail.com>
5905
5906 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5907 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5908 * nscd/hstcache.c (cache_addhst): Likewise.
5909 * nscd/grpcache.c (cache_addgr): Likewise.
5910 * nscd/aicache.c (addhstaiX): Likewise
5911 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5912
445b4a53
TK
59132011-07-01 Thorsten Kukuk <kukuk@suse.de>
5914
5915 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5916 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5917 * nscd/hstcache.c (cache_addhst): Likewise.
5918 * nscd/grpcache.c (cache_addgr): Likewise.
5919 * nscd/aicache.c (addhstaiX): Likewise
5920
6d4d8e8e
AS
59212011-07-01 Andreas Schwab <schwab@redhat.com>
5922
5923 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5924 domain only when needed.
5925
89f654c5
AS
59262011-06-30 Andreas Schwab <schwab@redhat.com>
5927
5928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5929 is always restored.
5930
cf3b23ff
UD
59312011-06-29 Ulrich Drepper <drepper@gmail.com>
5932
5933 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5934 are re-adding the entry.
5935 * nscd/servicescache.c (cache_addserv): Likewise.
5936
751626f9
AJ
59372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5938
5939 * sysdeps/generic/dl-irel.h: fix protection against multiple
5940 inclusions.
5941 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5942
9113ea1f
UD
59432011-06-28 Ulrich Drepper <drepper@gmail.com>
5944
5c0b8d90
UD
5945 [BZ #12935]
5946 * malloc/memusage.sh: Fix quoting in message.
5947 * debug/xtrace.sh: Likewise.
5948
9113ea1f
UD
5949 * configure.in: Remove support for --experimental-malloc option, make
5950 it the default.
5951 * config.make.in: Likewise.
5952 * malloc/Makefile: Likewise.
5953
a4172181
AS
59542011-06-27 Andreas Schwab <schwab@redhat.com>
5955
5956 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5957 two-byte characters.
5958
78a7eee7
RM
59592011-06-27 Roland McGrath <roland@hack.frob.com>
5960
62bede13
RM
5961 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5962 AC_CACHE_CHECK invocation.
5963 * configure: Regenerated.
5964
78a7eee7
RM
5965 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5966
5ce33a62
UD
59672011-06-27 Ulrich Drepper <drepper@gmail.com>
5968
034807a9
UD
5969 [BZ #12350]
5970 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5971 bit from old_res_options.
5972
4902da17
UD
5973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5974
5ce33a62
UD
5975 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5976 value type for setfct.
5977
c2344f56
L
59782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5979
5980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5981 __gettimeofday instead of gettimeofday.
5982
68468076
UD
59832011-06-26 Ulrich Drepper <drepper@gmail.com>
5984
5985 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5986
acb0d739
L
59872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5988
5989 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5990
5991 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5992 info.
5993
8912479f
L
59942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5995
5996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5997 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5998 strcpy-sse2-unaligned strncpy-sse2-unaligned
5999 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6000 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6001 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6002 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6003 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6006 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6007 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6008 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6009 (STRCPY): Support SSE2 and SSSE3 versions.
6010
d5495a11
UD
60112011-06-24 Ulrich Drepper <drepper@gmail.com>
6012
6013 [BZ #12874]
6014 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6015 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6016 kernels which artificially limit size of requests.
6017
0b1cbaae
L
60182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6019
6020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6021 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6022 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6023 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6024 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6025 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6026 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6027 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6030 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6031 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6032 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6033 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6034 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6036 Enable unaligned load optimization for Intel Core i3, i5 and i7
6037 processors.
6038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6039 Define.
6040 (index_Fast_Unaligned_Load): Define.
6041 (HAS_FAST_UNALIGNED_LOAD): Define.
6042
07f494a0
MP
60432011-06-23 Marek Polacek <mpolacek@redhat.com>
6044
6045 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6046
fa3fc0fe
UD
60472011-06-22 Ulrich Drepper <drepper@gmail.com>
6048
6049 [BZ #12907]
6050 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6051 until it is clear that the information is realy needed.
6052 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6053
e12df166
AS
60542011-06-22 Andreas Schwab <schwab@redhat.com>
6055
6056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6057
852eb34d
UD
60582011-06-22 Ulrich Drepper <drepper@gmail.com>
6059
84e2a551
UD
6060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6061 /sys/devices/system/cpu/online if it is usable.
6062
852eb34d
UD
6063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6064 reading the information from the /proc filesystem to once a second.
6065
6e502e19
UD
60662011-06-21 Andreas Jaeger <aj@suse.de>
6067
6068 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6069 NULL after inclusion of kernel headers.
6070
75d39ff2
UD
60712011-06-21 Ulrich Drepper <drepper@gmail.com>
6072
51f9aa6a
UD
6073 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6074 calls to internal_setent.
6075
c0244a9d
UD
6076 [BZ #12885]
6077 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6078 addresses using gethostbyname4_r ignore IPv4 addresses.
6079
c5e3c2ae
UD
6080 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6081 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6082
75d39ff2
UD
6083 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6084
42675c6f
DM
60852011-06-20 David S. Miller <davem@davemloft.net>
6086
6087 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6088 inclusions.
6089 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6090
6091 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6092 (elf_irel): Use it.
6093 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6094 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6095 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6096 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6097 * sysdeps/x86_64/dl-irel.h: Likewise.
6098
6099 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6100 * elf/dl-sym.c: Likewise.
6101
57912a71
UD
61022011-06-15 Ulrich Drepper <drepper@gmail.com>
6103
6104 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6105 need to dereference resplen2.
6106
ee22793d
AS
61072011-06-14 Andreas Schwab <schwab@redhat.com>
6108
6109 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6110
a9e836b0
UD
61112011-06-15 Ulrich Drepper <drepper@gmail.com>
6112
77fb9117
UD
6113 * Makeconfig: Define vardbdir and inst_vardbdir.
6114 * nss/Makefile: Add rules to install db-Makefile.
6115
40c1b22c
UD
6116 * nss/nss_db/db-XXX.c: Cleanup.
6117
9f2da732
UD
6118 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6119 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6120 GLIBC_PRIVATE.
6121 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6122 * nss/makedb.c: Implement -g option to specify that value strings
6123 are generated and should not be added to table iterated over for
6124 get*ent calls.
6125 * nss/nss_db/db-initgroups.c: New file.
6126
82e9a1f7
UD
6127 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6128 interface.
6129
c41af17e
UD
6130 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6131 (internal_getgrouplist): Adjust to name change.
6132 Update use_initgroups_entry if this is not the first call.
6133 * nss/databases.def: Add initgroups entry.
6134
a9e836b0
UD
6135 * nss/makedb.c (compute_tables): Check result of multiple hash table
6136 sizes to minimize maximum chain length.
6137
2666d441
UD
61382011-06-14 Ulrich Drepper <drepper@gmail.com>
6139
6140 * Versions.def: Add entry for libnss_db.
6141 * shlib-versions: Likewise.
6142 * nss/Makefile: Add rules to build libnss_db.
6143 * nss/Versions: Add libnss_db information. Organize libnss_files
6144 entries better.
6145 * nss/db-Makefile: Add gshadow support. Change rules for the new
6146 makedb progra. Some minor improvements to generate smaller files.
6147 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6148 here from...
6149 * nss/makedb.c: ...here.
6150 Improve database format to be smaller and require less memory at
6151 runtime.
6152 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6153 db anymore.
6154 * nss/nss_db/db-netgrp.c: Likewise.
6155 * nss/nss_db/db-open.c: Likewise.
6156 * nss/nss_files/flies-XXX.x: Adjust comments.
6157 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6158 * nss/nss_files/files-grp.c: Likewise.
6159 * nss/nss_files/files-hosts.c: Likewise.
6160 * nss/nss_files/files-network.c: Likewise.
6161 * nss/nss_files/files-proto.c: Likewise.
6162 * nss/nss_files/files-pwd.c: Likewise.
6163 * nss/nss_files/files-rpc.c: Likewise.
6164 * nss/nss_files/files-service.c: Likewise.
6165 * nss/nss_files/files-sgrp.c: Likewise.
6166 * nss/nss_files/files-spwd.c: Likewise.
6167 * nss/nss_db/db-alias.c: Removed.
6168 * nss/nss_db/dummy-db.h: Removed.
6169
9ee76b5a
UD
61702011-06-02 Ulrich Drepper <drepper@gmail.com>
6171
6172 * nss/makedb.c: Rewritten to not use database library.
6173 * nss/Makefile: Update to build new makedb program.
6174
c71ca1f8
AJ
61752011-06-14 Andreas Jaeger <aj@suse.de>
6176
6177 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6178 memset declaration.
6179
3154bfb8
UD
61802011-06-10 Andreas Schwab <schwab@redhat.com>
6181
6182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6183 tmpbuf.
6184
b350afab
RM
61852011-06-10 Roland McGrath <roland@hack.frob.com>
6186
decd4e50
RM
6187 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6188 * elf/Makefile ($(objpfx)ld.so): Likewise.
6189
5615eaf2
RM
6190 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6191 Don't list ld.so twice in dependencies.
6192
6193 * posix/bug-regex31.c: Include <stdlib.h>.
6194
6195 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6196
6197 * nis/nss_compat/compat-spwd.c
6198 (getspent_next_nss_netgr): Remove unused variable.
6199 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6200
6201 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6202 nonmembers" output to use the right array.
6203
6204 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6205
6206 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6207
6208 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6209 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6210 * catgets/gencat.c (read_input_file): Likewise.
6211 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6212
6213 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6214 variable definition inside #if's controlling its use.
6215
6216 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6217
6218 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6219
6220 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6221
6222 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6223 unreachable code.
6224
6225 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6226
b68e08db
RM
6227 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6228 * configure: Regenerated.
6229
b350afab
RM
6230 * Makerules: Revert last change.
6231 * elf/Makefile: Likewise.
6232
28368601
RM
62332011-06-09 Roland McGrath <roland@hack.frob.com>
6234
6235 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6236 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6237 (reloc-link): Likewise.
6238
11988f8f
UD
62392011-06-09 Ulrich Drepper <drepper@gmail.com>
6240
6241 * elf/Makefile: Add rules to build pldd.
6242 * elf/pldd.c: New file.
6243 * elf/pldd-xx.c: New file.
6244
e80fab37
UD
62452011-06-07 Ulrich Drepper <drepper@gmail.com>
6246
6247 * version.h: Update for 2.15 development version.
6248
9b849836
DM
62492011-06-07 David S. Miller <davem@davemloft.net>
6250
6251 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6252 ifuncs.
6253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6254 elf_machine_lazy_rel): Likewise.
6255 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6257 elf_machine_lazy_rel): Likewise.
6258 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6259 dl_hwcap via passed in argument.
6260 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6261 Likewise.
6262
5a31b283
AK
62632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6264
6265 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6266
069e52f8
RM
62672011-06-06 Roland McGrath <roland@hack.frob.com>
6268
6269 [BZ #12849]
6270 * manual/fdl-1.1.texi: New file, verbatim from:
6271 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6272 * manual/lgpl-2.1.texi: New file, verbatim from:
6273 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6274 * manual/Makefile (licenses): New variable, list those new file names.
6275 (texis): Use it.
6276 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6277
6278 * manual/fdl.texi: File removed.
6279 * manual/lesser.texi: File removed.
6280 * manual/libc.texinfo (Copying, Documentation License):
6281 Use new @include file names, put @appendix directive before @include.
6282
f16846a5
JJ
62832011-06-04 Jakub Jelinek <jakub@redhat.com>
6284
6285 [BZ #12841]
6286 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6287 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6288 (mq_open): Add __NTH.
6289
3d29045b
L
62902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6291
6292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6293 Assume Intel Core i3/i5/i7 processor if AVX is available.
6294
8c297311
UD
62952011-05-31 Ulrich Drepper <drepper@gmail.com>
6296
6297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6298 typo.
6299
c8fc0c91
UD
63002011-05-31 Andreas Schwab <schwab@redhat.com>
6301
6302 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6303 memory. Use alloca_account. Fix memory leak when retrying.
6304
5b27a807
UD
63052011-05-31 Ulrich Drepper <drepper@gmail.com>
6306
356f8bc6
UD
6307 * version.h (RELEASE): Bump for 2.14 release.
6308 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6309
5b27a807
UD
6310 * config.make.in (RANLIB): Remove entry.
6311
01f16ab0
UD
63122011-05-30 Ulrich Drepper <drepper@gmail.com>
6313
41fce8bd
UD
6314 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6315 (libc.pot): Work around missing support for .ksh extension in xgettext.
6316
4769ae77
UD
6317 [BZ #12684]
6318 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6319 if both request failed.
6320 (send_dg): In case of server errors clear resplen or *resplen2.
6321
6b1e7d19
UD
6322 [BZ #12454]
6323 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6324 when there are multiple maps.
6325 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6326 (_dl_fini): Remove test here.
6327
01f16ab0
UD
6328 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6329
b1ebd700
UD
63302011-05-29 Ulrich Drepper <drepper@gmail.com>
6331
7ae22829
UD
6332 [BZ #12350]
6333 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6334 bit from old_res_options.
6335 (gaih_inet): Likewise.
6336
553149f6 6337 [BZ #11099]
18a84741 6338 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6339 as signed.
6340
652ffab1
UD
6341 * resolv/res_init.c (res_setoptions): Make the code more compact.
6342
16985fd0
UD
6343 [BZ #11558]
6344 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6345 set RES_USEVC.
6346
0464f746
UD
6347 [BZ #11634]
6348 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6349
7d17596c
UD
6350 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6351
cf6bbbd7
UD
6352 [BZ #11781]
6353 * malloc/malloc.h: Declare malloc hook variables as volatile.
6354
13f1ab36
UD
6355 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6356 in last patch.
6357
b1ebd700
UD
6358 [BZ #11799]
6359 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6360 raise in the comment.
80e2212d
UD
6361 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6362 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6363 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6364
ce67228d
UD
63652011-05-28 Ulrich Drepper <drepper@gmail.com>
6366
8887a920
UD
6367 [BZ #12811]
6368 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6369 grow the buffers more if it already has to be sufficient.
6370 (build_wcs_upper_buffer): Likewise.
6371 * posix/regexec.c (check_matching): Likewise.
6372 (clean_state_log_if_needed): Likewise.
6373 (extend_buffers): Don't enlarge buffers beyond size of the input
6374 buffer.
6375 Patches mostly by Emil Wojak <emil@wojak.eu>.
6376 * posix/bug-regex32.c: New file.
6377 * posix/Makefile (tests): Add bug-regex32.
6378
4f031072
UD
6379 * locale/findlocale.c (_nl_find_locale): Return right away if
6380 _nl_explode_name failed.
6381 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6382
d0478f0c
UD
6383 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6384
de81b246
UD
6385 * debug/xtrace.sh: Unify messages.
6386 * malloc/memusage.sh: Likewise.
6387
c738465a
UD
6388 [BZ #12813]
6389 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6390 time symbol from vDSO. Substitute with vsyscall if not available.
6391 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6392 __vdso_time.
6393
f1f929d7
UD
6394 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6395 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6396 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6397 Add sendmmsg and internal_sendmmsg.
6398 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6399 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6400 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6401
ce67228d
UD
6402 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6403 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6404 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6405
e57420c6
UD
64062011-05-27 Ulrich Drepper <drepper@gmail.com>
6407
a8509ca5
UD
6408 [BZ #12813]
6409 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6410 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6411 available.
6412 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6413 __vdso_getcpu.
6414
e57420c6
UD
6415 [BZ #12814]
6416 * iconvdata/Makefile (tests): Add bug-iconv9.
6417 * iconvdata/bug-iconv9.c: New file.
6418
4d07db15
AS
64192011-05-27 Andreas Schwab <schwab@redhat.com>
6420
6421 [BZ #12814]
6422 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6423
ea486f69
JJ
64242011-05-25 Jakub Jelinek <jakub@redhat.com>
6425
6426 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6427 (struct user_regs_struct): Change intcs field back to cs.
6428
6f038433
UD
64292011-05-25 Ulrich Drepper <drepper@gmail.com>
6430
6431 * po/ja.po: Update from translation team.
6432
67f86a25
UD
64332011-05-23 Ulrich Drepper <drepper@gmail.com>
6434
6435 [BZ #12795]
6436 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6437 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6438
def7fbd6
AS
64392011-05-20 Andreas Schwab <schwab@redhat.com>
6440
6441 * stdlib/longlong.h: Update from GCC.
6442
f50ef8f1
AS
64432011-05-23 Andreas Schwab <schwab@redhat.com>
6444
6445 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6446 parameter name.
6447 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6448 Add parameter name.
6449 (__sysconf): Pass it down.
6450
de7ce8f1
UD
64512011-05-22 Ulrich Drepper <drepper@gmail.com>
6452
f2962a71
UD
6453 [BZ #12671]
6454 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6455 some situations.
6456 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6457 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6458 add in in __libc_use_alloca calls. Adjust callers.
6459 (glob): Use malloc in some situations.
6460
de7ce8f1
UD
6461 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6462 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6463 pltexit.
6464
aec84f53
UD
64652011-05-21 Ulrich Drepper <drepper@gmail.com>
6466
05bb4a68
UD
6467 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6468 and CLOCK_BOOTTIME_ALARM.
6469
7ea72f99
UD
6470 [BZ #12782]
6471 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6472 is returned.
6473
7e4afad5
UD
6474 * string/_strerror.c (__strerror_r): Print negative errors as signed
6475 numbers.
6476
8e211fec
UD
6477 [BZ #12777]
6478 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6479 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6480 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6481
f7d82dc9
UD
6482 * configure.in: Fix typo in redirection and correct removal of test
6483 files in two cases.
6484
cc9e536d
UD
6485 [BZ #12788]
6486 * locale/setlocale.c (new_composite_name): Fix test to check for
6487 identical name of all categories.
6488
aec84f53
UD
6489 [BZ #12792]
6490 * libio/filedoalloc.c (local_isatty): New function.
6491 (_IO_file_doallocate): Use local_isatty.
6492 * stdio-common/perror.c (perror): In case a new stream is used
6493 forward the stream error.
6494 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6495 error flag.
6496
78e64fdc
RT
64972011-05-20 Ulrich Drepper <drepper@gmail.com>
6498
34a9094f
UD
6499 [BZ #11869]
6500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6501 alloca.
6502 * include/alloca.h (extend_alloca_account): Define.
6503
78e64fdc
RT
6504 [BZ #11857]
6505 * posix/regex.h: Fix comments with documentation of user-accessible
6506 fields after compilation and describe correct free'ing of pattern
6507 after re_compile_pattern.
6508 Patch by Reuben Thomas <rrt@sc3d.org>.
6509
457bddfc
RA
65102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6511
6512 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6513 and -mno-altivec to prevent the compiler from using Altivec and/or
6514 VSX instructions when the corresponding registers are not available.
6515
a4527b51
AS
65162011-05-19 Andreas Schwab <schwab@redhat.com>
6517
6518 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6519
ed690b2f
UD
65202011-05-19 Ulrich Drepper <drepper@gmail.com>
6521
6522 * libio/freopen.c (freopen): Use __dup2, not dup2.
6523 * libio/freopen64.c (freopen64): Likewise.
6524
8db73634
L
65252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6526
6527 [BZ #12775]
6528 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6529 * math/Makefile (tests): Add test-powl.
6530 (CFLAGS-test-powl.c): Define.
6531 * math/test-powl.c: New file.
6532
0a197a9d
L
65332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6536
ee30c380
UD
65372011-05-17 Ulrich Drepper <drepper@gmail.com>
6538
6539 [BZ #11837]
6540 * iconvdata/gb18030.c: Update to GB18020-2005.
6541
6ce75379
UD
65422011-05-16 Ulrich Drepper <drepper@gmail.com>
6543
a4b89fd8
AR
6544 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6545 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6546 Patch by Aharon Robbins <arnold@skeeve.com>.
6547
ea389b12
UD
6548 [BZ #11892]
6549 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6550 on the stack.
6551
68a3f91f
UD
6552 [BZ #11895]
6553 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6554 through underflows.
6555
15cc7dd1
UD
6556 [BZ #12766]
6557 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6558 point to strings before performing equality test for error_one_per_line
6559 mode.
6560
f3799213
UD
6561 [BZ #11697]
6562 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6563
d79a9c94
UD
6564 [BZ #11820]
6565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6566 (struct user_fpregs_struct): Avoid __uint*_t types.
6567
56e5eb46
UD
6568 [BZ #6420]
6569 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6570 symbol info. Use it instead of calling _dl_addr locally.
6571 (lock_and_info): New function.
6572 (tr_freehook): Call lock_and_info and pass symbol info as additional
6573 parameter to tr_where.
6574 (tr_mallochook): Likewise.
6575 (tr_reallochook): Likewise.
6576 (tr_memalignhook): Likewise.
6577
6ce75379
UD
6578 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6579 used and couldn't be at all thread-safe.
6580
f8a3b5bf
UD
65812011-05-15 Ulrich Drepper <drepper@gmail.com>
6582
94b7cc37
UD
6583 * libio/freopen.c (freopen): Don't close old file descriptor
6584 before the new one is opened. Instead dup the new file descriptor
6585 to the old one after the new stream is created.
6586 * libio/freopen64.c (freopen64): Likewise.
6587 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6588 * libio/fileops.c (_IO_new_file_close_it): Handle new
6589 _IO_FLAGS2_NOCLOSE flag.
6590 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6591 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6592 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6593 _IO_FLAGS2_NOCLOSE flag.
6594 * include/unistd.h: Add hidden_proto for dup3.
6595 Define __have_dup3.
6596 * io/dup3.c: Define hidden symbol.
6597 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6598
bd25564e
UD
6599 [BZ #7101]
6600 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6601 when an incomplete long option is used.
6602 * posix/tst-getopt_long1.c: New file.
6603 * posix/Makefile (tests): Add tst-getopt_long1.
6604
c84cfef4
UD
6605 [BZ #10138]
6606 * scripts/config.guess: Update from autoconf-2.68.
6607 * scripts/config.sub: Likewise.
6608
3b85df27
UD
6609 [BZ #10157]
6610 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6611 tests into ...
6612 (has_cpuclock): ...this. New function.
6613 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6614 macro here based on has_cpuclock code.
6615
15a856b1
UD
6616 [BZ #10149]
6617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6618 First byte (not low byte) is now always NUL.
6619 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6620
05f399e6
UD
6621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6622 Use non-cancelable interfaces.
6623
10a52685 6624 [BZ #9809]
94ecc67d
UD
6625 * locale/iso-639.def: Add entry for Sorani.
6626
f8a3b5bf
UD
6627 [BZ #11901]
6628 * include/stdlib.h: Move include protection to the right place.
6629 Define abort_msg_s. Declare __abort_msg with it.
6630 * stdlib/abort.c (__abort_msg): Adjust type.
6631 * assert/assert.c (__assert_fail_base): New function. Majority
6632 of code from __assert_fail. Allocate memory for __abort_msg with
6633 mmap.
6634 (__assert_fail): Now call __assert_fail_base.
6635 * assert/assert-perr.c: Remove bulk of implementation. Use
6636 __assert_fail_base.
6637 * include/assert.hL Declare __assert_fail_base.
6638 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6639 mmap.
6640 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6641
1af4e298
UD
66422011-05-14 Ulrich Drepper <drepper@gmail.com>
6643
f8a3b5bf 6644 [BZ #11952]
d26dfc60
MG
6645 [BZ #12453]
6646 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6647 until all modules are registered in the DTV.
6648 * elf/Makefile: Add rules to build and run tst-tls19.
6649 * elf/tst-tls19.c: New file.
6650 * elf/tst-tls19mod1.c: New file.
6651 * elf/tst-tls19mod2.c: New file.
6652 * elf/tst-tls19mod3.c: New file.
6653 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6654
2fc54d6f
UD
6655 [BZ #12083]
6656 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6657 correctly.
6658
98d76b46
UD
6659 [BZ #12601]
6660 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6661 two-byte sequence errors.
6662 * iconvdata/Makefile (tests): Add bug-iconv8.
6663 * iconvdata/bug-iconv8.c: New file.
6664
da3c19ef
UD
6665 [BZ #12626]
6666 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6667 buf2 definition.
6668
ca408c15
UD
6669 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6670
d6f67f7d
UD
6671 [BZ #12432]
6672 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6673 (dummy_getcfa): New function.
6674 (init): Get _Unwind_GetCFA address, use dummy if not found.
6675 (backtrace_helper): In recursion check, also check whether CFA changes.
6676 (__backtrace): Completely initialize arg.
6677
1af4e298 6678 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6679 storing incomplete byte sequence in state object. Avoid testing for
6680 guaranteed too small input if we know there is enough data available.
1af4e298 6681
da62f81b
AS
66822011-05-11 Andreas Schwab <schwab@redhat.com>
6683
6684 * Makeconfig (+link-pie): Indent.
6685 * Rules (binaries-pie): Define if $(have-fpie) and
6686 $(build-shared).
6687 (binaries-shared): Also filter out $(binaries-pie).
6688 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6689 * nscd/Makefile (others-pie): Add nscd.
6690 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6691 ($(objpfx)nscd): Remove command override.
6692 * login/Makefile (others-pie): Add pt_chown.
6693 ($(objpfx)pt_chown): Remove command override.
6694 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6695 remove command overrides.
6696
fcabc0f8
UD
66972011-05-13 Ulrich Drepper <drepper@gmail.com>
6698
20030ae6
UD
6699 * libio/tst_putwc.c: Fix error messages.
6700
fcabc0f8
UD
6701 [BZ #12724]
6702 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6703 currently writing and seek to current position when not.
6704 * libio/Makefile (tests): Add bug-fclose1.
6705 * libio/bug-fclose1.c: New file.
6706
320a5dc0
PB
67072011-05-12 Ulrich Drepper <drepper@gmail.com>
6708
6709 [BZ #12511]
6710 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6711 don't set DF_1_NODELETE here.
6712 (do_lookup_x): When entering new entry test for copy relocation
6713 and if necessary set DF_1_NODELETE flag.
6714 * elf/tst-unique4.cc: New file.
6715 * elf/tst-unique4.h: New file.
6716 * elf/tst-unique4lib.cc: New file.
6717 * elf/Makefile: Add rules to build and run tst-unique4.
6718 Patch by Piotr Bury <pbury@goahead.com>.
6719
22836f52
UD
67202011-05-11 Ulrich Drepper <drepper@gmail.com>
6721
f574184a
UD
6722 [BZ #12052]
6723 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6724
e1fb097f
UD
6725 [BZ #12625]
6726 * misc/mntent_r.c (addmntent): Flush the stream after the output
6727
22836f52
UD
6728 [BZ #12393]
6729 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6730 (is_trusted_path_normalize): Skip initial colon. Append slash
6731 to empty buffer. Duplicate is_trusted_path code but allow
6732 constructed patch to be prefix.
6733 (is_dst): Allow $ORIGIN followed by /.
6734 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6735 Correct testing of result of is_trusted_path_normalize
6736 (decompose_rpath): Fix warning.
6737
7b3b0b2a
UD
67382011-05-10 Ulrich Drepper <drepper@gmail.com>
6739
6740 [BZ #11257]
6741 * grp/initgroups.c (internal_getgrouplist): When we found the service
6742 list through the initgroups entry in nsswitch.conf do not always
6743 continue on a successful lookup. Don't always use the
eac80ce2 6744 __nss_group_database value if it is set.
7b3b0b2a
UD
6745 * nss/nsswitch.conf (initgroups): Change action for successful db
6746 lookup to continue for compatibility.
6747
2a81eaa5
UD
67482011-05-09 Ulrich Drepper <drepper@gmail.com>
6749
be97a69e
UD
6750 [BZ #11532]
6751 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6752 and CP774 modules.
6753 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6754 and CP774 modules.
6755 * iconvdata/tst-tables.sh: Likewise.
6756 * iconvdata/cp770.c: New file.
6757 * iconvdata/cp771.c: New file.
6758 * iconvdata/cp772.c: New file.
6759 * iconvdata/cp773.c: New file.
6760 * iconvdata/cp774.c: New file.
6761 * iconvdata/testdata/CP770: New file.
6762 * iconvdata/testdata/CP770..UTF8: New file.
6763 * iconvdata/testdata/CP771: New file.
6764 * iconvdata/testdata/CP771..UTF8: New file.
6765 * iconvdata/testdata/CP772: New file.
6766 * iconvdata/testdata/CP772..UTF8: New file.
6767 * iconvdata/testdata/CP773: New file.
6768 * iconvdata/testdata/CP773..UTF8: New file.
6769 * iconvdata/testdata/CP774: New file.
6770 * iconvdata/testdata/CP774..UTF8: New file.
6771
6772 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6773 END CHARMAP line.
6774 * iconvdata/gen-8bit-gap.sh: Likewise.
6775 * iconvdata/gen-8bit.sh: Likewise.
6776
c1e9e399
UD
6777 * locale/iso-639.def: Add ary entry.
6778
24c55fb3 6779 [BZ #11258]
96b4b1b0
UD
6780 * locale/C-translit.h.in: Add U20A1 transliteration.
6781
bdc2f971
KB
6782 [BZ #12178]
6783 * locale/iso-639.def: Add wae entry.
6784 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6785
2952b117
UD
6786 [BZ #12545]
6787 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6788 for n.
6789
2a81eaa5
UD
6790 [BZ #12711]
6791 * locale/C-translit.h.in: Add entry for U20B9.
6792 Patch by pravin.d.s@gmail.com.
6793
28377d1b
UD
67942011-05-08 Ulrich Drepper <drepper@gmail.com>
6795
7fb90fb8
UD
6796 [BZ #12713]
6797 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6798 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6799 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6800 in rtld. Use *stat64.
7fb90fb8 6801 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6802 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6803 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6804 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6805 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6806 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6807 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6808 __fstatat64 macros.
7fb90fb8
UD
6809 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6810 * dirent/rewinddir.c: Add libc_hidden_def.
6811 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6812 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6813
28377d1b
UD
6814 * include/dirent.h (__alloc_dir): Add flags parameter.
6815 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6816 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6817 __alloc_dir.
6818 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6819 from fdopendir if O_CLOEXEC is already set.
6820
66bdbaa4
AM
68212011-03-15 Alan Modra <amodra@gmail.com>
6822
6823 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6824 l_tls_firstbyte_offset non-zero. Save padding offset in
6825 l_tls_firstbyte_offset for later use.
6826 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6827 freeing static tls block.
6828
95721191
JN
68292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6830
6831 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6832 where #ifdef was intended. The intent is to prevent ARG_MAX from
6833 being defined by the kernel headers.
6834
f87dfb1f
UD
68352011-05-07 Ulrich Drepper <drepper@gmail.com>
6836
6837 [BZ #12734]
6838 * resolv/resolv.h: Define RES_NOTLDQUERY.
6839 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6840 no-tld-query and set RES_NOTLDQUERY.
6841 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6842 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6843 modern BIND to search name as TLD unless forbidden.
6844
47c3cd7a
UD
68452011-05-07 Petr Baudis <pasky@suse.cz>
6846 Ulrich Drepper <drepper@gmail.com>
6847
6848 [BZ #12393]
6849 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6850 (is_trusted_path): ...to here.
c1e9ea35 6851 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6852 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6853 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6854
8a35c912
PP
68552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6856
6857 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6858 __BEGIN/__END_DECLS.
6859
acd41f47
UD
68602011-05-06 Ulrich Drepper <drepper@gmail.com>
6861
6862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6863 NSS_STATUS_NOTFOUND if no record was found.
6864
597df647
AS
68652011-05-05 Andreas Schwab <schwab@redhat.com>
6866
6867 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6868 (headers-not-in-tirpc): Remove rpc/netdb.h
6869 * resolv/netdb.h: Revert last change.
6870
b9af1301
PP
68712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6872
6873 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6874 circular dependency between libgcc.a and libc.a.
6875
4e34d5f5
AS
68762011-05-05 Andreas Schwab <schwab@redhat.com>
6877
6878 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6879 * nis/Makefile: Don't install rpcsvc/*.
6880 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6881 instead of <rpc/types.h>.
6882 (MAXHOSTNAMELEN): Define.
6883
00ee369c
AS
68842011-05-03 Andreas Schwab <schwab@redhat.com>
6885
6886 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6887
0b592a30
MB
68882011-04-28 Maciej Babinski <mbabinski@google.com>
6889
6890 [BZ #12714]
6891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6892 gethostbyname4_r when IPv6 results are possible.
6893
6e04cbbe
UD
68942011-05-02 Ulrich Drepper <drepper@gmail.com>
6895
6896 [BZ #12723]
6897 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6898 _PC_PIPE_BUF handling.
6899
e4ecafe0
BH
69002011-04-30 Bruno Haible <bruno@clisp.org>
6901
6902 [BZ #12717]
6903 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6904 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6905 to 'int'.
6906 * inet/getnameinfo.c (getnameinfo): Likewise.
6907
125ee683
UD
69082011-04-29 Ulrich Drepper <drepper@gmail.com>
6909
6910 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6911 to groups setting in database lookup.
6912 * nss/nsswitch.conf: Add initgroups entry.
6913
b722481a
EB
69142011-04-22 Ulrich Drepper <drepper@gmail.com>
6915
6916 [BZ #12685]
6917 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6918 mode string.
6919 Patch by Eric Blake <eblake@redhat.com>.
6920
4df46dbd
L
69212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 * sunrpc/Makefile (need-export-routines): Add svc_run.
6924 (routines): Remove svc_run.
6925 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6926 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6927 * sunrpc/svc_run.c (svc_run): Likewise.
6928 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6929
e84142d2
UD
69302011-04-21 Ulrich Drepper <drepper@gmail.com>
6931
6932 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6933 problem in reallocation in last patch.
6934
877175d8
UD
69352011-04-20 Ulrich Drepper <drepper@gmail.com>
6936
6937 * sunrpc/Makefile: Move inclusion of Rules.
6938
ab8eed78
UD
69392011-04-19 Ulrich Drepper <drepper@gmail.com>
6940
6941 * nss/nss_files/files-initgroups.c: New file.
6942 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6943 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6944 _nss_files_initgroups_dyn.
6945
e3d8f584
RS
69462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6947
6948 * elf/elf.h (R_ARM_IRELATIVE): Define.
6949
af190f45
UD
69502011-04-19 Ulrich Drepper <drepper@gmail.com>
6951
6952 * po/ru.po: Update from translation team.
6953
53cf59ef
UD
69542011-04-17 Ulrich Drepper <drepper@gmail.com>
6955
6956 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6957 dependencies.
6958
4c559bcd
MF
69592011-02-06 Mike Frysinger <vapier@gentoo.org>
6960
6961 [BZ #12653]
6962 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6963 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6964 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6965 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6966 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6967
4420675c
AS
69682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6969
6970 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6971 differing bytes.
6972 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6973 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6975
75ea32ab
UD
69762011-04-17 Ulrich Drepper <drepper@gmail.com>
6977
6978 [BZ #12420]
6979 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6980 storing it.
6981 * stdlib/bug-getcontext.c: New file.
6982 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6983
27390476
AK
69842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6985
6986 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6987 instructions into .machine "z9-109".
6988 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6989 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6990
10442705
AK
69912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6992
6993 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6994 between environment variables and auxiliary vector.
6995
7b57bfe5
UD
69962011-04-16 Ulrich Drepper <drepper@gmail.com>
6997
6998 * Makefile: Add rules to build linkobj/libc.so.
6999 * include/libc-symbols.h: Define libc_hidden_nolink.
7000 * include/rpc/auth.h: Mark functions which are to be hidden.
7001 * include/rpc/auth_des.h: Likewise.
7002 * include/rpc/auth_unix.h: Likewise.
7003 * include/rpc/clnt.h: Likewise.
7004 * include/rpc/des_crypt.h: Likewise.
7005 * include/rpc/key_prot.h: Likewise.
7006 * include/rpc/pmap_clnt.h: Likewise.
7007 * include/rpc/pmap_prot.h: Likewise.
7008 * include/rpc/pmap_rmt.h: Likewise.
7009 * include/rpc/rpc_msg.h: Likewise.
7010 * include/rpc/svc.h: Likewise.
7011 * include/rpc/svc_auth.h: Likewise.
7012 * include/rpc/xdr.h: Likewise.
7013 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7014 * nss/Makefile: Likewise.
7015 * sunrpc/Makefile: Don't install headers. Build library with normal
7016 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7017 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7018 for the compat linking library. Remove use of INTDEF/INTUSE.
7019 * sunrpc/auth_none.c: Likewise.
7020 * sunrpc/auth_unix.c: Likewise.
7021 * sunrpc/authdes_prot.c: Likewise.
7022 * sunrpc/authuxprot.c: Likewise.
7023 * sunrpc/clnt_gen.c: Likewise.
7024 * sunrpc/clnt_perr.c: Likewise.
7025 * sunrpc/clnt_raw.c: Likewise.
7026 * sunrpc/clnt_simp.c: Likewise.
7027 * sunrpc/clnt_tcp.c: Likewise.
7028 * sunrpc/clnt_udp.c: Likewise.
7029 * sunrpc/clnt_unix.c: Likewise.
7030 * sunrpc/des_crypt.c: Likewise.
7031 * sunrpc/des_soft.c: Likewise.
7032 * sunrpc/get_myaddr.c: Likewise.
7033 * sunrpc/key_call.c: Likewise.
7034 * sunrpc/key_prot.c: Likewise.
7035 * sunrpc/netname.c: Likewise.
7036 * sunrpc/pm_getmaps.c: Likewise.
7037 * sunrpc/pm_getport.c: Likewise.
7038 * sunrpc/pmap_clnt.c: Likewise.
7039 * sunrpc/pmap_prot.c: Likewise.
7040 * sunrpc/pmap_prot2.c: Likewise.
7041 * sunrpc/pmap_rmt.c: Likewise.
7042 * sunrpc/publickey.c: Likewise.
7043 * sunrpc/rpc_cmsg.c: Likewise.
7044 * sunrpc/rpc_common.c: Likewise.
7045 * sunrpc/rpc_dtable.c: Likewise.
7046 * sunrpc/rpc_prot.c: Likewise.
7047 * sunrpc/rpc_thread.c: Likewise.
7048 * sunrpc/rtime.c: Likewise.
7049 * sunrpc/svc.c: Likewise.
7050 * sunrpc/svc_auth.c: Likewise.
7051 * sunrpc/svc_authux.c: Likewise.
7052 * sunrpc/svc_raw.c: Likewise.
7053 * sunrpc/svc_run.c: Likewise.
7054 * sunrpc/svc_simple.c: Likewise.
7055 * sunrpc/svc_tcp.c: Likewise.
7056 * sunrpc/svc_udp.c: Likewise.
7057 * sunrpc/svc_unix.c: Likewise.
7058 * sunrpc/svcauth_des.c: Likewise.
7059 * sunrpc/xcrypt.c: Likewise.
7060 * sunrpc/xdr.c: Likewise.
7061 * sunrpc/xdr_array.c: Likewise.
7062 * sunrpc/xdr_float.c: Likewise.
7063 * sunrpc/xdr_intXX_t.c: Likewise.
7064 * sunrpc/xdr_mem.c: Likewise.
7065 * sunrpc/xdr_rec.c: Likewise.
7066 * sunrpc/xdr_ref.c: Likewise.
7067 * sunrpc/xdr_sizeof.c: Likewise.
7068 * sunrpc/xdr_stdio.c: Likewise.
7069
e6c61494
UD
70702011-04-10 Ulrich Drepper <drepper@gmail.com>
7071
7072 [BZ #12650]
7073 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7074 * sysdeps/ia64/dl-tls.h: Likewise.
7075 * sysdeps/powerpc/dl-tls.h: Likewise.
7076 * sysdeps/s390/dl-tls.h: Likewise.
7077 * sysdeps/sh/dl-tls.h: Likewise.
7078 * sysdeps/sparc/dl-tls.h: Likewise.
7079 * sysdeps/x86_64/dl-tls.h: Likewise.
7080 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7081
34fe483e
AS
70822011-03-14 Andreas Schwab <schwab@redhat.com>
7083
7084 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7085 rpath element also skip the following colon.
7086 (expand_dynamic_string_token): Add is_path parameter and pass
7087 down to DL_DST_REQUIRED and _dl_dst_substitute.
7088 (decompose_rpath): Call expand_dynamic_string_token with
7089 non-zero is_path. Ignore empty rpaths.
7090 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7091 with zero is_path.
7092
f12a32e6
AS
70932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7094
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7096 Make cancelable.
7097
38a7d692
UD
70982011-04-09 Ulrich Drepper <drepper@gmail.com>
7099
7100 [BZ #12655]
7101 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7102 Patch by Filipe David Manana <fdmanana@apache.org>.
7103
e451d22b
AS
71042011-04-07 Andreas Schwab <schwab@redhat.com>
7105
7106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7107 Maintain aligned stack.
7108 (CHECK_RSP): Remove unused macro.
7109
dedc7c7b
UD
71102011-04-03 Ulrich Drepper <drepper@gmail.com>
7111
7112 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7113 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7114
94521213
UD
71152011-04-02 Ulrich Drepper <drepper@gmail.com>
7116
7117 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7118
8cb700c0 7119 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7120
0354e355
L
71212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7122
7123 [BZ #12518]
7124 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7125 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7126 * sysdeps/x86_64/memmove.c: New file.
7127 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7128 (memcpy): Renamed to ...
7129 (__new_memcpy): This.
7130 (memcpy): Provide GLIBC_2_14 memcpy.
7131 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7132 (memcpy): Provide GLIBC_2_2_5 memcpy.
7133
8593482f
UD
71342011-04-01 Ulrich Drepper <drepper@gmail.com>
7135
7136 [BZ #12631]
7137 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7138
81a5726b
AS
71392011-03-30 Andreas Schwab <schwab@redhat.com>
7140
7141 * misc/syncfs.c: New file.
7142 * misc/Makefile (routines): Add syncfs.
7143 * posix/unistd.h: Declare syncfs.
7144 * sysdeps/unix/syscalls.list: Add syncfs.
7145
00e5419f
AS
71462011-04-01 Andreas Schwab <schwab@redhat.com>
7147
7148 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7149 open_by_handle_at.
7150 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7151 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7155 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7157
748876bf
UD
71582011-04-01 Ulrich Drepper <drepper@gmail.com>
7159
658e451d
UD
7160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7164 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7167
748876bf
UD
7168 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7169 sync_file_range.c with -fexceptions.
7170 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7171 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7172 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7173 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7174 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7175 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7176 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7177 sync_file_range as cancellation point
7178 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7179 now a wrapper around __call_sync_file_range with cancellation handling.
7180 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7181 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7182 function name to __call_sync_file_range.
7183 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7184 Add call_sync_file_range.
748876bf 7185
6e63d5e1
AS
71862011-04-01 Andreas Schwab <schwab@redhat.com>
7187
7188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7189 bits/timex.h.
6e63d5e1 7190
46998f74
UD
71912011-04-01 Ulrich Drepper <drepper@gmail.com>
7192
4c1423ed
UD
7193 * iconv/iconv.h: Fix typo in comment.
7194 * io/fcntl.h: Likewise.
7195 * libio/stdio.h: Likewise.
7196 * posix/spawn.h: Likewise.
7197 * posix/unistd.h: Likewise.
7198 * stdlib/stdlib.h: Likewise.
7199 * time/time.h: Likewise.
7200 * wcsmbs/wchar.h: Likewise.
7201
158648c0
UD
7202 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7203 open_by_handle): Add.
7204 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7205 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7206 Augment a few comments.
7207 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7211 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7212 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7213 open_by_handle.
7214
46998f74
UD
7215 * io/fcntl.h (AT_EMPTY_PATH): Define.
7216
83fe108b
UD
72172011-03-30 Ulrich Drepper <drepper@gmail.com>
7218
7219 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7220 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7221 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7222 to...
7223 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7224 * Versions.def: Add GLIBC_2.14.
7225 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7226 Export.
83fe108b 7227
bb242059
UD
72282011-03-22 Ulrich Drepper <drepper@gmail.com>
7229
7230 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7231 round counter.
7232 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7233
c97a1282
L
72342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7235
7236 [BZ #12597]
7237 * string/test-strncmp.c (do_page_test): New function.
7238 (check2): Likewise.
7239 (test_main): Call check2.
7240 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7241
2a115601
UD
72422011-03-20 Ulrich Drepper <drepper@gmail.com>
7243
7244 [BZ #12587]
7245 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7246 Handle cache information in CPU leaf 4.
7247 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7248
8126d904
UD
72492011-03-18 Ulrich Drepper <drepper@gmail.com>
7250
042c49c6 7251 [BZ #12583]
8126d904
UD
7252 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7253 character representation.
7254 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7255
ccfe366e
RA
72562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7257
7258 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7259 END(__isnan) to END(__isnanf) to match function entry point/label
7260 EALIGN(__isnanf,...).
7261
c6e13027
JJ
72622011-03-10 Jakub Jelinek <jakub@redhat.com>
7263
7264 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7265
33f85a3f
UD
72662011-03-10 Ulrich Drepper <drepper@gmail.com>
7267
028478fa
UD
7268 [BZ #12510]
7269 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7270 copy from the symbol referenced in the relocation to initialize the
7271 used variable.
7272 Patch by Piotr Bury <pbury@goahead.com>.
7273 * elf/Makefile: Add rules to build and tst-unique3.
7274 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7275 * elf/tst-unique3.cc: New file.
7276 * elf/tst-unique3.h: New file.
7277 * elf/tst-unique3lib.cc: New file.
7278 * elf/tst-unique3lib2.cc: New file.
7279
33f85a3f
UD
7280 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7281
03592fc7
MF
72822011-03-10 Mike Frysinger <vapier@gentoo.org>
7283
7284 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7285 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7286 to _start.
03592fc7 7287
6a5ee102
UD
72882011-03-06 Ulrich Drepper <drepper@gmail.com>
7289
7290 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7291 to-be-loaded object along a path to loader is ld.so.
7292
7e4ba49c
HJ
72932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7294 Ulrich Drepper <drepper@gmail.com>
7295
7296 * sysdeps/x86_64/memset.S: After aligning destination, code
7297 branches to different locations depending on the value of
7298 misalignment, when multiarch is enabled. Fix this.
7299
73002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7301
7302 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7303 Set _x86_64_preferred_memory_instruction for AMD processsors.
7304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7305 Set bit_Prefer_SSE_for_memop for AMD processors.
7306
13a804de
UD
73072011-03-04 Ulrich Drepper <drepper@gmail.com>
7308
7309 * libio/fmemopen.c (fmemopen): Optimize a bit.
7310
9d25c392
AS
73112011-03-03 Andreas Schwab <schwab@redhat.com>
7312
7313 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7314
a5543c6a
RM
73152011-03-03 Roland McGrath <roland@redhat.com>
7316
7317 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7318
012d35f7
DM
73192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7320
7e4ba49c 7321 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7322 __bzero_ultra1 instead of __memset_ultra1.
7323
4bff6e01
AS
73242011-02-23 Andreas Schwab <schwab@redhat.com>
7325 Ulrich Drepper <drepper@gmail.com>
7326
7327 [BZ #12509]
7328 * include/link.h (struct link_map): Add l_orig_initfini.
7329 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7330 returning unsuccessfully.
7331 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7332 close of a file loaded at startup, restore the original l_initfini
7333 list.
7334 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7335 list, store the pointer.
7336 * elf/Makefile ($(objpfx)noload-mem): New rule.
7337 (noload-ENV): Define.
7338 (tests): Add $(objpfx)noload-mem.
7339 * elf/noload.c: Include <memcheck.h>.
7340 (main): Call mtrace. Close all opened handles.
7341
f2092faf
AS
73422011-02-17 Andreas Schwab <schwab@redhat.com>
7343
7344 [BZ #12454]
7345 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7346 dependencies are missing.
7347
6c8a2e88
ST
73482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7349
f2092faf 7350 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7351 Hurd needs munmap.
7352 * sysdeps/mach/hurd/ifreq.h: New file.
7353
84a42118
PB
73542011-01-27 Petr Baudis <pasky@suse.cz>
7355 Ulrich Drepper <drepper@gmail.com>
7356
071f805e 7357 [BZ 12445]#
84a42118
PB
7358 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7359 to extend_alloca().
7360 * stdio-common/bug23.c: New file.
7361 * stdio-common/Makefile (tests): Add bug23.
7362
e23fe25b
AS
73632010-09-28 Andreas Schwab <schwab@redhat.com>
7364 Ulrich Drepper <drepper@gmail.com>
7365
7366 [BZ #12489]
7367 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7368 before performing relro protection. At old place add assertion
7369 to make sure nothing changed.
7370
d3f02e10
NS
73712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7372 Glauber de Oliveira Costa <glommer@gmail.com>
7373
7374 * elf/elf.h: Add new ARM TLS relocs.
7375
d55fd7a5
RA
73762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7377
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7379 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7380 cast from r3.
7381 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7382 'tests' variable.
7383 * sysdeps/wordsize-64/tst-writev.c: New file.
7384
2206397e
RA
73852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7386
7387 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7388 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7389 insns in _dl_start to prevent a TOC reference before relocs are
7390 resolved.
7391
e9433893
UD
73922011-02-15 Ulrich Drepper <drepper@gmail.com>
7393
7394 [BZ #12469]
7395 * Makeconfig: Remove RANLIB definition.
7396 * Makerules: Don't use RANLIB.
7397 * aclocal.m4: Remove ranlib test.
7398 * configure.in: No need to check for ranlib.
7399 * elf/rtld-Rules: Don't use RANLIB.
7400
f75286c6
ST
74012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7402
8e31c82d
ST
7403 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7404 protection macro.
7405 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7406 inclusion protection macro.
7407
f75286c6
ST
7408 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7409 SIGRTMIN and SIGRTMAX and print information in that case only when
7410 SIGRTMIN is defined.
7411
c1d0e639
JJ
74122011-02-11 Jakub Jelinek <jakub@redhat.com>
7413
7414 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7415 arginfo fn returning -1.
7416
7417 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7418 and thousands string is zero terminated.
7419
edf9294e
AS
74202011-02-03 Andreas Schwab <schwab@redhat.com>
7421
7422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7423 sysdeps/unix/sysv/linux/bits/socket.h.
7424
2b7e92df
ST
74252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7426
edf9294e
AS
7427 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7428 (__CPU_COUNT): Remove old macros.
7429 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7430 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7431 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7432 (__sched_cpualloc, __sched_cpufree): Add declarations.
7433
a4c7ea7b
UD
74342011-02-05 Ulrich Drepper <drepper@gmail.com>
7435
7436 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7437 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7438 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7439 (readdhstai): Return value of addhstaiX call.
7440 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7441 (addgrbyX): Return value returned by cache_addgr.
7442 (readdgrbyname): Return value returned by addgrbyX.
7443 (readdgrbygid): Likewise.
7444 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7445 (addpwbyX): Return value returned by cache_addpw.
7446 (readdpwbyname): Return value returned by addhstbyX.
7447 (readdpwbyuid): Likewise.
7448 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7449 (addservbyX): Return value returned by cache_addserv.
7450 (readdservbyname): Return value returned by addservbyX:
7451 (readdservbyport): Likewise.
7452 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7453 (addhstbyX): Return value returned by cache_addhst.
7454 (readdhstbyname): Return value returned by addhstbyX.
7455 (readdhstbyaddr): Likewise.
7456 (readdhstbynamev6): Likewise.
7457 (readdhstbyaddrv6): Likewise.
7458 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7459 (readdinitgroups): Return value returned by addinitgroupsX.
7460 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7461 (prune_cache): Keep track of timeout value of re-added entries.
7462 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7463 * nscd/nscd.h: Adjust prototypes of readd* functions.
7464
a0bf67cc
RM
74652011-02-04 Roland McGrath <roland@redhat.com>
7466
7467 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7468 (nis_stats): Likewise.
7469 * nis/nis_modify.c (nis_modify): Likewise.
7470 * nis/nis_remove.c (nis_remove): Likewise.
7471 * nis/nis_add.c (nis_add): Likewise.
7472
7473 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7474
7475 * posix/fnmatch_loop.c: Add some consts.
7476
7477 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7478
435b95eb
L
74792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7480
7481 [BZ #12460]
7482 * config.make.in (config-cflags-novzeroupper): Define.
7483 * configure.in: Substitute libc_cv_cc_novzeroupper.
7484 * elf/Makefile (AVX-CFLAGS): Define.
7485 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7486 (CFLAGS-tst-auditmod4a.c): Likewise.
7487 (CFLAGS-tst-auditmod4b.c): Likewise.
7488 (CFLAGS-tst-auditmod6b.c): Likewise.
7489 (CFLAGS-tst-auditmod6c.c): Likewise.
7490 (CFLAGS-tst-auditmod7b.c): Likewise.
7491 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7492
8517b15e
UD
74932011-02-02 Ulrich Drepper <drepper@gmail.com>
7494
7495 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7496 function to the callback.
7497 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7498
10a656fe
AS
74992011-02-02 Andreas Schwab <schwab@redhat.com>
7500
7501 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7502 of errno.
7503
968dad0a
UD
75042011-01-19 Ulrich Drepper <drepper@gmail.com>
7505
9f94d2ea 7506 [BZ #11724]
968dad0a
UD
7507 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7508 of constructors.
7509 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7510 of destructors.
7511 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7512
7513 [BZ #11724]
7514 * elf/Makefile: Add rules to build and run new test.
7515 * elf/tst-initorder.c: New file.
7516 * elf/tst-initorder.exp: New file.
7517 * elf/tst-initordera1.c: New file.
7518 * elf/tst-initordera2.c: New file.
7519 * elf/tst-initordera3.c: New file.
7520 * elf/tst-initordera4.c: New file.
7521 * elf/tst-initorderb1.c: New file.
7522 * elf/tst-initorderb2.c: New file.
7523 * elf/tst-order-a1.c: New file.
7524 * elf/tst-order-a2.c: New file.
7525 * elf/tst-order-a3.c: New file.
7526 * elf/tst-order-a4.c: New file.
7527 * elf/tst-order-b1.c: New file.
7528 * elf/tst-order-b2.c: New file.
7529 * elf/tst-order-main.c: New file.
7530 New test case by George Gensure <werkt0@gmail.com>.
7531
86e92359
UD
75322010-10-01 Andreas Schwab <schwab@redhat.com>
7533
7534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7535 decoding ACE if AI_CANONIDN.
7536
5d5732b0
UD
75372011-01-18 Ulrich Drepper <drepper@gmail.com>
7538
7539 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7540
a77e8cbc
UD
75412011-01-17 Ulrich Drepper <drepper@gmail.com>
7542
6392473f
UD
7543 * version.h (RELEASE): Bump for 2.13 release.
7544 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7545
620a0529
UD
7546 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7547
18ba70a5
UD
7548 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7549 MADV_NOHUGEPAGE.
32465c3e
UD
7550 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7551 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7552 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7553 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7554 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7555 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7556
c0dafcf1
UD
7557 * posix/getconf.c: Update copyright year.
7558 * catgets/gencat.c: Likewise.
7559 * csu/version.c: Likewise.
7560 * debug/catchsegv.sh: Likewise.
7561 * debug/xtrace.sh: Likewise.
7562 * elf/ldconfig.c: Likewise.
7563 * elf/ldd.bash.in: Likewise.
7564 * elf/sprof.c (print_version): Likewise.
7565 * iconv/iconv_prog.c: Likewise.
7566 * iconv/iconvconfig.c: Likewise.
7567 * locale/programs/locale.c: Likewise.
7568 * locale/programs/localedef.c: Likewise.
7569 * malloc/memusage.sh: Likewise.
7570 * malloc/mtrace.pl: Likewise.
7571 * nscd/nscd.c (print_version): Likewise.
7572 * nss/getent.c: Likewise.
7573
a77e8cbc
UD
7574 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7575 PF_CAIF, and PF_ALG.
7576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7577
77e8bddf
AS
75782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7579
1f20b93a
AS
7580 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7581 (modules-names): Use them.
7582 (ifunc-test-modules, ifunc-pie-tests): Define.
7583 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7584 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7585 (test-extras): Likewise.
7586 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7587 $(compile-command.c).
7588 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7589 (all-built-dso): Define.
7590 (check-textrel.out, check-execstack.out): Depend on it.
7591
77e8bddf
AS
7592 * configure.in: Don't override --enable-multi-arch.
7593
bc425b33
UD
75942011-01-15 Ulrich Drepper <drepper@gmail.com>
7595
7596 [BZ #6812]
7597 * nscd/hstcache.c (tryagain): Define.
7598 (cache_addhst): Return tryagain not notfound for temporary errors.
7599 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7600 failed.
7601
794c3ad3
UD
76022011-01-14 Ulrich Drepper <drepper@gmail.com>
7603
70181fdd
UD
7604 [BZ #10563]
7605 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7606 to make the syscall.
7607 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7608
794c3ad3
UD
7609 [BZ #12378]
7610 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7611 and fall back to matching as normal character if the string ends before
7612 the matching ']' is found. This is what POSIX requires.
7613 * posix/testfnm.c: Adjust test result.
7614 * posix/globtest.sh: Adjust test result. Add new test.
7615 * posix/tst-fnmatch.input: Likewise.
7616 * posix/tst-fnmatch2.c: Add new test.
7617
68dc9497
AS
76182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7619
7620 * elf/Makefile (check-execstack): Revert last change. Depend on
7621 check-execstack.h.
7622 (check-execstack.h): New target.
7623 (generated): Add check-execstack.h.
7624 * elf/check-execstack.c: Include "check-execstack.h".
7625 (main): Revert last change.
7626 (handle_file): Return zero if GNU_STACK is absent and
7627 DEFAULT_STACK_PERMS doesn't include PF_X.
7628
451f001b
UD
76292011-01-13 Ulrich Drepper <drepper@gmail.com>
7630
cfa28e56
UD
7631 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7632 in child fails because the descriptor is already closed.
8cf8ce17
UD
7633 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7634 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7635 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7636
1086d70d
UD
7637 [BZ #12397]
7638 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7639 syscall.
7640
451f001b
UD
7641 [BZ #10484]
7642 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7643 temporary buffer used to handle multi lookups locally.
a85b5cb4 7644 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7645
08769175
UD
76462011-01-12 Ulrich Drepper <drepper@gmail.com>
7647
7648 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7649 loader is ld.so.
7650
5e49c52e
UD
76512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7652
7653 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7654 alignment for SSE2.
7655
60522a5f
UD
76562011-01-12 Ulrich Drepper <drepper@gmail.com>
7657
7658 [BZ #12394]
7659 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7660 characters. When rounding increased number of integer digits recompute
7661 number of groups.
7662 * stdio-common/tst-grouping.c: New file.
7663 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7664
f257bbd7
UD
76652011-01-09 Ulrich Drepper <drepper@gmail.com>
7666
7667 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7668 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7669
7670 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7671 void.
7672 * bits/select.h: Likewise.
7673
fa9c15cb
UD
76742011-01-08 Ulrich Drepper <drepper@gmail.com>
7675
7676 * po/ja.po: Update from translation team.
7677
16c2895f
DM
76782011-01-04 David S. Miller <davem@sunset.davemloft.net>
7679
7680 [BZ #11155]
7681 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7682 implementation just like for lxstat, fxstatat, et al.
7683
2543fef2
JM
76842010-12-27 Jim Meyering <meyering@redhat.com>
7685
7686 [BZ #12348]
7687 * posix/regexec.c (build_trtable): Return failure indication upon
7688 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7689
98727dbe
UD
76902010-12-25 Ulrich Drepper <drepper@gmail.com>
7691
5bd6dc5c
UD
7692 [BZ #12201]
7693 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7694 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7695 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7696 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7697
97983464
UD
7698 [BZ #12207]
7699 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7700
98727dbe
UD
7701 [BZ #12204]
7702 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7703 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7704
4a531bb0
L
77052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7706
7707 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7708 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7709 script has SORT_BY_INIT_PRIORITY.
7710 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7711 NO_CTORS_DTORS_SECTIONS is defined.
7712 * elf/soinit.c: Likewise.
7713 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7714 NO_CTORS_DTORS_SECTIONS is defined.
7715 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7716 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7717 * sysdeps/sh/init-first.c: Likewise.
7718 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7719
07eb4b71
UD
77202010-12-24 Ulrich Drepper <drepper@gmail.com>
7721
7722 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7723 always use the slow path.
7724
30950a5f
RA
77252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7726
7727 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7728 similar rule which adds the sysdep directories to the header search in
7729 order to pick up the correct platform stackinfo.h.
7730 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7731 perform test if it is, otherwise return successfully without testing.
7732 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7733 DEFAULT_STACK_PERMS define in stackinfo.h.
7734 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7735 defined in stackinfo.h.
7736 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7737 DEFAULT_STACK_PERMS defined in stackinfo.h.
7738 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7739 * sysdeps/ia64/stackinfo.h: Likewise.
7740 * sysdeps/s390/stackinfo.h: Likewise.
7741 * sysdeps/sh/stackinfo.h: Likewise.
7742 * sysdeps/sparc/stackinfo.h: Likewise.
7743 * sysdeps/x86_64/stackinfo.h: Likewise.
7744 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7745 PF_X for powerpc64. Retain PF_X for powerpc32.
7746
db753e2c
UD
77472010-12-19 Ulrich Drepper <drepper@gmail.com>
7748
14b697f7
UD
7749 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7750 accurately.
db753e2c
UD
7751 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7752 GETDENTS_64BIT_ALIGNED.
7753
28300719
UD
77542010-12-14 Ulrich Drepper <dreper@gmail.com>
7755
14b697f7 7756 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7757
4f197237
AS
77582010-12-10 Andreas Schwab <schwab@redhat.com>
7759
dbb0472f
AS
7760 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7761 _GNU_SOURCE.
7762
4f197237
AS
7763 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7764 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7765 Remove __restrict.
7766 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7767 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7768
fb88ac72
UD
77692010-12-09 Ulrich Drepper <drepper@gmail.com>
7770
7771 [BZ #11655]
7772 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7773 are initialized.
7774
42acbb92
JJ
77752010-12-09 Jakub Jelinek <jakub@redhat.com>
7776
7777 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7778
c038d98d
UD
77792010-12-03 Ulrich Drepper <drepper@gmail.com>
7780
7781 * po/it.po: Update from translation team.
7782
3a4a2499
L
77832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7784
7785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7786 unused codes.
7787
1e24cf6e
UD
77882010-11-30 Ulrich Drepper <drepper@gmail.com>
7789
7790 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7791
a7690819
AS
77922010-11-24 Andreas Schwab <schwab@redhat.com>
7793
7794 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7795 specially.
7796 (gaih_getanswer_slice): Likewise.
7797
3bf8d1b1
JJ
77982010-10-20 Jakub Jelinek <jakub@redhat.com>
7799
7800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7801
6db52fbb
PB
78022010-05-31 Petr Baudis <pasky@suse.cz>
7803
7804 [BZ #11149]
7805 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7806 silently even in the chroot mode.
7807
eaca7569
UD
78082010-11-22 Ulrich Drepper <drepper@gmail.com>
7809
7810 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7811 last patch a bit. Pretty printing
7812
3056dcdb
UD
78132010-05-31 Petr Baudis <pasky@suse.cz>
7814
7815 [BZ #10085]
7816 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7817 initialization of skip_initgroups_dyn.
7818
cf7c9078
UD
78192010-11-19 Ulrich Drepper <drepper@gmail.com>
7820
7821 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7822 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7823
a1fb5e3e
UD
78242010-11-16 Ulrich Drepper <drepper@gmail.com>
7825
7826 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7827
3540d66b
AS
78282010-11-11 Andreas Schwab <schwab@redhat.com>
7829
7830 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7831 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7832 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7833 ($(objpfx)tst-fnmatch-mem): New rule.
7834 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7835 * posix/tst-fnmatch.c (main): Call mtrace.
7836
13b69574
L
78372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7838
7839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7840 Support Intel processor model 6 and model 0x2c.
7841
da93d214
LM
78422010-11-10 Luis Machado <luisgpm@br.ibm.com>
7843
7844 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7845 signed comparison.
7846
8ca52c6e
L
78472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 [BZ #12205]
7850 * string/test-strncasecmp.c (check_result): New function.
7851 (do_one_test): Use it.
7852 (check1): New function.
7853 (test_main): Use it.
7854 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7855 Support strcasecmp and strncasecmp.
7856
69da074d
UD
78572010-11-08 Ulrich Drepper <drepper@gmail.com>
7858
7859 [BZ #12194]
7860 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7861 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7862
ff02d528
L
78632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7864
7865 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7866 IFUNC support.
7867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7868 memset-x86-64.
7869 * sysdeps/x86_64/multiarch/bzero.S: New file.
7870 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7871 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7872 * sysdeps/x86_64/multiarch/memset.S: New file.
7873 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7875 Set bit_Prefer_SSE_for_memop for Intel processors.
7876 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7877 Define.
7878 (index_Prefer_SSE_for_memop): Define.
7879 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7880
344d0b54
LM
78812010-11-04 Luis Machado <luisgpm@br.ibm.com>
7882
7883 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7884 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7885
c0dde15b
UD
78862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7887
7888 [BZ #12191]
7889 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7890 (__x86_64_raw_data_cache_size_half): Likewise.
7891 (__x86_64_raw_shared_cache_size): Likewise.
7892 (__x86_64_raw_shared_cache_size_half): Likewise.
7893
7894 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7895 (__x86_64_raw_data_cache_size_half): Likewise.
7896 (__x86_64_raw_shared_cache_size): Likewise.
7897 (__x86_64_raw_shared_cache_size_half): Likewise.
7898 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7899 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7900 and __x86_64_raw_shared_cache_size_half. Round
7901 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7902 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7903 to multiple of 256 bytes.
7904
0e516e0e
MS
79052010-11-03 Ulrich Drepper <drepper@gmail.com>
7906
7907 [BZ #12167]
7908 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7909 of inacessible symlinks. Verify result of symlink before returning it.
7910 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7911 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7912
0e012e87
ER
79132010-10-28 Erich Ritz <erichritz@gmail.com>
7914
7915 * math/math.h (isinf): Fix typo in comment.
7916
de0ff7bc
UD
79172010-11-01 Ulrich Drepper <drepper@gmail.com>
7918
7919 * po/da.po: Update from translation team.
7920
fa41c84d
UD
79212010-10-26 Ulrich Drepper <drepper@gmail.com>
7922
7923 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7924 is added to the list.
7925
f0967738
AK
79262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7927 Ulrich Drepper <drepper@gmail.com>
7928
7929 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7930 the global list here. Move code to...
7931 (_dl_add_to_namespace_list): ...here. New function.
7932 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7933 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7934 * elf/dl-load.c (lose): Don't remove the element from the list.
7935 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7936 (_dl_map_object): Likewise.
7937
79382010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7939
7940 [BZ #12159]
7941 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7942 into all bytes of SSE register.
7943 Patch by Richard Li <richardpku@gmail.com>.
7944
f0967738 79452010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
7946
7947 [BZ #12140]
7948 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7949 perturbing.
7950
d0b9e94f
MB
79512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7952
7953 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7954 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7955 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7956 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7958 submachine.
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7960
8e9f92e9
AS
79612010-10-22 Andreas Schwab <schwab@redhat.com>
7962
7963 * include/dlfcn.h (__RTLD_SECURE): Define.
7964 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7965 mode & __RTLD_SECURE instead.
7966 (open_path): Rename preloaded parameter to secure.
7967 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7968 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7969 * elf/dl-deps.c (openaux): Likewise.
7970 * elf/rtld.c (struct map_args): Remove is_preloaded.
7971 (map_doit): Don't use it.
7972 (dl_main): Likewise.
7973 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7974 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7975
bc96fbda
AS
79762010-09-09 Andreas Schwab <schwab@redhat.com>
7977
7978 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7979 (sysd-rules-targets): Remove duplicates.
7980 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7981 rtld-%.$o dependency.
7982
22cd1c9b
AS
79832010-10-18 Andreas Schwab <schwab@redhat.com>
7984
7985 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7986 _dl_map_object do it.
7987
18edac48
UD
79882010-10-19 Ulrich Drepper <drepper@gmail.com>
7989
7990 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7991 fast fma builtins, define the macros in the C99 standard.
7992 (FP_FAST_FMAF): Likewise.
7993 (FP_FAST_FMAL): Likewise.
7994 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7995
7996 * bits/mathdef.h: Update copyright year.
7997 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7998
d2050124
MM
79992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8000
8001 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8002 builtins, define the macros in the C99 standard.
8003 (FP_FAST_FMAF): Likewise.
8004 (FP_FAST_FMAL): Likewise.
8005 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8006 multiply/add.
8007 (FP_FAST_FMAF): Likewise.
8008
475facd1
JJ
80092010-10-15 Jakub Jelinek <jakub@redhat.com>
8010
8011 [BZ #3268]
8012 * math/libm-test.inc (fma_test): Some new testcases.
8013 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8014 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8015 y and infinite z. Do multiplication by C already in long double.
8016 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8018 y and infinite z. Do bitwise or of inexact bit into u.d.
8019 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8020 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8021 * sysdeps/i386/fpu/s_fma.S: Removed.
8022 * sysdeps/i386/fpu/s_fmal.S: Removed.
8023
7c08a05c
JJ
80242010-10-16 Jakub Jelinek <jakub@redhat.com>
8025
8026 [BZ #3268]
8027 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8029 computation is not scheduled after fetestexcept. Fix value
8030 of minimum denormal long double.
8031
f3f7372d
JJ
80322010-10-14 Jakub Jelinek <jakub@redhat.com>
8033
8034 [BZ #3268]
8035 * math/libm-test.inc (fma_test): Add some more tests.
8036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8037 correctly.
8038
14d43591
AS
80392010-10-15 Andreas Schwab <schwab@redhat.com>
8040
8041 * scripts/data/localplt-s390-linux-gnu.data: New file.
8042 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8043
5e908464
JJ
80442010-10-13 Jakub Jelinek <jakub@redhat.com>
8045
8046 [BZ #3268]
8047 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8048 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8049 instead of dbl-64.
8050 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8051 inlines.
8052 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8054 if one of x and y is very large and the other is subnormal.
8055 * sysdeps/s390/fpu/s_fmaf.c: New file.
8056 * sysdeps/s390/fpu/s_fma.c: New file.
8057 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8058 * sysdeps/powerpc/fpu/s_fma.S: New file.
8059 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8060 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8061 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8062
80632010-10-12 Jakub Jelinek <jakub@redhat.com>
8064
8065 [BZ #3268]
8066 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8067 fma tests.
8068 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8069 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8070 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8071 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8072 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8073 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8074 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8075
b833d51f
UD
80762010-10-12 Ulrich Drepper <drepper@redhat.com>
8077
8078 [BZ #12078]
8079 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8080 * posix/bug-regex31.input: Add test case.
8081
1751705d
UD
80822010-10-11 Ulrich Drepper <drepper@gmail.com>
8083
e9b9cbf5
UD
8084 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8085 * posix/bug-regex31.input: New file.
8086
8087 [BZ #12078]
8088 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8089 (parse_sub_exp): Fix last change, use postorder.
8090
ef06edbe
UD
8091 * posix/bug-regex31.c: New file.
8092 * posix/Makefile: Add rules to build and run bug-regex31.
8093
a129c80d
UD
8094 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8095
8096 [BZ #12078]
8097 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8098
b76b818e
UD
8099 [BZ #12108]
8100 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8101 to have entries in sys_siglist.
8102
1751705d
UD
8103 [BZ #12093]
8104 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8105 be NULL.
8106
9ff8d36f
JJ
81072010-10-07 Jakub Jelinek <jakub@redhat.com>
8108
8109 [BZ #3268]
8110 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8111 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8112 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8113 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8114 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8115 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8116 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8117 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8118 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8119 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8120 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8121 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8122 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8123 * math/ftestexcept.c (fetestexcept): Likewise.
8124 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8125 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8126 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8127 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8128 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8129 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8130 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8131
af325969
UD
81322010-10-11 Ulrich Drepper <drepper@gmail.com>
8133
c579b202 8134 [BZ #12107]
af325969
UD
8135 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8136 newline.
8137
67a67b95
UD
81382010-10-06 Ulrich Drepper <drepper@gmail.com>
8139
8140 * string/bug-strstr1.c: New file.
8141 * string/Makefile: Add rules to build and run bug-strstr1.
8142
5fb308bc
EB
81432010-10-05 Eric Blake <eblake@redhat.com>
8144
8145 [BZ #12092]
8146 * string/str-two-way.h (two_way_long_needle): Always clear memory
8147 when skipping input due to the shift table.
8148
45db99c7
UD
81492010-10-03 Ulrich Drepper <drepper@gmail.com>
8150
3b111893
UD
8151 [BZ #12005]
8152 * malloc/mcheck.c: Handle large requests.
8153
45db99c7
UD
8154 [BZ #12077]
8155 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8156 for strncmp and strncasecmp.
8157 * string/stratcliff.c: Add tests for strcmp and strncmp.
8158 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8159
cf7a1eb8
NI
81602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8161
8162 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8163 __set_fpscr.
8164
6484ba5e
AJ
81652010-09-30 Andreas Jaeger <aj@suse.de>
8166
8167 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8168 (CGROUP_SUPER_MAGIC): Define.
8169 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8170 Handle btrfs and cgroup file systems.
8171 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8172 Likewise.
8173
91c42559
LM
81742010-09-27 Luis Machado <luisgpm@br.ibm.com>
8175
8176 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8177 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8178
87a97932
AK
81792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8180
8181 [BZ #12067]
8182 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8183 trying to locate the ELF header.
8184
c21cc9bc
AS
81852010-09-27 Andreas Schwab <schwab@redhat.com>
8186
8187 [BZ #11611]
8188 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8189 Mask out sign-bit copies when constructing f_fsid.
8190
315970f6
PB
81912010-09-24 Petr Baudis <pasky@suse.cz>
8192
8193 * debug/stack_chk_fail_local.c: Add missing licence exception.
8194 * debug/warning-nop.c: Likewise.
8195
1ac7a2c7
JM
81962010-09-15 Joseph Myers <joseph@codesourcery.com>
8197
8198 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8199 implementing getdents64 using getdents syscall, set d_type if
8200 __ASSUME_GETDENTS32_D_TYPE.
8201
56801c50
AS
82022010-09-16 Andreas Schwab <schwab@redhat.com>
8203
8204 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8205 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8206
dda51327
UD
82072010-09-21 Ulrich Drepper <drepper@redhat.com>
8208
8209 [BZ #12037]
8210 * posix/unistd.h: Undo change of feature selection for ftruncate from
8211 2010-01-11.
8212
8ffcee4a
UD
82132010-09-20 Ulrich Drepper <drepper@redhat.com>
8214
a545ecd9 8215 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8216 detection.
8217
e24f0a8b
AS
82182010-09-20 Andreas Schwab <schwab@redhat.com>
8219
8220 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8221 fanotify_mark.
8222 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8223
7291c56f
AS
82242010-09-14 Andreas Schwab <schwab@redhat.com>
8225
8226 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8227 variables after CHECK_SP call.
8228 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8229
bc5fb037
AS
82302010-09-13 Andreas Schwab <schwab@redhat.com>
8231 Ulrich Drepper <drepper@redhat.com>
8232
8233 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8234 re-relocationg ld.so.
8235 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8236 _dl_init_paths call.
8237 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8238 here anymore.
8239
e66e7419
UD
82402010-09-14 Ulrich Drepper <drepper@redhat.com>
8241
8242 * resolv/res_init.c (__res_vinit): Count the default server we added.
8243
c044aa75
CLT
82442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8245 Ulrich Drepper <drepper@redhat.com>
8246
8247 [BZ #11968]
8248 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8249 (____longjmp_chk): Use %ebx for saving value across system call.
8250 Add unwind info.
8251
32cf4069
AS
82522010-09-06 Andreas Schwab <schwab@redhat.com>
8253
8254 * manual/Makefile: Don't mix pattern rules with normal rules.
8255
817328ee
AS
82562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8257
8258 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8259 operation.
8260 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8261 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8262 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8263 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8264 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8265 Likewise.
8266
29fddf61
UD
82672010-09-04 Ulrich Drepper <drepper@redhat.com>
8268
8269 [BZ #11979]
8270 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8271 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8272
0959ffc9
UD
82732010-09-02 Ulrich Drepper <drepper@redhat.com>
8274
8275 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8276 * sysdeps/x86_64/addmul_1.S: Likewise.
8277 * sysdeps/x86_64/lshift.S: Likewise.
8278 * sysdeps/x86_64/mul_1.S: Likewise.
8279 * sysdeps/x86_64/rshift.S: Likewise.
8280 * sysdeps/x86_64/sub_n.S: Likewise.
8281 * sysdeps/x86_64/submul_1.S: Likewise.
8282
ece29840
ST
82832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8284
0959ffc9
UD
8285 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8286 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8287 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8288 * bits/sched.h [__need_schedparam]
ece29840 8289 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8290 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8291 (__defined_schedparam): Define to 1.
ece29840
ST
8292 (__sched_param): New structure, identical to sched_param.
8293 (__need_schedparam): Undefine.
8294
e53a31fe
MF
82952010-08-31 Mike Frysinger <vapier@gentoo.org>
8296
fdc0c10d
MF
8297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8298 (epoll_create1): Declare.
8299
e53a31fe
MF
8300 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8301
a726d796
AS
83022010-08-31 Andreas Schwab <schwab@redhat.com>
8303
8304 [BZ #7066]
8305 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8306 shifting retval into place.
8307
2f3e3dc7
UD
83082010-09-01 Ulrich Drepper <drepper@redhat.com>
8309
f2933da9
UD
8310 * nis/rpcsvc/nis.h: Update copyright notice.
8311 * nis/rpcsvc/nis.x: Likewise.
8312 * nis/rpcsvc/nis_callback.h: Likewise.
8313 * nis/rpcsvc/nis_callback.x: Likewise.
8314 * nis/rpcsvc/nis_object.x: Likewise.
8315 * nis/rpcsvc/nis_tags.h: Likewise.
8316 * nis/rpcsvc/yp.h: Likewise.
8317 * nis/rpcsvc/yp.x: Likewise.
8318 * nis/rpcsvc/ypupd.h: Likewise.
8319 * nis/yp_xdr.c: Likewise.
8320 * nis/ypupdate_xdr.c: Likewise.
8321
2f3e3dc7
UD
8322 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8323 mainly the body of pmap_getport. Add parameters to specify timeouts.
8324 (pmap_getport): Use __libc_rpc_getport.
8325 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8326 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8327 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8328
f3dcc2f9
AS
83292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8330
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8332 fanotify_mark.
8333
6d34eb5b
RM
83342010-08-27 Roland McGrath <roland@redhat.com>
8335
8336 * sysdeps/i386/i686/multiarch/Makefile
8337 (CFLAGS-varshift.c): New variable.
8338
9ea3de11
UD
83392010-08-27 Ulrich Drepper <drepper@redhat.com>
8340
c96d23fc
UD
8341 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8342 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8343
9ea3de11
UD
8344 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8345
8346 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8347
623aac7f
L
83482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8349
8350 * sysdeps/x86_64/strlen.S: Unroll the loop.
8351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8352 strlen-sse2 strlen-sse2-bsf.
8353 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8354 __strlen_no_bsf if bit_Slow_BSF is set.
8355 (__strlen_sse42): Removed.
8356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8357 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8358
8b2b7715
RM
83592010-08-25 Roland McGrath <roland@redhat.com>
8360
8361 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8362 * sysdeps/x86_64/multiarch/varshift.c: New file.
8363 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8364 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8365 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8366 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8367
e73015f2
L
83682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8369
8370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8371 strlen-sse2 strlen-sse2-bsf.
8372 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8373 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8374 (__strlen_sse2): Removed.
8375 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8376 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8378 bit_Slow_BSF for Atom.
8379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8380 (index_Slow_BSF): Define.
8381 (HAS_SLOW_BSF): Define.
8382
df24a73e
UD
83832010-08-25 Ulrich Drepper <drepper@redhat.com>
8384
8385 [BZ #10851]
8386 * resolv/res_init.c (__res_vinit): When no server address at all
8387 is given default to loopback.
8388
f2ac4868
RM
83892010-08-24 Roland McGrath <roland@redhat.com>
8390
09055553
RM
8391 * configure.in: Remove config-name.h generation.
8392 * configure: Regenerated.
8393 * config-name.in: File removed.
8394 * scripts/config-uname.sh: New file.
8395 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8396 ($(objdir)config-name.h): New target.
8397
f2ac4868
RM
8398 * sunrpc/rpc_parse.h: Avoid nested comment.
8399
73f27d5e
RH
84002010-08-24 Richard Henderson <rth@redhat.com>
8401 Ulrich Drepper <drepper@redhat.com>
8402 H.J. Lu <hongjiu.lu@intel.com>
8403
8404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8406 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8407 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8408 _mm_alignr_epi8 with _mm_loadu_si128.
8409 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8410 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8411 (__m128i_shift_right): Removed.
8412 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8413 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8414 * sysdeps/x86_64/multiarch/varshift.h: New file.
8415 * sysdeps/x86_64/multiarch/varshift.S: New file.
8416
84b9230c
MF
84172010-08-21 Mike Frysinger <vapier@gentoo.org>
8418
8419 * configure.in: Move assembler checks to before sysdep dir checking.
8420
9bbd0ddc
PB
84212010-08-20 Petr Baudis <pasky@suse.cz>
8422
8423 * LICENSES: Sync the sunrpc license.
8424
9da4bb31
UD
84252010-08-19 Ulrich Drepper <drepper@redhat.com>
8426
a7ab6ec8
UD
8427 * sunrpc/auth_des.c: Update copyright notice once again.
8428 * sunrpc/auth_none.c: Likewise.
8429 * sunrpc/auth_unix.c: Likewise.
8430 * sunrpc/authdes_prot.c: Likewise.
8431 * sunrpc/authuxprot.c: Likewise.
8432 * sunrpc/bindrsvprt.c: Likewise.
8433 * sunrpc/clnt_gen.c: Likewise.
8434 * sunrpc/clnt_perr.c: Likewise.
8435 * sunrpc/clnt_raw.c: Likewise.
8436 * sunrpc/clnt_simp.c: Likewise.
8437 * sunrpc/clnt_tcp.c: Likewise.
8438 * sunrpc/clnt_udp.c: Likewise.
8439 * sunrpc/clnt_unix.c: Likewise.
8440 * sunrpc/des_crypt.c: Likewise.
8441 * sunrpc/des_soft.c: Likewise.
8442 * sunrpc/get_myaddr.c: Likewise.
8443 * sunrpc/getrpcport.c: Likewise.
8444 * sunrpc/key_call.c: Likewise.
8445 * sunrpc/key_prot.c: Likewise.
8446 * sunrpc/openchild.c: Likewise.
8447 * sunrpc/pm_getmaps.c: Likewise.
8448 * sunrpc/pm_getport.c: Likewise.
8449 * sunrpc/pmap_clnt.c: Likewise.
8450 * sunrpc/pmap_prot.c: Likewise.
8451 * sunrpc/pmap_prot2.c: Likewise.
8452 * sunrpc/pmap_rmt.c: Likewise.
8453 * sunrpc/rpc/auth.h: Likewise.
8454 * sunrpc/rpc/auth_unix.h: Likewise.
8455 * sunrpc/rpc/clnt.h: Likewise.
8456 * sunrpc/rpc/des_crypt.h: Likewise.
8457 * sunrpc/rpc/key_prot.h: Likewise.
8458 * sunrpc/rpc/netdb.h: Likewise.
8459 * sunrpc/rpc/pmap_clnt.h: Likewise.
8460 * sunrpc/rpc/pmap_prot.h: Likewise.
8461 * sunrpc/rpc/pmap_rmt.h: Likewise.
8462 * sunrpc/rpc/rpc.h: Likewise.
8463 * sunrpc/rpc/rpc_des.h: Likewise.
8464 * sunrpc/rpc/rpc_msg.h: Likewise.
8465 * sunrpc/rpc/svc.h: Likewise.
8466 * sunrpc/rpc/svc_auth.h: Likewise.
8467 * sunrpc/rpc/types.h: Likewise.
8468 * sunrpc/rpc/xdr.h: Likewise.
8469 * sunrpc/rpc_clntout.c: Likewise.
8470 * sunrpc/rpc_cmsg.c: Likewise.
8471 * sunrpc/rpc_common.c: Likewise.
8472 * sunrpc/rpc_cout.c: Likewise.
8473 * sunrpc/rpc_dtable.c: Likewise.
8474 * sunrpc/rpc_hout.c: Likewise.
8475 * sunrpc/rpc_main.c: Likewise.
8476 * sunrpc/rpc_parse.c: Likewise.
8477 * sunrpc/rpc_parse.h: Likewise.
8478 * sunrpc/rpc_prot.c: Likewise.
8479 * sunrpc/rpc_sample.c: Likewise.
8480 * sunrpc/rpc_scan.c: Likewise.
8481 * sunrpc/rpc_scan.h: Likewise.
8482 * sunrpc/rpc_svcout.c: Likewise.
8483 * sunrpc/rpc_tblout.c: Likewise.
8484 * sunrpc/rpc_util.c: Likewise.
8485 * sunrpc/rpc_util.h: Likewise.
8486 * sunrpc/rpcinfo.c: Likewise.
8487 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8488 * sunrpc/rpcsvc/key_prot.x: Likewise.
8489 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8490 * sunrpc/rpcsvc/mount.x: Likewise.
8491 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8492 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8493 * sunrpc/rpcsvc/rex.x: Likewise.
8494 * sunrpc/rpcsvc/rstat.x: Likewise.
8495 * sunrpc/rpcsvc/rusers.x: Likewise.
8496 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8497 * sunrpc/rpcsvc/spray.x: Likewise.
8498 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8499 * sunrpc/rtime.c: Likewise.
8500 * sunrpc/svc.c: Likewise.
8501 * sunrpc/svc_auth.c: Likewise.
8502 * sunrpc/svc_authux.c: Likewise.
8503 * sunrpc/svc_raw.c: Likewise.
8504 * sunrpc/svc_run.c: Likewise.
8505 * sunrpc/svc_simple.c: Likewise.
8506 * sunrpc/svc_tcp.c: Likewise.
8507 * sunrpc/svc_udp.c: Likewise.
8508 * sunrpc/svc_unix.c: Likewise.
8509 * sunrpc/svcauth_des.c: Likewise.
8510 * sunrpc/xcrypt.c: Likewise.
8511 * sunrpc/xdr.c: Likewise.
8512 * sunrpc/xdr_array.c: Likewise.
8513 * sunrpc/xdr_float.c: Likewise.
8514 * sunrpc/xdr_mem.c: Likewise.
8515 * sunrpc/xdr_rec.c: Likewise.
8516 * sunrpc/xdr_ref.c: Likewise.
8517 * sunrpc/xdr_sizeof.c: Likewise.
8518 * sunrpc/xdr_stdio.c: Likewise.
8519
9da4bb31
UD
8520 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8521 handling.
8522
bdaa77bc
AS
85232010-08-19 Andreas Schwab <schwab@redhat.com>
8524
8525 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8526
fe2f79db
LM
85272010-08-19 Luis Machado <luisgpm@br.ibm.com>
8528
8529 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8530 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8531 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8532 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8533 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8534 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8535 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8536 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8537 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8538 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8539 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8540 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8541 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8542 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8543
b9b42ee0
AB
85442010-07-26 Anton Blanchard <anton@samba.org>
8545
8546 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8547 * malloc/arena.c (heap_trim): Likewise.
8548
1c06ba31
UD
85492010-08-16 Ulrich Drepper <drepper@redhat.com>
8550
8551 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8552 here. Not...
8553 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8554 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8555
f8392f40
L
85562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8557
8558 * sysdeps/i386/elf/Makefile: New file.
8559
3162f12e
AS
85602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8561
8562 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8563 from fanotify_init.
8564 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8565 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8566
28c90b2c
UD
85672010-08-15 Ulrich Drepper <drepper@redhat.com>
8568
8569 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8570 of strncasecmp_l.
1feccb6c 8571 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8572
ca6bb004
UD
85732010-08-14 Ulrich Drepper <drepper@redhat.com>
8574
e9f82e0d
UD
8575 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8576 strncase_l-nonascii.
8577 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8578 Add strncase_l-ssse3.
8579 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8580 * sysdeps/x86_64/strcmp.S: Likewise.
8581 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8582 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8583 * sysdeps/x86_64/strncase.S: New file.
8584 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8585 * sysdeps/x86_64/strncase_l.S: New file.
8586 * string/Makefile (strop-tests): Add strncasecmp.
8587 * string/test-strncasecmp.c: New file.
8588
8589 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8590 warning.
8591
ca6bb004
UD
8592 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8593 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8594
052fa7b3
AS
85952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8596
8597 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8598
962dba78
UD
85992010-08-12 Ulrich Drepper <drepper@redhat.com>
8600
8601 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8602 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8604
bebff237
AM
86052010-05-01 Alan Modra <amodra@gmail.com>
8606
8607 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8608 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8609 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8610 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8611 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8612 tidying. Don't tail-call __sigjmp_save for static lib.
8613 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8614 save location.
8615 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8616 (CALL_MCOUNT): Add eh info, and nop after bl.
8617 (TAIL_CALL_SYSCALL_ERROR): New macro.
8618 (PSEUDO_RET): Use it.
8619 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8620 Correct save location of integer regs and cr.
8621 (_dl_profile_resolve): Correct cr save location. Delete nops
8622 after bl when SHARED. Reduce cfi size a little by better
8623 placement of cfi directives.
8624 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8625 make a stack frame. Instead use parm save area as a temp.
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8627 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8629 Don't make a stack frame for parent, use parm save area.
8630 Increase child stack frame to 112 bytes. Don't save unused reg,
8631 and adjust reg usage. Set up cfi on error recovery and
8632 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8634 (__makecontext): Add dummy nop after jump to exit.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8636 Use correct parm save area and cr save, reduce stack frame.
8637 Correct cfi for possible PSEUDO_RET frame setup.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8639 Branch to local label emitted by PSEUDO_RET rather than
8640 __syscall_error.
8641
02637374
AS
86422010-08-12 Andreas Schwab <schwab@redhat.com>
8643
8644 [BZ #11904]
8645 * locale/programs/locale.c (print_assignment): New function.
8646 (show_locale_vars): Use it.
8647
c3e2f19b
UD
86482010-08-11 Ulrich Drepper <drepper@redhat.com>
8649
3cdaa6ad
UD
8650 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8651 field.
8652 (struct statfs64): Likewise.
8653 (_STATFS_F_FLAGS): Define.
8654 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8655 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8656 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8657 (ST_VALID): Define locally.
8658 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8659 __statvfs_getflags, use the provided value.
8660 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8661 __ASSUME_STATFS_F_FLAGS.
8662
754f7da3
UD
8663 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8664
10b3bedc
UD
8665 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8666 Add sys/fanotify.h.
8667 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8668 fanotify_mask for GLIBC_2.13.
8669 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8670 fanotify_init and fanotify_mark.
8671 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8672 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8673
c08fb0d7
UD
8674 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8675 Add prlimit.
8676 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8677 prlimit64 for GLIBC_2.13.
8678 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8679 prlimit64.
8680 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8681 syscall.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8683 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8684 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8685 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8686 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8687 add prlimit alias.
8688 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8689
15bac72b
UD
8690 [BZ #11903]
8691 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8692 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8693
c3e2f19b
UD
8694 * nss/Makefile: Add rules to build and run tst-nss-test1.
8695 * shlib-versions: Add entry for libnss_test1.
8696 * nss/nss_test1.c: New file.
8697 * nss/tst-nss-test1.c: New file.
8698
8699 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8700 (__nss_configure_lookup): Set appropriate entry in
8701 __nss_configure_lookup to true.
8702 * nss/nsswitch.h: Define enum with indeces of databases in
8703 databases and __nss_database_custom arrays. Declare
8704 __nss_database_custom.
8705 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8706 to avoid using nscd when custom rules are installed.
8707 * nss/getXXbyYY_r.c: Likewise.
8708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8709
8710 * nss/nss_files/files-parse.c: Whitespace fixes.
8711
f15ce4d8
UD
87122010-08-09 Ulrich Drepper <drepper@redhat.com>
8713
8714 [BZ #11883]
8715 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8716 * posix/fnmatch_loop.c: Likewise.
8717
d22e4cc9
AK
87182010-07-17 Andi Kleen <ak@linux.intel.com>
8719
8720 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8721 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8722 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8723 * Versions.def [GLIBC_2.13]: Add.
8724
805bc17d
UD
87252010-08-06 Ulrich Drepper <drepper@redhat.com>
8726
8727 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8728 Also fail if tpwd after pwuid call is NULL.
8729
5a42321d
ST
87302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8731
8732 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8733 when converting to ms.
8734
fd3ebeda
ST
87352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8736
8737 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8738 EOPNOTSUPP errors with ENOTTY.
8739 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8740 EOPNOTSUPP errors with ENOTTY.
8741
73507d3a
UD
87422010-07-31 Ulrich Drepper <drepper@redhat.com>
8743
8744 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8745 Add strcasecmp_l-ssse3.
8746 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8747 strcasecmp.
8748 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8749 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8750 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8751
fe36dd02
UD
87522010-07-30 Ulrich Drepper <drepper@redhat.com>
8753
66f6765a
UD
8754 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8755
42e08a54
UD
8756 * string/Makefile (strop-tests): Add strcasecmp.
8757 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8758 strcasecmp_l-nonascii.
8759 (gen-as-const-headers): Add locale-defines.sym.
8760 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8761 * sysdeps/x86_64/strcasecmp.S: New file.
8762 * sysdeps/x86_64/strcasecmp_l.S: New file.
8763 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8764 * sysdeps/x86_64/locale-defines.sym: New file.
8765 * string/test-strcasecmp.c: New file.
8766
fe36dd02
UD
8767 * string/test-strcasestr.c: Test both ends of the range of characters.
8768 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8769
48cbc0d6
RM
87702010-07-29 Roland McGrath <roland@redhat.com>
8771
76e6d6bc 8772 [BZ #11856]
48cbc0d6
RM
8773 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8774
880113d9
UD
87752010-07-27 Ulrich Drepper <drepper@redhat.com>
8776
8777 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8778 for ld.so.
8779
deb9cabb
AS
87802010-07-27 Andreas Schwab <schwab@redhat.com>
8781
8782 * manual/memory.texi (Malloc Tunable Parameters): Document
8783 M_PERTURB.
8784
1c7570ff
RM
87852010-07-26 Roland McGrath <roland@redhat.com>
8786
8787 [BZ #11840]
8788 * configure.in (-fgnu89-inline check): Set and substitute
8789 gnu89_inline, not libc_cv_gnu89_inline.
8790 * configure: Regenerated.
8791 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8792
24fb0f88
UD
87932010-07-26 Ulrich Drepper <drepper@redhat.com>
8794
8795 * string/test-strnlen.c: New file.
8796 * string/Makefile (strop-tests): Add strnlen.
8797 * string/tester.c (test_strnlen): Add a few more test cases.
8798 * string/tst-strlen.c: Better error reporting.
8799
8800 * sysdeps/x86_64/strnlen.S: New file.
8801
8e96b93a
UD
88022010-07-24 Ulrich Drepper <drepper@redhat.com>
8803
8804 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8805 lower-latency instructions.
8806
dbc676d4
UD
88072010-07-23 Ulrich Drepper <drepper@redhat.com>
8808
8809 * string/test-strcasestr.c: New file.
8810 * string/test-strstr.c: New file.
8811 * string/Makefile (strop-tests): Add strstr and strcasestr.
8812 * string/str-two-way.h: Don't undefine MAX.
8813 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8814
f6a31e0e
AS
88152010-07-21 Andreas Schwab <schwab@redhat.com>
8816
8817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8818 strcasestr-nonascii.
8819 (CFLAGS-strcasestr-nonascii.c): Define.
8820 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8821 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8822 Remove unused attribute.
8823
5dbc3b6c
RM
88242010-07-20 Roland McGrath <roland@redhat.com>
8825
8826 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8827 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8828 ld.so.cache was broken. With it, there is no way to disable dsocaps
8829 like LD_HWCAP_MASK can disable hwcaps.
8830
23d101d8
EPM
88312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8832
8833 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8834
cc9f2e47
UD
88352010-07-16 Ulrich Drepper <drepper@redhat.com>
8836
8837 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8838 call in strcasestr.
8839 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8840 __strcasestr_sse42_nonascii.
8841 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8842 strcasestr-nonascii.c.
8843 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8844
77c1b069
LM
88452010-06-15 Luis Machado <luisgpm@br.ibm.com>
8846
8847 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8848 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8849 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8850 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8851
440566c3
UD
88522010-07-09 Ulrich Drepper <drepper@redhat.com>
8853
8854 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8855 fcntl.
8856
5be9d05d
AS
88572010-07-06 Andreas Schwab <schwab@redhat.com>
8858
c30b7ee2 8859 [BZ #11577]
5be9d05d
AS
8860 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8861 dl_signal_cerror.
8862
8a492a67
UD
88632010-07-06 Ulrich Drepper <drepper@redhat.com>
8864
8865 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8866 _PC_PIPE_BUF using F_GETPIPE_SZ.
8867
713df3d5
RM
88682010-07-05 Roland McGrath <roland@redhat.com>
8869
8870 * manual/arith.texi (Rounding Functions): Fix rint description
8871 implicit in round description.
8872
702e8f14
UD
88732010-07-02 Ulrich Drepper <drepper@redhat.com>
8874
8875 * elf/Makefile: Fix linking for a few tests to make recent linker
8876 happy.
8877
52ed8be9
AS
88782010-06-30 Andreas Schwab <schwab@redhat.com>
8879
8880 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8881 $(common-objpfx)libc_nonshared.a.
8882
f47c9a11
LM
88832010-06-21 Luis Machado <luisgpm@br.ibm.com>
8884
8885 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8886 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8887 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8888 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8889 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8890 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8891 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8892 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8907 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8908 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8909 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8910 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8911 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8912 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8913 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8914 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8915 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8916 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8917 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8918 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8933
6fb8cbcb
L
89342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8935
8936 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8937 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8938 * string/memmove.c (memmove): Renamed to ...
8939 (MEMMOVE): ...this. Default to memmove.
8940 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8941 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8942 (END_CHK): Define.
8943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8944 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8945 mempcpy-ssse3-back memmove-ssse3-back.
8946 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8947 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8948 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8949 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8950 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8951 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8952 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8953 * sysdeps/x86_64/multiarch/memmove.c: New file.
8954 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8955 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8956 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8957 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8958 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8960 Define.
8961 (index_Fast_Copy_Backward): Define.
8962 (HAS_ARCH_FEATURE): Define.
8963 (HAS_FAST_REP_STRING): Define.
8964 (HAS_FAST_COPY_BACKWARD): Define.
8965
4e733bac 89662010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
8967
8968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8969 Restore proper fallback handling.
8970
63c4ed22
UD
89712010-06-19 Ulrich Drepper <drepper@redhat.com>
8972
ac2b484c
UD
8973 [BZ #11701]
8974 * posix/group_member.c (__group_member): Correct checking loop.
8975
63c4ed22
UD
8976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8977 OOM in getpwuid_r correctly. Return error number when the caller
8978 should return, otherwise -1.
8979 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8980 call returning > 0 value.
8981 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8982
765ade4b
AS
89832010-06-07 Andreas Schwab <schwab@redhat.com>
8984
8985 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8986 libc_nonshared.a from targets in modules-names.
8987
80da2e09
KS
89882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8989
8990 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8991 requires it.
8992
158db122
LM
89932010-06-10 Luis Machado <luisgpm@br.ibm.com>
8994
8995 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8996 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8998 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8999
caa78cf8
AS
90002010-06-02 Andreas Schwab <schwab@redhat.com>
9001
9002 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9003
b2ef2c01
UD
90042010-06-14 Ulrich Drepper <drepper@redhat.com>
9005
9006 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9007 and F_GETPIPE_SZ.
9008 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9013 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9014
fbd643b6
RM
90152010-06-14 Roland McGrath <roland@redhat.com>
9016
9017 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9018
f32f2869
JJ
90192010-06-07 Jakub Jelinek <jakub@redhat.com>
9020
9021 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9022 __REDIRECT followed by __THROW.
9023 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9024 * posix/getopt.h (getopt): Likewise.
9025
2a50c078
EPM
90262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9027
9028 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9029 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9030 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9031 in AT_FLAGS.
9032 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9033 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9034
eb5ad2eb
LM
90352010-05-28 Luis Machado <luisgpm@br.ibm.com>
9036
9037 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9038
3c88fe1e
L
90392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9040
9041 [BZ #11640]
9042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9043 Properly check family and model.
9044
d2f73151
TY
90452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9046
9047 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9048
ebd2e13d
LM
90492010-05-24 Luis Machado <luisgpm@br.ibm.com>
9050
9051 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9052
b32b8b45
UD
90532010-05-21 Ulrich Drepper <drepper@redhat.com>
9054
9055 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9056 symbol reference.
9057
9acbe24d
AS
90582010-05-19 Andreas Schwab <schwab@redhat.com>
9059
9060 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9061 symbol reference.
9062
f0ccf6ea
AS
90632010-05-21 Andreas Schwab <schwab@redhat.com>
9064
3d04ff3a
AS
9065 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9066 and internal_recvmmsg.
9067 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9068 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9069 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9070 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9071
f0ccf6ea
AS
9072 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9073 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9074 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9075
5b08ac57
AS
90762010-05-20 Andreas Schwab <schwab@redhat.com>
9077
9078 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9079
4828935d
LM
90802010-05-17 Luis Machado <luisgpm@br.ibm.com>
9081
9082 POWER7 optimizations.
9083 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9084 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9085
373d545e
UD
90862010-05-19 Ulrich Drepper <drepper@redhat.com>
9087
9088 * version.h: Update for 2.13 development version.
9089
21a2b1ae
AS
90902010-05-12 Andrew Stubbs <ams@codesourcery.com>
9091
9092 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9093 exceptions. Return 0.
9094
3f7dcb2b
RM
90952010-05-07 Roland McGrath <roland@redhat.com>
9096
9097 * elf/ldconfig.c (main): Add a const.
9098
5f24d53a 90992010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9100
a160f8d8
UD
9101 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9102 (args_options): Add no-idn option.
9103 (ahosts_keys_int): Add idn_flags to ai_flags.
9104 (parse_option): Handle 'i' option to clear idn_flags.
9105
5f24d53a
UD
9106 * malloc/malloc.c (_int_free): Possible race in the most recently
9107 added check. Only act on the data if no current modification
9108 happened.
265bb1ce
UD
9109
9110See ChangeLog.17 for earlier changes.
This page took 1.134331 seconds and 5 git commands to generate.