]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove oldish __GNUC_PREREQ.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bc957d53
MP
12012-03-03 Marek Polacek <polacek@redhat.com>
2
3 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4 * math/math_private.h: Likewise.
5 * stdlib/tst-strtod.c: Likewise.
6 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7 * sysdeps/x86_64/bits/atomic.h: Likewise.
8
6358490d
DM
92012-03-02 David S. Miller <davem@davemloft.net>
10
11 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19
01ae168d
RM
202012-03-02 Roland McGrath <roland@hack.frob.com>
21
d9a17c07
RM
22 [BZ #13792]
23 * manual/examples/README: New file, says the example source files
24 can be used under GPL>=2.
25 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26 line containing just "*/".
27 * manual/examples/add.c: Add copyright header (GPL>=2).
28 * manual/examples/argp-ex1.c: Likewise.
29 * manual/examples/argp-ex2.c: Likewise.
30 * manual/examples/argp-ex3.c: Likewise.
31 * manual/examples/argp-ex4.c: Likewise.
32 * manual/examples/atexit.c: Likewise.
33 * manual/examples/db.c: Likewise.
34 * manual/examples/dir.c: Likewise.
35 * manual/examples/dir2.c: Likewise.
36 * manual/examples/execinfo.c: Likewise.
37 * manual/examples/filecli.c: Likewise.
38 * manual/examples/filesrv.c: Likewise.
39 * manual/examples/fmtmsgexpl.c: Likewise.
40 * manual/examples/genpass.c: Likewise.
41 * manual/examples/inetcli.c: Likewise.
42 * manual/examples/inetsrv.c: Likewise.
43 * manual/examples/isockad.c: Likewise.
44 * manual/examples/longopt.c: Likewise.
45 * manual/examples/memopen.c: Likewise.
46 * manual/examples/memstrm.c: Likewise.
47 * manual/examples/mkfsock.c: Likewise.
48 * manual/examples/mkisock.c: Likewise.
49 * manual/examples/mygetpass.c: Likewise.
50 * manual/examples/pipe.c: Likewise.
51 * manual/examples/popen.c: Likewise.
52 * manual/examples/rprintf.c: Likewise.
53 * manual/examples/search.c: Likewise.
54 * manual/examples/select.c: Likewise.
55 * manual/examples/setjmp.c: Likewise.
56 * manual/examples/sigh1.c: Likewise.
57 * manual/examples/sigusr.c: Likewise.
58 * manual/examples/stpcpy.c: Likewise.
59 * manual/examples/strdupa.c: Likewise.
60 * manual/examples/strftim.c: Likewise.
61 * manual/examples/strncat.c: Likewise.
62 * manual/examples/subopt.c: Likewise.
63 * manual/examples/swapcontext.c: Likewise.
64 * manual/examples/termios.c: Likewise.
65 * manual/examples/testopt.c: Likewise.
66 * manual/examples/testpass.c: Likewise.
67 * manual/examples/timeval_subtract.c: Likewise.
68
01ae168d
RM
69 [BZ #13792]
70 * manual/time.texi (Elapsed Time): Move timeval_subtract example
71 function to ...
72 * manual/timeval_subtract.c.texi: ... here, new file.
73
49efa33d
DM
742012-03-02 David S. Miller <davem@davemloft.net>
75
76 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77
28afd92d
JM
782012-03-02 Joseph Myers <joseph@codesourcery.com>
79
804360ed
JM
80 [BZ #3976]
81 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
82 (__sin): Save and restore rounding mode and use round-to-nearest
83 for all computations.
84 (__cos): Save and restore rounding mode and use round-to-nearest
85 for all computations.
86 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87 <fenv.h>.
88 (tan): Save and restore rounding mode and use round-to-nearest for
89 all computations.
90 * math/libm-test.inc (cos_test_tonearest): New function.
91 (cos_test_towardzero): Likewise.
92 (cos_test_downward): Likewise.
93 (cos_test_upward): Likewise.
94 (sin_test_tonearest): Likewise.
95 (sin_test_towardzero): Likewise.
96 (sin_test_downward): Likewise.
97 (sin_test_upward): Likewise.
98 (tan_test_tonearest): Likewise.
99 (tan_test_towardzero): Likewise.
100 (tan_test_downward): Likewise.
101 (tan_test_upward): Likewise.
102 (main): Call the new functions.
103 * sysdeps/i386/fpu/libm-test-ulps: Update.
104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
105
a6d06d7b
JM
106 [BZ #10135]
107 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
108 small n, then large n, before computing and testing k+n.
109 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
111 Likewise.
112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
113 Likewise.
114 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
115 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
116 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
117 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
121 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
122 * math/libm-test.inc (scalbn_test): Add more tests.
123 (scalbln_test): Likewise.
124
07e12bb3
JM
125 * manual/filesys.texi (mode_t): Describe constraints on size and
126 signedness, not exact equivalence to a particular type.
127 (ino_t): Likewise.
128 (ino64_t): Likewise.
129 (dev_t): Likewise.
130 (nlink_t): Likewise.
131 (blkcnt_t): Likewise.
132 (blkcnt64_t): Likewise.
133 * manual/llio.texi (off_t): Likewise.
134
28afd92d
JM
135 [BZ #3976]
136 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
137 (__ieee754_exp): Save and restore rounding mode and use
138 round-to-nearest for all computations.
139 * math/libm-test.inc (exp_test_tonearest): New function.
140 (exp_test_towardzero): Likewise.
141 (exp_test_downward): Likewise.
142 (exp_test_upward): Likewise.
143 (main): Call the new functions.
144 * sysdeps/i386/fpu/libm-test-ulps: Update.
145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
146
b1eeb65d
CD
1472012-03-01 Chris Demetriou <cgd@google.com>
148
149 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
150 have predictable order.
151
53362a4b
DM
1522012-03-01 David S. Miller <davem@davemloft.net>
153
3c969083
DM
154 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
155
759707de
DM
156 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
157 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
158 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
159 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
160
dfdb8ff2
DM
161 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
162 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
163 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
165 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
166 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
167 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
168 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
169 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
170
ead89f96
DM
171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
172
7f66bd07
DM
173 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
174 * sysdeps/sparc/fpu/libm-test-ulps: to here.
175 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
176
53362a4b
DM
177 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
178 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
179 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
180 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
181 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
184 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
185 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
186 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
187 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
188 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
190 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
191 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
193 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
194 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
195 * sysdeps/sparc/elf/configure: Regenerated.
196
7b1902cb
JM
1972012-03-01 Joseph Myers <joseph@codesourcery.com>
198
bec039bc
JM
199 * configure.in (AS, LD): Require binutils 2.20 or later.
200 * configure: Regenerated.
201 * manual/install.texi (Tools for Compilation): Give binutils 2.20
202 as required minimum version.
203 * INSTALL: Regenerated.
204
7b1902cb
JM
205 [BZ #2541]
206 [BZ #4108]
207 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
208 before squaring exponent.
209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
210 bottom long double and 27 bits of top long double before squaring
211 exponent.
212 * math/libm-test.inc (erfc_test): Add more tests.
213 * sysdeps/i386/fpu/libm-test-ulps: Update.
214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
216
f775c276
KT
2172012-03-01 Kai Tietz <ktietz@redhat.com>
218
219 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
220 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
221 containing bit-fields.
222 * soft-fp/extended.h (_FP_UNION_E): Likewise.
223 * soft-fp/single.h (_FP_UNION_S): Likewise.
224 * soft-fp/double.h (_FP_UNION_D): Likewise.
225
5b8a4d4a
JM
2262012-02-29 Joseph Myers <joseph@codesourcery.com>
227
0bab47b6
JM
228 [BZ #13786]
229 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
230 not include ../strcmp.S.
231 [USE_AS_STRNCASECMP_L]: Likewise.
232 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
233 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
234 * sysdeps/i386/i686/multiarch/strncase_l-c.c
235 (__strncasecmp_l_ia32): Define as alias to
236 __strncasecmp_l_nonascii.
237
0fcad3e2
JM
238 [BZ #5794]
239 * math/libm-test.inc (expm1_test): Add test for bug 5794.
240 * sysdeps/i386/fpu/libm-test-ulps: Update.
241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
242
5b8a4d4a
JM
243 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
245
8fdceb2e
JL
2462012-02-29 Jeff Law <law@redhat.com>
247
248 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
249 out of bounds read.
250
1f393a11
MP
2512012-02-29 Marek Polacek <polacek@redhat.com>
252
253 [BZ #13706]
254 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
255 * elf/Makefile: Add rules to run tst-unused-dep.out.
256
8847f037
DM
2572012-02-28 David S. Miller <davem@davemloft.net>
258
259 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
260 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
261 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
263 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
264 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
265
169d7f11
JM
2662012-02-29 Joseph Myers <joseph@codesourcery.com>
267
268 * math/libm-test.inc (llround_test): Move one test from
269 lround_test. Use TEST_f_L in moved test.
270 (lround_test): Move misplaced test to llround_test. Add testcase
271 from bug 2561.
272
39adf059
UD
2732012-02-28 Ulrich Drepper <drepper@gmail.com>
274
275 * sysdeps/x86_64/fpu/e_expf.S: New file.
276 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
277
71b5d1c5
SB
2782012-02-28 Stanislav Brabec <sbrabec@suse.cz>
279
280 [BZ #13637]
281 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
282 of remain_len that may cause incomplete multi-byte character and
283 false match.
284 * posix/bug-regex33.c: New file.
285 * posix/Makefile (tests): Add bug-regex33.
286
1f77f049
JM
2872012-02-28 Joseph Myers <joseph@codesourcery.com>
288
289 * manual/macros.texi: New file.
290 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
291 * manual/libc.texinfo: Include macros.texi.
292 * manual/creatute.texi: Likewise.
293 * manual/install.texi: Likewise.
294 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
295 @glibcadj{} in references to the GNU C Library.
296 * manual/charset.texi: Likewise.
297 * manual/conf.texi: Likewise.
298 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
299 when not using those macros.
300 * manual/creature.texi: Likewise.
301 * manual/crypt.texi: Likewise.
302 * manual/errno.texi: Likewise.
303 * manual/filesys.texi: Likewise.
304 * manual/header.texi: Likewise.
305 * manual/install.texi: Likewise.
306 * manual/intro.texi: Likewise.
307 * manual/io.texi: Likewise.
308 * manual/job.texi: Likewise.
309 * manual/lang.texi: Likewise.
310 * manual/libc.texiinfo: Likewise.
311 * manual/llio.texi: Likewise.
312 * manual/locale.texi: Likewise.
313 * manual/maint.texi: Likewise.
314 * manual/math.texi: Likewise.
315 * manual/memory.texi: Likewise.
316 * manual/message.texi: Likewise.
317 * manual/nss.texi: Likewise.
318 * manual/pattern.texi: Likewise.
319 * manual/process.texi: Likewise.
320 * manual/resource.texi: Likewise.
321 * manual/search.texi: Likewise.
322 * manual/setjmp.texi: Likewise.
323 * manual/signal.texi: Likewise.
324 * manual/socket.texi: Likewise.
325 * manual/startup.texi: Likewise.
326 * manual/stdio.texi: Likewise.
327 * manual/string.texi: Likewise.
328 * manual/sysinfo.texi: Likewise.
329 * manual/syslog.texi: Likewise.
330 * manual/terminal.texi: Likewise.
331 * manual/time.texi: Likewise.
332 * manual/users.texi: Likewise.
333 * INSTALL: Regenerated.
334 * NOTES: Regenerated.
d40c5d54 335 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 336
450bf206
AS
3372012-02-28 Andreas Schwab <schwab@linux-m68k.org>
338
339 * include/dirent.h: Include <dirstream.h> before
340 <dirent/dirent.h>.
341
741a235b
DM
3422012-02-28 David S. Miller <davem@davemloft.net>
343
344 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
345 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
346 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
347 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
348
d6b5aa58
DM
3492012-02-27 David S. Miller <davem@davemloft.net>
350
1aff59a3
DM
351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
353 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
354 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
355
d6b5aa58
DM
356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
357 frame pointer instead of stack pointer relative arg slot.
358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
359 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
360 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
361
433f48bf
CD
3622012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
363
364 [BZ #3992]
365 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
366
d674b76d
DM
3672012-02-27 David S. Miller <davem@davemloft.net>
368
369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
373 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
374 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
375 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
376 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
377
0e7727f7
JM
3782012-02-27 Joseph Myers <joseph@codesourcery.com>
379
380 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
381 later. Allow versions 5-9.
43be4ca2 382 * configure: Regenerated.
0e7727f7
JM
383 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
384 required minimum version and 4.6 as recommended version. Do not
385 mention bugs in GCC 2.7 and 2.8.
43be4ca2 386 * INSTALL: Regenerated.
0e7727f7 387
a78bc654
DM
3882012-02-27 David S. Miller <davem@davemloft.net>
389
428d5830
DM
390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
394 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
395 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
396 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
397 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
398
a78bc654
DM
399 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
400 manipulate bits before adding and subtracting TWO112[sx].
401 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
402
4579f81c
RM
4032012-02-27 Roland McGrath <roland@hack.frob.com>
404
36c8acb4
RM
405 [BZ #13775]
406 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
407 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
408 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
409 being in POSIX, because they are in 1003.1-2008.
410
84ad622b
RM
411 * rt/tst-aio.c: Include <fcntl.h>.
412 * rt/tst-aio7.c: Likewise.
413 * rt/tst-aio64.c: Likewise.
414
4579f81c
RM
415 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
416
abd923db
JM
4172012-02-27 Joseph Myers <joseph@codesourcery.com>
418
419 * manual/install.texi (--with-headers): Describe headers as
420 interface headers, not private headers.
421 (Specific advice for GNU/Linux systems): Describe use of headers
422 from "make headers_install", not private headers from older
423 kernels.
43be4ca2 424 * INSTALL: Regenerated.
abd923db
JM
425 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
426 Change to 2.6.19.
427 * sysdeps/unix/sysv/linux/configure: Regenerated.
428
6664049b
JM
429 * manual/llio.texi (fclean): Remove documentation.
430
bb8b6697
JM
431 * manual/Makefile (libc-texi-generated): New variable. Include
432 version.texi.
433 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
434 $(libc-texi-generated), not duplicated list of files.
435 (version.texi, stamp-version): New rules.
436 (realclean): Remove $(libc-texi-generated), not individual files
437 from that list. Do not remove dir-add.texinfo.
438 * manual/libc.texinfo: Comment out uses of edition numbers and
439 references to printed manual. Remove last-updated dates.
440 (EDITION): Comment out.
441 (ISBN): Likewise.
442 (VERSION, UPDATED): Remove.
443 (version.texi): Include.
444
12e5c3b9
AS
4452012-02-27 Andreas Schwab <schwab@linux-m68k.org>
446
447 * sysdeps/posix/spawni.c: Include <signal.h>.
448 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
449 * sysdeps/pthread/aio_fsync.c: Likewise.
450
4efeffc1 4512012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 452
ba63ba08
UD
453 * conform/Makefile (tests): Run only when not cross-compiling and
454 when fast-check is not defined.
455
d94a4670
UD
456 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
457 * conform/data/limits.h-data: Fixes for POSIX2008.
458 * conform/run-conformtest.sh: Run all tests.
459 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
460 headers.
461 * include/bits/dlfcn.h: Likewise.
462 * include/langinfo.h: Likewise.
463 * include/monetary.h: Likewise.
464 * include/sys/poll.h: Likewise.
465
466 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
467 for __USE_GNU.
468 * posix/spawn.h: Define __need_sigset_t.
469 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
470 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
471 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
472 to get sigevent_t only.
473 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
474 only for __USE_GNU.
475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
476 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
477 process_vm_writev only for __USE_GNU.
478 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
479
480 * conform/Makefile: For now ignore errors from run-conformtest.
481 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
482 POSIX to avoid namespace pollution. Don't prepend headers.
483 * conform/data/aio.h-data: Fixes for POSIX testing.
484 * conform/data/fcntl.h-data: Likewise.
485 * conform/data/glob.h-data: Likewise.
486 * conform/data/grp.h-data: Likewise.
487 * conform/data/pthread.h-data: Likewise.
488 * conform/data/pwd.h-data: Likewise.
489 * conform/data/signal.h-data: Likewise.
490 * conform/data/spawn.h-data: Likewise.
491 * conform/data/stdio.h-data: Likewise.
492 * conform/data/stdlib.h-data: Likewise.
493 * conform/data/stropts.h-data: Likewise.
494 * conform/data/sys/mman.h-data: Likewise.
495 * conform/data/sys/stat.h-data: Likewise.
496 * conform/data/sys/types.h-data: Likewise.
497 * conform/data/sys/wait.h-data: Likewise.
498 * conform/data/time.h-data: Likewise.
499 * conform/data/unistd.h-data: Likewise.
500 * conform/data/utime.h-data: Likewise.
501
502 * io/sys/stat.h: fchmod was always in POSIX.
503 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
504 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
505 * rt/aio.h: Define __need_timespec before including <time.h>.
506 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
507 struct. Add forward declaration of pthread_attr_t and use it in
508 sigevent.
509 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
511 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
512 always remove CLK_TCK definition.
513
c20105c3
AS
5142012-02-26 Andreas Schwab <schwab@linux-m68k.org>
515
516 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
517
7a270350
UD
5182012-02-25 Ulrich Drepper <drepper@gmail.com>
519
31341567
UD
520 * conform/run-conformtest.sh: New file.
521 * conform/Makefile: Run run-conformtest for tests.
522 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
523 support.
524
525 * conform/data/uchar.h-data: New file.
526 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
527 * conform/data/arpa/inet.h-data: Likewise.
528 * conform/data/assert.h-data: Likewise.
529 * conform/data/complex.h-data: Likewise.
530 * conform/data/cpio.h-data: Likewise.
531 * conform/data/ctype.h-data: Likewise.
532 * conform/data/dirent.h-data: Likewise.
533 * conform/data/dlfcn.h-data: Likewise.
534 * conform/data/errno.h-data: Likewise.
535 * conform/data/fcntl.h-data: Likewise.
536 * conform/data/float.h-data: Likewise.
537 * conform/data/fmtmsg.h-data: Likewise.
538 * conform/data/fnmatch.h-data: Likewise.
539 * conform/data/ftw.h-data: Likewise.
540 * conform/data/glob.h-data: Likewise.
541 * conform/data/grp.h-data: Likewise.
542 * conform/data/iconv.h-data: Likewise.
543 * conform/data/inttypes.h-data: Likewise.
544 * conform/data/langinfo.h-data: Likewise.
545 * conform/data/libgen.h-data: Likewise.
546 * conform/data/limits.h-data: Likewise.
547 * conform/data/locale.h-data: Likewise.
548 * conform/data/math.h-data: Likewise.
549 * conform/data/monetary.h-data: Likewise.
550 * conform/data/mqueue.h-data: Likewise.
551 * conform/data/ndbm.h-data: Likewise.
552 * conform/data/net/if.h-data: Likewise.
553 * conform/data/netdb.h-data: Likewise.
554 * conform/data/netinet/in.h-data: Likewise.
555 * conform/data/nl_types.h-data: Likewise.
556 * conform/data/poll.h-data: Likewise.
557 * conform/data/pthread.h-data: Likewise.
558 * conform/data/pwd.h-data: Likewise.
559 * conform/data/regex.h-data: Likewise.
560 * conform/data/sched.h-data: Likewise.
561 * conform/data/search.h-data: Likewise.
562 * conform/data/semaphore.h-data: Likewise.
563 * conform/data/setjmp.h-data: Likewise.
564 * conform/data/signal.h-data: Likewise.
565 * conform/data/spawn.h-data: Likewise.
566 * conform/data/stdarg.h-data: Likewise.
567 * conform/data/stdio.h-data: Likewise.
568 * conform/data/stdlib.h-data: Likewise.
569 * conform/data/string.h-data: Likewise.
570 * conform/data/strings.h-data: Likewise.
571 * conform/data/stropts.h-data: Likewise.
572 * conform/data/sys/ipc.h-data: Likewise.
573 * conform/data/sys/mman.h-data: Likewise.
574 * conform/data/sys/msg.h-data: Likewise.
575 * conform/data/sys/resource.h-data: Likewise.
576 * conform/data/sys/select.h-data: Likewise.
577 * conform/data/sys/sem.h-data: Likewise.
578 * conform/data/sys/shm.h-data: Likewise.
579 * conform/data/sys/socket.h-data: Likewise.
580 * conform/data/sys/stat.h-data: Likewise.
581 * conform/data/sys/statvfs.h-data: Likewise.
582 * conform/data/sys/time.h-data: Likewise.
583 * conform/data/sys/timeb.h-data: Likewise.
584 * conform/data/sys/times.h-data: Likewise.
585 * conform/data/sys/types.h-data: Likewise.
586 * conform/data/sys/uio.h-data: Likewise.
587 * conform/data/sys/un.h-data: Likewise.
588 * conform/data/sys/utsname.h-data: Likewise.
589 * conform/data/sys/wait.h-data: Likewise.
590 * conform/data/syslog.h-data: Likewise.
591 * conform/data/tar.h-data: Likewise.
592 * conform/data/termios.h-data: Likewise.
593 * conform/data/utime.h-data: Likewise.
594 * conform/data/utmpx.h-data: Likewise.
595 * conform/data/varargs.h-data: Likewise.
596 * conform/data/wchar.h-data: Likewise.
597 * conform/data/wctype.h-data: Likewise.
598 * conform/data/wordexp.h-data: Likewise.
599
600 * include/stropts.h: New file.
601 * include/uchar.h: New file.
602 * include/aio.h: Changes to allow conformtest.pl to use the headers.
603 * include/assert.h: Likewise.
604 * include/ctype.h: Likewise.
605 * include/dirent.h: Likewise.
606 * include/dlfcn.h: Likewise.
607 * include/fcntl.h: Likewise.
608 * include/fnmatch.h: Likewise.
609 * include/glob.h: Likewise.
610 * include/grp.h: Likewise.
611 * include/libio.h: Likewise.
612 * include/locale.h: Likewise.
613 * include/math.h: Likewise.
614 * include/net/if.h: Likewise.
615 * include/netdb.h: Likewise.
616 * include/netinet/in.h: Likewise.
617 * include/pthread.h: Likewise.
618 * include/pwd.h: Likewise.
619 * include/regex.h: Likewise.
620 * include/sched.h: Likewise.
621 * include/search.h: Likewise.
622 * include/setjmp.h: Likewise.
623 * include/signal.h: Likewise.
624 * include/stdio.h: Likewise.
625 * include/stdlib.h: Likewise.
626 * include/string.h: Likewise.
627 * include/sys/cdefs.h: Likewise.
628 * include/sys/mman.h: Likewise.
629 * include/sys/msg.h: Likewise.
630 * include/sys/resource.h: Likewise.
631 * include/sys/select.h: Likewise.
632 * include/sys/socket.h: Likewise.
633 * include/sys/stat.h: Likewise.
634 * include/sys/statvfs.h: Likewise.
635 * include/sys/time.h: Likewise.
636 * include/sys/times.h: Likewise.
637 * include/sys/uio.h: Likewise.
638 * include/sys/utsname.h: Likewise.
639 * include/sys/wait.h: Likewise.
640 * include/termios.h: Likewise.
641 * include/time.h: Likewise.
642 * include/ulimit.h: Likewise.
643 * include/unistd.h: Likewise.
644 * include/utime.h: Likewise.
645 * include/wchar.h: Likewise.
646 * include/wctype.h: Likewise.
647 * include/wordexp.h: Likewise.
648
649 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
650
7a270350
UD
651 * time/time.h: TIME_UTC must be a macro.
652 Make timespec_get available for ISO C11 only as well.
653
7724defc
UD
6542012-02-24 Ulrich Drepper <drepper@gmail.com>
655
656 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
657 Reported by Peng Haitao <penght@cn.fujitsu.com>.
658
6b1d1d46
JM
6592012-02-24 Joseph Myers <joseph@codesourcery.com>
660
661 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 662
0f8bbd69
JM
6632012-02-24 Joseph Myers <joseph@codesourcery.com>
664
665 * manual/texinfo.tex: Update to version 2012-01-19.16.
666
66ab80bc
JM
6672012-02-24 Joseph Myers <joseph@codesourcery.com>
668
669 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
670
74981cc5
RM
6712012-02-24 Roland McGrath <roland@hack.frob.com>
672
ee968201
RM
673 [BZ #13738]
674 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
675 * manual/fdl-1.3.texi: New file.
676 * manual/fdl-1.1.texi: File removed.
677
74981cc5
RM
678 [BZ #13738]
679 * manual/libc.texinfo (FDL_VERSION): New @set.
680 Use it for mention of FDL in cover text.
681 (Documentation License): Use it in @include file name.
682
7bb764bc
JM
6832012-02-22 Joseph Myers <joseph@codesourcery.com>
684 Roland McGrath <roland@hack.frob.com>
685
686 [BZ #5461]
687 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
688 not LONG_LONG_MAX and LONG_LONG_MIN.
689 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
690 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
691 name.
692 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
693
6cbeae47
JM
6942012-02-22 Joseph Myers <joseph@codesourcery.com>
695
696 [BZ #2547]
697 [BZ #11365]
698 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
699 manipulate bits before adding and subtracting TWO23[sx].
700 * math/libm-test.inc (nearbyint_test): Add more tests.
701
fe45ce09
JM
7022012-02-22 Joseph Myers <joseph@codesourcery.com>
703
704 [BZ #2548]
705 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
706 bits before adding and subtracting TWO23[sx].
707 * math/libm-test.inc (rint_test): Add more tests.
708 (rint_test_tonearest): Likewise.
709 (rint_test_towardzero): Likewise.
710 (rint_test_downward): Likewise.
711 (rint_test_upward: Likewise.
712
ff3b3d82
JM
7132012-02-22 Joseph Myers <joseph@codesourcery.com>
714
715 [BZ #10110]
716 * include/stdc-predef.h: New file. Extracted from features.h.
717 * include/features.h: Include stdc-predef.h.
718 * Makefile (headers): Add stdc-predef.h.
719 * CONFORMANCE (Compiler limitations): Update.
720
ef0aab35
JM
7212012-02-22 Joseph Myers <joseph@codesourcery.com>
722
723 * manual/libc.texinfo (VERSION, UPDATED): Revert.
724
58639409
DM
7252012-02-21 David S. Miller <davem@davemloft.net>
726
727 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
728 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
729
c0e70b25
DM
7302012-02-20 David S. Miller <davem@davemloft.net>
731
732 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
733 using a normal save/restore sequence, rather than allocating a
734 dummy stack frame just to store a frame pointer and restore.
735 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
736
fb06851d
JM
7372012-02-21 Joseph Myers <joseph@codesourcery.com>
738
739 * manual/install.texi: Fix stray word in line-wrapped comment.
740
7a8b71c3
DM
7412012-02-20 David S. Miller <davem@davemloft.net>
742
d510c123
DM
743 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
744 both binutils and gcc support GOTDATA.
745
0722d7c2
DM
746 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
747 "rd %pc" in the PIC register setup sequences.
748
3d2b3019
DM
749 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
750 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
751 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
752 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
753 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
758 (SYSCALL_ERROR_HANDLER): Likewise.
759 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
761 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
762 (SYSCALL_ERROR_HANDLER): Likewise.
763
c80098a9
DM
764 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
765 (HAVE_GCC_GOTDATA): New.
766 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
767 relocation support in both binutils and gcc.
768 * sysdeps/sparc/elf/configure: Regenerate.
769
3a2545a0
DM
770 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
771 * sysdeps/sparc/sparc32/elf/configure: Delete.
772 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
773 * sysdeps/sparc/sparc64/elf/configure: Delete.
774 * sysdeps/sparc/elf/configure.in: New file.
775 * sysdeps/sparc/elf/configure: Generate.
776
7a8b71c3
DM
777 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
778 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
779 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
780 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
781 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
782
f1e86fca
JM
7832012-02-21 Joseph Myers <joseph@codesourcery.com>
784
785 * manual/install.texi: Do not mention specific glibc version
786 numbers.
787 * manual/libc.texinfo (VERSION, UPDATED): Update.
788 (@copying): Use @copyright{} and range of years.
789
0e7dfaef
JM
7902012-02-21 Joseph Myers <joseph@codesourcery.com>
791
792 [BZ #13695]
793 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
794 [crti.S not in sysdirs] (generated): Do not append.
795 [crti.S not in sysdirs] (omit-deps): Likewise.
796 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
797 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
798 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
799 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
800 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
801 Likewise.
802 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
803 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
804 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
805 * csu/defs.awk: Remove file.
806 * sysdeps/generic/initfini.c: Likewise.
807 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
808 variable.
809 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
810 Likewise.
811
599af3ca
JM
8122012-02-20 Joseph Myers <joseph@codesourcery.com>
813
814 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
815 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
816 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
818 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
819 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
820 <bits/epoll.h>.
821 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
822 (__EPOLL_PACKED): Define to empty if not defined by
823 <bits/epoll.h>.
824 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
826 bits/epoll.h.
827
0e499750
JM
8282012-02-20 Joseph Myers <joseph@codesourcery.com>
829
830 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
831 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
832 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
833 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
834 <bits/timerfd.h>.
835 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
837 bits/timerfd.h.
838
5ad91f6e
JM
8392012-02-20 Joseph Myers <joseph@codesourcery.com>
840
841 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
842 in C locale.
843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
844 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
845 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
847
06b99b02
AJ
8482012-02-20 Aurelien Jarno <aurelien@aurel32.net>
849
850 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
852
7638c0fd
AS
8532012-02-19 Andreas Schwab <schwab@linux-m68k.org>
854
855 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
856 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
857 defined.
858 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
859 Likewise.
860 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
861 entry for 2.16.
862
92221550
AJ
8632012-02-19 Aurelien Jarno <aurelien@aurel32.net>
864
865 * math/w_acos.c: Use non-signaling floating-point comparisons.
866 * math/w_acosf.c: Likewise.
867 * math/w_acosh.c: Likewise.
868 * math/w_acoshf.c: Likewise.
869 * math/w_acoshl.c: Likewise.
870 * math/w_acosl.c: Likewise.
871 * math/w_asin.c: Likewise.
872 * math/w_asinf.c: Likewise.
873 * math/w_asinl.c: Likewise.
874 * math/w_atanh.c: Likewise.
875 * math/w_atanhf.c: Likewise.
876 * math/w_atanhl.c: Likewise.
877 * math/w_exp2.c: Likewise.
878 * math/w_exp2f.c: Likewise.
879 * math/w_exp2l.c: Likewise.
880 * math/w_j0.c: Likewise.
881 * math/w_j0f.c: Likewise.
882 * math/w_j0l.c: Likewise.
883 * math/w_j1.c: Likewise.
884 * math/w_j1f.c: Likewise.
885 * math/w_j1l.c: Likewise.
886 * math/w_jn.c: Likewise.
887 * math/w_jnf.c: Likewise.
888 * math/w_log.c: Likewise.
889 * math/w_log10.c: Likewise.
890 * math/w_log10f.c: Likewise.
891 * math/w_log10l.c: Likewise.
892 * math/w_log2.c: Likewise.
893 * math/w_log2f.c: Likewise.
894 * math/w_log2l.c: Likewise.
895 * math/w_logf.c: Likewise.
896 * math/w_logl.c: Likewise.
897 * math/w_sqrt.c: Likewise.
898 * math/w_sqrtf.c: Likewise.
899 * math/w_sqrtl.c: Likewise.
900 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
901 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
902 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
903 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
904 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
905
ebaf36eb
JM
9062012-02-19 Joseph Myers <joseph@codesourcery.com>
907
908 [BZ #9739]
909 * manual/string.texi (strnlen): Use correct parameter name in
910 equivalent expression.
911
71c254a6
JM
9122012-02-19 Joseph Myers <joseph@codesourcery.com>
913
914 [BZ #11174]
915 * manual/users.texi (seteuid): Consistently use neweuid for
916 argument name.
917
16d2c631
JM
9182012-02-19 Joseph Myers <joseph@codesourcery.com>
919
920 [BZ #13704]
921 * manual/nss.texi (Services in the NSS configuration): Correct
922 list of services in example configuration file.
923
cd837b09
NB
9242012-02-19 Nick Bowler <nbowler@draconx.ca>
925
926 [BZ #11322]
927 * manual/arith.texi: Remove statements about negative zero
928 behaving identically to zero.
929
02c4bbad
JM
9302012-02-18 Joseph Myers <joseph@codesourcery.com>
931
932 [BZ #5993]
933 * manual/install.texi: Do not document upgrading from libc5.
934
366842e7
JM
9352012-02-18 Joseph Myers <joseph@codesourcery.com>
936
937 [BZ #4596]
938 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
939
dd54084d
DM
9402012-02-18 David S. Miller <davem@davemloft.net>
941
942 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
943 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
944 %o7 across the call.
945 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
946 instead.
947 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
948 SETUP_PIC_REG_LEAF.
949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
950 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
951 * sysdeps/sparc/crtn.S: Likewise.
952
2bcc53a3
UD
9532012-02-17 Ulrich Drepper <drepper@gmail.com>
954
955 * aout/Makefile: Remove.
956
09c093b5
RK
9572012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
958
959 [BZ #13058]
960 * manual/examples/argp-ex1.c (main): Format definition in GNU
961 style.
962 * manual/examples/argp-ex2.c (main): Likewise.
963 * manual/examples/argp-ex3.c (main): Likewise.
964 * manual/examples/argp-ex4.c (main): Likewise.
965 * manual/examples/longopt.c (main): Use new-style prototype
966 definition.
967 * manual/examples/strncat.c (main): Specify return type and use
968 (void) for arguments.
969 * manual/examples/subopt.c (main): Use char **argv argument.
970
2ee633a2
JM
9712012-02-17 Joseph Myers <joseph@codesourcery.com>
972
973 [BZ #5077]
974 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
975 rounding modes.
976
0520adde
FB
9772012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
978
979 [BZ #6907]
980 * manual/string.texi (strchr): Change when strchrnul is
981 recommended.
982
3f4081cd
DGM
9832012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
984
985 [BZ #174]
986 * manual/locale.texi (setlocale): Document LOCPATH.
987
d1b10e78
JM
9882012-02-17 Joseph Myers <joseph@codesourcery.com>
989
990 [BZ #10210]
991 * manual/process.texi (execle): Move @dots{} before last argument.
992
79c6869c
PB
9932012-02-17 Paul Bolle <pebolle@tiscali.nl>
994
995 [BZ #12047]
996 * manual/charset.texi (Generic Charset Conversion): Fix typo
997 (LC_TYPE -> LC_CTYPE).
998
cc6e48bc
NB
9992012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1000
1001 [BZ #5805]
1002 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1003 (scalbnf): Likewise.
1004 (scalbnl): Likewise.
1005 (scalbln): Likewise.
1006 (scalblnf): Likewise.
1007 (scalblnl): Likewise.
1008 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1009 (vwarnx): Likewise.
1010 (verr): Likewise.
1011 (verrx): Likewise.
1012 * manual/filesys.texi (telldir): Use braces around return type.
1013 * manual/llio.texi (mmap): Add space after comma.
1014 (mmap64): Likewise.
1015 * manual/math.texi (jn): Use @var{} on parameter names.
1016 (jnf): Likewise.
1017 (jnl): Likewise.
1018 (yn): Likewise.
1019 (ynf): Likewise.
1020 (ynl): Likewise.
1021 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1022 line.
1023 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1024 "...".
1025 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1026 (sched_get_priority_max): Likewise.
1027 * manual/signal.texi (sigvec): Add space after comma.
1028 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1029 names.
1030 (if_indextoname): Likewise.
1031 (if_freenameindex): Likewise.
1032 (sendto): Use ',' instead of '.' in prototype.
1033 * manual/startup.texi (syscall): Use @dots{} instead of literal
1034 "...".
1035 * manual/stdio.texi (__fpending): Separate initial words of
1036 paragraph from @deftypefun line.
1037 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1038 "...".
1039 (vsyslog): Use @var{} on parameter names.
1040 * manual/terminal.texi (stty): Use @var{} on parameter names.
1041 * manual/users.texi (getutmp): Use @var{} on parameter names.
1042 (getutmpx): Likewise.
1043
5b23062f
JM
10442012-02-17 Joseph Myers <joseph@codesourcery.com>
1045
1046 [BZ #6884]
1047 * manual/stdio.texi (fopen): Fix typos in description of
1048 ",ccs=STRING".
1049
8dee4833
AJ
10502012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1051
1052 [BZ #4026]
1053 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1054 get clock_id definition.
1055
9078ce93
TS
10562012-02-17 Thomas Schwinge <thomas@schwinge.name>
1057
1058 [BZ #4822]
1059 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1060 (madvise): Cast every argument to void on its own.
1061
3835c55f
JM
10622012-02-17 Joseph Myers <joseph@codesourcery.com>
1063
1064 [BZ #9902]
1065 * manual/startup.texi (Exit Status): Fix typo.
1066
35c47e37
JM
10672012-02-17 Joseph Myers <joseph@codesourcery.com>
1068
1069 [BZ #10140]
1070 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1071 * manual/examples/argp-ex2.c: Likewise.
1072 * manual/examples/argp-ex3.c: Likewise.
1073
e3b69ca7
RH
10742012-02-16 Richard Henderson <rth@redhat.com>
1075
1076 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1077 * sysdeps/s390/s390-32/initfini.c: Remove.
1078 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1079 * sysdeps/s390/s390-64/initfini.c: Remove.
1080
df83af67
KK
10812012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1082
1083 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1084 compiler output for sysdeps/generic/initfini.c.
1085 * sysdeps/sh/elf/initfini.c: Remove file.
1086
f63f3380
DM
10872012-02-16 David S. Miller <davem@davemloft.net>
1088
fb59b3a4
DM
1089 [BZ #11494]
1090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1091
f63f3380
DM
1092 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1093 * sysdeps/sparc/crti.S: New file.
1094 * sysdeps/sparc/crtn.S: New file.
1095 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1096 * sysdeps/sparc/sparc64/Makefile: Likewise.
1097
df6a4a4a
MF
10982012-02-15 Mike Frysinger <vapier@gentoo.org>
1099
6dd8f3dc 1100 [BZ #3335]
df6a4a4a
MF
1101 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1102
1cac7236
RM
11032012-02-15 Roland McGrath <roland@hack.frob.com>
1104
d2c736f8
RM
1105 [BZ #4822]
1106 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1107
1cac7236
RM
1108 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1109 (write, read, close): Likewise.
1110 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1111
8e475601
JM
11122012-02-15 Joseph Myers <joseph@codesourcery.com>
1113
1114 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1115 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1116 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1117 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1118 <bits/signalfd.h>.
1119 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1121 bits/signalfd.h.
1122
ed656b40
MP
11232012-02-14 Marek Polacek <polacek@redhat.com>
1124
1125 * sysdeps/x86_64/crti.S: New file.
1126 * sysdeps/x86_64/crtn.S: New file.
1127 * sysdeps/x86_64/elf/initfini.c: Remove file.
1128
2a979d3a
JM
11292012-02-13 Joseph Myers <joseph@codesourcery.com>
1130
1131 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1132 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1134 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1135 <bits/inotify.h>.
1136 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1138 bits/inotify.h.
1139
2a418ac3
JM
11402012-02-13 Joseph Myers <joseph@codesourcery.com>
1141
1142 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1143 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1144 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1145 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1146 <bits/eventfd.h>.
1147 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1149 bits/eventfd.h.
1150
fb779be7
TS
11512012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1152
e19e83c5
RM
1153 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1154 __feraiseexcept instead of feraiseexcept.
7c35ffed 1155
fb779be7
TS
1156 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1157 nanosleep invocations.
1158 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1159 strings, and add error checking for a nanosleep invocations.
1160
59ba27a6
PE
11612012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1162
1163 Replace FSF snail mail address with URLs, as per GNU coding standards.
1164 Most of the snail mail addresses were wrong anyway, and omitting
1165 them makes the source code easier to maintain. Almost all of the
1166 changes are to license notices and to locale LC_IDENTIFICATION
1167 addresses, except for this one:
1168 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1169 not its snail mail address.
1170
57b957eb
RH
11712012-02-09 Richard Henderson <rth@twiddle.net>
1172
af850b1c
RH
1173 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1174 of kernel-features.h.
1175
57b957eb
RH
1176 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1177
6b73181a
MP
11782012-02-08 Marek Polacek <polacek@redhat.com>
1179
1180 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1181 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1182 * sysdeps/gnu/_G_config.h: Likewise.
1183 * sysdeps/generic/_G_config.h: Likewise.
1184
26ecc33a
AS
11852012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1186
6c6dbc63
AS
1187 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1188 tests.
1189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1190
e216c012
AS
1191 * sysdeps/powerpc/powerpc32/crti.S: New file.
1192 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1193 * sysdeps/powerpc/powerpc64/crti.S: New file.
1194 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1195
26ecc33a
AS
1196 * Makeconfig (have-initfini): Don't set.
1197 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1198 * configure.in (nopic_initfini): Don't substitute.
1199 * config.h.in (HAVE_INITFINI): Don't #undef.
1200 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1201 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1202
3add8e13
JM
12032012-02-08 Joseph Myers <joseph@codesourcery.com>
1204
1205 Support crti.S and crtn.S provided directly by architectures.
1206 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1207 [crti.S in sysdirs] (omit-deps): Likewise.
1208 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1209 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1210 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1211 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1212 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1213 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1214 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1215 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1216 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1217 compiler output for sysdeps/generic/initfini.c.
1218 * sysdeps/i386/elf/Makefile: Remove file.
1219 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1220
a22f12b4
MP
12212012-02-07 Marek Polacek <polacek@redhat.com>
1222
1223 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1224 * sysdeps/gnu/_G_config.h: Likewise.
1225 * sysdeps/mach/hurd/_G_config.h: Likewise.
1226
148cf100
MP
12272012-02-07 Marek Polacek <polacek@redhat.com>
1228
1229 * math/Makefile (tests): Add tst-CMPLX2.
1230 * math/tst-CMPLX2.c: New file.
1231
cfdc0dd7
AS
12322012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1233
84ba42c4
AS
1234 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1235
cfdc0dd7
AS
1236 * math/libm-test.inc (jn_test): Add missing L suffix.
1237
622c86f4
MP
12382012-02-06 Marek Polacek <polacek@redhat.com>
1239
1240 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1241 * sysdeps/i386/fpu/e_powf.S: Likewise.
1242 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1243 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1244 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1245 * sysdeps/i386/fpu/e_pow.S: Likewise.
1246 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1247 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1248 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1249 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1250 * sysdeps/i386/fpu/e_log2.S: Likewise.
1251 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1252 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1253 * sysdeps/i386/fpu/e_powl.S: Likewise.
1254 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1255 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1256 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1257 * sysdeps/i386/fpu/e_logl.S: Likewise.
1258 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1259 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1260 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1261 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1262 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1263 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1264 * sysdeps/i386/fpu/e_log.S: Likewise.
1265 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1266 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1267 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1268 * sysdeps/i386/fpu/e_logf.S: Likewise.
1269 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1270 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1271 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1272 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1273 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1274 * sysdeps/i386/fpu/e_log10.S: Likewise.
1275 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1276 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1277 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1278 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1280 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1281 * sysdeps/i386/asm-syntax.h: Likewise.
1282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1283 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1284 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1285 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1286 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1287 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1288 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1289 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1290 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1291 * sysdeps/powerpc/sysdep.h: Likewise.
1292 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1293 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1294
d4a54ac6
JM
12952012-02-06 Joseph Myers <joseph@codesourcery.com>
1296
1297 [BZ #411]
1298 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1299
314054ea
JM
13002012-02-06 Joseph Myers <joseph@codesourcery.com>
1301
1302 * sysdeps/i386/sysdep.h: Include <features.h>.
1303 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1304 version.
1305
d8e0ca50
JM
13062012-02-05 Joseph Myers <joseph@codesourcery.com>
1307
1308 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1309 Define.
1310 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1311 LOAD_PIC_REG_STR.
1312
b1da7dd9
JM
13132012-02-03 Joseph Myers <joseph@codesourcery.com>
1314
1315 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1316 (SETUP_PIC_REG): Use GET_PC_THUNK.
1317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1318 macro.
1319
9a1d9254
JM
13202012-02-03 Joseph Myers <joseph@codesourcery.com>
1321
1322 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1323 for non-PIC compilation.
1324 (SETUP_PIC_REG): Add .p2align directive.
1325 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1326 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1327 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1328 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1329 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1330 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1331 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1333 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1334 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1335 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1336 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1337 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1338 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1339 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1340 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1341 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1342 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1343 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1344 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1345 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1346 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1347 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1348 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1352 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1353 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1354 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1355 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1357 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1358 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1359 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1360 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1361 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1362 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1363 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1364 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1365 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1366
65dc3b75
JM
13672012-02-03 Joseph Myers <joseph@codesourcery.com>
1368
1369 * math/tst-CMPLX.c: Include <stdio.h>.
1370
d55bf177
JM
13712012-01-31 Joseph Myers <joseph@codesourcery.com>
1372
1373 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1374 float.
1375 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1376 * sysdeps/sparc/bits/mathdef.h: Likewise.
1377
69db4f8f
MP
13782012-01-31 Marek Polacek <polacek@redhat.com>
1379
1380 * libio/libio.h: Don't define _PARAMS.
1381 * locale/programs/config.h: Don't define PARAMS.
1382 * stdlib/strtol_l.c: Likewise.
1383 (__strtol_l): Remove PARAMS from the prototype.
1384
41b81892
UD
13852012-01-31 Ulrich Drepper <drepper@gmail.com>
1386
3b49edc0
UD
1387 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1388 names. Just use the correct names. Remove unnecessary wrapper
1389 functions.
1390 * malloc/arena.c: Likewise.
1391 * malloc/hooks.c: Likewise.
1392
41b81892
UD
1393 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1394 ARENA_TEST says not to. Simplify test for creation of a new arena.
1395 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1396
27a25b6e
UD
13972012-01-30 Ulrich Drepper <drepper@gmail.com>
1398
1399 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1400 into tail calls.
1401 (update_get_addr): New function.
1402 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1403 GET_ADDR_MODULE parameter.
1404
c8a89e7d
JM
14052012-01-30 Joseph Myers <joseph@codesourcery.com>
1406
1407 * crypt/cert.c: Remove __STDC__ conditionals.
1408 * crypt/crypt-entry.c: Likewise.
1409 * crypt/crypt_util.c: Likewise.
1410 * libio/filedoalloc.c: Likewise.
1411 * libio/fileops.c: Likewise.
1412 * libio/genops.c: Likewise.
1413 * libio/iofclose.c: Likewise.
1414 * libio/iofdopen.c: Likewise.
1415 * libio/iofopen.c: Likewise.
1416 * libio/iofopen64.c: Likewise.
1417 * libio/iogetdelim.c: Likewise.
1418 * libio/iopopen.c: Likewise.
1419 * libio/obprintf.c: Likewise.
1420 * libio/oldfileops.c: Likewise.
1421 * libio/oldiofclose.c: Likewise.
1422 * libio/oldiofdopen.c: Likewise.
1423 * libio/oldiofopen.c: Likewise.
1424 * libio/oldiopopen.c: Likewise.
1425 * libio/wfiledoalloc.c: Likewise.
1426 * libio/wgenops.c: Likewise.
1427 * locale/programs/xmalloc.c: Likewise.
1428 * misc/syslog.c: Likewise.
1429 * stdio-common/xbug.c: Likewise.
1430 * string/memchr.c: Likewise.
1431 * string/memcmp.c: Likewise.
1432 * string/memrchr.c: Likewise.
1433 * string/rawmemchr.c: Likewise.
1434 * sysdeps/posix/getcwd.c: Likewise.
1435 * time/strftime_l.c: Likewise.
1436
3b100462
JM
14372012-01-30 Joseph Myers <joseph@codesourcery.com>
1438
1439 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1440 * config.make.in (config-cflags-sse2avx): Define.
1441 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1442 Fix typo.
1443
607998af
CM
14442012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1445
1446 * scripts/config.guess: Update from upstream config git repository.
1447 * scripts/config.sub: Likewise.
1448
3601428f
CM
14492012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1450
3ac8b282
CM
1451 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1452 (EM_NUM): Update.
1453 (R_TILEPRO_*, R_TILEGX_*): New macros.
1454
e034841e
CM
1455 * scripts/firstversions.awk: Fix bug in version range handling.
1456
540d7568
CM
1457 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1458
3601428f
CM
1459 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1460
463de862
CM
1461 * include/sys/epoll.h: New file.
1462 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1463 libc_hidden_def.
1464
73139a76
UD
14652012-01-28 Ulrich Drepper <drepper@gmail.com>
1466
96bc5b45
UD
1467 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1468 Avoid unnecessary __WORDSIZE == 64 test.
1469 (fmaxf): Use VEX format if possible.
1470 (fmax): Likewise.
1471 (fminf): Likewise.
1472 (fmin): Likewise.
1473
56f6f6a2
UD
1474 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1475 * math/math_private.h: Remove libc_fegetround* and
1476 libc_fesetround*.
1477 * sysdeps/i386/configure.in: Check for -msse2avx.
1478 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1479 also if SSE2AVX is defined.
1480 Remove libc_fegetround* and libc_fesetround*.
1481 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1482 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1483 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1484 of HAS_YMM_USABLE.
1485 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1486 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1487 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1488 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1489 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1490
73139a76
UD
1491 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1492
d73f93a4
AZ
14932012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1494
1495 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1496 size is not set.
1497 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1498
6ee65ed6
UD
14992012-01-27 Ulrich Drepper <drepper@gmail.com>
1500
1501 [BZ #13618]
1502 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1503 relocation.
1504 * Makeconfig (libm): Define.
1505 * elf/Makefile: Add rules to build and run tst-relsort1.
1506 * elf/tst-relsort1.c: New file.
1507 * elf/tst-relsort1mod1.c: New file.
1508 * elf/tst-relsort1mod2.c: New file.
1509
8db21882
JM
15102012-01-27 Joseph Myers <joseph@codesourcery.com>
1511
1512 * math/s_ldexp.c: Remove __STDC__ conditionals.
1513 * math/s_ldexpf.c: Likewise.
1514 * math/s_ldexpl.c: Likewise.
1515 * math/s_nextafter.c: Likewise.
1516 * math/s_nexttowardf.c: Likewise.
1517 * math/s_significand.c: Likewise.
1518 * math/s_significandf.c: Likewise.
1519 * math/s_significandl.c: Likewise.
1520 * math/w_jnl.c: Likewise.
1521 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1522 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1523 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1524 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1525 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1537 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1543 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1544 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1545 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1546 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1548 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1549 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1550 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1551 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1552 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1553 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1554 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1555 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1556 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1557 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1558 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1561 * sysdeps/ieee754/k_standard.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1566 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1623 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1628 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1636 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1637 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1641 * sysdeps/ieee754/s_matherr.c: Likewise.
1642 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1643 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1646
965a54a4
JM
16472012-01-26 Joseph Myers <joseph@codesourcery.com>
1648
1649 * crypt/md5.h: Remove __STDC__ conditionals.
1650 * libio/libioP.h: Likewise.
1651 * locale/programs/config.h: Likewise.
1652 * sysdeps/generic/sysdep.h: Likewise.
1653 * sysdeps/i386/asm-syntax.h: Likewise.
1654 * sysdeps/s390/asm-syntax.h: Likewise.
1655 * sysdeps/unix/sysdep.h: Likewise.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1658
7071ad79
JM
16592012-01-26 Joseph Myers <joseph@codesourcery.com>
1660
1661 * libio/libio.h: Remove __STDC__ conditionals.
1662 * malloc/obstack.h: Likewise.
1663 * math/complex.h: Likewise.
1664 * math/math.h: Likewise.
1665 * sysdeps/generic/_G_config.h: Likewise.
1666 * sysdeps/gnu/_G_config.h: Likewise.
1667 * sysdeps/mach/hurd/_G_config.h: Likewise.
1668 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1669 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1670 * sysdeps/sparc/bits/mathdef.h: Likewise.
1671
afc5ed09
UD
16722012-01-26 Ulrich Drepper <drepper@gmail.com>
1673
1674 [BZ #13583]
1675 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1676 Clean up HAS_* macros.
afc5ed09 1677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1678 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1679 possible.
1680 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1681 HAS_AVX.
1682 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1683 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1684 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1685 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1686 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1687
bdb6de1d
JM
16882012-01-25 Joseph Myers <joseph@codesourcery.com>
1689
1690 * elf/tst-unique3.cc (gets): Remove declaration.
1691 * elf/tst-unique3lib.cc (gets): Likewise.
1692 * elf/tst-unique3lib2.cc (gets): Likewise.
1693 * elf/tst-unique4.cc (gets): Likewise.
1694
b15549e6
UD
16952012-01-24 Ulrich Drepper <drepper@gmail.com>
1696
1697 * include/stdio.h: Add C++ protection. Add gets declarations and
1698 definitions.
1699 * debug/tst-chk1.c: Don't declare gets here.
1700 * stdio-common/tst-gets.c: Likewise.
1701
a037381f
JM
17022012-01-24 Joseph Myers <joseph@codesourcery.com>
1703
1704 * posix/glob: Remove directory.
1705
f1d4aa75
JM
17062012-01-24 Joseph Myers <joseph@codesourcery.com>
1707
1708 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1709
81c0c964
PT
17102012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1711
1712 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1713 of the non-standard EPFNOSUPPORT.
1714
0ea698ae
ST
17152011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1716
1717 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1718 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1719 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1720
d220b117
UD
17212012-01-21 Ulrich Drepper <drepper@gmail.com>
1722
1723 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1724
3e1aa84e
UD
17252012-01-20 Ulrich Drepper <drepper@gmail.com>
1726
1727 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1728 transient errors.
1729 * nscd/grpcache.c (cache_addgr): Likewise.
1730 * nscd/hstcache.c (cache_addhst): Likewise.
1731 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1732 * nscd/pwdcache.c (cache_addpw): Likewise.
1733 * nscd/servicescache.c (cache_addserv): Likewise.
1734
400aa020
UD
17352012-01-16 Ulrich Drepper <drepper@gmail.com>
1736
d77e7869
UD
1737 * malloc/malloc.c: Various cleanups.
1738 * malloc/hooks.c: Likewise.
1739
400aa020
UD
1740 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1741 * stdlib/bug-fmtmsg1.c: New file.
1742
1743 * stdlib/fmtmsg.c (init): Add missing unlock.
1744 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1745
e0a309cf
MP
17462012-01-12 Marek Polacek <polacek@redhat.com>
1747
1748 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1749 and _GNU_SOURCE.
1750
929d11c7
WS
17512012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1752
1753 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1754 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1755 macro to ensure uniqueness of label name.
1756 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1757 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1758
41d0e869
UD
17592012-01-11 Ulrich Drepper <drepper@gmail.com>
1760
0cc5ed3b
UD
1761 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1762
41d0e869
UD
1763 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1764 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1765 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1767
a47a831a
UD
17682012-01-10 Ulrich Drepper <drepper@gmail.com>
1769
daa891c0
UD
1770 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1771
1772 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1773 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1774 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1775
e58ef0f2
UD
1776 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1777
a47a831a 1778 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1779 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1780 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1781 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1782
1783 * math/bits/math-finite.h: Add ldexp support.
1784
a0bfc9c7
MP
17852012-01-10 Marek Polacek <polacek@redhat.com>
1786
1787 * locale/programs/localedef.h (show_archive_content): Add noreturn
1788 attribute.
1789
d6e97a1d
UD
17902012-01-09 Ulrich Drepper <drepper@gmail.com>
1791
1792 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1793
d5835c26
UD
17942012-01-08 Ulrich Drepper <drepper@gmail.com>
1795
e5f484c6
UD
1796 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1797
d5835c26
UD
1798 * io/Makefile (headers): Add bits/poll2.h.
1799
d1f741e9
WS
18002011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1801
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1803 typo #include statement.
1804
ec09c1c4
UD
18052012-01-08 Ulrich Drepper <drepper@gmail.com>
1806
1807 * include/sys/cdefs.h: Define __attribute_alloc_size.
1808 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1809 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1810 * elf/pldd.c: Likewise.
1811 * iconv/iconv_charmap.c: Likewise.
1812 * iconv/iconvconfig.c: Likewise.
1813 * iconv/strtab.c: Likewise.
1814 * locale/programs/locale.c: Likewise.
1815 * locale/programs/localedef.h: Likewise.
1816 * locale/programs/simple-hash.c: Likewise.
1817 * nscd/nscd.h: Likewise.
1818 * nss/makedb.c: Likewise.
1819 * sysdeps/generic/ldconfig.h: Likewise.
1820 * locale/programs/localedef.c: Remove xmalloc prototype.
1821 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1822
20b38e03
PP
18232012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1824
1825 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1826 appropriate.
1827
a0da5fe1
UD
18282012-01-08 Ulrich Drepper <drepper@gmail.com>
1829
1d5a644a 1830 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1831 * math/tst-CMPLX.c: New file.
1d5a644a 1832
8784a6db
UD
1833 * math/complex.h (CMPLXL): Fix typo.
1834
d9a216c0
UD
1835 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1836 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1837 GLIBC_2.16.
1838 * debug/tst-chk1.c: Add poll and ppoll tests.
1839 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1840 * include/sys/poll.h: Add hidden proto for ppoll.
1841 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1842 * sysdeps/mach/hurd/ppoll.c: Likewise.
1843 * io/ppoll.c: Likewise.
1844 * debug/poll_chk.c: New file.
1845 * debug/ppoll_chk.c: New file.
1846 * include/bits/poll2.h: New file.
1847 * io/bits/poll2.h: New file.
1848
ac097f5c
UD
1849 [BZ #1350]
1850 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1851
2119dcfa
UD
1852 * configure.in: static is always set to yes. Remove.
1853 * config.make.in: Don't set build-static.
1854 * Makeconfig: Remove use of build-static.
1855 * dlfcn/Makefile: Likewise.
1856 * elf/Makefile: Likewise.
1857 * math/Makefile: Likewise.
1858 * misc/Makefile: Likewise.
1859 * nptl/Makefile: Likewise.
1860 * sysdeps/mach/hurd/Makefile: Likewise.
1861
121766a9
UD
1862 * configure.in: PWD_P is not used anymore.
1863 * config.make.in: Remove PWD_P entry.
1864
51a1d39c 1865 * configure.in: Remove last remnants of RANLIB.
8720d066 1866 No need to check for signed size_t anymore.
215f4bdc
UD
1867 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1868 and IA-64.
3857022a 1869 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1870 * aclocal.m4: Likewise.
1871
d3ed7225
UD
1872 * wcsmbs/mbrtoc16.c: Implement using towc function.
1873 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1874 * wcsmbs/wcsmbsload.c: Likewise.
1875 * iconv/gconv_simple.c: Likewise.
1876 * iconv/gconv_int.h: Likewise.
1877 * iconv/gconv_builtin.h: Likewise.
1878 * iconv/iconv_prog.c: Remove CHAR16 handling.
1879
1880 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1881
1882 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1883
a0da5fe1
UD
1884 * configure.in: Remove --with-elf and --enable-bounded options.
1885 Dont set base_machine for ia64. More non-ELF conditions removed.
1886 Remove testing and setting of leading underscore information.
1887 * config.make.in (build-bounded): Set to no.
1888 * config.h.in: Remove NO_UNDERSCORES entry.
1889 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1890 them.
1891 * csu/start.c: Remove !NO_UNDERSCORE code.
1892 * locale/localeinfo.h: Likewise.
1893 * sysdeps/generic/machine-gmon.h: Likewise.
1894 * sysdeps/generic/sysdep.h: Likewise.
1895 * sysdeps/i386/sysdep.h: Likewise.
1896 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1897 * sysdeps/mach/sysdep.h: Likewise.
1898 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1899 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1900 * sysdeps/sh/sysdep.h: Likewise.
1901 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1902 * sysdeps/unix/i386/sysdep.S: Likewise.
1903 * sysdeps/unix/sparc/start.c: Likewise.
1904 * sysdeps/unix/sparc/sysdep.S: Likewise.
1905 * sysdeps/unix/sparc/sysdep.h: Likewise.
1906 * sysdeps/unix/start.c: Likewise.
1907 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1908 * sysdeps/x86_64/sysdep.h: Likewise.
1909
df78418a
UD
19102012-01-07 Ulrich Drepper <drepper@gmail.com>
1911
a784e502
UD
1912 [BZ #13553]
1913 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1914 for non-gcc.
1915 * argp/argp-fmtstream.h: Use const instead __const.
1916 * argp/argp.h: Likewise.
1917 * assert/assert.h: Likewise.
1918 * bits/fenv.h: Likewise.
1919 * bits/sched.h: Likewise.
1920 * bits/sigset.h: Likewise.
1921 * bits/sigthread.h: Likewise.
1922 * catgets/nl_types.h: Likewise.
1923 * conform/data/pthread.h-data: Likewise.
1924 * crypt/crypt-private.h: Likewise.
1925 * crypt/crypt.h: Likewise.
1926 * crypt/crypt_util.c: Likewise.
1927 * ctype/ctype.h: Likewise.
1928 * debug/execinfo.h: Likewise.
1929 * debug/mbsnrtowcs_chk.c: Likewise.
1930 * debug/mbsrtowcs_chk.c: Likewise.
1931 * debug/wcsnrtombs_chk.c: Likewise.
1932 * debug/wcsrtombs_chk.c: Likewise.
1933 * debug/wcstombs_chk.c: Likewise.
1934 * dirent/dirent.h: Likewise.
1935 * dlfcn/dlfcn.h: Likewise.
1936 * elf/neededtest4.c: Likewise.
1937 * grp/grp.h: Likewise.
1938 * gshadow/gshadow.h: Likewise.
1939 * iconv/gconv.h: Likewise.
1940 * iconv/gconv_int.h: Likewise.
1941 * iconv/gconv_simple.c: Likewise.
1942 * iconv/iconv.h: Likewise.
1943 * iconv/loop.c: Likewise.
1944 * iconv/skeleton.c: Likewise.
1945 * include/aio.h: Likewise.
1946 * include/aliases.h: Likewise.
1947 * include/argz.h: Likewise.
1948 * include/arpa/inet.h: Likewise.
1949 * include/assert.h: Likewise.
1950 * include/dirent.h: Likewise.
1951 * include/dlfcn.h: Likewise.
1952 * include/execinfo.h: Likewise.
1953 * include/fcntl.h: Likewise.
1954 * include/fenv.h: Likewise.
1955 * include/glob.h: Likewise.
1956 * include/grp.h: Likewise.
1957 * include/libintl.h: Likewise.
1958 * include/mntent.h: Likewise.
1959 * include/netdb.h: Likewise.
1960 * include/pwd.h: Likewise.
1961 * include/rpc/netdb.h: Likewise.
1962 * include/sched.h: Likewise.
1963 * include/search.h: Likewise.
1964 * include/shadow.h: Likewise.
1965 * include/signal.h: Likewise.
1966 * include/stdio.h: Likewise.
1967 * include/stdlib.h: Likewise.
1968 * include/string.h: Likewise.
1969 * include/sys/socket.h: Likewise.
1970 * include/sys/stat.h: Likewise.
1971 * include/sys/statfs.h: Likewise.
1972 * include/sys/statvfs.h: Likewise.
1973 * include/sys/syslog.h: Likewise.
1974 * include/sys/time.h: Likewise.
1975 * include/sys/uio.h: Likewise.
1976 * include/time.h: Likewise.
1977 * include/unistd.h: Likewise.
1978 * include/utmp.h: Likewise.
1979 * include/wchar.h: Likewise.
1980 * include/wctype.h: Likewise.
1981 * inet/aliases.h: Likewise.
1982 * inet/arpa/inet.h: Likewise.
1983 * inet/netinet/ether.h: Likewise.
1984 * inet/netinet/in.h: Likewise.
1985 * intl/libintl.h: Likewise.
1986 * io/bits/fcntl2.h: Likewise.
1987 * io/fcntl.h: Likewise.
1988 * io/ftw.h: Likewise.
1989 * io/sys/poll.h: Likewise.
1990 * io/sys/stat.h: Likewise.
1991 * io/sys/statfs.h: Likewise.
1992 * io/sys/statvfs.h: Likewise.
1993 * io/utime.h: Likewise.
1994 * libio/bits/stdio.h: Likewise.
1995 * libio/bits/stdio2.h: Likewise.
1996 * libio/libio.h: Likewise.
1997 * libio/libioP.h: Likewise.
1998 * libio/stdio.h: Likewise.
1999 * locale/lc-ctype.c: Likewise.
2000 * locale/locale.h: Likewise.
2001 * login/utmp.h: Likewise.
2002 * malloc/arena.c: Likewise.
2003 * malloc/malloc.c: Likewise.
2004 * malloc/malloc.h: Likewise.
2005 * malloc/mcheck.c: Likewise.
2006 * malloc/mtrace.c: Likewise.
2007 * math/bits/mathcalls.h: Likewise.
2008 * math/fenv.h: Likewise.
2009 * math/math_private.h: Likewise.
2010 * misc/bits/error.h: Likewise.
2011 * misc/bits/syslog.h: Likewise.
2012 * misc/err.h: Likewise.
2013 * misc/error.h: Likewise.
2014 * misc/fstab.h: Likewise.
2015 * misc/mntent.h: Likewise.
2016 * misc/regexp.h: Likewise.
2017 * misc/search.h: Likewise.
2018 * misc/sgtty.h: Likewise.
2019 * misc/sys/mman.h: Likewise.
2020 * misc/sys/syslog.h: Likewise.
2021 * misc/sys/uio.h: Likewise.
2022 * misc/sys/xattr.h: Likewise.
2023 * misc/ttyent.h: Likewise.
2024 * nis/rpcsvc/ypclnt.h: Likewise.
2025 * nss/nss.h: Likewise.
2026 * posix/bits/unistd.h: Likewise.
2027 * posix/fnmatch.h: Likewise.
2028 * posix/glob.h: Likewise.
2029 * posix/sched.h: Likewise.
2030 * posix/spawn.h: Likewise.
2031 * posix/sys/wait.h: Likewise.
2032 * posix/unistd.h: Likewise.
2033 * posix/wordexp.h: Likewise.
2034 * pwd/pwd.h: Likewise.
2035 * resolv/netdb.h: Likewise.
2036 * resource/sys/resource.h: Likewise.
2037 * rt/aio.h: Likewise.
2038 * rt/bits/mqueue2.h: Likewise.
2039 * rt/mqueue.h: Likewise.
2040 * shadow/shadow.h: Likewise.
2041 * signal/signal.h: Likewise.
2042 * socket/send.c: Likewise.
2043 * socket/sendto.c: Likewise.
2044 * socket/sys/socket.h: Likewise.
2045 * stdio-common/printf.h: Likewise.
2046 * stdlib/bits/stdlib.h: Likewise.
2047 * stdlib/fmtmsg.h: Likewise.
2048 * stdlib/monetary.h: Likewise.
2049 * stdlib/stdlib.h: Likewise.
2050 * stdlib/ucontext.h: Likewise.
2051 * streams/stropts.h: Likewise.
2052 * string/argz.h: Likewise.
2053 * string/bits/string2.h: Likewise.
2054 * string/string.h: Likewise.
2055 * string/strings.h: Likewise.
2056 * sunrpc/rpc/auth.h: Likewise.
2057 * sunrpc/rpc/auth_des.h: Likewise.
2058 * sunrpc/rpc/clnt.h: Likewise.
2059 * sunrpc/rpc/netdb.h: Likewise.
2060 * sunrpc/rpc/pmap_clnt.h: Likewise.
2061 * sunrpc/rpc/xdr.h: Likewise.
2062 * sysdeps/generic/inttypes.h: Likewise.
2063 * sysdeps/generic/net/if.h: Likewise.
2064 * sysdeps/generic/sys/swap.h: Likewise.
2065 * sysdeps/gnu/net/if.h: Likewise.
2066 * sysdeps/gnu/utmpx.h: Likewise.
2067 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2068 * sysdeps/i386/i486/bits/string.h: Likewise.
2069 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2070 * sysdeps/s390/bits/string.h: Likewise.
2071 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2072 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2073 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2074 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2075 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2076 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2077 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2078 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2079 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2080 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2081 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2082 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2083 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2084 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2085 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2086 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2087 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2088 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2092 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2093 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2094 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2095 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2096 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2097 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2098 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2099 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2100 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2101 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2102 * sysvipc/sys/ipc.h: Likewise.
2103 * sysvipc/sys/msg.h: Likewise.
2104 * sysvipc/sys/sem.h: Likewise.
2105 * sysvipc/sys/shm.h: Likewise.
2106 * termios/termios.h: Likewise.
2107 * time/sys/time.h: Likewise.
2108 * time/time.h: Likewise.
2109 * wcsmbs/bits/wchar2.h: Likewise.
2110 * wcsmbs/uchar.h: Likewise.
2111 * wcsmbs/wchar.h: Likewise.
2112 * wctype/wctype.h: Likewise.
2113
0269750c
UD
2114 [BZ #13551]
2115 * Makeconfig: Remove all but ELF support including AIX support.
2116 * Makerules: Likewise.
2117 * config.h.in: Likewise.
2118 * config.make.in: Likewise.
2119 * configure: Likewise.
2120 * configure.in: Likewise.
2121 * csu/Makefile: Likewise.
2122 * csu/version.c: Likewise.
2123 * debug/Makefile: Likewise.
2124 * dlfcn/Makefile: Likewise.
2125 * elf/Makefile: Likewise.
2126 * extra-lib.mk: Likewise.
2127 * iconv/Makefile: Likewise.
2128 * include/libc-symbols.h: Likewise.
2129 * include/shlib-compat.h: Likewise.
2130 * resolv/Makefile: Likewise.
2131 * resolv/res_libc.c: Likewise.
2132 * rt/Makefile: Likewise.
2133 * sysdeps/i386/asm-syntax.h: Likewise.
2134 * sysdeps/i386/sysdep.h: Likewise.
2135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2136 * sysdeps/mach/sysdep.h: Likewise.
2137 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2138 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2139 * sysdeps/s390/asm-syntax.h: Likewise.
2140 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2142 * sysdeps/sh/sysdep.h: Likewise.
2143 * sysdeps/unix/sparc/sysdep.h: Likewise.
2144 * sysdeps/wordsize-32/divdi3.c: Likewise.
2145 * sysdeps/x86_64/sysdep.h: Likewise.
2146
00bbd29b
UD
2147 * argp/Versions: Remove _argp_unlock_xxx.
2148
2149 [BZ #13559]
2150 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2151 * abilist/libBrokenLocale.abilist: Likewise.
2152 * abilist/libanl.abilist: Likewise.
2153 * abilist/libc.abilist: Likewise.
2154 * abilist/libcrypt.abilist: Likewise.
2155 * abilist/libdl.abilist: Likewise.
2156 * abilist/libm.abilist: Likewise.
2157 * abilist/libnsl.abilist: Likewise.
2158 * abilist/libpthread.abilist: Likewise.
2159 * abilist/libresolv.abilist: Likewise.
2160 * abilist/librt.abilist: Likewise.
2161 * abilist/libthread_db.abilist: Likewise.
2162 * abilist/libutil.abilist: Likewise.
2163 * abilist/libnss_db.abilist: New file.
2164
2165 * scripts/abilist.awk: Add support for indirect functions.
2166
a2693a0e
UD
2167 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2168
3f05895f
UD
2169 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2170
ecb6fb48
UD
2171 * shlib-versions: Remove entries for ports architectures.
2172
664f8cb9
UD
2173 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2174 files in ports.
2175 * elf/stackguard-macros.h: Remove support for IA-64.
2176 * elf/tst-auditmod1.c: Likewise.
2177 * sysdeps/generic/ldsodefs.h: Likewise.
2178
7ae81d88
UD
2179 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2180 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2181 configure files.
2182
bdeba135
UD
2183 [BZ #13552]
2184 * configure.in: Remove --enable-omitfp support.
2185 * FAQ.in: Adjust.
2186 * config.make.in: Likewise.
2187 * Makeconfig: Likewise.
2188 * manual/install.texi: Likewise.
2189
d75a0a62
UD
2190 In case anyone cares, the IA-64 architecture could move to ports.
2191 * sysdeps/ia64/*: Removed.
2192 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2193 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2194
dcc9756b
UD
2195 [BZ #13555]
2196 * configure.in: Remove entries for unsupported architectures.
2197
d3761ebc 2198 [BZ #13533]
9954432e
UD
2199 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2200 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2201 routines.
2202 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2203 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2204 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2205 fall back to using wcrtomb.
2206 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2207 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2208 renaming.
2209 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2210 * wcsmbs/tst-c16c32-1.c: New file.
2211
2212 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2213 local variable.
2214
c3a87236
UD
2215 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2216
28926a1b
UD
2217 * elf/tst-unique3.cc: Add explicit declaration of gets.
2218 * elf/tst-unique3lib.cc: Likewise.
2219 * elf/tst-unique3lib2.cc: Likewise.
2220 * elf/tst-unique4.cc: Likewise.
2221
df78418a
UD
2222 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2223
8ecd6b2a
JM
22242012-01-06 Joseph Myers <joseph@codesourcery.com>
2225
2226 [BZ #13566]
2227 * assert/assert.h (static_assert): Don't define for C++.
2228 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2229 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2230
9f115170
UD
22312012-01-03 Ulrich Drepper <drepper@gmail.com>
2232
5e0d0300
UD
2233 * iconv/loop.c (single loop): Fix assertion in storing of
2234 remaining bytes.
2235
9f115170
UD
2236 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2237
81fb02b0
UD
22382012-01-01 Ulrich Drepper <drepper@gmail.com>
2239
2240 * posix/getconf.c: Update copyright year.
2241 * nss/getent.c: Likewise.
a316c1f6 2242 * nss/makedb.c: Likewise.
81fb02b0
UD
2243 * iconv/iconvconfig.c: Likewise.
2244 * iconv/iconv_prog.c: Likewise.
2245 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2246 * elf/pldd.c: Likewise.
2247 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2248 * catgets/gencat.c: Likewise.
2249 * csu/version.c: Likewise.
2250 * elf/ldd.bash.in: Likewise.
2251 * elf/sprof.c (print_version): Likewise.
2252 * locale/programs/locale.c: Likewise.
2253 * locale/programs/localedef.c: Likewise.
a316c1f6 2254 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2255 * nscd/nscd.c (print_version): Likewise.
2256 * debug/xtrace.sh: Likewise.
2257 * malloc/memusage.sh: Likewise.
2258 * malloc/mtrace.pl: Likewise.
2259 * debug/catchsegv.sh: Likewise.
2260
2ba92745
JJ
22612011-12-30 Jakub Jelinek <jakub@redhat.com>
2262
2263 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2264 pure attribute.
2265
dadebdae
UD
22662011-12-24 Ulrich Drepper <drepper@gmail.com>
2267
d3761ebc 2268 [BZ #13533]
db6af3eb
UD
2269 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2270 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2271 transformations.
2272 * iconv/gconv_int.h: Likewise.
2273 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2274 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2275 from libc for GLIBC_2.16.
2276 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2277 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2278 * wcsmbs/uchar.h: Really define mbstate_t.
2279 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2280 * wcsmbs/c16rtomb.c: New file.
2281 * wcsmbs/mbrtoc16.c: New file.
2282 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2283 for C/POSIX locale.
2284 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2285 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2286
dadebdae
UD
2287 * wcsmbs/wchar.h: Add missing __restrict.
2288
67371b56
UD
22892011-12-23 Ulrich Drepper <drepper@gmail.com>
2290
74033a25
UD
2291 [BZ #13532]
2292 * time/Makefile (routines): Add timespec_get.
2293 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2294 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2295 timespec for ISO C11.
2296 * time/timespec_get.c: New file.
2297 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2298 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2299
380d7e87
UD
2300 [BZ #13531]
2301 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2302 * stdlib/stdlib.h: Declare aligned_alloc.
2303 * Versions.def: Add GLIBC_2.16 for libc.
2304 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2305
4e9e7a35
UD
2306 [BZ 13527]
2307 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2308 ISO C11.
2309
380d7e87 2310 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2311 code.
2312
03a71829
UD
2313 [BZ #13528]
2314 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2315
839e283e
UD
2316 [BZ #13529]
2317 * assert/assert.h (static_assert): Define.
2318
ce5294e2 2319 * version.h: Update for 2.16 development version.
90fa7312 2320
8d44e150 2321 [BZ #13526]
d7809905
UD
2322 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2323 _ISOC11_SOURCE.
2324
c0da14cd
UD
2325 * version.h (RELEASE): Bump for 2.15 release.
2326 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2327
530a3249
MP
2328 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2329 Patch by Marek Polacek <mpolacek@redhat.com>.
2330
67371b56
UD
2331 * bits/byteswap.h: Protect long long constants with __extension__.
2332 * sysdeps/i386/bits/byteswap.h: Likewise.
2333 * sysdeps/ia64/bits/byteswap.h: Likewise.
2334 * sysdeps/s390/bits/byteswap.h: Likewise.
2335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2336
15db4de1
LD
23372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2338
2339 [BZ #13540]
bbe315ea
LD
2340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2341 destination buffer.
15db4de1
LD
2342 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2343
2b2596b1
MP
23442011-12-23 Marek Polacek <polacek@redhat.com>
2345
2346 * elf/dl-addr.c (determine_info): Add inline keyword.
2347 * elf/tst-auditmod4b.c (check_avx): Likewise.
2348 * elf/tst-auditmod6b.c (check_avx): Likewise.
2349 * elf/tst-auditmod6c.c (check_avx): Likewise.
2350 * elf/tst-auditmod7b.c (check_avx): Likewise.
2351
70c6c246
UD
23522011-12-23 Ulrich Drepper <drepper@gmail.com>
2353
2354 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2355 !__SSE_MATH__.
2356
c044cf14
LD
23572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2358
15db4de1 2359 [BZ #13540]
c044cf14
LD
2360 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2361 processing for last bytes.
2362
6b13d9d9
BH
23632011-08-06 Bruno Haible <bruno@clisp.org>
2364
d455f537
BH
2365 [BZ #13061]
2366 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2367 U+0385, not to U+1FEE.
2368
6b13d9d9
BH
2369 [BZ #13062]
2370 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2371 entry for U+00A5 U+0301.
2372
db910efd
UD
23732011-12-22 Ulrich Drepper <drepper@gmail.com>
2374
27deeafc
UD
2375 [BZ #13166]
2376 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2377 buffer for the output is too small.
2378
aed9d171
UD
2379 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2380 optimization.
2381
db910efd
UD
2382 [BZ #13185]
2383 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2384 SSE flags if possible.
2385
2bd779ae
LD
23862011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2387
e7f9dac3 2388 [BZ #13540]
2bd779ae
LD
2389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2390 processing for last bytes.
2391
154bfc16
JM
23922011-12-22 Joseph Myers <joseph@codesourcery.com>
2393
2394 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2395 (syscall-list-default-options, syscall-list-default-condition)
2396 (syscall-list-includes): Define.
2397 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2398 list of ABIs and options and #if conditions for each ABI. Do not
2399 handle common syscalls between ABIs specially.
2400 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2401 Remove.
2402 (syscall-list-variants, syscall-list-32bit-options)
2403 (syscall-list-32bit-condition, syscall-list-64bit-options)
2404 (syscall-list-64bit-condition): Define.
2405 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2406 (syscall-list-variants, syscall-list-32bit-options)
2407 (syscall-list-32bit-condition, syscall-list-64bit-options)
2408 (syscall-list-64bit-condition): Define.
2409 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2410 Remove.
2411 (syscall-list-variants, syscall-list-32bit-options)
2412 (syscall-list-32bit-condition, syscall-list-64bit-options)
2413 (syscall-list-64bit-condition): Define.
2414 * sysdeps/unix/sysv/linux/x86_64/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
21eaf3a5
UD
24202011-12-22 Ulrich Drepper <drepper@gmail.com>
2421
16c6f992
UD
2422 * locale/iso-639.def: Add brx entry.
2423
41043168
UD
2424 [BZ #13328]
2425 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2426 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2427
21eaf3a5
UD
2428 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2429 __feraiseexcept_renamed.
2430
e3a851a2
UD
24312011-12-21 Ulrich Drepper <drepper@gmail.com>
2432
4920765e
UD
2433 [BZ #13538]
2434 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2435 EPOLLET with unsigned values.
2436 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2438
e3a851a2
UD
2439 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2440 to large cancellation.
2441 * math/s_cacoshf.c: Likewise.
2442 * math/s_cacoshl.c: Likewise.
2443
b27e24b8
RK
24442011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2445
2446 [BZ #13305]
aebefeee 2447 [BZ #12786]
b27e24b8
RK
2448 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2449 * math/s_cacoshf.c: Likewise.
2450 * math/s_cacoshl.c: Likewise.
2451
ee190f67
UD
24522011-12-21 Ulrich Drepper <drepper@gmail.com>
2453
2454 [BZ #13439]
2455 * iconv/gconv.h: Define __GCONV_SWAP.
2456 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2457 * iconvdata/utf-16.c: Likewise.
2458 * iconvdata/utf-32.c: Likewise.
2459
707f25df
AS
24602011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2461
2462 [BZ #13524]
2463 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2464 numerator after shifting it by one limb.
2465
d2daaa1e
RÁE
24662011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2467
2468 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2469 under [__USE_EXTERN_INLINES].
2470
a4647e72
UD
24712011-12-17 Ulrich Drepper <drepper@gmail.com>
2472
2473 [BZ #13446]
2474 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2475
f0b264f1
AZ
24762011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477
2478 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2479 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2480 optimized code.
2481 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2482 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2483 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2484 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2485 for strncasecmp/strncasecmp_l compilation.
2486 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2487 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2488
8ef4f244
MP
24892011-12-08 Marek Polacek <mpolacek@redhat.com>
2490
2491 [BZ #13484]
2492 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2493 of __asm__.
2494
97ac2654
UD
24952011-12-17 Ulrich Drepper <drepper@gmail.com>
2496
2497 [BZ #13506]
2498 * time/tzfile.c (__tzfile_read): Check values from file header.
2499
91d2a845
WS
25002011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2501
2502 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2503 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2504 * powerpc/powerpc32/dl-start.S: Likewise.
2505 * powerpc/powerpc32/elf/start.S: Likewise.
2506 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2507 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2508 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2509 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2510 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2511 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2512 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2513 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2514 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2515 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2516 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2517 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2518 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2519 * powerpc/powerpc32/memset.S: Likewise.
2520 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2521 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2522 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2523 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2524 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2525 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2526 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2527 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2528 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2529 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2530 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2531 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2532 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2533
a1267ba1
AZ
25342011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535
2536 * math/libm-test.inc: Added more nearbyint tests.
2537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2541
ad8ac1bd
RL
25422011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2543
2544 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2545 FD_CLOEXEC.
2546
1d3e4b61
UD
25472011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2548
2549 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2550 Add wcscpy-ssse3 wcscpy-c.
2551 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2552 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2553 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2554 * sysdeps/x86_64/wcschr.S: New file.
2555 * sysdeps/x86_64/wcsrchr.S: New file.
2556 * string/test-strcmp.c: Remove checking of wcscmp function for
2557 wrong alignments.
2558 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2559 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2560 wcsrchr-sse2 wcsrchr-c.
2561 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2562 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2563 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2564 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2565 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2566 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2567 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2568 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2569 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2570 * wcsmbc/wcschr.c (WCSCHR): New macro.
2571
5b330a2d
UD
25722011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2573
2574 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2575 * wcsmbs/test-wcsrchr.c: New file.
2576 * string/test-strrchr.c: Add wcsrchr support.
2577 (WIDE): New macro.
2578 * wcsmbs/test-wcscpy.c: New file.
2579 * string/test-strcpy.c: Add wcscpy support.
2580 (WIDE): New macro.
26428b7c 2581
f039c043
UD
25822011-12-10 Ulrich Drepper <drepper@gmail.com>
2583
2584 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2585 the inner loop.
2586
850fb039
AS
25872011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2588
2589 [BZ #13472]
2590 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2591
4efbd5cb
UD
25922011-12-04 Ulrich Drepper <drepper@gmail.com>
2593
52ff5dd0 2594 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2595 Minor optimizations.
52ff5dd0 2596
4efbd5cb
UD
2597 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2598 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2599 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2600
8a426e12
UD
26012011-12-03 Ulrich Drepper <drepper@gmail.com>
2602
aff2453d
UD
2603 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2604 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2605 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2606 for gcc to avoid warnings.
2607 * inet/Makefile (tests): Add tst-checks.
2608 * inet/tst-checks.c: New file.
2609
2610 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2611 warning.
2612
2613 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2614 __wmemcmp_sse2.
2615
2616 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2617 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2618
8a426e12
UD
2619 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2620
9bea3473
UD
26212011-12-02 Ulrich Drepper <drepper@gmail.com>
2622
3a965496
UD
2623 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2624 problem.
2625
9bea3473
UD
2626 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2627
f101631b
UD
26282011-11-29 Joseph Myers <joseph@codesourcery.com>
2629
2630 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2631 conditional on GCC version.
2632 (__arch_compare_and_exchange_val_8_acq)
2633 (__arch_compare_and_exchange_val_16_acq)
2634 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2635 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2636 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2637
a98275aa
UD
26382011-12-02 Joseph Myers <joseph@codesourcery.com>
2639
2640 * sysdeps/sh/backtrace.c: New file.
2641
d4cc29a2
AS
26422011-12-02 Andreas Schwab <schwab@redhat.com>
2643
2644 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2645 parenthesis.
2646
6257af2d
AS
26472011-12-01 Andreas Schwab <schwab@redhat.com>
2648
2649 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2650 falling back to utime.
2651
b5f44c1a
AS
26522011-11-30 Andreas Schwab <schwab@redhat.com>
2653
2654 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2655 expectations for float.
2656
f3a6cc0a
AS
26572011-11-29 Andreas Schwab <schwab@redhat.com>
2658
2659 * locale/weight.h (findidx): Add parameter len.
2660 * locale/weightwc.h (findidx): Likewise.
2661 * posix/fnmatch_loop.c (FCT): Adjust caller.
2662 * posix/regcomp.c (build_equiv_class): Likewise.
2663 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2664 * posix/regexec.c (check_node_accept_bytes): Likewise.
2665 * string/strcoll_l.c (STRCOLL): Likewise.
2666 * string/strxfrm_l.c (STRXFRM): Likewise.
2667
9d65ea3a
UD
26682011-11-17 Ulrich Drepper <drepper@gmail.com>
2669
2670 * Makefile.in: Remove CVSOPT handling.
2671 * configure.in: Remove use of AC_REVISION.
2672 * iconvdata/Makefile (distribute): No need to filter out CVS.
2673 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2674 handling.
2675
5583a086
AS
26762011-11-16 Andreas Schwab <schwab@redhat.com>
2677
2678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2679 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2680 [USE_AS_STRNCASECMP_L]: Likewise.
2681 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2682 NO_TLS_DIRECT_SEG_REFS.
2683 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2684 Fix argument offsets for non-PIC.
2685 [USE_AS_STRNCASECMP_L]: Likewise.
2686 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2687 NO_TLS_DIRECT_SEG_REFS.
2688
d62a8200
UD
26892011-11-15 Ulrich Drepper <drepper@gmail.com>
2690
9d65ea3a 2691 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2692 O_CLOEXEC.
2693 * locale/loadlocale.c (_nl_load_locale): Likewise.
2694
09f93bd3
AS
26952011-11-15 Andreas Schwab <schwab@redhat.com>
2696
446514f9
AS
2697 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2698 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2700 (SYSCALL_GETTIME): Set errno on error.
2701
09f93bd3
AS
2702 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2703 count references to noai6ai_cached.
2704
312be3f9
UD
27052011-11-15 Ulrich Drepper <drepper@gmail.com>
2706
2707 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2708
2709 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2710 FD_CLOEXEC for /proc/self/maps.
2711
2712 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2713 FD_CLOEXEC for /proc/meminfo.
2714
2715 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2716 gai.conf.
2717
2718 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2719 FD_CLOEXEC for given file.
2720
2721 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2722
2723 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2724 FD_CLOEXEC for /etc/hosts.
2725 (_gethtent): Likewise.
2726
2727 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2728
2729 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2730 cancellation and set FD_CLOEXEC for /etc/netgroup.
2731
2732 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2733 reading /etc/publickey.
2734
2735 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2736 allow cancellation when reading /etc/group.
2737
2738 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2739 cancellation.
2740 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2741
2742 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2743 when using data file.
2744
2745 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2746
2747 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2748 (write_nis_obj): Use "c" and "e" in fopen.
2749
2750 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2751
2752 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2753
2754 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2755
2756 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2757
2758 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2759 locale.alias.
2760
2761 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2762
2763 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2764
2765 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2766
2767 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2768 file parsing and set FD_CLOEXEC.
2769
82af0fa8
UD
27702011-11-14 Ulrich Drepper <drepper@gmail.com>
2771
2772 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2773
a5fb313c
AS
27742011-11-14 Andreas Schwab <schwab@redhat.com>
2775
2776 * malloc/arena.c (arena_get2): Don't call reused_arena when
2777 _int_new_arena failed.
2778
6abf3465
UD
27792011-11-14 Ulrich Drepper <drepper@gmail.com>
2780
2781 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2782 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2786 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2787 to compile strcasecmp and strncasecmp.
2788 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2789 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2790
2791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2792
76e3966e
UD
27932011-11-13 Ulrich Drepper <drepper@gmail.com>
2794
2795 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2796 locale-defines.sym to gen-as-const-headers.
2797 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2798 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2800 to compile strcasecmp and strncasecmp.
2801 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2802 strcasecmp_l and strncasecmp_l.
2803 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2804 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2805 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2806 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2807 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2808 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2809 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2810 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2811 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2812 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2813 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2814
ab26144e
UD
28152011-11-12 Ulrich Drepper <drepper@gmail.com>
2816
7edb22ef
UD
2817 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2818 result of SYSDEP_GETTIME_CPU to retval.
2819 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2820 parameter list to macro. Remove trailing semicolon. Adjust users.
2821
9694fc44
UD
2822 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2823 variable.
2824
8ad89ef8
UD
2825 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2826 mantissa words.
2827 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2828
0c822ef9
UD
2829 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2830 from unused variable.
2831
874e0564
UD
2832 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2833 DWARF definitions.
2834 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2835 for assembling.
2836
3a2edc79
UD
2837 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2838 over namespaces.
2839
f3c2577f
UD
2840 * sunrpc/rpc_prot.c (rejected): Fix case value.
2841
294ce126
UD
2842 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2843 unsigned long long int to avoid warnings in shift.
2844
5e2b63c6
UD
2845 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2846 of use of trans.
2847 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2848 variable tmp.
2849
e7f4b08e
UD
2850 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2851 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2852 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2853
ab26144e
UD
2854 * nis/nis_table.c (nis_list): Use variable of correct type for
2855 result of __follow_path call.
2856
8a6d5255
AZ
28572011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2858
2859 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2860 of math functions ceil, trunc, floor, round, and sqrt, when
2861 avaliable on the platform.
2862 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2863 name clash.
2864 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2865 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2866 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2867
aaddc98c
MP
28682011-10-30 Marek Polacek <mpolacek@redhat.com>
2869
2870 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2871 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2872
95b7042b
RM
28732011-11-11 Roland McGrath <roland@hack.frob.com>
2874
2875 * include/unistd.h: Fix __readlink return type.
2876 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2877
57769839
UD
28782011-11-11 Ulrich Drepper <drepper@gmail.com>
2879
2880 * stdlib/ucontext.h: Undo last change for makecontext.
2881
edc5984d
AS
28822011-11-11 Andreas Schwab <schwab@redhat.com>
2883
98591e58
AS
2884 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2885
edc5984d
AS
2886 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2887 * setjmp/setjmp.h: Mark functions as non-leaf.
2888 * setjmp/bits/setjmp2.h: Likewise.
2889 * stdlib/ucontext.h: Likewise.
2890
77cdc054
AS
28912011-11-10 Andreas Schwab <schwab@redhat.com>
2892
2893 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2894 (reused_arena): Don't check arena limit.
2895 (arena_get2): Atomically check arena limit.
2896
fe72eebd
UD
28972011-11-08 Ulrich Drepper <drepper@gmail.com>
2898
5f078c32
UD
2899 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2900 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2901
fe72eebd
UD
2902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2903 instructions.
2904
ae1bc2fa
AS
29052011-11-07 Andreas Schwab <schwab@redhat.com>
2906
7583a88d
AS
2907 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2908 handler when locking.
2909
ae1bc2fa
AS
2910 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2911 Fix size of allocated buffer.
2912
10fb0bfa
AS
29132011-11-04 Andreas Schwab <schwab@redhat.com>
2914
998832a4
AS
2915 [BZ #10103]
2916 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2917 declarations for long double functions.
2918 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2919
10fb0bfa
AS
2920 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2921
3d7ba52b
AS
29222011-11-03 Andreas Schwab <schwab@redhat.com>
2923
a9ae54a1
AS
2924 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2925 installed.
2926
3d7ba52b
AS
2927 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2928 is disabled.
2929
bc8db248
ST
29302011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2931
2932 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2933
45b96dd6
AS
29342011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2935
647776f6
AS
2936 * include/alloca.h (stackinfo_alloca_round): Define.
2937 (extend_alloca): Use it.
2938 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2939 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2940 here.
2941
d91a8b93
AS
2942 * scripts/check-local-headers.sh: Ignore libaudit.h.
2943
45b96dd6
AS
2944 * nscd/Makefile (extra-objs): Make recursively expanded.
2945
432d41ce
UD
29462011-11-01 Ulrich Drepper <drepper@gmail.com>
2947
34372fc6
UD
2948 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2950
fadb59f8
UD
2951 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2952 * posix/tst-rfc3484-2.c: Likewise.
2953 * posix/tst-rfc3484-3.c: Likewise.
2954
78239589
UD
2955 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2956 process_vm_writev.
2957 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2958 process_vm_writev.
2959 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2960 process_vm_writev from libc using GLIBC_2.15 version.
2961
432d41ce
UD
2962 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2963
02f9c6cf
PP
29642011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2965
2966 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2967 stack usage.
2968
3a2c0242
UD
29692011-10-31 Ulrich Drepper <drepper@gmail.com>
2970
f4ec4833
UD
2971 [BZ #13367]
2972 * nss/getent.c (initgroups_keys): Show error message in case no group
2973 names are given.
2974
3a2c0242
UD
2975 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2976 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2977 __bump_nl_timestamp.
2978 * nscd/connections (nscd_init): When host database is served open
2979 netlink socket and request notification about configuration changes.
2980 (main_loop_poll): Track netlink file descriptor and bump timestamp
2981 in case data becomes available.
2982 (main_loop_epoll): Likewise.
2983 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2984 (database_pers_head): Add extra_data fileds.
2985 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2986 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2987 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2988 Adjust caller.
2989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2990 in6ai data, call __free_in6ai.
2991 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2992 Add -DHAVE_NETLINK.
2993 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2994 interface information. Reuse previous data if netlink timestamp
2995 is not changed.
2996 (__bump_nl_timestamp): New function.
2997 (__free_in6ai): New function.
2998
636064eb
UD
29992011-10-30 Ulrich Drepper <drepper@gmail.com>
3000
3001 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3002 close_not_cancel_no_status here.
3003 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3004
9beb2334
UD
30052011-10-29 Ulrich Drepper <drepper@gmail.com>
3006
6ef76f3b
UD
3007 [BZ #13276]
3008 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3009 return value.
3010
0ffc4f3e 3011 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3012 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3013 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3014
cb95113e
UD
30152011-07-03 Andreas Jaeger <aj@suse.de>
3016
3017 [BZ #10709]
3018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3019 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3020 * math/libm-test.inc (sin_test): Add test case.
3021
a1b560ff
UD
30222011-10-29 Ulrich Drepper <drepper@gmail.com>
3023
c9aaface
UD
3024 [BZ #13337]
3025 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3026 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3027
d272e7f1
UD
3028 * elf/chroot_canon.c (chroot_canon): Cleanups.
3029
1bc33071
UD
3030 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3031
1760874d
TJ
3032 [BZ #13335]
3033 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3034 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3035
51d91b18
UD
3036 * string/test-strchr.c: Make usable for strchrnul testing.
3037 * string/test-strchrnul.c: New file.
3038 * string/Makefile (strop-tests): Add strchrnul.
3039
a1b560ff 3040 * po/it.po: Update from translation team.
b611fb81 3041 * po/es.po: Likewise.
a1b560ff 3042
a5b81e1f
UD
30432011-10-28 Ulrich Drepper <drepper@gmail.com>
3044
fd52bc6d
UD
3045 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3046 the three constants needed as parameters. Drop the others.
3047 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3048 __m128i_strloadu_tolower.
52e4b9eb
UD
3049 Create and initialize variable zero and use it in all the places
3050 where _mm_setzero_si128 was used.
fd52bc6d 3051
a5b81e1f
UD
3052 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3053 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3054 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3055 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3056 anymore.
3057 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3058 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3059 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3060 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3061 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3062 __mpranred, __mptan.
3063 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3064 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3065 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3066 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3067 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3068 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3069 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3070 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3071 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3072
b4343346
AS
30732011-10-28 Andreas Schwab <schwab@redhat.com>
3074
0c92d8a8
AS
3075 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3076 redefine if SHARED.
3077 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3078
b4343346
AS
3079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3080 wide char related routines to wcsmbs subdir.
3081
3871f58f
AS
30822011-10-27 Andreas Schwab <schwab@redhat.com>
3083
3084 [BZ #13344]
3085 * misc/sys/cdefs.h (__THROWNL): Define.
3086 * posix/unistd.h: Use __THREADNL instead of __THREAD
3087 for memory synchronization functions.
3088
94d44d9f
RM
30892011-10-26 Roland McGrath <roland@hack.frob.com>
3090
21b64b15 3091 [BZ #13349]
94d44d9f
RM
3092 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3093 doesn't exist.
3094 * manual/stdio.texi (Obstack Streams): Node removed.
3095
f6ce9294
AS
30962011-10-26 Andreas Schwab <schwab@redhat.com>
3097
80479147
AS
3098 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3099 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3100 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3101
f6ce9294
AS
3102 * math/math_private.h (math_force_eval): Allow non-addressable
3103 arguments.
3104 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3105
618280a1
UD
31062011-10-25 Ulrich Drepper <drepper@gmail.com>
3107
e0016b11
UD
3108 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3109 file is not needed.
3110
3111 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3113 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3114 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3115 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3116 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3117 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3118 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3119 Add AVX variants.
3120 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3121 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3122 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3123 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3124 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3125 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3126 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3127 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3128 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3129 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3130 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3131 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3132 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3133 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3134 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3135 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3136 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3137 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3138 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3139
3140 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3141 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3142
618280a1
UD
3143 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3144 place. Use VEX encoding when compiling for AVX.
3145
37822576
AS
31462011-10-25 Andreas Schwab <schwab@redhat.com>
3147
1f1e1947
AS
3148 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3149 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3150
37822576
AS
3151 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3152
31ea014d
UD
31532011-10-25 Ulrich Drepper <drepper@gmail.com>
3154
d7826aa1 3155 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3156 useless if() expression.
d7826aa1
UD
3157 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3158 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3159 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3161 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3162 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3163 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3164 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3165 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3167 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3168 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3169 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3170 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3171 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3172 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3173 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3175 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3176
31ea014d
UD
3177 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3178
16437fec
AS
31792011-10-25 Andreas Schwab <schwab@redhat.com>
3180
3181 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3182 condition.
3183 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3184
31d3cc00
UD
31852011-10-25 Ulrich Drepper <drepper@gmail.com>
3186
3187 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3188 .text section. Avoid duplicate constants.
3189 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3191 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3197 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3198 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3199 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3201 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3204 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3206 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3211 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3212 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3213 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3214 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3215 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3216 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3218 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3219 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3220 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3221 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3222 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3223 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3224 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3225 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3227 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3228 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3229 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3230 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3231 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3232 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3233 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3234
58985aa9
UD
32352011-10-24 Ulrich Drepper <drepper@gmail.com>
3236
202c9deb
UD
3237 * sysdeps/x86_64/dla.h: Move to ...
3238 * sysdeps/x86_64/fpu/dla.h: ...here.
3239 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3240 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3241
af968f62
UD
3242 * config.make.in: Add have-mfma4 entry.
3243 * configure.in: Substitute libc_cv_cc_fma4.
3244 * math/Makefile (dbl-only-routines): Add sincostab.
3245 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3246 Use __sincostab not sincos.
3247 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3248 name is a macro.
3249 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3253 using __copysign.
3254 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3255 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3256 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3257 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3258 and __inv.
3259 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3260 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3261 __copysign.
3262 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3263 define aliases when function name is a macro.
3264 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3265 sysdeps/ieee754/dbl-64/sincos.tbl.
3266 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3267 fma4-enabled routines.
3268 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3269 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3270 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3271 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3272 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3273 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3274 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3276 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3277 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3278 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3279 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3280 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3281 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3283 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3284 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3285 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3286 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3288 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3289 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3290 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3291 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3292 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3293 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3295 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3296 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3297 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3298
58985aa9
UD
3299 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3300 rename.
3301 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3309
a201fbcf
AS
33102011-10-24 Andreas Schwab <schwab@redhat.com>
3311
3312 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3313
fc2ee42a
LD
33142011-10-23 Ulrich Drepper <drepper@gmail.com>
3315
bb3129bd
UD
3316 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3317
0275fff8
UD
3318 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3319 prediction.
3320 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3321
2fa2ae85
UD
3322 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3323 Remove unused variable magic_bits.
3324 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3325
fc2ee42a
LD
3326 * string/strnlen.c: Define and use STRNLEN macro.
3327 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3328 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3329 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3330 * wcsmbs/wcslen.c: Define and use WCSLEN.
3331 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3332 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3333 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3334 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3335 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3336 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3337 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3338
ce7dd29f
LD
33392011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3340
3341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3342 strnlen-sse2-no-bsf.
3343 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3344 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3345 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3346 Add strnlen support.
3347 (USE_AS_STRNLEN): New macro.
3348 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3349 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3350 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3351 * sysdeps/x86_64/wcslen.S: New file.
3352
979c70a3
MZ
33532011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3354
3355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3356 XMM-moves are used for copying on small sizes.
3357
2d09f82f
LD
33582011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3359
3360 * wcsmbs/Makefile (strop-tests): Add wcschr.
3361 * wcsmbs/test-wcschr.c: New file.
3362 * string/test-strchr.c: Update.
3363 Add wcschr support.
3364 (WIDE): New macro.
3365
619fccca
LD
33662011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3367
2d09f82f 3368 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3369 * wcsmbs/test-wcslen.c: New file.
3370 * string/test-strlen.c: Update.
3371 Add wcslen support.
3372 (WIDE): New macro.
3373
09f699ea
UD
33742011-10-23 Ulrich Drepper <drepper@gmail.com>
3375
3376 * po/it.po: Update from translation team.
3377
95584d3b
LD
33782011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3379
3380 * sysdeps/x86_64/wcscmp.S: Update.
3381 Fix wrong comparison semantics.
3382 wcscmp shall use signed comparison not unsigned.
3383 Don't use substraction to avoid overflow bug.
3384 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3385 * wcsmbc/wcscmp.c: Likewise.
3386 * string/test-strcmp.c: Likewise.
3387 Add new tests to check cases with negative values.
3388
c8b3296b
UD
33892011-10-23 Ulrich Drepper <drepper@gmail.com>
3390
3391 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3392 * sysdeps/x86_64/dla.h: ...here. New file.
3393 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3402
246ad57a
AS
34032011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3404
3405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3406 __ynl_finite aliases.
3407
a1a87169
UD
34082011-10-22 Ulrich Drepper <drepper@gmail.com>
3409
0d355eb7
UD
3410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3411
a1a87169
UD
3412 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3413 define DLA_FMA.
3414 [DLA_FMA] (EMULV): Use DLA_FMA.
3415 [DLA_FMA] (MUL12): Use EMULV.
3416 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3417 that are not needed.
3418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3423 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3425
ee2aafe0
AS
34262011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3427
3428 * math/s_nan.c: Undef __nan.
3429 * math/s_nanf.c: Undef __nanf.
3430 * math/s_nanl.c: Undef __nanl.
3431 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3432 "math_private.h".
3433
bc62c2fb
UD
34342011-10-22 Ulrich Drepper <drepper@gmail.com>
3435
77425c63
UD
3436 * math/s_catan.c: Add branch predictions.
3437 * math/s_catanf.c: Likewise.
3438 * math/s_catanh.c: Likewise.
3439 * math/s_catanhf.c: Likewise.
3440 * math/s_catanhl.c: Likewise.
3441 * math/s_catanl.c: Likewise.
3442 * math/s_cexp.c: Likewise.
3443 * math/s_cexpf.c: Likewise.
3444 * math/s_cexpl.c: Likewise.
3445 * math/s_clog.c: Likewise.
3446 * math/s_clog10.c: Likewise.
3447 * math/s_clog10f.c: Likewise.
3448 * math/s_clog10l.c: Likewise.
3449 * math/s_clogf.c: Likewise.
3450 * math/s_clogl.c: Likewise.
3451 * math/s_csqrt.c: Likewise.
3452 * math/s_csqrtf.c: Likewise.
3453 * math/s_csqrtl.c: Likewise.
3454 * math/s_ctanf.c: Likewise.
3455 * math/s_ctanh.c: Likewise.
3456 * math/s_ctanhf.c: Likewise.
3457 * math/s_ctanhl.c: Likewise.
3458 * math/s_ctanl.c: Likewise.
3459
bc62c2fb
UD
3460 * math/math_private.h: Define __nan, __nanf, __nanl.
3461 * math/s_cacosh.c: Include <math_private.h>.
3462 * math/s_cacoshl.c: Likewise.
3463 * math/s_casinh.c: Likewise.
3464 * math/s_casinhf.c: Likewise.
3465 * math/s_casinhl.c: Likewise.
3466 * math/s_ccos.c: Rely entire on ccosh.
3467 * math/s_ccosf.c: Rely entire on ccoshf.
3468 * math/s_ccosl.c: Rely entirely on ccoshl.
3469 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3470 Remove tests for FE_INVALID.
3471 * math/s_ccoshf.c: Likewise.
3472 * math/s_ccoshl.c: Likewise.
3473 * math/s_csin.c: Likewise.
3474 * math/s_csinf.c: Likewise.
3475 * math/s_csinh.c Likewise.
3476 * math/s_csinhf.c: Likewise.
3477 * math/s_csinhl.c: Likewise.
3478 * math/s_csinl.c: Likewise.
3479 * math/s_ctan.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3481 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3482 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3483
8ec250a4
UD
34842011-10-21 Ulrich Drepper <drepper@gmail.com>
3485
c196fed8
UD
3486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3487 compilation problems.
3488
8ec250a4
UD
3489 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3490 __builtin_expect.
3491
8d4f46c6
UD
34922011-10-20 Ulrich Drepper <drepper@gmail.com>
3493
ed72b654
UD
3494 * sysdeps/i386/configure.in: Test for -mfma4 option.
3495 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3496 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3497 COMMON_CPUID_INDEX_80000001.
3498 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3499 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3500 use it if FMA3 is not supported.
3501 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3502
8d4f46c6
UD
3503 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3504 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3505
d45c60c2
AS
35062011-10-20 Andreas Schwab <schwab@redhat.com>
3507
3508 [BZ #12892]
3509 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3510 it would create a cycle with a link time dependency.
3511
d9a4d2ab
UD
35122011-10-19 Ulrich Drepper <drepper@gmail.com>
3513
855d1560
UD
3514 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3515 instruction.
3516 * string/Makefile (strop-tests): Add rawmemchr.
3517 * string/test-rawmemchr.c: New file.
3518
d9a4d2ab
UD
3519 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3520 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3521 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3522 when compiling str{,n}casecmp and when AVX is available. Hook up
3523 new optimized code in initializers.
3524
8f3b1ffe
AS
35252011-10-19 Andreas Schwab <schwab@redhat.com>
3526
3527 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3528 __feraiseexcept instead of feraiseexcept.
3529
d38f1dba
UD
35302011-10-18 Ulrich Drepper <drepper@gmail.com>
3531
d9a8d0ab
UD
3532 * math/math_private.h: Define defaults for libc_fetestexcept and
3533 libc_feupdateenv.
3534 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3535 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3536 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3537 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3538 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3539 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3540 libc_fetestexcept and libc_feupdateenv.
3541
4855e3dd
UD
3542 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3543 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3544 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3545 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3546 libc_feholdexcept_setround.
3547
581d30e3
UD
3548 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3549 Add s_nearbyint-c and s_nearbyintf-c.
3550 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3551 nearbyintf inlines.
3552 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3553 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3554 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3555 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3556
d38f1dba
UD
3557 * math/math_private.h: Define defaults for libc_fegetround,
3558 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3559 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3560 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3561 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3562 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3563 standard functions.
3564 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3565 Remove comments and hacks for old compiler versions.
3566 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3567 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3568 libc_feholdexceptl.
3569
caa6c9d8
AS
35702011-10-18 Andreas Schwab <schwab@redhat.com>
3571
3572 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3573 (__feraiseexcept_renamed): Add __NTH.
3574 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3575 namespace violations.
3576
97c066e6
UD
35772011-10-17 Ulrich Drepper <drepper@gmail.com>
3578
99ce7b04
UD
3579 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3580
1004d182
UD
3581 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3582
228a984d
UD
3583 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3584 recently added interfaces.
3585 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3586
c8553a6a
UD
3587 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3588 about macro parameter expansion.
3589
ed22dcf6
UD
3590 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3591 __NO_MATH_INLINES is defined. Cleanups.
3592
3593 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3594 and __floorf is target has SSE4.1.
3595 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3596 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3597 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3598 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3599
b171c137
UD
3600 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3601 name.
3602 (floorf): Likewise.
3603
97c066e6
UD
3604 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3605
629f62ef
AS
36062011-10-17 Andreas Schwab <schwab@redhat.com>
3607
49a43d80
AS
3608 * misc/sys/cdefs.h: Fix last change.
3609
629f62ef
AS
3610 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3611 database lookup.
3612
e453f6cd
UD
36132011-10-16 Ulrich Drepper <drepper@gmail.com>
3614
aa78043a
UD
3615 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3616
ad0f5cad
UD
3617 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3618 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3623 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3624 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3625 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3626 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3627 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3628 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3629 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3630 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3631 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3632 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3633 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3634 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3635 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3636 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3637 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3638 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3639
3640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3641 ceil, ceilf, floor, floorf.
3642
3643 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3644 Perform IRELATIVE relocations last.
3645
e453f6cd
UD
3646 * elf/do-rel.h: Add another parameter nrelative, replacing the
3647 local variable with the same name. Change name of the function
3648 to end in Rel or Rela (uppercase).
3649 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3650 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3651 elf_dynamic_do_##reloc function.
3652
fd5bdc09
UD
36532011-10-15 Ulrich Drepper <drepper@gmail.com>
3654
79b195b5
UD
3655 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3656 is sufficient, at least on modern CPUs.
3657
d4a28569
UD
3658 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3659
b61099b5
UD
3660 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3661 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3662
bcf01e6d
UD
3663 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3664 __expl_finite.
3665 * math/bits/math-finite.h: Add entries for exp.
3666 * math/e_expl.c: Add __*_finite alias.
3667 * sysdeps/i386/fpu/e_exp.S: Likewise.
3668 * sysdeps/i386/fpu/e_expf.S: Likewise.
3669 * sysdeps/i386/fpu/e_expl.c: Likewise.
3670 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3671 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3674 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3675 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3676 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3677
ba1a0d59
UD
3678 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3679 is sufficient, at least on modern CPUs.
3680
fd5bdc09
UD
3681 * ctype/ctype-info.c (__ctype_init): Define.
3682 * include/ctype.h (__ctype_init): Declare.
3683 (__ctype_b_loc): The variable is always initialized.
3684 (__ctype_toupper_loc): Likewise.
3685 (__ctype_tolower_loc): Likewise.
3686 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3687 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3688
7872cfb0
AS
36892011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3690
b468825a
AS
3691 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3692
7872cfb0
AS
3693 * configure.in: Also look in $cxxmachine/include for C++ system
3694 headers.
3695
be13f7bf
LD
36962011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3697
3698 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3699 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3700 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3701 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3703 (USE_AS_WMEMCMP): New macro.
3704 Fixing indents.
3705 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3706 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3707 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3708 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3709 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3710 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3711 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3712 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3713 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3714 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3715 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3716 (USE_AS_WMEMCMP): New macro.
3717 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3718 * sysdeps/string/test-memcmp.c: Update.
3719 Fix simple_wmemcmp.
3720 Add new tests.
3721 * wcsmbs/wmemcmp.c: Update.
3722 (WMEMCMP): New macro.
3723 Fix overflow bug.
3724
556a2007
AJ
37252011-10-12 Andreas Jaeger <aj@suse.de>
3726
3727 [BZ #13268]
3728 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3729
538faaa7
UD
37302011-10-15 Ulrich Drepper <drepper@gmail.com>
3731
ab6737ff
UD
3732 * libio/iofwide.c (do_length): Avoid warning.
3733
538faaa7
UD
3734 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3735
396a21b1
UD
37362011-10-14 Ulrich Drepper <drepper@gmail.com>
3737
cdf2901f
UD
3738 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3739
38ad40ce
UD
3740 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3741 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3742 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3743 * sysdeps/i386/i686/fpu/e_log.S: New file.
3744 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3745 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3746
396a21b1
UD
3747 * ctype/ctype.h: Add support for inlined isXXX functions when
3748 compiling C++ code.
3749
6b1f68c9
AS
37502011-10-14 Andreas Schwab <schwab@redhat.com>
3751
349290c0
AS
3752 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3753
6b1f68c9
AS
3754 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3755
f2282d42
RM
37562011-10-13 Roland McGrath <roland@hack.frob.com>
3757
3758 [BZ #13291]
3759 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3760
5298ffa8
AS
37612011-10-13 Andreas Schwab <schwab@redhat.com>
3762
714fad23
AS
3763 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3764 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3765 feraiseexcept.
3766
81dcc7fb
AS
3767 * sysdeps/x86_64/memrchr.S: Check for zero size.
3768
5298ffa8
AS
3769 * string/stratcliff.c: Add memrchr tests.
3770
951fbcec
LD
37712011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3772
3773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3774 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3775 rawmemchr-sse2 rawmemchr-sse2-bsf.
3776 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3777 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3778 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3779 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3780 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3781 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3782 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3783 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3784 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3785 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3786 * string/memrchr.c (MEMRCHR): New macro.
3787
0ac5ae23
UD
37882011-10-12 Ulrich Drepper <drepper@gmail.com>
3789
3790 Add integration with gcc's -ffinite-math-only and optimize wrapper
3791 functions in libm.
3792 * Versions.def: Define GLIBC_2.15 version for libm.
3793 * math/Makefile (headers): Add bits/math-finite.h.
3794 * math/bits/math-finite.h: New file.
3795 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3796 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3797 * math/e_acoshl.c: Add __*_finite alias.
3798 * math/e_acosl.c: Likewise.
3799 * math/e_asinl.c: Likewise.
3800 * math/e_atan2l.c: Likewise.
3801 * math/e_atanhl.c: Likewise.
3802 * math/e_coshl.c: Likewise.
3803 * math/e_exp10.c: Likewise.
3804 * math/e_exp10f.c: Likewise.
3805 * math/e_exp10l.c: Likewise.
3806 * math/e_exp2l.c: Likewise.
3807 * math/e_fmodl.c: Likewise.
3808 * math/e_gammal_r.c: Likewise.
3809 * math/e_hypotl.c: Likewise.
3810 * math/e_j0l.c: Likewise.
3811 * math/e_j1l.c: Likewise.
3812 * math/e_jnl.c: Likewise.
3813 * math/e_lgammal_r.c: Likewise.
3814 * math/e_log10l.c: Likewise.
3815 * math/e_log2l.c: Likewise.
3816 * math/e_logl.c: Likewise.
3817 * math/e_powl.c: Likewise.
3818 * math/e_sinhl.c: Likewise.
3819 * math/e_sqrtl.c: Likewise.
3820 * math/e_scalb.c: Completely rewritten and optimized.
3821 * math/e_scalbf.c: Likewise.
3822 * math/e_scalbl.c: Likewise.
3823 * math/w_acos.c: Likewise.
3824 * math/w_acosf.c: Likewise.
3825 * math/w_acosl.c: Likewise.
3826 * math/w_acosh.c: Likewise.
3827 * math/w_acoshf.c: Likewise.
3828 * math/w_acoshl.c: Likewise.
3829 * math/w_asin.c: Likewise.
3830 * math/w_asinf.c: Likewise.
3831 * math/w_asinl.c: Likewise.
3832 * math/w_atan2.c: Likewise.
3833 * math/w_atan2f.c: Likewise.
3834 * math/w_atan2l.c: Likewise.
3835 * math/w_atanh.c: Likewise.
3836 * math/w_atanhf.c: Likewise.
3837 * math/w_atanhl.c: Likewise.
3838 * math/w_exp10.c: Likewise.
3839 * math/w_exp10f.c: Likewise.
3840 * math/w_exp10l.c: Likewise.
3841 * math/w_fmod.c: Likewise.
3842 * math/w_fmodf.c: Likewise.
3843 * math/w_fmodl.c: Likewise.
3844 * math/w_j0.c: Likewise.
3845 * math/w_j0f.c: Likewise.
3846 * math/w_j0l.c: Likewise.
3847 * math/w_j1.c: Likewise.
3848 * math/w_j1f.c: Likewise.
3849 * math/w_j1l.c: Likewise.
3850 * math/w_jn.c: Likewise.
3851 * math/w_jnf.c: Likewise.
3852 * math/w_log.c: Likewise.
3853 * math/w_logf.c: Likewise.
3854 * math/w_logl.c: Likewise.
3855 * math/w_log10.c: Likewise.
3856 * math/w_log10f.c: Likewise.
3857 * math/w_log10l.c: Likewise.
3858 * math/w_log2.c: Likewise.
3859 * math/w_log2f.c: Likewise.
3860 * math/w_log2l.c: Likewise.
3861 * math/w_pow.c: Likewise.
3862 * math/w_powf.c: Likewise.
3863 * math/w_powl.c: Likewise.
3864 * math/w_remainder.c: Likewise.
3865 * math/w_remainderf.c: Likewise.
3866 * math/w_remainderl.c: Likewise.
3867 * math/w_scalb.c: Likewise.
3868 * math/w_scalbf.c: Likewise.
3869 * math/w_scalbl.c: Likewise.
3870 * math/w_sqrt.c: Likewise.
3871 * math/w_sqrtf.c: Likewise.
3872 * math/w_sqrtl.c: Likewise.
3873 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3874 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3875 used.
3876 * math/math_private.h: Declare __kernel_standard_f.
3877 * math/w_cosh.c: Remove cruft and optimize a bit.
3878 * math/w_coshf.c: Likewise.
3879 * math/w_coshl.c: Likewise.
3880 * math/w_exp2.c: Likewise.
3881 * math/w_exp2f.c: Likewise.
3882 * math/w_exp2l.c: Likewise.
3883 * math/w_hypot.c: Likewise.
3884 * math/w_hypotf.c: Likewise.
3885 * math/w_hypotl.c: Likewise.
3886 * math/w_lgamma.c: Likewise.
3887 * math/w_lgamma_r.c: Likewise.
3888 * math/w_lgammaf.c: Likewise.
3889 * math/w_lgammaf_r.c: Likewise.
3890 * math/w_lgammal.c: Likewise.
3891 * math/w_lgammal_r.c: Likewise.
3892 * math/w_sinh.c: Likewise.
3893 * math/w_sinhf.c: Likewise.
3894 * math/w_sinhl.c: Likewise.
3895 * math/w_tgamma.c: Likewise.
3896 * math/w_tgammaf.c: Likewise.
3897 * math/w_tgammal.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3899 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3900 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3901 Minor optimizations. Pretty printing. Remove cruft.
3902 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3903 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3904 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3905 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3906 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3907 * sysdeps/i386/fpu/e_asin.S: Likewise.
3908 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3909 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3910 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3911 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3912 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3913 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3914 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3915 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3916 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3917 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3918 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3919 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3920 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3921 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3922 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3923 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3924 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3925 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3926 * sysdeps/i386/fpu/e_log.S: Likewise.
3927 * sysdeps/i386/fpu/e_log10.S: Likewise.
3928 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3930 * sysdeps/i386/fpu/e_log2.S: Likewise.
3931 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3932 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3933 * sysdeps/i386/fpu/e_logf.S: Likewise.
3934 * sysdeps/i386/fpu/e_logl.S: Likewise.
3935 * sysdeps/i386/fpu/e_pow.S: Likewise.
3936 * sysdeps/i386/fpu/e_powf.S: Likewise.
3937 * sysdeps/i386/fpu/e_powl.S: Likewise.
3938 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3939 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3940 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3941 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3943 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3944 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3945 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3946 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3968 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3971 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3972 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3973 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3974 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3975 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3976 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3977 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3978 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3979 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3981 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3982 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3983 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3984 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3985 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3986 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3987 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3988 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4027 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4030 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4032 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4033 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4035 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4038 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4039 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4040 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4042 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4043 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4044 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4045 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4046 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4047 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4048 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4049 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4050 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4051 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4052 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4053 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4055 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4056 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4057 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4058 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4059 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4060 (__isnanf): Likewise.
4061 (__isinf_ns): Likewise.
4062 (__isinf_nsf): Likewise.
4063 (__finite): Likewise.
4064 (__finitef): Likewise.
4065 (__ieee754_sqrt): Define as macro.
4066 (__ieee754_sqrtf): Define as macro.
4067 (__ieee754_sqrtl): Define as macro.
4068 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4069 inlined copy.
4070 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4071 __FINITE_MATH_ONLY__ consistent.
4072 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4073
12cc2fcd
AS
40742011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4075
a843a204
AS
4076 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4077 of rawmemchr.
4078
12cc2fcd
AS
4079 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4080
c853acd5
UD
40812011-10-09 Ulrich Drepper <drepper@gmail.com>
4082
4083 * po/ja.po: Update from translation team.
4084
c658d255
RM
40852011-10-08 Roland McGrath <roland@hack.frob.com>
4086
110946e4
RM
4087 * locale/programs/locarchive.c (prepare_address_space): New function.
4088 (create_archive, enlarge_archive, open_archive): Use it.
4089
50604220
RM
4090 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4091 inside [SHARED], where it is used.
4092
c658d255
RM
4093 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4094
4095 * nss/getent.c (netgroup_keys): Remove unused variable.
4096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4097
6a621eb7
UD
40982011-10-08 Ulrich Drepper <drepper@gmail.com>
4099
7edb55ce
UD
4100 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4101 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4103 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4104 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4105 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4106 * math/Makefile (libm-calls): Add s_isinf_ns.
4107 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4108 * math/multc3.c: Likewise.
4109 * math/s_casin.c: Likewise.
4110 * math/s_casinf.c: Likewise.
4111 * math/s_casinl.c: Likewise.
4112 * math/s_ccos.c: Likewise.
4113 * math/s_ccosf.c: Likewise.
4114 * math/s_ccosl.c: Likewise.
4115 * math/s_ctan.c: Likewise.
4116 * math/s_ctanf.c: Likewise.
4117 * math/s_ctanh.c: Likewise.
4118 * math/s_ctanhf.c: Likewise.
4119 * math/s_ctanhl.c: Likewise.
4120 * math/s_ctanl.c: Likewise.
4121 * math/w_fmod.c: Likewise.
4122 * math/w_fmodf.c: Likewise.
4123 * math/w_fmodl.c: Likewise.
4124 * math/w_remainder.c: Likewise.
4125 * math/w_remainderf.c: Likewise.
4126 * math/w_remainderl.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4128 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4130 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4131 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4132 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4133 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4134 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4135
187da0ae
UD
4136 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4137 of the number.
4138 * stdio-common/printf_fphex.c: Likewise.
4139 * stdio-common/printf_size.c: Likewise.
4140
9277c064
UD
4141 * math/e_exp10.c: Include math_private.h using <...> not "...".
4142 * math/e_exp10f.c: Likewise.
4143 * math/e_exp10l.c: Likewise.
4144 * math/e_exp2l.c: Likewise.
4145 * math/e_j0l.c: Likewise.
4146 * math/e_j1l.c: Likewise.
4147 * math/e_jnl.c: Likewise.
4148 * math/e_lgammal_r.c: Likewise.
4149 * math/e_rem_pio2l.c: Likewise.
4150 * math/e_scalb.c: Likewise.
4151 * math/e_scalbf.c: Likewise.
4152 * math/e_scalbl.c: Likewise.
4153 * math/k_cosl.c: Likewise.
4154 * math/k_sinl.c: Likewise.
4155 * math/k_tanl.c: Likewise.
4156 * math/s_cacoshf.c: Likewise.
4157 * math/s_catan.c: Likewise.
4158 * math/s_catanf.c: Likewise.
4159 * math/s_catanh.c: Likewise.
4160 * math/s_catanhf.c: Likewise.
4161 * math/s_catanhl.c: Likewise.
4162 * math/s_catanl.c: Likewise.
4163 * math/s_ccosh.c: Likewise.
4164 * math/s_ccoshf.c: Likewise.
4165 * math/s_ccoshl.c: Likewise.
4166 * math/s_cexp.c: Likewise.
4167 * math/s_cexpf.c: Likewise.
4168 * math/s_cexpl.c: Likewise.
4169 * math/s_clog.c: Likewise.
4170 * math/s_clog10.c: Likewise.
4171 * math/s_clog10f.c: Likewise.
4172 * math/s_clog10l.c: Likewise.
4173 * math/s_clogf.c: Likewise.
4174 * math/s_clogl.c: Likewise.
4175 * math/s_csin.c: Likewise.
4176 * math/s_csinf.c: Likewise.
4177 * math/s_csinh.c: Likewise.
4178 * math/s_csinhf.c: Likewise.
4179 * math/s_csinhl.c: Likewise.
4180 * math/s_csinl.c: Likewise.
4181 * math/s_csqrt.c: Likewise.
4182 * math/s_csqrtf.c: Likewise.
4183 * math/s_csqrtl.c: Likewise.
4184 * math/s_ctan.c: Likewise.
4185 * math/s_ctanf.c: Likewise.
4186 * math/s_ctanh.c: Likewise.
4187 * math/s_ctanhf.c: Likewise.
4188 * math/s_ctanhl.c: Likewise.
4189 * math/s_ctanl.c: Likewise.
4190 * math/s_ldexp.c: Likewise.
4191 * math/s_ldexpf.c: Likewise.
4192 * math/s_ldexpl.c: Likewise.
4193 * math/s_significand.c: Likewise.
4194 * math/s_significandf.c: Likewise.
4195 * math/s_significandl.c: Likewise.
4196 * math/w_acos.c: Likewise.
4197 * math/w_acosf.c: Likewise.
4198 * math/w_acosh.c: Likewise.
4199 * math/w_acoshf.c: Likewise.
4200 * math/w_acoshl.c: Likewise.
4201 * math/w_acosl.c: Likewise.
4202 * math/w_asin.c: Likewise.
4203 * math/w_asinf.c: Likewise.
4204 * math/w_asinl.c: Likewise.
4205 * math/w_atan2.c: Likewise.
4206 * math/w_atan2f.c: Likewise.
4207 * math/w_atan2l.c: Likewise.
4208 * math/w_atanh.c: Likewise.
4209 * math/w_atanhf.c: Likewise.
4210 * math/w_atanhl.c: Likewise.
4211 * math/w_cosh.c: Likewise.
4212 * math/w_coshf.c: Likewise.
4213 * math/w_coshl.c: Likewise.
4214 * math/w_dremf.c: Likewise.
4215 * math/w_exp10.c: Likewise.
4216 * math/w_exp10f.c: Likewise.
4217 * math/w_exp10l.c: Likewise.
4218 * math/w_exp2.c: Likewise.
4219 * math/w_exp2f.c: Likewise.
4220 * math/w_fmod.c: Likewise.
4221 * math/w_fmodf.c: Likewise.
4222 * math/w_fmodl.c: Likewise.
4223 * math/w_hypot.c: Likewise.
4224 * math/w_hypotf.c: Likewise.
4225 * math/w_hypotl.c: Likewise.
4226 * math/w_j0.c: Likewise.
4227 * math/w_j0f.c: Likewise.
4228 * math/w_j0l.c: Likewise.
4229 * math/w_j1.c: Likewise.
4230 * math/w_j1f.c: Likewise.
4231 * math/w_j1l.c: Likewise.
4232 * math/w_jn.c: Likewise.
4233 * math/w_jnf.c: Likewise.
4234 * math/w_jnl.c: Likewise.
4235 * math/w_lgamma.c: Likewise.
4236 * math/w_lgamma_r.c: Likewise.
4237 * math/w_lgammaf.c: Likewise.
4238 * math/w_lgammaf_r.c: Likewise.
4239 * math/w_lgammal.c: Likewise.
4240 * math/w_lgammal_r.c: Likewise.
4241 * math/w_log.c: Likewise.
4242 * math/w_log10.c: Likewise.
4243 * math/w_log10f.c: Likewise.
4244 * math/w_log10l.c: Likewise.
4245 * math/w_log2.c: Likewise.
4246 * math/w_log2f.c: Likewise.
4247 * math/w_log2l.c: Likewise.
4248 * math/w_logf.c: Likewise.
4249 * math/w_logl.c: Likewise.
4250 * math/w_pow.c: Likewise.
4251 * math/w_powf.c: Likewise.
4252 * math/w_powl.c: Likewise.
4253 * math/w_remainder.c: Likewise.
4254 * math/w_remainderf.c: Likewise.
4255 * math/w_remainderl.c: Likewise.
4256 * math/w_scalb.c: Likewise.
4257 * math/w_scalbf.c: Likewise.
4258 * math/w_scalbl.c: Likewise.
4259 * math/w_sinh.c: Likewise.
4260 * math/w_sinhf.c: Likewise.
4261 * math/w_sinhl.c: Likewise.
4262 * math/w_sqrt.c: Likewise.
4263 * math/w_sqrtf.c: Likewise.
4264 * math/w_sqrtl.c: Likewise.
4265 * math/w_tgamma.c: Likewise.
4266 * math/w_tgammaf.c: Likewise.
4267 * math/w_tgammal.c: Likewise.
4268
6a621eb7
UD
4269 * po/ja.po: Update from translation team.
4270
bf582445
AJ
42712011-09-29 Andreas Jaeger <aj@suse.de>
4272
f9efbf3a
AJ
4273 [BZ #13179]
4274 * sunrpc/netname.c (netname2host): Fix logic.
4275
bf582445
AJ
4276 [BZ #6779]
4277 [BZ #6783]
4278 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4279 correctly.
4280 * math/w_remainder.c (__remainder): Likewise.
4281 * math/w_remainderf.c (__remainderf): Likewise.
4282 * math/libm-test.inc (remainder_test): Add test cases.
4283
48693bea
AK
42842011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4285
4286 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4287 sdiv_qrnnd.
4288
42622229
LD
42892011-10-07 Ulrich Drepper <drepper@gmail.com>
4290
4291 * string/test-memcmp.c: Avoid unncessary #defines.
4292 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4293
093ecf92
LD
42942011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4295
4296 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4297 Use new sse2 version for core i3 - i7 as it's faster
4298 than sse42 version.
4299 (bit_Prefer_PMINUB_for_stringop): New.
4300 * sysdeps/x86_64/rawmemchr.S: Update.
4301 Replace with faster SSE2 version.
4302 * sysdeps/x86_64/memrchr.S: New file.
4303 * sysdeps/x86_64/memchr.S: Update.
4304 Replace with faster SSE2 version.
4305
fde56e5c
MP
43062011-09-12 Marek Polacek <mpolacek@redhat.com>
4307
4308 * elf/dl-load.c (lose): Add cast to avoid warning.
4309
21fd49a9
UD
43102011-10-07 Ulrich Drepper <drepper@gmail.com>
4311
5a06e643
UD
4312 * po/ca.po: Update from translation team.
4313
684ae515
UD
4314 * inet/getnetgrent_r.c: Hook up nscd.
4315 * nscd/Makefile (routines): Add nscd_netgroup.
4316 (nscd-modules): Add netgroupcache.
4317 (CFLAGS-netgroupcache.c): Define.
4318 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4319 (cache_search): Add const to second parameter.
4320 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4321 INNETGR.
4322 (dbs): Add netgrdb entry.
4323 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4324 (verify_persistent_db): Handle netgrdb.
4325 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4326 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4327 GETFDNETGR.
4328 (netgroup_response_header): Define.
4329 (innetgroup_response_header): Define.
4330 (datahead): Add netgroup_response_header and innetgroup_response_header
4331 elements.
4332 * nscd/nscd.conf: Add entries for netgroup cache.
4333 * nscd/nscd.h (dbtype): Add netgrdb.
4334 (_PATH_NSCD_NETGROUP_DB): Define.
4335 (netgroup_iov_disabled): Declare.
4336 (xmalloc, xcalloc, xrealloc): Move declarations here.
4337 (cache_search): Adjust prototype.
4338 Add netgroup-related prototypes.
4339 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4340 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4341 (__nscd_innetgr): Declare.
4342 * nscd/selinux.c (perms): Use access_vector_t as element type and
4343 add netgroup-related initializers.
4344 * nscd/netgroupcache.c: New file.
4345 * nscd/nscd_netgroup.c: New file.
4346 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4347 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4348 For four parameters use innetgr.
4349 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4350 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4351 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4352 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4353
21fd49a9
UD
4354 * nscd/connections.c (register_traced_file): Don't register file
4355 for disabled databases.
4356
054c0457
UD
43572011-10-06 Ulrich Drepper <drepper@gmail.com>
4358
32b63198
UD
4359 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4360
054c0457
UD
4361 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4362 from tree and freeing node.
4363
64031225
JO
43642011-09-25 Jiri Olsa <jolsa@redhat.com>
4365
4366 * nss/nsswitch.c (__nss_database_lookup): Handle
4367 nss_parse_service_list out of memory case.
4368
0490345c
JO
43692011-09-15 Jiri Olsa <jolsa@redhat.com>
4370
4371 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4372 out of memory case.
4373
3a62d00d
AS
43742011-10-04 Andreas Schwab <schwab@redhat.com>
4375
4376 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4377 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4378 pass it down.
4379 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4380 elf_machine_rela, elf_machine_lazy_rel.
4381 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4382 (ELF_DYNAMIC_DO_REL): Likewise.
4383 (ELF_DYNAMIC_DO_RELA): Likewise.
4384 (ELF_DYNAMIC_RELOCATE): Likewise.
4385 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4386 to ELF_DYNAMIC_DO_REL.
4387 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4388 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4389 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4390 elf_machine_rela.
4391 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4392 skip_ifunc, don't call ifunc function if non-zero.
4393 (elf_machine_rela): Likewise.
4394 (elf_machine_lazy_rel): Likewise.
4395 (elf_machine_lazy_rela): Likewise.
4396 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4397 (elf_machine_lazy_rel): Likewise.
4398 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4399 Likewise.
4400 (elf_machine_lazy_rel): Likewise.
4401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4402 Likewise.
4403 (elf_machine_lazy_rel): Likewise.
4404 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4405 (elf_machine_lazy_rel): Likewise.
4406 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4407 (elf_machine_lazy_rel): Likewise.
4408 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4409 (elf_machine_lazy_rel): Likewise.
4410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4411 (elf_machine_lazy_rel): Likewise.
4412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4413 (elf_machine_lazy_rel): Likewise.
4414 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4415 (elf_machine_lazy_rel): Likewise.
4416
68577918
UD
44172011-09-28 Ulrich Drepper <drepper@gmail.com>
4418
4419 * nss/nss_files/files-init.c (_nss_files_init): Use static
4420 initialization for all the *_traced_file variables.
4421
68822d74
AS
44222011-09-28 Andreas Schwab <schwab@redhat.com>
4423
4424 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4425
2056100b
RM
44262011-09-27 Roland McGrath <roland@hack.frob.com>
4427
4428 [BZ #13226]
4429 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4430
32c76b63
AS
44312011-09-27 Andreas Schwab <schwab@redhat.com>
4432
4433 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4434 Reread the line before reparsing it.
4435
bf972c9d
AS
44362011-09-26 Andreas Schwab <schwab@redhat.com>
4437
4438 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4439
e057a1b5
JM
44402011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4441 Maxim Kuvyrkov <maxim@codesourcery.com>
4442 Joseph Myers <joseph@codesourcery.com>
4443
4444 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4445 if needed for __stack_chk_guard.
4446
bc7e1c36
RM
44472011-09-19 Roland McGrath <roland@hack.frob.com>
4448
ecb1482f
RM
4449 * sysdeps/posix/spawni.c (script_execute): Always define it.
4450 It will be optimized away if unused.
4451 (maybe_script_execute): New function.
4452 (__spawni): Call it.
4453
bc7e1c36
RM
4454 * Makerules: Don't include tls.make.
4455 (config-tls): Always set to thread.
4456 * tls.make.c: File removed.
4457
1c3b002b
MF
44582011-09-19 Mike Frysinger <vapier@gentoo.org>
4459
4460 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4461 * config.make.in (CPPFLAGS-config): New substituted variable.
4462
2840865d
UD
44632011-09-15 Ulrich Drepper <drepper@gmail.com>
4464
88738eb6
UD
4465 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4466
cbf645a6 4467 [BZ #13192]
2840865d
UD
4468 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4469 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4470
b402e91a
RM
44712011-09-15 Roland McGrath <roland@hack.frob.com>
4472
4473 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4474 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4476 (CALL_FAIL): Likewise.
4477 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4478 (CALL_FAIL): Macro removed.
4479 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4480
4c1a1f71
UD
44812011-09-15 Ulrich Drepper <drepper@gmail.com>
4482
4483 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4484 for __FINITE_MATH_ONLY__ == 1.
4485
edc121be
AS
44862011-09-15 Andreas Schwab <schwab@redhat.com>
4487
4488 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4489 __ieee754_sqrt instead of sqrt.
4490 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4491 __ieee754_sqrtf instead of sqrtf.
4492 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4493 __floorf instead of floorf.
4494 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4495 __floorf, __truncf instead of floorf, truncf.
4496
cd205654
UD
44972011-09-14 Ulrich Drepper <drepper@gmail.com>
4498
ee4d0315
UD
4499 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4500
cd205654
UD
4501 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4502 __extern_always_inline.
4503 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4504 32-bit.
4505
48b67d71
AS
45062011-09-14 Andreas Schwab <schwab@redhat.com>
4507
4508 * elf/rtld.c (dl_main): Also relocate in dependency order when
4509 doing symbol dependency testing.
4510
1ae12c75
AS
45112011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4512
4513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4514 Always define `refsym'.
4515
995a80df
AS
45162011-09-13 Andreas Schwab <schwab@redhat.com>
4517
e529793b
AS
4518 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4519 (__FD_ELT): Renamed from __FDELT.
4520 * misc/bits/select2.h (__FD_ELT): Likewise.
4521 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4522 __FD_MASK instead of __FDELT, __FDMASK.
4523 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4524 Likewise.
4525 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4526 Likewise.
4527
52d4fef8
AS
4528 * elf/Makefile (gen-ldd): Fix pattern.
4529
995a80df
AS
4530 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4531 (init_tls): Likewise.
4532
8682f8b0
UD
45332011-09-12 Ulrich Drepper <drepper@gmail.com>
4534
4535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4536
de82006d
AS
45372011-09-12 Andreas Schwab <schwab@redhat.com>
4538
a7c8e6a1
AS
4539 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4540 `struct cmsghdr *' instead of `void *'.
4541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4542 Likewise.
4543
0f31fe77
AS
45442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4545
4546 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4547 if non-absolute.
4548 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4549 ldd_rewrite_script.
0f31fe77 4550
32b4c839
UD
45512011-09-11 Ulrich Drepper <drepper@gmail.com>
4552
83cd1420
UD
4553 * configure.in: Remove --with-tls option.
4554 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4555 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4556 out in case it is missing.
4557 * sysdeps/ia64/elf/configure.in: Likewise.
4558 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4559 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4560 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4561 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4562 * sysdeps/sh/elf/configure.in: Likewise.
4563 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4564 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4565 * sysdeps/x86_64/elf/configure.in: Likewise.
4566 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4567 * sysdeps/mach/hurd/tls.h: Likewise.
4568
633f745d
UD
4569 [BZ #13067]
4570 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4571
f318beb8
UD
4572 [BZ #13090]
4573 * configure.in: Fix use of AC_INIT.
4574
32b4c839
UD
4575 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4576
3ce1f295
UD
45772011-09-10 Ulrich Drepper <drepper@gmail.com>
4578
bb016596
UD
4579 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4580 __set_errno.
8e58439c
UD
4581 * malloc/hooks.c: Likewise.
4582
aebae053 4583 [BZ #11929]
02d46fc4
UD
4584 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4585 variables statically.
4586 (narenas): Initialize.
4587 (list_lock): Initialize.
bb016596
UD
4588 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4589 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4590 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4591 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4592 Add initializers to main_arena and mp_.
4593 (malloc_state): Remove pagesize member. Change all users to use
4594 GLRO(dl_pagesize).
4595
4596 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4597 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4598 is always initialized.
4599
22a89187
UD
4600 * malloc/malloc.c: Removed unused configurations and dead code.
4601 * malloc/arena.c: Likewise.
4602 * malloc/hooks.c: Likewise.
02d46fc4 4603 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4604
d063d164
UD
4605 * include/tls.h: Removed. USE___THREAD must always be defined.
4606 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4607 * elf/dl-libc.c: Likewise.
4608 * elf/dl-tsd.c: Likewise.
4609 * include/errno.h: Likewise.
4610 * include/netdb.h: Likewise.
4611 * include/resolv.h: Likewise.
4612 * inet/herrno-loc.c: Likewise.
4613 * inet/herrno.c: Likewise.
4614 * malloc/arena.c: Likewise.
4615 * malloc/hooks.c: Likewise.
4616 * malloc/malloc.c: Likewise.
4617 * resolv/res-state.c: Likewise.
4618 * resolv/res_libc.c: Likewise.
4619 * sysdeps/i386/dl-machine.h: Likewise.
4620 * sysdeps/ia64/dl-machine.h: Likewise.
4621 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4622 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4623 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4624 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4625 * sysdeps/sh/dl-machine.h: Likewise.
4626 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4627 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4628 * sysdeps/unix/i386/sysdep.S: Likewise.
4629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4630 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4634 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4635 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4639 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4640 * sysdeps/x86_64/dl-machine.h: Likewise.
4641 * tls.make.c: Likewise.
4642
3ce1f295
UD
4643 * configure.in: Remove --with-__thread option. Make tests for
4644 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4645 tls_model attribute fail if no support is available. Remove
4646 USE_IN_LIBIO.
4647 * Makeconfig: Adjust for dropped configure option. All features are
4648 now mandatory.
4649 * Makerules: Likewise.
4650 * Versions.def: Likewise.
4651 * argp/argp-fmtstream.c: Likewise.
4652 * argp/argp-fmtstream.h: Likewise.
4653 * argp/argp-help.c: Likewise.
4654 * assert/assert.c: Likewise.
4655 * config.h.in: Likewise.
4656 * config.make.in: Likewise.
4657 * configure: Likewise.
4658 * configure.in: Likewise.
4659 * csu/Versions: Likewise.
4660 * csu/init.c: Likewise.
4661 * elf/tst-audit2.c: Likewise.
4662 * elf/tst-tls10.c: Likewise.
4663 * elf/tst-tls10.h: Likewise.
4664 * elf/tst-tls11.c: Likewise.
4665 * elf/tst-tls12.c: Likewise.
4666 * elf/tst-tls14.c: Likewise.
4667 * elf/tst-tlsmod11.c: Likewise.
4668 * elf/tst-tlsmod12.c: Likewise.
4669 * elf/tst-tlsmod13.c: Likewise.
4670 * elf/tst-tlsmod13a.c: Likewise.
4671 * elf/tst-tlsmod14a.c: Likewise.
4672 * elf/tst-tlsmod15b.c: Likewise.
4673 * elf/tst-tlsmod16a.c: Likewise.
4674 * elf/tst-tlsmod16b.c: Likewise.
4675 * elf/tst-tlsmod7.c: Likewise.
4676 * elf/tst-tlsmod8.c: Likewise.
4677 * elf/tst-tlsmod9.c: Likewise.
4678 * gmon/gmon.c: Likewise.
4679 * grp/fgetgrent_r.c: Likewise.
4680 * grp/putgrent.c: Likewise.
4681 * hurd/fopenport.c: Likewise.
4682 * include/libc-symbols.h: Likewise.
4683 * include/tls.h: Likewise.
4684 * intl/gettextP.h: Likewise.
4685 * intl/loadinfo.h: Likewise.
4686 * locale/global-locale.c: Likewise.
4687 * locale/localeinfo.h: Likewise.
4688 * mach/devstream.c: Likewise.
4689 * malloc/arena.c: Likewise.
4690 * malloc/set-freeres.c: Likewise.
4691 * misc/err.c: Likewise.
4692 * misc/getttyent.c: Likewise.
4693 * misc/mntent_r.c: Likewise.
4694 * posix/getopt.c: Likewise.
4695 * posix/wordexp.c: Likewise.
4696 * pwd/fgetpwent_r.c: Likewise.
4697 * resolv/Versions: Likewise.
4698 * resolv/res_hconf.c: Likewise.
4699 * shadow/fgetspent_r.c: Likewise.
4700 * shadow/putspent.c: Likewise.
4701 * stdio-common/printf_fphex.c: Likewise.
4702 * stdio-common/tmpfile.c: Likewise.
4703 * stdlib/abort.c: Likewise.
4704 * stdlib/fmtmsg.c: Likewise.
4705 * sunrpc/auth_unix.c: Likewise.
4706 * sunrpc/clnt_perr.c: Likewise.
4707 * sunrpc/clnt_tcp.c: Likewise.
4708 * sunrpc/clnt_udp.c: Likewise.
4709 * sunrpc/clnt_unix.c: Likewise.
4710 * sunrpc/openchild.c: Likewise.
4711 * sunrpc/svc_simple.c: Likewise.
4712 * sunrpc/svc_tcp.c: Likewise.
4713 * sunrpc/svc_udp.c: Likewise.
4714 * sunrpc/svc_unix.c: Likewise.
4715 * sunrpc/xdr.c: Likewise.
4716 * sunrpc/xdr_array.c: Likewise.
4717 * sunrpc/xdr_rec.c: Likewise.
4718 * sunrpc/xdr_ref.c: Likewise.
4719 * sunrpc/xdr_stdio.c: Likewise.
4720
1248c1c4
PB
47212011-09-09 Ulrich Drepper <drepper@gmail.com>
4722
4723 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4724
47252011-07-03 Andreas Jaeger <aj@suse.de>
4726
4727 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4728 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4729 regenerate with gen-libm-tests.pl.
4730
47312010-05-12 Petr Baudis <pasky@suse.cz>
4732
4733 [BZ #11589]
4734 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4735 around j0() zero points by switching to j1().
4736 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4740
f22e1074
UD
47412011-09-09 Ulrich Drepper <drepper@gmail.com>
4742
f19009c1
UD
4743 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4744 instead of 0.
4745 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4746 instead of 0. .
4747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4748 Patch in part by Pavel Roskin <proski@gnu.org>.
4749
3f8cc204
UD
4750 [BZ #13138]
4751 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4752 realloc.
4753 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4754 Free memory block if necessary.
4755
f22e1074
UD
4756 [BZ #12847]
4757 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4758 be NULL. Don't lock in this case.
4759
0a2349f9
RM
47602011-09-09 Roland McGrath <roland@hack.frob.com>
4761
4762 * elf/elf.h (ELFOSABI_GNU): New macro.
4763 (ELFOSABI_LINUX): Define to that.
4764
f3cdd467
DZ
47652011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4766
4767 * string/strncat.c (strncat): Undef the symbol in case it has been
4768 defined in bits/string.h.
4769
74718d13
UD
47702011-09-09 Ulrich Drepper <drepper@gmail.com>
4771
633e9e0f
UD
4772 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4773
0a2349f9 4774 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4775 link map.
4776
f9924780
AJ
47772011-08-17 Andreas Jaeger <aj@suse.de>
4778
4779 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4780
7f5517aa
PP
47812011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4782 Ian Lance Taylor <iant@google.com>
4783
4784 * math/libm-test.inc (lround_test): New testcase.
4785 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4786
762011fe
UD
47872011-09-08 Ulrich Drepper <drepper@gmail.com>
4788
92963737
UD
4789 * Makefile: Remove support for automatic cvs check-ins.
4790 * Makerules: Likewise.
4791 * config.make.in: Likewise.
4792 * configure.in: Likewise.
4793 * intl/Makefile: Likewise.
4794 * locale/Makefile: Likewise.
4795 * po/Makefile: Likewise.
4796 * posix/Makefile: Likewise.
4797 * sysdeps/gnu/Makefile: Likewise.
4798 * sysdeps/mach/hurd/Makefile: Likewise.
4799 * sysdeps/sparc/sparc32/Makefile: Likewise.
4800
b0727fd8
JS
4801 [BZ #13118]
4802 * posix/Makefile (bug-regex32-ENV): Define.
4803 Patch by John Stanley <jpsinthemix@verizon.net>.
4804
a0f33f99
UD
4805 * misc/Makefile (headers): Add bits/select2.h.
4806 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4807 * misc/bits/select2.h: New file.
4808 * include/bits/select2.h: New file.
4809 * debug/Makefile (routines): Add fdelt_chk.
4810 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4811 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4812 FD_ISSET.
4813 * debug/fdelt_chk.c: New file.
4814
762011fe
UD
4815 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4816 * wcsmbs/test-wmemcmp.c: Likewise.
4817 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4818 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4819
48202011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4821
4822 * string/Makefile (strop-tests): Add memcmp.
4823 * string/test-wmemcmp.c: New file.
4824 * string/test-memcmp.c: Add wmemcmp support.
4825
7f513ec8
RM
48262011-09-08 Roland McGrath <roland@hack.frob.com>
4827
0442afb4
RM
4828 [BZ #13153]
4829 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4830 2011-07-19 change.
4831
7f513ec8
RM
4832 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4833 garbage value in a __mach_port_mod_refs call in the cases of the
4834 task-self and thread-self ports.
4835
a12b2239
ST
48362011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4837
4838 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4839
610f9ab4
AS
48402011-09-08 Andreas Schwab <schwab@redhat.com>
4841
7f513ec8 4842 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4843
48882a1a
LD
48442011-09-07 Ulrich Drepper <drepper@gmail.com>
4845
b49865be
UD
4846 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4847
fdc86bc9
UD
4848 * elf/dl-libc.c (dlerror_run): Pass back error code from
4849 dl_catch_error.
4850
c966526a
UD
4851 [BZ #13123]
4852 * elf/dl-load.c (lose): Free l_origin if it is valid.
4853
48882a1a
LD
4854 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4855 names.
4856 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4857 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4858 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4859 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4860 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4861 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4862
77a2a8b4
AZ
48632011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4864
4865 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4866 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4867 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4868 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4869 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4870 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4871 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4872 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4873 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4874 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4875
24f579d8
AM
48762011-08-15 Alan Modra <amodra@gmail.com>
4877
4878 [BZ #13092]
4879 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4880 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4881 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4882 ppc_mcount to static-only-routines.
4883 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4884 __mcount_internal.
4885 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4886 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4887
3d4837df
UD
48882011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4889
4890 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4891 for finite and infinity parameters.
4892
22700377
WS
48932011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4894
4895 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4896 and add nop instructions for throughput optimization.
4897 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4898
5025581e
WS
48992011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4900
4901 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4902 aligned copy for power7 with vector-scalar instructions.
4903 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4904
08a300c9
L
49052011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4906
4907 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4908 AVX check.
4909
59178ef9
AS
49102011-09-07 Andreas Schwab <schwab@redhat.com>
4911
4912 [BZ #13144]
4913 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4914 last change.
4915
e38ba7ab
UD
49162011-09-07 Ulrich Drepper <drepper@gmail.com>
4917
4918 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4919 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4920 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4921 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4922 clock_gettime.
4923
d53a73ac
UD
49242011-09-06 Ulrich Drepper <drepper@gmail.com>
4925
fc8bffcc
UD
4926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4927 Forgot to demangle the pointer.
4928
ceaa0c5d
UD
4929 * sysdeps/i386/sysdep.h: Define atom_text_section.
4930 * sysdeps/x86_64/sysdep.h: Likewise.
4931 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4932 section with atom_text_section.
4933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4935 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4937 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4938
a77d3c17
UD
4939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4940 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4941 already be defined. Change to take two parameters and don't assign
4942 result to variable. Adjust all users.
4943 Define INTERNAL_GETTIME if not already defined.
4944 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4945 call.
4946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4947 HAVE_CLOCK_GETTIME_VSYSCALL.
4948 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4949
d53a73ac
UD
4950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4951 gettimeofday vsyscall, just use time.
4952
a8f84144
AS
49532011-09-06 Andreas Schwab <schwab@redhat.com>
4954
4955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4956 <errno.h>.
4957
ef606249
UD
49582011-09-06 Ulrich Drepper <drepper@gmail.com>
4959
4960 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4961 syscall on x86-64.
4962 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4963 syscall.
4964 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4965 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4966 syscall if possible.
4967
6585cb60
UD
49682011-09-05 Ulrich Drepper <drepper@gmail.com>
4969
4970 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4971 e_ident. Don't pass to find_mapsXX.
4972 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4973
a5f524e4
LD
49742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4975
4976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4977 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4978 * sysdeps/x86_64/multiarch/strchr.S: Update.
4979 Check bit_slow_BSF bit.
4980 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4981 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4982 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4983
554881ef
UD
49842011-09-05 Ulrich Drepper <drepper@gmail.com>
4985
d96de963
UD
4986 [BZ #13134]
4987 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4988 before glibc 2.15.
4989 (tryshell): Define.
4990 (__spawni): Change last parameter to be flag. Test
4991 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4992 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4993 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4994 * posix/spawni.c: Likewise.
4995 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4996 * posix/spawnp.c: Likewise. Change normal version to use
4997 SPAWN_XFLAGS_USE_PATH.
4998 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4999 SPAWN_XFLAGS_TRY_SHELL.
5000
d48e5868
UD
5001 [BZ #13150]
5002 * posix/glob.h: Remove gcc 1.x support.
5003
554881ef
UD
5004 [BZ #13068]
5005 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5006
693fb948
LD
50072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5008
5009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5010 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5011 strrchr-sse2-bsf
5012 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5013 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5014 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5015 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5016 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5018
1b48c537
UD
50192011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5020
49d42c37
UD
5021 * sysdeps/x86_64/wcscmp.S: New file.
5022
1b48c537
UD
5023 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5024 wcscmp-c wcscmp-sse2
5025 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5026 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5027 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5028 * wcsmbs/wcscmp.c: Allow renaming.
5029
15c95c5d
DM
50302011-09-05 David S. Miller <davem@davemloft.net>
5031
5032 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5033 stack slot, rather than the struct return pointer slot.
5034 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5035 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5037 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5038
2f0ad8f3
UD
50392011-09-05 Ulrich Drepper <drepper@gmail.com>
5040
d88ae418
UD
5041 * po/ja.po: Update from translation team.
5042
2f0ad8f3
UD
5043 [BZ #13144]
5044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5045 kernel in 64-bit binaries.
5046
5f4318d1
DM
50472011-09-01 David S. Miller <davem@davemloft.net>
5048
5049 * elf/elf.h (HWCAP_SPARC_*): Move to..
5050 * sysdeps/sparc/sysdep.h: this new file and add new values.
5051 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5052 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5053 _DL_HWCAP_COUNT to 24.
5054 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5055 entries.
5056 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5057 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5058 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5059 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5060 instead of magic constants.
5061 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5062
3ba57516
DM
50632011-08-31 David S. Miller <davem@davemloft.net>
5064
5065 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5067 Reimplement to do errno handling inline.
5068 (SYSCALL_ERROR_HANDLER): New macro.
5069 (__SYSCALL_STRING): Do not do errno handling in asm.
5070 (__CLONE_SYSCALL_STRING): Delete.
5071 (__INTERNAL_SYSCALL_STRING): Delete.
5072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5073 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5074 (PSEUDO): Reimplement to do errno handling inline.
5075 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5076 (SYSCALL_ERROR_HANDLER): New macro.
5077 (__SYSCALL_STRING): Do not do errno handling in asm.
5078 (__CLONE_SYSCALL_STRING): Delete.
5079 (__INTERNAL_SYSCALL_STRING): Delete.
5080 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5081 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5082 i386.
5083 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5084 (inline_syscall*): Add 'err' argument.
5085 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5086 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5087 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5088 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5089
5090 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5091 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5092
2bc17433
AS
50932011-08-30 Andreas Schwab <schwab@redhat.com>
5094
5095 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5096
fbeb5f4d
JO
50972011-08-29 Jiri Olsa <jolsa@redhat.com>
5098
5099 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5100 directive.
5101
ad69cc26
DM
51022011-08-24 David S. Miller <davem@davemloft.net>
5103
5104 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5105
39dd69df
AS
51062011-08-24 Andreas Schwab <schwab@redhat.com>
5107
5108 * elf/Makefile: Add rules to build and run unload8 test.
5109 * elf/unload8.c: New file.
5110 * elf/unload8mod1.c: New file.
5111 * elf/unload8mod1x.c: New file.
5112 * elf/unload8mod2.c: New file.
5113 * elf/unload8mod3.c: New file.
5114
5115 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5116 it wasn't used.
5117
2c0b250a
DM
51182011-08-23 David S. Miller <davem@davemloft.net>
5119
5120 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5121 subtract stack bias.
5122 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5123 %sp not %fp in calculations.
5124 (_JMPBUF_UNWINDS_ADJ): Likewise.
5125
22044b48
DM
5126 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5127 (aio_suspend): Call it to force an exception region around the
5128 AIO_MISC_WAIT() invocation.
5129
2cae4995
AS
51302011-08-23 Andreas Schwab <schwab@redhat.com>
5131
5132 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5133 backslash.
5134
873a772e
AJ
51352011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5136
5137 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5138 protection macro.
5139 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5140 and <dl-machine.h>.
5141 (Elf64_FuncDesc): Remove.
5142
25ad0df1
DM
51432011-08-22 David S. Miller <davem@davemloft.net>
5144
5145 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5146 sigaltstack check, add missing cfi directives.
5147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5148 missing cfi directives, and sigaltstack handling.
5149
e888bcbe
AS
51502011-08-16 Andreas Schwab <schwab@redhat.com>
5151
5152 [BZ #11724]
5153 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5154 object is seen twice.
5155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5156
5157 * elf/Makefile (distribute): Add tst-initorder2.c.
5158 (tests): Add tst-initorder2.
5159 (modules-names): Add tst-initorder2a tst-initorder2b
5160 tst-initorder2c tst-initorder2d. Add rules to build them.
5161 ($(objpfx)tst-initorder2.out): New rule.
5162 * elf/tst-initorder2.c: New file.
5163 * elf/tst-initorder2.exp: New file.
5164
87162f46
AS
51652011-08-22 Andreas Schwab <schwab@redhat.com>
5166
70538b7f
AS
5167 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5168
f55ffe58
AS
5169 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5170 dependencies back to end of function.
5171
87162f46
AS
5172 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5173 $(elfobjdir)/ld.so.
5174
91b392a4
UD
51752011-08-21 Ulrich Drepper <drepper@gmail.com>
5176
5177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5178 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5180 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5181 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5182 of __vdso_gettimeofday.
5183 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5184 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5185 attribute_hidden.
5186 (_libc_vdso_platform_setup): Remove initialization of
5187 __vdso_gettimeofday and __vdso_time.
5188
5c43483f
UD
51892011-08-20 Ulrich Drepper <drepper@gmail.com>
5190
775a77e7
UD
5191 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5192 and fgetc_unlocked.
5193 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5194 getc_unlocked.
89f447ed 5195
49c74ba9
UD
5196 * elf/dl-open.c (add_to_global): Report additions to the global scope
5197 for LD_DEBUG=scopes.
5198 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5199 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5200
5c43483f
UD
5201 [BZ #13114]
5202 * stdio-common/Makefile (tests): Add bug24.
5203 * stdio-common/bug24.c: New file.
5204
a101b025
AJ
52052011-08-19 Andreas Jaeger <aj@suse.de>
5206
5207 [BZ #13114]
5208 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5209 non-existant file when using close-on-exec mode.
5210
c88f1766
UD
52112011-08-20 Ulrich Drepper <drepper@gmail.com>
5212
0276a718
UD
5213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5214 the very first instruction.
5215
c88f1766
UD
5216 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5217 the CFI state in the end.
5218 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5219 inclusion of dl-trampoline.h.
5220 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5221
51ccffa0
AS
52222011-08-19 Andreas Schwab <schwab@redhat.com>
5223
94d7165f
AS
5224 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5225 expectations for long double.
5226
51ccffa0
AS
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5228 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5229
fd708658 52302011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5231
5232 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5233 artificual limit depends upon the system page size.
5234
44f0a71e
UD
52352011-08-17 Ulrich Drepper <drepper@gmail.com>
5236
5237 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5238 * resolv/Makefile: Define CFLAGS-libresolv.
5239
8de79a24
AS
52402011-08-17 Andreas Schwab <schwab@redhat.com>
5241
5242 * nss/makedb.c (compute_tables): Make variables used in nested
5243 function static.
5244
27724598
UD
52452011-08-17 Ulrich Drepper <drepper@gmail.com>
5246
c5305d88
UD
5247 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5248 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5249 if buffer was too small.
5250
27724598
UD
5251 * elf/pldd.c (main): Attach to all threads in the process.
5252 Rewrite /proc handling to use *at functions.
5253
076fe015
UD
52542011-08-16 Ulrich Drepper <drepper@gmail.com>
5255
174baab3
UD
5256 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5257 specifies first scope to show.
5258 (dl_open_worker): Update callers. Move printing scope of new
5259 object to before the relocation.
44f0a71e 5260 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5261 * sysdeps/generic/ldsodefs.h: Update declaration.
5262
076fe015
UD
5263 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5264 string for the scope number.
5265
a60df2c3
UD
52662011-08-14 Ulrich Drepper <drepper@gmail.com>
5267
5268 * nscd/servicescache.c (cache_addserv): Make sure written is always
5269 initialized.
5270
5e4287d1
RM
52712011-08-14 Roland McGrath <roland@hack.frob.com>
5272
85ae0589
RM
5273 * sysdeps/i386/i486/bits/atomic.h
5274 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5275 statement expression, so as to suppress "set but not used" warning.
5276 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5277
69f63097
RM
5278 * string/strncat.c (STRNCAT): Use prototype definition.
5279
675456ef
RM
5280 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5281 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5282 -Iprograms here.
5283 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5284 (localedef-modules): Add localedef.
5285 (locale-modules): Add locale.
5286
5e4287d1
RM
5287 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5288 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5289 to avoid a warning.
5290
9c96ff23
DM
52912011-08-14 David S. Miller <davem@davemloft.net>
5292
5293 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5294 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5295
f9ddf089
UD
52962011-08-13 Ulrich Drepper <drepper@gmail.com>
5297
44f0a71e 5298 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5299 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5300 * elf/rtld.c (dl_main): Set l_name of vDSO.
5301 Call _dl_show_scope when DL_DEBUG_SCOPES.
5302 (process_dl_debug): Recognize scopes flag and also set it for all.
5303 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5304 Declare _dl_show_scope.
5305
1dc27704
UD
5306 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5307 (do_dlopen): Pass caller_dlopen to dl_open.
5308 (__libc_dlopen_mode): Initialize caller_dlopen.
5309
f9ddf089
UD
5310 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5311 of libc. Make tolower call locale-independent. Optimize a bit by
5312 using isdigit instead of isalnum.
5313 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5314
9ac533d3
UD
53152011-08-12 Ulrich Drepper <drepper@gmail.com>
5316
5317 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5318 was a dependency or dynamically loaded.
5319
89edf2e9
UD
53202011-08-11 Ulrich Drepper <drepper@gmail.com>
5321
8e999d29
UD
5322 * intl/l10nflist.c: Allow architecture-specific pop function.
5323 * sysdeps/x86_64/l10nflist.c: New file.
5324
89edf2e9
UD
5325 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5326 classification.
5327
14d96785
AS
53282011-08-10 Andreas Schwab <schwab@redhat.com>
5329
5330 * include/dirent.h: Add libc_hidden_proto for scandirat and
5331 scandirat64. Don't declare __scandirat64.
5332 * dirent/scandirat.c: Add libc_hidden_def.
5333 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5334 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5335
6761ac04
DM
53362011-08-10 David S. Miller <davem@davemloft.net>
5337
5338 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5339 enum.
5340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5343
c55fbd1e
UD
53442011-08-09 Ulrich Drepper <drepper@gmail.com>
5345
5346 * Versions.def [libc]: Add GLIBC_2.15.
5347 * dirent/Makefile (routines): Add scandirat and scandirat64.
5348 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5349 GLIBC_2.15.
5350 * dirent/dirent.h: Declare scandirat and scandirat64.
5351 * dirent/scandirat.c: New file.
5352 * dirent/scandirat64.c: New file.
5353 * sysdeps/wordsize-64/scandirat.c: New file.
5354 * sysdeps/wordsize-64/scandirat64.c: New file.
5355 * dirent/opendir.c: Define opendirat.
5356 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5357 using scandirat.
5358 * dirent/scandir64.c: Adjust for scandir.c change.
5359 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5360 __scandirat64, and __scandir_cancel_handler.
5361 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5362 additional parameter and use openat instead of open (outside of ld.so).
5363 Add new __opendir as wrapper around __opendirat.
5364 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5365 here without requiring old scandirat implementation.
5366
879165f2
UD
53672011-08-08 Ulrich Drepper <drepper@gmail.com>
5368
5369 * dirent/scandir.c (cancel_handler): Renamed to
5370 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5371 defined. Adjust users.
5372 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5373 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5374
cb7e923b
UD
53752011-08-04 Ulrich Drepper <drepper@gmail.com>
5376
16292edd
UD
5377 * string/test-string.h (IMPL): Use __STRING to expand name and then
5378 stringify it.
5379
cb7e923b
UD
5380 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5381 of cleanups.
5382
cff82933
LD
53832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5384
5385 * string/Makefile: Update.
5386 (strop-tests): Append strncat.
5387 * string/test-wcscmp.c: New file.
5388 New comprehensive test for wcscmp.
5389 * string/test-strcmp.c: Update.
5390 (WIDE): New define.
5391
9be9bfcc
AS
53922011-07-22 Andreas Schwab <schwab@redhat.com>
5393
5394 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5395 line.
5396
2e96f1c7
AS
53972011-07-26 Andreas Schwab <schwab@redhat.com>
5398
5399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5400 encoding to ACE if AI_IDN.
5401
85188888
JJ
54022011-08-01 Jakub Jelinek <jakub@redhat.com>
5403
5404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5405 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5406
5fa16e9b
LD
54072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5408
5409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5410 Fix overflow bug in strncat.
5411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5412
5413 * string/test-strncat.c: Update.
5414 Add new tests for checking overflow bugs.
5415
54162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5417
5418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5419 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5420 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5421 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5423 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5424 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5425 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5426 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5427
5428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5429 (USE_AS_STRCAT): Define.
5430 Add strcat and strncat support.
5431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5432
8c1a459f
AS
54332011-07-25 Andreas Schwab <schwab@redhat.com>
5434
5435 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5436 __n bigger than INT_MAX+1.
5437 (__strncmp_g): Likewise.
5438
bba33c28
UD
54392011-07-23 Ulrich Drepper <drepper@gmail.com>
5440
798be72d
UD
5441 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5442 * libio/stido.h: Likewise.
5443
8accd4dc
UD
5444 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5445 (AF_NFC): Define.
5446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5447 (AF_NFC): Define.
5448
cbff0d96
UD
5449 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5450 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5452 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5454
9191c04a
UD
5455 [BZ #13021]
5456 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5457 installed.
5458
bba33c28
UD
5459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5460 typo.
5461 (_dl_x86_64_save_sse): Likewise.
5462
90f139dd
UD
54632011-07-22 Ulrich Drepper <drepper@gmail.com>
5464
1aae088a
UD
5465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5466 OSXSAVE.
5467 (_dl_x86_64_save_sse): Likewise.
5468
8e2045f5
UD
5469 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5470
90f139dd
UD
5471 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5472
1d002f25
AS
54732011-07-21 Andreas Schwab <schwab@redhat.com>
5474
5475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5476 change.
5477 (_dl_x86_64_save_sse): Use correct AVX check.
5478
21137f89
UD
54792011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5480
5481 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5482 bug in strncpy/strncat.
5483 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5484
a65c0b7a
UD
54852011-07-21 Ulrich Drepper <drepper@gmail.com>
5486
5487 * string/tester.c (test_strcat): Add tests for different alignments
5488 of source and destination.
5489 (test_strncat): Likewise.
5490
6986b98a
UD
54912011-07-20 Ulrich Drepper <drepper@gmail.com>
5492
90bb2039
UD
5493 [BZ #12852]
5494 * posix/glob.c (glob): Check passed in values before using them in
5495 expressions to avoid some overflows.
5496 (glob_in_dir): Likewise.
5497
5644ef54
UD
5498 [BZ #13007]
5499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5500 check for AVX enablement so that we don't crash with old kernels and
5501 new hardware.
5502 * elf/tst-audit4.c: Add same checks here.
5503 * elf/tst-audit6.c: Likewise.
5504
5505 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5506
bfc9dc9b
AS
55072011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5508
5509 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5510
702e64bb
UD
55112011-07-20 Ulrich Drepper <drepper@gmail.com>
5512
5513 * po/cs.po: Update from translation team.
5514 * po/bg.po: Likewise.
5515
295e904f
MP
55162011-07-12 Marek Polacek <mpolacek@redhat.com>
5517
5518 * misc/sys/cdefs.h: Add support for const attribute.
5519 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5520 to gnu_dev_{major,minor,makedev} functions.
5521
3ff94596
MP
55222011-07-20 Marek Polacek <mpolacek@redhat.com>
5523
5524 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5525
28b59fca
AS
55262011-07-20 Andreas Schwab <schwab@redhat.com>
5527
5528 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5529 strlen results.
5530
19df733e
AK
55312011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5532
5533 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5534 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5535 register in order to avoid conflicts with the soft frame pointer
5536 being held in r11 when necessary.
5537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5538 (INTERNAL_VSYSCALL_NCS): Likewise.
5539
c8835729
MP
55402011-07-14 Marek Polacek <mpolacek@redhat.com>
5541
5542 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5543 * elf/dl-fini.c (_dl_fini): Adjust caller.
5544 * elf/dl-close.c (_dl_close_worker): Likewise.
5545 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5546
b902330c
MP
55472011-07-15 Marek Polacek <mpolacek@redhat.com>
5548
8991e135
MP
5549 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5550 "aux_cache->nlibs < 0".
5551
b902330c
MP
5552 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5553 in the reload-count case.
5554
99710781
LD
55552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5556
5557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5558 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5559 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5560 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5561 * sysdeps/x86_64/multiarch/strcat.S: New file.
5562 * sysdeps/x86_64/multiarch/strncat.S: New file.
5563 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5564 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5565 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5566 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5568 (USE_AS_STRCAT): Define.
5569 Add strcat and strncat support.
5570 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5571 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5572 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5573 * string/strncat.c: Update.
5574 (USE_AS_STRNCAT): Define.
5575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5576 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5577 and i7.
5578 * sysdeps/x86_64/multiarch/init-arch.h
5579 (bit_Prefer_PMINUB_for_stringop): New.
5580 (index_Prefer_PMINUB_for_stringop): Likewise.
5581 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5582 bit_Prefer_PMINUB_for_stringop.
5583
7dc6bd90
UD
55842011-07-19 Ulrich Drepper <drepper@gmail.com>
5585
5586 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5587 buffer64.
5588 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5589 of casting of buffer.
5590 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5591 buffer32 and buffer64.
5592 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5593 writes instead of casting of buffer.
5594 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5595 buffer32.
5596 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5597 casting of buffer.
5598
e0e72284
AS
55992011-07-19 Andreas Schwab <schwab@redhat.com>
5600
5601 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5602
feb1eb0b
UD
56032011-07-19 Ulrich Drepper <drepper@gmail.com>
5604
5605 * nscd/nscd.c (termination_handler): Don't do anything for a database
5606 if it has not yet been initialized.
5607
298711ff
UD
56082011-07-18 Ulrich Drepper <drepper@gmail.com>
5609
5610 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5611
56122011-07-15 Marek Polacek <mpolacek@redhat.com>
5613
5614 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5615
f9d68389
UD
56162011-07-18 Ulrich Drepper <drepper@gmail.com>
5617
5618 * po/nl.po: Update from translation team.
5619 * po/sv.po: Likewise.
5620
db290cf5
RM
56212011-07-16 Roland McGrath <roland@hack.frob.com>
5622
5623 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5624 now disallowed by GCC.
5c550700 5625
fd5e21c7
RM
5626 * configure.in (use-default-link): Default to yes if a test -shared
5627 link meets our qualifications.
5628 * configure: Regenerated.
5629
5c550700
RM
5630 * config.make.in (output-format): New variable.
5631 * configure.in: Check for ld --print-output-format support.
5632 * configure: Regenerated.
5633 * Makerules ($(common-objpfx)format.lds)
5634 [$(output-format) != unknown]: Just use $(output-format),
5635 instead of the linker-script munging.
5636
9fa2c032
RM
56372011-07-14 Roland McGrath <roland@hack.frob.com>
5638
a6928d51
RM
5639 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5640 of $(common-objpfx)shlib.lds.
5641 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5642
661607b3
RM
5643 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5644 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5645
9fa2c032
RM
5646 * configure.in (-z relro check): Adjust test code to add a large
5647 writable data section after it.
5648 * configure: Regenerated.
5649
defe9061
RM
56502011-07-11 Roland McGrath <roland@hack.frob.com>
5651
5652 * configure.in (-z relro check): Fix test code to make the variable
5653 truly const.
5654 * configure: Regenerated.
5655
319b9ad4
UD
56562011-07-11 Ulrich Drepper <drepper@gmail.com>
5657
5658 * nscd/nscd.h (struct traced_file): Define.
5659 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5660 elements. Add traced_files.
5661 (inotify_fd): Declare.
5662 (register_traced_file): Declare.
5663 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5664 (inotify_fd): Export.
5665 (resolv_conf_descr): Remove.
5666 (nscd_init): Move inotify descriptor creation to main.
5667 Don't register files for notification here.
5668 (register_traced_file): New function.
5669 (invalidate_cache): Don't use reset_res to determine whether to call
5670 res_init, go through the list of registered files.
5671 (main_loop_poll): The inotify descriptors are now stored in the
5672 structures for the traced files.
5673 (main_loop_epoll): Likewise
5674 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5675 to __nss_disable_nscd.
5676 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5677 for a database anymore. Check the records for all the registered
5678 files instead.
5679 * nss/Makefile (libnss_files-routines): Add files-init.
5680 (libnss_db-routines): Add db-init.
5681 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5682 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5683 * nss/nss_db/db-init.c: New file.
5684 * nss/nss_files/files-init.c: New file.
5685 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5686 __nss_lookup_function.
5687 (__nss_lookup_function): Call nss_load_library.
5688 (nss_load_all_libraries): New function.
5689 (__nss_disable_nscd): Take parameter with callback function for files
5690 to register. Set is_nscd. Load all the DSOs for the NSS modules
5691 used for the cached services.
5692 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5693 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5694 options for features to all the files in nscd.
5695
5696 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5697
23bee3e8
RM
56982011-07-10 Roland McGrath <roland@hack.frob.com>
5699
5700 * csu/elf-init.c (__libc_csu_init): Comment typo.
5701
46a5b7f0
UD
57022011-07-09 Ulrich Drepper <drepper@gmail.com>
5703
5704 * po/pl.po: Update from translation team.
5705 * po/ja.po: Likewise.
5706 * po/ru.po: Likewise.
5707 * po/ko.po: Likewise.
5708 * po/fr.po: Likewise.
5709
d30cf5bb
RM
57102011-07-09 Roland McGrath <roland@hack.frob.com>
5711
113ddea4
RM
5712 * configure.in (.ctors/.dtors header and trailer check):
5713 Use an empirical test on a built program.
5714 * configure: Regenerated.
5715
574920b4
RM
5716 * configure.in (-z relro check): Use an empirical test on a built DSO.
5717 Detect, but do not require, on ia64.
5718 * configure: Regenerated.
5719
d30cf5bb
RM
5720 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5721 Update tests that use readelf to use $READELF instead.
5722 * configure: Regenerated.
5723
8538fdb3
UD
57242011-07-08 Ulrich Drepper <drepper@gmail.com>
5725
5726 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5727 if the result is not used.
5728
04d08991
AJ
57292011-07-05 Andreas Jaeger <aj@suse.de>
5730
5731 [BZ#9696]
5732 * stdlib/tst-strtod.c: Add testcase.
5733
de283087
AD
57342011-07-07 Ulrich Drepper <drepper@gmail.com>
5735
4e5f31c8 5736 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5737 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5738 The latter has a higher limit. Take additional parameter to pass to
5739 the new function.
5740 (__pathconf): Pass file to __statfs_link_max.
5741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5742 __statfs_link_max.
5743 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5744 __statfs_link_max.
5745
de283087
AD
5746 [BZ #12868]
5747 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5748 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5749 Handle Lustre.
5750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5751 (__statfs_filesize_max): Likewise.
5752 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5753
c75fa153
AJ
57542011-07-05 Andreas Jaeger <aj@suse.de>
5755
5756 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5757
1a544854
UD
57582011-07-06 Marek Polacek <mpolacek@redhat.com>
5759
5760 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5761 `status' variable.
5762 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5763 Likewise.
5764
6f0eec67
UD
57652011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5766
5767 * Makefile (strop-tests): Add strncat.
5768 * string/test-strncat.c: New file.
5769
aae30307
UD
57702011-06-30 Marek Polacek <mpolacek@redhat.com>
5771
5772 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5773
c0cfb5eb
UD
57742011-06-21 Andreas Jaeger <aj@suse.de>
5775
5776 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5777 Copy rule from iconvdata/Makefile.
5778
01636b21
UD
57792011-07-06 Ulrich Drepper <drepper@gmail.com>
5780
5781 [BZ #12922]
5782 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5783 but no long options are defined, just return 'W'.
5784
9895c8bc
UD
57852011-06-22 Marek Polacek <mpolacek@redhat.com>
5786
5787 [BZ #9696]
5788 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5789
5d4cf042
UD
57902011-07-06 Ulrich Drepper <drepper@gmail.com>
5791
5792 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5793 netgroups to read.
960e5535 5794 (innetgr): Likewise.
5d4cf042 5795
751eb97e
RM
57962011-07-05 Roland McGrath <roland@hack.frob.com>
5797
5798 * config.make.in (install_root): Default to $(DESTDIR).
5799
f15f1e45
UD
58002011-07-05 Ulrich Drepper <drepper@gmail.com>
5801
5802 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5803
4e34ac6a
RM
58042011-07-02 Roland McGrath <roland@hack.frob.com>
5805
5e9b6af4
RM
5806 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5807
84f9ea0f
RM
5808 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5809 containing directory rather than embedding absolute directory names.
5810
ea5ee9f7
RM
5811 * scripts/check-local-headers.sh: Rewritten using awk.
5812 Match by word, not by line. Print error messages for matches.
5813 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5814
1b74661a
RM
5815 * Makerules [shlib-lds-flags empty]:
5816 ($(common-objpfx)libc_pic.opts): New target.
5817 ($(common-objpfx)libc_pic.os.clean): New target.
5818 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5819
5820 * config.make.in (OBJCOPY): New variable.
5821 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5822 * configure: Regenerated.
5823
f781ef40
RM
5824 * config.make.in (use-default-link): New variable.
5825 * configure.in (use_default_link): Grok --with-default-link to set it.
5826 * configure: Regenerated.
5827 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5828 (shlib-lds, shlib-lds-flags): Define to empty.
5829
2d4fa81e
RM
5830 * Makerules (shlib-lds): New variable.
5831 (shlib-lds-flags): New variable.
5832 (build-shlib, build-moduile, build-module-asneeded): Use it.
5833 ($(common-objpfx)libc.so): Use $(shlib-lds).
5834 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5835 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5836
31fffa6b
RM
5837 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5838 DT_FLAGS/DT_FLAGS_1 with zero flags.
5839
4e34ac6a
RM
5840 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5841 linker script munging.
5842
fcfc776b
UD
58432011-07-02 Ulrich Drepper <drepper@gmail.com>
5844
5845 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5846 as 128-bit value.
5847 * crypt/sha512.c (sha512_process_block): Perform total addition using
5848 128-bit if possible.
5849 (__sha512_finish_ctx): Likewise.
5850 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5851 as 64-bit value.
5852 * crypt/sha256.c (SWAP64): Define.
5853 (sha256_process_block): Perform total addition using 64-bit if
5854 possible.
5855 (__sha256_finish_ctx): Likewise.
5856
99231d9a
UD
58572011-07-01 Ulrich Drepper <drepper@gmail.com>
5858
5859 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5860 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5861 * nscd/hstcache.c (cache_addhst): Likewise.
5862 * nscd/grpcache.c (cache_addgr): Likewise.
5863 * nscd/aicache.c (addhstaiX): Likewise
5864 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5865
445b4a53
TK
58662011-07-01 Thorsten Kukuk <kukuk@suse.de>
5867
5868 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5870 * nscd/hstcache.c (cache_addhst): Likewise.
5871 * nscd/grpcache.c (cache_addgr): Likewise.
5872 * nscd/aicache.c (addhstaiX): Likewise
5873
6d4d8e8e
AS
58742011-07-01 Andreas Schwab <schwab@redhat.com>
5875
5876 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5877 domain only when needed.
5878
89f654c5
AS
58792011-06-30 Andreas Schwab <schwab@redhat.com>
5880
5881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5882 is always restored.
5883
cf3b23ff
UD
58842011-06-29 Ulrich Drepper <drepper@gmail.com>
5885
5886 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5887 are re-adding the entry.
5888 * nscd/servicescache.c (cache_addserv): Likewise.
5889
751626f9
AJ
58902011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5891
5892 * sysdeps/generic/dl-irel.h: fix protection against multiple
5893 inclusions.
5894 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5895
9113ea1f
UD
58962011-06-28 Ulrich Drepper <drepper@gmail.com>
5897
5c0b8d90
UD
5898 [BZ #12935]
5899 * malloc/memusage.sh: Fix quoting in message.
5900 * debug/xtrace.sh: Likewise.
5901
9113ea1f
UD
5902 * configure.in: Remove support for --experimental-malloc option, make
5903 it the default.
5904 * config.make.in: Likewise.
5905 * malloc/Makefile: Likewise.
5906
a4172181
AS
59072011-06-27 Andreas Schwab <schwab@redhat.com>
5908
5909 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5910 two-byte characters.
5911
78a7eee7
RM
59122011-06-27 Roland McGrath <roland@hack.frob.com>
5913
62bede13
RM
5914 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5915 AC_CACHE_CHECK invocation.
5916 * configure: Regenerated.
5917
78a7eee7
RM
5918 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5919
5ce33a62
UD
59202011-06-27 Ulrich Drepper <drepper@gmail.com>
5921
034807a9
UD
5922 [BZ #12350]
5923 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5924 bit from old_res_options.
5925
4902da17
UD
5926 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5927
5ce33a62
UD
5928 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5929 value type for setfct.
5930
c2344f56
L
59312011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5932
5933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5934 __gettimeofday instead of gettimeofday.
5935
68468076
UD
59362011-06-26 Ulrich Drepper <drepper@gmail.com>
5937
5938 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5939
acb0d739
L
59402011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5941
5942 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5943
5944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5945 info.
5946
8912479f
L
59472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5948
5949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5950 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5951 strcpy-sse2-unaligned strncpy-sse2-unaligned
5952 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5953 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5954 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5955 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5956 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5957 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5958 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5959 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5960 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5961 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5962 (STRCPY): Support SSE2 and SSSE3 versions.
5963
d5495a11
UD
59642011-06-24 Ulrich Drepper <drepper@gmail.com>
5965
5966 [BZ #12874]
5967 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5968 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5969 kernels which artificially limit size of requests.
5970
0b1cbaae
L
59712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5972
5973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5974 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5975 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5976 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5977 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5978 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5979 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5980 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5982 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5983 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5984 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5985 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5986 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5987 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5989 Enable unaligned load optimization for Intel Core i3, i5 and i7
5990 processors.
5991 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5992 Define.
5993 (index_Fast_Unaligned_Load): Define.
5994 (HAS_FAST_UNALIGNED_LOAD): Define.
5995
07f494a0
MP
59962011-06-23 Marek Polacek <mpolacek@redhat.com>
5997
5998 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5999
fa3fc0fe
UD
60002011-06-22 Ulrich Drepper <drepper@gmail.com>
6001
6002 [BZ #12907]
6003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6004 until it is clear that the information is realy needed.
6005 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6006
e12df166
AS
60072011-06-22 Andreas Schwab <schwab@redhat.com>
6008
6009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6010
852eb34d
UD
60112011-06-22 Ulrich Drepper <drepper@gmail.com>
6012
84e2a551
UD
6013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6014 /sys/devices/system/cpu/online if it is usable.
6015
852eb34d
UD
6016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6017 reading the information from the /proc filesystem to once a second.
6018
6e502e19
UD
60192011-06-21 Andreas Jaeger <aj@suse.de>
6020
6021 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6022 NULL after inclusion of kernel headers.
6023
75d39ff2
UD
60242011-06-21 Ulrich Drepper <drepper@gmail.com>
6025
51f9aa6a
UD
6026 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6027 calls to internal_setent.
6028
c0244a9d
UD
6029 [BZ #12885]
6030 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6031 addresses using gethostbyname4_r ignore IPv4 addresses.
6032
c5e3c2ae
UD
6033 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6034 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6035
75d39ff2
UD
6036 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6037
42675c6f
DM
60382011-06-20 David S. Miller <davem@davemloft.net>
6039
6040 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6041 inclusions.
6042 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6043
6044 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6045 (elf_irel): Use it.
6046 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6047 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6048 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6049 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6050 * sysdeps/x86_64/dl-irel.h: Likewise.
6051
6052 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6053 * elf/dl-sym.c: Likewise.
6054
57912a71
UD
60552011-06-15 Ulrich Drepper <drepper@gmail.com>
6056
6057 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6058 need to dereference resplen2.
6059
ee22793d
AS
60602011-06-14 Andreas Schwab <schwab@redhat.com>
6061
6062 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6063
a9e836b0
UD
60642011-06-15 Ulrich Drepper <drepper@gmail.com>
6065
77fb9117
UD
6066 * Makeconfig: Define vardbdir and inst_vardbdir.
6067 * nss/Makefile: Add rules to install db-Makefile.
6068
40c1b22c
UD
6069 * nss/nss_db/db-XXX.c: Cleanup.
6070
9f2da732
UD
6071 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6072 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6073 GLIBC_PRIVATE.
6074 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6075 * nss/makedb.c: Implement -g option to specify that value strings
6076 are generated and should not be added to table iterated over for
6077 get*ent calls.
6078 * nss/nss_db/db-initgroups.c: New file.
6079
82e9a1f7
UD
6080 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6081 interface.
6082
c41af17e
UD
6083 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6084 (internal_getgrouplist): Adjust to name change.
6085 Update use_initgroups_entry if this is not the first call.
6086 * nss/databases.def: Add initgroups entry.
6087
a9e836b0
UD
6088 * nss/makedb.c (compute_tables): Check result of multiple hash table
6089 sizes to minimize maximum chain length.
6090
2666d441
UD
60912011-06-14 Ulrich Drepper <drepper@gmail.com>
6092
6093 * Versions.def: Add entry for libnss_db.
6094 * shlib-versions: Likewise.
6095 * nss/Makefile: Add rules to build libnss_db.
6096 * nss/Versions: Add libnss_db information. Organize libnss_files
6097 entries better.
6098 * nss/db-Makefile: Add gshadow support. Change rules for the new
6099 makedb progra. Some minor improvements to generate smaller files.
6100 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6101 here from...
6102 * nss/makedb.c: ...here.
6103 Improve database format to be smaller and require less memory at
6104 runtime.
6105 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6106 db anymore.
6107 * nss/nss_db/db-netgrp.c: Likewise.
6108 * nss/nss_db/db-open.c: Likewise.
6109 * nss/nss_files/flies-XXX.x: Adjust comments.
6110 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6111 * nss/nss_files/files-grp.c: Likewise.
6112 * nss/nss_files/files-hosts.c: Likewise.
6113 * nss/nss_files/files-network.c: Likewise.
6114 * nss/nss_files/files-proto.c: Likewise.
6115 * nss/nss_files/files-pwd.c: Likewise.
6116 * nss/nss_files/files-rpc.c: Likewise.
6117 * nss/nss_files/files-service.c: Likewise.
6118 * nss/nss_files/files-sgrp.c: Likewise.
6119 * nss/nss_files/files-spwd.c: Likewise.
6120 * nss/nss_db/db-alias.c: Removed.
6121 * nss/nss_db/dummy-db.h: Removed.
6122
9ee76b5a
UD
61232011-06-02 Ulrich Drepper <drepper@gmail.com>
6124
6125 * nss/makedb.c: Rewritten to not use database library.
6126 * nss/Makefile: Update to build new makedb program.
6127
c71ca1f8
AJ
61282011-06-14 Andreas Jaeger <aj@suse.de>
6129
6130 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6131 memset declaration.
6132
3154bfb8
UD
61332011-06-10 Andreas Schwab <schwab@redhat.com>
6134
6135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6136 tmpbuf.
6137
b350afab
RM
61382011-06-10 Roland McGrath <roland@hack.frob.com>
6139
decd4e50
RM
6140 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6141 * elf/Makefile ($(objpfx)ld.so): Likewise.
6142
5615eaf2
RM
6143 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6144 Don't list ld.so twice in dependencies.
6145
6146 * posix/bug-regex31.c: Include <stdlib.h>.
6147
6148 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6149
6150 * nis/nss_compat/compat-spwd.c
6151 (getspent_next_nss_netgr): Remove unused variable.
6152 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6153
6154 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6155 nonmembers" output to use the right array.
6156
6157 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6158
6159 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6160
6161 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6162 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6163 * catgets/gencat.c (read_input_file): Likewise.
6164 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6165
6166 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6167 variable definition inside #if's controlling its use.
6168
6169 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6170
6171 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6172
6173 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6174
6175 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6176 unreachable code.
6177
6178 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6179
b68e08db
RM
6180 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6181 * configure: Regenerated.
6182
b350afab
RM
6183 * Makerules: Revert last change.
6184 * elf/Makefile: Likewise.
6185
28368601
RM
61862011-06-09 Roland McGrath <roland@hack.frob.com>
6187
6188 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6189 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6190 (reloc-link): Likewise.
6191
11988f8f
UD
61922011-06-09 Ulrich Drepper <drepper@gmail.com>
6193
6194 * elf/Makefile: Add rules to build pldd.
6195 * elf/pldd.c: New file.
6196 * elf/pldd-xx.c: New file.
6197
e80fab37
UD
61982011-06-07 Ulrich Drepper <drepper@gmail.com>
6199
6200 * version.h: Update for 2.15 development version.
6201
9b849836
DM
62022011-06-07 David S. Miller <davem@davemloft.net>
6203
6204 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6205 ifuncs.
6206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6207 elf_machine_lazy_rel): Likewise.
6208 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6210 elf_machine_lazy_rel): Likewise.
6211 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6212 dl_hwcap via passed in argument.
6213 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6214 Likewise.
6215
5a31b283
AK
62162011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6217
6218 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6219
069e52f8
RM
62202011-06-06 Roland McGrath <roland@hack.frob.com>
6221
6222 [BZ #12849]
6223 * manual/fdl-1.1.texi: New file, verbatim from:
6224 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6225 * manual/lgpl-2.1.texi: New file, verbatim from:
6226 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6227 * manual/Makefile (licenses): New variable, list those new file names.
6228 (texis): Use it.
6229 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6230
6231 * manual/fdl.texi: File removed.
6232 * manual/lesser.texi: File removed.
6233 * manual/libc.texinfo (Copying, Documentation License):
6234 Use new @include file names, put @appendix directive before @include.
6235
f16846a5
JJ
62362011-06-04 Jakub Jelinek <jakub@redhat.com>
6237
6238 [BZ #12841]
6239 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6240 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6241 (mq_open): Add __NTH.
6242
3d29045b
L
62432011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6244
6245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6246 Assume Intel Core i3/i5/i7 processor if AVX is available.
6247
8c297311
UD
62482011-05-31 Ulrich Drepper <drepper@gmail.com>
6249
6250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6251 typo.
6252
c8fc0c91
UD
62532011-05-31 Andreas Schwab <schwab@redhat.com>
6254
6255 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6256 memory. Use alloca_account. Fix memory leak when retrying.
6257
5b27a807
UD
62582011-05-31 Ulrich Drepper <drepper@gmail.com>
6259
356f8bc6
UD
6260 * version.h (RELEASE): Bump for 2.14 release.
6261 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6262
5b27a807
UD
6263 * config.make.in (RANLIB): Remove entry.
6264
01f16ab0
UD
62652011-05-30 Ulrich Drepper <drepper@gmail.com>
6266
41fce8bd
UD
6267 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6268 (libc.pot): Work around missing support for .ksh extension in xgettext.
6269
4769ae77
UD
6270 [BZ #12684]
6271 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6272 if both request failed.
6273 (send_dg): In case of server errors clear resplen or *resplen2.
6274
6b1e7d19
UD
6275 [BZ #12454]
6276 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6277 when there are multiple maps.
6278 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6279 (_dl_fini): Remove test here.
6280
01f16ab0
UD
6281 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6282
b1ebd700
UD
62832011-05-29 Ulrich Drepper <drepper@gmail.com>
6284
7ae22829
UD
6285 [BZ #12350]
6286 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6287 bit from old_res_options.
6288 (gaih_inet): Likewise.
6289
553149f6 6290 [BZ #11099]
18a84741 6291 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6292 as signed.
6293
652ffab1
UD
6294 * resolv/res_init.c (res_setoptions): Make the code more compact.
6295
16985fd0
UD
6296 [BZ #11558]
6297 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6298 set RES_USEVC.
6299
0464f746
UD
6300 [BZ #11634]
6301 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6302
7d17596c
UD
6303 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6304
cf6bbbd7
UD
6305 [BZ #11781]
6306 * malloc/malloc.h: Declare malloc hook variables as volatile.
6307
13f1ab36
UD
6308 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6309 in last patch.
6310
b1ebd700
UD
6311 [BZ #11799]
6312 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6313 raise in the comment.
80e2212d
UD
6314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6316 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6317
ce67228d
UD
63182011-05-28 Ulrich Drepper <drepper@gmail.com>
6319
8887a920
UD
6320 [BZ #12811]
6321 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6322 grow the buffers more if it already has to be sufficient.
6323 (build_wcs_upper_buffer): Likewise.
6324 * posix/regexec.c (check_matching): Likewise.
6325 (clean_state_log_if_needed): Likewise.
6326 (extend_buffers): Don't enlarge buffers beyond size of the input
6327 buffer.
6328 Patches mostly by Emil Wojak <emil@wojak.eu>.
6329 * posix/bug-regex32.c: New file.
6330 * posix/Makefile (tests): Add bug-regex32.
6331
4f031072
UD
6332 * locale/findlocale.c (_nl_find_locale): Return right away if
6333 _nl_explode_name failed.
6334 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6335
d0478f0c
UD
6336 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6337
de81b246
UD
6338 * debug/xtrace.sh: Unify messages.
6339 * malloc/memusage.sh: Likewise.
6340
c738465a
UD
6341 [BZ #12813]
6342 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6343 time symbol from vDSO. Substitute with vsyscall if not available.
6344 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6345 __vdso_time.
6346
f1f929d7
UD
6347 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6348 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6349 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6350 Add sendmmsg and internal_sendmmsg.
6351 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6352 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6353 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6354
ce67228d
UD
6355 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6356 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6357 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6358
e57420c6
UD
63592011-05-27 Ulrich Drepper <drepper@gmail.com>
6360
a8509ca5
UD
6361 [BZ #12813]
6362 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6363 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6364 available.
6365 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6366 __vdso_getcpu.
6367
e57420c6
UD
6368 [BZ #12814]
6369 * iconvdata/Makefile (tests): Add bug-iconv9.
6370 * iconvdata/bug-iconv9.c: New file.
6371
4d07db15
AS
63722011-05-27 Andreas Schwab <schwab@redhat.com>
6373
6374 [BZ #12814]
6375 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6376
ea486f69
JJ
63772011-05-25 Jakub Jelinek <jakub@redhat.com>
6378
6379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6380 (struct user_regs_struct): Change intcs field back to cs.
6381
6f038433
UD
63822011-05-25 Ulrich Drepper <drepper@gmail.com>
6383
6384 * po/ja.po: Update from translation team.
6385
67f86a25
UD
63862011-05-23 Ulrich Drepper <drepper@gmail.com>
6387
6388 [BZ #12795]
6389 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6390 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6391
def7fbd6
AS
63922011-05-20 Andreas Schwab <schwab@redhat.com>
6393
6394 * stdlib/longlong.h: Update from GCC.
6395
f50ef8f1
AS
63962011-05-23 Andreas Schwab <schwab@redhat.com>
6397
6398 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6399 parameter name.
6400 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6401 Add parameter name.
6402 (__sysconf): Pass it down.
6403
de7ce8f1
UD
64042011-05-22 Ulrich Drepper <drepper@gmail.com>
6405
f2962a71
UD
6406 [BZ #12671]
6407 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6408 some situations.
6409 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6410 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6411 add in in __libc_use_alloca calls. Adjust callers.
6412 (glob): Use malloc in some situations.
6413
de7ce8f1
UD
6414 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6415 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6416 pltexit.
6417
aec84f53
UD
64182011-05-21 Ulrich Drepper <drepper@gmail.com>
6419
05bb4a68
UD
6420 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6421 and CLOCK_BOOTTIME_ALARM.
6422
7ea72f99
UD
6423 [BZ #12782]
6424 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6425 is returned.
6426
7e4afad5
UD
6427 * string/_strerror.c (__strerror_r): Print negative errors as signed
6428 numbers.
6429
8e211fec
UD
6430 [BZ #12777]
6431 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6432 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6433 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6434
f7d82dc9
UD
6435 * configure.in: Fix typo in redirection and correct removal of test
6436 files in two cases.
6437
cc9e536d
UD
6438 [BZ #12788]
6439 * locale/setlocale.c (new_composite_name): Fix test to check for
6440 identical name of all categories.
6441
aec84f53
UD
6442 [BZ #12792]
6443 * libio/filedoalloc.c (local_isatty): New function.
6444 (_IO_file_doallocate): Use local_isatty.
6445 * stdio-common/perror.c (perror): In case a new stream is used
6446 forward the stream error.
6447 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6448 error flag.
6449
78e64fdc
RT
64502011-05-20 Ulrich Drepper <drepper@gmail.com>
6451
34a9094f
UD
6452 [BZ #11869]
6453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6454 alloca.
6455 * include/alloca.h (extend_alloca_account): Define.
6456
78e64fdc
RT
6457 [BZ #11857]
6458 * posix/regex.h: Fix comments with documentation of user-accessible
6459 fields after compilation and describe correct free'ing of pattern
6460 after re_compile_pattern.
6461 Patch by Reuben Thomas <rrt@sc3d.org>.
6462
457bddfc
RA
64632011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6464
6465 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6466 and -mno-altivec to prevent the compiler from using Altivec and/or
6467 VSX instructions when the corresponding registers are not available.
6468
a4527b51
AS
64692011-05-19 Andreas Schwab <schwab@redhat.com>
6470
6471 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6472
ed690b2f
UD
64732011-05-19 Ulrich Drepper <drepper@gmail.com>
6474
6475 * libio/freopen.c (freopen): Use __dup2, not dup2.
6476 * libio/freopen64.c (freopen64): Likewise.
6477
8db73634
L
64782011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6479
6480 [BZ #12775]
6481 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6482 * math/Makefile (tests): Add test-powl.
6483 (CFLAGS-test-powl.c): Define.
6484 * math/test-powl.c: New file.
6485
0a197a9d
L
64862011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6487
6488 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6489
ee30c380
UD
64902011-05-17 Ulrich Drepper <drepper@gmail.com>
6491
6492 [BZ #11837]
6493 * iconvdata/gb18030.c: Update to GB18020-2005.
6494
6ce75379
UD
64952011-05-16 Ulrich Drepper <drepper@gmail.com>
6496
a4b89fd8
AR
6497 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6498 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6499 Patch by Aharon Robbins <arnold@skeeve.com>.
6500
ea389b12
UD
6501 [BZ #11892]
6502 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6503 on the stack.
6504
68a3f91f
UD
6505 [BZ #11895]
6506 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6507 through underflows.
6508
15cc7dd1
UD
6509 [BZ #12766]
6510 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6511 point to strings before performing equality test for error_one_per_line
6512 mode.
6513
f3799213
UD
6514 [BZ #11697]
6515 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6516
d79a9c94
UD
6517 [BZ #11820]
6518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6519 (struct user_fpregs_struct): Avoid __uint*_t types.
6520
56e5eb46
UD
6521 [BZ #6420]
6522 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6523 symbol info. Use it instead of calling _dl_addr locally.
6524 (lock_and_info): New function.
6525 (tr_freehook): Call lock_and_info and pass symbol info as additional
6526 parameter to tr_where.
6527 (tr_mallochook): Likewise.
6528 (tr_reallochook): Likewise.
6529 (tr_memalignhook): Likewise.
6530
6ce75379
UD
6531 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6532 used and couldn't be at all thread-safe.
6533
f8a3b5bf
UD
65342011-05-15 Ulrich Drepper <drepper@gmail.com>
6535
94b7cc37
UD
6536 * libio/freopen.c (freopen): Don't close old file descriptor
6537 before the new one is opened. Instead dup the new file descriptor
6538 to the old one after the new stream is created.
6539 * libio/freopen64.c (freopen64): Likewise.
6540 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6541 * libio/fileops.c (_IO_new_file_close_it): Handle new
6542 _IO_FLAGS2_NOCLOSE flag.
6543 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6544 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6545 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6546 _IO_FLAGS2_NOCLOSE flag.
6547 * include/unistd.h: Add hidden_proto for dup3.
6548 Define __have_dup3.
6549 * io/dup3.c: Define hidden symbol.
6550 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6551
bd25564e
UD
6552 [BZ #7101]
6553 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6554 when an incomplete long option is used.
6555 * posix/tst-getopt_long1.c: New file.
6556 * posix/Makefile (tests): Add tst-getopt_long1.
6557
c84cfef4
UD
6558 [BZ #10138]
6559 * scripts/config.guess: Update from autoconf-2.68.
6560 * scripts/config.sub: Likewise.
6561
3b85df27
UD
6562 [BZ #10157]
6563 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6564 tests into ...
6565 (has_cpuclock): ...this. New function.
6566 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6567 macro here based on has_cpuclock code.
6568
15a856b1
UD
6569 [BZ #10149]
6570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6571 First byte (not low byte) is now always NUL.
6572 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6573
05f399e6
UD
6574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6575 Use non-cancelable interfaces.
6576
10a52685 6577 [BZ #9809]
94ecc67d
UD
6578 * locale/iso-639.def: Add entry for Sorani.
6579
f8a3b5bf
UD
6580 [BZ #11901]
6581 * include/stdlib.h: Move include protection to the right place.
6582 Define abort_msg_s. Declare __abort_msg with it.
6583 * stdlib/abort.c (__abort_msg): Adjust type.
6584 * assert/assert.c (__assert_fail_base): New function. Majority
6585 of code from __assert_fail. Allocate memory for __abort_msg with
6586 mmap.
6587 (__assert_fail): Now call __assert_fail_base.
6588 * assert/assert-perr.c: Remove bulk of implementation. Use
6589 __assert_fail_base.
6590 * include/assert.hL Declare __assert_fail_base.
6591 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6592 mmap.
6593 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6594
1af4e298
UD
65952011-05-14 Ulrich Drepper <drepper@gmail.com>
6596
f8a3b5bf 6597 [BZ #11952]
d26dfc60
MG
6598 [BZ #12453]
6599 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6600 until all modules are registered in the DTV.
6601 * elf/Makefile: Add rules to build and run tst-tls19.
6602 * elf/tst-tls19.c: New file.
6603 * elf/tst-tls19mod1.c: New file.
6604 * elf/tst-tls19mod2.c: New file.
6605 * elf/tst-tls19mod3.c: New file.
6606 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6607
2fc54d6f
UD
6608 [BZ #12083]
6609 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6610 correctly.
6611
98d76b46
UD
6612 [BZ #12601]
6613 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6614 two-byte sequence errors.
6615 * iconvdata/Makefile (tests): Add bug-iconv8.
6616 * iconvdata/bug-iconv8.c: New file.
6617
da3c19ef
UD
6618 [BZ #12626]
6619 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6620 buf2 definition.
6621
ca408c15
UD
6622 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6623
d6f67f7d
UD
6624 [BZ #12432]
6625 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6626 (dummy_getcfa): New function.
6627 (init): Get _Unwind_GetCFA address, use dummy if not found.
6628 (backtrace_helper): In recursion check, also check whether CFA changes.
6629 (__backtrace): Completely initialize arg.
6630
1af4e298 6631 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6632 storing incomplete byte sequence in state object. Avoid testing for
6633 guaranteed too small input if we know there is enough data available.
1af4e298 6634
da62f81b
AS
66352011-05-11 Andreas Schwab <schwab@redhat.com>
6636
6637 * Makeconfig (+link-pie): Indent.
6638 * Rules (binaries-pie): Define if $(have-fpie) and
6639 $(build-shared).
6640 (binaries-shared): Also filter out $(binaries-pie).
6641 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6642 * nscd/Makefile (others-pie): Add nscd.
6643 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6644 ($(objpfx)nscd): Remove command override.
6645 * login/Makefile (others-pie): Add pt_chown.
6646 ($(objpfx)pt_chown): Remove command override.
6647 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6648 remove command overrides.
6649
fcabc0f8
UD
66502011-05-13 Ulrich Drepper <drepper@gmail.com>
6651
20030ae6
UD
6652 * libio/tst_putwc.c: Fix error messages.
6653
fcabc0f8
UD
6654 [BZ #12724]
6655 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6656 currently writing and seek to current position when not.
6657 * libio/Makefile (tests): Add bug-fclose1.
6658 * libio/bug-fclose1.c: New file.
6659
320a5dc0
PB
66602011-05-12 Ulrich Drepper <drepper@gmail.com>
6661
6662 [BZ #12511]
6663 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6664 don't set DF_1_NODELETE here.
6665 (do_lookup_x): When entering new entry test for copy relocation
6666 and if necessary set DF_1_NODELETE flag.
6667 * elf/tst-unique4.cc: New file.
6668 * elf/tst-unique4.h: New file.
6669 * elf/tst-unique4lib.cc: New file.
6670 * elf/Makefile: Add rules to build and run tst-unique4.
6671 Patch by Piotr Bury <pbury@goahead.com>.
6672
22836f52
UD
66732011-05-11 Ulrich Drepper <drepper@gmail.com>
6674
f574184a
UD
6675 [BZ #12052]
6676 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6677
e1fb097f
UD
6678 [BZ #12625]
6679 * misc/mntent_r.c (addmntent): Flush the stream after the output
6680
22836f52
UD
6681 [BZ #12393]
6682 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6683 (is_trusted_path_normalize): Skip initial colon. Append slash
6684 to empty buffer. Duplicate is_trusted_path code but allow
6685 constructed patch to be prefix.
6686 (is_dst): Allow $ORIGIN followed by /.
6687 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6688 Correct testing of result of is_trusted_path_normalize
6689 (decompose_rpath): Fix warning.
6690
7b3b0b2a
UD
66912011-05-10 Ulrich Drepper <drepper@gmail.com>
6692
6693 [BZ #11257]
6694 * grp/initgroups.c (internal_getgrouplist): When we found the service
6695 list through the initgroups entry in nsswitch.conf do not always
6696 continue on a successful lookup. Don't always use the
eac80ce2 6697 __nss_group_database value if it is set.
7b3b0b2a
UD
6698 * nss/nsswitch.conf (initgroups): Change action for successful db
6699 lookup to continue for compatibility.
6700
2a81eaa5
UD
67012011-05-09 Ulrich Drepper <drepper@gmail.com>
6702
be97a69e
UD
6703 [BZ #11532]
6704 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6705 and CP774 modules.
6706 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6707 and CP774 modules.
6708 * iconvdata/tst-tables.sh: Likewise.
6709 * iconvdata/cp770.c: New file.
6710 * iconvdata/cp771.c: New file.
6711 * iconvdata/cp772.c: New file.
6712 * iconvdata/cp773.c: New file.
6713 * iconvdata/cp774.c: New file.
6714 * iconvdata/testdata/CP770: New file.
6715 * iconvdata/testdata/CP770..UTF8: New file.
6716 * iconvdata/testdata/CP771: New file.
6717 * iconvdata/testdata/CP771..UTF8: New file.
6718 * iconvdata/testdata/CP772: New file.
6719 * iconvdata/testdata/CP772..UTF8: New file.
6720 * iconvdata/testdata/CP773: New file.
6721 * iconvdata/testdata/CP773..UTF8: New file.
6722 * iconvdata/testdata/CP774: New file.
6723 * iconvdata/testdata/CP774..UTF8: New file.
6724
6725 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6726 END CHARMAP line.
6727 * iconvdata/gen-8bit-gap.sh: Likewise.
6728 * iconvdata/gen-8bit.sh: Likewise.
6729
c1e9e399
UD
6730 * locale/iso-639.def: Add ary entry.
6731
24c55fb3 6732 [BZ #11258]
96b4b1b0
UD
6733 * locale/C-translit.h.in: Add U20A1 transliteration.
6734
bdc2f971
KB
6735 [BZ #12178]
6736 * locale/iso-639.def: Add wae entry.
6737 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6738
2952b117
UD
6739 [BZ #12545]
6740 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6741 for n.
6742
2a81eaa5
UD
6743 [BZ #12711]
6744 * locale/C-translit.h.in: Add entry for U20B9.
6745 Patch by pravin.d.s@gmail.com.
6746
28377d1b
UD
67472011-05-08 Ulrich Drepper <drepper@gmail.com>
6748
7fb90fb8
UD
6749 [BZ #12713]
6750 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6751 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6752 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6753 in rtld. Use *stat64.
7fb90fb8 6754 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6755 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6756 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6757 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6758 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6759 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6760 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6761 __fstatat64 macros.
7fb90fb8
UD
6762 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6763 * dirent/rewinddir.c: Add libc_hidden_def.
6764 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6765 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6766
28377d1b
UD
6767 * include/dirent.h (__alloc_dir): Add flags parameter.
6768 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6769 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6770 __alloc_dir.
6771 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6772 from fdopendir if O_CLOEXEC is already set.
6773
66bdbaa4
AM
67742011-03-15 Alan Modra <amodra@gmail.com>
6775
6776 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6777 l_tls_firstbyte_offset non-zero. Save padding offset in
6778 l_tls_firstbyte_offset for later use.
6779 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6780 freeing static tls block.
6781
95721191
JN
67822011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6783
6784 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6785 where #ifdef was intended. The intent is to prevent ARG_MAX from
6786 being defined by the kernel headers.
6787
f87dfb1f
UD
67882011-05-07 Ulrich Drepper <drepper@gmail.com>
6789
6790 [BZ #12734]
6791 * resolv/resolv.h: Define RES_NOTLDQUERY.
6792 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6793 no-tld-query and set RES_NOTLDQUERY.
6794 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6795 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6796 modern BIND to search name as TLD unless forbidden.
6797
47c3cd7a
UD
67982011-05-07 Petr Baudis <pasky@suse.cz>
6799 Ulrich Drepper <drepper@gmail.com>
6800
6801 [BZ #12393]
6802 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6803 (is_trusted_path): ...to here.
c1e9ea35 6804 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6805 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6806 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6807
8a35c912
PP
68082011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6809
6810 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6811 __BEGIN/__END_DECLS.
6812
acd41f47
UD
68132011-05-06 Ulrich Drepper <drepper@gmail.com>
6814
6815 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6816 NSS_STATUS_NOTFOUND if no record was found.
6817
597df647
AS
68182011-05-05 Andreas Schwab <schwab@redhat.com>
6819
6820 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6821 (headers-not-in-tirpc): Remove rpc/netdb.h
6822 * resolv/netdb.h: Revert last change.
6823
b9af1301
PP
68242011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6825
6826 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6827 circular dependency between libgcc.a and libc.a.
6828
4e34d5f5
AS
68292011-05-05 Andreas Schwab <schwab@redhat.com>
6830
6831 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6832 * nis/Makefile: Don't install rpcsvc/*.
6833 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6834 instead of <rpc/types.h>.
6835 (MAXHOSTNAMELEN): Define.
6836
00ee369c
AS
68372011-05-03 Andreas Schwab <schwab@redhat.com>
6838
6839 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6840
0b592a30
MB
68412011-04-28 Maciej Babinski <mbabinski@google.com>
6842
6843 [BZ #12714]
6844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6845 gethostbyname4_r when IPv6 results are possible.
6846
6e04cbbe
UD
68472011-05-02 Ulrich Drepper <drepper@gmail.com>
6848
6849 [BZ #12723]
6850 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6851 _PC_PIPE_BUF handling.
6852
e4ecafe0
BH
68532011-04-30 Bruno Haible <bruno@clisp.org>
6854
6855 [BZ #12717]
6856 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6857 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6858 to 'int'.
6859 * inet/getnameinfo.c (getnameinfo): Likewise.
6860
125ee683
UD
68612011-04-29 Ulrich Drepper <drepper@gmail.com>
6862
6863 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6864 to groups setting in database lookup.
6865 * nss/nsswitch.conf: Add initgroups entry.
6866
b722481a
EB
68672011-04-22 Ulrich Drepper <drepper@gmail.com>
6868
6869 [BZ #12685]
6870 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6871 mode string.
6872 Patch by Eric Blake <eblake@redhat.com>.
6873
4df46dbd
L
68742011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6875
6876 * sunrpc/Makefile (need-export-routines): Add svc_run.
6877 (routines): Remove svc_run.
6878 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6879 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6880 * sunrpc/svc_run.c (svc_run): Likewise.
6881 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6882
e84142d2
UD
68832011-04-21 Ulrich Drepper <drepper@gmail.com>
6884
6885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6886 problem in reallocation in last patch.
6887
877175d8
UD
68882011-04-20 Ulrich Drepper <drepper@gmail.com>
6889
6890 * sunrpc/Makefile: Move inclusion of Rules.
6891
ab8eed78
UD
68922011-04-19 Ulrich Drepper <drepper@gmail.com>
6893
6894 * nss/nss_files/files-initgroups.c: New file.
6895 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6896 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6897 _nss_files_initgroups_dyn.
6898
e3d8f584
RS
68992011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6900
6901 * elf/elf.h (R_ARM_IRELATIVE): Define.
6902
af190f45
UD
69032011-04-19 Ulrich Drepper <drepper@gmail.com>
6904
6905 * po/ru.po: Update from translation team.
6906
53cf59ef
UD
69072011-04-17 Ulrich Drepper <drepper@gmail.com>
6908
6909 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6910 dependencies.
6911
4c559bcd
MF
69122011-02-06 Mike Frysinger <vapier@gentoo.org>
6913
6914 [BZ #12653]
6915 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6916 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6919 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6920
4420675c
AS
69212011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6922
6923 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6924 differing bytes.
6925 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6928
75ea32ab
UD
69292011-04-17 Ulrich Drepper <drepper@gmail.com>
6930
6931 [BZ #12420]
6932 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6933 storing it.
6934 * stdlib/bug-getcontext.c: New file.
6935 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6936
27390476
AK
69372011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6938
6939 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6940 instructions into .machine "z9-109".
6941 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6942 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6943
10442705
AK
69442011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6945
6946 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6947 between environment variables and auxiliary vector.
6948
7b57bfe5
UD
69492011-04-16 Ulrich Drepper <drepper@gmail.com>
6950
6951 * Makefile: Add rules to build linkobj/libc.so.
6952 * include/libc-symbols.h: Define libc_hidden_nolink.
6953 * include/rpc/auth.h: Mark functions which are to be hidden.
6954 * include/rpc/auth_des.h: Likewise.
6955 * include/rpc/auth_unix.h: Likewise.
6956 * include/rpc/clnt.h: Likewise.
6957 * include/rpc/des_crypt.h: Likewise.
6958 * include/rpc/key_prot.h: Likewise.
6959 * include/rpc/pmap_clnt.h: Likewise.
6960 * include/rpc/pmap_prot.h: Likewise.
6961 * include/rpc/pmap_rmt.h: Likewise.
6962 * include/rpc/rpc_msg.h: Likewise.
6963 * include/rpc/svc.h: Likewise.
6964 * include/rpc/svc_auth.h: Likewise.
6965 * include/rpc/xdr.h: Likewise.
6966 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6967 * nss/Makefile: Likewise.
6968 * sunrpc/Makefile: Don't install headers. Build library with normal
6969 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6970 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6971 for the compat linking library. Remove use of INTDEF/INTUSE.
6972 * sunrpc/auth_none.c: Likewise.
6973 * sunrpc/auth_unix.c: Likewise.
6974 * sunrpc/authdes_prot.c: Likewise.
6975 * sunrpc/authuxprot.c: Likewise.
6976 * sunrpc/clnt_gen.c: Likewise.
6977 * sunrpc/clnt_perr.c: Likewise.
6978 * sunrpc/clnt_raw.c: Likewise.
6979 * sunrpc/clnt_simp.c: Likewise.
6980 * sunrpc/clnt_tcp.c: Likewise.
6981 * sunrpc/clnt_udp.c: Likewise.
6982 * sunrpc/clnt_unix.c: Likewise.
6983 * sunrpc/des_crypt.c: Likewise.
6984 * sunrpc/des_soft.c: Likewise.
6985 * sunrpc/get_myaddr.c: Likewise.
6986 * sunrpc/key_call.c: Likewise.
6987 * sunrpc/key_prot.c: Likewise.
6988 * sunrpc/netname.c: Likewise.
6989 * sunrpc/pm_getmaps.c: Likewise.
6990 * sunrpc/pm_getport.c: Likewise.
6991 * sunrpc/pmap_clnt.c: Likewise.
6992 * sunrpc/pmap_prot.c: Likewise.
6993 * sunrpc/pmap_prot2.c: Likewise.
6994 * sunrpc/pmap_rmt.c: Likewise.
6995 * sunrpc/publickey.c: Likewise.
6996 * sunrpc/rpc_cmsg.c: Likewise.
6997 * sunrpc/rpc_common.c: Likewise.
6998 * sunrpc/rpc_dtable.c: Likewise.
6999 * sunrpc/rpc_prot.c: Likewise.
7000 * sunrpc/rpc_thread.c: Likewise.
7001 * sunrpc/rtime.c: Likewise.
7002 * sunrpc/svc.c: Likewise.
7003 * sunrpc/svc_auth.c: Likewise.
7004 * sunrpc/svc_authux.c: Likewise.
7005 * sunrpc/svc_raw.c: Likewise.
7006 * sunrpc/svc_run.c: Likewise.
7007 * sunrpc/svc_simple.c: Likewise.
7008 * sunrpc/svc_tcp.c: Likewise.
7009 * sunrpc/svc_udp.c: Likewise.
7010 * sunrpc/svc_unix.c: Likewise.
7011 * sunrpc/svcauth_des.c: Likewise.
7012 * sunrpc/xcrypt.c: Likewise.
7013 * sunrpc/xdr.c: Likewise.
7014 * sunrpc/xdr_array.c: Likewise.
7015 * sunrpc/xdr_float.c: Likewise.
7016 * sunrpc/xdr_intXX_t.c: Likewise.
7017 * sunrpc/xdr_mem.c: Likewise.
7018 * sunrpc/xdr_rec.c: Likewise.
7019 * sunrpc/xdr_ref.c: Likewise.
7020 * sunrpc/xdr_sizeof.c: Likewise.
7021 * sunrpc/xdr_stdio.c: Likewise.
7022
e6c61494
UD
70232011-04-10 Ulrich Drepper <drepper@gmail.com>
7024
7025 [BZ #12650]
7026 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7027 * sysdeps/ia64/dl-tls.h: Likewise.
7028 * sysdeps/powerpc/dl-tls.h: Likewise.
7029 * sysdeps/s390/dl-tls.h: Likewise.
7030 * sysdeps/sh/dl-tls.h: Likewise.
7031 * sysdeps/sparc/dl-tls.h: Likewise.
7032 * sysdeps/x86_64/dl-tls.h: Likewise.
7033 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7034
34fe483e
AS
70352011-03-14 Andreas Schwab <schwab@redhat.com>
7036
7037 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7038 rpath element also skip the following colon.
7039 (expand_dynamic_string_token): Add is_path parameter and pass
7040 down to DL_DST_REQUIRED and _dl_dst_substitute.
7041 (decompose_rpath): Call expand_dynamic_string_token with
7042 non-zero is_path. Ignore empty rpaths.
7043 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7044 with zero is_path.
7045
f12a32e6
AS
70462011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7047
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7049 Make cancelable.
7050
38a7d692
UD
70512011-04-09 Ulrich Drepper <drepper@gmail.com>
7052
7053 [BZ #12655]
7054 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7055 Patch by Filipe David Manana <fdmanana@apache.org>.
7056
e451d22b
AS
70572011-04-07 Andreas Schwab <schwab@redhat.com>
7058
7059 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7060 Maintain aligned stack.
7061 (CHECK_RSP): Remove unused macro.
7062
dedc7c7b
UD
70632011-04-03 Ulrich Drepper <drepper@gmail.com>
7064
7065 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7066 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7067
94521213
UD
70682011-04-02 Ulrich Drepper <drepper@gmail.com>
7069
7070 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7071
8cb700c0 7072 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7073
0354e355
L
70742011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7075
7076 [BZ #12518]
7077 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7078 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7079 * sysdeps/x86_64/memmove.c: New file.
7080 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7081 (memcpy): Renamed to ...
7082 (__new_memcpy): This.
7083 (memcpy): Provide GLIBC_2_14 memcpy.
7084 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7085 (memcpy): Provide GLIBC_2_2_5 memcpy.
7086
8593482f
UD
70872011-04-01 Ulrich Drepper <drepper@gmail.com>
7088
7089 [BZ #12631]
7090 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7091
81a5726b
AS
70922011-03-30 Andreas Schwab <schwab@redhat.com>
7093
7094 * misc/syncfs.c: New file.
7095 * misc/Makefile (routines): Add syncfs.
7096 * posix/unistd.h: Declare syncfs.
7097 * sysdeps/unix/syscalls.list: Add syncfs.
7098
00e5419f
AS
70992011-04-01 Andreas Schwab <schwab@redhat.com>
7100
7101 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7102 open_by_handle_at.
7103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7104 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7106 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7108 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7110
748876bf
UD
71112011-04-01 Ulrich Drepper <drepper@gmail.com>
7112
658e451d
UD
7113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7115 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7117 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7120
748876bf
UD
7121 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7122 sync_file_range.c with -fexceptions.
7123 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7124 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7125 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7126 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7127 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7128 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7130 sync_file_range as cancellation point
7131 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7132 now a wrapper around __call_sync_file_range with cancellation handling.
7133 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7134 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7135 function name to __call_sync_file_range.
7136 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7137 Add call_sync_file_range.
748876bf 7138
6e63d5e1
AS
71392011-04-01 Andreas Schwab <schwab@redhat.com>
7140
7141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7142 bits/timex.h.
6e63d5e1 7143
46998f74
UD
71442011-04-01 Ulrich Drepper <drepper@gmail.com>
7145
4c1423ed
UD
7146 * iconv/iconv.h: Fix typo in comment.
7147 * io/fcntl.h: Likewise.
7148 * libio/stdio.h: Likewise.
7149 * posix/spawn.h: Likewise.
7150 * posix/unistd.h: Likewise.
7151 * stdlib/stdlib.h: Likewise.
7152 * time/time.h: Likewise.
7153 * wcsmbs/wchar.h: Likewise.
7154
158648c0
UD
7155 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7156 open_by_handle): Add.
7157 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7158 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7159 Augment a few comments.
7160 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7165 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7166 open_by_handle.
7167
46998f74
UD
7168 * io/fcntl.h (AT_EMPTY_PATH): Define.
7169
83fe108b
UD
71702011-03-30 Ulrich Drepper <drepper@gmail.com>
7171
7172 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7173 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7174 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7175 to...
7176 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7177 * Versions.def: Add GLIBC_2.14.
7178 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7179 Export.
83fe108b 7180
bb242059
UD
71812011-03-22 Ulrich Drepper <drepper@gmail.com>
7182
7183 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7184 round counter.
7185 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7186
c97a1282
L
71872011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7188
7189 [BZ #12597]
7190 * string/test-strncmp.c (do_page_test): New function.
7191 (check2): Likewise.
7192 (test_main): Call check2.
7193 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7194
2a115601
UD
71952011-03-20 Ulrich Drepper <drepper@gmail.com>
7196
7197 [BZ #12587]
7198 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7199 Handle cache information in CPU leaf 4.
7200 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7201
8126d904
UD
72022011-03-18 Ulrich Drepper <drepper@gmail.com>
7203
042c49c6 7204 [BZ #12583]
8126d904
UD
7205 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7206 character representation.
7207 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7208
ccfe366e
RA
72092011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7210
7211 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7212 END(__isnan) to END(__isnanf) to match function entry point/label
7213 EALIGN(__isnanf,...).
7214
c6e13027
JJ
72152011-03-10 Jakub Jelinek <jakub@redhat.com>
7216
7217 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7218
33f85a3f
UD
72192011-03-10 Ulrich Drepper <drepper@gmail.com>
7220
028478fa
UD
7221 [BZ #12510]
7222 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7223 copy from the symbol referenced in the relocation to initialize the
7224 used variable.
7225 Patch by Piotr Bury <pbury@goahead.com>.
7226 * elf/Makefile: Add rules to build and tst-unique3.
7227 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7228 * elf/tst-unique3.cc: New file.
7229 * elf/tst-unique3.h: New file.
7230 * elf/tst-unique3lib.cc: New file.
7231 * elf/tst-unique3lib2.cc: New file.
7232
33f85a3f
UD
7233 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7234
03592fc7
MF
72352011-03-10 Mike Frysinger <vapier@gentoo.org>
7236
7237 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7238 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7239 to _start.
03592fc7 7240
6a5ee102
UD
72412011-03-06 Ulrich Drepper <drepper@gmail.com>
7242
7243 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7244 to-be-loaded object along a path to loader is ld.so.
7245
7e4ba49c
HJ
72462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7247 Ulrich Drepper <drepper@gmail.com>
7248
7249 * sysdeps/x86_64/memset.S: After aligning destination, code
7250 branches to different locations depending on the value of
7251 misalignment, when multiarch is enabled. Fix this.
7252
72532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7254
7255 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7256 Set _x86_64_preferred_memory_instruction for AMD processsors.
7257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7258 Set bit_Prefer_SSE_for_memop for AMD processors.
7259
13a804de
UD
72602011-03-04 Ulrich Drepper <drepper@gmail.com>
7261
7262 * libio/fmemopen.c (fmemopen): Optimize a bit.
7263
9d25c392
AS
72642011-03-03 Andreas Schwab <schwab@redhat.com>
7265
7266 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7267
a5543c6a
RM
72682011-03-03 Roland McGrath <roland@redhat.com>
7269
7270 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7271
012d35f7
DM
72722011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7273
7e4ba49c 7274 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7275 __bzero_ultra1 instead of __memset_ultra1.
7276
4bff6e01
AS
72772011-02-23 Andreas Schwab <schwab@redhat.com>
7278 Ulrich Drepper <drepper@gmail.com>
7279
7280 [BZ #12509]
7281 * include/link.h (struct link_map): Add l_orig_initfini.
7282 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7283 returning unsuccessfully.
7284 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7285 close of a file loaded at startup, restore the original l_initfini
7286 list.
7287 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7288 list, store the pointer.
7289 * elf/Makefile ($(objpfx)noload-mem): New rule.
7290 (noload-ENV): Define.
7291 (tests): Add $(objpfx)noload-mem.
7292 * elf/noload.c: Include <memcheck.h>.
7293 (main): Call mtrace. Close all opened handles.
7294
f2092faf
AS
72952011-02-17 Andreas Schwab <schwab@redhat.com>
7296
7297 [BZ #12454]
7298 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7299 dependencies are missing.
7300
6c8a2e88
ST
73012011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7302
f2092faf 7303 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7304 Hurd needs munmap.
7305 * sysdeps/mach/hurd/ifreq.h: New file.
7306
84a42118
PB
73072011-01-27 Petr Baudis <pasky@suse.cz>
7308 Ulrich Drepper <drepper@gmail.com>
7309
071f805e 7310 [BZ 12445]#
84a42118
PB
7311 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7312 to extend_alloca().
7313 * stdio-common/bug23.c: New file.
7314 * stdio-common/Makefile (tests): Add bug23.
7315
e23fe25b
AS
73162010-09-28 Andreas Schwab <schwab@redhat.com>
7317 Ulrich Drepper <drepper@gmail.com>
7318
7319 [BZ #12489]
7320 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7321 before performing relro protection. At old place add assertion
7322 to make sure nothing changed.
7323
d3f02e10
NS
73242011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7325 Glauber de Oliveira Costa <glommer@gmail.com>
7326
7327 * elf/elf.h: Add new ARM TLS relocs.
7328
d55fd7a5
RA
73292011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7330
7331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7332 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7333 cast from r3.
7334 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7335 'tests' variable.
7336 * sysdeps/wordsize-64/tst-writev.c: New file.
7337
2206397e
RA
73382011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7339
7340 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7341 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7342 insns in _dl_start to prevent a TOC reference before relocs are
7343 resolved.
7344
e9433893
UD
73452011-02-15 Ulrich Drepper <drepper@gmail.com>
7346
7347 [BZ #12469]
7348 * Makeconfig: Remove RANLIB definition.
7349 * Makerules: Don't use RANLIB.
7350 * aclocal.m4: Remove ranlib test.
7351 * configure.in: No need to check for ranlib.
7352 * elf/rtld-Rules: Don't use RANLIB.
7353
f75286c6
ST
73542011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7355
8e31c82d
ST
7356 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7357 protection macro.
7358 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7359 inclusion protection macro.
7360
f75286c6
ST
7361 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7362 SIGRTMIN and SIGRTMAX and print information in that case only when
7363 SIGRTMIN is defined.
7364
c1d0e639
JJ
73652011-02-11 Jakub Jelinek <jakub@redhat.com>
7366
7367 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7368 arginfo fn returning -1.
7369
7370 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7371 and thousands string is zero terminated.
7372
edf9294e
AS
73732011-02-03 Andreas Schwab <schwab@redhat.com>
7374
7375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7376 sysdeps/unix/sysv/linux/bits/socket.h.
7377
2b7e92df
ST
73782011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7379
edf9294e
AS
7380 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7381 (__CPU_COUNT): Remove old macros.
7382 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7383 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7384 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7385 (__sched_cpualloc, __sched_cpufree): Add declarations.
7386
a4c7ea7b
UD
73872011-02-05 Ulrich Drepper <drepper@gmail.com>
7388
7389 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7390 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7391 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7392 (readdhstai): Return value of addhstaiX call.
7393 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7394 (addgrbyX): Return value returned by cache_addgr.
7395 (readdgrbyname): Return value returned by addgrbyX.
7396 (readdgrbygid): Likewise.
7397 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7398 (addpwbyX): Return value returned by cache_addpw.
7399 (readdpwbyname): Return value returned by addhstbyX.
7400 (readdpwbyuid): Likewise.
7401 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7402 (addservbyX): Return value returned by cache_addserv.
7403 (readdservbyname): Return value returned by addservbyX:
7404 (readdservbyport): Likewise.
7405 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7406 (addhstbyX): Return value returned by cache_addhst.
7407 (readdhstbyname): Return value returned by addhstbyX.
7408 (readdhstbyaddr): Likewise.
7409 (readdhstbynamev6): Likewise.
7410 (readdhstbyaddrv6): Likewise.
7411 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7412 (readdinitgroups): Return value returned by addinitgroupsX.
7413 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7414 (prune_cache): Keep track of timeout value of re-added entries.
7415 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7416 * nscd/nscd.h: Adjust prototypes of readd* functions.
7417
a0bf67cc
RM
74182011-02-04 Roland McGrath <roland@redhat.com>
7419
7420 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7421 (nis_stats): Likewise.
7422 * nis/nis_modify.c (nis_modify): Likewise.
7423 * nis/nis_remove.c (nis_remove): Likewise.
7424 * nis/nis_add.c (nis_add): Likewise.
7425
7426 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7427
7428 * posix/fnmatch_loop.c: Add some consts.
7429
7430 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7431
435b95eb
L
74322011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7433
7434 [BZ #12460]
7435 * config.make.in (config-cflags-novzeroupper): Define.
7436 * configure.in: Substitute libc_cv_cc_novzeroupper.
7437 * elf/Makefile (AVX-CFLAGS): Define.
7438 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7439 (CFLAGS-tst-auditmod4a.c): Likewise.
7440 (CFLAGS-tst-auditmod4b.c): Likewise.
7441 (CFLAGS-tst-auditmod6b.c): Likewise.
7442 (CFLAGS-tst-auditmod6c.c): Likewise.
7443 (CFLAGS-tst-auditmod7b.c): Likewise.
7444 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7445
8517b15e
UD
74462011-02-02 Ulrich Drepper <drepper@gmail.com>
7447
7448 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7449 function to the callback.
7450 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7451
10a656fe
AS
74522011-02-02 Andreas Schwab <schwab@redhat.com>
7453
7454 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7455 of errno.
7456
968dad0a
UD
74572011-01-19 Ulrich Drepper <drepper@gmail.com>
7458
9f94d2ea 7459 [BZ #11724]
968dad0a
UD
7460 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7461 of constructors.
7462 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7463 of destructors.
7464 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7465
7466 [BZ #11724]
7467 * elf/Makefile: Add rules to build and run new test.
7468 * elf/tst-initorder.c: New file.
7469 * elf/tst-initorder.exp: New file.
7470 * elf/tst-initordera1.c: New file.
7471 * elf/tst-initordera2.c: New file.
7472 * elf/tst-initordera3.c: New file.
7473 * elf/tst-initordera4.c: New file.
7474 * elf/tst-initorderb1.c: New file.
7475 * elf/tst-initorderb2.c: New file.
7476 * elf/tst-order-a1.c: New file.
7477 * elf/tst-order-a2.c: New file.
7478 * elf/tst-order-a3.c: New file.
7479 * elf/tst-order-a4.c: New file.
7480 * elf/tst-order-b1.c: New file.
7481 * elf/tst-order-b2.c: New file.
7482 * elf/tst-order-main.c: New file.
7483 New test case by George Gensure <werkt0@gmail.com>.
7484
86e92359
UD
74852010-10-01 Andreas Schwab <schwab@redhat.com>
7486
7487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7488 decoding ACE if AI_CANONIDN.
7489
5d5732b0
UD
74902011-01-18 Ulrich Drepper <drepper@gmail.com>
7491
7492 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7493
a77e8cbc
UD
74942011-01-17 Ulrich Drepper <drepper@gmail.com>
7495
6392473f
UD
7496 * version.h (RELEASE): Bump for 2.13 release.
7497 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7498
620a0529
UD
7499 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7500
18ba70a5
UD
7501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7502 MADV_NOHUGEPAGE.
32465c3e
UD
7503 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7504 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7505 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7506 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7507 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7508 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7509
c0dafcf1
UD
7510 * posix/getconf.c: Update copyright year.
7511 * catgets/gencat.c: Likewise.
7512 * csu/version.c: Likewise.
7513 * debug/catchsegv.sh: Likewise.
7514 * debug/xtrace.sh: Likewise.
7515 * elf/ldconfig.c: Likewise.
7516 * elf/ldd.bash.in: Likewise.
7517 * elf/sprof.c (print_version): Likewise.
7518 * iconv/iconv_prog.c: Likewise.
7519 * iconv/iconvconfig.c: Likewise.
7520 * locale/programs/locale.c: Likewise.
7521 * locale/programs/localedef.c: Likewise.
7522 * malloc/memusage.sh: Likewise.
7523 * malloc/mtrace.pl: Likewise.
7524 * nscd/nscd.c (print_version): Likewise.
7525 * nss/getent.c: Likewise.
7526
a77e8cbc
UD
7527 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7528 PF_CAIF, and PF_ALG.
7529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7530
77e8bddf
AS
75312011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7532
1f20b93a
AS
7533 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7534 (modules-names): Use them.
7535 (ifunc-test-modules, ifunc-pie-tests): Define.
7536 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7537 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7538 (test-extras): Likewise.
7539 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7540 $(compile-command.c).
7541 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7542 (all-built-dso): Define.
7543 (check-textrel.out, check-execstack.out): Depend on it.
7544
77e8bddf
AS
7545 * configure.in: Don't override --enable-multi-arch.
7546
bc425b33
UD
75472011-01-15 Ulrich Drepper <drepper@gmail.com>
7548
7549 [BZ #6812]
7550 * nscd/hstcache.c (tryagain): Define.
7551 (cache_addhst): Return tryagain not notfound for temporary errors.
7552 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7553 failed.
7554
794c3ad3
UD
75552011-01-14 Ulrich Drepper <drepper@gmail.com>
7556
70181fdd
UD
7557 [BZ #10563]
7558 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7559 to make the syscall.
7560 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7561
794c3ad3
UD
7562 [BZ #12378]
7563 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7564 and fall back to matching as normal character if the string ends before
7565 the matching ']' is found. This is what POSIX requires.
7566 * posix/testfnm.c: Adjust test result.
7567 * posix/globtest.sh: Adjust test result. Add new test.
7568 * posix/tst-fnmatch.input: Likewise.
7569 * posix/tst-fnmatch2.c: Add new test.
7570
68dc9497
AS
75712010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7572
7573 * elf/Makefile (check-execstack): Revert last change. Depend on
7574 check-execstack.h.
7575 (check-execstack.h): New target.
7576 (generated): Add check-execstack.h.
7577 * elf/check-execstack.c: Include "check-execstack.h".
7578 (main): Revert last change.
7579 (handle_file): Return zero if GNU_STACK is absent and
7580 DEFAULT_STACK_PERMS doesn't include PF_X.
7581
451f001b
UD
75822011-01-13 Ulrich Drepper <drepper@gmail.com>
7583
cfa28e56
UD
7584 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7585 in child fails because the descriptor is already closed.
8cf8ce17
UD
7586 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7587 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7588 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7589
1086d70d
UD
7590 [BZ #12397]
7591 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7592 syscall.
7593
451f001b
UD
7594 [BZ #10484]
7595 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7596 temporary buffer used to handle multi lookups locally.
a85b5cb4 7597 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7598
08769175
UD
75992011-01-12 Ulrich Drepper <drepper@gmail.com>
7600
7601 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7602 loader is ld.so.
7603
5e49c52e
UD
76042011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7605
7606 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7607 alignment for SSE2.
7608
60522a5f
UD
76092011-01-12 Ulrich Drepper <drepper@gmail.com>
7610
7611 [BZ #12394]
7612 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7613 characters. When rounding increased number of integer digits recompute
7614 number of groups.
7615 * stdio-common/tst-grouping.c: New file.
7616 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7617
f257bbd7
UD
76182011-01-09 Ulrich Drepper <drepper@gmail.com>
7619
7620 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7621 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7622
7623 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7624 void.
7625 * bits/select.h: Likewise.
7626
fa9c15cb
UD
76272011-01-08 Ulrich Drepper <drepper@gmail.com>
7628
7629 * po/ja.po: Update from translation team.
7630
16c2895f
DM
76312011-01-04 David S. Miller <davem@sunset.davemloft.net>
7632
7633 [BZ #11155]
7634 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7635 implementation just like for lxstat, fxstatat, et al.
7636
2543fef2
JM
76372010-12-27 Jim Meyering <meyering@redhat.com>
7638
7639 [BZ #12348]
7640 * posix/regexec.c (build_trtable): Return failure indication upon
7641 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7642
98727dbe
UD
76432010-12-25 Ulrich Drepper <drepper@gmail.com>
7644
5bd6dc5c
UD
7645 [BZ #12201]
7646 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7647 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7648 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7650
97983464
UD
7651 [BZ #12207]
7652 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7653
98727dbe
UD
7654 [BZ #12204]
7655 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7656 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7657
4a531bb0
L
76582010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7659
7660 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7661 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7662 script has SORT_BY_INIT_PRIORITY.
7663 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7664 NO_CTORS_DTORS_SECTIONS is defined.
7665 * elf/soinit.c: Likewise.
7666 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7667 NO_CTORS_DTORS_SECTIONS is defined.
7668 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7669 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7670 * sysdeps/sh/init-first.c: Likewise.
7671 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7672
07eb4b71
UD
76732010-12-24 Ulrich Drepper <drepper@gmail.com>
7674
7675 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7676 always use the slow path.
7677
30950a5f
RA
76782010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7679
7680 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7681 similar rule which adds the sysdep directories to the header search in
7682 order to pick up the correct platform stackinfo.h.
7683 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7684 perform test if it is, otherwise return successfully without testing.
7685 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7686 DEFAULT_STACK_PERMS define in stackinfo.h.
7687 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7688 defined in stackinfo.h.
7689 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7690 DEFAULT_STACK_PERMS defined in stackinfo.h.
7691 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7692 * sysdeps/ia64/stackinfo.h: Likewise.
7693 * sysdeps/s390/stackinfo.h: Likewise.
7694 * sysdeps/sh/stackinfo.h: Likewise.
7695 * sysdeps/sparc/stackinfo.h: Likewise.
7696 * sysdeps/x86_64/stackinfo.h: Likewise.
7697 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7698 PF_X for powerpc64. Retain PF_X for powerpc32.
7699
db753e2c
UD
77002010-12-19 Ulrich Drepper <drepper@gmail.com>
7701
14b697f7
UD
7702 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7703 accurately.
db753e2c
UD
7704 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7705 GETDENTS_64BIT_ALIGNED.
7706
28300719
UD
77072010-12-14 Ulrich Drepper <dreper@gmail.com>
7708
14b697f7 7709 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7710
4f197237
AS
77112010-12-10 Andreas Schwab <schwab@redhat.com>
7712
dbb0472f
AS
7713 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7714 _GNU_SOURCE.
7715
4f197237
AS
7716 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7717 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7718 Remove __restrict.
7719 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7720 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7721
fb88ac72
UD
77222010-12-09 Ulrich Drepper <drepper@gmail.com>
7723
7724 [BZ #11655]
7725 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7726 are initialized.
7727
42acbb92
JJ
77282010-12-09 Jakub Jelinek <jakub@redhat.com>
7729
7730 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7731
c038d98d
UD
77322010-12-03 Ulrich Drepper <drepper@gmail.com>
7733
7734 * po/it.po: Update from translation team.
7735
3a4a2499
L
77362010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7739 unused codes.
7740
1e24cf6e
UD
77412010-11-30 Ulrich Drepper <drepper@gmail.com>
7742
7743 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7744
a7690819
AS
77452010-11-24 Andreas Schwab <schwab@redhat.com>
7746
7747 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7748 specially.
7749 (gaih_getanswer_slice): Likewise.
7750
3bf8d1b1
JJ
77512010-10-20 Jakub Jelinek <jakub@redhat.com>
7752
7753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7754
6db52fbb
PB
77552010-05-31 Petr Baudis <pasky@suse.cz>
7756
7757 [BZ #11149]
7758 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7759 silently even in the chroot mode.
7760
eaca7569
UD
77612010-11-22 Ulrich Drepper <drepper@gmail.com>
7762
7763 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7764 last patch a bit. Pretty printing
7765
3056dcdb
UD
77662010-05-31 Petr Baudis <pasky@suse.cz>
7767
7768 [BZ #10085]
7769 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7770 initialization of skip_initgroups_dyn.
7771
cf7c9078
UD
77722010-11-19 Ulrich Drepper <drepper@gmail.com>
7773
7774 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7776
a1fb5e3e
UD
77772010-11-16 Ulrich Drepper <drepper@gmail.com>
7778
7779 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7780
3540d66b
AS
77812010-11-11 Andreas Schwab <schwab@redhat.com>
7782
7783 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7784 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7785 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7786 ($(objpfx)tst-fnmatch-mem): New rule.
7787 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7788 * posix/tst-fnmatch.c (main): Call mtrace.
7789
13b69574
L
77902010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7791
7792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7793 Support Intel processor model 6 and model 0x2c.
7794
da93d214
LM
77952010-11-10 Luis Machado <luisgpm@br.ibm.com>
7796
7797 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7798 signed comparison.
7799
8ca52c6e
L
78002010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7801
7802 [BZ #12205]
7803 * string/test-strncasecmp.c (check_result): New function.
7804 (do_one_test): Use it.
7805 (check1): New function.
7806 (test_main): Use it.
7807 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7808 Support strcasecmp and strncasecmp.
7809
69da074d
UD
78102010-11-08 Ulrich Drepper <drepper@gmail.com>
7811
7812 [BZ #12194]
7813 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7815
ff02d528
L
78162010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7817
7818 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7819 IFUNC support.
7820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7821 memset-x86-64.
7822 * sysdeps/x86_64/multiarch/bzero.S: New file.
7823 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7824 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7825 * sysdeps/x86_64/multiarch/memset.S: New file.
7826 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7828 Set bit_Prefer_SSE_for_memop for Intel processors.
7829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7830 Define.
7831 (index_Prefer_SSE_for_memop): Define.
7832 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7833
344d0b54
LM
78342010-11-04 Luis Machado <luisgpm@br.ibm.com>
7835
7836 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7837 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7838
c0dde15b
UD
78392010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7840
7841 [BZ #12191]
7842 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7843 (__x86_64_raw_data_cache_size_half): Likewise.
7844 (__x86_64_raw_shared_cache_size): Likewise.
7845 (__x86_64_raw_shared_cache_size_half): Likewise.
7846
7847 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7848 (__x86_64_raw_data_cache_size_half): Likewise.
7849 (__x86_64_raw_shared_cache_size): Likewise.
7850 (__x86_64_raw_shared_cache_size_half): Likewise.
7851 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7852 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7853 and __x86_64_raw_shared_cache_size_half. Round
7854 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7855 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7856 to multiple of 256 bytes.
7857
0e516e0e
MS
78582010-11-03 Ulrich Drepper <drepper@gmail.com>
7859
7860 [BZ #12167]
7861 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7862 of inacessible symlinks. Verify result of symlink before returning it.
7863 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7864 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7865
0e012e87
ER
78662010-10-28 Erich Ritz <erichritz@gmail.com>
7867
7868 * math/math.h (isinf): Fix typo in comment.
7869
de0ff7bc
UD
78702010-11-01 Ulrich Drepper <drepper@gmail.com>
7871
7872 * po/da.po: Update from translation team.
7873
fa41c84d
UD
78742010-10-26 Ulrich Drepper <drepper@gmail.com>
7875
7876 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7877 is added to the list.
7878
f0967738
AK
78792010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7880 Ulrich Drepper <drepper@gmail.com>
7881
7882 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7883 the global list here. Move code to...
7884 (_dl_add_to_namespace_list): ...here. New function.
7885 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7886 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7887 * elf/dl-load.c (lose): Don't remove the element from the list.
7888 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7889 (_dl_map_object): Likewise.
7890
78912010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7892
7893 [BZ #12159]
7894 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7895 into all bytes of SSE register.
7896 Patch by Richard Li <richardpku@gmail.com>.
7897
f0967738 78982010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
7899
7900 [BZ #12140]
7901 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7902 perturbing.
7903
d0b9e94f
MB
79042010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7905
7906 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7907 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7908 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7909 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7911 submachine.
7912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7913
8e9f92e9
AS
79142010-10-22 Andreas Schwab <schwab@redhat.com>
7915
7916 * include/dlfcn.h (__RTLD_SECURE): Define.
7917 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7918 mode & __RTLD_SECURE instead.
7919 (open_path): Rename preloaded parameter to secure.
7920 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7921 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7922 * elf/dl-deps.c (openaux): Likewise.
7923 * elf/rtld.c (struct map_args): Remove is_preloaded.
7924 (map_doit): Don't use it.
7925 (dl_main): Likewise.
7926 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7927 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7928
bc96fbda
AS
79292010-09-09 Andreas Schwab <schwab@redhat.com>
7930
7931 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7932 (sysd-rules-targets): Remove duplicates.
7933 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7934 rtld-%.$o dependency.
7935
22cd1c9b
AS
79362010-10-18 Andreas Schwab <schwab@redhat.com>
7937
7938 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7939 _dl_map_object do it.
7940
18edac48
UD
79412010-10-19 Ulrich Drepper <drepper@gmail.com>
7942
7943 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7944 fast fma builtins, define the macros in the C99 standard.
7945 (FP_FAST_FMAF): Likewise.
7946 (FP_FAST_FMAL): Likewise.
7947 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7948
7949 * bits/mathdef.h: Update copyright year.
7950 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7951
d2050124
MM
79522010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7953
7954 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7955 builtins, define the macros in the C99 standard.
7956 (FP_FAST_FMAF): Likewise.
7957 (FP_FAST_FMAL): Likewise.
7958 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7959 multiply/add.
7960 (FP_FAST_FMAF): Likewise.
7961
475facd1
JJ
79622010-10-15 Jakub Jelinek <jakub@redhat.com>
7963
7964 [BZ #3268]
7965 * math/libm-test.inc (fma_test): Some new testcases.
7966 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7967 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7968 y and infinite z. Do multiplication by C already in long double.
7969 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7971 y and infinite z. Do bitwise or of inexact bit into u.d.
7972 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7973 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7974 * sysdeps/i386/fpu/s_fma.S: Removed.
7975 * sysdeps/i386/fpu/s_fmal.S: Removed.
7976
7c08a05c
JJ
79772010-10-16 Jakub Jelinek <jakub@redhat.com>
7978
7979 [BZ #3268]
7980 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7982 computation is not scheduled after fetestexcept. Fix value
7983 of minimum denormal long double.
7984
f3f7372d
JJ
79852010-10-14 Jakub Jelinek <jakub@redhat.com>
7986
7987 [BZ #3268]
7988 * math/libm-test.inc (fma_test): Add some more tests.
7989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7990 correctly.
7991
14d43591
AS
79922010-10-15 Andreas Schwab <schwab@redhat.com>
7993
7994 * scripts/data/localplt-s390-linux-gnu.data: New file.
7995 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7996
5e908464
JJ
79972010-10-13 Jakub Jelinek <jakub@redhat.com>
7998
7999 [BZ #3268]
8000 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8001 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8002 instead of dbl-64.
8003 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8004 inlines.
8005 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8007 if one of x and y is very large and the other is subnormal.
8008 * sysdeps/s390/fpu/s_fmaf.c: New file.
8009 * sysdeps/s390/fpu/s_fma.c: New file.
8010 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8011 * sysdeps/powerpc/fpu/s_fma.S: New file.
8012 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8013 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8014 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8015
80162010-10-12 Jakub Jelinek <jakub@redhat.com>
8017
8018 [BZ #3268]
8019 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8020 fma tests.
8021 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8022 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8023 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8024 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8025 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8026 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8027 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8028
b833d51f
UD
80292010-10-12 Ulrich Drepper <drepper@redhat.com>
8030
8031 [BZ #12078]
8032 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8033 * posix/bug-regex31.input: Add test case.
8034
1751705d
UD
80352010-10-11 Ulrich Drepper <drepper@gmail.com>
8036
e9b9cbf5
UD
8037 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8038 * posix/bug-regex31.input: New file.
8039
8040 [BZ #12078]
8041 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8042 (parse_sub_exp): Fix last change, use postorder.
8043
ef06edbe
UD
8044 * posix/bug-regex31.c: New file.
8045 * posix/Makefile: Add rules to build and run bug-regex31.
8046
a129c80d
UD
8047 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8048
8049 [BZ #12078]
8050 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8051
b76b818e
UD
8052 [BZ #12108]
8053 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8054 to have entries in sys_siglist.
8055
1751705d
UD
8056 [BZ #12093]
8057 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8058 be NULL.
8059
9ff8d36f
JJ
80602010-10-07 Jakub Jelinek <jakub@redhat.com>
8061
8062 [BZ #3268]
8063 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8064 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8065 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8066 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8067 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8068 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8069 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8070 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8071 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8072 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8073 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8074 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8075 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8076 * math/ftestexcept.c (fetestexcept): Likewise.
8077 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8078 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8079 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8080 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8081 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8082 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8083 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8084
af325969
UD
80852010-10-11 Ulrich Drepper <drepper@gmail.com>
8086
c579b202 8087 [BZ #12107]
af325969
UD
8088 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8089 newline.
8090
67a67b95
UD
80912010-10-06 Ulrich Drepper <drepper@gmail.com>
8092
8093 * string/bug-strstr1.c: New file.
8094 * string/Makefile: Add rules to build and run bug-strstr1.
8095
5fb308bc
EB
80962010-10-05 Eric Blake <eblake@redhat.com>
8097
8098 [BZ #12092]
8099 * string/str-two-way.h (two_way_long_needle): Always clear memory
8100 when skipping input due to the shift table.
8101
45db99c7
UD
81022010-10-03 Ulrich Drepper <drepper@gmail.com>
8103
3b111893
UD
8104 [BZ #12005]
8105 * malloc/mcheck.c: Handle large requests.
8106
45db99c7
UD
8107 [BZ #12077]
8108 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8109 for strncmp and strncasecmp.
8110 * string/stratcliff.c: Add tests for strcmp and strncmp.
8111 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8112
cf7a1eb8
NI
81132010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8114
8115 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8116 __set_fpscr.
8117
6484ba5e
AJ
81182010-09-30 Andreas Jaeger <aj@suse.de>
8119
8120 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8121 (CGROUP_SUPER_MAGIC): Define.
8122 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8123 Handle btrfs and cgroup file systems.
8124 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8125 Likewise.
8126
91c42559
LM
81272010-09-27 Luis Machado <luisgpm@br.ibm.com>
8128
8129 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8130 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8131
87a97932
AK
81322010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8133
8134 [BZ #12067]
8135 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8136 trying to locate the ELF header.
8137
c21cc9bc
AS
81382010-09-27 Andreas Schwab <schwab@redhat.com>
8139
8140 [BZ #11611]
8141 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8142 Mask out sign-bit copies when constructing f_fsid.
8143
315970f6
PB
81442010-09-24 Petr Baudis <pasky@suse.cz>
8145
8146 * debug/stack_chk_fail_local.c: Add missing licence exception.
8147 * debug/warning-nop.c: Likewise.
8148
1ac7a2c7
JM
81492010-09-15 Joseph Myers <joseph@codesourcery.com>
8150
8151 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8152 implementing getdents64 using getdents syscall, set d_type if
8153 __ASSUME_GETDENTS32_D_TYPE.
8154
56801c50
AS
81552010-09-16 Andreas Schwab <schwab@redhat.com>
8156
8157 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8158 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8159
dda51327
UD
81602010-09-21 Ulrich Drepper <drepper@redhat.com>
8161
8162 [BZ #12037]
8163 * posix/unistd.h: Undo change of feature selection for ftruncate from
8164 2010-01-11.
8165
8ffcee4a
UD
81662010-09-20 Ulrich Drepper <drepper@redhat.com>
8167
a545ecd9 8168 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8169 detection.
8170
e24f0a8b
AS
81712010-09-20 Andreas Schwab <schwab@redhat.com>
8172
8173 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8174 fanotify_mark.
8175 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8176
7291c56f
AS
81772010-09-14 Andreas Schwab <schwab@redhat.com>
8178
8179 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8180 variables after CHECK_SP call.
8181 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8182
bc5fb037
AS
81832010-09-13 Andreas Schwab <schwab@redhat.com>
8184 Ulrich Drepper <drepper@redhat.com>
8185
8186 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8187 re-relocationg ld.so.
8188 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8189 _dl_init_paths call.
8190 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8191 here anymore.
8192
e66e7419
UD
81932010-09-14 Ulrich Drepper <drepper@redhat.com>
8194
8195 * resolv/res_init.c (__res_vinit): Count the default server we added.
8196
c044aa75
CLT
81972010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8198 Ulrich Drepper <drepper@redhat.com>
8199
8200 [BZ #11968]
8201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8202 (____longjmp_chk): Use %ebx for saving value across system call.
8203 Add unwind info.
8204
32cf4069
AS
82052010-09-06 Andreas Schwab <schwab@redhat.com>
8206
8207 * manual/Makefile: Don't mix pattern rules with normal rules.
8208
817328ee
AS
82092010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8210
8211 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8212 operation.
8213 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8214 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8215 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8216 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8218 Likewise.
8219
29fddf61
UD
82202010-09-04 Ulrich Drepper <drepper@redhat.com>
8221
8222 [BZ #11979]
8223 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8224 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8225
0959ffc9
UD
82262010-09-02 Ulrich Drepper <drepper@redhat.com>
8227
8228 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8229 * sysdeps/x86_64/addmul_1.S: Likewise.
8230 * sysdeps/x86_64/lshift.S: Likewise.
8231 * sysdeps/x86_64/mul_1.S: Likewise.
8232 * sysdeps/x86_64/rshift.S: Likewise.
8233 * sysdeps/x86_64/sub_n.S: Likewise.
8234 * sysdeps/x86_64/submul_1.S: Likewise.
8235
ece29840
ST
82362010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8237
0959ffc9
UD
8238 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8239 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8240 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8241 * bits/sched.h [__need_schedparam]
ece29840 8242 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8243 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8244 (__defined_schedparam): Define to 1.
ece29840
ST
8245 (__sched_param): New structure, identical to sched_param.
8246 (__need_schedparam): Undefine.
8247
e53a31fe
MF
82482010-08-31 Mike Frysinger <vapier@gentoo.org>
8249
fdc0c10d
MF
8250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8251 (epoll_create1): Declare.
8252
e53a31fe
MF
8253 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8254
a726d796
AS
82552010-08-31 Andreas Schwab <schwab@redhat.com>
8256
8257 [BZ #7066]
8258 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8259 shifting retval into place.
8260
2f3e3dc7
UD
82612010-09-01 Ulrich Drepper <drepper@redhat.com>
8262
f2933da9
UD
8263 * nis/rpcsvc/nis.h: Update copyright notice.
8264 * nis/rpcsvc/nis.x: Likewise.
8265 * nis/rpcsvc/nis_callback.h: Likewise.
8266 * nis/rpcsvc/nis_callback.x: Likewise.
8267 * nis/rpcsvc/nis_object.x: Likewise.
8268 * nis/rpcsvc/nis_tags.h: Likewise.
8269 * nis/rpcsvc/yp.h: Likewise.
8270 * nis/rpcsvc/yp.x: Likewise.
8271 * nis/rpcsvc/ypupd.h: Likewise.
8272 * nis/yp_xdr.c: Likewise.
8273 * nis/ypupdate_xdr.c: Likewise.
8274
2f3e3dc7
UD
8275 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8276 mainly the body of pmap_getport. Add parameters to specify timeouts.
8277 (pmap_getport): Use __libc_rpc_getport.
8278 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8279 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8280 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8281
f3dcc2f9
AS
82822010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8283
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8285 fanotify_mark.
8286
6d34eb5b
RM
82872010-08-27 Roland McGrath <roland@redhat.com>
8288
8289 * sysdeps/i386/i686/multiarch/Makefile
8290 (CFLAGS-varshift.c): New variable.
8291
9ea3de11
UD
82922010-08-27 Ulrich Drepper <drepper@redhat.com>
8293
c96d23fc
UD
8294 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8295 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8296
9ea3de11
UD
8297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8298
8299 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8300
623aac7f
L
83012010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8302
8303 * sysdeps/x86_64/strlen.S: Unroll the loop.
8304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8305 strlen-sse2 strlen-sse2-bsf.
8306 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8307 __strlen_no_bsf if bit_Slow_BSF is set.
8308 (__strlen_sse42): Removed.
8309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8310 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8311
8b2b7715
RM
83122010-08-25 Roland McGrath <roland@redhat.com>
8313
8314 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8315 * sysdeps/x86_64/multiarch/varshift.c: New file.
8316 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8317 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8318 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8319 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8320
e73015f2
L
83212010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8322
8323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8324 strlen-sse2 strlen-sse2-bsf.
8325 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8326 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8327 (__strlen_sse2): Removed.
8328 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8329 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8331 bit_Slow_BSF for Atom.
8332 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8333 (index_Slow_BSF): Define.
8334 (HAS_SLOW_BSF): Define.
8335
df24a73e
UD
83362010-08-25 Ulrich Drepper <drepper@redhat.com>
8337
8338 [BZ #10851]
8339 * resolv/res_init.c (__res_vinit): When no server address at all
8340 is given default to loopback.
8341
f2ac4868
RM
83422010-08-24 Roland McGrath <roland@redhat.com>
8343
09055553
RM
8344 * configure.in: Remove config-name.h generation.
8345 * configure: Regenerated.
8346 * config-name.in: File removed.
8347 * scripts/config-uname.sh: New file.
8348 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8349 ($(objdir)config-name.h): New target.
8350
f2ac4868
RM
8351 * sunrpc/rpc_parse.h: Avoid nested comment.
8352
73f27d5e
RH
83532010-08-24 Richard Henderson <rth@redhat.com>
8354 Ulrich Drepper <drepper@redhat.com>
8355 H.J. Lu <hongjiu.lu@intel.com>
8356
8357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8359 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8360 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8361 _mm_alignr_epi8 with _mm_loadu_si128.
8362 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8363 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8364 (__m128i_shift_right): Removed.
8365 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8366 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8367 * sysdeps/x86_64/multiarch/varshift.h: New file.
8368 * sysdeps/x86_64/multiarch/varshift.S: New file.
8369
84b9230c
MF
83702010-08-21 Mike Frysinger <vapier@gentoo.org>
8371
8372 * configure.in: Move assembler checks to before sysdep dir checking.
8373
9bbd0ddc
PB
83742010-08-20 Petr Baudis <pasky@suse.cz>
8375
8376 * LICENSES: Sync the sunrpc license.
8377
9da4bb31
UD
83782010-08-19 Ulrich Drepper <drepper@redhat.com>
8379
a7ab6ec8
UD
8380 * sunrpc/auth_des.c: Update copyright notice once again.
8381 * sunrpc/auth_none.c: Likewise.
8382 * sunrpc/auth_unix.c: Likewise.
8383 * sunrpc/authdes_prot.c: Likewise.
8384 * sunrpc/authuxprot.c: Likewise.
8385 * sunrpc/bindrsvprt.c: Likewise.
8386 * sunrpc/clnt_gen.c: Likewise.
8387 * sunrpc/clnt_perr.c: Likewise.
8388 * sunrpc/clnt_raw.c: Likewise.
8389 * sunrpc/clnt_simp.c: Likewise.
8390 * sunrpc/clnt_tcp.c: Likewise.
8391 * sunrpc/clnt_udp.c: Likewise.
8392 * sunrpc/clnt_unix.c: Likewise.
8393 * sunrpc/des_crypt.c: Likewise.
8394 * sunrpc/des_soft.c: Likewise.
8395 * sunrpc/get_myaddr.c: Likewise.
8396 * sunrpc/getrpcport.c: Likewise.
8397 * sunrpc/key_call.c: Likewise.
8398 * sunrpc/key_prot.c: Likewise.
8399 * sunrpc/openchild.c: Likewise.
8400 * sunrpc/pm_getmaps.c: Likewise.
8401 * sunrpc/pm_getport.c: Likewise.
8402 * sunrpc/pmap_clnt.c: Likewise.
8403 * sunrpc/pmap_prot.c: Likewise.
8404 * sunrpc/pmap_prot2.c: Likewise.
8405 * sunrpc/pmap_rmt.c: Likewise.
8406 * sunrpc/rpc/auth.h: Likewise.
8407 * sunrpc/rpc/auth_unix.h: Likewise.
8408 * sunrpc/rpc/clnt.h: Likewise.
8409 * sunrpc/rpc/des_crypt.h: Likewise.
8410 * sunrpc/rpc/key_prot.h: Likewise.
8411 * sunrpc/rpc/netdb.h: Likewise.
8412 * sunrpc/rpc/pmap_clnt.h: Likewise.
8413 * sunrpc/rpc/pmap_prot.h: Likewise.
8414 * sunrpc/rpc/pmap_rmt.h: Likewise.
8415 * sunrpc/rpc/rpc.h: Likewise.
8416 * sunrpc/rpc/rpc_des.h: Likewise.
8417 * sunrpc/rpc/rpc_msg.h: Likewise.
8418 * sunrpc/rpc/svc.h: Likewise.
8419 * sunrpc/rpc/svc_auth.h: Likewise.
8420 * sunrpc/rpc/types.h: Likewise.
8421 * sunrpc/rpc/xdr.h: Likewise.
8422 * sunrpc/rpc_clntout.c: Likewise.
8423 * sunrpc/rpc_cmsg.c: Likewise.
8424 * sunrpc/rpc_common.c: Likewise.
8425 * sunrpc/rpc_cout.c: Likewise.
8426 * sunrpc/rpc_dtable.c: Likewise.
8427 * sunrpc/rpc_hout.c: Likewise.
8428 * sunrpc/rpc_main.c: Likewise.
8429 * sunrpc/rpc_parse.c: Likewise.
8430 * sunrpc/rpc_parse.h: Likewise.
8431 * sunrpc/rpc_prot.c: Likewise.
8432 * sunrpc/rpc_sample.c: Likewise.
8433 * sunrpc/rpc_scan.c: Likewise.
8434 * sunrpc/rpc_scan.h: Likewise.
8435 * sunrpc/rpc_svcout.c: Likewise.
8436 * sunrpc/rpc_tblout.c: Likewise.
8437 * sunrpc/rpc_util.c: Likewise.
8438 * sunrpc/rpc_util.h: Likewise.
8439 * sunrpc/rpcinfo.c: Likewise.
8440 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8441 * sunrpc/rpcsvc/key_prot.x: Likewise.
8442 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8443 * sunrpc/rpcsvc/mount.x: Likewise.
8444 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8445 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8446 * sunrpc/rpcsvc/rex.x: Likewise.
8447 * sunrpc/rpcsvc/rstat.x: Likewise.
8448 * sunrpc/rpcsvc/rusers.x: Likewise.
8449 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8450 * sunrpc/rpcsvc/spray.x: Likewise.
8451 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8452 * sunrpc/rtime.c: Likewise.
8453 * sunrpc/svc.c: Likewise.
8454 * sunrpc/svc_auth.c: Likewise.
8455 * sunrpc/svc_authux.c: Likewise.
8456 * sunrpc/svc_raw.c: Likewise.
8457 * sunrpc/svc_run.c: Likewise.
8458 * sunrpc/svc_simple.c: Likewise.
8459 * sunrpc/svc_tcp.c: Likewise.
8460 * sunrpc/svc_udp.c: Likewise.
8461 * sunrpc/svc_unix.c: Likewise.
8462 * sunrpc/svcauth_des.c: Likewise.
8463 * sunrpc/xcrypt.c: Likewise.
8464 * sunrpc/xdr.c: Likewise.
8465 * sunrpc/xdr_array.c: Likewise.
8466 * sunrpc/xdr_float.c: Likewise.
8467 * sunrpc/xdr_mem.c: Likewise.
8468 * sunrpc/xdr_rec.c: Likewise.
8469 * sunrpc/xdr_ref.c: Likewise.
8470 * sunrpc/xdr_sizeof.c: Likewise.
8471 * sunrpc/xdr_stdio.c: Likewise.
8472
9da4bb31
UD
8473 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8474 handling.
8475
bdaa77bc
AS
84762010-08-19 Andreas Schwab <schwab@redhat.com>
8477
8478 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8479
fe2f79db
LM
84802010-08-19 Luis Machado <luisgpm@br.ibm.com>
8481
8482 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8483 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8484 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8485 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8486 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8487 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8488 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8489 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8490 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8491 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8492 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8493 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8494 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8495 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8496
b9b42ee0
AB
84972010-07-26 Anton Blanchard <anton@samba.org>
8498
8499 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8500 * malloc/arena.c (heap_trim): Likewise.
8501
1c06ba31
UD
85022010-08-16 Ulrich Drepper <drepper@redhat.com>
8503
8504 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8505 here. Not...
8506 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8507 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8508
f8392f40
L
85092010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 * sysdeps/i386/elf/Makefile: New file.
8512
3162f12e
AS
85132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8514
8515 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8516 from fanotify_init.
8517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8519
28c90b2c
UD
85202010-08-15 Ulrich Drepper <drepper@redhat.com>
8521
8522 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8523 of strncasecmp_l.
1feccb6c 8524 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8525
ca6bb004
UD
85262010-08-14 Ulrich Drepper <drepper@redhat.com>
8527
e9f82e0d
UD
8528 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8529 strncase_l-nonascii.
8530 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8531 Add strncase_l-ssse3.
8532 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8533 * sysdeps/x86_64/strcmp.S: Likewise.
8534 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8535 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8536 * sysdeps/x86_64/strncase.S: New file.
8537 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8538 * sysdeps/x86_64/strncase_l.S: New file.
8539 * string/Makefile (strop-tests): Add strncasecmp.
8540 * string/test-strncasecmp.c: New file.
8541
8542 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8543 warning.
8544
ca6bb004
UD
8545 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8546 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8547
052fa7b3
AS
85482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8549
8550 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8551
962dba78
UD
85522010-08-12 Ulrich Drepper <drepper@redhat.com>
8553
8554 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8555 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8556 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8557
bebff237
AM
85582010-05-01 Alan Modra <amodra@gmail.com>
8559
8560 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8561 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8562 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8563 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8564 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8565 tidying. Don't tail-call __sigjmp_save for static lib.
8566 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8567 save location.
8568 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8569 (CALL_MCOUNT): Add eh info, and nop after bl.
8570 (TAIL_CALL_SYSCALL_ERROR): New macro.
8571 (PSEUDO_RET): Use it.
8572 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8573 Correct save location of integer regs and cr.
8574 (_dl_profile_resolve): Correct cr save location. Delete nops
8575 after bl when SHARED. Reduce cfi size a little by better
8576 placement of cfi directives.
8577 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8578 make a stack frame. Instead use parm save area as a temp.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8580 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8582 Don't make a stack frame for parent, use parm save area.
8583 Increase child stack frame to 112 bytes. Don't save unused reg,
8584 and adjust reg usage. Set up cfi on error recovery and
8585 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8587 (__makecontext): Add dummy nop after jump to exit.
8588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8589 Use correct parm save area and cr save, reduce stack frame.
8590 Correct cfi for possible PSEUDO_RET frame setup.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8592 Branch to local label emitted by PSEUDO_RET rather than
8593 __syscall_error.
8594
02637374
AS
85952010-08-12 Andreas Schwab <schwab@redhat.com>
8596
8597 [BZ #11904]
8598 * locale/programs/locale.c (print_assignment): New function.
8599 (show_locale_vars): Use it.
8600
c3e2f19b
UD
86012010-08-11 Ulrich Drepper <drepper@redhat.com>
8602
3cdaa6ad
UD
8603 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8604 field.
8605 (struct statfs64): Likewise.
8606 (_STATFS_F_FLAGS): Define.
8607 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8609 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8610 (ST_VALID): Define locally.
8611 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8612 __statvfs_getflags, use the provided value.
8613 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8614 __ASSUME_STATFS_F_FLAGS.
8615
754f7da3
UD
8616 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8617
10b3bedc
UD
8618 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8619 Add sys/fanotify.h.
8620 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8621 fanotify_mask for GLIBC_2.13.
8622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8623 fanotify_init and fanotify_mark.
8624 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8625 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8626
c08fb0d7
UD
8627 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8628 Add prlimit.
8629 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8630 prlimit64 for GLIBC_2.13.
8631 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8632 prlimit64.
8633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8634 syscall.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8636 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8637 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8638 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8640 add prlimit alias.
8641 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8642
15bac72b
UD
8643 [BZ #11903]
8644 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8645 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8646
c3e2f19b
UD
8647 * nss/Makefile: Add rules to build and run tst-nss-test1.
8648 * shlib-versions: Add entry for libnss_test1.
8649 * nss/nss_test1.c: New file.
8650 * nss/tst-nss-test1.c: New file.
8651
8652 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8653 (__nss_configure_lookup): Set appropriate entry in
8654 __nss_configure_lookup to true.
8655 * nss/nsswitch.h: Define enum with indeces of databases in
8656 databases and __nss_database_custom arrays. Declare
8657 __nss_database_custom.
8658 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8659 to avoid using nscd when custom rules are installed.
8660 * nss/getXXbyYY_r.c: Likewise.
8661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8662
8663 * nss/nss_files/files-parse.c: Whitespace fixes.
8664
f15ce4d8
UD
86652010-08-09 Ulrich Drepper <drepper@redhat.com>
8666
8667 [BZ #11883]
8668 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8669 * posix/fnmatch_loop.c: Likewise.
8670
d22e4cc9
AK
86712010-07-17 Andi Kleen <ak@linux.intel.com>
8672
8673 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8674 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8675 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8676 * Versions.def [GLIBC_2.13]: Add.
8677
805bc17d
UD
86782010-08-06 Ulrich Drepper <drepper@redhat.com>
8679
8680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8681 Also fail if tpwd after pwuid call is NULL.
8682
5a42321d
ST
86832010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8684
8685 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8686 when converting to ms.
8687
fd3ebeda
ST
86882010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8689
8690 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8691 EOPNOTSUPP errors with ENOTTY.
8692 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8693 EOPNOTSUPP errors with ENOTTY.
8694
73507d3a
UD
86952010-07-31 Ulrich Drepper <drepper@redhat.com>
8696
8697 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8698 Add strcasecmp_l-ssse3.
8699 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8700 strcasecmp.
8701 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8702 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8704
fe36dd02
UD
87052010-07-30 Ulrich Drepper <drepper@redhat.com>
8706
66f6765a
UD
8707 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8708
42e08a54
UD
8709 * string/Makefile (strop-tests): Add strcasecmp.
8710 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8711 strcasecmp_l-nonascii.
8712 (gen-as-const-headers): Add locale-defines.sym.
8713 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8714 * sysdeps/x86_64/strcasecmp.S: New file.
8715 * sysdeps/x86_64/strcasecmp_l.S: New file.
8716 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8717 * sysdeps/x86_64/locale-defines.sym: New file.
8718 * string/test-strcasecmp.c: New file.
8719
fe36dd02
UD
8720 * string/test-strcasestr.c: Test both ends of the range of characters.
8721 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8722
48cbc0d6
RM
87232010-07-29 Roland McGrath <roland@redhat.com>
8724
76e6d6bc 8725 [BZ #11856]
48cbc0d6
RM
8726 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8727
880113d9
UD
87282010-07-27 Ulrich Drepper <drepper@redhat.com>
8729
8730 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8731 for ld.so.
8732
deb9cabb
AS
87332010-07-27 Andreas Schwab <schwab@redhat.com>
8734
8735 * manual/memory.texi (Malloc Tunable Parameters): Document
8736 M_PERTURB.
8737
1c7570ff
RM
87382010-07-26 Roland McGrath <roland@redhat.com>
8739
8740 [BZ #11840]
8741 * configure.in (-fgnu89-inline check): Set and substitute
8742 gnu89_inline, not libc_cv_gnu89_inline.
8743 * configure: Regenerated.
8744 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8745
24fb0f88
UD
87462010-07-26 Ulrich Drepper <drepper@redhat.com>
8747
8748 * string/test-strnlen.c: New file.
8749 * string/Makefile (strop-tests): Add strnlen.
8750 * string/tester.c (test_strnlen): Add a few more test cases.
8751 * string/tst-strlen.c: Better error reporting.
8752
8753 * sysdeps/x86_64/strnlen.S: New file.
8754
8e96b93a
UD
87552010-07-24 Ulrich Drepper <drepper@redhat.com>
8756
8757 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8758 lower-latency instructions.
8759
dbc676d4
UD
87602010-07-23 Ulrich Drepper <drepper@redhat.com>
8761
8762 * string/test-strcasestr.c: New file.
8763 * string/test-strstr.c: New file.
8764 * string/Makefile (strop-tests): Add strstr and strcasestr.
8765 * string/str-two-way.h: Don't undefine MAX.
8766 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8767
f6a31e0e
AS
87682010-07-21 Andreas Schwab <schwab@redhat.com>
8769
8770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8771 strcasestr-nonascii.
8772 (CFLAGS-strcasestr-nonascii.c): Define.
8773 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8775 Remove unused attribute.
8776
5dbc3b6c
RM
87772010-07-20 Roland McGrath <roland@redhat.com>
8778
8779 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8780 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8781 ld.so.cache was broken. With it, there is no way to disable dsocaps
8782 like LD_HWCAP_MASK can disable hwcaps.
8783
23d101d8
EPM
87842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8785
8786 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8787
cc9f2e47
UD
87882010-07-16 Ulrich Drepper <drepper@redhat.com>
8789
8790 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8791 call in strcasestr.
8792 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8793 __strcasestr_sse42_nonascii.
8794 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8795 strcasestr-nonascii.c.
8796 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8797
77c1b069
LM
87982010-06-15 Luis Machado <luisgpm@br.ibm.com>
8799
8800 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8801 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8802 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8803 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8804
440566c3
UD
88052010-07-09 Ulrich Drepper <drepper@redhat.com>
8806
8807 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8808 fcntl.
8809
5be9d05d
AS
88102010-07-06 Andreas Schwab <schwab@redhat.com>
8811
c30b7ee2 8812 [BZ #11577]
5be9d05d
AS
8813 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8814 dl_signal_cerror.
8815
8a492a67
UD
88162010-07-06 Ulrich Drepper <drepper@redhat.com>
8817
8818 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8819 _PC_PIPE_BUF using F_GETPIPE_SZ.
8820
713df3d5
RM
88212010-07-05 Roland McGrath <roland@redhat.com>
8822
8823 * manual/arith.texi (Rounding Functions): Fix rint description
8824 implicit in round description.
8825
702e8f14
UD
88262010-07-02 Ulrich Drepper <drepper@redhat.com>
8827
8828 * elf/Makefile: Fix linking for a few tests to make recent linker
8829 happy.
8830
52ed8be9
AS
88312010-06-30 Andreas Schwab <schwab@redhat.com>
8832
8833 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8834 $(common-objpfx)libc_nonshared.a.
8835
f47c9a11
LM
88362010-06-21 Luis Machado <luisgpm@br.ibm.com>
8837
8838 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8839 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8840 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8841 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8842 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8843 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8844 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8845 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8860 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8861 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8862 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8863 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8864 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8865 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8866 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8867 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8868 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8869 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8870 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8871 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8886
6fb8cbcb
L
88872010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8890 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8891 * string/memmove.c (memmove): Renamed to ...
8892 (MEMMOVE): ...this. Default to memmove.
8893 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8894 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8895 (END_CHK): Define.
8896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8897 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8898 mempcpy-ssse3-back memmove-ssse3-back.
8899 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8902 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8903 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8904 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8905 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8906 * sysdeps/x86_64/multiarch/memmove.c: New file.
8907 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8908 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8909 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8910 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8911 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8913 Define.
8914 (index_Fast_Copy_Backward): Define.
8915 (HAS_ARCH_FEATURE): Define.
8916 (HAS_FAST_REP_STRING): Define.
8917 (HAS_FAST_COPY_BACKWARD): Define.
8918
4e733bac 89192010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
8920
8921 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8922 Restore proper fallback handling.
8923
63c4ed22
UD
89242010-06-19 Ulrich Drepper <drepper@redhat.com>
8925
ac2b484c
UD
8926 [BZ #11701]
8927 * posix/group_member.c (__group_member): Correct checking loop.
8928
63c4ed22
UD
8929 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8930 OOM in getpwuid_r correctly. Return error number when the caller
8931 should return, otherwise -1.
8932 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8933 call returning > 0 value.
8934 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8935
765ade4b
AS
89362010-06-07 Andreas Schwab <schwab@redhat.com>
8937
8938 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8939 libc_nonshared.a from targets in modules-names.
8940
80da2e09
KS
89412010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8942
8943 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8944 requires it.
8945
158db122
LM
89462010-06-10 Luis Machado <luisgpm@br.ibm.com>
8947
8948 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8949 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8952
caa78cf8
AS
89532010-06-02 Andreas Schwab <schwab@redhat.com>
8954
8955 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8956
b2ef2c01
UD
89572010-06-14 Ulrich Drepper <drepper@redhat.com>
8958
8959 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8960 and F_GETPIPE_SZ.
8961 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8965 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8966 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8967
fbd643b6
RM
89682010-06-14 Roland McGrath <roland@redhat.com>
8969
8970 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8971
f32f2869
JJ
89722010-06-07 Jakub Jelinek <jakub@redhat.com>
8973
8974 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8975 __REDIRECT followed by __THROW.
8976 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8977 * posix/getopt.h (getopt): Likewise.
8978
2a50c078
EPM
89792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8980
8981 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8982 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8983 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8984 in AT_FLAGS.
8985 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8986 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8987
eb5ad2eb
LM
89882010-05-28 Luis Machado <luisgpm@br.ibm.com>
8989
8990 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8991
3c88fe1e
L
89922010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8993
8994 [BZ #11640]
8995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8996 Properly check family and model.
8997
d2f73151
TY
89982010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8999
9000 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9001
ebd2e13d
LM
90022010-05-24 Luis Machado <luisgpm@br.ibm.com>
9003
9004 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9005
b32b8b45
UD
90062010-05-21 Ulrich Drepper <drepper@redhat.com>
9007
9008 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9009 symbol reference.
9010
9acbe24d
AS
90112010-05-19 Andreas Schwab <schwab@redhat.com>
9012
9013 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9014 symbol reference.
9015
f0ccf6ea
AS
90162010-05-21 Andreas Schwab <schwab@redhat.com>
9017
3d04ff3a
AS
9018 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9019 and internal_recvmmsg.
9020 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9021 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9022 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9023 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9024
f0ccf6ea
AS
9025 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9026 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9027 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9028
5b08ac57
AS
90292010-05-20 Andreas Schwab <schwab@redhat.com>
9030
9031 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9032
4828935d
LM
90332010-05-17 Luis Machado <luisgpm@br.ibm.com>
9034
9035 POWER7 optimizations.
9036 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9037 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9038
373d545e
UD
90392010-05-19 Ulrich Drepper <drepper@redhat.com>
9040
9041 * version.h: Update for 2.13 development version.
9042
21a2b1ae
AS
90432010-05-12 Andrew Stubbs <ams@codesourcery.com>
9044
9045 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9046 exceptions. Return 0.
9047
3f7dcb2b
RM
90482010-05-07 Roland McGrath <roland@redhat.com>
9049
9050 * elf/ldconfig.c (main): Add a const.
9051
5f24d53a 90522010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9053
a160f8d8
UD
9054 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9055 (args_options): Add no-idn option.
9056 (ahosts_keys_int): Add idn_flags to ai_flags.
9057 (parse_option): Handle 'i' option to clear idn_flags.
9058
5f24d53a
UD
9059 * malloc/malloc.c (_int_free): Possible race in the most recently
9060 added check. Only act on the data if no current modification
9061 happened.
265bb1ce
UD
9062
9063See ChangeLog.17 for earlier changes.