]> sourceware.org Git - glibc.git/blame - ChangeLog
cleanup my last commit: tabify, change date
[glibc.git] / ChangeLog
CommitLineData
21bb2d2e 12012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2
21bb2d2e 3 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4
21bb2d2e
AJ
5 [BZ #13656]
6 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7 possibly allocate from heap instead of stack.
8 * stdio-common/bug-vfprintf-nargs.c: New file.
9 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10
c6922934
AS
112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12
13 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14
bc957d53
MP
152012-03-03 Marek Polacek <polacek@redhat.com>
16
17 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18 * math/math_private.h: Likewise.
19 * stdlib/tst-strtod.c: Likewise.
20 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21 * sysdeps/x86_64/bits/atomic.h: Likewise.
22
6358490d
DM
232012-03-02 David S. Miller <davem@davemloft.net>
24
25 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33
01ae168d
RM
342012-03-02 Roland McGrath <roland@hack.frob.com>
35
d9a17c07
RM
36 [BZ #13792]
37 * manual/examples/README: New file, says the example source files
38 can be used under GPL>=2.
39 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40 line containing just "*/".
41 * manual/examples/add.c: Add copyright header (GPL>=2).
42 * manual/examples/argp-ex1.c: Likewise.
43 * manual/examples/argp-ex2.c: Likewise.
44 * manual/examples/argp-ex3.c: Likewise.
45 * manual/examples/argp-ex4.c: Likewise.
46 * manual/examples/atexit.c: Likewise.
47 * manual/examples/db.c: Likewise.
48 * manual/examples/dir.c: Likewise.
49 * manual/examples/dir2.c: Likewise.
50 * manual/examples/execinfo.c: Likewise.
51 * manual/examples/filecli.c: Likewise.
52 * manual/examples/filesrv.c: Likewise.
53 * manual/examples/fmtmsgexpl.c: Likewise.
54 * manual/examples/genpass.c: Likewise.
55 * manual/examples/inetcli.c: Likewise.
56 * manual/examples/inetsrv.c: Likewise.
57 * manual/examples/isockad.c: Likewise.
58 * manual/examples/longopt.c: Likewise.
59 * manual/examples/memopen.c: Likewise.
60 * manual/examples/memstrm.c: Likewise.
61 * manual/examples/mkfsock.c: Likewise.
62 * manual/examples/mkisock.c: Likewise.
63 * manual/examples/mygetpass.c: Likewise.
64 * manual/examples/pipe.c: Likewise.
65 * manual/examples/popen.c: Likewise.
66 * manual/examples/rprintf.c: Likewise.
67 * manual/examples/search.c: Likewise.
68 * manual/examples/select.c: Likewise.
69 * manual/examples/setjmp.c: Likewise.
70 * manual/examples/sigh1.c: Likewise.
71 * manual/examples/sigusr.c: Likewise.
72 * manual/examples/stpcpy.c: Likewise.
73 * manual/examples/strdupa.c: Likewise.
74 * manual/examples/strftim.c: Likewise.
75 * manual/examples/strncat.c: Likewise.
76 * manual/examples/subopt.c: Likewise.
77 * manual/examples/swapcontext.c: Likewise.
78 * manual/examples/termios.c: Likewise.
79 * manual/examples/testopt.c: Likewise.
80 * manual/examples/testpass.c: Likewise.
81 * manual/examples/timeval_subtract.c: Likewise.
82
01ae168d
RM
83 [BZ #13792]
84 * manual/time.texi (Elapsed Time): Move timeval_subtract example
85 function to ...
86 * manual/timeval_subtract.c.texi: ... here, new file.
87
49efa33d
DM
882012-03-02 David S. Miller <davem@davemloft.net>
89
90 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
91
28afd92d
JM
922012-03-02 Joseph Myers <joseph@codesourcery.com>
93
804360ed
JM
94 [BZ #3976]
95 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
96 (__sin): Save and restore rounding mode and use round-to-nearest
97 for all computations.
98 (__cos): Save and restore rounding mode and use round-to-nearest
99 for all computations.
100 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
101 <fenv.h>.
102 (tan): Save and restore rounding mode and use round-to-nearest for
103 all computations.
104 * math/libm-test.inc (cos_test_tonearest): New function.
105 (cos_test_towardzero): Likewise.
106 (cos_test_downward): Likewise.
107 (cos_test_upward): Likewise.
108 (sin_test_tonearest): Likewise.
109 (sin_test_towardzero): Likewise.
110 (sin_test_downward): Likewise.
111 (sin_test_upward): Likewise.
112 (tan_test_tonearest): Likewise.
113 (tan_test_towardzero): Likewise.
114 (tan_test_downward): Likewise.
115 (tan_test_upward): Likewise.
116 (main): Call the new functions.
117 * sysdeps/i386/fpu/libm-test-ulps: Update.
118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
119
a6d06d7b
JM
120 [BZ #10135]
121 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
122 small n, then large n, before computing and testing k+n.
123 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
125 Likewise.
126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
127 Likewise.
128 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
129 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
130 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
131 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
134 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
136 * math/libm-test.inc (scalbn_test): Add more tests.
137 (scalbln_test): Likewise.
138
07e12bb3
JM
139 * manual/filesys.texi (mode_t): Describe constraints on size and
140 signedness, not exact equivalence to a particular type.
141 (ino_t): Likewise.
142 (ino64_t): Likewise.
143 (dev_t): Likewise.
144 (nlink_t): Likewise.
145 (blkcnt_t): Likewise.
146 (blkcnt64_t): Likewise.
147 * manual/llio.texi (off_t): Likewise.
148
28afd92d
JM
149 [BZ #3976]
150 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
151 (__ieee754_exp): Save and restore rounding mode and use
152 round-to-nearest for all computations.
153 * math/libm-test.inc (exp_test_tonearest): New function.
154 (exp_test_towardzero): Likewise.
155 (exp_test_downward): Likewise.
156 (exp_test_upward): Likewise.
157 (main): Call the new functions.
158 * sysdeps/i386/fpu/libm-test-ulps: Update.
159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
160
b1eeb65d
CD
1612012-03-01 Chris Demetriou <cgd@google.com>
162
163 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
164 have predictable order.
165
53362a4b
DM
1662012-03-01 David S. Miller <davem@davemloft.net>
167
3c969083
DM
168 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
169
759707de
DM
170 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
171 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
172 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
173 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
174
dfdb8ff2
DM
175 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
176 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
177 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
179 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
180 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
181 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
182 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
183 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
184
ead89f96
DM
185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
186
7f66bd07
DM
187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
188 * sysdeps/sparc/fpu/libm-test-ulps: to here.
189 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
190
53362a4b
DM
191 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
192 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
193 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
194 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
195 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
197 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
198 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
199 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
200 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
201 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
204 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
205 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
206 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
207 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
208 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
209 * sysdeps/sparc/elf/configure: Regenerated.
210
7b1902cb
JM
2112012-03-01 Joseph Myers <joseph@codesourcery.com>
212
bec039bc
JM
213 * configure.in (AS, LD): Require binutils 2.20 or later.
214 * configure: Regenerated.
215 * manual/install.texi (Tools for Compilation): Give binutils 2.20
216 as required minimum version.
217 * INSTALL: Regenerated.
218
7b1902cb
JM
219 [BZ #2541]
220 [BZ #4108]
221 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
222 before squaring exponent.
223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
224 bottom long double and 27 bits of top long double before squaring
225 exponent.
226 * math/libm-test.inc (erfc_test): Add more tests.
227 * sysdeps/i386/fpu/libm-test-ulps: Update.
228 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
230
f775c276
KT
2312012-03-01 Kai Tietz <ktietz@redhat.com>
232
233 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
234 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
235 containing bit-fields.
236 * soft-fp/extended.h (_FP_UNION_E): Likewise.
237 * soft-fp/single.h (_FP_UNION_S): Likewise.
238 * soft-fp/double.h (_FP_UNION_D): Likewise.
239
5b8a4d4a
JM
2402012-02-29 Joseph Myers <joseph@codesourcery.com>
241
0bab47b6
JM
242 [BZ #13786]
243 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
244 not include ../strcmp.S.
245 [USE_AS_STRNCASECMP_L]: Likewise.
246 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
247 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
248 * sysdeps/i386/i686/multiarch/strncase_l-c.c
249 (__strncasecmp_l_ia32): Define as alias to
250 __strncasecmp_l_nonascii.
251
0fcad3e2
JM
252 [BZ #5794]
253 * math/libm-test.inc (expm1_test): Add test for bug 5794.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256
5b8a4d4a
JM
257 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
259
8fdceb2e
JL
2602012-02-29 Jeff Law <law@redhat.com>
261
262 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
263 out of bounds read.
264
1f393a11
MP
2652012-02-29 Marek Polacek <polacek@redhat.com>
266
267 [BZ #13706]
268 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
269 * elf/Makefile: Add rules to run tst-unused-dep.out.
270
8847f037
DM
2712012-02-28 David S. Miller <davem@davemloft.net>
272
273 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
274 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
275 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
276 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
277 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
278 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
279
169d7f11
JM
2802012-02-29 Joseph Myers <joseph@codesourcery.com>
281
282 * math/libm-test.inc (llround_test): Move one test from
283 lround_test. Use TEST_f_L in moved test.
284 (lround_test): Move misplaced test to llround_test. Add testcase
285 from bug 2561.
286
39adf059
UD
2872012-02-28 Ulrich Drepper <drepper@gmail.com>
288
289 * sysdeps/x86_64/fpu/e_expf.S: New file.
290 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
291
71b5d1c5
SB
2922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
293
294 [BZ #13637]
295 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
296 of remain_len that may cause incomplete multi-byte character and
297 false match.
298 * posix/bug-regex33.c: New file.
299 * posix/Makefile (tests): Add bug-regex33.
300
1f77f049
JM
3012012-02-28 Joseph Myers <joseph@codesourcery.com>
302
303 * manual/macros.texi: New file.
304 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
305 * manual/libc.texinfo: Include macros.texi.
306 * manual/creatute.texi: Likewise.
307 * manual/install.texi: Likewise.
308 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
309 @glibcadj{} in references to the GNU C Library.
310 * manual/charset.texi: Likewise.
311 * manual/conf.texi: Likewise.
312 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
313 when not using those macros.
314 * manual/creature.texi: Likewise.
315 * manual/crypt.texi: Likewise.
316 * manual/errno.texi: Likewise.
317 * manual/filesys.texi: Likewise.
318 * manual/header.texi: Likewise.
319 * manual/install.texi: Likewise.
320 * manual/intro.texi: Likewise.
321 * manual/io.texi: Likewise.
322 * manual/job.texi: Likewise.
323 * manual/lang.texi: Likewise.
324 * manual/libc.texiinfo: Likewise.
325 * manual/llio.texi: Likewise.
326 * manual/locale.texi: Likewise.
327 * manual/maint.texi: Likewise.
328 * manual/math.texi: Likewise.
329 * manual/memory.texi: Likewise.
330 * manual/message.texi: Likewise.
331 * manual/nss.texi: Likewise.
332 * manual/pattern.texi: Likewise.
333 * manual/process.texi: Likewise.
334 * manual/resource.texi: Likewise.
335 * manual/search.texi: Likewise.
336 * manual/setjmp.texi: Likewise.
337 * manual/signal.texi: Likewise.
338 * manual/socket.texi: Likewise.
339 * manual/startup.texi: Likewise.
340 * manual/stdio.texi: Likewise.
341 * manual/string.texi: Likewise.
342 * manual/sysinfo.texi: Likewise.
343 * manual/syslog.texi: Likewise.
344 * manual/terminal.texi: Likewise.
345 * manual/time.texi: Likewise.
346 * manual/users.texi: Likewise.
347 * INSTALL: Regenerated.
348 * NOTES: Regenerated.
d40c5d54 349 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 350
450bf206
AS
3512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
352
353 * include/dirent.h: Include <dirstream.h> before
354 <dirent/dirent.h>.
355
741a235b
DM
3562012-02-28 David S. Miller <davem@davemloft.net>
357
358 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
359 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
360 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
361 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
362
d6b5aa58
DM
3632012-02-27 David S. Miller <davem@davemloft.net>
364
1aff59a3
DM
365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
367 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
368 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
369
d6b5aa58
DM
370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
371 frame pointer instead of stack pointer relative arg slot.
372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
373 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
374 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
375
433f48bf
CD
3762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
377
378 [BZ #3992]
379 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
380
d674b76d
DM
3812012-02-27 David S. Miller <davem@davemloft.net>
382
383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
387 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
388 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
389 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
390 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
391
0e7727f7
JM
3922012-02-27 Joseph Myers <joseph@codesourcery.com>
393
394 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
395 later. Allow versions 5-9.
43be4ca2 396 * configure: Regenerated.
0e7727f7
JM
397 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
398 required minimum version and 4.6 as recommended version. Do not
399 mention bugs in GCC 2.7 and 2.8.
43be4ca2 400 * INSTALL: Regenerated.
0e7727f7 401
a78bc654
DM
4022012-02-27 David S. Miller <davem@davemloft.net>
403
428d5830
DM
404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
408 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
409 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
410 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
411 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
412
a78bc654
DM
413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
414 manipulate bits before adding and subtracting TWO112[sx].
415 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
416
4579f81c
RM
4172012-02-27 Roland McGrath <roland@hack.frob.com>
418
36c8acb4
RM
419 [BZ #13775]
420 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
421 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
422 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
423 being in POSIX, because they are in 1003.1-2008.
424
84ad622b
RM
425 * rt/tst-aio.c: Include <fcntl.h>.
426 * rt/tst-aio7.c: Likewise.
427 * rt/tst-aio64.c: Likewise.
428
4579f81c
RM
429 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
430
abd923db
JM
4312012-02-27 Joseph Myers <joseph@codesourcery.com>
432
433 * manual/install.texi (--with-headers): Describe headers as
434 interface headers, not private headers.
435 (Specific advice for GNU/Linux systems): Describe use of headers
436 from "make headers_install", not private headers from older
437 kernels.
43be4ca2 438 * INSTALL: Regenerated.
abd923db
JM
439 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
440 Change to 2.6.19.
441 * sysdeps/unix/sysv/linux/configure: Regenerated.
442
6664049b
JM
443 * manual/llio.texi (fclean): Remove documentation.
444
bb8b6697
JM
445 * manual/Makefile (libc-texi-generated): New variable. Include
446 version.texi.
447 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
448 $(libc-texi-generated), not duplicated list of files.
449 (version.texi, stamp-version): New rules.
450 (realclean): Remove $(libc-texi-generated), not individual files
451 from that list. Do not remove dir-add.texinfo.
452 * manual/libc.texinfo: Comment out uses of edition numbers and
453 references to printed manual. Remove last-updated dates.
454 (EDITION): Comment out.
455 (ISBN): Likewise.
456 (VERSION, UPDATED): Remove.
457 (version.texi): Include.
458
12e5c3b9
AS
4592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
460
461 * sysdeps/posix/spawni.c: Include <signal.h>.
462 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
463 * sysdeps/pthread/aio_fsync.c: Likewise.
464
4efeffc1 4652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 466
ba63ba08
UD
467 * conform/Makefile (tests): Run only when not cross-compiling and
468 when fast-check is not defined.
469
d94a4670
UD
470 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
471 * conform/data/limits.h-data: Fixes for POSIX2008.
472 * conform/run-conformtest.sh: Run all tests.
473 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
474 headers.
475 * include/bits/dlfcn.h: Likewise.
476 * include/langinfo.h: Likewise.
477 * include/monetary.h: Likewise.
478 * include/sys/poll.h: Likewise.
479
480 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
481 for __USE_GNU.
482 * posix/spawn.h: Define __need_sigset_t.
483 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
484 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
485 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
486 to get sigevent_t only.
487 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
488 only for __USE_GNU.
489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
490 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
491 process_vm_writev only for __USE_GNU.
492 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
493
494 * conform/Makefile: For now ignore errors from run-conformtest.
495 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
496 POSIX to avoid namespace pollution. Don't prepend headers.
497 * conform/data/aio.h-data: Fixes for POSIX testing.
498 * conform/data/fcntl.h-data: Likewise.
499 * conform/data/glob.h-data: Likewise.
500 * conform/data/grp.h-data: Likewise.
501 * conform/data/pthread.h-data: Likewise.
502 * conform/data/pwd.h-data: Likewise.
503 * conform/data/signal.h-data: Likewise.
504 * conform/data/spawn.h-data: Likewise.
505 * conform/data/stdio.h-data: Likewise.
506 * conform/data/stdlib.h-data: Likewise.
507 * conform/data/stropts.h-data: Likewise.
508 * conform/data/sys/mman.h-data: Likewise.
509 * conform/data/sys/stat.h-data: Likewise.
510 * conform/data/sys/types.h-data: Likewise.
511 * conform/data/sys/wait.h-data: Likewise.
512 * conform/data/time.h-data: Likewise.
513 * conform/data/unistd.h-data: Likewise.
514 * conform/data/utime.h-data: Likewise.
515
516 * io/sys/stat.h: fchmod was always in POSIX.
517 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
518 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
519 * rt/aio.h: Define __need_timespec before including <time.h>.
520 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
521 struct. Add forward declaration of pthread_attr_t and use it in
522 sigevent.
523 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
524 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
525 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
526 always remove CLK_TCK definition.
527
c20105c3
AS
5282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
529
530 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
531
7a270350
UD
5322012-02-25 Ulrich Drepper <drepper@gmail.com>
533
31341567
UD
534 * conform/run-conformtest.sh: New file.
535 * conform/Makefile: Run run-conformtest for tests.
536 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
537 support.
538
539 * conform/data/uchar.h-data: New file.
540 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
541 * conform/data/arpa/inet.h-data: Likewise.
542 * conform/data/assert.h-data: Likewise.
543 * conform/data/complex.h-data: Likewise.
544 * conform/data/cpio.h-data: Likewise.
545 * conform/data/ctype.h-data: Likewise.
546 * conform/data/dirent.h-data: Likewise.
547 * conform/data/dlfcn.h-data: Likewise.
548 * conform/data/errno.h-data: Likewise.
549 * conform/data/fcntl.h-data: Likewise.
550 * conform/data/float.h-data: Likewise.
551 * conform/data/fmtmsg.h-data: Likewise.
552 * conform/data/fnmatch.h-data: Likewise.
553 * conform/data/ftw.h-data: Likewise.
554 * conform/data/glob.h-data: Likewise.
555 * conform/data/grp.h-data: Likewise.
556 * conform/data/iconv.h-data: Likewise.
557 * conform/data/inttypes.h-data: Likewise.
558 * conform/data/langinfo.h-data: Likewise.
559 * conform/data/libgen.h-data: Likewise.
560 * conform/data/limits.h-data: Likewise.
561 * conform/data/locale.h-data: Likewise.
562 * conform/data/math.h-data: Likewise.
563 * conform/data/monetary.h-data: Likewise.
564 * conform/data/mqueue.h-data: Likewise.
565 * conform/data/ndbm.h-data: Likewise.
566 * conform/data/net/if.h-data: Likewise.
567 * conform/data/netdb.h-data: Likewise.
568 * conform/data/netinet/in.h-data: Likewise.
569 * conform/data/nl_types.h-data: Likewise.
570 * conform/data/poll.h-data: Likewise.
571 * conform/data/pthread.h-data: Likewise.
572 * conform/data/pwd.h-data: Likewise.
573 * conform/data/regex.h-data: Likewise.
574 * conform/data/sched.h-data: Likewise.
575 * conform/data/search.h-data: Likewise.
576 * conform/data/semaphore.h-data: Likewise.
577 * conform/data/setjmp.h-data: Likewise.
578 * conform/data/signal.h-data: Likewise.
579 * conform/data/spawn.h-data: Likewise.
580 * conform/data/stdarg.h-data: Likewise.
581 * conform/data/stdio.h-data: Likewise.
582 * conform/data/stdlib.h-data: Likewise.
583 * conform/data/string.h-data: Likewise.
584 * conform/data/strings.h-data: Likewise.
585 * conform/data/stropts.h-data: Likewise.
586 * conform/data/sys/ipc.h-data: Likewise.
587 * conform/data/sys/mman.h-data: Likewise.
588 * conform/data/sys/msg.h-data: Likewise.
589 * conform/data/sys/resource.h-data: Likewise.
590 * conform/data/sys/select.h-data: Likewise.
591 * conform/data/sys/sem.h-data: Likewise.
592 * conform/data/sys/shm.h-data: Likewise.
593 * conform/data/sys/socket.h-data: Likewise.
594 * conform/data/sys/stat.h-data: Likewise.
595 * conform/data/sys/statvfs.h-data: Likewise.
596 * conform/data/sys/time.h-data: Likewise.
597 * conform/data/sys/timeb.h-data: Likewise.
598 * conform/data/sys/times.h-data: Likewise.
599 * conform/data/sys/types.h-data: Likewise.
600 * conform/data/sys/uio.h-data: Likewise.
601 * conform/data/sys/un.h-data: Likewise.
602 * conform/data/sys/utsname.h-data: Likewise.
603 * conform/data/sys/wait.h-data: Likewise.
604 * conform/data/syslog.h-data: Likewise.
605 * conform/data/tar.h-data: Likewise.
606 * conform/data/termios.h-data: Likewise.
607 * conform/data/utime.h-data: Likewise.
608 * conform/data/utmpx.h-data: Likewise.
609 * conform/data/varargs.h-data: Likewise.
610 * conform/data/wchar.h-data: Likewise.
611 * conform/data/wctype.h-data: Likewise.
612 * conform/data/wordexp.h-data: Likewise.
613
614 * include/stropts.h: New file.
615 * include/uchar.h: New file.
616 * include/aio.h: Changes to allow conformtest.pl to use the headers.
617 * include/assert.h: Likewise.
618 * include/ctype.h: Likewise.
619 * include/dirent.h: Likewise.
620 * include/dlfcn.h: Likewise.
621 * include/fcntl.h: Likewise.
622 * include/fnmatch.h: Likewise.
623 * include/glob.h: Likewise.
624 * include/grp.h: Likewise.
625 * include/libio.h: Likewise.
626 * include/locale.h: Likewise.
627 * include/math.h: Likewise.
628 * include/net/if.h: Likewise.
629 * include/netdb.h: Likewise.
630 * include/netinet/in.h: Likewise.
631 * include/pthread.h: Likewise.
632 * include/pwd.h: Likewise.
633 * include/regex.h: Likewise.
634 * include/sched.h: Likewise.
635 * include/search.h: Likewise.
636 * include/setjmp.h: Likewise.
637 * include/signal.h: Likewise.
638 * include/stdio.h: Likewise.
639 * include/stdlib.h: Likewise.
640 * include/string.h: Likewise.
641 * include/sys/cdefs.h: Likewise.
642 * include/sys/mman.h: Likewise.
643 * include/sys/msg.h: Likewise.
644 * include/sys/resource.h: Likewise.
645 * include/sys/select.h: Likewise.
646 * include/sys/socket.h: Likewise.
647 * include/sys/stat.h: Likewise.
648 * include/sys/statvfs.h: Likewise.
649 * include/sys/time.h: Likewise.
650 * include/sys/times.h: Likewise.
651 * include/sys/uio.h: Likewise.
652 * include/sys/utsname.h: Likewise.
653 * include/sys/wait.h: Likewise.
654 * include/termios.h: Likewise.
655 * include/time.h: Likewise.
656 * include/ulimit.h: Likewise.
657 * include/unistd.h: Likewise.
658 * include/utime.h: Likewise.
659 * include/wchar.h: Likewise.
660 * include/wctype.h: Likewise.
661 * include/wordexp.h: Likewise.
662
663 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
664
7a270350
UD
665 * time/time.h: TIME_UTC must be a macro.
666 Make timespec_get available for ISO C11 only as well.
667
7724defc
UD
6682012-02-24 Ulrich Drepper <drepper@gmail.com>
669
670 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
671 Reported by Peng Haitao <penght@cn.fujitsu.com>.
672
6b1d1d46
JM
6732012-02-24 Joseph Myers <joseph@codesourcery.com>
674
675 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 676
0f8bbd69
JM
6772012-02-24 Joseph Myers <joseph@codesourcery.com>
678
679 * manual/texinfo.tex: Update to version 2012-01-19.16.
680
66ab80bc
JM
6812012-02-24 Joseph Myers <joseph@codesourcery.com>
682
683 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
684
74981cc5
RM
6852012-02-24 Roland McGrath <roland@hack.frob.com>
686
ee968201
RM
687 [BZ #13738]
688 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
689 * manual/fdl-1.3.texi: New file.
690 * manual/fdl-1.1.texi: File removed.
691
74981cc5
RM
692 [BZ #13738]
693 * manual/libc.texinfo (FDL_VERSION): New @set.
694 Use it for mention of FDL in cover text.
695 (Documentation License): Use it in @include file name.
696
7bb764bc
JM
6972012-02-22 Joseph Myers <joseph@codesourcery.com>
698 Roland McGrath <roland@hack.frob.com>
699
700 [BZ #5461]
701 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
702 not LONG_LONG_MAX and LONG_LONG_MIN.
703 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
704 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
705 name.
706 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
707
6cbeae47
JM
7082012-02-22 Joseph Myers <joseph@codesourcery.com>
709
710 [BZ #2547]
711 [BZ #11365]
712 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
713 manipulate bits before adding and subtracting TWO23[sx].
714 * math/libm-test.inc (nearbyint_test): Add more tests.
715
fe45ce09
JM
7162012-02-22 Joseph Myers <joseph@codesourcery.com>
717
718 [BZ #2548]
719 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
720 bits before adding and subtracting TWO23[sx].
721 * math/libm-test.inc (rint_test): Add more tests.
722 (rint_test_tonearest): Likewise.
723 (rint_test_towardzero): Likewise.
724 (rint_test_downward): Likewise.
725 (rint_test_upward: Likewise.
726
ff3b3d82
JM
7272012-02-22 Joseph Myers <joseph@codesourcery.com>
728
729 [BZ #10110]
730 * include/stdc-predef.h: New file. Extracted from features.h.
731 * include/features.h: Include stdc-predef.h.
732 * Makefile (headers): Add stdc-predef.h.
733 * CONFORMANCE (Compiler limitations): Update.
734
ef0aab35
JM
7352012-02-22 Joseph Myers <joseph@codesourcery.com>
736
737 * manual/libc.texinfo (VERSION, UPDATED): Revert.
738
58639409
DM
7392012-02-21 David S. Miller <davem@davemloft.net>
740
741 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
742 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
743
c0e70b25
DM
7442012-02-20 David S. Miller <davem@davemloft.net>
745
746 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
747 using a normal save/restore sequence, rather than allocating a
748 dummy stack frame just to store a frame pointer and restore.
749 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
750
fb06851d
JM
7512012-02-21 Joseph Myers <joseph@codesourcery.com>
752
753 * manual/install.texi: Fix stray word in line-wrapped comment.
754
7a8b71c3
DM
7552012-02-20 David S. Miller <davem@davemloft.net>
756
d510c123
DM
757 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
758 both binutils and gcc support GOTDATA.
759
0722d7c2
DM
760 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
761 "rd %pc" in the PIC register setup sequences.
762
3d2b3019
DM
763 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
764 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
765 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
766 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
767 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
768 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
769 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
770 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
772 (SYSCALL_ERROR_HANDLER): Likewise.
773 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
774 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
776 (SYSCALL_ERROR_HANDLER): Likewise.
777
c80098a9
DM
778 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
779 (HAVE_GCC_GOTDATA): New.
780 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
781 relocation support in both binutils and gcc.
782 * sysdeps/sparc/elf/configure: Regenerate.
783
3a2545a0
DM
784 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
785 * sysdeps/sparc/sparc32/elf/configure: Delete.
786 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
787 * sysdeps/sparc/sparc64/elf/configure: Delete.
788 * sysdeps/sparc/elf/configure.in: New file.
789 * sysdeps/sparc/elf/configure: Generate.
790
7a8b71c3
DM
791 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
792 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
793 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
794 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
795 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
796
f1e86fca
JM
7972012-02-21 Joseph Myers <joseph@codesourcery.com>
798
799 * manual/install.texi: Do not mention specific glibc version
800 numbers.
801 * manual/libc.texinfo (VERSION, UPDATED): Update.
802 (@copying): Use @copyright{} and range of years.
803
0e7dfaef
JM
8042012-02-21 Joseph Myers <joseph@codesourcery.com>
805
806 [BZ #13695]
807 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
808 [crti.S not in sysdirs] (generated): Do not append.
809 [crti.S not in sysdirs] (omit-deps): Likewise.
810 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
811 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
812 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
813 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
814 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
815 Likewise.
816 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
817 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
818 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
819 * csu/defs.awk: Remove file.
820 * sysdeps/generic/initfini.c: Likewise.
821 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
822 variable.
823 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
824 Likewise.
825
599af3ca
JM
8262012-02-20 Joseph Myers <joseph@codesourcery.com>
827
828 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
829 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
830 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
831 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
832 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
833 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
834 <bits/epoll.h>.
835 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
836 (__EPOLL_PACKED): Define to empty if not defined by
837 <bits/epoll.h>.
838 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
840 bits/epoll.h.
841
0e499750
JM
8422012-02-20 Joseph Myers <joseph@codesourcery.com>
843
844 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
845 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
846 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
847 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
848 <bits/timerfd.h>.
849 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
851 bits/timerfd.h.
852
5ad91f6e
JM
8532012-02-20 Joseph Myers <joseph@codesourcery.com>
854
855 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
856 in C locale.
857 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
858 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
859 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861
06b99b02
AJ
8622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
863
864 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
865 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
866
7638c0fd
AS
8672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
868
869 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
870 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
871 defined.
872 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
873 Likewise.
874 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
875 entry for 2.16.
876
92221550
AJ
8772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
878
879 * math/w_acos.c: Use non-signaling floating-point comparisons.
880 * math/w_acosf.c: Likewise.
881 * math/w_acosh.c: Likewise.
882 * math/w_acoshf.c: Likewise.
883 * math/w_acoshl.c: Likewise.
884 * math/w_acosl.c: Likewise.
885 * math/w_asin.c: Likewise.
886 * math/w_asinf.c: Likewise.
887 * math/w_asinl.c: Likewise.
888 * math/w_atanh.c: Likewise.
889 * math/w_atanhf.c: Likewise.
890 * math/w_atanhl.c: Likewise.
891 * math/w_exp2.c: Likewise.
892 * math/w_exp2f.c: Likewise.
893 * math/w_exp2l.c: Likewise.
894 * math/w_j0.c: Likewise.
895 * math/w_j0f.c: Likewise.
896 * math/w_j0l.c: Likewise.
897 * math/w_j1.c: Likewise.
898 * math/w_j1f.c: Likewise.
899 * math/w_j1l.c: Likewise.
900 * math/w_jn.c: Likewise.
901 * math/w_jnf.c: Likewise.
902 * math/w_log.c: Likewise.
903 * math/w_log10.c: Likewise.
904 * math/w_log10f.c: Likewise.
905 * math/w_log10l.c: Likewise.
906 * math/w_log2.c: Likewise.
907 * math/w_log2f.c: Likewise.
908 * math/w_log2l.c: Likewise.
909 * math/w_logf.c: Likewise.
910 * math/w_logl.c: Likewise.
911 * math/w_sqrt.c: Likewise.
912 * math/w_sqrtf.c: Likewise.
913 * math/w_sqrtl.c: Likewise.
914 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
915 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
916 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
917 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
918 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
919
ebaf36eb
JM
9202012-02-19 Joseph Myers <joseph@codesourcery.com>
921
922 [BZ #9739]
923 * manual/string.texi (strnlen): Use correct parameter name in
924 equivalent expression.
925
71c254a6
JM
9262012-02-19 Joseph Myers <joseph@codesourcery.com>
927
928 [BZ #11174]
929 * manual/users.texi (seteuid): Consistently use neweuid for
930 argument name.
931
16d2c631
JM
9322012-02-19 Joseph Myers <joseph@codesourcery.com>
933
934 [BZ #13704]
935 * manual/nss.texi (Services in the NSS configuration): Correct
936 list of services in example configuration file.
937
cd837b09
NB
9382012-02-19 Nick Bowler <nbowler@draconx.ca>
939
940 [BZ #11322]
941 * manual/arith.texi: Remove statements about negative zero
942 behaving identically to zero.
943
02c4bbad
JM
9442012-02-18 Joseph Myers <joseph@codesourcery.com>
945
946 [BZ #5993]
947 * manual/install.texi: Do not document upgrading from libc5.
948
366842e7
JM
9492012-02-18 Joseph Myers <joseph@codesourcery.com>
950
951 [BZ #4596]
952 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
953
dd54084d
DM
9542012-02-18 David S. Miller <davem@davemloft.net>
955
956 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
957 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
958 %o7 across the call.
959 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
960 instead.
961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
962 SETUP_PIC_REG_LEAF.
963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
964 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
965 * sysdeps/sparc/crtn.S: Likewise.
966
2bcc53a3
UD
9672012-02-17 Ulrich Drepper <drepper@gmail.com>
968
969 * aout/Makefile: Remove.
970
09c093b5
RK
9712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
972
973 [BZ #13058]
974 * manual/examples/argp-ex1.c (main): Format definition in GNU
975 style.
976 * manual/examples/argp-ex2.c (main): Likewise.
977 * manual/examples/argp-ex3.c (main): Likewise.
978 * manual/examples/argp-ex4.c (main): Likewise.
979 * manual/examples/longopt.c (main): Use new-style prototype
980 definition.
981 * manual/examples/strncat.c (main): Specify return type and use
982 (void) for arguments.
983 * manual/examples/subopt.c (main): Use char **argv argument.
984
2ee633a2
JM
9852012-02-17 Joseph Myers <joseph@codesourcery.com>
986
987 [BZ #5077]
988 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
989 rounding modes.
990
0520adde
FB
9912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
992
993 [BZ #6907]
994 * manual/string.texi (strchr): Change when strchrnul is
995 recommended.
996
3f4081cd
DGM
9972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
998
999 [BZ #174]
1000 * manual/locale.texi (setlocale): Document LOCPATH.
1001
d1b10e78
JM
10022012-02-17 Joseph Myers <joseph@codesourcery.com>
1003
1004 [BZ #10210]
1005 * manual/process.texi (execle): Move @dots{} before last argument.
1006
79c6869c
PB
10072012-02-17 Paul Bolle <pebolle@tiscali.nl>
1008
1009 [BZ #12047]
1010 * manual/charset.texi (Generic Charset Conversion): Fix typo
1011 (LC_TYPE -> LC_CTYPE).
1012
cc6e48bc
NB
10132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1014
1015 [BZ #5805]
1016 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1017 (scalbnf): Likewise.
1018 (scalbnl): Likewise.
1019 (scalbln): Likewise.
1020 (scalblnf): Likewise.
1021 (scalblnl): Likewise.
1022 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1023 (vwarnx): Likewise.
1024 (verr): Likewise.
1025 (verrx): Likewise.
1026 * manual/filesys.texi (telldir): Use braces around return type.
1027 * manual/llio.texi (mmap): Add space after comma.
1028 (mmap64): Likewise.
1029 * manual/math.texi (jn): Use @var{} on parameter names.
1030 (jnf): Likewise.
1031 (jnl): Likewise.
1032 (yn): Likewise.
1033 (ynf): Likewise.
1034 (ynl): Likewise.
1035 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1036 line.
1037 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1038 "...".
1039 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1040 (sched_get_priority_max): Likewise.
1041 * manual/signal.texi (sigvec): Add space after comma.
1042 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1043 names.
1044 (if_indextoname): Likewise.
1045 (if_freenameindex): Likewise.
1046 (sendto): Use ',' instead of '.' in prototype.
1047 * manual/startup.texi (syscall): Use @dots{} instead of literal
1048 "...".
1049 * manual/stdio.texi (__fpending): Separate initial words of
1050 paragraph from @deftypefun line.
1051 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1052 "...".
1053 (vsyslog): Use @var{} on parameter names.
1054 * manual/terminal.texi (stty): Use @var{} on parameter names.
1055 * manual/users.texi (getutmp): Use @var{} on parameter names.
1056 (getutmpx): Likewise.
1057
5b23062f
JM
10582012-02-17 Joseph Myers <joseph@codesourcery.com>
1059
1060 [BZ #6884]
1061 * manual/stdio.texi (fopen): Fix typos in description of
1062 ",ccs=STRING".
1063
8dee4833
AJ
10642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1065
1066 [BZ #4026]
1067 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1068 get clock_id definition.
1069
9078ce93
TS
10702012-02-17 Thomas Schwinge <thomas@schwinge.name>
1071
1072 [BZ #4822]
1073 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1074 (madvise): Cast every argument to void on its own.
1075
3835c55f
JM
10762012-02-17 Joseph Myers <joseph@codesourcery.com>
1077
1078 [BZ #9902]
1079 * manual/startup.texi (Exit Status): Fix typo.
1080
35c47e37
JM
10812012-02-17 Joseph Myers <joseph@codesourcery.com>
1082
1083 [BZ #10140]
1084 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1085 * manual/examples/argp-ex2.c: Likewise.
1086 * manual/examples/argp-ex3.c: Likewise.
1087
e3b69ca7
RH
10882012-02-16 Richard Henderson <rth@redhat.com>
1089
1090 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1091 * sysdeps/s390/s390-32/initfini.c: Remove.
1092 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1093 * sysdeps/s390/s390-64/initfini.c: Remove.
1094
df83af67
KK
10952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1096
1097 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1098 compiler output for sysdeps/generic/initfini.c.
1099 * sysdeps/sh/elf/initfini.c: Remove file.
1100
f63f3380
DM
11012012-02-16 David S. Miller <davem@davemloft.net>
1102
fb59b3a4
DM
1103 [BZ #11494]
1104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1105
f63f3380
DM
1106 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1107 * sysdeps/sparc/crti.S: New file.
1108 * sysdeps/sparc/crtn.S: New file.
1109 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1110 * sysdeps/sparc/sparc64/Makefile: Likewise.
1111
df6a4a4a
MF
11122012-02-15 Mike Frysinger <vapier@gentoo.org>
1113
6dd8f3dc 1114 [BZ #3335]
df6a4a4a
MF
1115 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1116
1cac7236
RM
11172012-02-15 Roland McGrath <roland@hack.frob.com>
1118
d2c736f8
RM
1119 [BZ #4822]
1120 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1121
1cac7236
RM
1122 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1123 (write, read, close): Likewise.
1124 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1125
8e475601
JM
11262012-02-15 Joseph Myers <joseph@codesourcery.com>
1127
1128 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1129 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1130 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1131 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1132 <bits/signalfd.h>.
1133 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1135 bits/signalfd.h.
1136
ed656b40
MP
11372012-02-14 Marek Polacek <polacek@redhat.com>
1138
1139 * sysdeps/x86_64/crti.S: New file.
1140 * sysdeps/x86_64/crtn.S: New file.
1141 * sysdeps/x86_64/elf/initfini.c: Remove file.
1142
2a979d3a
JM
11432012-02-13 Joseph Myers <joseph@codesourcery.com>
1144
1145 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1146 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1147 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1148 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1149 <bits/inotify.h>.
1150 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1152 bits/inotify.h.
1153
2a418ac3
JM
11542012-02-13 Joseph Myers <joseph@codesourcery.com>
1155
1156 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1157 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1158 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1159 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1160 <bits/eventfd.h>.
1161 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1163 bits/eventfd.h.
1164
fb779be7
TS
11652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1166
e19e83c5
RM
1167 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1168 __feraiseexcept instead of feraiseexcept.
7c35ffed 1169
fb779be7
TS
1170 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1171 nanosleep invocations.
1172 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1173 strings, and add error checking for a nanosleep invocations.
1174
59ba27a6
PE
11752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1176
1177 Replace FSF snail mail address with URLs, as per GNU coding standards.
1178 Most of the snail mail addresses were wrong anyway, and omitting
1179 them makes the source code easier to maintain. Almost all of the
1180 changes are to license notices and to locale LC_IDENTIFICATION
1181 addresses, except for this one:
1182 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1183 not its snail mail address.
1184
57b957eb
RH
11852012-02-09 Richard Henderson <rth@twiddle.net>
1186
af850b1c
RH
1187 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1188 of kernel-features.h.
1189
57b957eb
RH
1190 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1191
6b73181a
MP
11922012-02-08 Marek Polacek <polacek@redhat.com>
1193
1194 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1195 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1196 * sysdeps/gnu/_G_config.h: Likewise.
1197 * sysdeps/generic/_G_config.h: Likewise.
1198
26ecc33a
AS
11992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1200
6c6dbc63
AS
1201 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1202 tests.
1203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1204
e216c012
AS
1205 * sysdeps/powerpc/powerpc32/crti.S: New file.
1206 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1207 * sysdeps/powerpc/powerpc64/crti.S: New file.
1208 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1209
26ecc33a
AS
1210 * Makeconfig (have-initfini): Don't set.
1211 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1212 * configure.in (nopic_initfini): Don't substitute.
1213 * config.h.in (HAVE_INITFINI): Don't #undef.
1214 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1215 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1216
3add8e13
JM
12172012-02-08 Joseph Myers <joseph@codesourcery.com>
1218
1219 Support crti.S and crtn.S provided directly by architectures.
1220 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1221 [crti.S in sysdirs] (omit-deps): Likewise.
1222 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1223 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1224 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1225 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1226 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1227 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1228 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1229 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1230 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1231 compiler output for sysdeps/generic/initfini.c.
1232 * sysdeps/i386/elf/Makefile: Remove file.
1233 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1234
a22f12b4
MP
12352012-02-07 Marek Polacek <polacek@redhat.com>
1236
1237 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1238 * sysdeps/gnu/_G_config.h: Likewise.
1239 * sysdeps/mach/hurd/_G_config.h: Likewise.
1240
148cf100
MP
12412012-02-07 Marek Polacek <polacek@redhat.com>
1242
1243 * math/Makefile (tests): Add tst-CMPLX2.
1244 * math/tst-CMPLX2.c: New file.
1245
cfdc0dd7
AS
12462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1247
84ba42c4
AS
1248 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1249
cfdc0dd7
AS
1250 * math/libm-test.inc (jn_test): Add missing L suffix.
1251
622c86f4
MP
12522012-02-06 Marek Polacek <polacek@redhat.com>
1253
1254 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1255 * sysdeps/i386/fpu/e_powf.S: Likewise.
1256 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1257 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1258 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1259 * sysdeps/i386/fpu/e_pow.S: Likewise.
1260 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1261 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1262 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1263 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1264 * sysdeps/i386/fpu/e_log2.S: Likewise.
1265 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1266 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1267 * sysdeps/i386/fpu/e_powl.S: Likewise.
1268 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1269 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1270 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1271 * sysdeps/i386/fpu/e_logl.S: Likewise.
1272 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1273 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1274 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1275 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1276 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1277 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1278 * sysdeps/i386/fpu/e_log.S: Likewise.
1279 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1280 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1281 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1282 * sysdeps/i386/fpu/e_logf.S: Likewise.
1283 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1284 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1285 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1286 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1287 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1288 * sysdeps/i386/fpu/e_log10.S: Likewise.
1289 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1290 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1291 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1292 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1293 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1294 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1295 * sysdeps/i386/asm-syntax.h: Likewise.
1296 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1297 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1298 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1299 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1300 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1301 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1302 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1303 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1304 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1305 * sysdeps/powerpc/sysdep.h: Likewise.
1306 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1307 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1308
d4a54ac6
JM
13092012-02-06 Joseph Myers <joseph@codesourcery.com>
1310
1311 [BZ #411]
1312 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1313
314054ea
JM
13142012-02-06 Joseph Myers <joseph@codesourcery.com>
1315
1316 * sysdeps/i386/sysdep.h: Include <features.h>.
1317 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1318 version.
1319
d8e0ca50
JM
13202012-02-05 Joseph Myers <joseph@codesourcery.com>
1321
1322 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1323 Define.
1324 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1325 LOAD_PIC_REG_STR.
1326
b1da7dd9
JM
13272012-02-03 Joseph Myers <joseph@codesourcery.com>
1328
1329 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1330 (SETUP_PIC_REG): Use GET_PC_THUNK.
1331 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1332 macro.
1333
9a1d9254
JM
13342012-02-03 Joseph Myers <joseph@codesourcery.com>
1335
1336 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1337 for non-PIC compilation.
1338 (SETUP_PIC_REG): Add .p2align directive.
1339 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1340 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1341 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1342 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1343 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1344 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1345 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1347 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1348 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1349 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1350 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1351 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1352 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1353 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1354 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1355 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1356 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1357 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1358 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1359 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1360 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1361 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1362 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1363 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1364 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1366 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1367 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1368 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1369 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1371 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1372 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1373 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1374 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1375 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1376 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1377 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1378 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1379 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1380
65dc3b75
JM
13812012-02-03 Joseph Myers <joseph@codesourcery.com>
1382
1383 * math/tst-CMPLX.c: Include <stdio.h>.
1384
d55bf177
JM
13852012-01-31 Joseph Myers <joseph@codesourcery.com>
1386
1387 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1388 float.
1389 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1390 * sysdeps/sparc/bits/mathdef.h: Likewise.
1391
69db4f8f
MP
13922012-01-31 Marek Polacek <polacek@redhat.com>
1393
1394 * libio/libio.h: Don't define _PARAMS.
1395 * locale/programs/config.h: Don't define PARAMS.
1396 * stdlib/strtol_l.c: Likewise.
1397 (__strtol_l): Remove PARAMS from the prototype.
1398
41b81892
UD
13992012-01-31 Ulrich Drepper <drepper@gmail.com>
1400
3b49edc0
UD
1401 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1402 names. Just use the correct names. Remove unnecessary wrapper
1403 functions.
1404 * malloc/arena.c: Likewise.
1405 * malloc/hooks.c: Likewise.
1406
41b81892
UD
1407 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1408 ARENA_TEST says not to. Simplify test for creation of a new arena.
1409 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1410
27a25b6e
UD
14112012-01-30 Ulrich Drepper <drepper@gmail.com>
1412
1413 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1414 into tail calls.
1415 (update_get_addr): New function.
1416 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1417 GET_ADDR_MODULE parameter.
1418
c8a89e7d
JM
14192012-01-30 Joseph Myers <joseph@codesourcery.com>
1420
1421 * crypt/cert.c: Remove __STDC__ conditionals.
1422 * crypt/crypt-entry.c: Likewise.
1423 * crypt/crypt_util.c: Likewise.
1424 * libio/filedoalloc.c: Likewise.
1425 * libio/fileops.c: Likewise.
1426 * libio/genops.c: Likewise.
1427 * libio/iofclose.c: Likewise.
1428 * libio/iofdopen.c: Likewise.
1429 * libio/iofopen.c: Likewise.
1430 * libio/iofopen64.c: Likewise.
1431 * libio/iogetdelim.c: Likewise.
1432 * libio/iopopen.c: Likewise.
1433 * libio/obprintf.c: Likewise.
1434 * libio/oldfileops.c: Likewise.
1435 * libio/oldiofclose.c: Likewise.
1436 * libio/oldiofdopen.c: Likewise.
1437 * libio/oldiofopen.c: Likewise.
1438 * libio/oldiopopen.c: Likewise.
1439 * libio/wfiledoalloc.c: Likewise.
1440 * libio/wgenops.c: Likewise.
1441 * locale/programs/xmalloc.c: Likewise.
1442 * misc/syslog.c: Likewise.
1443 * stdio-common/xbug.c: Likewise.
1444 * string/memchr.c: Likewise.
1445 * string/memcmp.c: Likewise.
1446 * string/memrchr.c: Likewise.
1447 * string/rawmemchr.c: Likewise.
1448 * sysdeps/posix/getcwd.c: Likewise.
1449 * time/strftime_l.c: Likewise.
1450
3b100462
JM
14512012-01-30 Joseph Myers <joseph@codesourcery.com>
1452
1453 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1454 * config.make.in (config-cflags-sse2avx): Define.
1455 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1456 Fix typo.
1457
607998af
CM
14582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1459
1460 * scripts/config.guess: Update from upstream config git repository.
1461 * scripts/config.sub: Likewise.
1462
3601428f
CM
14632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1464
3ac8b282
CM
1465 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1466 (EM_NUM): Update.
1467 (R_TILEPRO_*, R_TILEGX_*): New macros.
1468
e034841e
CM
1469 * scripts/firstversions.awk: Fix bug in version range handling.
1470
540d7568
CM
1471 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1472
3601428f
CM
1473 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1474
463de862
CM
1475 * include/sys/epoll.h: New file.
1476 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1477 libc_hidden_def.
1478
73139a76
UD
14792012-01-28 Ulrich Drepper <drepper@gmail.com>
1480
96bc5b45
UD
1481 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1482 Avoid unnecessary __WORDSIZE == 64 test.
1483 (fmaxf): Use VEX format if possible.
1484 (fmax): Likewise.
1485 (fminf): Likewise.
1486 (fmin): Likewise.
1487
56f6f6a2
UD
1488 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1489 * math/math_private.h: Remove libc_fegetround* and
1490 libc_fesetround*.
1491 * sysdeps/i386/configure.in: Check for -msse2avx.
1492 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1493 also if SSE2AVX is defined.
1494 Remove libc_fegetround* and libc_fesetround*.
1495 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1496 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1497 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1498 of HAS_YMM_USABLE.
1499 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1500 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1501 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1503 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1504
73139a76
UD
1505 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1506
d73f93a4
AZ
15072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508
1509 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1510 size is not set.
1511 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1512
6ee65ed6
UD
15132012-01-27 Ulrich Drepper <drepper@gmail.com>
1514
1515 [BZ #13618]
1516 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1517 relocation.
1518 * Makeconfig (libm): Define.
1519 * elf/Makefile: Add rules to build and run tst-relsort1.
1520 * elf/tst-relsort1.c: New file.
1521 * elf/tst-relsort1mod1.c: New file.
1522 * elf/tst-relsort1mod2.c: New file.
1523
8db21882
JM
15242012-01-27 Joseph Myers <joseph@codesourcery.com>
1525
1526 * math/s_ldexp.c: Remove __STDC__ conditionals.
1527 * math/s_ldexpf.c: Likewise.
1528 * math/s_ldexpl.c: Likewise.
1529 * math/s_nextafter.c: Likewise.
1530 * math/s_nexttowardf.c: Likewise.
1531 * math/s_significand.c: Likewise.
1532 * math/s_significandf.c: Likewise.
1533 * math/s_significandl.c: Likewise.
1534 * math/w_jnl.c: Likewise.
1535 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1536 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1537 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1538 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1539 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1552 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1556 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1557 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1558 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1559 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1561 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1562 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1563 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1564 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1565 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1566 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1567 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1568 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1569 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1570 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1572 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1573 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1574 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1575 * sysdeps/ieee754/k_standard.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1637 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1642 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1650 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1651 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1655 * sysdeps/ieee754/s_matherr.c: Likewise.
1656 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1657 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1659 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1660
965a54a4
JM
16612012-01-26 Joseph Myers <joseph@codesourcery.com>
1662
1663 * crypt/md5.h: Remove __STDC__ conditionals.
1664 * libio/libioP.h: Likewise.
1665 * locale/programs/config.h: Likewise.
1666 * sysdeps/generic/sysdep.h: Likewise.
1667 * sysdeps/i386/asm-syntax.h: Likewise.
1668 * sysdeps/s390/asm-syntax.h: Likewise.
1669 * sysdeps/unix/sysdep.h: Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1672
7071ad79
JM
16732012-01-26 Joseph Myers <joseph@codesourcery.com>
1674
1675 * libio/libio.h: Remove __STDC__ conditionals.
1676 * malloc/obstack.h: Likewise.
1677 * math/complex.h: Likewise.
1678 * math/math.h: Likewise.
1679 * sysdeps/generic/_G_config.h: Likewise.
1680 * sysdeps/gnu/_G_config.h: Likewise.
1681 * sysdeps/mach/hurd/_G_config.h: Likewise.
1682 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1683 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1684 * sysdeps/sparc/bits/mathdef.h: Likewise.
1685
afc5ed09
UD
16862012-01-26 Ulrich Drepper <drepper@gmail.com>
1687
1688 [BZ #13583]
1689 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1690 Clean up HAS_* macros.
afc5ed09 1691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1692 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1693 possible.
1694 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1695 HAS_AVX.
1696 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1697 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1698 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1699 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1700 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1701
bdb6de1d
JM
17022012-01-25 Joseph Myers <joseph@codesourcery.com>
1703
1704 * elf/tst-unique3.cc (gets): Remove declaration.
1705 * elf/tst-unique3lib.cc (gets): Likewise.
1706 * elf/tst-unique3lib2.cc (gets): Likewise.
1707 * elf/tst-unique4.cc (gets): Likewise.
1708
b15549e6
UD
17092012-01-24 Ulrich Drepper <drepper@gmail.com>
1710
1711 * include/stdio.h: Add C++ protection. Add gets declarations and
1712 definitions.
1713 * debug/tst-chk1.c: Don't declare gets here.
1714 * stdio-common/tst-gets.c: Likewise.
1715
a037381f
JM
17162012-01-24 Joseph Myers <joseph@codesourcery.com>
1717
1718 * posix/glob: Remove directory.
1719
f1d4aa75
JM
17202012-01-24 Joseph Myers <joseph@codesourcery.com>
1721
1722 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1723
81c0c964
PT
17242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1725
1726 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1727 of the non-standard EPFNOSUPPORT.
1728
0ea698ae
ST
17292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1730
1731 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1732 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1733 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1734
d220b117
UD
17352012-01-21 Ulrich Drepper <drepper@gmail.com>
1736
1737 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1738
3e1aa84e
UD
17392012-01-20 Ulrich Drepper <drepper@gmail.com>
1740
1741 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1742 transient errors.
1743 * nscd/grpcache.c (cache_addgr): Likewise.
1744 * nscd/hstcache.c (cache_addhst): Likewise.
1745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1746 * nscd/pwdcache.c (cache_addpw): Likewise.
1747 * nscd/servicescache.c (cache_addserv): Likewise.
1748
400aa020
UD
17492012-01-16 Ulrich Drepper <drepper@gmail.com>
1750
d77e7869
UD
1751 * malloc/malloc.c: Various cleanups.
1752 * malloc/hooks.c: Likewise.
1753
400aa020
UD
1754 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1755 * stdlib/bug-fmtmsg1.c: New file.
1756
1757 * stdlib/fmtmsg.c (init): Add missing unlock.
1758 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1759
e0a309cf
MP
17602012-01-12 Marek Polacek <polacek@redhat.com>
1761
1762 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1763 and _GNU_SOURCE.
1764
929d11c7
WS
17652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1766
1767 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1768 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1769 macro to ensure uniqueness of label name.
1770 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1771 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1772
41d0e869
UD
17732012-01-11 Ulrich Drepper <drepper@gmail.com>
1774
0cc5ed3b
UD
1775 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1776
41d0e869
UD
1777 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1778 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1779 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1781
a47a831a
UD
17822012-01-10 Ulrich Drepper <drepper@gmail.com>
1783
daa891c0
UD
1784 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1785
1786 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1787 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1789
e58ef0f2
UD
1790 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1791
a47a831a 1792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1793 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1794 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1796
1797 * math/bits/math-finite.h: Add ldexp support.
1798
a0bfc9c7
MP
17992012-01-10 Marek Polacek <polacek@redhat.com>
1800
1801 * locale/programs/localedef.h (show_archive_content): Add noreturn
1802 attribute.
1803
d6e97a1d
UD
18042012-01-09 Ulrich Drepper <drepper@gmail.com>
1805
1806 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1807
d5835c26
UD
18082012-01-08 Ulrich Drepper <drepper@gmail.com>
1809
e5f484c6
UD
1810 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1811
d5835c26
UD
1812 * io/Makefile (headers): Add bits/poll2.h.
1813
d1f741e9
WS
18142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1815
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1817 typo #include statement.
1818
ec09c1c4
UD
18192012-01-08 Ulrich Drepper <drepper@gmail.com>
1820
1821 * include/sys/cdefs.h: Define __attribute_alloc_size.
1822 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1823 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1824 * elf/pldd.c: Likewise.
1825 * iconv/iconv_charmap.c: Likewise.
1826 * iconv/iconvconfig.c: Likewise.
1827 * iconv/strtab.c: Likewise.
1828 * locale/programs/locale.c: Likewise.
1829 * locale/programs/localedef.h: Likewise.
1830 * locale/programs/simple-hash.c: Likewise.
1831 * nscd/nscd.h: Likewise.
1832 * nss/makedb.c: Likewise.
1833 * sysdeps/generic/ldconfig.h: Likewise.
1834 * locale/programs/localedef.c: Remove xmalloc prototype.
1835 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1836
20b38e03
PP
18372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1838
1839 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1840 appropriate.
1841
a0da5fe1
UD
18422012-01-08 Ulrich Drepper <drepper@gmail.com>
1843
1d5a644a 1844 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1845 * math/tst-CMPLX.c: New file.
1d5a644a 1846
8784a6db
UD
1847 * math/complex.h (CMPLXL): Fix typo.
1848
d9a216c0
UD
1849 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1850 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1851 GLIBC_2.16.
1852 * debug/tst-chk1.c: Add poll and ppoll tests.
1853 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1854 * include/sys/poll.h: Add hidden proto for ppoll.
1855 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1856 * sysdeps/mach/hurd/ppoll.c: Likewise.
1857 * io/ppoll.c: Likewise.
1858 * debug/poll_chk.c: New file.
1859 * debug/ppoll_chk.c: New file.
1860 * include/bits/poll2.h: New file.
1861 * io/bits/poll2.h: New file.
1862
ac097f5c
UD
1863 [BZ #1350]
1864 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1865
2119dcfa
UD
1866 * configure.in: static is always set to yes. Remove.
1867 * config.make.in: Don't set build-static.
1868 * Makeconfig: Remove use of build-static.
1869 * dlfcn/Makefile: Likewise.
1870 * elf/Makefile: Likewise.
1871 * math/Makefile: Likewise.
1872 * misc/Makefile: Likewise.
1873 * nptl/Makefile: Likewise.
1874 * sysdeps/mach/hurd/Makefile: Likewise.
1875
121766a9
UD
1876 * configure.in: PWD_P is not used anymore.
1877 * config.make.in: Remove PWD_P entry.
1878
51a1d39c 1879 * configure.in: Remove last remnants of RANLIB.
8720d066 1880 No need to check for signed size_t anymore.
215f4bdc
UD
1881 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1882 and IA-64.
3857022a 1883 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1884 * aclocal.m4: Likewise.
1885
d3ed7225
UD
1886 * wcsmbs/mbrtoc16.c: Implement using towc function.
1887 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1888 * wcsmbs/wcsmbsload.c: Likewise.
1889 * iconv/gconv_simple.c: Likewise.
1890 * iconv/gconv_int.h: Likewise.
1891 * iconv/gconv_builtin.h: Likewise.
1892 * iconv/iconv_prog.c: Remove CHAR16 handling.
1893
1894 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1895
1896 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1897
a0da5fe1
UD
1898 * configure.in: Remove --with-elf and --enable-bounded options.
1899 Dont set base_machine for ia64. More non-ELF conditions removed.
1900 Remove testing and setting of leading underscore information.
1901 * config.make.in (build-bounded): Set to no.
1902 * config.h.in: Remove NO_UNDERSCORES entry.
1903 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1904 them.
1905 * csu/start.c: Remove !NO_UNDERSCORE code.
1906 * locale/localeinfo.h: Likewise.
1907 * sysdeps/generic/machine-gmon.h: Likewise.
1908 * sysdeps/generic/sysdep.h: Likewise.
1909 * sysdeps/i386/sysdep.h: Likewise.
1910 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1911 * sysdeps/mach/sysdep.h: Likewise.
1912 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1913 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1914 * sysdeps/sh/sysdep.h: Likewise.
1915 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1916 * sysdeps/unix/i386/sysdep.S: Likewise.
1917 * sysdeps/unix/sparc/start.c: Likewise.
1918 * sysdeps/unix/sparc/sysdep.S: Likewise.
1919 * sysdeps/unix/sparc/sysdep.h: Likewise.
1920 * sysdeps/unix/start.c: Likewise.
1921 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1922 * sysdeps/x86_64/sysdep.h: Likewise.
1923
df78418a
UD
19242012-01-07 Ulrich Drepper <drepper@gmail.com>
1925
a784e502
UD
1926 [BZ #13553]
1927 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1928 for non-gcc.
1929 * argp/argp-fmtstream.h: Use const instead __const.
1930 * argp/argp.h: Likewise.
1931 * assert/assert.h: Likewise.
1932 * bits/fenv.h: Likewise.
1933 * bits/sched.h: Likewise.
1934 * bits/sigset.h: Likewise.
1935 * bits/sigthread.h: Likewise.
1936 * catgets/nl_types.h: Likewise.
1937 * conform/data/pthread.h-data: Likewise.
1938 * crypt/crypt-private.h: Likewise.
1939 * crypt/crypt.h: Likewise.
1940 * crypt/crypt_util.c: Likewise.
1941 * ctype/ctype.h: Likewise.
1942 * debug/execinfo.h: Likewise.
1943 * debug/mbsnrtowcs_chk.c: Likewise.
1944 * debug/mbsrtowcs_chk.c: Likewise.
1945 * debug/wcsnrtombs_chk.c: Likewise.
1946 * debug/wcsrtombs_chk.c: Likewise.
1947 * debug/wcstombs_chk.c: Likewise.
1948 * dirent/dirent.h: Likewise.
1949 * dlfcn/dlfcn.h: Likewise.
1950 * elf/neededtest4.c: Likewise.
1951 * grp/grp.h: Likewise.
1952 * gshadow/gshadow.h: Likewise.
1953 * iconv/gconv.h: Likewise.
1954 * iconv/gconv_int.h: Likewise.
1955 * iconv/gconv_simple.c: Likewise.
1956 * iconv/iconv.h: Likewise.
1957 * iconv/loop.c: Likewise.
1958 * iconv/skeleton.c: Likewise.
1959 * include/aio.h: Likewise.
1960 * include/aliases.h: Likewise.
1961 * include/argz.h: Likewise.
1962 * include/arpa/inet.h: Likewise.
1963 * include/assert.h: Likewise.
1964 * include/dirent.h: Likewise.
1965 * include/dlfcn.h: Likewise.
1966 * include/execinfo.h: Likewise.
1967 * include/fcntl.h: Likewise.
1968 * include/fenv.h: Likewise.
1969 * include/glob.h: Likewise.
1970 * include/grp.h: Likewise.
1971 * include/libintl.h: Likewise.
1972 * include/mntent.h: Likewise.
1973 * include/netdb.h: Likewise.
1974 * include/pwd.h: Likewise.
1975 * include/rpc/netdb.h: Likewise.
1976 * include/sched.h: Likewise.
1977 * include/search.h: Likewise.
1978 * include/shadow.h: Likewise.
1979 * include/signal.h: Likewise.
1980 * include/stdio.h: Likewise.
1981 * include/stdlib.h: Likewise.
1982 * include/string.h: Likewise.
1983 * include/sys/socket.h: Likewise.
1984 * include/sys/stat.h: Likewise.
1985 * include/sys/statfs.h: Likewise.
1986 * include/sys/statvfs.h: Likewise.
1987 * include/sys/syslog.h: Likewise.
1988 * include/sys/time.h: Likewise.
1989 * include/sys/uio.h: Likewise.
1990 * include/time.h: Likewise.
1991 * include/unistd.h: Likewise.
1992 * include/utmp.h: Likewise.
1993 * include/wchar.h: Likewise.
1994 * include/wctype.h: Likewise.
1995 * inet/aliases.h: Likewise.
1996 * inet/arpa/inet.h: Likewise.
1997 * inet/netinet/ether.h: Likewise.
1998 * inet/netinet/in.h: Likewise.
1999 * intl/libintl.h: Likewise.
2000 * io/bits/fcntl2.h: Likewise.
2001 * io/fcntl.h: Likewise.
2002 * io/ftw.h: Likewise.
2003 * io/sys/poll.h: Likewise.
2004 * io/sys/stat.h: Likewise.
2005 * io/sys/statfs.h: Likewise.
2006 * io/sys/statvfs.h: Likewise.
2007 * io/utime.h: Likewise.
2008 * libio/bits/stdio.h: Likewise.
2009 * libio/bits/stdio2.h: Likewise.
2010 * libio/libio.h: Likewise.
2011 * libio/libioP.h: Likewise.
2012 * libio/stdio.h: Likewise.
2013 * locale/lc-ctype.c: Likewise.
2014 * locale/locale.h: Likewise.
2015 * login/utmp.h: Likewise.
2016 * malloc/arena.c: Likewise.
2017 * malloc/malloc.c: Likewise.
2018 * malloc/malloc.h: Likewise.
2019 * malloc/mcheck.c: Likewise.
2020 * malloc/mtrace.c: Likewise.
2021 * math/bits/mathcalls.h: Likewise.
2022 * math/fenv.h: Likewise.
2023 * math/math_private.h: Likewise.
2024 * misc/bits/error.h: Likewise.
2025 * misc/bits/syslog.h: Likewise.
2026 * misc/err.h: Likewise.
2027 * misc/error.h: Likewise.
2028 * misc/fstab.h: Likewise.
2029 * misc/mntent.h: Likewise.
2030 * misc/regexp.h: Likewise.
2031 * misc/search.h: Likewise.
2032 * misc/sgtty.h: Likewise.
2033 * misc/sys/mman.h: Likewise.
2034 * misc/sys/syslog.h: Likewise.
2035 * misc/sys/uio.h: Likewise.
2036 * misc/sys/xattr.h: Likewise.
2037 * misc/ttyent.h: Likewise.
2038 * nis/rpcsvc/ypclnt.h: Likewise.
2039 * nss/nss.h: Likewise.
2040 * posix/bits/unistd.h: Likewise.
2041 * posix/fnmatch.h: Likewise.
2042 * posix/glob.h: Likewise.
2043 * posix/sched.h: Likewise.
2044 * posix/spawn.h: Likewise.
2045 * posix/sys/wait.h: Likewise.
2046 * posix/unistd.h: Likewise.
2047 * posix/wordexp.h: Likewise.
2048 * pwd/pwd.h: Likewise.
2049 * resolv/netdb.h: Likewise.
2050 * resource/sys/resource.h: Likewise.
2051 * rt/aio.h: Likewise.
2052 * rt/bits/mqueue2.h: Likewise.
2053 * rt/mqueue.h: Likewise.
2054 * shadow/shadow.h: Likewise.
2055 * signal/signal.h: Likewise.
2056 * socket/send.c: Likewise.
2057 * socket/sendto.c: Likewise.
2058 * socket/sys/socket.h: Likewise.
2059 * stdio-common/printf.h: Likewise.
2060 * stdlib/bits/stdlib.h: Likewise.
2061 * stdlib/fmtmsg.h: Likewise.
2062 * stdlib/monetary.h: Likewise.
2063 * stdlib/stdlib.h: Likewise.
2064 * stdlib/ucontext.h: Likewise.
2065 * streams/stropts.h: Likewise.
2066 * string/argz.h: Likewise.
2067 * string/bits/string2.h: Likewise.
2068 * string/string.h: Likewise.
2069 * string/strings.h: Likewise.
2070 * sunrpc/rpc/auth.h: Likewise.
2071 * sunrpc/rpc/auth_des.h: Likewise.
2072 * sunrpc/rpc/clnt.h: Likewise.
2073 * sunrpc/rpc/netdb.h: Likewise.
2074 * sunrpc/rpc/pmap_clnt.h: Likewise.
2075 * sunrpc/rpc/xdr.h: Likewise.
2076 * sysdeps/generic/inttypes.h: Likewise.
2077 * sysdeps/generic/net/if.h: Likewise.
2078 * sysdeps/generic/sys/swap.h: Likewise.
2079 * sysdeps/gnu/net/if.h: Likewise.
2080 * sysdeps/gnu/utmpx.h: Likewise.
2081 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2082 * sysdeps/i386/i486/bits/string.h: Likewise.
2083 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2084 * sysdeps/s390/bits/string.h: Likewise.
2085 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2086 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2087 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2088 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2089 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2090 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2091 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2092 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2093 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2094 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2095 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2096 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2097 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2098 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2099 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2100 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2101 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2103 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2104 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2105 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2106 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2107 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2108 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2109 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2110 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2111 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2112 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2113 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2114 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2115 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2116 * sysvipc/sys/ipc.h: Likewise.
2117 * sysvipc/sys/msg.h: Likewise.
2118 * sysvipc/sys/sem.h: Likewise.
2119 * sysvipc/sys/shm.h: Likewise.
2120 * termios/termios.h: Likewise.
2121 * time/sys/time.h: Likewise.
2122 * time/time.h: Likewise.
2123 * wcsmbs/bits/wchar2.h: Likewise.
2124 * wcsmbs/uchar.h: Likewise.
2125 * wcsmbs/wchar.h: Likewise.
2126 * wctype/wctype.h: Likewise.
2127
0269750c
UD
2128 [BZ #13551]
2129 * Makeconfig: Remove all but ELF support including AIX support.
2130 * Makerules: Likewise.
2131 * config.h.in: Likewise.
2132 * config.make.in: Likewise.
2133 * configure: Likewise.
2134 * configure.in: Likewise.
2135 * csu/Makefile: Likewise.
2136 * csu/version.c: Likewise.
2137 * debug/Makefile: Likewise.
2138 * dlfcn/Makefile: Likewise.
2139 * elf/Makefile: Likewise.
2140 * extra-lib.mk: Likewise.
2141 * iconv/Makefile: Likewise.
2142 * include/libc-symbols.h: Likewise.
2143 * include/shlib-compat.h: Likewise.
2144 * resolv/Makefile: Likewise.
2145 * resolv/res_libc.c: Likewise.
2146 * rt/Makefile: Likewise.
2147 * sysdeps/i386/asm-syntax.h: Likewise.
2148 * sysdeps/i386/sysdep.h: Likewise.
2149 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2150 * sysdeps/mach/sysdep.h: Likewise.
2151 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2152 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2153 * sysdeps/s390/asm-syntax.h: Likewise.
2154 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2155 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2156 * sysdeps/sh/sysdep.h: Likewise.
2157 * sysdeps/unix/sparc/sysdep.h: Likewise.
2158 * sysdeps/wordsize-32/divdi3.c: Likewise.
2159 * sysdeps/x86_64/sysdep.h: Likewise.
2160
00bbd29b
UD
2161 * argp/Versions: Remove _argp_unlock_xxx.
2162
2163 [BZ #13559]
2164 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2165 * abilist/libBrokenLocale.abilist: Likewise.
2166 * abilist/libanl.abilist: Likewise.
2167 * abilist/libc.abilist: Likewise.
2168 * abilist/libcrypt.abilist: Likewise.
2169 * abilist/libdl.abilist: Likewise.
2170 * abilist/libm.abilist: Likewise.
2171 * abilist/libnsl.abilist: Likewise.
2172 * abilist/libpthread.abilist: Likewise.
2173 * abilist/libresolv.abilist: Likewise.
2174 * abilist/librt.abilist: Likewise.
2175 * abilist/libthread_db.abilist: Likewise.
2176 * abilist/libutil.abilist: Likewise.
2177 * abilist/libnss_db.abilist: New file.
2178
2179 * scripts/abilist.awk: Add support for indirect functions.
2180
a2693a0e
UD
2181 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2182
3f05895f
UD
2183 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2184
ecb6fb48
UD
2185 * shlib-versions: Remove entries for ports architectures.
2186
664f8cb9
UD
2187 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2188 files in ports.
2189 * elf/stackguard-macros.h: Remove support for IA-64.
2190 * elf/tst-auditmod1.c: Likewise.
2191 * sysdeps/generic/ldsodefs.h: Likewise.
2192
7ae81d88
UD
2193 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2194 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2195 configure files.
2196
bdeba135
UD
2197 [BZ #13552]
2198 * configure.in: Remove --enable-omitfp support.
2199 * FAQ.in: Adjust.
2200 * config.make.in: Likewise.
2201 * Makeconfig: Likewise.
2202 * manual/install.texi: Likewise.
2203
d75a0a62
UD
2204 In case anyone cares, the IA-64 architecture could move to ports.
2205 * sysdeps/ia64/*: Removed.
2206 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2207 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2208
dcc9756b
UD
2209 [BZ #13555]
2210 * configure.in: Remove entries for unsupported architectures.
2211
d3761ebc 2212 [BZ #13533]
9954432e
UD
2213 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2214 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2215 routines.
2216 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2217 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2218 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2219 fall back to using wcrtomb.
2220 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2221 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2222 renaming.
2223 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2224 * wcsmbs/tst-c16c32-1.c: New file.
2225
2226 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2227 local variable.
2228
c3a87236
UD
2229 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2230
28926a1b
UD
2231 * elf/tst-unique3.cc: Add explicit declaration of gets.
2232 * elf/tst-unique3lib.cc: Likewise.
2233 * elf/tst-unique3lib2.cc: Likewise.
2234 * elf/tst-unique4.cc: Likewise.
2235
df78418a
UD
2236 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2237
8ecd6b2a
JM
22382012-01-06 Joseph Myers <joseph@codesourcery.com>
2239
2240 [BZ #13566]
2241 * assert/assert.h (static_assert): Don't define for C++.
2242 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2243 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2244
9f115170
UD
22452012-01-03 Ulrich Drepper <drepper@gmail.com>
2246
5e0d0300
UD
2247 * iconv/loop.c (single loop): Fix assertion in storing of
2248 remaining bytes.
2249
9f115170
UD
2250 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2251
81fb02b0
UD
22522012-01-01 Ulrich Drepper <drepper@gmail.com>
2253
2254 * posix/getconf.c: Update copyright year.
2255 * nss/getent.c: Likewise.
a316c1f6 2256 * nss/makedb.c: Likewise.
81fb02b0
UD
2257 * iconv/iconvconfig.c: Likewise.
2258 * iconv/iconv_prog.c: Likewise.
2259 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2260 * elf/pldd.c: Likewise.
2261 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2262 * catgets/gencat.c: Likewise.
2263 * csu/version.c: Likewise.
2264 * elf/ldd.bash.in: Likewise.
2265 * elf/sprof.c (print_version): Likewise.
2266 * locale/programs/locale.c: Likewise.
2267 * locale/programs/localedef.c: Likewise.
a316c1f6 2268 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2269 * nscd/nscd.c (print_version): Likewise.
2270 * debug/xtrace.sh: Likewise.
2271 * malloc/memusage.sh: Likewise.
2272 * malloc/mtrace.pl: Likewise.
2273 * debug/catchsegv.sh: Likewise.
2274
2ba92745
JJ
22752011-12-30 Jakub Jelinek <jakub@redhat.com>
2276
2277 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2278 pure attribute.
2279
dadebdae
UD
22802011-12-24 Ulrich Drepper <drepper@gmail.com>
2281
d3761ebc 2282 [BZ #13533]
db6af3eb
UD
2283 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2284 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2285 transformations.
2286 * iconv/gconv_int.h: Likewise.
2287 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2288 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2289 from libc for GLIBC_2.16.
2290 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2291 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2292 * wcsmbs/uchar.h: Really define mbstate_t.
2293 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2294 * wcsmbs/c16rtomb.c: New file.
2295 * wcsmbs/mbrtoc16.c: New file.
2296 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2297 for C/POSIX locale.
2298 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2299 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2300
dadebdae
UD
2301 * wcsmbs/wchar.h: Add missing __restrict.
2302
67371b56
UD
23032011-12-23 Ulrich Drepper <drepper@gmail.com>
2304
74033a25
UD
2305 [BZ #13532]
2306 * time/Makefile (routines): Add timespec_get.
2307 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2308 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2309 timespec for ISO C11.
2310 * time/timespec_get.c: New file.
2311 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2312 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2313
380d7e87
UD
2314 [BZ #13531]
2315 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2316 * stdlib/stdlib.h: Declare aligned_alloc.
2317 * Versions.def: Add GLIBC_2.16 for libc.
2318 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2319
4e9e7a35
UD
2320 [BZ 13527]
2321 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2322 ISO C11.
2323
380d7e87 2324 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2325 code.
2326
03a71829
UD
2327 [BZ #13528]
2328 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2329
839e283e
UD
2330 [BZ #13529]
2331 * assert/assert.h (static_assert): Define.
2332
ce5294e2 2333 * version.h: Update for 2.16 development version.
90fa7312 2334
8d44e150 2335 [BZ #13526]
d7809905
UD
2336 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2337 _ISOC11_SOURCE.
2338
c0da14cd
UD
2339 * version.h (RELEASE): Bump for 2.15 release.
2340 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2341
530a3249
MP
2342 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2343 Patch by Marek Polacek <mpolacek@redhat.com>.
2344
67371b56
UD
2345 * bits/byteswap.h: Protect long long constants with __extension__.
2346 * sysdeps/i386/bits/byteswap.h: Likewise.
2347 * sysdeps/ia64/bits/byteswap.h: Likewise.
2348 * sysdeps/s390/bits/byteswap.h: Likewise.
2349 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2350
15db4de1
LD
23512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2352
2353 [BZ #13540]
bbe315ea
LD
2354 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2355 destination buffer.
15db4de1
LD
2356 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2357
2b2596b1
MP
23582011-12-23 Marek Polacek <polacek@redhat.com>
2359
2360 * elf/dl-addr.c (determine_info): Add inline keyword.
2361 * elf/tst-auditmod4b.c (check_avx): Likewise.
2362 * elf/tst-auditmod6b.c (check_avx): Likewise.
2363 * elf/tst-auditmod6c.c (check_avx): Likewise.
2364 * elf/tst-auditmod7b.c (check_avx): Likewise.
2365
70c6c246
UD
23662011-12-23 Ulrich Drepper <drepper@gmail.com>
2367
2368 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2369 !__SSE_MATH__.
2370
c044cf14
LD
23712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2372
15db4de1 2373 [BZ #13540]
c044cf14
LD
2374 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2375 processing for last bytes.
2376
6b13d9d9
BH
23772011-08-06 Bruno Haible <bruno@clisp.org>
2378
d455f537
BH
2379 [BZ #13061]
2380 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2381 U+0385, not to U+1FEE.
2382
6b13d9d9
BH
2383 [BZ #13062]
2384 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2385 entry for U+00A5 U+0301.
2386
db910efd
UD
23872011-12-22 Ulrich Drepper <drepper@gmail.com>
2388
27deeafc
UD
2389 [BZ #13166]
2390 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2391 buffer for the output is too small.
2392
aed9d171
UD
2393 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2394 optimization.
2395
db910efd
UD
2396 [BZ #13185]
2397 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2398 SSE flags if possible.
2399
2bd779ae
LD
24002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2401
e7f9dac3 2402 [BZ #13540]
2bd779ae
LD
2403 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2404 processing for last bytes.
2405
154bfc16
JM
24062011-12-22 Joseph Myers <joseph@codesourcery.com>
2407
2408 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2409 (syscall-list-default-options, syscall-list-default-condition)
2410 (syscall-list-includes): Define.
2411 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2412 list of ABIs and options and #if conditions for each ABI. Do not
2413 handle common syscalls between ABIs specially.
2414 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2415 Remove.
2416 (syscall-list-variants, syscall-list-32bit-options)
2417 (syscall-list-32bit-condition, syscall-list-64bit-options)
2418 (syscall-list-64bit-condition): Define.
2419 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2420 (syscall-list-variants, syscall-list-32bit-options)
2421 (syscall-list-32bit-condition, syscall-list-64bit-options)
2422 (syscall-list-64bit-condition): Define.
2423 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2424 Remove.
2425 (syscall-list-variants, syscall-list-32bit-options)
2426 (syscall-list-32bit-condition, syscall-list-64bit-options)
2427 (syscall-list-64bit-condition): Define.
2428 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2429 Remove.
2430 (syscall-list-variants, syscall-list-32bit-options)
2431 (syscall-list-32bit-condition, syscall-list-64bit-options)
2432 (syscall-list-64bit-condition): Define.
2433
21eaf3a5
UD
24342011-12-22 Ulrich Drepper <drepper@gmail.com>
2435
16c6f992
UD
2436 * locale/iso-639.def: Add brx entry.
2437
41043168
UD
2438 [BZ #13328]
2439 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2440 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2441
21eaf3a5
UD
2442 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2443 __feraiseexcept_renamed.
2444
e3a851a2
UD
24452011-12-21 Ulrich Drepper <drepper@gmail.com>
2446
4920765e
UD
2447 [BZ #13538]
2448 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2449 EPOLLET with unsigned values.
2450 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2452
e3a851a2
UD
2453 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2454 to large cancellation.
2455 * math/s_cacoshf.c: Likewise.
2456 * math/s_cacoshl.c: Likewise.
2457
b27e24b8
RK
24582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2459
2460 [BZ #13305]
aebefeee 2461 [BZ #12786]
b27e24b8
RK
2462 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2463 * math/s_cacoshf.c: Likewise.
2464 * math/s_cacoshl.c: Likewise.
2465
ee190f67
UD
24662011-12-21 Ulrich Drepper <drepper@gmail.com>
2467
2468 [BZ #13439]
2469 * iconv/gconv.h: Define __GCONV_SWAP.
2470 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2471 * iconvdata/utf-16.c: Likewise.
2472 * iconvdata/utf-32.c: Likewise.
2473
707f25df
AS
24742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2475
2476 [BZ #13524]
2477 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2478 numerator after shifting it by one limb.
2479
d2daaa1e
RÁE
24802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2481
2482 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2483 under [__USE_EXTERN_INLINES].
2484
a4647e72
UD
24852011-12-17 Ulrich Drepper <drepper@gmail.com>
2486
2487 [BZ #13446]
2488 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2489
f0b264f1
AZ
24902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2491
2492 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2493 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2494 optimized code.
2495 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2496 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2497 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2498 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2499 for strncasecmp/strncasecmp_l compilation.
2500 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2501 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2502
8ef4f244
MP
25032011-12-08 Marek Polacek <mpolacek@redhat.com>
2504
2505 [BZ #13484]
2506 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2507 of __asm__.
2508
97ac2654
UD
25092011-12-17 Ulrich Drepper <drepper@gmail.com>
2510
2511 [BZ #13506]
2512 * time/tzfile.c (__tzfile_read): Check values from file header.
2513
91d2a845
WS
25142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2515
2516 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2517 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2518 * powerpc/powerpc32/dl-start.S: Likewise.
2519 * powerpc/powerpc32/elf/start.S: Likewise.
2520 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2521 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2522 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2523 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2524 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2525 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2526 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2527 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2528 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2529 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2530 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2531 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2532 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2533 * powerpc/powerpc32/memset.S: Likewise.
2534 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2535 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2536 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2537 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2538 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2539 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2540 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2541 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2542 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2543 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2544 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2545 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2546 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2547
a1267ba1
AZ
25482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549
2550 * math/libm-test.inc: Added more nearbyint tests.
2551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2552 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2554 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2555
ad8ac1bd
RL
25562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2557
2558 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2559 FD_CLOEXEC.
2560
1d3e4b61
UD
25612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2562
2563 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2564 Add wcscpy-ssse3 wcscpy-c.
2565 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2566 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2567 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2568 * sysdeps/x86_64/wcschr.S: New file.
2569 * sysdeps/x86_64/wcsrchr.S: New file.
2570 * string/test-strcmp.c: Remove checking of wcscmp function for
2571 wrong alignments.
2572 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2573 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2574 wcsrchr-sse2 wcsrchr-c.
2575 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2576 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2577 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2578 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2579 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2580 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2581 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2582 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2583 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2584 * wcsmbc/wcschr.c (WCSCHR): New macro.
2585
5b330a2d
UD
25862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2587
2588 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2589 * wcsmbs/test-wcsrchr.c: New file.
2590 * string/test-strrchr.c: Add wcsrchr support.
2591 (WIDE): New macro.
2592 * wcsmbs/test-wcscpy.c: New file.
2593 * string/test-strcpy.c: Add wcscpy support.
2594 (WIDE): New macro.
26428b7c 2595
f039c043
UD
25962011-12-10 Ulrich Drepper <drepper@gmail.com>
2597
2598 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2599 the inner loop.
2600
850fb039
AS
26012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2602
2603 [BZ #13472]
2604 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2605
4efbd5cb
UD
26062011-12-04 Ulrich Drepper <drepper@gmail.com>
2607
52ff5dd0 2608 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2609 Minor optimizations.
52ff5dd0 2610
4efbd5cb
UD
2611 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2612 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2613 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2614
8a426e12
UD
26152011-12-03 Ulrich Drepper <drepper@gmail.com>
2616
aff2453d
UD
2617 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2618 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2619 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2620 for gcc to avoid warnings.
2621 * inet/Makefile (tests): Add tst-checks.
2622 * inet/tst-checks.c: New file.
2623
2624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2625 warning.
2626
2627 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2628 __wmemcmp_sse2.
2629
2630 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2631 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2632
8a426e12
UD
2633 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2634
9bea3473
UD
26352011-12-02 Ulrich Drepper <drepper@gmail.com>
2636
3a965496
UD
2637 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2638 problem.
2639
9bea3473
UD
2640 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2641
f101631b
UD
26422011-11-29 Joseph Myers <joseph@codesourcery.com>
2643
2644 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2645 conditional on GCC version.
2646 (__arch_compare_and_exchange_val_8_acq)
2647 (__arch_compare_and_exchange_val_16_acq)
2648 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2649 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2650 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2651
a98275aa
UD
26522011-12-02 Joseph Myers <joseph@codesourcery.com>
2653
2654 * sysdeps/sh/backtrace.c: New file.
2655
d4cc29a2
AS
26562011-12-02 Andreas Schwab <schwab@redhat.com>
2657
2658 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2659 parenthesis.
2660
6257af2d
AS
26612011-12-01 Andreas Schwab <schwab@redhat.com>
2662
2663 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2664 falling back to utime.
2665
b5f44c1a
AS
26662011-11-30 Andreas Schwab <schwab@redhat.com>
2667
2668 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2669 expectations for float.
2670
f3a6cc0a
AS
26712011-11-29 Andreas Schwab <schwab@redhat.com>
2672
2673 * locale/weight.h (findidx): Add parameter len.
2674 * locale/weightwc.h (findidx): Likewise.
2675 * posix/fnmatch_loop.c (FCT): Adjust caller.
2676 * posix/regcomp.c (build_equiv_class): Likewise.
2677 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2678 * posix/regexec.c (check_node_accept_bytes): Likewise.
2679 * string/strcoll_l.c (STRCOLL): Likewise.
2680 * string/strxfrm_l.c (STRXFRM): Likewise.
2681
9d65ea3a
UD
26822011-11-17 Ulrich Drepper <drepper@gmail.com>
2683
2684 * Makefile.in: Remove CVSOPT handling.
2685 * configure.in: Remove use of AC_REVISION.
2686 * iconvdata/Makefile (distribute): No need to filter out CVS.
2687 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2688 handling.
2689
5583a086
AS
26902011-11-16 Andreas Schwab <schwab@redhat.com>
2691
2692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2693 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2694 [USE_AS_STRNCASECMP_L]: Likewise.
2695 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2696 NO_TLS_DIRECT_SEG_REFS.
2697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2698 Fix argument offsets for non-PIC.
2699 [USE_AS_STRNCASECMP_L]: Likewise.
2700 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2701 NO_TLS_DIRECT_SEG_REFS.
2702
d62a8200
UD
27032011-11-15 Ulrich Drepper <drepper@gmail.com>
2704
9d65ea3a 2705 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2706 O_CLOEXEC.
2707 * locale/loadlocale.c (_nl_load_locale): Likewise.
2708
09f93bd3
AS
27092011-11-15 Andreas Schwab <schwab@redhat.com>
2710
446514f9
AS
2711 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2712 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2713 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2714 (SYSCALL_GETTIME): Set errno on error.
2715
09f93bd3
AS
2716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2717 count references to noai6ai_cached.
2718
312be3f9
UD
27192011-11-15 Ulrich Drepper <drepper@gmail.com>
2720
2721 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2722
2723 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2724 FD_CLOEXEC for /proc/self/maps.
2725
2726 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2727 FD_CLOEXEC for /proc/meminfo.
2728
2729 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2730 gai.conf.
2731
2732 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2733 FD_CLOEXEC for given file.
2734
2735 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2736
2737 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2738 FD_CLOEXEC for /etc/hosts.
2739 (_gethtent): Likewise.
2740
2741 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2742
2743 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2744 cancellation and set FD_CLOEXEC for /etc/netgroup.
2745
2746 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2747 reading /etc/publickey.
2748
2749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2750 allow cancellation when reading /etc/group.
2751
2752 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2753 cancellation.
2754 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2755
2756 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2757 when using data file.
2758
2759 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2760
2761 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2762 (write_nis_obj): Use "c" and "e" in fopen.
2763
2764 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2765
2766 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2767
2768 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2769
2770 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2771
2772 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2773 locale.alias.
2774
2775 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2776
2777 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2778
2779 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2780
2781 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2782 file parsing and set FD_CLOEXEC.
2783
82af0fa8
UD
27842011-11-14 Ulrich Drepper <drepper@gmail.com>
2785
2786 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2787
a5fb313c
AS
27882011-11-14 Andreas Schwab <schwab@redhat.com>
2789
2790 * malloc/arena.c (arena_get2): Don't call reused_arena when
2791 _int_new_arena failed.
2792
6abf3465
UD
27932011-11-14 Ulrich Drepper <drepper@gmail.com>
2794
2795 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2796 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2797 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2798 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2799 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2800 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2801 to compile strcasecmp and strncasecmp.
2802 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2803 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2804
2805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2806
76e3966e
UD
28072011-11-13 Ulrich Drepper <drepper@gmail.com>
2808
2809 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2810 locale-defines.sym to gen-as-const-headers.
2811 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2812 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2814 to compile strcasecmp and strncasecmp.
2815 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2816 strcasecmp_l and strncasecmp_l.
2817 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2818 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2819 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2820 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2821 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2822 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2823 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2824 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2825 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2826 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2827 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2828
ab26144e
UD
28292011-11-12 Ulrich Drepper <drepper@gmail.com>
2830
7edb22ef
UD
2831 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2832 result of SYSDEP_GETTIME_CPU to retval.
2833 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2834 parameter list to macro. Remove trailing semicolon. Adjust users.
2835
9694fc44
UD
2836 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2837 variable.
2838
8ad89ef8
UD
2839 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2840 mantissa words.
2841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2842
0c822ef9
UD
2843 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2844 from unused variable.
2845
874e0564
UD
2846 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2847 DWARF definitions.
2848 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2849 for assembling.
2850
3a2edc79
UD
2851 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2852 over namespaces.
2853
f3c2577f
UD
2854 * sunrpc/rpc_prot.c (rejected): Fix case value.
2855
294ce126
UD
2856 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2857 unsigned long long int to avoid warnings in shift.
2858
5e2b63c6
UD
2859 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2860 of use of trans.
2861 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2862 variable tmp.
2863
e7f4b08e
UD
2864 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2865 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2866 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2867
ab26144e
UD
2868 * nis/nis_table.c (nis_list): Use variable of correct type for
2869 result of __follow_path call.
2870
8a6d5255
AZ
28712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2872
2873 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2874 of math functions ceil, trunc, floor, round, and sqrt, when
2875 avaliable on the platform.
2876 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2877 name clash.
2878 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2879 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2880 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2881
aaddc98c
MP
28822011-10-30 Marek Polacek <mpolacek@redhat.com>
2883
2884 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2885 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2886
95b7042b
RM
28872011-11-11 Roland McGrath <roland@hack.frob.com>
2888
2889 * include/unistd.h: Fix __readlink return type.
2890 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2891
57769839
UD
28922011-11-11 Ulrich Drepper <drepper@gmail.com>
2893
2894 * stdlib/ucontext.h: Undo last change for makecontext.
2895
edc5984d
AS
28962011-11-11 Andreas Schwab <schwab@redhat.com>
2897
98591e58
AS
2898 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2899
edc5984d
AS
2900 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2901 * setjmp/setjmp.h: Mark functions as non-leaf.
2902 * setjmp/bits/setjmp2.h: Likewise.
2903 * stdlib/ucontext.h: Likewise.
2904
77cdc054
AS
29052011-11-10 Andreas Schwab <schwab@redhat.com>
2906
2907 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2908 (reused_arena): Don't check arena limit.
2909 (arena_get2): Atomically check arena limit.
2910
fe72eebd
UD
29112011-11-08 Ulrich Drepper <drepper@gmail.com>
2912
5f078c32
UD
2913 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2914 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2915
fe72eebd
UD
2916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2917 instructions.
2918
ae1bc2fa
AS
29192011-11-07 Andreas Schwab <schwab@redhat.com>
2920
7583a88d
AS
2921 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2922 handler when locking.
2923
ae1bc2fa
AS
2924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2925 Fix size of allocated buffer.
2926
10fb0bfa
AS
29272011-11-04 Andreas Schwab <schwab@redhat.com>
2928
998832a4
AS
2929 [BZ #10103]
2930 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2931 declarations for long double functions.
2932 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2933
10fb0bfa
AS
2934 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2935
3d7ba52b
AS
29362011-11-03 Andreas Schwab <schwab@redhat.com>
2937
a9ae54a1
AS
2938 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2939 installed.
2940
3d7ba52b
AS
2941 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2942 is disabled.
2943
bc8db248
ST
29442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2945
2946 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2947
45b96dd6
AS
29482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2949
647776f6
AS
2950 * include/alloca.h (stackinfo_alloca_round): Define.
2951 (extend_alloca): Use it.
2952 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2953 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2954 here.
2955
d91a8b93
AS
2956 * scripts/check-local-headers.sh: Ignore libaudit.h.
2957
45b96dd6
AS
2958 * nscd/Makefile (extra-objs): Make recursively expanded.
2959
432d41ce
UD
29602011-11-01 Ulrich Drepper <drepper@gmail.com>
2961
34372fc6
UD
2962 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2964
fadb59f8
UD
2965 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2966 * posix/tst-rfc3484-2.c: Likewise.
2967 * posix/tst-rfc3484-3.c: Likewise.
2968
78239589
UD
2969 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2970 process_vm_writev.
2971 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2972 process_vm_writev.
2973 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2974 process_vm_writev from libc using GLIBC_2.15 version.
2975
432d41ce
UD
2976 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2977
02f9c6cf
PP
29782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2979
2980 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2981 stack usage.
2982
3a2c0242
UD
29832011-10-31 Ulrich Drepper <drepper@gmail.com>
2984
f4ec4833
UD
2985 [BZ #13367]
2986 * nss/getent.c (initgroups_keys): Show error message in case no group
2987 names are given.
2988
3a2c0242
UD
2989 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2990 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2991 __bump_nl_timestamp.
2992 * nscd/connections (nscd_init): When host database is served open
2993 netlink socket and request notification about configuration changes.
2994 (main_loop_poll): Track netlink file descriptor and bump timestamp
2995 in case data becomes available.
2996 (main_loop_epoll): Likewise.
2997 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2998 (database_pers_head): Add extra_data fileds.
2999 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3000 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3001 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3002 Adjust caller.
3003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3004 in6ai data, call __free_in6ai.
3005 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3006 Add -DHAVE_NETLINK.
3007 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3008 interface information. Reuse previous data if netlink timestamp
3009 is not changed.
3010 (__bump_nl_timestamp): New function.
3011 (__free_in6ai): New function.
3012
636064eb
UD
30132011-10-30 Ulrich Drepper <drepper@gmail.com>
3014
3015 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3016 close_not_cancel_no_status here.
3017 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3018
9beb2334
UD
30192011-10-29 Ulrich Drepper <drepper@gmail.com>
3020
6ef76f3b
UD
3021 [BZ #13276]
3022 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3023 return value.
3024
0ffc4f3e 3025 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3026 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3027 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3028
cb95113e
UD
30292011-07-03 Andreas Jaeger <aj@suse.de>
3030
3031 [BZ #10709]
3032 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3033 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3034 * math/libm-test.inc (sin_test): Add test case.
3035
a1b560ff
UD
30362011-10-29 Ulrich Drepper <drepper@gmail.com>
3037
c9aaface
UD
3038 [BZ #13337]
3039 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3040 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3041
d272e7f1
UD
3042 * elf/chroot_canon.c (chroot_canon): Cleanups.
3043
1bc33071
UD
3044 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3045
1760874d
TJ
3046 [BZ #13335]
3047 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3048 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3049
51d91b18
UD
3050 * string/test-strchr.c: Make usable for strchrnul testing.
3051 * string/test-strchrnul.c: New file.
3052 * string/Makefile (strop-tests): Add strchrnul.
3053
a1b560ff 3054 * po/it.po: Update from translation team.
b611fb81 3055 * po/es.po: Likewise.
a1b560ff 3056
a5b81e1f
UD
30572011-10-28 Ulrich Drepper <drepper@gmail.com>
3058
fd52bc6d
UD
3059 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3060 the three constants needed as parameters. Drop the others.
3061 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3062 __m128i_strloadu_tolower.
52e4b9eb
UD
3063 Create and initialize variable zero and use it in all the places
3064 where _mm_setzero_si128 was used.
fd52bc6d 3065
a5b81e1f
UD
3066 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3067 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3068 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3069 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3070 anymore.
3071 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3072 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3073 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3074 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3075 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3076 __mpranred, __mptan.
3077 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3078 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3079 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3080 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3081 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3082 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3084 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3085 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3086
b4343346
AS
30872011-10-28 Andreas Schwab <schwab@redhat.com>
3088
0c92d8a8
AS
3089 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3090 redefine if SHARED.
3091 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3092
b4343346
AS
3093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3094 wide char related routines to wcsmbs subdir.
3095
3871f58f
AS
30962011-10-27 Andreas Schwab <schwab@redhat.com>
3097
3098 [BZ #13344]
3099 * misc/sys/cdefs.h (__THROWNL): Define.
3100 * posix/unistd.h: Use __THREADNL instead of __THREAD
3101 for memory synchronization functions.
3102
94d44d9f
RM
31032011-10-26 Roland McGrath <roland@hack.frob.com>
3104
21b64b15 3105 [BZ #13349]
94d44d9f
RM
3106 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3107 doesn't exist.
3108 * manual/stdio.texi (Obstack Streams): Node removed.
3109
f6ce9294
AS
31102011-10-26 Andreas Schwab <schwab@redhat.com>
3111
80479147
AS
3112 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3113 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3114 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3115
f6ce9294
AS
3116 * math/math_private.h (math_force_eval): Allow non-addressable
3117 arguments.
3118 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3119
618280a1
UD
31202011-10-25 Ulrich Drepper <drepper@gmail.com>
3121
e0016b11
UD
3122 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3123 file is not needed.
3124
3125 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3126 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3127 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3128 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3129 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3130 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3131 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3132 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3133 Add AVX variants.
3134 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3135 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3136 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3137 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3138 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3139 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3140 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3141 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3142 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3143 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3144 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3145 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3146 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3147 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3148 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3149 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3150 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3151 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3152 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3153
3154 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3155 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3156
618280a1
UD
3157 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3158 place. Use VEX encoding when compiling for AVX.
3159
37822576
AS
31602011-10-25 Andreas Schwab <schwab@redhat.com>
3161
1f1e1947
AS
3162 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3163 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3164
37822576
AS
3165 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3166
31ea014d
UD
31672011-10-25 Ulrich Drepper <drepper@gmail.com>
3168
d7826aa1 3169 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3170 useless if() expression.
d7826aa1
UD
3171 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3172 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3173 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3174 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3175 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3176 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3177 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3179 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3180 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3181 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3182 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3183 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3184 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3185 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3186 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3187 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3189 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3190
31ea014d
UD
3191 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3192
16437fec
AS
31932011-10-25 Andreas Schwab <schwab@redhat.com>
3194
3195 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3196 condition.
3197 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3198
31d3cc00
UD
31992011-10-25 Ulrich Drepper <drepper@gmail.com>
3200
3201 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3202 .text section. Avoid duplicate constants.
3203 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3211 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3212 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3213 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3214 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3215 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3216 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3217 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3218 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3219 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3220 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3221 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3223 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3224 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3225 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3226 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3227 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3228 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3229 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3230 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3231 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3232 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3233 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3234 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3235 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3236 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3237 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3238 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3239 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3240 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3241 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3242 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3243 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3244 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3245 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3246 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3247 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3248
58985aa9
UD
32492011-10-24 Ulrich Drepper <drepper@gmail.com>
3250
202c9deb
UD
3251 * sysdeps/x86_64/dla.h: Move to ...
3252 * sysdeps/x86_64/fpu/dla.h: ...here.
3253 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3254 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3255
af968f62
UD
3256 * config.make.in: Add have-mfma4 entry.
3257 * configure.in: Substitute libc_cv_cc_fma4.
3258 * math/Makefile (dbl-only-routines): Add sincostab.
3259 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3260 Use __sincostab not sincos.
3261 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3262 name is a macro.
3263 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3267 using __copysign.
3268 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3269 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3270 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3271 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3272 and __inv.
3273 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3274 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3275 __copysign.
3276 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3277 define aliases when function name is a macro.
3278 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3279 sysdeps/ieee754/dbl-64/sincos.tbl.
3280 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3281 fma4-enabled routines.
3282 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3283 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3284 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3285 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3286 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3287 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3288 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3289 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3291 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3292 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3293 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3294 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3295 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3296 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3297 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3298 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3299 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3300 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3301 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3302 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3303 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3305 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3307 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3308 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3309 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3310 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3311 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3312
58985aa9
UD
3313 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3314 rename.
3315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3323
a201fbcf
AS
33242011-10-24 Andreas Schwab <schwab@redhat.com>
3325
3326 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3327
fc2ee42a
LD
33282011-10-23 Ulrich Drepper <drepper@gmail.com>
3329
bb3129bd
UD
3330 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3331
0275fff8
UD
3332 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3333 prediction.
3334 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3335
2fa2ae85
UD
3336 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3337 Remove unused variable magic_bits.
3338 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3339
fc2ee42a
LD
3340 * string/strnlen.c: Define and use STRNLEN macro.
3341 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3342 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3343 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3344 * wcsmbs/wcslen.c: Define and use WCSLEN.
3345 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3346 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3347 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3348 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3349 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3350 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3351 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3352
ce7dd29f
LD
33532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3354
3355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3356 strnlen-sse2-no-bsf.
3357 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3359 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3360 Add strnlen support.
3361 (USE_AS_STRNLEN): New macro.
3362 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3364 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3365 * sysdeps/x86_64/wcslen.S: New file.
3366
979c70a3
MZ
33672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3368
3369 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3370 XMM-moves are used for copying on small sizes.
3371
2d09f82f
LD
33722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3373
3374 * wcsmbs/Makefile (strop-tests): Add wcschr.
3375 * wcsmbs/test-wcschr.c: New file.
3376 * string/test-strchr.c: Update.
3377 Add wcschr support.
3378 (WIDE): New macro.
3379
619fccca
LD
33802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3381
2d09f82f 3382 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3383 * wcsmbs/test-wcslen.c: New file.
3384 * string/test-strlen.c: Update.
3385 Add wcslen support.
3386 (WIDE): New macro.
3387
09f699ea
UD
33882011-10-23 Ulrich Drepper <drepper@gmail.com>
3389
3390 * po/it.po: Update from translation team.
3391
95584d3b
LD
33922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3393
3394 * sysdeps/x86_64/wcscmp.S: Update.
3395 Fix wrong comparison semantics.
3396 wcscmp shall use signed comparison not unsigned.
3397 Don't use substraction to avoid overflow bug.
3398 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3399 * wcsmbc/wcscmp.c: Likewise.
3400 * string/test-strcmp.c: Likewise.
3401 Add new tests to check cases with negative values.
3402
c8b3296b
UD
34032011-10-23 Ulrich Drepper <drepper@gmail.com>
3404
3405 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3406 * sysdeps/x86_64/dla.h: ...here. New file.
3407 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3411 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3412 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3414 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3416
246ad57a
AS
34172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3418
3419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3420 __ynl_finite aliases.
3421
a1a87169
UD
34222011-10-22 Ulrich Drepper <drepper@gmail.com>
3423
0d355eb7
UD
3424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3425
a1a87169
UD
3426 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3427 define DLA_FMA.
3428 [DLA_FMA] (EMULV): Use DLA_FMA.
3429 [DLA_FMA] (MUL12): Use EMULV.
3430 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3431 that are not needed.
3432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3439
ee2aafe0
AS
34402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3441
3442 * math/s_nan.c: Undef __nan.
3443 * math/s_nanf.c: Undef __nanf.
3444 * math/s_nanl.c: Undef __nanl.
3445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3446 "math_private.h".
3447
bc62c2fb
UD
34482011-10-22 Ulrich Drepper <drepper@gmail.com>
3449
77425c63
UD
3450 * math/s_catan.c: Add branch predictions.
3451 * math/s_catanf.c: Likewise.
3452 * math/s_catanh.c: Likewise.
3453 * math/s_catanhf.c: Likewise.
3454 * math/s_catanhl.c: Likewise.
3455 * math/s_catanl.c: Likewise.
3456 * math/s_cexp.c: Likewise.
3457 * math/s_cexpf.c: Likewise.
3458 * math/s_cexpl.c: Likewise.
3459 * math/s_clog.c: Likewise.
3460 * math/s_clog10.c: Likewise.
3461 * math/s_clog10f.c: Likewise.
3462 * math/s_clog10l.c: Likewise.
3463 * math/s_clogf.c: Likewise.
3464 * math/s_clogl.c: Likewise.
3465 * math/s_csqrt.c: Likewise.
3466 * math/s_csqrtf.c: Likewise.
3467 * math/s_csqrtl.c: Likewise.
3468 * math/s_ctanf.c: Likewise.
3469 * math/s_ctanh.c: Likewise.
3470 * math/s_ctanhf.c: Likewise.
3471 * math/s_ctanhl.c: Likewise.
3472 * math/s_ctanl.c: Likewise.
3473
bc62c2fb
UD
3474 * math/math_private.h: Define __nan, __nanf, __nanl.
3475 * math/s_cacosh.c: Include <math_private.h>.
3476 * math/s_cacoshl.c: Likewise.
3477 * math/s_casinh.c: Likewise.
3478 * math/s_casinhf.c: Likewise.
3479 * math/s_casinhl.c: Likewise.
3480 * math/s_ccos.c: Rely entire on ccosh.
3481 * math/s_ccosf.c: Rely entire on ccoshf.
3482 * math/s_ccosl.c: Rely entirely on ccoshl.
3483 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3484 Remove tests for FE_INVALID.
3485 * math/s_ccoshf.c: Likewise.
3486 * math/s_ccoshl.c: Likewise.
3487 * math/s_csin.c: Likewise.
3488 * math/s_csinf.c: Likewise.
3489 * math/s_csinh.c Likewise.
3490 * math/s_csinhf.c: Likewise.
3491 * math/s_csinhl.c: Likewise.
3492 * math/s_csinl.c: Likewise.
3493 * math/s_ctan.c: Likewise.
3494 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3495 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3497
8ec250a4
UD
34982011-10-21 Ulrich Drepper <drepper@gmail.com>
3499
c196fed8
UD
3500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3501 compilation problems.
3502
8ec250a4
UD
3503 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3504 __builtin_expect.
3505
8d4f46c6
UD
35062011-10-20 Ulrich Drepper <drepper@gmail.com>
3507
ed72b654
UD
3508 * sysdeps/i386/configure.in: Test for -mfma4 option.
3509 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3510 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3511 COMMON_CPUID_INDEX_80000001.
3512 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3513 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3514 use it if FMA3 is not supported.
3515 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3516
8d4f46c6
UD
3517 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3518 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3519
d45c60c2
AS
35202011-10-20 Andreas Schwab <schwab@redhat.com>
3521
3522 [BZ #12892]
3523 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3524 it would create a cycle with a link time dependency.
3525
d9a4d2ab
UD
35262011-10-19 Ulrich Drepper <drepper@gmail.com>
3527
855d1560
UD
3528 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3529 instruction.
3530 * string/Makefile (strop-tests): Add rawmemchr.
3531 * string/test-rawmemchr.c: New file.
3532
d9a4d2ab
UD
3533 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3534 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3535 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3536 when compiling str{,n}casecmp and when AVX is available. Hook up
3537 new optimized code in initializers.
3538
8f3b1ffe
AS
35392011-10-19 Andreas Schwab <schwab@redhat.com>
3540
3541 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3542 __feraiseexcept instead of feraiseexcept.
3543
d38f1dba
UD
35442011-10-18 Ulrich Drepper <drepper@gmail.com>
3545
d9a8d0ab
UD
3546 * math/math_private.h: Define defaults for libc_fetestexcept and
3547 libc_feupdateenv.
3548 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3549 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3550 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3551 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3552 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3553 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3554 libc_fetestexcept and libc_feupdateenv.
3555
4855e3dd
UD
3556 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3557 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3558 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3559 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3560 libc_feholdexcept_setround.
3561
581d30e3
UD
3562 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3563 Add s_nearbyint-c and s_nearbyintf-c.
3564 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3565 nearbyintf inlines.
3566 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3567 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3568 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3569 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3570
d38f1dba
UD
3571 * math/math_private.h: Define defaults for libc_fegetround,
3572 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3573 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3574 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3576 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3577 standard functions.
3578 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3579 Remove comments and hacks for old compiler versions.
3580 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3581 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3582 libc_feholdexceptl.
3583
caa6c9d8
AS
35842011-10-18 Andreas Schwab <schwab@redhat.com>
3585
3586 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3587 (__feraiseexcept_renamed): Add __NTH.
3588 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3589 namespace violations.
3590
97c066e6
UD
35912011-10-17 Ulrich Drepper <drepper@gmail.com>
3592
99ce7b04
UD
3593 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3594
1004d182
UD
3595 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3596
228a984d
UD
3597 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3598 recently added interfaces.
3599 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3600
c8553a6a
UD
3601 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3602 about macro parameter expansion.
3603
ed22dcf6
UD
3604 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3605 __NO_MATH_INLINES is defined. Cleanups.
3606
3607 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3608 and __floorf is target has SSE4.1.
3609 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3610 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3611 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3612 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3613
b171c137
UD
3614 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3615 name.
3616 (floorf): Likewise.
3617
97c066e6
UD
3618 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3619
629f62ef
AS
36202011-10-17 Andreas Schwab <schwab@redhat.com>
3621
49a43d80
AS
3622 * misc/sys/cdefs.h: Fix last change.
3623
629f62ef
AS
3624 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3625 database lookup.
3626
e453f6cd
UD
36272011-10-16 Ulrich Drepper <drepper@gmail.com>
3628
aa78043a
UD
3629 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3630
ad0f5cad
UD
3631 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3637 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3638 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3639 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3640 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3641 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3642 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3643 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3644 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3645 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3646 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3647 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3648 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3649 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3650 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3651 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3652 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3653
3654 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3655 ceil, ceilf, floor, floorf.
3656
3657 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3658 Perform IRELATIVE relocations last.
3659
e453f6cd
UD
3660 * elf/do-rel.h: Add another parameter nrelative, replacing the
3661 local variable with the same name. Change name of the function
3662 to end in Rel or Rela (uppercase).
3663 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3664 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3665 elf_dynamic_do_##reloc function.
3666
fd5bdc09
UD
36672011-10-15 Ulrich Drepper <drepper@gmail.com>
3668
79b195b5
UD
3669 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3670 is sufficient, at least on modern CPUs.
3671
d4a28569
UD
3672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3673
b61099b5
UD
3674 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3675 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3676
bcf01e6d
UD
3677 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3678 __expl_finite.
3679 * math/bits/math-finite.h: Add entries for exp.
3680 * math/e_expl.c: Add __*_finite alias.
3681 * sysdeps/i386/fpu/e_exp.S: Likewise.
3682 * sysdeps/i386/fpu/e_expf.S: Likewise.
3683 * sysdeps/i386/fpu/e_expl.c: Likewise.
3684 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3685 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3689 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3690 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3691
ba1a0d59
UD
3692 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3693 is sufficient, at least on modern CPUs.
3694
fd5bdc09
UD
3695 * ctype/ctype-info.c (__ctype_init): Define.
3696 * include/ctype.h (__ctype_init): Declare.
3697 (__ctype_b_loc): The variable is always initialized.
3698 (__ctype_toupper_loc): Likewise.
3699 (__ctype_tolower_loc): Likewise.
3700 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3701 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3702
7872cfb0
AS
37032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3704
b468825a
AS
3705 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3706
7872cfb0
AS
3707 * configure.in: Also look in $cxxmachine/include for C++ system
3708 headers.
3709
be13f7bf
LD
37102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3711
3712 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3713 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3714 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3715 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3716 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3717 (USE_AS_WMEMCMP): New macro.
3718 Fixing indents.
3719 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3720 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3721 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3722 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3724 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3725 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3726 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3727 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3728 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3729 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3730 (USE_AS_WMEMCMP): New macro.
3731 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3732 * sysdeps/string/test-memcmp.c: Update.
3733 Fix simple_wmemcmp.
3734 Add new tests.
3735 * wcsmbs/wmemcmp.c: Update.
3736 (WMEMCMP): New macro.
3737 Fix overflow bug.
3738
556a2007
AJ
37392011-10-12 Andreas Jaeger <aj@suse.de>
3740
3741 [BZ #13268]
3742 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3743
538faaa7
UD
37442011-10-15 Ulrich Drepper <drepper@gmail.com>
3745
ab6737ff
UD
3746 * libio/iofwide.c (do_length): Avoid warning.
3747
538faaa7
UD
3748 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3749
396a21b1
UD
37502011-10-14 Ulrich Drepper <drepper@gmail.com>
3751
cdf2901f
UD
3752 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3753
38ad40ce
UD
3754 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3755 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3756 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3757 * sysdeps/i386/i686/fpu/e_log.S: New file.
3758 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3759 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3760
396a21b1
UD
3761 * ctype/ctype.h: Add support for inlined isXXX functions when
3762 compiling C++ code.
3763
6b1f68c9
AS
37642011-10-14 Andreas Schwab <schwab@redhat.com>
3765
349290c0
AS
3766 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3767
6b1f68c9
AS
3768 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3769
f2282d42
RM
37702011-10-13 Roland McGrath <roland@hack.frob.com>
3771
3772 [BZ #13291]
3773 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3774
5298ffa8
AS
37752011-10-13 Andreas Schwab <schwab@redhat.com>
3776
714fad23
AS
3777 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3778 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3779 feraiseexcept.
3780
81dcc7fb
AS
3781 * sysdeps/x86_64/memrchr.S: Check for zero size.
3782
5298ffa8
AS
3783 * string/stratcliff.c: Add memrchr tests.
3784
951fbcec
LD
37852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3786
3787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3788 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3789 rawmemchr-sse2 rawmemchr-sse2-bsf.
3790 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3791 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3792 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3793 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3794 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3795 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3796 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3797 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3798 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3799 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3800 * string/memrchr.c (MEMRCHR): New macro.
3801
0ac5ae23
UD
38022011-10-12 Ulrich Drepper <drepper@gmail.com>
3803
3804 Add integration with gcc's -ffinite-math-only and optimize wrapper
3805 functions in libm.
3806 * Versions.def: Define GLIBC_2.15 version for libm.
3807 * math/Makefile (headers): Add bits/math-finite.h.
3808 * math/bits/math-finite.h: New file.
3809 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3810 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3811 * math/e_acoshl.c: Add __*_finite alias.
3812 * math/e_acosl.c: Likewise.
3813 * math/e_asinl.c: Likewise.
3814 * math/e_atan2l.c: Likewise.
3815 * math/e_atanhl.c: Likewise.
3816 * math/e_coshl.c: Likewise.
3817 * math/e_exp10.c: Likewise.
3818 * math/e_exp10f.c: Likewise.
3819 * math/e_exp10l.c: Likewise.
3820 * math/e_exp2l.c: Likewise.
3821 * math/e_fmodl.c: Likewise.
3822 * math/e_gammal_r.c: Likewise.
3823 * math/e_hypotl.c: Likewise.
3824 * math/e_j0l.c: Likewise.
3825 * math/e_j1l.c: Likewise.
3826 * math/e_jnl.c: Likewise.
3827 * math/e_lgammal_r.c: Likewise.
3828 * math/e_log10l.c: Likewise.
3829 * math/e_log2l.c: Likewise.
3830 * math/e_logl.c: Likewise.
3831 * math/e_powl.c: Likewise.
3832 * math/e_sinhl.c: Likewise.
3833 * math/e_sqrtl.c: Likewise.
3834 * math/e_scalb.c: Completely rewritten and optimized.
3835 * math/e_scalbf.c: Likewise.
3836 * math/e_scalbl.c: Likewise.
3837 * math/w_acos.c: Likewise.
3838 * math/w_acosf.c: Likewise.
3839 * math/w_acosl.c: Likewise.
3840 * math/w_acosh.c: Likewise.
3841 * math/w_acoshf.c: Likewise.
3842 * math/w_acoshl.c: Likewise.
3843 * math/w_asin.c: Likewise.
3844 * math/w_asinf.c: Likewise.
3845 * math/w_asinl.c: Likewise.
3846 * math/w_atan2.c: Likewise.
3847 * math/w_atan2f.c: Likewise.
3848 * math/w_atan2l.c: Likewise.
3849 * math/w_atanh.c: Likewise.
3850 * math/w_atanhf.c: Likewise.
3851 * math/w_atanhl.c: Likewise.
3852 * math/w_exp10.c: Likewise.
3853 * math/w_exp10f.c: Likewise.
3854 * math/w_exp10l.c: Likewise.
3855 * math/w_fmod.c: Likewise.
3856 * math/w_fmodf.c: Likewise.
3857 * math/w_fmodl.c: Likewise.
3858 * math/w_j0.c: Likewise.
3859 * math/w_j0f.c: Likewise.
3860 * math/w_j0l.c: Likewise.
3861 * math/w_j1.c: Likewise.
3862 * math/w_j1f.c: Likewise.
3863 * math/w_j1l.c: Likewise.
3864 * math/w_jn.c: Likewise.
3865 * math/w_jnf.c: Likewise.
3866 * math/w_log.c: Likewise.
3867 * math/w_logf.c: Likewise.
3868 * math/w_logl.c: Likewise.
3869 * math/w_log10.c: Likewise.
3870 * math/w_log10f.c: Likewise.
3871 * math/w_log10l.c: Likewise.
3872 * math/w_log2.c: Likewise.
3873 * math/w_log2f.c: Likewise.
3874 * math/w_log2l.c: Likewise.
3875 * math/w_pow.c: Likewise.
3876 * math/w_powf.c: Likewise.
3877 * math/w_powl.c: Likewise.
3878 * math/w_remainder.c: Likewise.
3879 * math/w_remainderf.c: Likewise.
3880 * math/w_remainderl.c: Likewise.
3881 * math/w_scalb.c: Likewise.
3882 * math/w_scalbf.c: Likewise.
3883 * math/w_scalbl.c: Likewise.
3884 * math/w_sqrt.c: Likewise.
3885 * math/w_sqrtf.c: Likewise.
3886 * math/w_sqrtl.c: Likewise.
3887 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3888 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3889 used.
3890 * math/math_private.h: Declare __kernel_standard_f.
3891 * math/w_cosh.c: Remove cruft and optimize a bit.
3892 * math/w_coshf.c: Likewise.
3893 * math/w_coshl.c: Likewise.
3894 * math/w_exp2.c: Likewise.
3895 * math/w_exp2f.c: Likewise.
3896 * math/w_exp2l.c: Likewise.
3897 * math/w_hypot.c: Likewise.
3898 * math/w_hypotf.c: Likewise.
3899 * math/w_hypotl.c: Likewise.
3900 * math/w_lgamma.c: Likewise.
3901 * math/w_lgamma_r.c: Likewise.
3902 * math/w_lgammaf.c: Likewise.
3903 * math/w_lgammaf_r.c: Likewise.
3904 * math/w_lgammal.c: Likewise.
3905 * math/w_lgammal_r.c: Likewise.
3906 * math/w_sinh.c: Likewise.
3907 * math/w_sinhf.c: Likewise.
3908 * math/w_sinhl.c: Likewise.
3909 * math/w_tgamma.c: Likewise.
3910 * math/w_tgammaf.c: Likewise.
3911 * math/w_tgammal.c: Likewise.
3912 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3913 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3914 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3915 Minor optimizations. Pretty printing. Remove cruft.
3916 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3917 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3918 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3919 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3920 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3921 * sysdeps/i386/fpu/e_asin.S: Likewise.
3922 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3923 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3924 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3925 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3926 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3927 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3928 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3929 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3930 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3931 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3932 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3933 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3934 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3935 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3936 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3937 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3938 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3939 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3940 * sysdeps/i386/fpu/e_log.S: Likewise.
3941 * sysdeps/i386/fpu/e_log10.S: Likewise.
3942 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3943 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3944 * sysdeps/i386/fpu/e_log2.S: Likewise.
3945 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3946 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3947 * sysdeps/i386/fpu/e_logf.S: Likewise.
3948 * sysdeps/i386/fpu/e_logl.S: Likewise.
3949 * sysdeps/i386/fpu/e_pow.S: Likewise.
3950 * sysdeps/i386/fpu/e_powf.S: Likewise.
3951 * sysdeps/i386/fpu/e_powl.S: Likewise.
3952 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3953 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3954 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3955 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3956 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3957 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3958 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3959 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3960 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3982 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3983 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3984 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3985 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3986 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3987 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3988 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3989 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3990 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3991 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3992 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3993 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3994 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3995 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3996 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3997 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3998 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3999 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4000 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4001 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4002 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4041 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4044 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4046 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4047 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4049 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4052 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4053 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4054 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4055 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4056 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4057 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4058 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4059 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4060 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4061 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4062 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4063 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4064 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4065 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4066 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4067 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4068 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4069 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4070 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4071 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4072 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4073 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4074 (__isnanf): Likewise.
4075 (__isinf_ns): Likewise.
4076 (__isinf_nsf): Likewise.
4077 (__finite): Likewise.
4078 (__finitef): Likewise.
4079 (__ieee754_sqrt): Define as macro.
4080 (__ieee754_sqrtf): Define as macro.
4081 (__ieee754_sqrtl): Define as macro.
4082 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4083 inlined copy.
4084 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4085 __FINITE_MATH_ONLY__ consistent.
4086 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4087
12cc2fcd
AS
40882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4089
a843a204
AS
4090 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4091 of rawmemchr.
4092
12cc2fcd
AS
4093 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4094
c853acd5
UD
40952011-10-09 Ulrich Drepper <drepper@gmail.com>
4096
4097 * po/ja.po: Update from translation team.
4098
c658d255
RM
40992011-10-08 Roland McGrath <roland@hack.frob.com>
4100
110946e4
RM
4101 * locale/programs/locarchive.c (prepare_address_space): New function.
4102 (create_archive, enlarge_archive, open_archive): Use it.
4103
50604220
RM
4104 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4105 inside [SHARED], where it is used.
4106
c658d255
RM
4107 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4108
4109 * nss/getent.c (netgroup_keys): Remove unused variable.
4110 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4111
6a621eb7
UD
41122011-10-08 Ulrich Drepper <drepper@gmail.com>
4113
7edb55ce
UD
4114 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4115 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4117 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4118 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4119 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4120 * math/Makefile (libm-calls): Add s_isinf_ns.
4121 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4122 * math/multc3.c: Likewise.
4123 * math/s_casin.c: Likewise.
4124 * math/s_casinf.c: Likewise.
4125 * math/s_casinl.c: Likewise.
4126 * math/s_ccos.c: Likewise.
4127 * math/s_ccosf.c: Likewise.
4128 * math/s_ccosl.c: Likewise.
4129 * math/s_ctan.c: Likewise.
4130 * math/s_ctanf.c: Likewise.
4131 * math/s_ctanh.c: Likewise.
4132 * math/s_ctanhf.c: Likewise.
4133 * math/s_ctanhl.c: Likewise.
4134 * math/s_ctanl.c: Likewise.
4135 * math/w_fmod.c: Likewise.
4136 * math/w_fmodf.c: Likewise.
4137 * math/w_fmodl.c: Likewise.
4138 * math/w_remainder.c: Likewise.
4139 * math/w_remainderf.c: Likewise.
4140 * math/w_remainderl.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4142 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4144 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4145 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4146 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4147 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4148 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4149
187da0ae
UD
4150 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4151 of the number.
4152 * stdio-common/printf_fphex.c: Likewise.
4153 * stdio-common/printf_size.c: Likewise.
4154
9277c064
UD
4155 * math/e_exp10.c: Include math_private.h using <...> not "...".
4156 * math/e_exp10f.c: Likewise.
4157 * math/e_exp10l.c: Likewise.
4158 * math/e_exp2l.c: Likewise.
4159 * math/e_j0l.c: Likewise.
4160 * math/e_j1l.c: Likewise.
4161 * math/e_jnl.c: Likewise.
4162 * math/e_lgammal_r.c: Likewise.
4163 * math/e_rem_pio2l.c: Likewise.
4164 * math/e_scalb.c: Likewise.
4165 * math/e_scalbf.c: Likewise.
4166 * math/e_scalbl.c: Likewise.
4167 * math/k_cosl.c: Likewise.
4168 * math/k_sinl.c: Likewise.
4169 * math/k_tanl.c: Likewise.
4170 * math/s_cacoshf.c: Likewise.
4171 * math/s_catan.c: Likewise.
4172 * math/s_catanf.c: Likewise.
4173 * math/s_catanh.c: Likewise.
4174 * math/s_catanhf.c: Likewise.
4175 * math/s_catanhl.c: Likewise.
4176 * math/s_catanl.c: Likewise.
4177 * math/s_ccosh.c: Likewise.
4178 * math/s_ccoshf.c: Likewise.
4179 * math/s_ccoshl.c: Likewise.
4180 * math/s_cexp.c: Likewise.
4181 * math/s_cexpf.c: Likewise.
4182 * math/s_cexpl.c: Likewise.
4183 * math/s_clog.c: Likewise.
4184 * math/s_clog10.c: Likewise.
4185 * math/s_clog10f.c: Likewise.
4186 * math/s_clog10l.c: Likewise.
4187 * math/s_clogf.c: Likewise.
4188 * math/s_clogl.c: Likewise.
4189 * math/s_csin.c: Likewise.
4190 * math/s_csinf.c: Likewise.
4191 * math/s_csinh.c: Likewise.
4192 * math/s_csinhf.c: Likewise.
4193 * math/s_csinhl.c: Likewise.
4194 * math/s_csinl.c: Likewise.
4195 * math/s_csqrt.c: Likewise.
4196 * math/s_csqrtf.c: Likewise.
4197 * math/s_csqrtl.c: Likewise.
4198 * math/s_ctan.c: Likewise.
4199 * math/s_ctanf.c: Likewise.
4200 * math/s_ctanh.c: Likewise.
4201 * math/s_ctanhf.c: Likewise.
4202 * math/s_ctanhl.c: Likewise.
4203 * math/s_ctanl.c: Likewise.
4204 * math/s_ldexp.c: Likewise.
4205 * math/s_ldexpf.c: Likewise.
4206 * math/s_ldexpl.c: Likewise.
4207 * math/s_significand.c: Likewise.
4208 * math/s_significandf.c: Likewise.
4209 * math/s_significandl.c: Likewise.
4210 * math/w_acos.c: Likewise.
4211 * math/w_acosf.c: Likewise.
4212 * math/w_acosh.c: Likewise.
4213 * math/w_acoshf.c: Likewise.
4214 * math/w_acoshl.c: Likewise.
4215 * math/w_acosl.c: Likewise.
4216 * math/w_asin.c: Likewise.
4217 * math/w_asinf.c: Likewise.
4218 * math/w_asinl.c: Likewise.
4219 * math/w_atan2.c: Likewise.
4220 * math/w_atan2f.c: Likewise.
4221 * math/w_atan2l.c: Likewise.
4222 * math/w_atanh.c: Likewise.
4223 * math/w_atanhf.c: Likewise.
4224 * math/w_atanhl.c: Likewise.
4225 * math/w_cosh.c: Likewise.
4226 * math/w_coshf.c: Likewise.
4227 * math/w_coshl.c: Likewise.
4228 * math/w_dremf.c: Likewise.
4229 * math/w_exp10.c: Likewise.
4230 * math/w_exp10f.c: Likewise.
4231 * math/w_exp10l.c: Likewise.
4232 * math/w_exp2.c: Likewise.
4233 * math/w_exp2f.c: Likewise.
4234 * math/w_fmod.c: Likewise.
4235 * math/w_fmodf.c: Likewise.
4236 * math/w_fmodl.c: Likewise.
4237 * math/w_hypot.c: Likewise.
4238 * math/w_hypotf.c: Likewise.
4239 * math/w_hypotl.c: Likewise.
4240 * math/w_j0.c: Likewise.
4241 * math/w_j0f.c: Likewise.
4242 * math/w_j0l.c: Likewise.
4243 * math/w_j1.c: Likewise.
4244 * math/w_j1f.c: Likewise.
4245 * math/w_j1l.c: Likewise.
4246 * math/w_jn.c: Likewise.
4247 * math/w_jnf.c: Likewise.
4248 * math/w_jnl.c: Likewise.
4249 * math/w_lgamma.c: Likewise.
4250 * math/w_lgamma_r.c: Likewise.
4251 * math/w_lgammaf.c: Likewise.
4252 * math/w_lgammaf_r.c: Likewise.
4253 * math/w_lgammal.c: Likewise.
4254 * math/w_lgammal_r.c: Likewise.
4255 * math/w_log.c: Likewise.
4256 * math/w_log10.c: Likewise.
4257 * math/w_log10f.c: Likewise.
4258 * math/w_log10l.c: Likewise.
4259 * math/w_log2.c: Likewise.
4260 * math/w_log2f.c: Likewise.
4261 * math/w_log2l.c: Likewise.
4262 * math/w_logf.c: Likewise.
4263 * math/w_logl.c: Likewise.
4264 * math/w_pow.c: Likewise.
4265 * math/w_powf.c: Likewise.
4266 * math/w_powl.c: Likewise.
4267 * math/w_remainder.c: Likewise.
4268 * math/w_remainderf.c: Likewise.
4269 * math/w_remainderl.c: Likewise.
4270 * math/w_scalb.c: Likewise.
4271 * math/w_scalbf.c: Likewise.
4272 * math/w_scalbl.c: Likewise.
4273 * math/w_sinh.c: Likewise.
4274 * math/w_sinhf.c: Likewise.
4275 * math/w_sinhl.c: Likewise.
4276 * math/w_sqrt.c: Likewise.
4277 * math/w_sqrtf.c: Likewise.
4278 * math/w_sqrtl.c: Likewise.
4279 * math/w_tgamma.c: Likewise.
4280 * math/w_tgammaf.c: Likewise.
4281 * math/w_tgammal.c: Likewise.
4282
6a621eb7
UD
4283 * po/ja.po: Update from translation team.
4284
bf582445
AJ
42852011-09-29 Andreas Jaeger <aj@suse.de>
4286
f9efbf3a
AJ
4287 [BZ #13179]
4288 * sunrpc/netname.c (netname2host): Fix logic.
4289
bf582445
AJ
4290 [BZ #6779]
4291 [BZ #6783]
4292 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4293 correctly.
4294 * math/w_remainder.c (__remainder): Likewise.
4295 * math/w_remainderf.c (__remainderf): Likewise.
4296 * math/libm-test.inc (remainder_test): Add test cases.
4297
48693bea
AK
42982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4299
4300 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4301 sdiv_qrnnd.
4302
42622229
LD
43032011-10-07 Ulrich Drepper <drepper@gmail.com>
4304
4305 * string/test-memcmp.c: Avoid unncessary #defines.
4306 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4307
093ecf92
LD
43082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4309
4310 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4311 Use new sse2 version for core i3 - i7 as it's faster
4312 than sse42 version.
4313 (bit_Prefer_PMINUB_for_stringop): New.
4314 * sysdeps/x86_64/rawmemchr.S: Update.
4315 Replace with faster SSE2 version.
4316 * sysdeps/x86_64/memrchr.S: New file.
4317 * sysdeps/x86_64/memchr.S: Update.
4318 Replace with faster SSE2 version.
4319
fde56e5c
MP
43202011-09-12 Marek Polacek <mpolacek@redhat.com>
4321
4322 * elf/dl-load.c (lose): Add cast to avoid warning.
4323
21fd49a9
UD
43242011-10-07 Ulrich Drepper <drepper@gmail.com>
4325
5a06e643
UD
4326 * po/ca.po: Update from translation team.
4327
684ae515
UD
4328 * inet/getnetgrent_r.c: Hook up nscd.
4329 * nscd/Makefile (routines): Add nscd_netgroup.
4330 (nscd-modules): Add netgroupcache.
4331 (CFLAGS-netgroupcache.c): Define.
4332 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4333 (cache_search): Add const to second parameter.
4334 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4335 INNETGR.
4336 (dbs): Add netgrdb entry.
4337 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4338 (verify_persistent_db): Handle netgrdb.
4339 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4340 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4341 GETFDNETGR.
4342 (netgroup_response_header): Define.
4343 (innetgroup_response_header): Define.
4344 (datahead): Add netgroup_response_header and innetgroup_response_header
4345 elements.
4346 * nscd/nscd.conf: Add entries for netgroup cache.
4347 * nscd/nscd.h (dbtype): Add netgrdb.
4348 (_PATH_NSCD_NETGROUP_DB): Define.
4349 (netgroup_iov_disabled): Declare.
4350 (xmalloc, xcalloc, xrealloc): Move declarations here.
4351 (cache_search): Adjust prototype.
4352 Add netgroup-related prototypes.
4353 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4354 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4355 (__nscd_innetgr): Declare.
4356 * nscd/selinux.c (perms): Use access_vector_t as element type and
4357 add netgroup-related initializers.
4358 * nscd/netgroupcache.c: New file.
4359 * nscd/nscd_netgroup.c: New file.
4360 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4361 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4362 For four parameters use innetgr.
4363 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4364 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4365 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4366 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4367
21fd49a9
UD
4368 * nscd/connections.c (register_traced_file): Don't register file
4369 for disabled databases.
4370
054c0457
UD
43712011-10-06 Ulrich Drepper <drepper@gmail.com>
4372
32b63198
UD
4373 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4374
054c0457
UD
4375 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4376 from tree and freeing node.
4377
64031225
JO
43782011-09-25 Jiri Olsa <jolsa@redhat.com>
4379
4380 * nss/nsswitch.c (__nss_database_lookup): Handle
4381 nss_parse_service_list out of memory case.
4382
0490345c
JO
43832011-09-15 Jiri Olsa <jolsa@redhat.com>
4384
4385 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4386 out of memory case.
4387
3a62d00d
AS
43882011-10-04 Andreas Schwab <schwab@redhat.com>
4389
4390 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4391 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4392 pass it down.
4393 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4394 elf_machine_rela, elf_machine_lazy_rel.
4395 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4396 (ELF_DYNAMIC_DO_REL): Likewise.
4397 (ELF_DYNAMIC_DO_RELA): Likewise.
4398 (ELF_DYNAMIC_RELOCATE): Likewise.
4399 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4400 to ELF_DYNAMIC_DO_REL.
4401 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4402 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4403 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4404 elf_machine_rela.
4405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4406 skip_ifunc, don't call ifunc function if non-zero.
4407 (elf_machine_rela): Likewise.
4408 (elf_machine_lazy_rel): Likewise.
4409 (elf_machine_lazy_rela): Likewise.
4410 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4411 (elf_machine_lazy_rel): Likewise.
4412 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4413 Likewise.
4414 (elf_machine_lazy_rel): Likewise.
4415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4416 Likewise.
4417 (elf_machine_lazy_rel): Likewise.
4418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4419 (elf_machine_lazy_rel): Likewise.
4420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4421 (elf_machine_lazy_rel): Likewise.
4422 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4423 (elf_machine_lazy_rel): Likewise.
4424 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4425 (elf_machine_lazy_rel): Likewise.
4426 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4427 (elf_machine_lazy_rel): Likewise.
4428 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4429 (elf_machine_lazy_rel): Likewise.
4430
68577918
UD
44312011-09-28 Ulrich Drepper <drepper@gmail.com>
4432
4433 * nss/nss_files/files-init.c (_nss_files_init): Use static
4434 initialization for all the *_traced_file variables.
4435
68822d74
AS
44362011-09-28 Andreas Schwab <schwab@redhat.com>
4437
4438 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4439
2056100b
RM
44402011-09-27 Roland McGrath <roland@hack.frob.com>
4441
4442 [BZ #13226]
4443 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4444
32c76b63
AS
44452011-09-27 Andreas Schwab <schwab@redhat.com>
4446
4447 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4448 Reread the line before reparsing it.
4449
bf972c9d
AS
44502011-09-26 Andreas Schwab <schwab@redhat.com>
4451
4452 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4453
e057a1b5
JM
44542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4455 Maxim Kuvyrkov <maxim@codesourcery.com>
4456 Joseph Myers <joseph@codesourcery.com>
4457
4458 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4459 if needed for __stack_chk_guard.
4460
bc7e1c36
RM
44612011-09-19 Roland McGrath <roland@hack.frob.com>
4462
ecb1482f
RM
4463 * sysdeps/posix/spawni.c (script_execute): Always define it.
4464 It will be optimized away if unused.
4465 (maybe_script_execute): New function.
4466 (__spawni): Call it.
4467
bc7e1c36
RM
4468 * Makerules: Don't include tls.make.
4469 (config-tls): Always set to thread.
4470 * tls.make.c: File removed.
4471
1c3b002b
MF
44722011-09-19 Mike Frysinger <vapier@gentoo.org>
4473
4474 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4475 * config.make.in (CPPFLAGS-config): New substituted variable.
4476
2840865d
UD
44772011-09-15 Ulrich Drepper <drepper@gmail.com>
4478
88738eb6
UD
4479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4480
cbf645a6 4481 [BZ #13192]
2840865d
UD
4482 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4483 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4484
b402e91a
RM
44852011-09-15 Roland McGrath <roland@hack.frob.com>
4486
4487 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4488 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4489 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4490 (CALL_FAIL): Likewise.
4491 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4492 (CALL_FAIL): Macro removed.
4493 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4494
4c1a1f71
UD
44952011-09-15 Ulrich Drepper <drepper@gmail.com>
4496
4497 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4498 for __FINITE_MATH_ONLY__ == 1.
4499
edc121be
AS
45002011-09-15 Andreas Schwab <schwab@redhat.com>
4501
4502 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4503 __ieee754_sqrt instead of sqrt.
4504 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4505 __ieee754_sqrtf instead of sqrtf.
4506 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4507 __floorf instead of floorf.
4508 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4509 __floorf, __truncf instead of floorf, truncf.
4510
cd205654
UD
45112011-09-14 Ulrich Drepper <drepper@gmail.com>
4512
ee4d0315
UD
4513 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4514
cd205654
UD
4515 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4516 __extern_always_inline.
4517 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4518 32-bit.
4519
48b67d71
AS
45202011-09-14 Andreas Schwab <schwab@redhat.com>
4521
4522 * elf/rtld.c (dl_main): Also relocate in dependency order when
4523 doing symbol dependency testing.
4524
1ae12c75
AS
45252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4526
4527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4528 Always define `refsym'.
4529
995a80df
AS
45302011-09-13 Andreas Schwab <schwab@redhat.com>
4531
e529793b
AS
4532 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4533 (__FD_ELT): Renamed from __FDELT.
4534 * misc/bits/select2.h (__FD_ELT): Likewise.
4535 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4536 __FD_MASK instead of __FDELT, __FDMASK.
4537 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4538 Likewise.
4539 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4540 Likewise.
4541
52d4fef8
AS
4542 * elf/Makefile (gen-ldd): Fix pattern.
4543
995a80df
AS
4544 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4545 (init_tls): Likewise.
4546
8682f8b0
UD
45472011-09-12 Ulrich Drepper <drepper@gmail.com>
4548
4549 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4550
de82006d
AS
45512011-09-12 Andreas Schwab <schwab@redhat.com>
4552
a7c8e6a1
AS
4553 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4554 `struct cmsghdr *' instead of `void *'.
4555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4556 Likewise.
4557
0f31fe77
AS
45582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4559
4560 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4561 if non-absolute.
4562 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4563 ldd_rewrite_script.
0f31fe77 4564
32b4c839
UD
45652011-09-11 Ulrich Drepper <drepper@gmail.com>
4566
83cd1420
UD
4567 * configure.in: Remove --with-tls option.
4568 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4569 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4570 out in case it is missing.
4571 * sysdeps/ia64/elf/configure.in: Likewise.
4572 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4573 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4574 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4575 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4576 * sysdeps/sh/elf/configure.in: Likewise.
4577 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4578 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4579 * sysdeps/x86_64/elf/configure.in: Likewise.
4580 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4581 * sysdeps/mach/hurd/tls.h: Likewise.
4582
633f745d
UD
4583 [BZ #13067]
4584 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4585
f318beb8
UD
4586 [BZ #13090]
4587 * configure.in: Fix use of AC_INIT.
4588
32b4c839
UD
4589 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4590
3ce1f295
UD
45912011-09-10 Ulrich Drepper <drepper@gmail.com>
4592
bb016596
UD
4593 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4594 __set_errno.
8e58439c
UD
4595 * malloc/hooks.c: Likewise.
4596
aebae053 4597 [BZ #11929]
02d46fc4
UD
4598 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4599 variables statically.
4600 (narenas): Initialize.
4601 (list_lock): Initialize.
bb016596
UD
4602 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4603 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4604 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4605 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4606 Add initializers to main_arena and mp_.
4607 (malloc_state): Remove pagesize member. Change all users to use
4608 GLRO(dl_pagesize).
4609
4610 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4611 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4612 is always initialized.
4613
22a89187
UD
4614 * malloc/malloc.c: Removed unused configurations and dead code.
4615 * malloc/arena.c: Likewise.
4616 * malloc/hooks.c: Likewise.
02d46fc4 4617 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4618
d063d164
UD
4619 * include/tls.h: Removed. USE___THREAD must always be defined.
4620 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4621 * elf/dl-libc.c: Likewise.
4622 * elf/dl-tsd.c: Likewise.
4623 * include/errno.h: Likewise.
4624 * include/netdb.h: Likewise.
4625 * include/resolv.h: Likewise.
4626 * inet/herrno-loc.c: Likewise.
4627 * inet/herrno.c: Likewise.
4628 * malloc/arena.c: Likewise.
4629 * malloc/hooks.c: Likewise.
4630 * malloc/malloc.c: Likewise.
4631 * resolv/res-state.c: Likewise.
4632 * resolv/res_libc.c: Likewise.
4633 * sysdeps/i386/dl-machine.h: Likewise.
4634 * sysdeps/ia64/dl-machine.h: Likewise.
4635 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4636 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4637 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4638 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4639 * sysdeps/sh/dl-machine.h: Likewise.
4640 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4641 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4642 * sysdeps/unix/i386/sysdep.S: Likewise.
4643 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4644 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4649 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4653 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4654 * sysdeps/x86_64/dl-machine.h: Likewise.
4655 * tls.make.c: Likewise.
4656
3ce1f295
UD
4657 * configure.in: Remove --with-__thread option. Make tests for
4658 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4659 tls_model attribute fail if no support is available. Remove
4660 USE_IN_LIBIO.
4661 * Makeconfig: Adjust for dropped configure option. All features are
4662 now mandatory.
4663 * Makerules: Likewise.
4664 * Versions.def: Likewise.
4665 * argp/argp-fmtstream.c: Likewise.
4666 * argp/argp-fmtstream.h: Likewise.
4667 * argp/argp-help.c: Likewise.
4668 * assert/assert.c: Likewise.
4669 * config.h.in: Likewise.
4670 * config.make.in: Likewise.
4671 * configure: Likewise.
4672 * configure.in: Likewise.
4673 * csu/Versions: Likewise.
4674 * csu/init.c: Likewise.
4675 * elf/tst-audit2.c: Likewise.
4676 * elf/tst-tls10.c: Likewise.
4677 * elf/tst-tls10.h: Likewise.
4678 * elf/tst-tls11.c: Likewise.
4679 * elf/tst-tls12.c: Likewise.
4680 * elf/tst-tls14.c: Likewise.
4681 * elf/tst-tlsmod11.c: Likewise.
4682 * elf/tst-tlsmod12.c: Likewise.
4683 * elf/tst-tlsmod13.c: Likewise.
4684 * elf/tst-tlsmod13a.c: Likewise.
4685 * elf/tst-tlsmod14a.c: Likewise.
4686 * elf/tst-tlsmod15b.c: Likewise.
4687 * elf/tst-tlsmod16a.c: Likewise.
4688 * elf/tst-tlsmod16b.c: Likewise.
4689 * elf/tst-tlsmod7.c: Likewise.
4690 * elf/tst-tlsmod8.c: Likewise.
4691 * elf/tst-tlsmod9.c: Likewise.
4692 * gmon/gmon.c: Likewise.
4693 * grp/fgetgrent_r.c: Likewise.
4694 * grp/putgrent.c: Likewise.
4695 * hurd/fopenport.c: Likewise.
4696 * include/libc-symbols.h: Likewise.
4697 * include/tls.h: Likewise.
4698 * intl/gettextP.h: Likewise.
4699 * intl/loadinfo.h: Likewise.
4700 * locale/global-locale.c: Likewise.
4701 * locale/localeinfo.h: Likewise.
4702 * mach/devstream.c: Likewise.
4703 * malloc/arena.c: Likewise.
4704 * malloc/set-freeres.c: Likewise.
4705 * misc/err.c: Likewise.
4706 * misc/getttyent.c: Likewise.
4707 * misc/mntent_r.c: Likewise.
4708 * posix/getopt.c: Likewise.
4709 * posix/wordexp.c: Likewise.
4710 * pwd/fgetpwent_r.c: Likewise.
4711 * resolv/Versions: Likewise.
4712 * resolv/res_hconf.c: Likewise.
4713 * shadow/fgetspent_r.c: Likewise.
4714 * shadow/putspent.c: Likewise.
4715 * stdio-common/printf_fphex.c: Likewise.
4716 * stdio-common/tmpfile.c: Likewise.
4717 * stdlib/abort.c: Likewise.
4718 * stdlib/fmtmsg.c: Likewise.
4719 * sunrpc/auth_unix.c: Likewise.
4720 * sunrpc/clnt_perr.c: Likewise.
4721 * sunrpc/clnt_tcp.c: Likewise.
4722 * sunrpc/clnt_udp.c: Likewise.
4723 * sunrpc/clnt_unix.c: Likewise.
4724 * sunrpc/openchild.c: Likewise.
4725 * sunrpc/svc_simple.c: Likewise.
4726 * sunrpc/svc_tcp.c: Likewise.
4727 * sunrpc/svc_udp.c: Likewise.
4728 * sunrpc/svc_unix.c: Likewise.
4729 * sunrpc/xdr.c: Likewise.
4730 * sunrpc/xdr_array.c: Likewise.
4731 * sunrpc/xdr_rec.c: Likewise.
4732 * sunrpc/xdr_ref.c: Likewise.
4733 * sunrpc/xdr_stdio.c: Likewise.
4734
1248c1c4
PB
47352011-09-09 Ulrich Drepper <drepper@gmail.com>
4736
4737 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4738
47392011-07-03 Andreas Jaeger <aj@suse.de>
4740
4741 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4743 regenerate with gen-libm-tests.pl.
4744
47452010-05-12 Petr Baudis <pasky@suse.cz>
4746
4747 [BZ #11589]
4748 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4749 around j0() zero points by switching to j1().
4750 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4754
f22e1074
UD
47552011-09-09 Ulrich Drepper <drepper@gmail.com>
4756
f19009c1
UD
4757 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4758 instead of 0.
4759 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4760 instead of 0. .
4761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4762 Patch in part by Pavel Roskin <proski@gnu.org>.
4763
3f8cc204
UD
4764 [BZ #13138]
4765 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4766 realloc.
4767 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4768 Free memory block if necessary.
4769
f22e1074
UD
4770 [BZ #12847]
4771 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4772 be NULL. Don't lock in this case.
4773
0a2349f9
RM
47742011-09-09 Roland McGrath <roland@hack.frob.com>
4775
4776 * elf/elf.h (ELFOSABI_GNU): New macro.
4777 (ELFOSABI_LINUX): Define to that.
4778
f3cdd467
DZ
47792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4780
4781 * string/strncat.c (strncat): Undef the symbol in case it has been
4782 defined in bits/string.h.
4783
74718d13
UD
47842011-09-09 Ulrich Drepper <drepper@gmail.com>
4785
633e9e0f
UD
4786 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4787
0a2349f9 4788 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4789 link map.
4790
f9924780
AJ
47912011-08-17 Andreas Jaeger <aj@suse.de>
4792
4793 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4794
7f5517aa
PP
47952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4796 Ian Lance Taylor <iant@google.com>
4797
4798 * math/libm-test.inc (lround_test): New testcase.
4799 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4800
762011fe
UD
48012011-09-08 Ulrich Drepper <drepper@gmail.com>
4802
92963737
UD
4803 * Makefile: Remove support for automatic cvs check-ins.
4804 * Makerules: Likewise.
4805 * config.make.in: Likewise.
4806 * configure.in: Likewise.
4807 * intl/Makefile: Likewise.
4808 * locale/Makefile: Likewise.
4809 * po/Makefile: Likewise.
4810 * posix/Makefile: Likewise.
4811 * sysdeps/gnu/Makefile: Likewise.
4812 * sysdeps/mach/hurd/Makefile: Likewise.
4813 * sysdeps/sparc/sparc32/Makefile: Likewise.
4814
b0727fd8
JS
4815 [BZ #13118]
4816 * posix/Makefile (bug-regex32-ENV): Define.
4817 Patch by John Stanley <jpsinthemix@verizon.net>.
4818
a0f33f99
UD
4819 * misc/Makefile (headers): Add bits/select2.h.
4820 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4821 * misc/bits/select2.h: New file.
4822 * include/bits/select2.h: New file.
4823 * debug/Makefile (routines): Add fdelt_chk.
4824 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4825 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4826 FD_ISSET.
4827 * debug/fdelt_chk.c: New file.
4828
762011fe
UD
4829 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4830 * wcsmbs/test-wmemcmp.c: Likewise.
4831 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4832 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4833
48342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4835
4836 * string/Makefile (strop-tests): Add memcmp.
4837 * string/test-wmemcmp.c: New file.
4838 * string/test-memcmp.c: Add wmemcmp support.
4839
7f513ec8
RM
48402011-09-08 Roland McGrath <roland@hack.frob.com>
4841
0442afb4
RM
4842 [BZ #13153]
4843 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4844 2011-07-19 change.
4845
7f513ec8
RM
4846 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4847 garbage value in a __mach_port_mod_refs call in the cases of the
4848 task-self and thread-self ports.
4849
a12b2239
ST
48502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4851
4852 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4853
610f9ab4
AS
48542011-09-08 Andreas Schwab <schwab@redhat.com>
4855
7f513ec8 4856 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4857
48882a1a
LD
48582011-09-07 Ulrich Drepper <drepper@gmail.com>
4859
b49865be
UD
4860 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4861
fdc86bc9
UD
4862 * elf/dl-libc.c (dlerror_run): Pass back error code from
4863 dl_catch_error.
4864
c966526a
UD
4865 [BZ #13123]
4866 * elf/dl-load.c (lose): Free l_origin if it is valid.
4867
48882a1a
LD
4868 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4869 names.
4870 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4871 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4873 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4875 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4876
77a2a8b4
AZ
48772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4878
4879 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4880 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4881 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4882 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4883 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4884 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4885 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4886 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4887 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4888 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4889
24f579d8
AM
48902011-08-15 Alan Modra <amodra@gmail.com>
4891
4892 [BZ #13092]
4893 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4894 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4895 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4896 ppc_mcount to static-only-routines.
4897 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4898 __mcount_internal.
4899 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4900 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4901
3d4837df
UD
49022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4903
4904 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4905 for finite and infinity parameters.
4906
22700377
WS
49072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4908
4909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4910 and add nop instructions for throughput optimization.
4911 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4912
5025581e
WS
49132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4914
4915 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4916 aligned copy for power7 with vector-scalar instructions.
4917 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4918
08a300c9
L
49192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4920
4921 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4922 AVX check.
4923
59178ef9
AS
49242011-09-07 Andreas Schwab <schwab@redhat.com>
4925
4926 [BZ #13144]
4927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4928 last change.
4929
e38ba7ab
UD
49302011-09-07 Ulrich Drepper <drepper@gmail.com>
4931
4932 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4933 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4934 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4935 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4936 clock_gettime.
4937
d53a73ac
UD
49382011-09-06 Ulrich Drepper <drepper@gmail.com>
4939
fc8bffcc
UD
4940 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4941 Forgot to demangle the pointer.
4942
ceaa0c5d
UD
4943 * sysdeps/i386/sysdep.h: Define atom_text_section.
4944 * sysdeps/x86_64/sysdep.h: Likewise.
4945 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4946 section with atom_text_section.
4947 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4949 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4951 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4952
a77d3c17
UD
4953 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4954 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4955 already be defined. Change to take two parameters and don't assign
4956 result to variable. Adjust all users.
4957 Define INTERNAL_GETTIME if not already defined.
4958 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4959 call.
4960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4961 HAVE_CLOCK_GETTIME_VSYSCALL.
4962 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4963
d53a73ac
UD
4964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4965 gettimeofday vsyscall, just use time.
4966
a8f84144
AS
49672011-09-06 Andreas Schwab <schwab@redhat.com>
4968
4969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4970 <errno.h>.
4971
ef606249
UD
49722011-09-06 Ulrich Drepper <drepper@gmail.com>
4973
4974 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4975 syscall on x86-64.
4976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4977 syscall.
4978 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4979 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4980 syscall if possible.
4981
6585cb60
UD
49822011-09-05 Ulrich Drepper <drepper@gmail.com>
4983
4984 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4985 e_ident. Don't pass to find_mapsXX.
4986 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4987
a5f524e4
LD
49882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4989
4990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4991 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4992 * sysdeps/x86_64/multiarch/strchr.S: Update.
4993 Check bit_slow_BSF bit.
4994 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4995 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4996 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4997
554881ef
UD
49982011-09-05 Ulrich Drepper <drepper@gmail.com>
4999
d96de963
UD
5000 [BZ #13134]
5001 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5002 before glibc 2.15.
5003 (tryshell): Define.
5004 (__spawni): Change last parameter to be flag. Test
5005 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5006 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5007 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5008 * posix/spawni.c: Likewise.
5009 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5010 * posix/spawnp.c: Likewise. Change normal version to use
5011 SPAWN_XFLAGS_USE_PATH.
5012 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5013 SPAWN_XFLAGS_TRY_SHELL.
5014
d48e5868
UD
5015 [BZ #13150]
5016 * posix/glob.h: Remove gcc 1.x support.
5017
554881ef
UD
5018 [BZ #13068]
5019 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5020
693fb948
LD
50212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5022
5023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5024 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5025 strrchr-sse2-bsf
5026 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5027 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5028 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5029 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5030 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5031 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5032
1b48c537
UD
50332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5034
49d42c37
UD
5035 * sysdeps/x86_64/wcscmp.S: New file.
5036
1b48c537
UD
5037 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5038 wcscmp-c wcscmp-sse2
5039 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5040 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5041 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5042 * wcsmbs/wcscmp.c: Allow renaming.
5043
15c95c5d
DM
50442011-09-05 David S. Miller <davem@davemloft.net>
5045
5046 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5047 stack slot, rather than the struct return pointer slot.
5048 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5049 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5051 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5052
2f0ad8f3
UD
50532011-09-05 Ulrich Drepper <drepper@gmail.com>
5054
d88ae418
UD
5055 * po/ja.po: Update from translation team.
5056
2f0ad8f3
UD
5057 [BZ #13144]
5058 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5059 kernel in 64-bit binaries.
5060
5f4318d1
DM
50612011-09-01 David S. Miller <davem@davemloft.net>
5062
5063 * elf/elf.h (HWCAP_SPARC_*): Move to..
5064 * sysdeps/sparc/sysdep.h: this new file and add new values.
5065 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5066 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5067 _DL_HWCAP_COUNT to 24.
5068 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5069 entries.
5070 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5071 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5072 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5074 instead of magic constants.
5075 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5076
3ba57516
DM
50772011-08-31 David S. Miller <davem@davemloft.net>
5078
5079 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5081 Reimplement to do errno handling inline.
5082 (SYSCALL_ERROR_HANDLER): New macro.
5083 (__SYSCALL_STRING): Do not do errno handling in asm.
5084 (__CLONE_SYSCALL_STRING): Delete.
5085 (__INTERNAL_SYSCALL_STRING): Delete.
5086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5087 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5088 (PSEUDO): Reimplement to do errno handling inline.
5089 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5090 (SYSCALL_ERROR_HANDLER): New macro.
5091 (__SYSCALL_STRING): Do not do errno handling in asm.
5092 (__CLONE_SYSCALL_STRING): Delete.
5093 (__INTERNAL_SYSCALL_STRING): Delete.
5094 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5095 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5096 i386.
5097 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5098 (inline_syscall*): Add 'err' argument.
5099 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5100 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5101 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5102 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5103
5104 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5105 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5106
2bc17433
AS
51072011-08-30 Andreas Schwab <schwab@redhat.com>
5108
5109 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5110
fbeb5f4d
JO
51112011-08-29 Jiri Olsa <jolsa@redhat.com>
5112
5113 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5114 directive.
5115
ad69cc26
DM
51162011-08-24 David S. Miller <davem@davemloft.net>
5117
5118 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5119
39dd69df
AS
51202011-08-24 Andreas Schwab <schwab@redhat.com>
5121
5122 * elf/Makefile: Add rules to build and run unload8 test.
5123 * elf/unload8.c: New file.
5124 * elf/unload8mod1.c: New file.
5125 * elf/unload8mod1x.c: New file.
5126 * elf/unload8mod2.c: New file.
5127 * elf/unload8mod3.c: New file.
5128
5129 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5130 it wasn't used.
5131
2c0b250a
DM
51322011-08-23 David S. Miller <davem@davemloft.net>
5133
5134 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5135 subtract stack bias.
5136 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5137 %sp not %fp in calculations.
5138 (_JMPBUF_UNWINDS_ADJ): Likewise.
5139
22044b48
DM
5140 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5141 (aio_suspend): Call it to force an exception region around the
5142 AIO_MISC_WAIT() invocation.
5143
2cae4995
AS
51442011-08-23 Andreas Schwab <schwab@redhat.com>
5145
5146 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5147 backslash.
5148
873a772e
AJ
51492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5150
5151 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5152 protection macro.
5153 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5154 and <dl-machine.h>.
5155 (Elf64_FuncDesc): Remove.
5156
25ad0df1
DM
51572011-08-22 David S. Miller <davem@davemloft.net>
5158
5159 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5160 sigaltstack check, add missing cfi directives.
5161 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5162 missing cfi directives, and sigaltstack handling.
5163
e888bcbe
AS
51642011-08-16 Andreas Schwab <schwab@redhat.com>
5165
5166 [BZ #11724]
5167 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5168 object is seen twice.
5169 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5170
5171 * elf/Makefile (distribute): Add tst-initorder2.c.
5172 (tests): Add tst-initorder2.
5173 (modules-names): Add tst-initorder2a tst-initorder2b
5174 tst-initorder2c tst-initorder2d. Add rules to build them.
5175 ($(objpfx)tst-initorder2.out): New rule.
5176 * elf/tst-initorder2.c: New file.
5177 * elf/tst-initorder2.exp: New file.
5178
87162f46
AS
51792011-08-22 Andreas Schwab <schwab@redhat.com>
5180
70538b7f
AS
5181 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5182
f55ffe58
AS
5183 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5184 dependencies back to end of function.
5185
87162f46
AS
5186 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5187 $(elfobjdir)/ld.so.
5188
91b392a4
UD
51892011-08-21 Ulrich Drepper <drepper@gmail.com>
5190
5191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5192 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5194 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5195 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5196 of __vdso_gettimeofday.
5197 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5198 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5199 attribute_hidden.
5200 (_libc_vdso_platform_setup): Remove initialization of
5201 __vdso_gettimeofday and __vdso_time.
5202
5c43483f
UD
52032011-08-20 Ulrich Drepper <drepper@gmail.com>
5204
775a77e7
UD
5205 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5206 and fgetc_unlocked.
5207 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5208 getc_unlocked.
89f447ed 5209
49c74ba9
UD
5210 * elf/dl-open.c (add_to_global): Report additions to the global scope
5211 for LD_DEBUG=scopes.
5212 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5213 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5214
5c43483f
UD
5215 [BZ #13114]
5216 * stdio-common/Makefile (tests): Add bug24.
5217 * stdio-common/bug24.c: New file.
5218
a101b025
AJ
52192011-08-19 Andreas Jaeger <aj@suse.de>
5220
5221 [BZ #13114]
5222 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5223 non-existant file when using close-on-exec mode.
5224
c88f1766
UD
52252011-08-20 Ulrich Drepper <drepper@gmail.com>
5226
0276a718
UD
5227 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5228 the very first instruction.
5229
c88f1766
UD
5230 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5231 the CFI state in the end.
5232 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5233 inclusion of dl-trampoline.h.
5234 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5235
51ccffa0
AS
52362011-08-19 Andreas Schwab <schwab@redhat.com>
5237
94d7165f
AS
5238 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5239 expectations for long double.
5240
51ccffa0
AS
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5242 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5243
fd708658 52442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5245
5246 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5247 artificual limit depends upon the system page size.
5248
44f0a71e
UD
52492011-08-17 Ulrich Drepper <drepper@gmail.com>
5250
5251 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5252 * resolv/Makefile: Define CFLAGS-libresolv.
5253
8de79a24
AS
52542011-08-17 Andreas Schwab <schwab@redhat.com>
5255
5256 * nss/makedb.c (compute_tables): Make variables used in nested
5257 function static.
5258
27724598
UD
52592011-08-17 Ulrich Drepper <drepper@gmail.com>
5260
c5305d88
UD
5261 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5262 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5263 if buffer was too small.
5264
27724598
UD
5265 * elf/pldd.c (main): Attach to all threads in the process.
5266 Rewrite /proc handling to use *at functions.
5267
076fe015
UD
52682011-08-16 Ulrich Drepper <drepper@gmail.com>
5269
174baab3
UD
5270 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5271 specifies first scope to show.
5272 (dl_open_worker): Update callers. Move printing scope of new
5273 object to before the relocation.
44f0a71e 5274 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5275 * sysdeps/generic/ldsodefs.h: Update declaration.
5276
076fe015
UD
5277 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5278 string for the scope number.
5279
a60df2c3
UD
52802011-08-14 Ulrich Drepper <drepper@gmail.com>
5281
5282 * nscd/servicescache.c (cache_addserv): Make sure written is always
5283 initialized.
5284
5e4287d1
RM
52852011-08-14 Roland McGrath <roland@hack.frob.com>
5286
85ae0589
RM
5287 * sysdeps/i386/i486/bits/atomic.h
5288 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5289 statement expression, so as to suppress "set but not used" warning.
5290 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5291
69f63097
RM
5292 * string/strncat.c (STRNCAT): Use prototype definition.
5293
675456ef
RM
5294 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5295 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5296 -Iprograms here.
5297 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5298 (localedef-modules): Add localedef.
5299 (locale-modules): Add locale.
5300
5e4287d1
RM
5301 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5302 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5303 to avoid a warning.
5304
9c96ff23
DM
53052011-08-14 David S. Miller <davem@davemloft.net>
5306
5307 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5308 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5309
f9ddf089
UD
53102011-08-13 Ulrich Drepper <drepper@gmail.com>
5311
44f0a71e 5312 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5313 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5314 * elf/rtld.c (dl_main): Set l_name of vDSO.
5315 Call _dl_show_scope when DL_DEBUG_SCOPES.
5316 (process_dl_debug): Recognize scopes flag and also set it for all.
5317 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5318 Declare _dl_show_scope.
5319
1dc27704
UD
5320 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5321 (do_dlopen): Pass caller_dlopen to dl_open.
5322 (__libc_dlopen_mode): Initialize caller_dlopen.
5323
f9ddf089
UD
5324 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5325 of libc. Make tolower call locale-independent. Optimize a bit by
5326 using isdigit instead of isalnum.
5327 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5328
9ac533d3
UD
53292011-08-12 Ulrich Drepper <drepper@gmail.com>
5330
5331 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5332 was a dependency or dynamically loaded.
5333
89edf2e9
UD
53342011-08-11 Ulrich Drepper <drepper@gmail.com>
5335
8e999d29
UD
5336 * intl/l10nflist.c: Allow architecture-specific pop function.
5337 * sysdeps/x86_64/l10nflist.c: New file.
5338
89edf2e9
UD
5339 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5340 classification.
5341
14d96785
AS
53422011-08-10 Andreas Schwab <schwab@redhat.com>
5343
5344 * include/dirent.h: Add libc_hidden_proto for scandirat and
5345 scandirat64. Don't declare __scandirat64.
5346 * dirent/scandirat.c: Add libc_hidden_def.
5347 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5348 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5349
6761ac04
DM
53502011-08-10 David S. Miller <davem@davemloft.net>
5351
5352 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5353 enum.
5354 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5355 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5356 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5357
c55fbd1e
UD
53582011-08-09 Ulrich Drepper <drepper@gmail.com>
5359
5360 * Versions.def [libc]: Add GLIBC_2.15.
5361 * dirent/Makefile (routines): Add scandirat and scandirat64.
5362 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5363 GLIBC_2.15.
5364 * dirent/dirent.h: Declare scandirat and scandirat64.
5365 * dirent/scandirat.c: New file.
5366 * dirent/scandirat64.c: New file.
5367 * sysdeps/wordsize-64/scandirat.c: New file.
5368 * sysdeps/wordsize-64/scandirat64.c: New file.
5369 * dirent/opendir.c: Define opendirat.
5370 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5371 using scandirat.
5372 * dirent/scandir64.c: Adjust for scandir.c change.
5373 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5374 __scandirat64, and __scandir_cancel_handler.
5375 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5376 additional parameter and use openat instead of open (outside of ld.so).
5377 Add new __opendir as wrapper around __opendirat.
5378 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5379 here without requiring old scandirat implementation.
5380
879165f2
UD
53812011-08-08 Ulrich Drepper <drepper@gmail.com>
5382
5383 * dirent/scandir.c (cancel_handler): Renamed to
5384 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5385 defined. Adjust users.
5386 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5387 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5388
cb7e923b
UD
53892011-08-04 Ulrich Drepper <drepper@gmail.com>
5390
16292edd
UD
5391 * string/test-string.h (IMPL): Use __STRING to expand name and then
5392 stringify it.
5393
cb7e923b
UD
5394 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5395 of cleanups.
5396
cff82933
LD
53972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5398
5399 * string/Makefile: Update.
5400 (strop-tests): Append strncat.
5401 * string/test-wcscmp.c: New file.
5402 New comprehensive test for wcscmp.
5403 * string/test-strcmp.c: Update.
5404 (WIDE): New define.
5405
9be9bfcc
AS
54062011-07-22 Andreas Schwab <schwab@redhat.com>
5407
5408 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5409 line.
5410
2e96f1c7
AS
54112011-07-26 Andreas Schwab <schwab@redhat.com>
5412
5413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5414 encoding to ACE if AI_IDN.
5415
85188888
JJ
54162011-08-01 Jakub Jelinek <jakub@redhat.com>
5417
5418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5419 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5420
5fa16e9b
LD
54212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5422
5423 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5424 Fix overflow bug in strncat.
5425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5426
5427 * string/test-strncat.c: Update.
5428 Add new tests for checking overflow bugs.
5429
54302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5431
5432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5433 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5434 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5435 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5436 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5437 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5438 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5439 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5440 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5441
5442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5443 (USE_AS_STRCAT): Define.
5444 Add strcat and strncat support.
5445 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5446
8c1a459f
AS
54472011-07-25 Andreas Schwab <schwab@redhat.com>
5448
5449 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5450 __n bigger than INT_MAX+1.
5451 (__strncmp_g): Likewise.
5452
bba33c28
UD
54532011-07-23 Ulrich Drepper <drepper@gmail.com>
5454
798be72d
UD
5455 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5456 * libio/stido.h: Likewise.
5457
8accd4dc
UD
5458 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5459 (AF_NFC): Define.
5460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5461 (AF_NFC): Define.
5462
cbff0d96
UD
5463 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5464 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5466 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5468
9191c04a
UD
5469 [BZ #13021]
5470 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5471 installed.
5472
bba33c28
UD
5473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5474 typo.
5475 (_dl_x86_64_save_sse): Likewise.
5476
90f139dd
UD
54772011-07-22 Ulrich Drepper <drepper@gmail.com>
5478
1aae088a
UD
5479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5480 OSXSAVE.
5481 (_dl_x86_64_save_sse): Likewise.
5482
8e2045f5
UD
5483 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5484
90f139dd
UD
5485 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5486
1d002f25
AS
54872011-07-21 Andreas Schwab <schwab@redhat.com>
5488
5489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5490 change.
5491 (_dl_x86_64_save_sse): Use correct AVX check.
5492
21137f89
UD
54932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5494
5495 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5496 bug in strncpy/strncat.
5497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5498
a65c0b7a
UD
54992011-07-21 Ulrich Drepper <drepper@gmail.com>
5500
5501 * string/tester.c (test_strcat): Add tests for different alignments
5502 of source and destination.
5503 (test_strncat): Likewise.
5504
6986b98a
UD
55052011-07-20 Ulrich Drepper <drepper@gmail.com>
5506
90bb2039
UD
5507 [BZ #12852]
5508 * posix/glob.c (glob): Check passed in values before using them in
5509 expressions to avoid some overflows.
5510 (glob_in_dir): Likewise.
5511
5644ef54
UD
5512 [BZ #13007]
5513 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5514 check for AVX enablement so that we don't crash with old kernels and
5515 new hardware.
5516 * elf/tst-audit4.c: Add same checks here.
5517 * elf/tst-audit6.c: Likewise.
5518
5519 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5520
bfc9dc9b
AS
55212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5522
5523 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5524
702e64bb
UD
55252011-07-20 Ulrich Drepper <drepper@gmail.com>
5526
5527 * po/cs.po: Update from translation team.
5528 * po/bg.po: Likewise.
5529
295e904f
MP
55302011-07-12 Marek Polacek <mpolacek@redhat.com>
5531
5532 * misc/sys/cdefs.h: Add support for const attribute.
5533 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5534 to gnu_dev_{major,minor,makedev} functions.
5535
3ff94596
MP
55362011-07-20 Marek Polacek <mpolacek@redhat.com>
5537
5538 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5539
28b59fca
AS
55402011-07-20 Andreas Schwab <schwab@redhat.com>
5541
5542 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5543 strlen results.
5544
19df733e
AK
55452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5546
5547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5548 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5549 register in order to avoid conflicts with the soft frame pointer
5550 being held in r11 when necessary.
5551 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5552 (INTERNAL_VSYSCALL_NCS): Likewise.
5553
c8835729
MP
55542011-07-14 Marek Polacek <mpolacek@redhat.com>
5555
5556 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5557 * elf/dl-fini.c (_dl_fini): Adjust caller.
5558 * elf/dl-close.c (_dl_close_worker): Likewise.
5559 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5560
b902330c
MP
55612011-07-15 Marek Polacek <mpolacek@redhat.com>
5562
8991e135
MP
5563 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5564 "aux_cache->nlibs < 0".
5565
b902330c
MP
5566 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5567 in the reload-count case.
5568
99710781
LD
55692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5570
5571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5572 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5573 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5574 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5575 * sysdeps/x86_64/multiarch/strcat.S: New file.
5576 * sysdeps/x86_64/multiarch/strncat.S: New file.
5577 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5578 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5579 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5580 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5581 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5582 (USE_AS_STRCAT): Define.
5583 Add strcat and strncat support.
5584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5585 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5586 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5587 * string/strncat.c: Update.
5588 (USE_AS_STRNCAT): Define.
5589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5590 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5591 and i7.
5592 * sysdeps/x86_64/multiarch/init-arch.h
5593 (bit_Prefer_PMINUB_for_stringop): New.
5594 (index_Prefer_PMINUB_for_stringop): Likewise.
5595 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5596 bit_Prefer_PMINUB_for_stringop.
5597
7dc6bd90
UD
55982011-07-19 Ulrich Drepper <drepper@gmail.com>
5599
5600 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5601 buffer64.
5602 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5603 of casting of buffer.
5604 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5605 buffer32 and buffer64.
5606 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5607 writes instead of casting of buffer.
5608 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5609 buffer32.
5610 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5611 casting of buffer.
5612
e0e72284
AS
56132011-07-19 Andreas Schwab <schwab@redhat.com>
5614
5615 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5616
feb1eb0b
UD
56172011-07-19 Ulrich Drepper <drepper@gmail.com>
5618
5619 * nscd/nscd.c (termination_handler): Don't do anything for a database
5620 if it has not yet been initialized.
5621
298711ff
UD
56222011-07-18 Ulrich Drepper <drepper@gmail.com>
5623
5624 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5625
56262011-07-15 Marek Polacek <mpolacek@redhat.com>
5627
5628 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5629
f9d68389
UD
56302011-07-18 Ulrich Drepper <drepper@gmail.com>
5631
5632 * po/nl.po: Update from translation team.
5633 * po/sv.po: Likewise.
5634
db290cf5
RM
56352011-07-16 Roland McGrath <roland@hack.frob.com>
5636
5637 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5638 now disallowed by GCC.
5c550700 5639
fd5e21c7
RM
5640 * configure.in (use-default-link): Default to yes if a test -shared
5641 link meets our qualifications.
5642 * configure: Regenerated.
5643
5c550700
RM
5644 * config.make.in (output-format): New variable.
5645 * configure.in: Check for ld --print-output-format support.
5646 * configure: Regenerated.
5647 * Makerules ($(common-objpfx)format.lds)
5648 [$(output-format) != unknown]: Just use $(output-format),
5649 instead of the linker-script munging.
5650
9fa2c032
RM
56512011-07-14 Roland McGrath <roland@hack.frob.com>
5652
a6928d51
RM
5653 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5654 of $(common-objpfx)shlib.lds.
5655 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5656
661607b3
RM
5657 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5658 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5659
9fa2c032
RM
5660 * configure.in (-z relro check): Adjust test code to add a large
5661 writable data section after it.
5662 * configure: Regenerated.
5663
defe9061
RM
56642011-07-11 Roland McGrath <roland@hack.frob.com>
5665
5666 * configure.in (-z relro check): Fix test code to make the variable
5667 truly const.
5668 * configure: Regenerated.
5669
319b9ad4
UD
56702011-07-11 Ulrich Drepper <drepper@gmail.com>
5671
5672 * nscd/nscd.h (struct traced_file): Define.
5673 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5674 elements. Add traced_files.
5675 (inotify_fd): Declare.
5676 (register_traced_file): Declare.
5677 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5678 (inotify_fd): Export.
5679 (resolv_conf_descr): Remove.
5680 (nscd_init): Move inotify descriptor creation to main.
5681 Don't register files for notification here.
5682 (register_traced_file): New function.
5683 (invalidate_cache): Don't use reset_res to determine whether to call
5684 res_init, go through the list of registered files.
5685 (main_loop_poll): The inotify descriptors are now stored in the
5686 structures for the traced files.
5687 (main_loop_epoll): Likewise
5688 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5689 to __nss_disable_nscd.
5690 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5691 for a database anymore. Check the records for all the registered
5692 files instead.
5693 * nss/Makefile (libnss_files-routines): Add files-init.
5694 (libnss_db-routines): Add db-init.
5695 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5696 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5697 * nss/nss_db/db-init.c: New file.
5698 * nss/nss_files/files-init.c: New file.
5699 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5700 __nss_lookup_function.
5701 (__nss_lookup_function): Call nss_load_library.
5702 (nss_load_all_libraries): New function.
5703 (__nss_disable_nscd): Take parameter with callback function for files
5704 to register. Set is_nscd. Load all the DSOs for the NSS modules
5705 used for the cached services.
5706 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5707 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5708 options for features to all the files in nscd.
5709
5710 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5711
23bee3e8
RM
57122011-07-10 Roland McGrath <roland@hack.frob.com>
5713
5714 * csu/elf-init.c (__libc_csu_init): Comment typo.
5715
46a5b7f0
UD
57162011-07-09 Ulrich Drepper <drepper@gmail.com>
5717
5718 * po/pl.po: Update from translation team.
5719 * po/ja.po: Likewise.
5720 * po/ru.po: Likewise.
5721 * po/ko.po: Likewise.
5722 * po/fr.po: Likewise.
5723
d30cf5bb
RM
57242011-07-09 Roland McGrath <roland@hack.frob.com>
5725
113ddea4
RM
5726 * configure.in (.ctors/.dtors header and trailer check):
5727 Use an empirical test on a built program.
5728 * configure: Regenerated.
5729
574920b4
RM
5730 * configure.in (-z relro check): Use an empirical test on a built DSO.
5731 Detect, but do not require, on ia64.
5732 * configure: Regenerated.
5733
d30cf5bb
RM
5734 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5735 Update tests that use readelf to use $READELF instead.
5736 * configure: Regenerated.
5737
8538fdb3
UD
57382011-07-08 Ulrich Drepper <drepper@gmail.com>
5739
5740 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5741 if the result is not used.
5742
04d08991
AJ
57432011-07-05 Andreas Jaeger <aj@suse.de>
5744
5745 [BZ#9696]
5746 * stdlib/tst-strtod.c: Add testcase.
5747
de283087
AD
57482011-07-07 Ulrich Drepper <drepper@gmail.com>
5749
4e5f31c8 5750 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5751 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5752 The latter has a higher limit. Take additional parameter to pass to
5753 the new function.
5754 (__pathconf): Pass file to __statfs_link_max.
5755 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5756 __statfs_link_max.
5757 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5758 __statfs_link_max.
5759
de283087
AD
5760 [BZ #12868]
5761 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5762 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5763 Handle Lustre.
5764 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5765 (__statfs_filesize_max): Likewise.
5766 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5767
c75fa153
AJ
57682011-07-05 Andreas Jaeger <aj@suse.de>
5769
5770 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5771
1a544854
UD
57722011-07-06 Marek Polacek <mpolacek@redhat.com>
5773
5774 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5775 `status' variable.
5776 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5777 Likewise.
5778
6f0eec67
UD
57792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5780
5781 * Makefile (strop-tests): Add strncat.
5782 * string/test-strncat.c: New file.
5783
aae30307
UD
57842011-06-30 Marek Polacek <mpolacek@redhat.com>
5785
5786 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5787
c0cfb5eb
UD
57882011-06-21 Andreas Jaeger <aj@suse.de>
5789
5790 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5791 Copy rule from iconvdata/Makefile.
5792
01636b21
UD
57932011-07-06 Ulrich Drepper <drepper@gmail.com>
5794
5795 [BZ #12922]
5796 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5797 but no long options are defined, just return 'W'.
5798
9895c8bc
UD
57992011-06-22 Marek Polacek <mpolacek@redhat.com>
5800
5801 [BZ #9696]
5802 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5803
5d4cf042
UD
58042011-07-06 Ulrich Drepper <drepper@gmail.com>
5805
5806 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5807 netgroups to read.
960e5535 5808 (innetgr): Likewise.
5d4cf042 5809
751eb97e
RM
58102011-07-05 Roland McGrath <roland@hack.frob.com>
5811
5812 * config.make.in (install_root): Default to $(DESTDIR).
5813
f15f1e45
UD
58142011-07-05 Ulrich Drepper <drepper@gmail.com>
5815
5816 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5817
4e34ac6a
RM
58182011-07-02 Roland McGrath <roland@hack.frob.com>
5819
5e9b6af4
RM
5820 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5821
84f9ea0f
RM
5822 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5823 containing directory rather than embedding absolute directory names.
5824
ea5ee9f7
RM
5825 * scripts/check-local-headers.sh: Rewritten using awk.
5826 Match by word, not by line. Print error messages for matches.
5827 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5828
1b74661a
RM
5829 * Makerules [shlib-lds-flags empty]:
5830 ($(common-objpfx)libc_pic.opts): New target.
5831 ($(common-objpfx)libc_pic.os.clean): New target.
5832 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5833
5834 * config.make.in (OBJCOPY): New variable.
5835 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5836 * configure: Regenerated.
5837
f781ef40
RM
5838 * config.make.in (use-default-link): New variable.
5839 * configure.in (use_default_link): Grok --with-default-link to set it.
5840 * configure: Regenerated.
5841 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5842 (shlib-lds, shlib-lds-flags): Define to empty.
5843
2d4fa81e
RM
5844 * Makerules (shlib-lds): New variable.
5845 (shlib-lds-flags): New variable.
5846 (build-shlib, build-moduile, build-module-asneeded): Use it.
5847 ($(common-objpfx)libc.so): Use $(shlib-lds).
5848 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5849 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5850
31fffa6b
RM
5851 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5852 DT_FLAGS/DT_FLAGS_1 with zero flags.
5853
4e34ac6a
RM
5854 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5855 linker script munging.
5856
fcfc776b
UD
58572011-07-02 Ulrich Drepper <drepper@gmail.com>
5858
5859 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5860 as 128-bit value.
5861 * crypt/sha512.c (sha512_process_block): Perform total addition using
5862 128-bit if possible.
5863 (__sha512_finish_ctx): Likewise.
5864 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5865 as 64-bit value.
5866 * crypt/sha256.c (SWAP64): Define.
5867 (sha256_process_block): Perform total addition using 64-bit if
5868 possible.
5869 (__sha256_finish_ctx): Likewise.
5870
99231d9a
UD
58712011-07-01 Ulrich Drepper <drepper@gmail.com>
5872
5873 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5874 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5875 * nscd/hstcache.c (cache_addhst): Likewise.
5876 * nscd/grpcache.c (cache_addgr): Likewise.
5877 * nscd/aicache.c (addhstaiX): Likewise
5878 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5879
445b4a53
TK
58802011-07-01 Thorsten Kukuk <kukuk@suse.de>
5881
5882 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5883 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5884 * nscd/hstcache.c (cache_addhst): Likewise.
5885 * nscd/grpcache.c (cache_addgr): Likewise.
5886 * nscd/aicache.c (addhstaiX): Likewise
5887
6d4d8e8e
AS
58882011-07-01 Andreas Schwab <schwab@redhat.com>
5889
5890 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5891 domain only when needed.
5892
89f654c5
AS
58932011-06-30 Andreas Schwab <schwab@redhat.com>
5894
5895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5896 is always restored.
5897
cf3b23ff
UD
58982011-06-29 Ulrich Drepper <drepper@gmail.com>
5899
5900 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5901 are re-adding the entry.
5902 * nscd/servicescache.c (cache_addserv): Likewise.
5903
751626f9
AJ
59042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5905
5906 * sysdeps/generic/dl-irel.h: fix protection against multiple
5907 inclusions.
5908 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5909
9113ea1f
UD
59102011-06-28 Ulrich Drepper <drepper@gmail.com>
5911
5c0b8d90
UD
5912 [BZ #12935]
5913 * malloc/memusage.sh: Fix quoting in message.
5914 * debug/xtrace.sh: Likewise.
5915
9113ea1f
UD
5916 * configure.in: Remove support for --experimental-malloc option, make
5917 it the default.
5918 * config.make.in: Likewise.
5919 * malloc/Makefile: Likewise.
5920
a4172181
AS
59212011-06-27 Andreas Schwab <schwab@redhat.com>
5922
5923 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5924 two-byte characters.
5925
78a7eee7
RM
59262011-06-27 Roland McGrath <roland@hack.frob.com>
5927
62bede13
RM
5928 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5929 AC_CACHE_CHECK invocation.
5930 * configure: Regenerated.
5931
78a7eee7
RM
5932 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5933
5ce33a62
UD
59342011-06-27 Ulrich Drepper <drepper@gmail.com>
5935
034807a9
UD
5936 [BZ #12350]
5937 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5938 bit from old_res_options.
5939
4902da17
UD
5940 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5941
5ce33a62
UD
5942 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5943 value type for setfct.
5944
c2344f56
L
59452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5946
5947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5948 __gettimeofday instead of gettimeofday.
5949
68468076
UD
59502011-06-26 Ulrich Drepper <drepper@gmail.com>
5951
5952 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5953
acb0d739
L
59542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5955
5956 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5957
5958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5959 info.
5960
8912479f
L
59612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5962
5963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5964 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5965 strcpy-sse2-unaligned strncpy-sse2-unaligned
5966 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5967 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5968 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5969 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5970 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5971 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5972 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5973 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5974 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5975 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5976 (STRCPY): Support SSE2 and SSSE3 versions.
5977
d5495a11
UD
59782011-06-24 Ulrich Drepper <drepper@gmail.com>
5979
5980 [BZ #12874]
5981 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5982 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5983 kernels which artificially limit size of requests.
5984
0b1cbaae
L
59852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5986
5987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5988 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5989 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5990 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5991 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5992 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5993 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5994 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5995 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5997 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5998 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5999 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6000 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6001 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6003 Enable unaligned load optimization for Intel Core i3, i5 and i7
6004 processors.
6005 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6006 Define.
6007 (index_Fast_Unaligned_Load): Define.
6008 (HAS_FAST_UNALIGNED_LOAD): Define.
6009
07f494a0
MP
60102011-06-23 Marek Polacek <mpolacek@redhat.com>
6011
6012 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6013
fa3fc0fe
UD
60142011-06-22 Ulrich Drepper <drepper@gmail.com>
6015
6016 [BZ #12907]
6017 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6018 until it is clear that the information is realy needed.
6019 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6020
e12df166
AS
60212011-06-22 Andreas Schwab <schwab@redhat.com>
6022
6023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6024
852eb34d
UD
60252011-06-22 Ulrich Drepper <drepper@gmail.com>
6026
84e2a551
UD
6027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6028 /sys/devices/system/cpu/online if it is usable.
6029
852eb34d
UD
6030 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6031 reading the information from the /proc filesystem to once a second.
6032
6e502e19
UD
60332011-06-21 Andreas Jaeger <aj@suse.de>
6034
6035 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6036 NULL after inclusion of kernel headers.
6037
75d39ff2
UD
60382011-06-21 Ulrich Drepper <drepper@gmail.com>
6039
51f9aa6a
UD
6040 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6041 calls to internal_setent.
6042
c0244a9d
UD
6043 [BZ #12885]
6044 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6045 addresses using gethostbyname4_r ignore IPv4 addresses.
6046
c5e3c2ae
UD
6047 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6048 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6049
75d39ff2
UD
6050 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6051
42675c6f
DM
60522011-06-20 David S. Miller <davem@davemloft.net>
6053
6054 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6055 inclusions.
6056 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6057
6058 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6059 (elf_irel): Use it.
6060 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6061 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6062 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6063 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6064 * sysdeps/x86_64/dl-irel.h: Likewise.
6065
6066 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6067 * elf/dl-sym.c: Likewise.
6068
57912a71
UD
60692011-06-15 Ulrich Drepper <drepper@gmail.com>
6070
6071 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6072 need to dereference resplen2.
6073
ee22793d
AS
60742011-06-14 Andreas Schwab <schwab@redhat.com>
6075
6076 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6077
a9e836b0
UD
60782011-06-15 Ulrich Drepper <drepper@gmail.com>
6079
77fb9117
UD
6080 * Makeconfig: Define vardbdir and inst_vardbdir.
6081 * nss/Makefile: Add rules to install db-Makefile.
6082
40c1b22c
UD
6083 * nss/nss_db/db-XXX.c: Cleanup.
6084
9f2da732
UD
6085 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6086 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6087 GLIBC_PRIVATE.
6088 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6089 * nss/makedb.c: Implement -g option to specify that value strings
6090 are generated and should not be added to table iterated over for
6091 get*ent calls.
6092 * nss/nss_db/db-initgroups.c: New file.
6093
82e9a1f7
UD
6094 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6095 interface.
6096
c41af17e
UD
6097 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6098 (internal_getgrouplist): Adjust to name change.
6099 Update use_initgroups_entry if this is not the first call.
6100 * nss/databases.def: Add initgroups entry.
6101
a9e836b0
UD
6102 * nss/makedb.c (compute_tables): Check result of multiple hash table
6103 sizes to minimize maximum chain length.
6104
2666d441
UD
61052011-06-14 Ulrich Drepper <drepper@gmail.com>
6106
6107 * Versions.def: Add entry for libnss_db.
6108 * shlib-versions: Likewise.
6109 * nss/Makefile: Add rules to build libnss_db.
6110 * nss/Versions: Add libnss_db information. Organize libnss_files
6111 entries better.
6112 * nss/db-Makefile: Add gshadow support. Change rules for the new
6113 makedb progra. Some minor improvements to generate smaller files.
6114 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6115 here from...
6116 * nss/makedb.c: ...here.
6117 Improve database format to be smaller and require less memory at
6118 runtime.
6119 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6120 db anymore.
6121 * nss/nss_db/db-netgrp.c: Likewise.
6122 * nss/nss_db/db-open.c: Likewise.
6123 * nss/nss_files/flies-XXX.x: Adjust comments.
6124 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6125 * nss/nss_files/files-grp.c: Likewise.
6126 * nss/nss_files/files-hosts.c: Likewise.
6127 * nss/nss_files/files-network.c: Likewise.
6128 * nss/nss_files/files-proto.c: Likewise.
6129 * nss/nss_files/files-pwd.c: Likewise.
6130 * nss/nss_files/files-rpc.c: Likewise.
6131 * nss/nss_files/files-service.c: Likewise.
6132 * nss/nss_files/files-sgrp.c: Likewise.
6133 * nss/nss_files/files-spwd.c: Likewise.
6134 * nss/nss_db/db-alias.c: Removed.
6135 * nss/nss_db/dummy-db.h: Removed.
6136
9ee76b5a
UD
61372011-06-02 Ulrich Drepper <drepper@gmail.com>
6138
6139 * nss/makedb.c: Rewritten to not use database library.
6140 * nss/Makefile: Update to build new makedb program.
6141
c71ca1f8
AJ
61422011-06-14 Andreas Jaeger <aj@suse.de>
6143
6144 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6145 memset declaration.
6146
3154bfb8
UD
61472011-06-10 Andreas Schwab <schwab@redhat.com>
6148
6149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6150 tmpbuf.
6151
b350afab
RM
61522011-06-10 Roland McGrath <roland@hack.frob.com>
6153
decd4e50
RM
6154 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6155 * elf/Makefile ($(objpfx)ld.so): Likewise.
6156
5615eaf2
RM
6157 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6158 Don't list ld.so twice in dependencies.
6159
6160 * posix/bug-regex31.c: Include <stdlib.h>.
6161
6162 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6163
6164 * nis/nss_compat/compat-spwd.c
6165 (getspent_next_nss_netgr): Remove unused variable.
6166 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6167
6168 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6169 nonmembers" output to use the right array.
6170
6171 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6172
6173 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6174
6175 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6176 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6177 * catgets/gencat.c (read_input_file): Likewise.
6178 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6179
6180 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6181 variable definition inside #if's controlling its use.
6182
6183 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6184
6185 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6186
6187 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6188
6189 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6190 unreachable code.
6191
6192 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6193
b68e08db
RM
6194 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6195 * configure: Regenerated.
6196
b350afab
RM
6197 * Makerules: Revert last change.
6198 * elf/Makefile: Likewise.
6199
28368601
RM
62002011-06-09 Roland McGrath <roland@hack.frob.com>
6201
6202 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6203 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6204 (reloc-link): Likewise.
6205
11988f8f
UD
62062011-06-09 Ulrich Drepper <drepper@gmail.com>
6207
6208 * elf/Makefile: Add rules to build pldd.
6209 * elf/pldd.c: New file.
6210 * elf/pldd-xx.c: New file.
6211
e80fab37
UD
62122011-06-07 Ulrich Drepper <drepper@gmail.com>
6213
6214 * version.h: Update for 2.15 development version.
6215
9b849836
DM
62162011-06-07 David S. Miller <davem@davemloft.net>
6217
6218 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6219 ifuncs.
6220 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6221 elf_machine_lazy_rel): Likewise.
6222 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6224 elf_machine_lazy_rel): Likewise.
6225 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6226 dl_hwcap via passed in argument.
6227 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6228 Likewise.
6229
5a31b283
AK
62302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6231
6232 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6233
069e52f8
RM
62342011-06-06 Roland McGrath <roland@hack.frob.com>
6235
6236 [BZ #12849]
6237 * manual/fdl-1.1.texi: New file, verbatim from:
6238 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6239 * manual/lgpl-2.1.texi: New file, verbatim from:
6240 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6241 * manual/Makefile (licenses): New variable, list those new file names.
6242 (texis): Use it.
6243 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6244
6245 * manual/fdl.texi: File removed.
6246 * manual/lesser.texi: File removed.
6247 * manual/libc.texinfo (Copying, Documentation License):
6248 Use new @include file names, put @appendix directive before @include.
6249
f16846a5
JJ
62502011-06-04 Jakub Jelinek <jakub@redhat.com>
6251
6252 [BZ #12841]
6253 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6254 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6255 (mq_open): Add __NTH.
6256
3d29045b
L
62572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6258
6259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6260 Assume Intel Core i3/i5/i7 processor if AVX is available.
6261
8c297311
UD
62622011-05-31 Ulrich Drepper <drepper@gmail.com>
6263
6264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6265 typo.
6266
c8fc0c91
UD
62672011-05-31 Andreas Schwab <schwab@redhat.com>
6268
6269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6270 memory. Use alloca_account. Fix memory leak when retrying.
6271
5b27a807
UD
62722011-05-31 Ulrich Drepper <drepper@gmail.com>
6273
356f8bc6
UD
6274 * version.h (RELEASE): Bump for 2.14 release.
6275 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6276
5b27a807
UD
6277 * config.make.in (RANLIB): Remove entry.
6278
01f16ab0
UD
62792011-05-30 Ulrich Drepper <drepper@gmail.com>
6280
41fce8bd
UD
6281 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6282 (libc.pot): Work around missing support for .ksh extension in xgettext.
6283
4769ae77
UD
6284 [BZ #12684]
6285 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6286 if both request failed.
6287 (send_dg): In case of server errors clear resplen or *resplen2.
6288
6b1e7d19
UD
6289 [BZ #12454]
6290 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6291 when there are multiple maps.
6292 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6293 (_dl_fini): Remove test here.
6294
01f16ab0
UD
6295 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6296
b1ebd700
UD
62972011-05-29 Ulrich Drepper <drepper@gmail.com>
6298
7ae22829
UD
6299 [BZ #12350]
6300 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6301 bit from old_res_options.
6302 (gaih_inet): Likewise.
6303
553149f6 6304 [BZ #11099]
18a84741 6305 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6306 as signed.
6307
652ffab1
UD
6308 * resolv/res_init.c (res_setoptions): Make the code more compact.
6309
16985fd0
UD
6310 [BZ #11558]
6311 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6312 set RES_USEVC.
6313
0464f746
UD
6314 [BZ #11634]
6315 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6316
7d17596c
UD
6317 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6318
cf6bbbd7
UD
6319 [BZ #11781]
6320 * malloc/malloc.h: Declare malloc hook variables as volatile.
6321
13f1ab36
UD
6322 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6323 in last patch.
6324
b1ebd700
UD
6325 [BZ #11799]
6326 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6327 raise in the comment.
80e2212d
UD
6328 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6329 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6330 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6331
ce67228d
UD
63322011-05-28 Ulrich Drepper <drepper@gmail.com>
6333
8887a920
UD
6334 [BZ #12811]
6335 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6336 grow the buffers more if it already has to be sufficient.
6337 (build_wcs_upper_buffer): Likewise.
6338 * posix/regexec.c (check_matching): Likewise.
6339 (clean_state_log_if_needed): Likewise.
6340 (extend_buffers): Don't enlarge buffers beyond size of the input
6341 buffer.
6342 Patches mostly by Emil Wojak <emil@wojak.eu>.
6343 * posix/bug-regex32.c: New file.
6344 * posix/Makefile (tests): Add bug-regex32.
6345
4f031072
UD
6346 * locale/findlocale.c (_nl_find_locale): Return right away if
6347 _nl_explode_name failed.
6348 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6349
d0478f0c
UD
6350 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6351
de81b246
UD
6352 * debug/xtrace.sh: Unify messages.
6353 * malloc/memusage.sh: Likewise.
6354
c738465a
UD
6355 [BZ #12813]
6356 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6357 time symbol from vDSO. Substitute with vsyscall if not available.
6358 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6359 __vdso_time.
6360
f1f929d7
UD
6361 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6362 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6363 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6364 Add sendmmsg and internal_sendmmsg.
6365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6366 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6367 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6368
ce67228d
UD
6369 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6370 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6371 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6372
e57420c6
UD
63732011-05-27 Ulrich Drepper <drepper@gmail.com>
6374
a8509ca5
UD
6375 [BZ #12813]
6376 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6377 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6378 available.
6379 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6380 __vdso_getcpu.
6381
e57420c6
UD
6382 [BZ #12814]
6383 * iconvdata/Makefile (tests): Add bug-iconv9.
6384 * iconvdata/bug-iconv9.c: New file.
6385
4d07db15
AS
63862011-05-27 Andreas Schwab <schwab@redhat.com>
6387
6388 [BZ #12814]
6389 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6390
ea486f69
JJ
63912011-05-25 Jakub Jelinek <jakub@redhat.com>
6392
6393 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6394 (struct user_regs_struct): Change intcs field back to cs.
6395
6f038433
UD
63962011-05-25 Ulrich Drepper <drepper@gmail.com>
6397
6398 * po/ja.po: Update from translation team.
6399
67f86a25
UD
64002011-05-23 Ulrich Drepper <drepper@gmail.com>
6401
6402 [BZ #12795]
6403 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6404 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6405
def7fbd6
AS
64062011-05-20 Andreas Schwab <schwab@redhat.com>
6407
6408 * stdlib/longlong.h: Update from GCC.
6409
f50ef8f1
AS
64102011-05-23 Andreas Schwab <schwab@redhat.com>
6411
6412 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6413 parameter name.
6414 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6415 Add parameter name.
6416 (__sysconf): Pass it down.
6417
de7ce8f1
UD
64182011-05-22 Ulrich Drepper <drepper@gmail.com>
6419
f2962a71
UD
6420 [BZ #12671]
6421 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6422 some situations.
6423 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6424 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6425 add in in __libc_use_alloca calls. Adjust callers.
6426 (glob): Use malloc in some situations.
6427
de7ce8f1
UD
6428 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6429 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6430 pltexit.
6431
aec84f53
UD
64322011-05-21 Ulrich Drepper <drepper@gmail.com>
6433
05bb4a68
UD
6434 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6435 and CLOCK_BOOTTIME_ALARM.
6436
7ea72f99
UD
6437 [BZ #12782]
6438 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6439 is returned.
6440
7e4afad5
UD
6441 * string/_strerror.c (__strerror_r): Print negative errors as signed
6442 numbers.
6443
8e211fec
UD
6444 [BZ #12777]
6445 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6446 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6447 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6448
f7d82dc9
UD
6449 * configure.in: Fix typo in redirection and correct removal of test
6450 files in two cases.
6451
cc9e536d
UD
6452 [BZ #12788]
6453 * locale/setlocale.c (new_composite_name): Fix test to check for
6454 identical name of all categories.
6455
aec84f53
UD
6456 [BZ #12792]
6457 * libio/filedoalloc.c (local_isatty): New function.
6458 (_IO_file_doallocate): Use local_isatty.
6459 * stdio-common/perror.c (perror): In case a new stream is used
6460 forward the stream error.
6461 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6462 error flag.
6463
78e64fdc
RT
64642011-05-20 Ulrich Drepper <drepper@gmail.com>
6465
34a9094f
UD
6466 [BZ #11869]
6467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6468 alloca.
6469 * include/alloca.h (extend_alloca_account): Define.
6470
78e64fdc
RT
6471 [BZ #11857]
6472 * posix/regex.h: Fix comments with documentation of user-accessible
6473 fields after compilation and describe correct free'ing of pattern
6474 after re_compile_pattern.
6475 Patch by Reuben Thomas <rrt@sc3d.org>.
6476
457bddfc
RA
64772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6478
6479 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6480 and -mno-altivec to prevent the compiler from using Altivec and/or
6481 VSX instructions when the corresponding registers are not available.
6482
a4527b51
AS
64832011-05-19 Andreas Schwab <schwab@redhat.com>
6484
6485 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6486
ed690b2f
UD
64872011-05-19 Ulrich Drepper <drepper@gmail.com>
6488
6489 * libio/freopen.c (freopen): Use __dup2, not dup2.
6490 * libio/freopen64.c (freopen64): Likewise.
6491
8db73634
L
64922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6493
6494 [BZ #12775]
6495 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6496 * math/Makefile (tests): Add test-powl.
6497 (CFLAGS-test-powl.c): Define.
6498 * math/test-powl.c: New file.
6499
0a197a9d
L
65002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6501
6502 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6503
ee30c380
UD
65042011-05-17 Ulrich Drepper <drepper@gmail.com>
6505
6506 [BZ #11837]
6507 * iconvdata/gb18030.c: Update to GB18020-2005.
6508
6ce75379
UD
65092011-05-16 Ulrich Drepper <drepper@gmail.com>
6510
a4b89fd8
AR
6511 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6512 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6513 Patch by Aharon Robbins <arnold@skeeve.com>.
6514
ea389b12
UD
6515 [BZ #11892]
6516 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6517 on the stack.
6518
68a3f91f
UD
6519 [BZ #11895]
6520 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6521 through underflows.
6522
15cc7dd1
UD
6523 [BZ #12766]
6524 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6525 point to strings before performing equality test for error_one_per_line
6526 mode.
6527
f3799213
UD
6528 [BZ #11697]
6529 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6530
d79a9c94
UD
6531 [BZ #11820]
6532 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6533 (struct user_fpregs_struct): Avoid __uint*_t types.
6534
56e5eb46
UD
6535 [BZ #6420]
6536 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6537 symbol info. Use it instead of calling _dl_addr locally.
6538 (lock_and_info): New function.
6539 (tr_freehook): Call lock_and_info and pass symbol info as additional
6540 parameter to tr_where.
6541 (tr_mallochook): Likewise.
6542 (tr_reallochook): Likewise.
6543 (tr_memalignhook): Likewise.
6544
6ce75379
UD
6545 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6546 used and couldn't be at all thread-safe.
6547
f8a3b5bf
UD
65482011-05-15 Ulrich Drepper <drepper@gmail.com>
6549
94b7cc37
UD
6550 * libio/freopen.c (freopen): Don't close old file descriptor
6551 before the new one is opened. Instead dup the new file descriptor
6552 to the old one after the new stream is created.
6553 * libio/freopen64.c (freopen64): Likewise.
6554 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6555 * libio/fileops.c (_IO_new_file_close_it): Handle new
6556 _IO_FLAGS2_NOCLOSE flag.
6557 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6558 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6559 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6560 _IO_FLAGS2_NOCLOSE flag.
6561 * include/unistd.h: Add hidden_proto for dup3.
6562 Define __have_dup3.
6563 * io/dup3.c: Define hidden symbol.
6564 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6565
bd25564e
UD
6566 [BZ #7101]
6567 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6568 when an incomplete long option is used.
6569 * posix/tst-getopt_long1.c: New file.
6570 * posix/Makefile (tests): Add tst-getopt_long1.
6571
c84cfef4
UD
6572 [BZ #10138]
6573 * scripts/config.guess: Update from autoconf-2.68.
6574 * scripts/config.sub: Likewise.
6575
3b85df27
UD
6576 [BZ #10157]
6577 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6578 tests into ...
6579 (has_cpuclock): ...this. New function.
6580 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6581 macro here based on has_cpuclock code.
6582
15a856b1
UD
6583 [BZ #10149]
6584 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6585 First byte (not low byte) is now always NUL.
6586 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6587
05f399e6
UD
6588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6589 Use non-cancelable interfaces.
6590
10a52685 6591 [BZ #9809]
94ecc67d
UD
6592 * locale/iso-639.def: Add entry for Sorani.
6593
f8a3b5bf
UD
6594 [BZ #11901]
6595 * include/stdlib.h: Move include protection to the right place.
6596 Define abort_msg_s. Declare __abort_msg with it.
6597 * stdlib/abort.c (__abort_msg): Adjust type.
6598 * assert/assert.c (__assert_fail_base): New function. Majority
6599 of code from __assert_fail. Allocate memory for __abort_msg with
6600 mmap.
6601 (__assert_fail): Now call __assert_fail_base.
6602 * assert/assert-perr.c: Remove bulk of implementation. Use
6603 __assert_fail_base.
6604 * include/assert.hL Declare __assert_fail_base.
6605 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6606 mmap.
6607 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6608
1af4e298
UD
66092011-05-14 Ulrich Drepper <drepper@gmail.com>
6610
f8a3b5bf 6611 [BZ #11952]
d26dfc60
MG
6612 [BZ #12453]
6613 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6614 until all modules are registered in the DTV.
6615 * elf/Makefile: Add rules to build and run tst-tls19.
6616 * elf/tst-tls19.c: New file.
6617 * elf/tst-tls19mod1.c: New file.
6618 * elf/tst-tls19mod2.c: New file.
6619 * elf/tst-tls19mod3.c: New file.
6620 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6621
2fc54d6f
UD
6622 [BZ #12083]
6623 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6624 correctly.
6625
98d76b46
UD
6626 [BZ #12601]
6627 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6628 two-byte sequence errors.
6629 * iconvdata/Makefile (tests): Add bug-iconv8.
6630 * iconvdata/bug-iconv8.c: New file.
6631
da3c19ef
UD
6632 [BZ #12626]
6633 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6634 buf2 definition.
6635
ca408c15
UD
6636 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6637
d6f67f7d
UD
6638 [BZ #12432]
6639 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6640 (dummy_getcfa): New function.
6641 (init): Get _Unwind_GetCFA address, use dummy if not found.
6642 (backtrace_helper): In recursion check, also check whether CFA changes.
6643 (__backtrace): Completely initialize arg.
6644
1af4e298 6645 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6646 storing incomplete byte sequence in state object. Avoid testing for
6647 guaranteed too small input if we know there is enough data available.
1af4e298 6648
da62f81b
AS
66492011-05-11 Andreas Schwab <schwab@redhat.com>
6650
6651 * Makeconfig (+link-pie): Indent.
6652 * Rules (binaries-pie): Define if $(have-fpie) and
6653 $(build-shared).
6654 (binaries-shared): Also filter out $(binaries-pie).
6655 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6656 * nscd/Makefile (others-pie): Add nscd.
6657 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6658 ($(objpfx)nscd): Remove command override.
6659 * login/Makefile (others-pie): Add pt_chown.
6660 ($(objpfx)pt_chown): Remove command override.
6661 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6662 remove command overrides.
6663
fcabc0f8
UD
66642011-05-13 Ulrich Drepper <drepper@gmail.com>
6665
20030ae6
UD
6666 * libio/tst_putwc.c: Fix error messages.
6667
fcabc0f8
UD
6668 [BZ #12724]
6669 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6670 currently writing and seek to current position when not.
6671 * libio/Makefile (tests): Add bug-fclose1.
6672 * libio/bug-fclose1.c: New file.
6673
320a5dc0
PB
66742011-05-12 Ulrich Drepper <drepper@gmail.com>
6675
6676 [BZ #12511]
6677 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6678 don't set DF_1_NODELETE here.
6679 (do_lookup_x): When entering new entry test for copy relocation
6680 and if necessary set DF_1_NODELETE flag.
6681 * elf/tst-unique4.cc: New file.
6682 * elf/tst-unique4.h: New file.
6683 * elf/tst-unique4lib.cc: New file.
6684 * elf/Makefile: Add rules to build and run tst-unique4.
6685 Patch by Piotr Bury <pbury@goahead.com>.
6686
22836f52
UD
66872011-05-11 Ulrich Drepper <drepper@gmail.com>
6688
f574184a
UD
6689 [BZ #12052]
6690 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6691
e1fb097f
UD
6692 [BZ #12625]
6693 * misc/mntent_r.c (addmntent): Flush the stream after the output
6694
22836f52
UD
6695 [BZ #12393]
6696 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6697 (is_trusted_path_normalize): Skip initial colon. Append slash
6698 to empty buffer. Duplicate is_trusted_path code but allow
6699 constructed patch to be prefix.
6700 (is_dst): Allow $ORIGIN followed by /.
6701 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6702 Correct testing of result of is_trusted_path_normalize
6703 (decompose_rpath): Fix warning.
6704
7b3b0b2a
UD
67052011-05-10 Ulrich Drepper <drepper@gmail.com>
6706
6707 [BZ #11257]
6708 * grp/initgroups.c (internal_getgrouplist): When we found the service
6709 list through the initgroups entry in nsswitch.conf do not always
6710 continue on a successful lookup. Don't always use the
eac80ce2 6711 __nss_group_database value if it is set.
7b3b0b2a
UD
6712 * nss/nsswitch.conf (initgroups): Change action for successful db
6713 lookup to continue for compatibility.
6714
2a81eaa5
UD
67152011-05-09 Ulrich Drepper <drepper@gmail.com>
6716
be97a69e
UD
6717 [BZ #11532]
6718 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6719 and CP774 modules.
6720 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6721 and CP774 modules.
6722 * iconvdata/tst-tables.sh: Likewise.
6723 * iconvdata/cp770.c: New file.
6724 * iconvdata/cp771.c: New file.
6725 * iconvdata/cp772.c: New file.
6726 * iconvdata/cp773.c: New file.
6727 * iconvdata/cp774.c: New file.
6728 * iconvdata/testdata/CP770: New file.
6729 * iconvdata/testdata/CP770..UTF8: New file.
6730 * iconvdata/testdata/CP771: New file.
6731 * iconvdata/testdata/CP771..UTF8: New file.
6732 * iconvdata/testdata/CP772: New file.
6733 * iconvdata/testdata/CP772..UTF8: New file.
6734 * iconvdata/testdata/CP773: New file.
6735 * iconvdata/testdata/CP773..UTF8: New file.
6736 * iconvdata/testdata/CP774: New file.
6737 * iconvdata/testdata/CP774..UTF8: New file.
6738
6739 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6740 END CHARMAP line.
6741 * iconvdata/gen-8bit-gap.sh: Likewise.
6742 * iconvdata/gen-8bit.sh: Likewise.
6743
c1e9e399
UD
6744 * locale/iso-639.def: Add ary entry.
6745
24c55fb3 6746 [BZ #11258]
96b4b1b0
UD
6747 * locale/C-translit.h.in: Add U20A1 transliteration.
6748
bdc2f971
KB
6749 [BZ #12178]
6750 * locale/iso-639.def: Add wae entry.
6751 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6752
2952b117
UD
6753 [BZ #12545]
6754 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6755 for n.
6756
2a81eaa5
UD
6757 [BZ #12711]
6758 * locale/C-translit.h.in: Add entry for U20B9.
6759 Patch by pravin.d.s@gmail.com.
6760
28377d1b
UD
67612011-05-08 Ulrich Drepper <drepper@gmail.com>
6762
7fb90fb8
UD
6763 [BZ #12713]
6764 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6765 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6766 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6767 in rtld. Use *stat64.
7fb90fb8 6768 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6769 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6770 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6771 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6772 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6773 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6774 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6775 __fstatat64 macros.
7fb90fb8
UD
6776 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6777 * dirent/rewinddir.c: Add libc_hidden_def.
6778 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6779 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6780
28377d1b
UD
6781 * include/dirent.h (__alloc_dir): Add flags parameter.
6782 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6783 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6784 __alloc_dir.
6785 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6786 from fdopendir if O_CLOEXEC is already set.
6787
66bdbaa4
AM
67882011-03-15 Alan Modra <amodra@gmail.com>
6789
6790 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6791 l_tls_firstbyte_offset non-zero. Save padding offset in
6792 l_tls_firstbyte_offset for later use.
6793 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6794 freeing static tls block.
6795
95721191
JN
67962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6797
6798 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6799 where #ifdef was intended. The intent is to prevent ARG_MAX from
6800 being defined by the kernel headers.
6801
f87dfb1f
UD
68022011-05-07 Ulrich Drepper <drepper@gmail.com>
6803
6804 [BZ #12734]
6805 * resolv/resolv.h: Define RES_NOTLDQUERY.
6806 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6807 no-tld-query and set RES_NOTLDQUERY.
6808 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6809 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6810 modern BIND to search name as TLD unless forbidden.
6811
47c3cd7a
UD
68122011-05-07 Petr Baudis <pasky@suse.cz>
6813 Ulrich Drepper <drepper@gmail.com>
6814
6815 [BZ #12393]
6816 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6817 (is_trusted_path): ...to here.
c1e9ea35 6818 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6819 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6820 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6821
8a35c912
PP
68222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6823
6824 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6825 __BEGIN/__END_DECLS.
6826
acd41f47
UD
68272011-05-06 Ulrich Drepper <drepper@gmail.com>
6828
6829 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6830 NSS_STATUS_NOTFOUND if no record was found.
6831
597df647
AS
68322011-05-05 Andreas Schwab <schwab@redhat.com>
6833
6834 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6835 (headers-not-in-tirpc): Remove rpc/netdb.h
6836 * resolv/netdb.h: Revert last change.
6837
b9af1301
PP
68382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6839
6840 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6841 circular dependency between libgcc.a and libc.a.
6842
4e34d5f5
AS
68432011-05-05 Andreas Schwab <schwab@redhat.com>
6844
6845 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6846 * nis/Makefile: Don't install rpcsvc/*.
6847 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6848 instead of <rpc/types.h>.
6849 (MAXHOSTNAMELEN): Define.
6850
00ee369c
AS
68512011-05-03 Andreas Schwab <schwab@redhat.com>
6852
6853 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6854
0b592a30
MB
68552011-04-28 Maciej Babinski <mbabinski@google.com>
6856
6857 [BZ #12714]
6858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6859 gethostbyname4_r when IPv6 results are possible.
6860
6e04cbbe
UD
68612011-05-02 Ulrich Drepper <drepper@gmail.com>
6862
6863 [BZ #12723]
6864 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6865 _PC_PIPE_BUF handling.
6866
e4ecafe0
BH
68672011-04-30 Bruno Haible <bruno@clisp.org>
6868
6869 [BZ #12717]
6870 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6871 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6872 to 'int'.
6873 * inet/getnameinfo.c (getnameinfo): Likewise.
6874
125ee683
UD
68752011-04-29 Ulrich Drepper <drepper@gmail.com>
6876
6877 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6878 to groups setting in database lookup.
6879 * nss/nsswitch.conf: Add initgroups entry.
6880
b722481a
EB
68812011-04-22 Ulrich Drepper <drepper@gmail.com>
6882
6883 [BZ #12685]
6884 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6885 mode string.
6886 Patch by Eric Blake <eblake@redhat.com>.
6887
4df46dbd
L
68882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6889
6890 * sunrpc/Makefile (need-export-routines): Add svc_run.
6891 (routines): Remove svc_run.
6892 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6893 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6894 * sunrpc/svc_run.c (svc_run): Likewise.
6895 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6896
e84142d2
UD
68972011-04-21 Ulrich Drepper <drepper@gmail.com>
6898
6899 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6900 problem in reallocation in last patch.
6901
877175d8
UD
69022011-04-20 Ulrich Drepper <drepper@gmail.com>
6903
6904 * sunrpc/Makefile: Move inclusion of Rules.
6905
ab8eed78
UD
69062011-04-19 Ulrich Drepper <drepper@gmail.com>
6907
6908 * nss/nss_files/files-initgroups.c: New file.
6909 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6910 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6911 _nss_files_initgroups_dyn.
6912
e3d8f584
RS
69132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6914
6915 * elf/elf.h (R_ARM_IRELATIVE): Define.
6916
af190f45
UD
69172011-04-19 Ulrich Drepper <drepper@gmail.com>
6918
6919 * po/ru.po: Update from translation team.
6920
53cf59ef
UD
69212011-04-17 Ulrich Drepper <drepper@gmail.com>
6922
6923 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6924 dependencies.
6925
4c559bcd
MF
69262011-02-06 Mike Frysinger <vapier@gentoo.org>
6927
6928 [BZ #12653]
6929 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6930 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6932 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6933 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6934
4420675c
AS
69352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6936
6937 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6938 differing bytes.
6939 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6941 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6942
75ea32ab
UD
69432011-04-17 Ulrich Drepper <drepper@gmail.com>
6944
6945 [BZ #12420]
6946 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6947 storing it.
6948 * stdlib/bug-getcontext.c: New file.
6949 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6950
27390476
AK
69512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6952
6953 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6954 instructions into .machine "z9-109".
6955 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6956 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6957
10442705
AK
69582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6959
6960 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6961 between environment variables and auxiliary vector.
6962
7b57bfe5
UD
69632011-04-16 Ulrich Drepper <drepper@gmail.com>
6964
6965 * Makefile: Add rules to build linkobj/libc.so.
6966 * include/libc-symbols.h: Define libc_hidden_nolink.
6967 * include/rpc/auth.h: Mark functions which are to be hidden.
6968 * include/rpc/auth_des.h: Likewise.
6969 * include/rpc/auth_unix.h: Likewise.
6970 * include/rpc/clnt.h: Likewise.
6971 * include/rpc/des_crypt.h: Likewise.
6972 * include/rpc/key_prot.h: Likewise.
6973 * include/rpc/pmap_clnt.h: Likewise.
6974 * include/rpc/pmap_prot.h: Likewise.
6975 * include/rpc/pmap_rmt.h: Likewise.
6976 * include/rpc/rpc_msg.h: Likewise.
6977 * include/rpc/svc.h: Likewise.
6978 * include/rpc/svc_auth.h: Likewise.
6979 * include/rpc/xdr.h: Likewise.
6980 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6981 * nss/Makefile: Likewise.
6982 * sunrpc/Makefile: Don't install headers. Build library with normal
6983 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6984 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6985 for the compat linking library. Remove use of INTDEF/INTUSE.
6986 * sunrpc/auth_none.c: Likewise.
6987 * sunrpc/auth_unix.c: Likewise.
6988 * sunrpc/authdes_prot.c: Likewise.
6989 * sunrpc/authuxprot.c: Likewise.
6990 * sunrpc/clnt_gen.c: Likewise.
6991 * sunrpc/clnt_perr.c: Likewise.
6992 * sunrpc/clnt_raw.c: Likewise.
6993 * sunrpc/clnt_simp.c: Likewise.
6994 * sunrpc/clnt_tcp.c: Likewise.
6995 * sunrpc/clnt_udp.c: Likewise.
6996 * sunrpc/clnt_unix.c: Likewise.
6997 * sunrpc/des_crypt.c: Likewise.
6998 * sunrpc/des_soft.c: Likewise.
6999 * sunrpc/get_myaddr.c: Likewise.
7000 * sunrpc/key_call.c: Likewise.
7001 * sunrpc/key_prot.c: Likewise.
7002 * sunrpc/netname.c: Likewise.
7003 * sunrpc/pm_getmaps.c: Likewise.
7004 * sunrpc/pm_getport.c: Likewise.
7005 * sunrpc/pmap_clnt.c: Likewise.
7006 * sunrpc/pmap_prot.c: Likewise.
7007 * sunrpc/pmap_prot2.c: Likewise.
7008 * sunrpc/pmap_rmt.c: Likewise.
7009 * sunrpc/publickey.c: Likewise.
7010 * sunrpc/rpc_cmsg.c: Likewise.
7011 * sunrpc/rpc_common.c: Likewise.
7012 * sunrpc/rpc_dtable.c: Likewise.
7013 * sunrpc/rpc_prot.c: Likewise.
7014 * sunrpc/rpc_thread.c: Likewise.
7015 * sunrpc/rtime.c: Likewise.
7016 * sunrpc/svc.c: Likewise.
7017 * sunrpc/svc_auth.c: Likewise.
7018 * sunrpc/svc_authux.c: Likewise.
7019 * sunrpc/svc_raw.c: Likewise.
7020 * sunrpc/svc_run.c: Likewise.
7021 * sunrpc/svc_simple.c: Likewise.
7022 * sunrpc/svc_tcp.c: Likewise.
7023 * sunrpc/svc_udp.c: Likewise.
7024 * sunrpc/svc_unix.c: Likewise.
7025 * sunrpc/svcauth_des.c: Likewise.
7026 * sunrpc/xcrypt.c: Likewise.
7027 * sunrpc/xdr.c: Likewise.
7028 * sunrpc/xdr_array.c: Likewise.
7029 * sunrpc/xdr_float.c: Likewise.
7030 * sunrpc/xdr_intXX_t.c: Likewise.
7031 * sunrpc/xdr_mem.c: Likewise.
7032 * sunrpc/xdr_rec.c: Likewise.
7033 * sunrpc/xdr_ref.c: Likewise.
7034 * sunrpc/xdr_sizeof.c: Likewise.
7035 * sunrpc/xdr_stdio.c: Likewise.
7036
e6c61494
UD
70372011-04-10 Ulrich Drepper <drepper@gmail.com>
7038
7039 [BZ #12650]
7040 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7041 * sysdeps/ia64/dl-tls.h: Likewise.
7042 * sysdeps/powerpc/dl-tls.h: Likewise.
7043 * sysdeps/s390/dl-tls.h: Likewise.
7044 * sysdeps/sh/dl-tls.h: Likewise.
7045 * sysdeps/sparc/dl-tls.h: Likewise.
7046 * sysdeps/x86_64/dl-tls.h: Likewise.
7047 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7048
34fe483e
AS
70492011-03-14 Andreas Schwab <schwab@redhat.com>
7050
7051 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7052 rpath element also skip the following colon.
7053 (expand_dynamic_string_token): Add is_path parameter and pass
7054 down to DL_DST_REQUIRED and _dl_dst_substitute.
7055 (decompose_rpath): Call expand_dynamic_string_token with
7056 non-zero is_path. Ignore empty rpaths.
7057 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7058 with zero is_path.
7059
f12a32e6
AS
70602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7061
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7063 Make cancelable.
7064
38a7d692
UD
70652011-04-09 Ulrich Drepper <drepper@gmail.com>
7066
7067 [BZ #12655]
7068 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7069 Patch by Filipe David Manana <fdmanana@apache.org>.
7070
e451d22b
AS
70712011-04-07 Andreas Schwab <schwab@redhat.com>
7072
7073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7074 Maintain aligned stack.
7075 (CHECK_RSP): Remove unused macro.
7076
dedc7c7b
UD
70772011-04-03 Ulrich Drepper <drepper@gmail.com>
7078
7079 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7080 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7081
94521213
UD
70822011-04-02 Ulrich Drepper <drepper@gmail.com>
7083
7084 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7085
8cb700c0 7086 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7087
0354e355
L
70882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7089
7090 [BZ #12518]
7091 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7092 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7093 * sysdeps/x86_64/memmove.c: New file.
7094 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7095 (memcpy): Renamed to ...
7096 (__new_memcpy): This.
7097 (memcpy): Provide GLIBC_2_14 memcpy.
7098 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7099 (memcpy): Provide GLIBC_2_2_5 memcpy.
7100
8593482f
UD
71012011-04-01 Ulrich Drepper <drepper@gmail.com>
7102
7103 [BZ #12631]
7104 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7105
81a5726b
AS
71062011-03-30 Andreas Schwab <schwab@redhat.com>
7107
7108 * misc/syncfs.c: New file.
7109 * misc/Makefile (routines): Add syncfs.
7110 * posix/unistd.h: Declare syncfs.
7111 * sysdeps/unix/syscalls.list: Add syncfs.
7112
00e5419f
AS
71132011-04-01 Andreas Schwab <schwab@redhat.com>
7114
7115 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7116 open_by_handle_at.
7117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7118 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7122 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7124
748876bf
UD
71252011-04-01 Ulrich Drepper <drepper@gmail.com>
7126
658e451d
UD
7127 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7129 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7134
748876bf
UD
7135 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7136 sync_file_range.c with -fexceptions.
7137 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7138 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7139 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7140 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7141 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7142 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7144 sync_file_range as cancellation point
7145 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7146 now a wrapper around __call_sync_file_range with cancellation handling.
7147 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7148 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7149 function name to __call_sync_file_range.
7150 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7151 Add call_sync_file_range.
748876bf 7152
6e63d5e1
AS
71532011-04-01 Andreas Schwab <schwab@redhat.com>
7154
7155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7156 bits/timex.h.
6e63d5e1 7157
46998f74
UD
71582011-04-01 Ulrich Drepper <drepper@gmail.com>
7159
4c1423ed
UD
7160 * iconv/iconv.h: Fix typo in comment.
7161 * io/fcntl.h: Likewise.
7162 * libio/stdio.h: Likewise.
7163 * posix/spawn.h: Likewise.
7164 * posix/unistd.h: Likewise.
7165 * stdlib/stdlib.h: Likewise.
7166 * time/time.h: Likewise.
7167 * wcsmbs/wchar.h: Likewise.
7168
158648c0
UD
7169 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7170 open_by_handle): Add.
7171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7172 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7173 Augment a few comments.
7174 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7176 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7179 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7180 open_by_handle.
7181
46998f74
UD
7182 * io/fcntl.h (AT_EMPTY_PATH): Define.
7183
83fe108b
UD
71842011-03-30 Ulrich Drepper <drepper@gmail.com>
7185
7186 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7187 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7188 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7189 to...
7190 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7191 * Versions.def: Add GLIBC_2.14.
7192 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7193 Export.
83fe108b 7194
bb242059
UD
71952011-03-22 Ulrich Drepper <drepper@gmail.com>
7196
7197 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7198 round counter.
7199 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7200
c97a1282
L
72012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7202
7203 [BZ #12597]
7204 * string/test-strncmp.c (do_page_test): New function.
7205 (check2): Likewise.
7206 (test_main): Call check2.
7207 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7208
2a115601
UD
72092011-03-20 Ulrich Drepper <drepper@gmail.com>
7210
7211 [BZ #12587]
7212 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7213 Handle cache information in CPU leaf 4.
7214 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7215
8126d904
UD
72162011-03-18 Ulrich Drepper <drepper@gmail.com>
7217
042c49c6 7218 [BZ #12583]
8126d904
UD
7219 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7220 character representation.
7221 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7222
ccfe366e
RA
72232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7224
7225 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7226 END(__isnan) to END(__isnanf) to match function entry point/label
7227 EALIGN(__isnanf,...).
7228
c6e13027
JJ
72292011-03-10 Jakub Jelinek <jakub@redhat.com>
7230
7231 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7232
33f85a3f
UD
72332011-03-10 Ulrich Drepper <drepper@gmail.com>
7234
028478fa
UD
7235 [BZ #12510]
7236 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7237 copy from the symbol referenced in the relocation to initialize the
7238 used variable.
7239 Patch by Piotr Bury <pbury@goahead.com>.
7240 * elf/Makefile: Add rules to build and tst-unique3.
7241 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7242 * elf/tst-unique3.cc: New file.
7243 * elf/tst-unique3.h: New file.
7244 * elf/tst-unique3lib.cc: New file.
7245 * elf/tst-unique3lib2.cc: New file.
7246
33f85a3f
UD
7247 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7248
03592fc7
MF
72492011-03-10 Mike Frysinger <vapier@gentoo.org>
7250
7251 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7252 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7253 to _start.
03592fc7 7254
6a5ee102
UD
72552011-03-06 Ulrich Drepper <drepper@gmail.com>
7256
7257 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7258 to-be-loaded object along a path to loader is ld.so.
7259
7e4ba49c
HJ
72602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7261 Ulrich Drepper <drepper@gmail.com>
7262
7263 * sysdeps/x86_64/memset.S: After aligning destination, code
7264 branches to different locations depending on the value of
7265 misalignment, when multiarch is enabled. Fix this.
7266
72672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7268
7269 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7270 Set _x86_64_preferred_memory_instruction for AMD processsors.
7271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7272 Set bit_Prefer_SSE_for_memop for AMD processors.
7273
13a804de
UD
72742011-03-04 Ulrich Drepper <drepper@gmail.com>
7275
7276 * libio/fmemopen.c (fmemopen): Optimize a bit.
7277
9d25c392
AS
72782011-03-03 Andreas Schwab <schwab@redhat.com>
7279
7280 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7281
a5543c6a
RM
72822011-03-03 Roland McGrath <roland@redhat.com>
7283
7284 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7285
012d35f7
DM
72862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7287
7e4ba49c 7288 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7289 __bzero_ultra1 instead of __memset_ultra1.
7290
4bff6e01
AS
72912011-02-23 Andreas Schwab <schwab@redhat.com>
7292 Ulrich Drepper <drepper@gmail.com>
7293
7294 [BZ #12509]
7295 * include/link.h (struct link_map): Add l_orig_initfini.
7296 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7297 returning unsuccessfully.
7298 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7299 close of a file loaded at startup, restore the original l_initfini
7300 list.
7301 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7302 list, store the pointer.
7303 * elf/Makefile ($(objpfx)noload-mem): New rule.
7304 (noload-ENV): Define.
7305 (tests): Add $(objpfx)noload-mem.
7306 * elf/noload.c: Include <memcheck.h>.
7307 (main): Call mtrace. Close all opened handles.
7308
f2092faf
AS
73092011-02-17 Andreas Schwab <schwab@redhat.com>
7310
7311 [BZ #12454]
7312 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7313 dependencies are missing.
7314
6c8a2e88
ST
73152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7316
f2092faf 7317 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7318 Hurd needs munmap.
7319 * sysdeps/mach/hurd/ifreq.h: New file.
7320
84a42118
PB
73212011-01-27 Petr Baudis <pasky@suse.cz>
7322 Ulrich Drepper <drepper@gmail.com>
7323
071f805e 7324 [BZ 12445]#
84a42118
PB
7325 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7326 to extend_alloca().
7327 * stdio-common/bug23.c: New file.
7328 * stdio-common/Makefile (tests): Add bug23.
7329
e23fe25b
AS
73302010-09-28 Andreas Schwab <schwab@redhat.com>
7331 Ulrich Drepper <drepper@gmail.com>
7332
7333 [BZ #12489]
7334 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7335 before performing relro protection. At old place add assertion
7336 to make sure nothing changed.
7337
d3f02e10
NS
73382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7339 Glauber de Oliveira Costa <glommer@gmail.com>
7340
7341 * elf/elf.h: Add new ARM TLS relocs.
7342
d55fd7a5
RA
73432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7344
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7346 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7347 cast from r3.
7348 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7349 'tests' variable.
7350 * sysdeps/wordsize-64/tst-writev.c: New file.
7351
2206397e
RA
73522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7353
7354 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7355 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7356 insns in _dl_start to prevent a TOC reference before relocs are
7357 resolved.
7358
e9433893
UD
73592011-02-15 Ulrich Drepper <drepper@gmail.com>
7360
7361 [BZ #12469]
7362 * Makeconfig: Remove RANLIB definition.
7363 * Makerules: Don't use RANLIB.
7364 * aclocal.m4: Remove ranlib test.
7365 * configure.in: No need to check for ranlib.
7366 * elf/rtld-Rules: Don't use RANLIB.
7367
f75286c6
ST
73682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7369
8e31c82d
ST
7370 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7371 protection macro.
7372 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7373 inclusion protection macro.
7374
f75286c6
ST
7375 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7376 SIGRTMIN and SIGRTMAX and print information in that case only when
7377 SIGRTMIN is defined.
7378
c1d0e639
JJ
73792011-02-11 Jakub Jelinek <jakub@redhat.com>
7380
7381 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7382 arginfo fn returning -1.
7383
7384 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7385 and thousands string is zero terminated.
7386
edf9294e
AS
73872011-02-03 Andreas Schwab <schwab@redhat.com>
7388
7389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7390 sysdeps/unix/sysv/linux/bits/socket.h.
7391
2b7e92df
ST
73922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7393
edf9294e
AS
7394 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7395 (__CPU_COUNT): Remove old macros.
7396 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7397 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7398 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7399 (__sched_cpualloc, __sched_cpufree): Add declarations.
7400
a4c7ea7b
UD
74012011-02-05 Ulrich Drepper <drepper@gmail.com>
7402
7403 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7404 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7405 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7406 (readdhstai): Return value of addhstaiX call.
7407 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7408 (addgrbyX): Return value returned by cache_addgr.
7409 (readdgrbyname): Return value returned by addgrbyX.
7410 (readdgrbygid): Likewise.
7411 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7412 (addpwbyX): Return value returned by cache_addpw.
7413 (readdpwbyname): Return value returned by addhstbyX.
7414 (readdpwbyuid): Likewise.
7415 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7416 (addservbyX): Return value returned by cache_addserv.
7417 (readdservbyname): Return value returned by addservbyX:
7418 (readdservbyport): Likewise.
7419 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7420 (addhstbyX): Return value returned by cache_addhst.
7421 (readdhstbyname): Return value returned by addhstbyX.
7422 (readdhstbyaddr): Likewise.
7423 (readdhstbynamev6): Likewise.
7424 (readdhstbyaddrv6): Likewise.
7425 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7426 (readdinitgroups): Return value returned by addinitgroupsX.
7427 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7428 (prune_cache): Keep track of timeout value of re-added entries.
7429 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7430 * nscd/nscd.h: Adjust prototypes of readd* functions.
7431
a0bf67cc
RM
74322011-02-04 Roland McGrath <roland@redhat.com>
7433
7434 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7435 (nis_stats): Likewise.
7436 * nis/nis_modify.c (nis_modify): Likewise.
7437 * nis/nis_remove.c (nis_remove): Likewise.
7438 * nis/nis_add.c (nis_add): Likewise.
7439
7440 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7441
7442 * posix/fnmatch_loop.c: Add some consts.
7443
7444 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7445
435b95eb
L
74462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7447
7448 [BZ #12460]
7449 * config.make.in (config-cflags-novzeroupper): Define.
7450 * configure.in: Substitute libc_cv_cc_novzeroupper.
7451 * elf/Makefile (AVX-CFLAGS): Define.
7452 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7453 (CFLAGS-tst-auditmod4a.c): Likewise.
7454 (CFLAGS-tst-auditmod4b.c): Likewise.
7455 (CFLAGS-tst-auditmod6b.c): Likewise.
7456 (CFLAGS-tst-auditmod6c.c): Likewise.
7457 (CFLAGS-tst-auditmod7b.c): Likewise.
7458 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7459
8517b15e
UD
74602011-02-02 Ulrich Drepper <drepper@gmail.com>
7461
7462 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7463 function to the callback.
7464 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7465
10a656fe
AS
74662011-02-02 Andreas Schwab <schwab@redhat.com>
7467
7468 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7469 of errno.
7470
968dad0a
UD
74712011-01-19 Ulrich Drepper <drepper@gmail.com>
7472
9f94d2ea 7473 [BZ #11724]
968dad0a
UD
7474 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7475 of constructors.
7476 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7477 of destructors.
7478 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7479
7480 [BZ #11724]
7481 * elf/Makefile: Add rules to build and run new test.
7482 * elf/tst-initorder.c: New file.
7483 * elf/tst-initorder.exp: New file.
7484 * elf/tst-initordera1.c: New file.
7485 * elf/tst-initordera2.c: New file.
7486 * elf/tst-initordera3.c: New file.
7487 * elf/tst-initordera4.c: New file.
7488 * elf/tst-initorderb1.c: New file.
7489 * elf/tst-initorderb2.c: New file.
7490 * elf/tst-order-a1.c: New file.
7491 * elf/tst-order-a2.c: New file.
7492 * elf/tst-order-a3.c: New file.
7493 * elf/tst-order-a4.c: New file.
7494 * elf/tst-order-b1.c: New file.
7495 * elf/tst-order-b2.c: New file.
7496 * elf/tst-order-main.c: New file.
7497 New test case by George Gensure <werkt0@gmail.com>.
7498
86e92359
UD
74992010-10-01 Andreas Schwab <schwab@redhat.com>
7500
7501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7502 decoding ACE if AI_CANONIDN.
7503
5d5732b0
UD
75042011-01-18 Ulrich Drepper <drepper@gmail.com>
7505
7506 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7507
a77e8cbc
UD
75082011-01-17 Ulrich Drepper <drepper@gmail.com>
7509
6392473f
UD
7510 * version.h (RELEASE): Bump for 2.13 release.
7511 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7512
620a0529
UD
7513 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7514
18ba70a5
UD
7515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7516 MADV_NOHUGEPAGE.
32465c3e
UD
7517 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7518 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7522 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7523
c0dafcf1
UD
7524 * posix/getconf.c: Update copyright year.
7525 * catgets/gencat.c: Likewise.
7526 * csu/version.c: Likewise.
7527 * debug/catchsegv.sh: Likewise.
7528 * debug/xtrace.sh: Likewise.
7529 * elf/ldconfig.c: Likewise.
7530 * elf/ldd.bash.in: Likewise.
7531 * elf/sprof.c (print_version): Likewise.
7532 * iconv/iconv_prog.c: Likewise.
7533 * iconv/iconvconfig.c: Likewise.
7534 * locale/programs/locale.c: Likewise.
7535 * locale/programs/localedef.c: Likewise.
7536 * malloc/memusage.sh: Likewise.
7537 * malloc/mtrace.pl: Likewise.
7538 * nscd/nscd.c (print_version): Likewise.
7539 * nss/getent.c: Likewise.
7540
a77e8cbc
UD
7541 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7542 PF_CAIF, and PF_ALG.
7543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7544
77e8bddf
AS
75452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7546
1f20b93a
AS
7547 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7548 (modules-names): Use them.
7549 (ifunc-test-modules, ifunc-pie-tests): Define.
7550 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7551 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7552 (test-extras): Likewise.
7553 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7554 $(compile-command.c).
7555 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7556 (all-built-dso): Define.
7557 (check-textrel.out, check-execstack.out): Depend on it.
7558
77e8bddf
AS
7559 * configure.in: Don't override --enable-multi-arch.
7560
bc425b33
UD
75612011-01-15 Ulrich Drepper <drepper@gmail.com>
7562
7563 [BZ #6812]
7564 * nscd/hstcache.c (tryagain): Define.
7565 (cache_addhst): Return tryagain not notfound for temporary errors.
7566 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7567 failed.
7568
794c3ad3
UD
75692011-01-14 Ulrich Drepper <drepper@gmail.com>
7570
70181fdd
UD
7571 [BZ #10563]
7572 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7573 to make the syscall.
7574 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7575
794c3ad3
UD
7576 [BZ #12378]
7577 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7578 and fall back to matching as normal character if the string ends before
7579 the matching ']' is found. This is what POSIX requires.
7580 * posix/testfnm.c: Adjust test result.
7581 * posix/globtest.sh: Adjust test result. Add new test.
7582 * posix/tst-fnmatch.input: Likewise.
7583 * posix/tst-fnmatch2.c: Add new test.
7584
68dc9497
AS
75852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7586
7587 * elf/Makefile (check-execstack): Revert last change. Depend on
7588 check-execstack.h.
7589 (check-execstack.h): New target.
7590 (generated): Add check-execstack.h.
7591 * elf/check-execstack.c: Include "check-execstack.h".
7592 (main): Revert last change.
7593 (handle_file): Return zero if GNU_STACK is absent and
7594 DEFAULT_STACK_PERMS doesn't include PF_X.
7595
451f001b
UD
75962011-01-13 Ulrich Drepper <drepper@gmail.com>
7597
cfa28e56
UD
7598 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7599 in child fails because the descriptor is already closed.
8cf8ce17
UD
7600 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7601 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7602 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7603
1086d70d
UD
7604 [BZ #12397]
7605 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7606 syscall.
7607
451f001b
UD
7608 [BZ #10484]
7609 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7610 temporary buffer used to handle multi lookups locally.
a85b5cb4 7611 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7612
08769175
UD
76132011-01-12 Ulrich Drepper <drepper@gmail.com>
7614
7615 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7616 loader is ld.so.
7617
5e49c52e
UD
76182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7619
7620 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7621 alignment for SSE2.
7622
60522a5f
UD
76232011-01-12 Ulrich Drepper <drepper@gmail.com>
7624
7625 [BZ #12394]
7626 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7627 characters. When rounding increased number of integer digits recompute
7628 number of groups.
7629 * stdio-common/tst-grouping.c: New file.
7630 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7631
f257bbd7
UD
76322011-01-09 Ulrich Drepper <drepper@gmail.com>
7633
7634 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7635 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7636
7637 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7638 void.
7639 * bits/select.h: Likewise.
7640
fa9c15cb
UD
76412011-01-08 Ulrich Drepper <drepper@gmail.com>
7642
7643 * po/ja.po: Update from translation team.
7644
16c2895f
DM
76452011-01-04 David S. Miller <davem@sunset.davemloft.net>
7646
7647 [BZ #11155]
7648 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7649 implementation just like for lxstat, fxstatat, et al.
7650
2543fef2
JM
76512010-12-27 Jim Meyering <meyering@redhat.com>
7652
7653 [BZ #12348]
7654 * posix/regexec.c (build_trtable): Return failure indication upon
7655 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7656
98727dbe
UD
76572010-12-25 Ulrich Drepper <drepper@gmail.com>
7658
5bd6dc5c
UD
7659 [BZ #12201]
7660 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7661 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7662 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7663 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7664
97983464
UD
7665 [BZ #12207]
7666 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7667
98727dbe
UD
7668 [BZ #12204]
7669 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7670 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7671
4a531bb0
L
76722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7673
7674 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7675 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7676 script has SORT_BY_INIT_PRIORITY.
7677 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7678 NO_CTORS_DTORS_SECTIONS is defined.
7679 * elf/soinit.c: Likewise.
7680 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7681 NO_CTORS_DTORS_SECTIONS is defined.
7682 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7683 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7684 * sysdeps/sh/init-first.c: Likewise.
7685 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7686
07eb4b71
UD
76872010-12-24 Ulrich Drepper <drepper@gmail.com>
7688
7689 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7690 always use the slow path.
7691
30950a5f
RA
76922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7693
7694 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7695 similar rule which adds the sysdep directories to the header search in
7696 order to pick up the correct platform stackinfo.h.
7697 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7698 perform test if it is, otherwise return successfully without testing.
7699 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7700 DEFAULT_STACK_PERMS define in stackinfo.h.
7701 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7702 defined in stackinfo.h.
7703 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7704 DEFAULT_STACK_PERMS defined in stackinfo.h.
7705 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7706 * sysdeps/ia64/stackinfo.h: Likewise.
7707 * sysdeps/s390/stackinfo.h: Likewise.
7708 * sysdeps/sh/stackinfo.h: Likewise.
7709 * sysdeps/sparc/stackinfo.h: Likewise.
7710 * sysdeps/x86_64/stackinfo.h: Likewise.
7711 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7712 PF_X for powerpc64. Retain PF_X for powerpc32.
7713
db753e2c
UD
77142010-12-19 Ulrich Drepper <drepper@gmail.com>
7715
14b697f7
UD
7716 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7717 accurately.
db753e2c
UD
7718 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7719 GETDENTS_64BIT_ALIGNED.
7720
28300719
UD
77212010-12-14 Ulrich Drepper <dreper@gmail.com>
7722
14b697f7 7723 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7724
4f197237
AS
77252010-12-10 Andreas Schwab <schwab@redhat.com>
7726
dbb0472f
AS
7727 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7728 _GNU_SOURCE.
7729
4f197237
AS
7730 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7731 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7732 Remove __restrict.
7733 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7734 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7735
fb88ac72
UD
77362010-12-09 Ulrich Drepper <drepper@gmail.com>
7737
7738 [BZ #11655]
7739 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7740 are initialized.
7741
42acbb92
JJ
77422010-12-09 Jakub Jelinek <jakub@redhat.com>
7743
7744 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7745
c038d98d
UD
77462010-12-03 Ulrich Drepper <drepper@gmail.com>
7747
7748 * po/it.po: Update from translation team.
7749
3a4a2499
L
77502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7751
7752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7753 unused codes.
7754
1e24cf6e
UD
77552010-11-30 Ulrich Drepper <drepper@gmail.com>
7756
7757 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7758
a7690819
AS
77592010-11-24 Andreas Schwab <schwab@redhat.com>
7760
7761 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7762 specially.
7763 (gaih_getanswer_slice): Likewise.
7764
3bf8d1b1
JJ
77652010-10-20 Jakub Jelinek <jakub@redhat.com>
7766
7767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7768
6db52fbb
PB
77692010-05-31 Petr Baudis <pasky@suse.cz>
7770
7771 [BZ #11149]
7772 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7773 silently even in the chroot mode.
7774
eaca7569
UD
77752010-11-22 Ulrich Drepper <drepper@gmail.com>
7776
7777 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7778 last patch a bit. Pretty printing
7779
3056dcdb
UD
77802010-05-31 Petr Baudis <pasky@suse.cz>
7781
7782 [BZ #10085]
7783 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7784 initialization of skip_initgroups_dyn.
7785
cf7c9078
UD
77862010-11-19 Ulrich Drepper <drepper@gmail.com>
7787
7788 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7789 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7790
a1fb5e3e
UD
77912010-11-16 Ulrich Drepper <drepper@gmail.com>
7792
7793 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7794
3540d66b
AS
77952010-11-11 Andreas Schwab <schwab@redhat.com>
7796
7797 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7798 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7799 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7800 ($(objpfx)tst-fnmatch-mem): New rule.
7801 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7802 * posix/tst-fnmatch.c (main): Call mtrace.
7803
13b69574
L
78042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7805
7806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7807 Support Intel processor model 6 and model 0x2c.
7808
da93d214
LM
78092010-11-10 Luis Machado <luisgpm@br.ibm.com>
7810
7811 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7812 signed comparison.
7813
8ca52c6e
L
78142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7815
7816 [BZ #12205]
7817 * string/test-strncasecmp.c (check_result): New function.
7818 (do_one_test): Use it.
7819 (check1): New function.
7820 (test_main): Use it.
7821 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7822 Support strcasecmp and strncasecmp.
7823
69da074d
UD
78242010-11-08 Ulrich Drepper <drepper@gmail.com>
7825
7826 [BZ #12194]
7827 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7829
ff02d528
L
78302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7831
7832 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7833 IFUNC support.
7834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7835 memset-x86-64.
7836 * sysdeps/x86_64/multiarch/bzero.S: New file.
7837 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7838 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7839 * sysdeps/x86_64/multiarch/memset.S: New file.
7840 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7842 Set bit_Prefer_SSE_for_memop for Intel processors.
7843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7844 Define.
7845 (index_Prefer_SSE_for_memop): Define.
7846 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7847
344d0b54
LM
78482010-11-04 Luis Machado <luisgpm@br.ibm.com>
7849
7850 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7851 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7852
c0dde15b
UD
78532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 [BZ #12191]
7856 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7857 (__x86_64_raw_data_cache_size_half): Likewise.
7858 (__x86_64_raw_shared_cache_size): Likewise.
7859 (__x86_64_raw_shared_cache_size_half): Likewise.
7860
7861 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7862 (__x86_64_raw_data_cache_size_half): Likewise.
7863 (__x86_64_raw_shared_cache_size): Likewise.
7864 (__x86_64_raw_shared_cache_size_half): Likewise.
7865 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7866 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7867 and __x86_64_raw_shared_cache_size_half. Round
7868 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7869 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7870 to multiple of 256 bytes.
7871
0e516e0e
MS
78722010-11-03 Ulrich Drepper <drepper@gmail.com>
7873
7874 [BZ #12167]
7875 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7876 of inacessible symlinks. Verify result of symlink before returning it.
7877 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7878 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7879
0e012e87
ER
78802010-10-28 Erich Ritz <erichritz@gmail.com>
7881
7882 * math/math.h (isinf): Fix typo in comment.
7883
de0ff7bc
UD
78842010-11-01 Ulrich Drepper <drepper@gmail.com>
7885
7886 * po/da.po: Update from translation team.
7887
fa41c84d
UD
78882010-10-26 Ulrich Drepper <drepper@gmail.com>
7889
7890 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7891 is added to the list.
7892
f0967738
AK
78932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7894 Ulrich Drepper <drepper@gmail.com>
7895
7896 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7897 the global list here. Move code to...
7898 (_dl_add_to_namespace_list): ...here. New function.
7899 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7900 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7901 * elf/dl-load.c (lose): Don't remove the element from the list.
7902 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7903 (_dl_map_object): Likewise.
7904
79052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7906
7907 [BZ #12159]
7908 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7909 into all bytes of SSE register.
7910 Patch by Richard Li <richardpku@gmail.com>.
7911
f0967738 79122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
7913
7914 [BZ #12140]
7915 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7916 perturbing.
7917
d0b9e94f
MB
79182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7919
7920 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7921 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7922 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7923 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7925 submachine.
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7927
8e9f92e9
AS
79282010-10-22 Andreas Schwab <schwab@redhat.com>
7929
7930 * include/dlfcn.h (__RTLD_SECURE): Define.
7931 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7932 mode & __RTLD_SECURE instead.
7933 (open_path): Rename preloaded parameter to secure.
7934 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7935 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7936 * elf/dl-deps.c (openaux): Likewise.
7937 * elf/rtld.c (struct map_args): Remove is_preloaded.
7938 (map_doit): Don't use it.
7939 (dl_main): Likewise.
7940 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7941 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7942
bc96fbda
AS
79432010-09-09 Andreas Schwab <schwab@redhat.com>
7944
7945 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7946 (sysd-rules-targets): Remove duplicates.
7947 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7948 rtld-%.$o dependency.
7949
22cd1c9b
AS
79502010-10-18 Andreas Schwab <schwab@redhat.com>
7951
7952 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7953 _dl_map_object do it.
7954
18edac48
UD
79552010-10-19 Ulrich Drepper <drepper@gmail.com>
7956
7957 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7958 fast fma builtins, define the macros in the C99 standard.
7959 (FP_FAST_FMAF): Likewise.
7960 (FP_FAST_FMAL): Likewise.
7961 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7962
7963 * bits/mathdef.h: Update copyright year.
7964 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7965
d2050124
MM
79662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7967
7968 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7969 builtins, define the macros in the C99 standard.
7970 (FP_FAST_FMAF): Likewise.
7971 (FP_FAST_FMAL): Likewise.
7972 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7973 multiply/add.
7974 (FP_FAST_FMAF): Likewise.
7975
475facd1
JJ
79762010-10-15 Jakub Jelinek <jakub@redhat.com>
7977
7978 [BZ #3268]
7979 * math/libm-test.inc (fma_test): Some new testcases.
7980 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7981 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7982 y and infinite z. Do multiplication by C already in long double.
7983 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7985 y and infinite z. Do bitwise or of inexact bit into u.d.
7986 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7987 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7988 * sysdeps/i386/fpu/s_fma.S: Removed.
7989 * sysdeps/i386/fpu/s_fmal.S: Removed.
7990
7c08a05c
JJ
79912010-10-16 Jakub Jelinek <jakub@redhat.com>
7992
7993 [BZ #3268]
7994 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7995 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7996 computation is not scheduled after fetestexcept. Fix value
7997 of minimum denormal long double.
7998
f3f7372d
JJ
79992010-10-14 Jakub Jelinek <jakub@redhat.com>
8000
8001 [BZ #3268]
8002 * math/libm-test.inc (fma_test): Add some more tests.
8003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8004 correctly.
8005
14d43591
AS
80062010-10-15 Andreas Schwab <schwab@redhat.com>
8007
8008 * scripts/data/localplt-s390-linux-gnu.data: New file.
8009 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8010
5e908464
JJ
80112010-10-13 Jakub Jelinek <jakub@redhat.com>
8012
8013 [BZ #3268]
8014 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8015 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8016 instead of dbl-64.
8017 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8018 inlines.
8019 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8021 if one of x and y is very large and the other is subnormal.
8022 * sysdeps/s390/fpu/s_fmaf.c: New file.
8023 * sysdeps/s390/fpu/s_fma.c: New file.
8024 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8025 * sysdeps/powerpc/fpu/s_fma.S: New file.
8026 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8027 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8028 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8029
80302010-10-12 Jakub Jelinek <jakub@redhat.com>
8031
8032 [BZ #3268]
8033 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8034 fma tests.
8035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8036 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8037 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8038 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8039 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8040 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8041 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8042
b833d51f
UD
80432010-10-12 Ulrich Drepper <drepper@redhat.com>
8044
8045 [BZ #12078]
8046 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8047 * posix/bug-regex31.input: Add test case.
8048
1751705d
UD
80492010-10-11 Ulrich Drepper <drepper@gmail.com>
8050
e9b9cbf5
UD
8051 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8052 * posix/bug-regex31.input: New file.
8053
8054 [BZ #12078]
8055 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8056 (parse_sub_exp): Fix last change, use postorder.
8057
ef06edbe
UD
8058 * posix/bug-regex31.c: New file.
8059 * posix/Makefile: Add rules to build and run bug-regex31.
8060
a129c80d
UD
8061 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8062
8063 [BZ #12078]
8064 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8065
b76b818e
UD
8066 [BZ #12108]
8067 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8068 to have entries in sys_siglist.
8069
1751705d
UD
8070 [BZ #12093]
8071 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8072 be NULL.
8073
9ff8d36f
JJ
80742010-10-07 Jakub Jelinek <jakub@redhat.com>
8075
8076 [BZ #3268]
8077 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8078 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8079 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8080 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8081 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8082 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8083 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8084 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8085 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8086 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8087 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8088 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8089 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8090 * math/ftestexcept.c (fetestexcept): Likewise.
8091 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8092 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8093 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8094 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8095 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8096 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8097 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8098
af325969
UD
80992010-10-11 Ulrich Drepper <drepper@gmail.com>
8100
c579b202 8101 [BZ #12107]
af325969
UD
8102 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8103 newline.
8104
67a67b95
UD
81052010-10-06 Ulrich Drepper <drepper@gmail.com>
8106
8107 * string/bug-strstr1.c: New file.
8108 * string/Makefile: Add rules to build and run bug-strstr1.
8109
5fb308bc
EB
81102010-10-05 Eric Blake <eblake@redhat.com>
8111
8112 [BZ #12092]
8113 * string/str-two-way.h (two_way_long_needle): Always clear memory
8114 when skipping input due to the shift table.
8115
45db99c7
UD
81162010-10-03 Ulrich Drepper <drepper@gmail.com>
8117
3b111893
UD
8118 [BZ #12005]
8119 * malloc/mcheck.c: Handle large requests.
8120
45db99c7
UD
8121 [BZ #12077]
8122 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8123 for strncmp and strncasecmp.
8124 * string/stratcliff.c: Add tests for strcmp and strncmp.
8125 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8126
cf7a1eb8
NI
81272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8128
8129 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8130 __set_fpscr.
8131
6484ba5e
AJ
81322010-09-30 Andreas Jaeger <aj@suse.de>
8133
8134 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8135 (CGROUP_SUPER_MAGIC): Define.
8136 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8137 Handle btrfs and cgroup file systems.
8138 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8139 Likewise.
8140
91c42559
LM
81412010-09-27 Luis Machado <luisgpm@br.ibm.com>
8142
8143 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8144 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8145
87a97932
AK
81462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8147
8148 [BZ #12067]
8149 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8150 trying to locate the ELF header.
8151
c21cc9bc
AS
81522010-09-27 Andreas Schwab <schwab@redhat.com>
8153
8154 [BZ #11611]
8155 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8156 Mask out sign-bit copies when constructing f_fsid.
8157
315970f6
PB
81582010-09-24 Petr Baudis <pasky@suse.cz>
8159
8160 * debug/stack_chk_fail_local.c: Add missing licence exception.
8161 * debug/warning-nop.c: Likewise.
8162
1ac7a2c7
JM
81632010-09-15 Joseph Myers <joseph@codesourcery.com>
8164
8165 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8166 implementing getdents64 using getdents syscall, set d_type if
8167 __ASSUME_GETDENTS32_D_TYPE.
8168
56801c50
AS
81692010-09-16 Andreas Schwab <schwab@redhat.com>
8170
8171 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8172 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8173
dda51327
UD
81742010-09-21 Ulrich Drepper <drepper@redhat.com>
8175
8176 [BZ #12037]
8177 * posix/unistd.h: Undo change of feature selection for ftruncate from
8178 2010-01-11.
8179
8ffcee4a
UD
81802010-09-20 Ulrich Drepper <drepper@redhat.com>
8181
a545ecd9 8182 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8183 detection.
8184
e24f0a8b
AS
81852010-09-20 Andreas Schwab <schwab@redhat.com>
8186
8187 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8188 fanotify_mark.
8189 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8190
7291c56f
AS
81912010-09-14 Andreas Schwab <schwab@redhat.com>
8192
8193 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8194 variables after CHECK_SP call.
8195 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8196
bc5fb037
AS
81972010-09-13 Andreas Schwab <schwab@redhat.com>
8198 Ulrich Drepper <drepper@redhat.com>
8199
8200 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8201 re-relocationg ld.so.
8202 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8203 _dl_init_paths call.
8204 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8205 here anymore.
8206
e66e7419
UD
82072010-09-14 Ulrich Drepper <drepper@redhat.com>
8208
8209 * resolv/res_init.c (__res_vinit): Count the default server we added.
8210
c044aa75
CLT
82112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8212 Ulrich Drepper <drepper@redhat.com>
8213
8214 [BZ #11968]
8215 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8216 (____longjmp_chk): Use %ebx for saving value across system call.
8217 Add unwind info.
8218
32cf4069
AS
82192010-09-06 Andreas Schwab <schwab@redhat.com>
8220
8221 * manual/Makefile: Don't mix pattern rules with normal rules.
8222
817328ee
AS
82232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8224
8225 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8226 operation.
8227 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8228 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8229 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8230 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8231 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8232 Likewise.
8233
29fddf61
UD
82342010-09-04 Ulrich Drepper <drepper@redhat.com>
8235
8236 [BZ #11979]
8237 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8238 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8239
0959ffc9
UD
82402010-09-02 Ulrich Drepper <drepper@redhat.com>
8241
8242 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8243 * sysdeps/x86_64/addmul_1.S: Likewise.
8244 * sysdeps/x86_64/lshift.S: Likewise.
8245 * sysdeps/x86_64/mul_1.S: Likewise.
8246 * sysdeps/x86_64/rshift.S: Likewise.
8247 * sysdeps/x86_64/sub_n.S: Likewise.
8248 * sysdeps/x86_64/submul_1.S: Likewise.
8249
ece29840
ST
82502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8251
0959ffc9
UD
8252 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8253 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8254 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8255 * bits/sched.h [__need_schedparam]
ece29840 8256 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8257 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8258 (__defined_schedparam): Define to 1.
ece29840
ST
8259 (__sched_param): New structure, identical to sched_param.
8260 (__need_schedparam): Undefine.
8261
e53a31fe
MF
82622010-08-31 Mike Frysinger <vapier@gentoo.org>
8263
fdc0c10d
MF
8264 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8265 (epoll_create1): Declare.
8266
e53a31fe
MF
8267 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8268
a726d796
AS
82692010-08-31 Andreas Schwab <schwab@redhat.com>
8270
8271 [BZ #7066]
8272 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8273 shifting retval into place.
8274
2f3e3dc7
UD
82752010-09-01 Ulrich Drepper <drepper@redhat.com>
8276
f2933da9
UD
8277 * nis/rpcsvc/nis.h: Update copyright notice.
8278 * nis/rpcsvc/nis.x: Likewise.
8279 * nis/rpcsvc/nis_callback.h: Likewise.
8280 * nis/rpcsvc/nis_callback.x: Likewise.
8281 * nis/rpcsvc/nis_object.x: Likewise.
8282 * nis/rpcsvc/nis_tags.h: Likewise.
8283 * nis/rpcsvc/yp.h: Likewise.
8284 * nis/rpcsvc/yp.x: Likewise.
8285 * nis/rpcsvc/ypupd.h: Likewise.
8286 * nis/yp_xdr.c: Likewise.
8287 * nis/ypupdate_xdr.c: Likewise.
8288
2f3e3dc7
UD
8289 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8290 mainly the body of pmap_getport. Add parameters to specify timeouts.
8291 (pmap_getport): Use __libc_rpc_getport.
8292 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8293 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8294 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8295
f3dcc2f9
AS
82962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8297
8298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8299 fanotify_mark.
8300
6d34eb5b
RM
83012010-08-27 Roland McGrath <roland@redhat.com>
8302
8303 * sysdeps/i386/i686/multiarch/Makefile
8304 (CFLAGS-varshift.c): New variable.
8305
9ea3de11
UD
83062010-08-27 Ulrich Drepper <drepper@redhat.com>
8307
c96d23fc
UD
8308 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8309 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8310
9ea3de11
UD
8311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8312
8313 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8314
623aac7f
L
83152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8316
8317 * sysdeps/x86_64/strlen.S: Unroll the loop.
8318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8319 strlen-sse2 strlen-sse2-bsf.
8320 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8321 __strlen_no_bsf if bit_Slow_BSF is set.
8322 (__strlen_sse42): Removed.
8323 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8324 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8325
8b2b7715
RM
83262010-08-25 Roland McGrath <roland@redhat.com>
8327
8328 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8329 * sysdeps/x86_64/multiarch/varshift.c: New file.
8330 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8331 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8332 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8333 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8334
e73015f2
L
83352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8336
8337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8338 strlen-sse2 strlen-sse2-bsf.
8339 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8340 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8341 (__strlen_sse2): Removed.
8342 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8343 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8345 bit_Slow_BSF for Atom.
8346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8347 (index_Slow_BSF): Define.
8348 (HAS_SLOW_BSF): Define.
8349
df24a73e
UD
83502010-08-25 Ulrich Drepper <drepper@redhat.com>
8351
8352 [BZ #10851]
8353 * resolv/res_init.c (__res_vinit): When no server address at all
8354 is given default to loopback.
8355
f2ac4868
RM
83562010-08-24 Roland McGrath <roland@redhat.com>
8357
09055553
RM
8358 * configure.in: Remove config-name.h generation.
8359 * configure: Regenerated.
8360 * config-name.in: File removed.
8361 * scripts/config-uname.sh: New file.
8362 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8363 ($(objdir)config-name.h): New target.
8364
f2ac4868
RM
8365 * sunrpc/rpc_parse.h: Avoid nested comment.
8366
73f27d5e
RH
83672010-08-24 Richard Henderson <rth@redhat.com>
8368 Ulrich Drepper <drepper@redhat.com>
8369 H.J. Lu <hongjiu.lu@intel.com>
8370
8371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8373 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8374 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8375 _mm_alignr_epi8 with _mm_loadu_si128.
8376 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8377 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8378 (__m128i_shift_right): Removed.
8379 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8380 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8381 * sysdeps/x86_64/multiarch/varshift.h: New file.
8382 * sysdeps/x86_64/multiarch/varshift.S: New file.
8383
84b9230c
MF
83842010-08-21 Mike Frysinger <vapier@gentoo.org>
8385
8386 * configure.in: Move assembler checks to before sysdep dir checking.
8387
9bbd0ddc
PB
83882010-08-20 Petr Baudis <pasky@suse.cz>
8389
8390 * LICENSES: Sync the sunrpc license.
8391
9da4bb31
UD
83922010-08-19 Ulrich Drepper <drepper@redhat.com>
8393
a7ab6ec8
UD
8394 * sunrpc/auth_des.c: Update copyright notice once again.
8395 * sunrpc/auth_none.c: Likewise.
8396 * sunrpc/auth_unix.c: Likewise.
8397 * sunrpc/authdes_prot.c: Likewise.
8398 * sunrpc/authuxprot.c: Likewise.
8399 * sunrpc/bindrsvprt.c: Likewise.
8400 * sunrpc/clnt_gen.c: Likewise.
8401 * sunrpc/clnt_perr.c: Likewise.
8402 * sunrpc/clnt_raw.c: Likewise.
8403 * sunrpc/clnt_simp.c: Likewise.
8404 * sunrpc/clnt_tcp.c: Likewise.
8405 * sunrpc/clnt_udp.c: Likewise.
8406 * sunrpc/clnt_unix.c: Likewise.
8407 * sunrpc/des_crypt.c: Likewise.
8408 * sunrpc/des_soft.c: Likewise.
8409 * sunrpc/get_myaddr.c: Likewise.
8410 * sunrpc/getrpcport.c: Likewise.
8411 * sunrpc/key_call.c: Likewise.
8412 * sunrpc/key_prot.c: Likewise.
8413 * sunrpc/openchild.c: Likewise.
8414 * sunrpc/pm_getmaps.c: Likewise.
8415 * sunrpc/pm_getport.c: Likewise.
8416 * sunrpc/pmap_clnt.c: Likewise.
8417 * sunrpc/pmap_prot.c: Likewise.
8418 * sunrpc/pmap_prot2.c: Likewise.
8419 * sunrpc/pmap_rmt.c: Likewise.
8420 * sunrpc/rpc/auth.h: Likewise.
8421 * sunrpc/rpc/auth_unix.h: Likewise.
8422 * sunrpc/rpc/clnt.h: Likewise.
8423 * sunrpc/rpc/des_crypt.h: Likewise.
8424 * sunrpc/rpc/key_prot.h: Likewise.
8425 * sunrpc/rpc/netdb.h: Likewise.
8426 * sunrpc/rpc/pmap_clnt.h: Likewise.
8427 * sunrpc/rpc/pmap_prot.h: Likewise.
8428 * sunrpc/rpc/pmap_rmt.h: Likewise.
8429 * sunrpc/rpc/rpc.h: Likewise.
8430 * sunrpc/rpc/rpc_des.h: Likewise.
8431 * sunrpc/rpc/rpc_msg.h: Likewise.
8432 * sunrpc/rpc/svc.h: Likewise.
8433 * sunrpc/rpc/svc_auth.h: Likewise.
8434 * sunrpc/rpc/types.h: Likewise.
8435 * sunrpc/rpc/xdr.h: Likewise.
8436 * sunrpc/rpc_clntout.c: Likewise.
8437 * sunrpc/rpc_cmsg.c: Likewise.
8438 * sunrpc/rpc_common.c: Likewise.
8439 * sunrpc/rpc_cout.c: Likewise.
8440 * sunrpc/rpc_dtable.c: Likewise.
8441 * sunrpc/rpc_hout.c: Likewise.
8442 * sunrpc/rpc_main.c: Likewise.
8443 * sunrpc/rpc_parse.c: Likewise.
8444 * sunrpc/rpc_parse.h: Likewise.
8445 * sunrpc/rpc_prot.c: Likewise.
8446 * sunrpc/rpc_sample.c: Likewise.
8447 * sunrpc/rpc_scan.c: Likewise.
8448 * sunrpc/rpc_scan.h: Likewise.
8449 * sunrpc/rpc_svcout.c: Likewise.
8450 * sunrpc/rpc_tblout.c: Likewise.
8451 * sunrpc/rpc_util.c: Likewise.
8452 * sunrpc/rpc_util.h: Likewise.
8453 * sunrpc/rpcinfo.c: Likewise.
8454 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8455 * sunrpc/rpcsvc/key_prot.x: Likewise.
8456 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8457 * sunrpc/rpcsvc/mount.x: Likewise.
8458 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8459 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8460 * sunrpc/rpcsvc/rex.x: Likewise.
8461 * sunrpc/rpcsvc/rstat.x: Likewise.
8462 * sunrpc/rpcsvc/rusers.x: Likewise.
8463 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8464 * sunrpc/rpcsvc/spray.x: Likewise.
8465 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8466 * sunrpc/rtime.c: Likewise.
8467 * sunrpc/svc.c: Likewise.
8468 * sunrpc/svc_auth.c: Likewise.
8469 * sunrpc/svc_authux.c: Likewise.
8470 * sunrpc/svc_raw.c: Likewise.
8471 * sunrpc/svc_run.c: Likewise.
8472 * sunrpc/svc_simple.c: Likewise.
8473 * sunrpc/svc_tcp.c: Likewise.
8474 * sunrpc/svc_udp.c: Likewise.
8475 * sunrpc/svc_unix.c: Likewise.
8476 * sunrpc/svcauth_des.c: Likewise.
8477 * sunrpc/xcrypt.c: Likewise.
8478 * sunrpc/xdr.c: Likewise.
8479 * sunrpc/xdr_array.c: Likewise.
8480 * sunrpc/xdr_float.c: Likewise.
8481 * sunrpc/xdr_mem.c: Likewise.
8482 * sunrpc/xdr_rec.c: Likewise.
8483 * sunrpc/xdr_ref.c: Likewise.
8484 * sunrpc/xdr_sizeof.c: Likewise.
8485 * sunrpc/xdr_stdio.c: Likewise.
8486
9da4bb31
UD
8487 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8488 handling.
8489
bdaa77bc
AS
84902010-08-19 Andreas Schwab <schwab@redhat.com>
8491
8492 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8493
fe2f79db
LM
84942010-08-19 Luis Machado <luisgpm@br.ibm.com>
8495
8496 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8497 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8498 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8499 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8500 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8501 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8502 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8503 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8504 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8505 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8506 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8507 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8508 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8509 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8510
b9b42ee0
AB
85112010-07-26 Anton Blanchard <anton@samba.org>
8512
8513 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8514 * malloc/arena.c (heap_trim): Likewise.
8515
1c06ba31
UD
85162010-08-16 Ulrich Drepper <drepper@redhat.com>
8517
8518 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8519 here. Not...
8520 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8521 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8522
f8392f40
L
85232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8524
8525 * sysdeps/i386/elf/Makefile: New file.
8526
3162f12e
AS
85272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8528
8529 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8530 from fanotify_init.
8531 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8533
28c90b2c
UD
85342010-08-15 Ulrich Drepper <drepper@redhat.com>
8535
8536 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8537 of strncasecmp_l.
1feccb6c 8538 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8539
ca6bb004
UD
85402010-08-14 Ulrich Drepper <drepper@redhat.com>
8541
e9f82e0d
UD
8542 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8543 strncase_l-nonascii.
8544 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8545 Add strncase_l-ssse3.
8546 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8547 * sysdeps/x86_64/strcmp.S: Likewise.
8548 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8549 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8550 * sysdeps/x86_64/strncase.S: New file.
8551 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8552 * sysdeps/x86_64/strncase_l.S: New file.
8553 * string/Makefile (strop-tests): Add strncasecmp.
8554 * string/test-strncasecmp.c: New file.
8555
8556 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8557 warning.
8558
ca6bb004
UD
8559 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8560 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8561
052fa7b3
AS
85622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8563
8564 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8565
962dba78
UD
85662010-08-12 Ulrich Drepper <drepper@redhat.com>
8567
8568 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8569 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8570 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8571
bebff237
AM
85722010-05-01 Alan Modra <amodra@gmail.com>
8573
8574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8575 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8576 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8577 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8578 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8579 tidying. Don't tail-call __sigjmp_save for static lib.
8580 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8581 save location.
8582 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8583 (CALL_MCOUNT): Add eh info, and nop after bl.
8584 (TAIL_CALL_SYSCALL_ERROR): New macro.
8585 (PSEUDO_RET): Use it.
8586 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8587 Correct save location of integer regs and cr.
8588 (_dl_profile_resolve): Correct cr save location. Delete nops
8589 after bl when SHARED. Reduce cfi size a little by better
8590 placement of cfi directives.
8591 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8592 make a stack frame. Instead use parm save area as a temp.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8594 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8596 Don't make a stack frame for parent, use parm save area.
8597 Increase child stack frame to 112 bytes. Don't save unused reg,
8598 and adjust reg usage. Set up cfi on error recovery and
8599 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8601 (__makecontext): Add dummy nop after jump to exit.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8603 Use correct parm save area and cr save, reduce stack frame.
8604 Correct cfi for possible PSEUDO_RET frame setup.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8606 Branch to local label emitted by PSEUDO_RET rather than
8607 __syscall_error.
8608
02637374
AS
86092010-08-12 Andreas Schwab <schwab@redhat.com>
8610
8611 [BZ #11904]
8612 * locale/programs/locale.c (print_assignment): New function.
8613 (show_locale_vars): Use it.
8614
c3e2f19b
UD
86152010-08-11 Ulrich Drepper <drepper@redhat.com>
8616
3cdaa6ad
UD
8617 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8618 field.
8619 (struct statfs64): Likewise.
8620 (_STATFS_F_FLAGS): Define.
8621 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8622 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8623 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8624 (ST_VALID): Define locally.
8625 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8626 __statvfs_getflags, use the provided value.
8627 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8628 __ASSUME_STATFS_F_FLAGS.
8629
754f7da3
UD
8630 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8631
10b3bedc
UD
8632 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8633 Add sys/fanotify.h.
8634 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8635 fanotify_mask for GLIBC_2.13.
8636 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8637 fanotify_init and fanotify_mark.
8638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8639 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8640
c08fb0d7
UD
8641 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8642 Add prlimit.
8643 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8644 prlimit64 for GLIBC_2.13.
8645 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8646 prlimit64.
8647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8648 syscall.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8650 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8651 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8652 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8654 add prlimit alias.
8655 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8656
15bac72b
UD
8657 [BZ #11903]
8658 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8659 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8660
c3e2f19b
UD
8661 * nss/Makefile: Add rules to build and run tst-nss-test1.
8662 * shlib-versions: Add entry for libnss_test1.
8663 * nss/nss_test1.c: New file.
8664 * nss/tst-nss-test1.c: New file.
8665
8666 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8667 (__nss_configure_lookup): Set appropriate entry in
8668 __nss_configure_lookup to true.
8669 * nss/nsswitch.h: Define enum with indeces of databases in
8670 databases and __nss_database_custom arrays. Declare
8671 __nss_database_custom.
8672 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8673 to avoid using nscd when custom rules are installed.
8674 * nss/getXXbyYY_r.c: Likewise.
8675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8676
8677 * nss/nss_files/files-parse.c: Whitespace fixes.
8678
f15ce4d8
UD
86792010-08-09 Ulrich Drepper <drepper@redhat.com>
8680
8681 [BZ #11883]
8682 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8683 * posix/fnmatch_loop.c: Likewise.
8684
d22e4cc9
AK
86852010-07-17 Andi Kleen <ak@linux.intel.com>
8686
8687 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8688 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8689 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8690 * Versions.def [GLIBC_2.13]: Add.
8691
805bc17d
UD
86922010-08-06 Ulrich Drepper <drepper@redhat.com>
8693
8694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8695 Also fail if tpwd after pwuid call is NULL.
8696
5a42321d
ST
86972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8698
8699 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8700 when converting to ms.
8701
fd3ebeda
ST
87022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8703
8704 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8705 EOPNOTSUPP errors with ENOTTY.
8706 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8707 EOPNOTSUPP errors with ENOTTY.
8708
73507d3a
UD
87092010-07-31 Ulrich Drepper <drepper@redhat.com>
8710
8711 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8712 Add strcasecmp_l-ssse3.
8713 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8714 strcasecmp.
8715 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8716 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8717 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8718
fe36dd02
UD
87192010-07-30 Ulrich Drepper <drepper@redhat.com>
8720
66f6765a
UD
8721 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8722
42e08a54
UD
8723 * string/Makefile (strop-tests): Add strcasecmp.
8724 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8725 strcasecmp_l-nonascii.
8726 (gen-as-const-headers): Add locale-defines.sym.
8727 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8728 * sysdeps/x86_64/strcasecmp.S: New file.
8729 * sysdeps/x86_64/strcasecmp_l.S: New file.
8730 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8731 * sysdeps/x86_64/locale-defines.sym: New file.
8732 * string/test-strcasecmp.c: New file.
8733
fe36dd02
UD
8734 * string/test-strcasestr.c: Test both ends of the range of characters.
8735 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8736
48cbc0d6
RM
87372010-07-29 Roland McGrath <roland@redhat.com>
8738
76e6d6bc 8739 [BZ #11856]
48cbc0d6
RM
8740 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8741
880113d9
UD
87422010-07-27 Ulrich Drepper <drepper@redhat.com>
8743
8744 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8745 for ld.so.
8746
deb9cabb
AS
87472010-07-27 Andreas Schwab <schwab@redhat.com>
8748
8749 * manual/memory.texi (Malloc Tunable Parameters): Document
8750 M_PERTURB.
8751
1c7570ff
RM
87522010-07-26 Roland McGrath <roland@redhat.com>
8753
8754 [BZ #11840]
8755 * configure.in (-fgnu89-inline check): Set and substitute
8756 gnu89_inline, not libc_cv_gnu89_inline.
8757 * configure: Regenerated.
8758 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8759
24fb0f88
UD
87602010-07-26 Ulrich Drepper <drepper@redhat.com>
8761
8762 * string/test-strnlen.c: New file.
8763 * string/Makefile (strop-tests): Add strnlen.
8764 * string/tester.c (test_strnlen): Add a few more test cases.
8765 * string/tst-strlen.c: Better error reporting.
8766
8767 * sysdeps/x86_64/strnlen.S: New file.
8768
8e96b93a
UD
87692010-07-24 Ulrich Drepper <drepper@redhat.com>
8770
8771 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8772 lower-latency instructions.
8773
dbc676d4
UD
87742010-07-23 Ulrich Drepper <drepper@redhat.com>
8775
8776 * string/test-strcasestr.c: New file.
8777 * string/test-strstr.c: New file.
8778 * string/Makefile (strop-tests): Add strstr and strcasestr.
8779 * string/str-two-way.h: Don't undefine MAX.
8780 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8781
f6a31e0e
AS
87822010-07-21 Andreas Schwab <schwab@redhat.com>
8783
8784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8785 strcasestr-nonascii.
8786 (CFLAGS-strcasestr-nonascii.c): Define.
8787 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8788 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8789 Remove unused attribute.
8790
5dbc3b6c
RM
87912010-07-20 Roland McGrath <roland@redhat.com>
8792
8793 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8794 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8795 ld.so.cache was broken. With it, there is no way to disable dsocaps
8796 like LD_HWCAP_MASK can disable hwcaps.
8797
23d101d8
EPM
87982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8799
8800 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8801
cc9f2e47
UD
88022010-07-16 Ulrich Drepper <drepper@redhat.com>
8803
8804 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8805 call in strcasestr.
8806 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8807 __strcasestr_sse42_nonascii.
8808 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8809 strcasestr-nonascii.c.
8810 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8811
77c1b069
LM
88122010-06-15 Luis Machado <luisgpm@br.ibm.com>
8813
8814 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8815 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8816 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8817 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8818
440566c3
UD
88192010-07-09 Ulrich Drepper <drepper@redhat.com>
8820
8821 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8822 fcntl.
8823
5be9d05d
AS
88242010-07-06 Andreas Schwab <schwab@redhat.com>
8825
c30b7ee2 8826 [BZ #11577]
5be9d05d
AS
8827 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8828 dl_signal_cerror.
8829
8a492a67
UD
88302010-07-06 Ulrich Drepper <drepper@redhat.com>
8831
8832 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8833 _PC_PIPE_BUF using F_GETPIPE_SZ.
8834
713df3d5
RM
88352010-07-05 Roland McGrath <roland@redhat.com>
8836
8837 * manual/arith.texi (Rounding Functions): Fix rint description
8838 implicit in round description.
8839
702e8f14
UD
88402010-07-02 Ulrich Drepper <drepper@redhat.com>
8841
8842 * elf/Makefile: Fix linking for a few tests to make recent linker
8843 happy.
8844
52ed8be9
AS
88452010-06-30 Andreas Schwab <schwab@redhat.com>
8846
8847 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8848 $(common-objpfx)libc_nonshared.a.
8849
f47c9a11
LM
88502010-06-21 Luis Machado <luisgpm@br.ibm.com>
8851
8852 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8853 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8854 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8855 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8856 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8857 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8858 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8859 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8874 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8875 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8876 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8877 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8878 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8879 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8880 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8881 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8882 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8883 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8884 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8885 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8900
6fb8cbcb
L
89012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8902
8903 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8904 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8905 * string/memmove.c (memmove): Renamed to ...
8906 (MEMMOVE): ...this. Default to memmove.
8907 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8908 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8909 (END_CHK): Define.
8910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8911 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8912 mempcpy-ssse3-back memmove-ssse3-back.
8913 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8914 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8916 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8917 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8918 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8919 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8920 * sysdeps/x86_64/multiarch/memmove.c: New file.
8921 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8922 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8923 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8924 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8925 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8926 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8927 Define.
8928 (index_Fast_Copy_Backward): Define.
8929 (HAS_ARCH_FEATURE): Define.
8930 (HAS_FAST_REP_STRING): Define.
8931 (HAS_FAST_COPY_BACKWARD): Define.
8932
4e733bac 89332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
8934
8935 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8936 Restore proper fallback handling.
8937
63c4ed22
UD
89382010-06-19 Ulrich Drepper <drepper@redhat.com>
8939
ac2b484c
UD
8940 [BZ #11701]
8941 * posix/group_member.c (__group_member): Correct checking loop.
8942
63c4ed22
UD
8943 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8944 OOM in getpwuid_r correctly. Return error number when the caller
8945 should return, otherwise -1.
8946 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8947 call returning > 0 value.
8948 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8949
765ade4b
AS
89502010-06-07 Andreas Schwab <schwab@redhat.com>
8951
8952 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8953 libc_nonshared.a from targets in modules-names.
8954
80da2e09
KS
89552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8956
8957 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8958 requires it.
8959
158db122
LM
89602010-06-10 Luis Machado <luisgpm@br.ibm.com>
8961
8962 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8963 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8964 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8966
caa78cf8
AS
89672010-06-02 Andreas Schwab <schwab@redhat.com>
8968
8969 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8970
b2ef2c01
UD
89712010-06-14 Ulrich Drepper <drepper@redhat.com>
8972
8973 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8974 and F_GETPIPE_SZ.
8975 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8976 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8979 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8981
fbd643b6
RM
89822010-06-14 Roland McGrath <roland@redhat.com>
8983
8984 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8985
f32f2869
JJ
89862010-06-07 Jakub Jelinek <jakub@redhat.com>
8987
8988 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8989 __REDIRECT followed by __THROW.
8990 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8991 * posix/getopt.h (getopt): Likewise.
8992
2a50c078
EPM
89932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8994
8995 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8996 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8997 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8998 in AT_FLAGS.
8999 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9000 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9001
eb5ad2eb
LM
90022010-05-28 Luis Machado <luisgpm@br.ibm.com>
9003
9004 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9005
3c88fe1e
L
90062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9007
9008 [BZ #11640]
9009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9010 Properly check family and model.
9011
d2f73151
TY
90122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9013
9014 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9015
ebd2e13d
LM
90162010-05-24 Luis Machado <luisgpm@br.ibm.com>
9017
9018 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9019
b32b8b45
UD
90202010-05-21 Ulrich Drepper <drepper@redhat.com>
9021
9022 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9023 symbol reference.
9024
9acbe24d
AS
90252010-05-19 Andreas Schwab <schwab@redhat.com>
9026
9027 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9028 symbol reference.
9029
f0ccf6ea
AS
90302010-05-21 Andreas Schwab <schwab@redhat.com>
9031
3d04ff3a
AS
9032 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9033 and internal_recvmmsg.
9034 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9035 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9036 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9037 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9038
f0ccf6ea
AS
9039 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9040 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9041 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9042
5b08ac57
AS
90432010-05-20 Andreas Schwab <schwab@redhat.com>
9044
9045 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9046
4828935d
LM
90472010-05-17 Luis Machado <luisgpm@br.ibm.com>
9048
9049 POWER7 optimizations.
9050 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9051 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9052
373d545e
UD
90532010-05-19 Ulrich Drepper <drepper@redhat.com>
9054
9055 * version.h: Update for 2.13 development version.
9056
21a2b1ae
AS
90572010-05-12 Andrew Stubbs <ams@codesourcery.com>
9058
9059 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9060 exceptions. Return 0.
9061
3f7dcb2b
RM
90622010-05-07 Roland McGrath <roland@redhat.com>
9063
9064 * elf/ldconfig.c (main): Add a const.
9065
5f24d53a 90662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9067
a160f8d8
UD
9068 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9069 (args_options): Add no-idn option.
9070 (ahosts_keys_int): Add idn_flags to ai_flags.
9071 (parse_option): Handle 'i' option to clear idn_flags.
9072
5f24d53a
UD
9073 * malloc/malloc.c (_int_free): Possible race in the most recently
9074 added check. Only act on the data if no current modification
9075 happened.
265bb1ce
UD
9076
9077See ChangeLog.17 for earlier changes.
This page took 1.222816 seconds and 5 git commands to generate.