]> sourceware.org Git - glibc.git/blame - ChangeLog
BZ #13792: License manual example source files under GPL.
[glibc.git] / ChangeLog
CommitLineData
01ae168d
RM
12012-03-02 Roland McGrath <roland@hack.frob.com>
2
d9a17c07
RM
3 [BZ #13792]
4 * manual/examples/README: New file, says the example source files
5 can be used under GPL>=2.
6 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7 line containing just "*/".
8 * manual/examples/add.c: Add copyright header (GPL>=2).
9 * manual/examples/argp-ex1.c: Likewise.
10 * manual/examples/argp-ex2.c: Likewise.
11 * manual/examples/argp-ex3.c: Likewise.
12 * manual/examples/argp-ex4.c: Likewise.
13 * manual/examples/atexit.c: Likewise.
14 * manual/examples/db.c: Likewise.
15 * manual/examples/dir.c: Likewise.
16 * manual/examples/dir2.c: Likewise.
17 * manual/examples/execinfo.c: Likewise.
18 * manual/examples/filecli.c: Likewise.
19 * manual/examples/filesrv.c: Likewise.
20 * manual/examples/fmtmsgexpl.c: Likewise.
21 * manual/examples/genpass.c: Likewise.
22 * manual/examples/inetcli.c: Likewise.
23 * manual/examples/inetsrv.c: Likewise.
24 * manual/examples/isockad.c: Likewise.
25 * manual/examples/longopt.c: Likewise.
26 * manual/examples/memopen.c: Likewise.
27 * manual/examples/memstrm.c: Likewise.
28 * manual/examples/mkfsock.c: Likewise.
29 * manual/examples/mkisock.c: Likewise.
30 * manual/examples/mygetpass.c: Likewise.
31 * manual/examples/pipe.c: Likewise.
32 * manual/examples/popen.c: Likewise.
33 * manual/examples/rprintf.c: Likewise.
34 * manual/examples/search.c: Likewise.
35 * manual/examples/select.c: Likewise.
36 * manual/examples/setjmp.c: Likewise.
37 * manual/examples/sigh1.c: Likewise.
38 * manual/examples/sigusr.c: Likewise.
39 * manual/examples/stpcpy.c: Likewise.
40 * manual/examples/strdupa.c: Likewise.
41 * manual/examples/strftim.c: Likewise.
42 * manual/examples/strncat.c: Likewise.
43 * manual/examples/subopt.c: Likewise.
44 * manual/examples/swapcontext.c: Likewise.
45 * manual/examples/termios.c: Likewise.
46 * manual/examples/testopt.c: Likewise.
47 * manual/examples/testpass.c: Likewise.
48 * manual/examples/timeval_subtract.c: Likewise.
49
01ae168d
RM
50 [BZ #13792]
51 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52 function to ...
53 * manual/timeval_subtract.c.texi: ... here, new file.
54
49efa33d
DM
552012-03-02 David S. Miller <davem@davemloft.net>
56
57 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
58
28afd92d
JM
592012-03-02 Joseph Myers <joseph@codesourcery.com>
60
804360ed
JM
61 [BZ #3976]
62 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63 (__sin): Save and restore rounding mode and use round-to-nearest
64 for all computations.
65 (__cos): Save and restore rounding mode and use round-to-nearest
66 for all computations.
67 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68 <fenv.h>.
69 (tan): Save and restore rounding mode and use round-to-nearest for
70 all computations.
71 * math/libm-test.inc (cos_test_tonearest): New function.
72 (cos_test_towardzero): Likewise.
73 (cos_test_downward): Likewise.
74 (cos_test_upward): Likewise.
75 (sin_test_tonearest): Likewise.
76 (sin_test_towardzero): Likewise.
77 (sin_test_downward): Likewise.
78 (sin_test_upward): Likewise.
79 (tan_test_tonearest): Likewise.
80 (tan_test_towardzero): Likewise.
81 (tan_test_downward): Likewise.
82 (tan_test_upward): Likewise.
83 (main): Call the new functions.
84 * sysdeps/i386/fpu/libm-test-ulps: Update.
85 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86
a6d06d7b
JM
87 [BZ #10135]
88 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
89 small n, then large n, before computing and testing k+n.
90 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
91 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
92 Likewise.
93 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
94 Likewise.
95 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
96 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
97 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
98 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
99 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
103 * math/libm-test.inc (scalbn_test): Add more tests.
104 (scalbln_test): Likewise.
105
07e12bb3
JM
106 * manual/filesys.texi (mode_t): Describe constraints on size and
107 signedness, not exact equivalence to a particular type.
108 (ino_t): Likewise.
109 (ino64_t): Likewise.
110 (dev_t): Likewise.
111 (nlink_t): Likewise.
112 (blkcnt_t): Likewise.
113 (blkcnt64_t): Likewise.
114 * manual/llio.texi (off_t): Likewise.
115
28afd92d
JM
116 [BZ #3976]
117 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
118 (__ieee754_exp): Save and restore rounding mode and use
119 round-to-nearest for all computations.
120 * math/libm-test.inc (exp_test_tonearest): New function.
121 (exp_test_towardzero): Likewise.
122 (exp_test_downward): Likewise.
123 (exp_test_upward): Likewise.
124 (main): Call the new functions.
125 * sysdeps/i386/fpu/libm-test-ulps: Update.
126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
127
b1eeb65d
CD
1282012-03-01 Chris Demetriou <cgd@google.com>
129
130 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
131 have predictable order.
132
53362a4b
DM
1332012-03-01 David S. Miller <davem@davemloft.net>
134
3c969083
DM
135 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
136
759707de
DM
137 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
138 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
139 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
140 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
141
dfdb8ff2
DM
142 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
143 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
144 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
146 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
147 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
148 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
149 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
150 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
151
ead89f96
DM
152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
153
7f66bd07
DM
154 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
155 * sysdeps/sparc/fpu/libm-test-ulps: to here.
156 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
157
53362a4b
DM
158 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
160 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
161 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
162 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
165 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
166 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
167 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
168 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
172 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
174 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
175 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
176 * sysdeps/sparc/elf/configure: Regenerated.
177
7b1902cb
JM
1782012-03-01 Joseph Myers <joseph@codesourcery.com>
179
bec039bc
JM
180 * configure.in (AS, LD): Require binutils 2.20 or later.
181 * configure: Regenerated.
182 * manual/install.texi (Tools for Compilation): Give binutils 2.20
183 as required minimum version.
184 * INSTALL: Regenerated.
185
7b1902cb
JM
186 [BZ #2541]
187 [BZ #4108]
188 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
189 before squaring exponent.
190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
191 bottom long double and 27 bits of top long double before squaring
192 exponent.
193 * math/libm-test.inc (erfc_test): Add more tests.
194 * sysdeps/i386/fpu/libm-test-ulps: Update.
195 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
197
f775c276
KT
1982012-03-01 Kai Tietz <ktietz@redhat.com>
199
200 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
201 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
202 containing bit-fields.
203 * soft-fp/extended.h (_FP_UNION_E): Likewise.
204 * soft-fp/single.h (_FP_UNION_S): Likewise.
205 * soft-fp/double.h (_FP_UNION_D): Likewise.
206
5b8a4d4a
JM
2072012-02-29 Joseph Myers <joseph@codesourcery.com>
208
0bab47b6
JM
209 [BZ #13786]
210 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
211 not include ../strcmp.S.
212 [USE_AS_STRNCASECMP_L]: Likewise.
213 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
214 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
215 * sysdeps/i386/i686/multiarch/strncase_l-c.c
216 (__strncasecmp_l_ia32): Define as alias to
217 __strncasecmp_l_nonascii.
218
0fcad3e2
JM
219 [BZ #5794]
220 * math/libm-test.inc (expm1_test): Add test for bug 5794.
221 * sysdeps/i386/fpu/libm-test-ulps: Update.
222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
223
5b8a4d4a
JM
224 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
226
8fdceb2e
JL
2272012-02-29 Jeff Law <law@redhat.com>
228
229 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
230 out of bounds read.
231
1f393a11
MP
2322012-02-29 Marek Polacek <polacek@redhat.com>
233
234 [BZ #13706]
235 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
236 * elf/Makefile: Add rules to run tst-unused-dep.out.
237
8847f037
DM
2382012-02-28 David S. Miller <davem@davemloft.net>
239
240 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
241 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
244 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
245 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
246
169d7f11
JM
2472012-02-29 Joseph Myers <joseph@codesourcery.com>
248
249 * math/libm-test.inc (llround_test): Move one test from
250 lround_test. Use TEST_f_L in moved test.
251 (lround_test): Move misplaced test to llround_test. Add testcase
252 from bug 2561.
253
39adf059
UD
2542012-02-28 Ulrich Drepper <drepper@gmail.com>
255
256 * sysdeps/x86_64/fpu/e_expf.S: New file.
257 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
258
71b5d1c5
SB
2592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
260
261 [BZ #13637]
262 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
263 of remain_len that may cause incomplete multi-byte character and
264 false match.
265 * posix/bug-regex33.c: New file.
266 * posix/Makefile (tests): Add bug-regex33.
267
1f77f049
JM
2682012-02-28 Joseph Myers <joseph@codesourcery.com>
269
270 * manual/macros.texi: New file.
271 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
272 * manual/libc.texinfo: Include macros.texi.
273 * manual/creatute.texi: Likewise.
274 * manual/install.texi: Likewise.
275 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
276 @glibcadj{} in references to the GNU C Library.
277 * manual/charset.texi: Likewise.
278 * manual/conf.texi: Likewise.
279 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
280 when not using those macros.
281 * manual/creature.texi: Likewise.
282 * manual/crypt.texi: Likewise.
283 * manual/errno.texi: Likewise.
284 * manual/filesys.texi: Likewise.
285 * manual/header.texi: Likewise.
286 * manual/install.texi: Likewise.
287 * manual/intro.texi: Likewise.
288 * manual/io.texi: Likewise.
289 * manual/job.texi: Likewise.
290 * manual/lang.texi: Likewise.
291 * manual/libc.texiinfo: Likewise.
292 * manual/llio.texi: Likewise.
293 * manual/locale.texi: Likewise.
294 * manual/maint.texi: Likewise.
295 * manual/math.texi: Likewise.
296 * manual/memory.texi: Likewise.
297 * manual/message.texi: Likewise.
298 * manual/nss.texi: Likewise.
299 * manual/pattern.texi: Likewise.
300 * manual/process.texi: Likewise.
301 * manual/resource.texi: Likewise.
302 * manual/search.texi: Likewise.
303 * manual/setjmp.texi: Likewise.
304 * manual/signal.texi: Likewise.
305 * manual/socket.texi: Likewise.
306 * manual/startup.texi: Likewise.
307 * manual/stdio.texi: Likewise.
308 * manual/string.texi: Likewise.
309 * manual/sysinfo.texi: Likewise.
310 * manual/syslog.texi: Likewise.
311 * manual/terminal.texi: Likewise.
312 * manual/time.texi: Likewise.
313 * manual/users.texi: Likewise.
314 * INSTALL: Regenerated.
315 * NOTES: Regenerated.
d40c5d54 316 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 317
450bf206
AS
3182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
319
320 * include/dirent.h: Include <dirstream.h> before
321 <dirent/dirent.h>.
322
741a235b
DM
3232012-02-28 David S. Miller <davem@davemloft.net>
324
325 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
326 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
327 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
328 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
329
d6b5aa58
DM
3302012-02-27 David S. Miller <davem@davemloft.net>
331
1aff59a3
DM
332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
334 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
335 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
336
d6b5aa58
DM
337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
338 frame pointer instead of stack pointer relative arg slot.
339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
342
433f48bf
CD
3432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
344
345 [BZ #3992]
346 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
347
d674b76d
DM
3482012-02-27 David S. Miller <davem@davemloft.net>
349
350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
356 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
358
0e7727f7
JM
3592012-02-27 Joseph Myers <joseph@codesourcery.com>
360
361 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
362 later. Allow versions 5-9.
43be4ca2 363 * configure: Regenerated.
0e7727f7
JM
364 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
365 required minimum version and 4.6 as recommended version. Do not
366 mention bugs in GCC 2.7 and 2.8.
43be4ca2 367 * INSTALL: Regenerated.
0e7727f7 368
a78bc654
DM
3692012-02-27 David S. Miller <davem@davemloft.net>
370
428d5830
DM
371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
375 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
376 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
377 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
378 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
379
a78bc654
DM
380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
381 manipulate bits before adding and subtracting TWO112[sx].
382 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
383
4579f81c
RM
3842012-02-27 Roland McGrath <roland@hack.frob.com>
385
36c8acb4
RM
386 [BZ #13775]
387 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
388 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
389 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
390 being in POSIX, because they are in 1003.1-2008.
391
84ad622b
RM
392 * rt/tst-aio.c: Include <fcntl.h>.
393 * rt/tst-aio7.c: Likewise.
394 * rt/tst-aio64.c: Likewise.
395
4579f81c
RM
396 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
397
abd923db
JM
3982012-02-27 Joseph Myers <joseph@codesourcery.com>
399
400 * manual/install.texi (--with-headers): Describe headers as
401 interface headers, not private headers.
402 (Specific advice for GNU/Linux systems): Describe use of headers
403 from "make headers_install", not private headers from older
404 kernels.
43be4ca2 405 * INSTALL: Regenerated.
abd923db
JM
406 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
407 Change to 2.6.19.
408 * sysdeps/unix/sysv/linux/configure: Regenerated.
409
6664049b
JM
410 * manual/llio.texi (fclean): Remove documentation.
411
bb8b6697
JM
412 * manual/Makefile (libc-texi-generated): New variable. Include
413 version.texi.
414 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
415 $(libc-texi-generated), not duplicated list of files.
416 (version.texi, stamp-version): New rules.
417 (realclean): Remove $(libc-texi-generated), not individual files
418 from that list. Do not remove dir-add.texinfo.
419 * manual/libc.texinfo: Comment out uses of edition numbers and
420 references to printed manual. Remove last-updated dates.
421 (EDITION): Comment out.
422 (ISBN): Likewise.
423 (VERSION, UPDATED): Remove.
424 (version.texi): Include.
425
12e5c3b9
AS
4262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
427
428 * sysdeps/posix/spawni.c: Include <signal.h>.
429 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
430 * sysdeps/pthread/aio_fsync.c: Likewise.
431
4efeffc1 4322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 433
ba63ba08
UD
434 * conform/Makefile (tests): Run only when not cross-compiling and
435 when fast-check is not defined.
436
d94a4670
UD
437 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
438 * conform/data/limits.h-data: Fixes for POSIX2008.
439 * conform/run-conformtest.sh: Run all tests.
440 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
441 headers.
442 * include/bits/dlfcn.h: Likewise.
443 * include/langinfo.h: Likewise.
444 * include/monetary.h: Likewise.
445 * include/sys/poll.h: Likewise.
446
447 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
448 for __USE_GNU.
449 * posix/spawn.h: Define __need_sigset_t.
450 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
451 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
452 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
453 to get sigevent_t only.
454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
455 only for __USE_GNU.
456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
457 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
458 process_vm_writev only for __USE_GNU.
459 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
460
461 * conform/Makefile: For now ignore errors from run-conformtest.
462 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
463 POSIX to avoid namespace pollution. Don't prepend headers.
464 * conform/data/aio.h-data: Fixes for POSIX testing.
465 * conform/data/fcntl.h-data: Likewise.
466 * conform/data/glob.h-data: Likewise.
467 * conform/data/grp.h-data: Likewise.
468 * conform/data/pthread.h-data: Likewise.
469 * conform/data/pwd.h-data: Likewise.
470 * conform/data/signal.h-data: Likewise.
471 * conform/data/spawn.h-data: Likewise.
472 * conform/data/stdio.h-data: Likewise.
473 * conform/data/stdlib.h-data: Likewise.
474 * conform/data/stropts.h-data: Likewise.
475 * conform/data/sys/mman.h-data: Likewise.
476 * conform/data/sys/stat.h-data: Likewise.
477 * conform/data/sys/types.h-data: Likewise.
478 * conform/data/sys/wait.h-data: Likewise.
479 * conform/data/time.h-data: Likewise.
480 * conform/data/unistd.h-data: Likewise.
481 * conform/data/utime.h-data: Likewise.
482
483 * io/sys/stat.h: fchmod was always in POSIX.
484 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
485 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
486 * rt/aio.h: Define __need_timespec before including <time.h>.
487 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
488 struct. Add forward declaration of pthread_attr_t and use it in
489 sigevent.
490 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
492 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
493 always remove CLK_TCK definition.
494
c20105c3
AS
4952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
496
497 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
498
7a270350
UD
4992012-02-25 Ulrich Drepper <drepper@gmail.com>
500
31341567
UD
501 * conform/run-conformtest.sh: New file.
502 * conform/Makefile: Run run-conformtest for tests.
503 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
504 support.
505
506 * conform/data/uchar.h-data: New file.
507 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
508 * conform/data/arpa/inet.h-data: Likewise.
509 * conform/data/assert.h-data: Likewise.
510 * conform/data/complex.h-data: Likewise.
511 * conform/data/cpio.h-data: Likewise.
512 * conform/data/ctype.h-data: Likewise.
513 * conform/data/dirent.h-data: Likewise.
514 * conform/data/dlfcn.h-data: Likewise.
515 * conform/data/errno.h-data: Likewise.
516 * conform/data/fcntl.h-data: Likewise.
517 * conform/data/float.h-data: Likewise.
518 * conform/data/fmtmsg.h-data: Likewise.
519 * conform/data/fnmatch.h-data: Likewise.
520 * conform/data/ftw.h-data: Likewise.
521 * conform/data/glob.h-data: Likewise.
522 * conform/data/grp.h-data: Likewise.
523 * conform/data/iconv.h-data: Likewise.
524 * conform/data/inttypes.h-data: Likewise.
525 * conform/data/langinfo.h-data: Likewise.
526 * conform/data/libgen.h-data: Likewise.
527 * conform/data/limits.h-data: Likewise.
528 * conform/data/locale.h-data: Likewise.
529 * conform/data/math.h-data: Likewise.
530 * conform/data/monetary.h-data: Likewise.
531 * conform/data/mqueue.h-data: Likewise.
532 * conform/data/ndbm.h-data: Likewise.
533 * conform/data/net/if.h-data: Likewise.
534 * conform/data/netdb.h-data: Likewise.
535 * conform/data/netinet/in.h-data: Likewise.
536 * conform/data/nl_types.h-data: Likewise.
537 * conform/data/poll.h-data: Likewise.
538 * conform/data/pthread.h-data: Likewise.
539 * conform/data/pwd.h-data: Likewise.
540 * conform/data/regex.h-data: Likewise.
541 * conform/data/sched.h-data: Likewise.
542 * conform/data/search.h-data: Likewise.
543 * conform/data/semaphore.h-data: Likewise.
544 * conform/data/setjmp.h-data: Likewise.
545 * conform/data/signal.h-data: Likewise.
546 * conform/data/spawn.h-data: Likewise.
547 * conform/data/stdarg.h-data: Likewise.
548 * conform/data/stdio.h-data: Likewise.
549 * conform/data/stdlib.h-data: Likewise.
550 * conform/data/string.h-data: Likewise.
551 * conform/data/strings.h-data: Likewise.
552 * conform/data/stropts.h-data: Likewise.
553 * conform/data/sys/ipc.h-data: Likewise.
554 * conform/data/sys/mman.h-data: Likewise.
555 * conform/data/sys/msg.h-data: Likewise.
556 * conform/data/sys/resource.h-data: Likewise.
557 * conform/data/sys/select.h-data: Likewise.
558 * conform/data/sys/sem.h-data: Likewise.
559 * conform/data/sys/shm.h-data: Likewise.
560 * conform/data/sys/socket.h-data: Likewise.
561 * conform/data/sys/stat.h-data: Likewise.
562 * conform/data/sys/statvfs.h-data: Likewise.
563 * conform/data/sys/time.h-data: Likewise.
564 * conform/data/sys/timeb.h-data: Likewise.
565 * conform/data/sys/times.h-data: Likewise.
566 * conform/data/sys/types.h-data: Likewise.
567 * conform/data/sys/uio.h-data: Likewise.
568 * conform/data/sys/un.h-data: Likewise.
569 * conform/data/sys/utsname.h-data: Likewise.
570 * conform/data/sys/wait.h-data: Likewise.
571 * conform/data/syslog.h-data: Likewise.
572 * conform/data/tar.h-data: Likewise.
573 * conform/data/termios.h-data: Likewise.
574 * conform/data/utime.h-data: Likewise.
575 * conform/data/utmpx.h-data: Likewise.
576 * conform/data/varargs.h-data: Likewise.
577 * conform/data/wchar.h-data: Likewise.
578 * conform/data/wctype.h-data: Likewise.
579 * conform/data/wordexp.h-data: Likewise.
580
581 * include/stropts.h: New file.
582 * include/uchar.h: New file.
583 * include/aio.h: Changes to allow conformtest.pl to use the headers.
584 * include/assert.h: Likewise.
585 * include/ctype.h: Likewise.
586 * include/dirent.h: Likewise.
587 * include/dlfcn.h: Likewise.
588 * include/fcntl.h: Likewise.
589 * include/fnmatch.h: Likewise.
590 * include/glob.h: Likewise.
591 * include/grp.h: Likewise.
592 * include/libio.h: Likewise.
593 * include/locale.h: Likewise.
594 * include/math.h: Likewise.
595 * include/net/if.h: Likewise.
596 * include/netdb.h: Likewise.
597 * include/netinet/in.h: Likewise.
598 * include/pthread.h: Likewise.
599 * include/pwd.h: Likewise.
600 * include/regex.h: Likewise.
601 * include/sched.h: Likewise.
602 * include/search.h: Likewise.
603 * include/setjmp.h: Likewise.
604 * include/signal.h: Likewise.
605 * include/stdio.h: Likewise.
606 * include/stdlib.h: Likewise.
607 * include/string.h: Likewise.
608 * include/sys/cdefs.h: Likewise.
609 * include/sys/mman.h: Likewise.
610 * include/sys/msg.h: Likewise.
611 * include/sys/resource.h: Likewise.
612 * include/sys/select.h: Likewise.
613 * include/sys/socket.h: Likewise.
614 * include/sys/stat.h: Likewise.
615 * include/sys/statvfs.h: Likewise.
616 * include/sys/time.h: Likewise.
617 * include/sys/times.h: Likewise.
618 * include/sys/uio.h: Likewise.
619 * include/sys/utsname.h: Likewise.
620 * include/sys/wait.h: Likewise.
621 * include/termios.h: Likewise.
622 * include/time.h: Likewise.
623 * include/ulimit.h: Likewise.
624 * include/unistd.h: Likewise.
625 * include/utime.h: Likewise.
626 * include/wchar.h: Likewise.
627 * include/wctype.h: Likewise.
628 * include/wordexp.h: Likewise.
629
630 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
631
7a270350
UD
632 * time/time.h: TIME_UTC must be a macro.
633 Make timespec_get available for ISO C11 only as well.
634
7724defc
UD
6352012-02-24 Ulrich Drepper <drepper@gmail.com>
636
637 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
638 Reported by Peng Haitao <penght@cn.fujitsu.com>.
639
6b1d1d46
JM
6402012-02-24 Joseph Myers <joseph@codesourcery.com>
641
642 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 643
0f8bbd69
JM
6442012-02-24 Joseph Myers <joseph@codesourcery.com>
645
646 * manual/texinfo.tex: Update to version 2012-01-19.16.
647
66ab80bc
JM
6482012-02-24 Joseph Myers <joseph@codesourcery.com>
649
650 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
651
74981cc5
RM
6522012-02-24 Roland McGrath <roland@hack.frob.com>
653
ee968201
RM
654 [BZ #13738]
655 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
656 * manual/fdl-1.3.texi: New file.
657 * manual/fdl-1.1.texi: File removed.
658
74981cc5
RM
659 [BZ #13738]
660 * manual/libc.texinfo (FDL_VERSION): New @set.
661 Use it for mention of FDL in cover text.
662 (Documentation License): Use it in @include file name.
663
7bb764bc
JM
6642012-02-22 Joseph Myers <joseph@codesourcery.com>
665 Roland McGrath <roland@hack.frob.com>
666
667 [BZ #5461]
668 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
669 not LONG_LONG_MAX and LONG_LONG_MIN.
670 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
671 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
672 name.
673 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
674
6cbeae47
JM
6752012-02-22 Joseph Myers <joseph@codesourcery.com>
676
677 [BZ #2547]
678 [BZ #11365]
679 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
680 manipulate bits before adding and subtracting TWO23[sx].
681 * math/libm-test.inc (nearbyint_test): Add more tests.
682
fe45ce09
JM
6832012-02-22 Joseph Myers <joseph@codesourcery.com>
684
685 [BZ #2548]
686 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
687 bits before adding and subtracting TWO23[sx].
688 * math/libm-test.inc (rint_test): Add more tests.
689 (rint_test_tonearest): Likewise.
690 (rint_test_towardzero): Likewise.
691 (rint_test_downward): Likewise.
692 (rint_test_upward: Likewise.
693
ff3b3d82
JM
6942012-02-22 Joseph Myers <joseph@codesourcery.com>
695
696 [BZ #10110]
697 * include/stdc-predef.h: New file. Extracted from features.h.
698 * include/features.h: Include stdc-predef.h.
699 * Makefile (headers): Add stdc-predef.h.
700 * CONFORMANCE (Compiler limitations): Update.
701
ef0aab35
JM
7022012-02-22 Joseph Myers <joseph@codesourcery.com>
703
704 * manual/libc.texinfo (VERSION, UPDATED): Revert.
705
58639409
DM
7062012-02-21 David S. Miller <davem@davemloft.net>
707
708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
709 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
710
c0e70b25
DM
7112012-02-20 David S. Miller <davem@davemloft.net>
712
713 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
714 using a normal save/restore sequence, rather than allocating a
715 dummy stack frame just to store a frame pointer and restore.
716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
717
fb06851d
JM
7182012-02-21 Joseph Myers <joseph@codesourcery.com>
719
720 * manual/install.texi: Fix stray word in line-wrapped comment.
721
7a8b71c3
DM
7222012-02-20 David S. Miller <davem@davemloft.net>
723
d510c123
DM
724 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
725 both binutils and gcc support GOTDATA.
726
0722d7c2
DM
727 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
728 "rd %pc" in the PIC register setup sequences.
729
3d2b3019
DM
730 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
731 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
732 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
733 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
734 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
739 (SYSCALL_ERROR_HANDLER): Likewise.
740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
743 (SYSCALL_ERROR_HANDLER): Likewise.
744
c80098a9
DM
745 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
746 (HAVE_GCC_GOTDATA): New.
747 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
748 relocation support in both binutils and gcc.
749 * sysdeps/sparc/elf/configure: Regenerate.
750
3a2545a0
DM
751 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
752 * sysdeps/sparc/sparc32/elf/configure: Delete.
753 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
754 * sysdeps/sparc/sparc64/elf/configure: Delete.
755 * sysdeps/sparc/elf/configure.in: New file.
756 * sysdeps/sparc/elf/configure: Generate.
757
7a8b71c3
DM
758 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
759 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
760 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
761 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
762 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
763
f1e86fca
JM
7642012-02-21 Joseph Myers <joseph@codesourcery.com>
765
766 * manual/install.texi: Do not mention specific glibc version
767 numbers.
768 * manual/libc.texinfo (VERSION, UPDATED): Update.
769 (@copying): Use @copyright{} and range of years.
770
0e7dfaef
JM
7712012-02-21 Joseph Myers <joseph@codesourcery.com>
772
773 [BZ #13695]
774 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
775 [crti.S not in sysdirs] (generated): Do not append.
776 [crti.S not in sysdirs] (omit-deps): Likewise.
777 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
778 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
779 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
780 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
781 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
782 Likewise.
783 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
784 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
785 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
786 * csu/defs.awk: Remove file.
787 * sysdeps/generic/initfini.c: Likewise.
788 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
789 variable.
790 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
791 Likewise.
792
599af3ca
JM
7932012-02-20 Joseph Myers <joseph@codesourcery.com>
794
795 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
796 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
797 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
800 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
801 <bits/epoll.h>.
802 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
803 (__EPOLL_PACKED): Define to empty if not defined by
804 <bits/epoll.h>.
805 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
807 bits/epoll.h.
808
0e499750
JM
8092012-02-20 Joseph Myers <joseph@codesourcery.com>
810
811 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
812 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
814 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
815 <bits/timerfd.h>.
816 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
818 bits/timerfd.h.
819
5ad91f6e
JM
8202012-02-20 Joseph Myers <joseph@codesourcery.com>
821
822 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
823 in C locale.
824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
828
06b99b02
AJ
8292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
830
831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
833
7638c0fd
AS
8342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
835
836 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
837 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
838 defined.
839 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
840 Likewise.
841 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
842 entry for 2.16.
843
92221550
AJ
8442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
845
846 * math/w_acos.c: Use non-signaling floating-point comparisons.
847 * math/w_acosf.c: Likewise.
848 * math/w_acosh.c: Likewise.
849 * math/w_acoshf.c: Likewise.
850 * math/w_acoshl.c: Likewise.
851 * math/w_acosl.c: Likewise.
852 * math/w_asin.c: Likewise.
853 * math/w_asinf.c: Likewise.
854 * math/w_asinl.c: Likewise.
855 * math/w_atanh.c: Likewise.
856 * math/w_atanhf.c: Likewise.
857 * math/w_atanhl.c: Likewise.
858 * math/w_exp2.c: Likewise.
859 * math/w_exp2f.c: Likewise.
860 * math/w_exp2l.c: Likewise.
861 * math/w_j0.c: Likewise.
862 * math/w_j0f.c: Likewise.
863 * math/w_j0l.c: Likewise.
864 * math/w_j1.c: Likewise.
865 * math/w_j1f.c: Likewise.
866 * math/w_j1l.c: Likewise.
867 * math/w_jn.c: Likewise.
868 * math/w_jnf.c: Likewise.
869 * math/w_log.c: Likewise.
870 * math/w_log10.c: Likewise.
871 * math/w_log10f.c: Likewise.
872 * math/w_log10l.c: Likewise.
873 * math/w_log2.c: Likewise.
874 * math/w_log2f.c: Likewise.
875 * math/w_log2l.c: Likewise.
876 * math/w_logf.c: Likewise.
877 * math/w_logl.c: Likewise.
878 * math/w_sqrt.c: Likewise.
879 * math/w_sqrtf.c: Likewise.
880 * math/w_sqrtl.c: Likewise.
881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
882 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
883 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
886
ebaf36eb
JM
8872012-02-19 Joseph Myers <joseph@codesourcery.com>
888
889 [BZ #9739]
890 * manual/string.texi (strnlen): Use correct parameter name in
891 equivalent expression.
892
71c254a6
JM
8932012-02-19 Joseph Myers <joseph@codesourcery.com>
894
895 [BZ #11174]
896 * manual/users.texi (seteuid): Consistently use neweuid for
897 argument name.
898
16d2c631
JM
8992012-02-19 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #13704]
902 * manual/nss.texi (Services in the NSS configuration): Correct
903 list of services in example configuration file.
904
cd837b09
NB
9052012-02-19 Nick Bowler <nbowler@draconx.ca>
906
907 [BZ #11322]
908 * manual/arith.texi: Remove statements about negative zero
909 behaving identically to zero.
910
02c4bbad
JM
9112012-02-18 Joseph Myers <joseph@codesourcery.com>
912
913 [BZ #5993]
914 * manual/install.texi: Do not document upgrading from libc5.
915
366842e7
JM
9162012-02-18 Joseph Myers <joseph@codesourcery.com>
917
918 [BZ #4596]
919 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
920
dd54084d
DM
9212012-02-18 David S. Miller <davem@davemloft.net>
922
923 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
924 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
925 %o7 across the call.
926 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
927 instead.
928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
929 SETUP_PIC_REG_LEAF.
930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
931 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
932 * sysdeps/sparc/crtn.S: Likewise.
933
2bcc53a3
UD
9342012-02-17 Ulrich Drepper <drepper@gmail.com>
935
936 * aout/Makefile: Remove.
937
09c093b5
RK
9382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
939
940 [BZ #13058]
941 * manual/examples/argp-ex1.c (main): Format definition in GNU
942 style.
943 * manual/examples/argp-ex2.c (main): Likewise.
944 * manual/examples/argp-ex3.c (main): Likewise.
945 * manual/examples/argp-ex4.c (main): Likewise.
946 * manual/examples/longopt.c (main): Use new-style prototype
947 definition.
948 * manual/examples/strncat.c (main): Specify return type and use
949 (void) for arguments.
950 * manual/examples/subopt.c (main): Use char **argv argument.
951
2ee633a2
JM
9522012-02-17 Joseph Myers <joseph@codesourcery.com>
953
954 [BZ #5077]
955 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
956 rounding modes.
957
0520adde
FB
9582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
959
960 [BZ #6907]
961 * manual/string.texi (strchr): Change when strchrnul is
962 recommended.
963
3f4081cd
DGM
9642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
965
966 [BZ #174]
967 * manual/locale.texi (setlocale): Document LOCPATH.
968
d1b10e78
JM
9692012-02-17 Joseph Myers <joseph@codesourcery.com>
970
971 [BZ #10210]
972 * manual/process.texi (execle): Move @dots{} before last argument.
973
79c6869c
PB
9742012-02-17 Paul Bolle <pebolle@tiscali.nl>
975
976 [BZ #12047]
977 * manual/charset.texi (Generic Charset Conversion): Fix typo
978 (LC_TYPE -> LC_CTYPE).
979
cc6e48bc
NB
9802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
981
982 [BZ #5805]
983 * manual/arith.texi (scalbn): Use @var{} on parameter names.
984 (scalbnf): Likewise.
985 (scalbnl): Likewise.
986 (scalbln): Likewise.
987 (scalblnf): Likewise.
988 (scalblnl): Likewise.
989 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
990 (vwarnx): Likewise.
991 (verr): Likewise.
992 (verrx): Likewise.
993 * manual/filesys.texi (telldir): Use braces around return type.
994 * manual/llio.texi (mmap): Add space after comma.
995 (mmap64): Likewise.
996 * manual/math.texi (jn): Use @var{} on parameter names.
997 (jnf): Likewise.
998 (jnl): Likewise.
999 (yn): Likewise.
1000 (ynf): Likewise.
1001 (ynl): Likewise.
1002 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1003 line.
1004 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1005 "...".
1006 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1007 (sched_get_priority_max): Likewise.
1008 * manual/signal.texi (sigvec): Add space after comma.
1009 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1010 names.
1011 (if_indextoname): Likewise.
1012 (if_freenameindex): Likewise.
1013 (sendto): Use ',' instead of '.' in prototype.
1014 * manual/startup.texi (syscall): Use @dots{} instead of literal
1015 "...".
1016 * manual/stdio.texi (__fpending): Separate initial words of
1017 paragraph from @deftypefun line.
1018 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1019 "...".
1020 (vsyslog): Use @var{} on parameter names.
1021 * manual/terminal.texi (stty): Use @var{} on parameter names.
1022 * manual/users.texi (getutmp): Use @var{} on parameter names.
1023 (getutmpx): Likewise.
1024
5b23062f
JM
10252012-02-17 Joseph Myers <joseph@codesourcery.com>
1026
1027 [BZ #6884]
1028 * manual/stdio.texi (fopen): Fix typos in description of
1029 ",ccs=STRING".
1030
8dee4833
AJ
10312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1032
1033 [BZ #4026]
1034 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1035 get clock_id definition.
1036
9078ce93
TS
10372012-02-17 Thomas Schwinge <thomas@schwinge.name>
1038
1039 [BZ #4822]
1040 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1041 (madvise): Cast every argument to void on its own.
1042
3835c55f
JM
10432012-02-17 Joseph Myers <joseph@codesourcery.com>
1044
1045 [BZ #9902]
1046 * manual/startup.texi (Exit Status): Fix typo.
1047
35c47e37
JM
10482012-02-17 Joseph Myers <joseph@codesourcery.com>
1049
1050 [BZ #10140]
1051 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1052 * manual/examples/argp-ex2.c: Likewise.
1053 * manual/examples/argp-ex3.c: Likewise.
1054
e3b69ca7
RH
10552012-02-16 Richard Henderson <rth@redhat.com>
1056
1057 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1058 * sysdeps/s390/s390-32/initfini.c: Remove.
1059 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1060 * sysdeps/s390/s390-64/initfini.c: Remove.
1061
df83af67
KK
10622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1063
1064 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1065 compiler output for sysdeps/generic/initfini.c.
1066 * sysdeps/sh/elf/initfini.c: Remove file.
1067
f63f3380
DM
10682012-02-16 David S. Miller <davem@davemloft.net>
1069
fb59b3a4
DM
1070 [BZ #11494]
1071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1072
f63f3380
DM
1073 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1074 * sysdeps/sparc/crti.S: New file.
1075 * sysdeps/sparc/crtn.S: New file.
1076 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1077 * sysdeps/sparc/sparc64/Makefile: Likewise.
1078
df6a4a4a
MF
10792012-02-15 Mike Frysinger <vapier@gentoo.org>
1080
6dd8f3dc 1081 [BZ #3335]
df6a4a4a
MF
1082 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1083
1cac7236
RM
10842012-02-15 Roland McGrath <roland@hack.frob.com>
1085
d2c736f8
RM
1086 [BZ #4822]
1087 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1088
1cac7236
RM
1089 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1090 (write, read, close): Likewise.
1091 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1092
8e475601
JM
10932012-02-15 Joseph Myers <joseph@codesourcery.com>
1094
1095 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1096 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1097 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1098 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1099 <bits/signalfd.h>.
1100 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1102 bits/signalfd.h.
1103
ed656b40
MP
11042012-02-14 Marek Polacek <polacek@redhat.com>
1105
1106 * sysdeps/x86_64/crti.S: New file.
1107 * sysdeps/x86_64/crtn.S: New file.
1108 * sysdeps/x86_64/elf/initfini.c: Remove file.
1109
2a979d3a
JM
11102012-02-13 Joseph Myers <joseph@codesourcery.com>
1111
1112 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1113 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1114 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1115 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1116 <bits/inotify.h>.
1117 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1119 bits/inotify.h.
1120
2a418ac3
JM
11212012-02-13 Joseph Myers <joseph@codesourcery.com>
1122
1123 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1124 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1125 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1126 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1127 <bits/eventfd.h>.
1128 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1130 bits/eventfd.h.
1131
fb779be7
TS
11322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1133
e19e83c5
RM
1134 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1135 __feraiseexcept instead of feraiseexcept.
7c35ffed 1136
fb779be7
TS
1137 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1138 nanosleep invocations.
1139 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1140 strings, and add error checking for a nanosleep invocations.
1141
59ba27a6
PE
11422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1143
1144 Replace FSF snail mail address with URLs, as per GNU coding standards.
1145 Most of the snail mail addresses were wrong anyway, and omitting
1146 them makes the source code easier to maintain. Almost all of the
1147 changes are to license notices and to locale LC_IDENTIFICATION
1148 addresses, except for this one:
1149 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1150 not its snail mail address.
1151
57b957eb
RH
11522012-02-09 Richard Henderson <rth@twiddle.net>
1153
af850b1c
RH
1154 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1155 of kernel-features.h.
1156
57b957eb
RH
1157 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1158
6b73181a
MP
11592012-02-08 Marek Polacek <polacek@redhat.com>
1160
1161 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1162 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1163 * sysdeps/gnu/_G_config.h: Likewise.
1164 * sysdeps/generic/_G_config.h: Likewise.
1165
26ecc33a
AS
11662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1167
6c6dbc63
AS
1168 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1169 tests.
1170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1171
e216c012
AS
1172 * sysdeps/powerpc/powerpc32/crti.S: New file.
1173 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1174 * sysdeps/powerpc/powerpc64/crti.S: New file.
1175 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1176
26ecc33a
AS
1177 * Makeconfig (have-initfini): Don't set.
1178 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1179 * configure.in (nopic_initfini): Don't substitute.
1180 * config.h.in (HAVE_INITFINI): Don't #undef.
1181 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1182 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1183
3add8e13
JM
11842012-02-08 Joseph Myers <joseph@codesourcery.com>
1185
1186 Support crti.S and crtn.S provided directly by architectures.
1187 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1188 [crti.S in sysdirs] (omit-deps): Likewise.
1189 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1190 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1191 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1192 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1193 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1194 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1195 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1196 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1197 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1198 compiler output for sysdeps/generic/initfini.c.
1199 * sysdeps/i386/elf/Makefile: Remove file.
1200 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1201
a22f12b4
MP
12022012-02-07 Marek Polacek <polacek@redhat.com>
1203
1204 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1205 * sysdeps/gnu/_G_config.h: Likewise.
1206 * sysdeps/mach/hurd/_G_config.h: Likewise.
1207
148cf100
MP
12082012-02-07 Marek Polacek <polacek@redhat.com>
1209
1210 * math/Makefile (tests): Add tst-CMPLX2.
1211 * math/tst-CMPLX2.c: New file.
1212
cfdc0dd7
AS
12132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1214
84ba42c4
AS
1215 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1216
cfdc0dd7
AS
1217 * math/libm-test.inc (jn_test): Add missing L suffix.
1218
622c86f4
MP
12192012-02-06 Marek Polacek <polacek@redhat.com>
1220
1221 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1222 * sysdeps/i386/fpu/e_powf.S: Likewise.
1223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1224 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1225 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1226 * sysdeps/i386/fpu/e_pow.S: Likewise.
1227 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1228 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1229 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1230 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1231 * sysdeps/i386/fpu/e_log2.S: Likewise.
1232 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1233 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1234 * sysdeps/i386/fpu/e_powl.S: Likewise.
1235 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1237 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1238 * sysdeps/i386/fpu/e_logl.S: Likewise.
1239 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1240 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1241 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1242 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1244 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1245 * sysdeps/i386/fpu/e_log.S: Likewise.
1246 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1247 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1248 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1249 * sysdeps/i386/fpu/e_logf.S: Likewise.
1250 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1251 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1252 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1253 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1254 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1255 * sysdeps/i386/fpu/e_log10.S: Likewise.
1256 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1257 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1258 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1259 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1260 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1261 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1262 * sysdeps/i386/asm-syntax.h: Likewise.
1263 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1266 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1267 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1269 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1270 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1272 * sysdeps/powerpc/sysdep.h: Likewise.
1273 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1274 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1275
d4a54ac6
JM
12762012-02-06 Joseph Myers <joseph@codesourcery.com>
1277
1278 [BZ #411]
1279 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1280
314054ea
JM
12812012-02-06 Joseph Myers <joseph@codesourcery.com>
1282
1283 * sysdeps/i386/sysdep.h: Include <features.h>.
1284 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1285 version.
1286
d8e0ca50
JM
12872012-02-05 Joseph Myers <joseph@codesourcery.com>
1288
1289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1290 Define.
1291 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1292 LOAD_PIC_REG_STR.
1293
b1da7dd9
JM
12942012-02-03 Joseph Myers <joseph@codesourcery.com>
1295
1296 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1297 (SETUP_PIC_REG): Use GET_PC_THUNK.
1298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1299 macro.
1300
9a1d9254
JM
13012012-02-03 Joseph Myers <joseph@codesourcery.com>
1302
1303 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1304 for non-PIC compilation.
1305 (SETUP_PIC_REG): Add .p2align directive.
1306 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1307 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1308 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1309 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1311 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1321 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1322 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1323 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1324 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1325 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1328 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1329 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1333 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1334 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1335 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1336 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1337 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1347
65dc3b75
JM
13482012-02-03 Joseph Myers <joseph@codesourcery.com>
1349
1350 * math/tst-CMPLX.c: Include <stdio.h>.
1351
d55bf177
JM
13522012-01-31 Joseph Myers <joseph@codesourcery.com>
1353
1354 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1355 float.
1356 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1357 * sysdeps/sparc/bits/mathdef.h: Likewise.
1358
69db4f8f
MP
13592012-01-31 Marek Polacek <polacek@redhat.com>
1360
1361 * libio/libio.h: Don't define _PARAMS.
1362 * locale/programs/config.h: Don't define PARAMS.
1363 * stdlib/strtol_l.c: Likewise.
1364 (__strtol_l): Remove PARAMS from the prototype.
1365
41b81892
UD
13662012-01-31 Ulrich Drepper <drepper@gmail.com>
1367
3b49edc0
UD
1368 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1369 names. Just use the correct names. Remove unnecessary wrapper
1370 functions.
1371 * malloc/arena.c: Likewise.
1372 * malloc/hooks.c: Likewise.
1373
41b81892
UD
1374 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1375 ARENA_TEST says not to. Simplify test for creation of a new arena.
1376 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1377
27a25b6e
UD
13782012-01-30 Ulrich Drepper <drepper@gmail.com>
1379
1380 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1381 into tail calls.
1382 (update_get_addr): New function.
1383 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1384 GET_ADDR_MODULE parameter.
1385
c8a89e7d
JM
13862012-01-30 Joseph Myers <joseph@codesourcery.com>
1387
1388 * crypt/cert.c: Remove __STDC__ conditionals.
1389 * crypt/crypt-entry.c: Likewise.
1390 * crypt/crypt_util.c: Likewise.
1391 * libio/filedoalloc.c: Likewise.
1392 * libio/fileops.c: Likewise.
1393 * libio/genops.c: Likewise.
1394 * libio/iofclose.c: Likewise.
1395 * libio/iofdopen.c: Likewise.
1396 * libio/iofopen.c: Likewise.
1397 * libio/iofopen64.c: Likewise.
1398 * libio/iogetdelim.c: Likewise.
1399 * libio/iopopen.c: Likewise.
1400 * libio/obprintf.c: Likewise.
1401 * libio/oldfileops.c: Likewise.
1402 * libio/oldiofclose.c: Likewise.
1403 * libio/oldiofdopen.c: Likewise.
1404 * libio/oldiofopen.c: Likewise.
1405 * libio/oldiopopen.c: Likewise.
1406 * libio/wfiledoalloc.c: Likewise.
1407 * libio/wgenops.c: Likewise.
1408 * locale/programs/xmalloc.c: Likewise.
1409 * misc/syslog.c: Likewise.
1410 * stdio-common/xbug.c: Likewise.
1411 * string/memchr.c: Likewise.
1412 * string/memcmp.c: Likewise.
1413 * string/memrchr.c: Likewise.
1414 * string/rawmemchr.c: Likewise.
1415 * sysdeps/posix/getcwd.c: Likewise.
1416 * time/strftime_l.c: Likewise.
1417
3b100462
JM
14182012-01-30 Joseph Myers <joseph@codesourcery.com>
1419
1420 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1421 * config.make.in (config-cflags-sse2avx): Define.
1422 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1423 Fix typo.
1424
607998af
CM
14252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1426
1427 * scripts/config.guess: Update from upstream config git repository.
1428 * scripts/config.sub: Likewise.
1429
3601428f
CM
14302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1431
3ac8b282
CM
1432 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1433 (EM_NUM): Update.
1434 (R_TILEPRO_*, R_TILEGX_*): New macros.
1435
e034841e
CM
1436 * scripts/firstversions.awk: Fix bug in version range handling.
1437
540d7568
CM
1438 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1439
3601428f
CM
1440 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1441
463de862
CM
1442 * include/sys/epoll.h: New file.
1443 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1444 libc_hidden_def.
1445
73139a76
UD
14462012-01-28 Ulrich Drepper <drepper@gmail.com>
1447
96bc5b45
UD
1448 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1449 Avoid unnecessary __WORDSIZE == 64 test.
1450 (fmaxf): Use VEX format if possible.
1451 (fmax): Likewise.
1452 (fminf): Likewise.
1453 (fmin): Likewise.
1454
56f6f6a2
UD
1455 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1456 * math/math_private.h: Remove libc_fegetround* and
1457 libc_fesetround*.
1458 * sysdeps/i386/configure.in: Check for -msse2avx.
1459 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1460 also if SSE2AVX is defined.
1461 Remove libc_fegetround* and libc_fesetround*.
1462 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1463 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1465 of HAS_YMM_USABLE.
1466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1471
73139a76
UD
1472 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1473
d73f93a4
AZ
14742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1475
1476 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1477 size is not set.
1478 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1479
6ee65ed6
UD
14802012-01-27 Ulrich Drepper <drepper@gmail.com>
1481
1482 [BZ #13618]
1483 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1484 relocation.
1485 * Makeconfig (libm): Define.
1486 * elf/Makefile: Add rules to build and run tst-relsort1.
1487 * elf/tst-relsort1.c: New file.
1488 * elf/tst-relsort1mod1.c: New file.
1489 * elf/tst-relsort1mod2.c: New file.
1490
8db21882
JM
14912012-01-27 Joseph Myers <joseph@codesourcery.com>
1492
1493 * math/s_ldexp.c: Remove __STDC__ conditionals.
1494 * math/s_ldexpf.c: Likewise.
1495 * math/s_ldexpl.c: Likewise.
1496 * math/s_nextafter.c: Likewise.
1497 * math/s_nexttowardf.c: Likewise.
1498 * math/s_significand.c: Likewise.
1499 * math/s_significandf.c: Likewise.
1500 * math/s_significandl.c: Likewise.
1501 * math/w_jnl.c: Likewise.
1502 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1503 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1504 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1505 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1506 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1521 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1522 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1523 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1528 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1529 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1530 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1532 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1533 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1535 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1536 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1537 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1538 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1542 * sysdeps/ieee754/k_standard.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1547 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1550 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1551 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1556 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1557 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1559 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1604 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1618 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1622 * sysdeps/ieee754/s_matherr.c: Likewise.
1623 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1624 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1627
965a54a4
JM
16282012-01-26 Joseph Myers <joseph@codesourcery.com>
1629
1630 * crypt/md5.h: Remove __STDC__ conditionals.
1631 * libio/libioP.h: Likewise.
1632 * locale/programs/config.h: Likewise.
1633 * sysdeps/generic/sysdep.h: Likewise.
1634 * sysdeps/i386/asm-syntax.h: Likewise.
1635 * sysdeps/s390/asm-syntax.h: Likewise.
1636 * sysdeps/unix/sysdep.h: Likewise.
1637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1639
7071ad79
JM
16402012-01-26 Joseph Myers <joseph@codesourcery.com>
1641
1642 * libio/libio.h: Remove __STDC__ conditionals.
1643 * malloc/obstack.h: Likewise.
1644 * math/complex.h: Likewise.
1645 * math/math.h: Likewise.
1646 * sysdeps/generic/_G_config.h: Likewise.
1647 * sysdeps/gnu/_G_config.h: Likewise.
1648 * sysdeps/mach/hurd/_G_config.h: Likewise.
1649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1651 * sysdeps/sparc/bits/mathdef.h: Likewise.
1652
afc5ed09
UD
16532012-01-26 Ulrich Drepper <drepper@gmail.com>
1654
1655 [BZ #13583]
1656 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1657 Clean up HAS_* macros.
afc5ed09 1658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1659 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1660 possible.
1661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1662 HAS_AVX.
1663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1668
bdb6de1d
JM
16692012-01-25 Joseph Myers <joseph@codesourcery.com>
1670
1671 * elf/tst-unique3.cc (gets): Remove declaration.
1672 * elf/tst-unique3lib.cc (gets): Likewise.
1673 * elf/tst-unique3lib2.cc (gets): Likewise.
1674 * elf/tst-unique4.cc (gets): Likewise.
1675
b15549e6
UD
16762012-01-24 Ulrich Drepper <drepper@gmail.com>
1677
1678 * include/stdio.h: Add C++ protection. Add gets declarations and
1679 definitions.
1680 * debug/tst-chk1.c: Don't declare gets here.
1681 * stdio-common/tst-gets.c: Likewise.
1682
a037381f
JM
16832012-01-24 Joseph Myers <joseph@codesourcery.com>
1684
1685 * posix/glob: Remove directory.
1686
f1d4aa75
JM
16872012-01-24 Joseph Myers <joseph@codesourcery.com>
1688
1689 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1690
81c0c964
PT
16912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1692
1693 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1694 of the non-standard EPFNOSUPPORT.
1695
0ea698ae
ST
16962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1697
1698 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1699 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1700 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1701
d220b117
UD
17022012-01-21 Ulrich Drepper <drepper@gmail.com>
1703
1704 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1705
3e1aa84e
UD
17062012-01-20 Ulrich Drepper <drepper@gmail.com>
1707
1708 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1709 transient errors.
1710 * nscd/grpcache.c (cache_addgr): Likewise.
1711 * nscd/hstcache.c (cache_addhst): Likewise.
1712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1713 * nscd/pwdcache.c (cache_addpw): Likewise.
1714 * nscd/servicescache.c (cache_addserv): Likewise.
1715
400aa020
UD
17162012-01-16 Ulrich Drepper <drepper@gmail.com>
1717
d77e7869
UD
1718 * malloc/malloc.c: Various cleanups.
1719 * malloc/hooks.c: Likewise.
1720
400aa020
UD
1721 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1722 * stdlib/bug-fmtmsg1.c: New file.
1723
1724 * stdlib/fmtmsg.c (init): Add missing unlock.
1725 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1726
e0a309cf
MP
17272012-01-12 Marek Polacek <polacek@redhat.com>
1728
1729 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1730 and _GNU_SOURCE.
1731
929d11c7
WS
17322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1733
1734 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1735 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1736 macro to ensure uniqueness of label name.
1737 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1738 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1739
41d0e869
UD
17402012-01-11 Ulrich Drepper <drepper@gmail.com>
1741
0cc5ed3b
UD
1742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1743
41d0e869
UD
1744 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1745 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1748
a47a831a
UD
17492012-01-10 Ulrich Drepper <drepper@gmail.com>
1750
daa891c0
UD
1751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1752
1753 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1755 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1756
e58ef0f2
UD
1757 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1758
a47a831a 1759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1760 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1763
1764 * math/bits/math-finite.h: Add ldexp support.
1765
a0bfc9c7
MP
17662012-01-10 Marek Polacek <polacek@redhat.com>
1767
1768 * locale/programs/localedef.h (show_archive_content): Add noreturn
1769 attribute.
1770
d6e97a1d
UD
17712012-01-09 Ulrich Drepper <drepper@gmail.com>
1772
1773 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1774
d5835c26
UD
17752012-01-08 Ulrich Drepper <drepper@gmail.com>
1776
e5f484c6
UD
1777 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1778
d5835c26
UD
1779 * io/Makefile (headers): Add bits/poll2.h.
1780
d1f741e9
WS
17812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1782
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1784 typo #include statement.
1785
ec09c1c4
UD
17862012-01-08 Ulrich Drepper <drepper@gmail.com>
1787
1788 * include/sys/cdefs.h: Define __attribute_alloc_size.
1789 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1790 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1791 * elf/pldd.c: Likewise.
1792 * iconv/iconv_charmap.c: Likewise.
1793 * iconv/iconvconfig.c: Likewise.
1794 * iconv/strtab.c: Likewise.
1795 * locale/programs/locale.c: Likewise.
1796 * locale/programs/localedef.h: Likewise.
1797 * locale/programs/simple-hash.c: Likewise.
1798 * nscd/nscd.h: Likewise.
1799 * nss/makedb.c: Likewise.
1800 * sysdeps/generic/ldconfig.h: Likewise.
1801 * locale/programs/localedef.c: Remove xmalloc prototype.
1802 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1803
20b38e03
PP
18042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1805
1806 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1807 appropriate.
1808
a0da5fe1
UD
18092012-01-08 Ulrich Drepper <drepper@gmail.com>
1810
1d5a644a 1811 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1812 * math/tst-CMPLX.c: New file.
1d5a644a 1813
8784a6db
UD
1814 * math/complex.h (CMPLXL): Fix typo.
1815
d9a216c0
UD
1816 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1817 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1818 GLIBC_2.16.
1819 * debug/tst-chk1.c: Add poll and ppoll tests.
1820 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1821 * include/sys/poll.h: Add hidden proto for ppoll.
1822 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1823 * sysdeps/mach/hurd/ppoll.c: Likewise.
1824 * io/ppoll.c: Likewise.
1825 * debug/poll_chk.c: New file.
1826 * debug/ppoll_chk.c: New file.
1827 * include/bits/poll2.h: New file.
1828 * io/bits/poll2.h: New file.
1829
ac097f5c
UD
1830 [BZ #1350]
1831 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1832
2119dcfa
UD
1833 * configure.in: static is always set to yes. Remove.
1834 * config.make.in: Don't set build-static.
1835 * Makeconfig: Remove use of build-static.
1836 * dlfcn/Makefile: Likewise.
1837 * elf/Makefile: Likewise.
1838 * math/Makefile: Likewise.
1839 * misc/Makefile: Likewise.
1840 * nptl/Makefile: Likewise.
1841 * sysdeps/mach/hurd/Makefile: Likewise.
1842
121766a9
UD
1843 * configure.in: PWD_P is not used anymore.
1844 * config.make.in: Remove PWD_P entry.
1845
51a1d39c 1846 * configure.in: Remove last remnants of RANLIB.
8720d066 1847 No need to check for signed size_t anymore.
215f4bdc
UD
1848 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1849 and IA-64.
3857022a 1850 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1851 * aclocal.m4: Likewise.
1852
d3ed7225
UD
1853 * wcsmbs/mbrtoc16.c: Implement using towc function.
1854 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1855 * wcsmbs/wcsmbsload.c: Likewise.
1856 * iconv/gconv_simple.c: Likewise.
1857 * iconv/gconv_int.h: Likewise.
1858 * iconv/gconv_builtin.h: Likewise.
1859 * iconv/iconv_prog.c: Remove CHAR16 handling.
1860
1861 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1862
1863 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1864
a0da5fe1
UD
1865 * configure.in: Remove --with-elf and --enable-bounded options.
1866 Dont set base_machine for ia64. More non-ELF conditions removed.
1867 Remove testing and setting of leading underscore information.
1868 * config.make.in (build-bounded): Set to no.
1869 * config.h.in: Remove NO_UNDERSCORES entry.
1870 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1871 them.
1872 * csu/start.c: Remove !NO_UNDERSCORE code.
1873 * locale/localeinfo.h: Likewise.
1874 * sysdeps/generic/machine-gmon.h: Likewise.
1875 * sysdeps/generic/sysdep.h: Likewise.
1876 * sysdeps/i386/sysdep.h: Likewise.
1877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1878 * sysdeps/mach/sysdep.h: Likewise.
1879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1881 * sysdeps/sh/sysdep.h: Likewise.
1882 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1883 * sysdeps/unix/i386/sysdep.S: Likewise.
1884 * sysdeps/unix/sparc/start.c: Likewise.
1885 * sysdeps/unix/sparc/sysdep.S: Likewise.
1886 * sysdeps/unix/sparc/sysdep.h: Likewise.
1887 * sysdeps/unix/start.c: Likewise.
1888 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1889 * sysdeps/x86_64/sysdep.h: Likewise.
1890
df78418a
UD
18912012-01-07 Ulrich Drepper <drepper@gmail.com>
1892
a784e502
UD
1893 [BZ #13553]
1894 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1895 for non-gcc.
1896 * argp/argp-fmtstream.h: Use const instead __const.
1897 * argp/argp.h: Likewise.
1898 * assert/assert.h: Likewise.
1899 * bits/fenv.h: Likewise.
1900 * bits/sched.h: Likewise.
1901 * bits/sigset.h: Likewise.
1902 * bits/sigthread.h: Likewise.
1903 * catgets/nl_types.h: Likewise.
1904 * conform/data/pthread.h-data: Likewise.
1905 * crypt/crypt-private.h: Likewise.
1906 * crypt/crypt.h: Likewise.
1907 * crypt/crypt_util.c: Likewise.
1908 * ctype/ctype.h: Likewise.
1909 * debug/execinfo.h: Likewise.
1910 * debug/mbsnrtowcs_chk.c: Likewise.
1911 * debug/mbsrtowcs_chk.c: Likewise.
1912 * debug/wcsnrtombs_chk.c: Likewise.
1913 * debug/wcsrtombs_chk.c: Likewise.
1914 * debug/wcstombs_chk.c: Likewise.
1915 * dirent/dirent.h: Likewise.
1916 * dlfcn/dlfcn.h: Likewise.
1917 * elf/neededtest4.c: Likewise.
1918 * grp/grp.h: Likewise.
1919 * gshadow/gshadow.h: Likewise.
1920 * iconv/gconv.h: Likewise.
1921 * iconv/gconv_int.h: Likewise.
1922 * iconv/gconv_simple.c: Likewise.
1923 * iconv/iconv.h: Likewise.
1924 * iconv/loop.c: Likewise.
1925 * iconv/skeleton.c: Likewise.
1926 * include/aio.h: Likewise.
1927 * include/aliases.h: Likewise.
1928 * include/argz.h: Likewise.
1929 * include/arpa/inet.h: Likewise.
1930 * include/assert.h: Likewise.
1931 * include/dirent.h: Likewise.
1932 * include/dlfcn.h: Likewise.
1933 * include/execinfo.h: Likewise.
1934 * include/fcntl.h: Likewise.
1935 * include/fenv.h: Likewise.
1936 * include/glob.h: Likewise.
1937 * include/grp.h: Likewise.
1938 * include/libintl.h: Likewise.
1939 * include/mntent.h: Likewise.
1940 * include/netdb.h: Likewise.
1941 * include/pwd.h: Likewise.
1942 * include/rpc/netdb.h: Likewise.
1943 * include/sched.h: Likewise.
1944 * include/search.h: Likewise.
1945 * include/shadow.h: Likewise.
1946 * include/signal.h: Likewise.
1947 * include/stdio.h: Likewise.
1948 * include/stdlib.h: Likewise.
1949 * include/string.h: Likewise.
1950 * include/sys/socket.h: Likewise.
1951 * include/sys/stat.h: Likewise.
1952 * include/sys/statfs.h: Likewise.
1953 * include/sys/statvfs.h: Likewise.
1954 * include/sys/syslog.h: Likewise.
1955 * include/sys/time.h: Likewise.
1956 * include/sys/uio.h: Likewise.
1957 * include/time.h: Likewise.
1958 * include/unistd.h: Likewise.
1959 * include/utmp.h: Likewise.
1960 * include/wchar.h: Likewise.
1961 * include/wctype.h: Likewise.
1962 * inet/aliases.h: Likewise.
1963 * inet/arpa/inet.h: Likewise.
1964 * inet/netinet/ether.h: Likewise.
1965 * inet/netinet/in.h: Likewise.
1966 * intl/libintl.h: Likewise.
1967 * io/bits/fcntl2.h: Likewise.
1968 * io/fcntl.h: Likewise.
1969 * io/ftw.h: Likewise.
1970 * io/sys/poll.h: Likewise.
1971 * io/sys/stat.h: Likewise.
1972 * io/sys/statfs.h: Likewise.
1973 * io/sys/statvfs.h: Likewise.
1974 * io/utime.h: Likewise.
1975 * libio/bits/stdio.h: Likewise.
1976 * libio/bits/stdio2.h: Likewise.
1977 * libio/libio.h: Likewise.
1978 * libio/libioP.h: Likewise.
1979 * libio/stdio.h: Likewise.
1980 * locale/lc-ctype.c: Likewise.
1981 * locale/locale.h: Likewise.
1982 * login/utmp.h: Likewise.
1983 * malloc/arena.c: Likewise.
1984 * malloc/malloc.c: Likewise.
1985 * malloc/malloc.h: Likewise.
1986 * malloc/mcheck.c: Likewise.
1987 * malloc/mtrace.c: Likewise.
1988 * math/bits/mathcalls.h: Likewise.
1989 * math/fenv.h: Likewise.
1990 * math/math_private.h: Likewise.
1991 * misc/bits/error.h: Likewise.
1992 * misc/bits/syslog.h: Likewise.
1993 * misc/err.h: Likewise.
1994 * misc/error.h: Likewise.
1995 * misc/fstab.h: Likewise.
1996 * misc/mntent.h: Likewise.
1997 * misc/regexp.h: Likewise.
1998 * misc/search.h: Likewise.
1999 * misc/sgtty.h: Likewise.
2000 * misc/sys/mman.h: Likewise.
2001 * misc/sys/syslog.h: Likewise.
2002 * misc/sys/uio.h: Likewise.
2003 * misc/sys/xattr.h: Likewise.
2004 * misc/ttyent.h: Likewise.
2005 * nis/rpcsvc/ypclnt.h: Likewise.
2006 * nss/nss.h: Likewise.
2007 * posix/bits/unistd.h: Likewise.
2008 * posix/fnmatch.h: Likewise.
2009 * posix/glob.h: Likewise.
2010 * posix/sched.h: Likewise.
2011 * posix/spawn.h: Likewise.
2012 * posix/sys/wait.h: Likewise.
2013 * posix/unistd.h: Likewise.
2014 * posix/wordexp.h: Likewise.
2015 * pwd/pwd.h: Likewise.
2016 * resolv/netdb.h: Likewise.
2017 * resource/sys/resource.h: Likewise.
2018 * rt/aio.h: Likewise.
2019 * rt/bits/mqueue2.h: Likewise.
2020 * rt/mqueue.h: Likewise.
2021 * shadow/shadow.h: Likewise.
2022 * signal/signal.h: Likewise.
2023 * socket/send.c: Likewise.
2024 * socket/sendto.c: Likewise.
2025 * socket/sys/socket.h: Likewise.
2026 * stdio-common/printf.h: Likewise.
2027 * stdlib/bits/stdlib.h: Likewise.
2028 * stdlib/fmtmsg.h: Likewise.
2029 * stdlib/monetary.h: Likewise.
2030 * stdlib/stdlib.h: Likewise.
2031 * stdlib/ucontext.h: Likewise.
2032 * streams/stropts.h: Likewise.
2033 * string/argz.h: Likewise.
2034 * string/bits/string2.h: Likewise.
2035 * string/string.h: Likewise.
2036 * string/strings.h: Likewise.
2037 * sunrpc/rpc/auth.h: Likewise.
2038 * sunrpc/rpc/auth_des.h: Likewise.
2039 * sunrpc/rpc/clnt.h: Likewise.
2040 * sunrpc/rpc/netdb.h: Likewise.
2041 * sunrpc/rpc/pmap_clnt.h: Likewise.
2042 * sunrpc/rpc/xdr.h: Likewise.
2043 * sysdeps/generic/inttypes.h: Likewise.
2044 * sysdeps/generic/net/if.h: Likewise.
2045 * sysdeps/generic/sys/swap.h: Likewise.
2046 * sysdeps/gnu/net/if.h: Likewise.
2047 * sysdeps/gnu/utmpx.h: Likewise.
2048 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2049 * sysdeps/i386/i486/bits/string.h: Likewise.
2050 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2051 * sysdeps/s390/bits/string.h: Likewise.
2052 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2053 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2054 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2055 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2056 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2057 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2058 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2059 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2060 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2061 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2062 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2063 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2064 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2065 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2066 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2067 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2068 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2074 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2075 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2076 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2077 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2078 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2080 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2081 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2082 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2083 * sysvipc/sys/ipc.h: Likewise.
2084 * sysvipc/sys/msg.h: Likewise.
2085 * sysvipc/sys/sem.h: Likewise.
2086 * sysvipc/sys/shm.h: Likewise.
2087 * termios/termios.h: Likewise.
2088 * time/sys/time.h: Likewise.
2089 * time/time.h: Likewise.
2090 * wcsmbs/bits/wchar2.h: Likewise.
2091 * wcsmbs/uchar.h: Likewise.
2092 * wcsmbs/wchar.h: Likewise.
2093 * wctype/wctype.h: Likewise.
2094
0269750c
UD
2095 [BZ #13551]
2096 * Makeconfig: Remove all but ELF support including AIX support.
2097 * Makerules: Likewise.
2098 * config.h.in: Likewise.
2099 * config.make.in: Likewise.
2100 * configure: Likewise.
2101 * configure.in: Likewise.
2102 * csu/Makefile: Likewise.
2103 * csu/version.c: Likewise.
2104 * debug/Makefile: Likewise.
2105 * dlfcn/Makefile: Likewise.
2106 * elf/Makefile: Likewise.
2107 * extra-lib.mk: Likewise.
2108 * iconv/Makefile: Likewise.
2109 * include/libc-symbols.h: Likewise.
2110 * include/shlib-compat.h: Likewise.
2111 * resolv/Makefile: Likewise.
2112 * resolv/res_libc.c: Likewise.
2113 * rt/Makefile: Likewise.
2114 * sysdeps/i386/asm-syntax.h: Likewise.
2115 * sysdeps/i386/sysdep.h: Likewise.
2116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2117 * sysdeps/mach/sysdep.h: Likewise.
2118 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2119 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2120 * sysdeps/s390/asm-syntax.h: Likewise.
2121 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2123 * sysdeps/sh/sysdep.h: Likewise.
2124 * sysdeps/unix/sparc/sysdep.h: Likewise.
2125 * sysdeps/wordsize-32/divdi3.c: Likewise.
2126 * sysdeps/x86_64/sysdep.h: Likewise.
2127
00bbd29b
UD
2128 * argp/Versions: Remove _argp_unlock_xxx.
2129
2130 [BZ #13559]
2131 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2132 * abilist/libBrokenLocale.abilist: Likewise.
2133 * abilist/libanl.abilist: Likewise.
2134 * abilist/libc.abilist: Likewise.
2135 * abilist/libcrypt.abilist: Likewise.
2136 * abilist/libdl.abilist: Likewise.
2137 * abilist/libm.abilist: Likewise.
2138 * abilist/libnsl.abilist: Likewise.
2139 * abilist/libpthread.abilist: Likewise.
2140 * abilist/libresolv.abilist: Likewise.
2141 * abilist/librt.abilist: Likewise.
2142 * abilist/libthread_db.abilist: Likewise.
2143 * abilist/libutil.abilist: Likewise.
2144 * abilist/libnss_db.abilist: New file.
2145
2146 * scripts/abilist.awk: Add support for indirect functions.
2147
a2693a0e
UD
2148 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2149
3f05895f
UD
2150 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2151
ecb6fb48
UD
2152 * shlib-versions: Remove entries for ports architectures.
2153
664f8cb9
UD
2154 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2155 files in ports.
2156 * elf/stackguard-macros.h: Remove support for IA-64.
2157 * elf/tst-auditmod1.c: Likewise.
2158 * sysdeps/generic/ldsodefs.h: Likewise.
2159
7ae81d88
UD
2160 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2161 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2162 configure files.
2163
bdeba135
UD
2164 [BZ #13552]
2165 * configure.in: Remove --enable-omitfp support.
2166 * FAQ.in: Adjust.
2167 * config.make.in: Likewise.
2168 * Makeconfig: Likewise.
2169 * manual/install.texi: Likewise.
2170
d75a0a62
UD
2171 In case anyone cares, the IA-64 architecture could move to ports.
2172 * sysdeps/ia64/*: Removed.
2173 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2174 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2175
dcc9756b
UD
2176 [BZ #13555]
2177 * configure.in: Remove entries for unsupported architectures.
2178
d3761ebc 2179 [BZ #13533]
9954432e
UD
2180 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2181 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2182 routines.
2183 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2184 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2185 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2186 fall back to using wcrtomb.
2187 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2188 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2189 renaming.
2190 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2191 * wcsmbs/tst-c16c32-1.c: New file.
2192
2193 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2194 local variable.
2195
c3a87236
UD
2196 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2197
28926a1b
UD
2198 * elf/tst-unique3.cc: Add explicit declaration of gets.
2199 * elf/tst-unique3lib.cc: Likewise.
2200 * elf/tst-unique3lib2.cc: Likewise.
2201 * elf/tst-unique4.cc: Likewise.
2202
df78418a
UD
2203 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2204
8ecd6b2a
JM
22052012-01-06 Joseph Myers <joseph@codesourcery.com>
2206
2207 [BZ #13566]
2208 * assert/assert.h (static_assert): Don't define for C++.
2209 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2210 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2211
9f115170
UD
22122012-01-03 Ulrich Drepper <drepper@gmail.com>
2213
5e0d0300
UD
2214 * iconv/loop.c (single loop): Fix assertion in storing of
2215 remaining bytes.
2216
9f115170
UD
2217 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2218
81fb02b0
UD
22192012-01-01 Ulrich Drepper <drepper@gmail.com>
2220
2221 * posix/getconf.c: Update copyright year.
2222 * nss/getent.c: Likewise.
a316c1f6 2223 * nss/makedb.c: Likewise.
81fb02b0
UD
2224 * iconv/iconvconfig.c: Likewise.
2225 * iconv/iconv_prog.c: Likewise.
2226 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2227 * elf/pldd.c: Likewise.
2228 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2229 * catgets/gencat.c: Likewise.
2230 * csu/version.c: Likewise.
2231 * elf/ldd.bash.in: Likewise.
2232 * elf/sprof.c (print_version): Likewise.
2233 * locale/programs/locale.c: Likewise.
2234 * locale/programs/localedef.c: Likewise.
a316c1f6 2235 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2236 * nscd/nscd.c (print_version): Likewise.
2237 * debug/xtrace.sh: Likewise.
2238 * malloc/memusage.sh: Likewise.
2239 * malloc/mtrace.pl: Likewise.
2240 * debug/catchsegv.sh: Likewise.
2241
2ba92745
JJ
22422011-12-30 Jakub Jelinek <jakub@redhat.com>
2243
2244 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2245 pure attribute.
2246
dadebdae
UD
22472011-12-24 Ulrich Drepper <drepper@gmail.com>
2248
d3761ebc 2249 [BZ #13533]
db6af3eb
UD
2250 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2251 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2252 transformations.
2253 * iconv/gconv_int.h: Likewise.
2254 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2255 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2256 from libc for GLIBC_2.16.
2257 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2258 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2259 * wcsmbs/uchar.h: Really define mbstate_t.
2260 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2261 * wcsmbs/c16rtomb.c: New file.
2262 * wcsmbs/mbrtoc16.c: New file.
2263 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2264 for C/POSIX locale.
2265 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2266 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2267
dadebdae
UD
2268 * wcsmbs/wchar.h: Add missing __restrict.
2269
67371b56
UD
22702011-12-23 Ulrich Drepper <drepper@gmail.com>
2271
74033a25
UD
2272 [BZ #13532]
2273 * time/Makefile (routines): Add timespec_get.
2274 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2275 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2276 timespec for ISO C11.
2277 * time/timespec_get.c: New file.
2278 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2279 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2280
380d7e87
UD
2281 [BZ #13531]
2282 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2283 * stdlib/stdlib.h: Declare aligned_alloc.
2284 * Versions.def: Add GLIBC_2.16 for libc.
2285 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2286
4e9e7a35
UD
2287 [BZ 13527]
2288 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2289 ISO C11.
2290
380d7e87 2291 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2292 code.
2293
03a71829
UD
2294 [BZ #13528]
2295 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2296
839e283e
UD
2297 [BZ #13529]
2298 * assert/assert.h (static_assert): Define.
2299
ce5294e2 2300 * version.h: Update for 2.16 development version.
90fa7312 2301
8d44e150 2302 [BZ #13526]
d7809905
UD
2303 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2304 _ISOC11_SOURCE.
2305
c0da14cd
UD
2306 * version.h (RELEASE): Bump for 2.15 release.
2307 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2308
530a3249
MP
2309 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2310 Patch by Marek Polacek <mpolacek@redhat.com>.
2311
67371b56
UD
2312 * bits/byteswap.h: Protect long long constants with __extension__.
2313 * sysdeps/i386/bits/byteswap.h: Likewise.
2314 * sysdeps/ia64/bits/byteswap.h: Likewise.
2315 * sysdeps/s390/bits/byteswap.h: Likewise.
2316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2317
15db4de1
LD
23182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2319
2320 [BZ #13540]
bbe315ea
LD
2321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2322 destination buffer.
15db4de1
LD
2323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2324
2b2596b1
MP
23252011-12-23 Marek Polacek <polacek@redhat.com>
2326
2327 * elf/dl-addr.c (determine_info): Add inline keyword.
2328 * elf/tst-auditmod4b.c (check_avx): Likewise.
2329 * elf/tst-auditmod6b.c (check_avx): Likewise.
2330 * elf/tst-auditmod6c.c (check_avx): Likewise.
2331 * elf/tst-auditmod7b.c (check_avx): Likewise.
2332
70c6c246
UD
23332011-12-23 Ulrich Drepper <drepper@gmail.com>
2334
2335 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2336 !__SSE_MATH__.
2337
c044cf14
LD
23382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2339
15db4de1 2340 [BZ #13540]
c044cf14
LD
2341 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2342 processing for last bytes.
2343
6b13d9d9
BH
23442011-08-06 Bruno Haible <bruno@clisp.org>
2345
d455f537
BH
2346 [BZ #13061]
2347 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2348 U+0385, not to U+1FEE.
2349
6b13d9d9
BH
2350 [BZ #13062]
2351 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2352 entry for U+00A5 U+0301.
2353
db910efd
UD
23542011-12-22 Ulrich Drepper <drepper@gmail.com>
2355
27deeafc
UD
2356 [BZ #13166]
2357 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2358 buffer for the output is too small.
2359
aed9d171
UD
2360 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2361 optimization.
2362
db910efd
UD
2363 [BZ #13185]
2364 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2365 SSE flags if possible.
2366
2bd779ae
LD
23672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2368
e7f9dac3 2369 [BZ #13540]
2bd779ae
LD
2370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2371 processing for last bytes.
2372
154bfc16
JM
23732011-12-22 Joseph Myers <joseph@codesourcery.com>
2374
2375 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2376 (syscall-list-default-options, syscall-list-default-condition)
2377 (syscall-list-includes): Define.
2378 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2379 list of ABIs and options and #if conditions for each ABI. Do not
2380 handle common syscalls between ABIs specially.
2381 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2382 Remove.
2383 (syscall-list-variants, syscall-list-32bit-options)
2384 (syscall-list-32bit-condition, syscall-list-64bit-options)
2385 (syscall-list-64bit-condition): Define.
2386 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2387 (syscall-list-variants, syscall-list-32bit-options)
2388 (syscall-list-32bit-condition, syscall-list-64bit-options)
2389 (syscall-list-64bit-condition): Define.
2390 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2391 Remove.
2392 (syscall-list-variants, syscall-list-32bit-options)
2393 (syscall-list-32bit-condition, syscall-list-64bit-options)
2394 (syscall-list-64bit-condition): Define.
2395 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2396 Remove.
2397 (syscall-list-variants, syscall-list-32bit-options)
2398 (syscall-list-32bit-condition, syscall-list-64bit-options)
2399 (syscall-list-64bit-condition): Define.
2400
21eaf3a5
UD
24012011-12-22 Ulrich Drepper <drepper@gmail.com>
2402
16c6f992
UD
2403 * locale/iso-639.def: Add brx entry.
2404
41043168
UD
2405 [BZ #13328]
2406 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2407 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2408
21eaf3a5
UD
2409 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2410 __feraiseexcept_renamed.
2411
e3a851a2
UD
24122011-12-21 Ulrich Drepper <drepper@gmail.com>
2413
4920765e
UD
2414 [BZ #13538]
2415 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2416 EPOLLET with unsigned values.
2417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2419
e3a851a2
UD
2420 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2421 to large cancellation.
2422 * math/s_cacoshf.c: Likewise.
2423 * math/s_cacoshl.c: Likewise.
2424
b27e24b8
RK
24252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2426
2427 [BZ #13305]
aebefeee 2428 [BZ #12786]
b27e24b8
RK
2429 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2430 * math/s_cacoshf.c: Likewise.
2431 * math/s_cacoshl.c: Likewise.
2432
ee190f67
UD
24332011-12-21 Ulrich Drepper <drepper@gmail.com>
2434
2435 [BZ #13439]
2436 * iconv/gconv.h: Define __GCONV_SWAP.
2437 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2438 * iconvdata/utf-16.c: Likewise.
2439 * iconvdata/utf-32.c: Likewise.
2440
707f25df
AS
24412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2442
2443 [BZ #13524]
2444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2445 numerator after shifting it by one limb.
2446
d2daaa1e
RÁE
24472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2448
2449 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2450 under [__USE_EXTERN_INLINES].
2451
a4647e72
UD
24522011-12-17 Ulrich Drepper <drepper@gmail.com>
2453
2454 [BZ #13446]
2455 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2456
f0b264f1
AZ
24572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458
2459 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2460 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2461 optimized code.
2462 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2463 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2464 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2465 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2466 for strncasecmp/strncasecmp_l compilation.
2467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2468 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2469
8ef4f244
MP
24702011-12-08 Marek Polacek <mpolacek@redhat.com>
2471
2472 [BZ #13484]
2473 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2474 of __asm__.
2475
97ac2654
UD
24762011-12-17 Ulrich Drepper <drepper@gmail.com>
2477
2478 [BZ #13506]
2479 * time/tzfile.c (__tzfile_read): Check values from file header.
2480
91d2a845
WS
24812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2482
2483 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2484 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2485 * powerpc/powerpc32/dl-start.S: Likewise.
2486 * powerpc/powerpc32/elf/start.S: Likewise.
2487 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2488 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2489 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2490 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2491 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2492 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2493 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2494 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2495 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2496 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2497 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2498 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2499 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2500 * powerpc/powerpc32/memset.S: Likewise.
2501 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2502 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2503 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2504 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2505 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2506 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2507 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2508 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2509 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2510 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2511 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2514
a1267ba1
AZ
25152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2516
2517 * math/libm-test.inc: Added more nearbyint tests.
2518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2522
ad8ac1bd
RL
25232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2524
2525 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2526 FD_CLOEXEC.
2527
1d3e4b61
UD
25282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2529
2530 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2531 Add wcscpy-ssse3 wcscpy-c.
2532 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2533 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2534 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2535 * sysdeps/x86_64/wcschr.S: New file.
2536 * sysdeps/x86_64/wcsrchr.S: New file.
2537 * string/test-strcmp.c: Remove checking of wcscmp function for
2538 wrong alignments.
2539 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2540 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2541 wcsrchr-sse2 wcsrchr-c.
2542 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2543 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2544 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2545 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2546 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2547 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2548 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2549 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2550 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2551 * wcsmbc/wcschr.c (WCSCHR): New macro.
2552
5b330a2d
UD
25532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2554
2555 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2556 * wcsmbs/test-wcsrchr.c: New file.
2557 * string/test-strrchr.c: Add wcsrchr support.
2558 (WIDE): New macro.
2559 * wcsmbs/test-wcscpy.c: New file.
2560 * string/test-strcpy.c: Add wcscpy support.
2561 (WIDE): New macro.
26428b7c 2562
f039c043
UD
25632011-12-10 Ulrich Drepper <drepper@gmail.com>
2564
2565 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2566 the inner loop.
2567
850fb039
AS
25682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2569
2570 [BZ #13472]
2571 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2572
4efbd5cb
UD
25732011-12-04 Ulrich Drepper <drepper@gmail.com>
2574
52ff5dd0 2575 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2576 Minor optimizations.
52ff5dd0 2577
4efbd5cb
UD
2578 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2579 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2580 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2581
8a426e12
UD
25822011-12-03 Ulrich Drepper <drepper@gmail.com>
2583
aff2453d
UD
2584 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2585 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2586 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2587 for gcc to avoid warnings.
2588 * inet/Makefile (tests): Add tst-checks.
2589 * inet/tst-checks.c: New file.
2590
2591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2592 warning.
2593
2594 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2595 __wmemcmp_sse2.
2596
2597 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2598 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2599
8a426e12
UD
2600 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2601
9bea3473
UD
26022011-12-02 Ulrich Drepper <drepper@gmail.com>
2603
3a965496
UD
2604 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2605 problem.
2606
9bea3473
UD
2607 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2608
f101631b
UD
26092011-11-29 Joseph Myers <joseph@codesourcery.com>
2610
2611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2612 conditional on GCC version.
2613 (__arch_compare_and_exchange_val_8_acq)
2614 (__arch_compare_and_exchange_val_16_acq)
2615 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2616 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2617 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2618
a98275aa
UD
26192011-12-02 Joseph Myers <joseph@codesourcery.com>
2620
2621 * sysdeps/sh/backtrace.c: New file.
2622
d4cc29a2
AS
26232011-12-02 Andreas Schwab <schwab@redhat.com>
2624
2625 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2626 parenthesis.
2627
6257af2d
AS
26282011-12-01 Andreas Schwab <schwab@redhat.com>
2629
2630 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2631 falling back to utime.
2632
b5f44c1a
AS
26332011-11-30 Andreas Schwab <schwab@redhat.com>
2634
2635 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2636 expectations for float.
2637
f3a6cc0a
AS
26382011-11-29 Andreas Schwab <schwab@redhat.com>
2639
2640 * locale/weight.h (findidx): Add parameter len.
2641 * locale/weightwc.h (findidx): Likewise.
2642 * posix/fnmatch_loop.c (FCT): Adjust caller.
2643 * posix/regcomp.c (build_equiv_class): Likewise.
2644 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2645 * posix/regexec.c (check_node_accept_bytes): Likewise.
2646 * string/strcoll_l.c (STRCOLL): Likewise.
2647 * string/strxfrm_l.c (STRXFRM): Likewise.
2648
9d65ea3a
UD
26492011-11-17 Ulrich Drepper <drepper@gmail.com>
2650
2651 * Makefile.in: Remove CVSOPT handling.
2652 * configure.in: Remove use of AC_REVISION.
2653 * iconvdata/Makefile (distribute): No need to filter out CVS.
2654 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2655 handling.
2656
5583a086
AS
26572011-11-16 Andreas Schwab <schwab@redhat.com>
2658
2659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2660 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2661 [USE_AS_STRNCASECMP_L]: Likewise.
2662 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2663 NO_TLS_DIRECT_SEG_REFS.
2664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2665 Fix argument offsets for non-PIC.
2666 [USE_AS_STRNCASECMP_L]: Likewise.
2667 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2668 NO_TLS_DIRECT_SEG_REFS.
2669
d62a8200
UD
26702011-11-15 Ulrich Drepper <drepper@gmail.com>
2671
9d65ea3a 2672 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2673 O_CLOEXEC.
2674 * locale/loadlocale.c (_nl_load_locale): Likewise.
2675
09f93bd3
AS
26762011-11-15 Andreas Schwab <schwab@redhat.com>
2677
446514f9
AS
2678 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2679 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2681 (SYSCALL_GETTIME): Set errno on error.
2682
09f93bd3
AS
2683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2684 count references to noai6ai_cached.
2685
312be3f9
UD
26862011-11-15 Ulrich Drepper <drepper@gmail.com>
2687
2688 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2689
2690 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2691 FD_CLOEXEC for /proc/self/maps.
2692
2693 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2694 FD_CLOEXEC for /proc/meminfo.
2695
2696 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2697 gai.conf.
2698
2699 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2700 FD_CLOEXEC for given file.
2701
2702 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2703
2704 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2705 FD_CLOEXEC for /etc/hosts.
2706 (_gethtent): Likewise.
2707
2708 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2709
2710 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2711 cancellation and set FD_CLOEXEC for /etc/netgroup.
2712
2713 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2714 reading /etc/publickey.
2715
2716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2717 allow cancellation when reading /etc/group.
2718
2719 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2720 cancellation.
2721 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2722
2723 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2724 when using data file.
2725
2726 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2727
2728 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2729 (write_nis_obj): Use "c" and "e" in fopen.
2730
2731 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2732
2733 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2734
2735 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2736
2737 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2738
2739 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2740 locale.alias.
2741
2742 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2743
2744 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2745
2746 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2747
2748 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2749 file parsing and set FD_CLOEXEC.
2750
82af0fa8
UD
27512011-11-14 Ulrich Drepper <drepper@gmail.com>
2752
2753 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2754
a5fb313c
AS
27552011-11-14 Andreas Schwab <schwab@redhat.com>
2756
2757 * malloc/arena.c (arena_get2): Don't call reused_arena when
2758 _int_new_arena failed.
2759
6abf3465
UD
27602011-11-14 Ulrich Drepper <drepper@gmail.com>
2761
2762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2763 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2764 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2765 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2766 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2768 to compile strcasecmp and strncasecmp.
2769 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2770 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2771
2772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2773
76e3966e
UD
27742011-11-13 Ulrich Drepper <drepper@gmail.com>
2775
2776 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2777 locale-defines.sym to gen-as-const-headers.
2778 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2779 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2781 to compile strcasecmp and strncasecmp.
2782 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2783 strcasecmp_l and strncasecmp_l.
2784 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2785 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2786 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2787 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2788 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2789 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2790 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2791 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2792 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2793 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2794 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2795
ab26144e
UD
27962011-11-12 Ulrich Drepper <drepper@gmail.com>
2797
7edb22ef
UD
2798 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2799 result of SYSDEP_GETTIME_CPU to retval.
2800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2801 parameter list to macro. Remove trailing semicolon. Adjust users.
2802
9694fc44
UD
2803 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2804 variable.
2805
8ad89ef8
UD
2806 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2807 mantissa words.
2808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2809
0c822ef9
UD
2810 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2811 from unused variable.
2812
874e0564
UD
2813 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2814 DWARF definitions.
2815 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2816 for assembling.
2817
3a2edc79
UD
2818 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2819 over namespaces.
2820
f3c2577f
UD
2821 * sunrpc/rpc_prot.c (rejected): Fix case value.
2822
294ce126
UD
2823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2824 unsigned long long int to avoid warnings in shift.
2825
5e2b63c6
UD
2826 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2827 of use of trans.
2828 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2829 variable tmp.
2830
e7f4b08e
UD
2831 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2832 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2833 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2834
ab26144e
UD
2835 * nis/nis_table.c (nis_list): Use variable of correct type for
2836 result of __follow_path call.
2837
8a6d5255
AZ
28382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839
2840 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2841 of math functions ceil, trunc, floor, round, and sqrt, when
2842 avaliable on the platform.
2843 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2844 name clash.
2845 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2846 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2847 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2848
aaddc98c
MP
28492011-10-30 Marek Polacek <mpolacek@redhat.com>
2850
2851 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2852 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2853
95b7042b
RM
28542011-11-11 Roland McGrath <roland@hack.frob.com>
2855
2856 * include/unistd.h: Fix __readlink return type.
2857 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2858
57769839
UD
28592011-11-11 Ulrich Drepper <drepper@gmail.com>
2860
2861 * stdlib/ucontext.h: Undo last change for makecontext.
2862
edc5984d
AS
28632011-11-11 Andreas Schwab <schwab@redhat.com>
2864
98591e58
AS
2865 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2866
edc5984d
AS
2867 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2868 * setjmp/setjmp.h: Mark functions as non-leaf.
2869 * setjmp/bits/setjmp2.h: Likewise.
2870 * stdlib/ucontext.h: Likewise.
2871
77cdc054
AS
28722011-11-10 Andreas Schwab <schwab@redhat.com>
2873
2874 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2875 (reused_arena): Don't check arena limit.
2876 (arena_get2): Atomically check arena limit.
2877
fe72eebd
UD
28782011-11-08 Ulrich Drepper <drepper@gmail.com>
2879
5f078c32
UD
2880 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2881 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2882
fe72eebd
UD
2883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2884 instructions.
2885
ae1bc2fa
AS
28862011-11-07 Andreas Schwab <schwab@redhat.com>
2887
7583a88d
AS
2888 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2889 handler when locking.
2890
ae1bc2fa
AS
2891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2892 Fix size of allocated buffer.
2893
10fb0bfa
AS
28942011-11-04 Andreas Schwab <schwab@redhat.com>
2895
998832a4
AS
2896 [BZ #10103]
2897 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2898 declarations for long double functions.
2899 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2900
10fb0bfa
AS
2901 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2902
3d7ba52b
AS
29032011-11-03 Andreas Schwab <schwab@redhat.com>
2904
a9ae54a1
AS
2905 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2906 installed.
2907
3d7ba52b
AS
2908 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2909 is disabled.
2910
bc8db248
ST
29112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2912
2913 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2914
45b96dd6
AS
29152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2916
647776f6
AS
2917 * include/alloca.h (stackinfo_alloca_round): Define.
2918 (extend_alloca): Use it.
2919 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2920 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2921 here.
2922
d91a8b93
AS
2923 * scripts/check-local-headers.sh: Ignore libaudit.h.
2924
45b96dd6
AS
2925 * nscd/Makefile (extra-objs): Make recursively expanded.
2926
432d41ce
UD
29272011-11-01 Ulrich Drepper <drepper@gmail.com>
2928
34372fc6
UD
2929 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2930 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2931
fadb59f8
UD
2932 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2933 * posix/tst-rfc3484-2.c: Likewise.
2934 * posix/tst-rfc3484-3.c: Likewise.
2935
78239589
UD
2936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2937 process_vm_writev.
2938 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2939 process_vm_writev.
2940 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2941 process_vm_writev from libc using GLIBC_2.15 version.
2942
432d41ce
UD
2943 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2944
02f9c6cf
PP
29452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2946
2947 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2948 stack usage.
2949
3a2c0242
UD
29502011-10-31 Ulrich Drepper <drepper@gmail.com>
2951
f4ec4833
UD
2952 [BZ #13367]
2953 * nss/getent.c (initgroups_keys): Show error message in case no group
2954 names are given.
2955
3a2c0242
UD
2956 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2957 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2958 __bump_nl_timestamp.
2959 * nscd/connections (nscd_init): When host database is served open
2960 netlink socket and request notification about configuration changes.
2961 (main_loop_poll): Track netlink file descriptor and bump timestamp
2962 in case data becomes available.
2963 (main_loop_epoll): Likewise.
2964 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2965 (database_pers_head): Add extra_data fileds.
2966 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2967 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2968 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2969 Adjust caller.
2970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2971 in6ai data, call __free_in6ai.
2972 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2973 Add -DHAVE_NETLINK.
2974 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2975 interface information. Reuse previous data if netlink timestamp
2976 is not changed.
2977 (__bump_nl_timestamp): New function.
2978 (__free_in6ai): New function.
2979
636064eb
UD
29802011-10-30 Ulrich Drepper <drepper@gmail.com>
2981
2982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2983 close_not_cancel_no_status here.
2984 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2985
9beb2334
UD
29862011-10-29 Ulrich Drepper <drepper@gmail.com>
2987
6ef76f3b
UD
2988 [BZ #13276]
2989 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2990 return value.
2991
0ffc4f3e 2992 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
2993 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2994 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2995
cb95113e
UD
29962011-07-03 Andreas Jaeger <aj@suse.de>
2997
2998 [BZ #10709]
2999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3000 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3001 * math/libm-test.inc (sin_test): Add test case.
3002
a1b560ff
UD
30032011-10-29 Ulrich Drepper <drepper@gmail.com>
3004
c9aaface
UD
3005 [BZ #13337]
3006 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3007 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3008
d272e7f1
UD
3009 * elf/chroot_canon.c (chroot_canon): Cleanups.
3010
1bc33071
UD
3011 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3012
1760874d
TJ
3013 [BZ #13335]
3014 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3015 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3016
51d91b18
UD
3017 * string/test-strchr.c: Make usable for strchrnul testing.
3018 * string/test-strchrnul.c: New file.
3019 * string/Makefile (strop-tests): Add strchrnul.
3020
a1b560ff 3021 * po/it.po: Update from translation team.
b611fb81 3022 * po/es.po: Likewise.
a1b560ff 3023
a5b81e1f
UD
30242011-10-28 Ulrich Drepper <drepper@gmail.com>
3025
fd52bc6d
UD
3026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3027 the three constants needed as parameters. Drop the others.
3028 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3029 __m128i_strloadu_tolower.
52e4b9eb
UD
3030 Create and initialize variable zero and use it in all the places
3031 where _mm_setzero_si128 was used.
fd52bc6d 3032
a5b81e1f
UD
3033 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3034 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3035 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3036 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3037 anymore.
3038 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3039 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3040 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3041 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3042 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3043 __mpranred, __mptan.
3044 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3045 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3046 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3047 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3050 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3051 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3052 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3053
b4343346
AS
30542011-10-28 Andreas Schwab <schwab@redhat.com>
3055
0c92d8a8
AS
3056 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3057 redefine if SHARED.
3058 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3059
b4343346
AS
3060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3061 wide char related routines to wcsmbs subdir.
3062
3871f58f
AS
30632011-10-27 Andreas Schwab <schwab@redhat.com>
3064
3065 [BZ #13344]
3066 * misc/sys/cdefs.h (__THROWNL): Define.
3067 * posix/unistd.h: Use __THREADNL instead of __THREAD
3068 for memory synchronization functions.
3069
94d44d9f
RM
30702011-10-26 Roland McGrath <roland@hack.frob.com>
3071
21b64b15 3072 [BZ #13349]
94d44d9f
RM
3073 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3074 doesn't exist.
3075 * manual/stdio.texi (Obstack Streams): Node removed.
3076
f6ce9294
AS
30772011-10-26 Andreas Schwab <schwab@redhat.com>
3078
80479147
AS
3079 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3080 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3081 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3082
f6ce9294
AS
3083 * math/math_private.h (math_force_eval): Allow non-addressable
3084 arguments.
3085 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3086
618280a1
UD
30872011-10-25 Ulrich Drepper <drepper@gmail.com>
3088
e0016b11
UD
3089 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3090 file is not needed.
3091
3092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3095 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3098 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3099 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3100 Add AVX variants.
3101 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3102 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3103 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3104 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3105 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3106 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3107 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3108 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3109 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3110 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3111 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3112 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3114 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3117 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3118 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3119 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3120
3121 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3122 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3123
618280a1
UD
3124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3125 place. Use VEX encoding when compiling for AVX.
3126
37822576
AS
31272011-10-25 Andreas Schwab <schwab@redhat.com>
3128
1f1e1947
AS
3129 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3130 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3131
37822576
AS
3132 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3133
31ea014d
UD
31342011-10-25 Ulrich Drepper <drepper@gmail.com>
3135
d7826aa1 3136 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3137 useless if() expression.
d7826aa1
UD
3138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3143 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3151 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3154 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3156 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3157
31ea014d
UD
3158 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3159
16437fec
AS
31602011-10-25 Andreas Schwab <schwab@redhat.com>
3161
3162 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3163 condition.
3164 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3165
31d3cc00
UD
31662011-10-25 Ulrich Drepper <drepper@gmail.com>
3167
3168 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3169 .text section. Avoid duplicate constants.
3170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3178 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3179 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3180 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3181 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3184 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3186 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3193 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3194 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3195 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3196 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3197 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3199 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3211 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3212 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3214 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3215
58985aa9
UD
32162011-10-24 Ulrich Drepper <drepper@gmail.com>
3217
202c9deb
UD
3218 * sysdeps/x86_64/dla.h: Move to ...
3219 * sysdeps/x86_64/fpu/dla.h: ...here.
3220 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3221 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3222
af968f62
UD
3223 * config.make.in: Add have-mfma4 entry.
3224 * configure.in: Substitute libc_cv_cc_fma4.
3225 * math/Makefile (dbl-only-routines): Add sincostab.
3226 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3227 Use __sincostab not sincos.
3228 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3229 name is a macro.
3230 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3234 using __copysign.
3235 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3236 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3237 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3238 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3239 and __inv.
3240 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3241 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3242 __copysign.
3243 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3244 define aliases when function name is a macro.
3245 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3246 sysdeps/ieee754/dbl-64/sincos.tbl.
3247 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3248 fma4-enabled routines.
3249 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3250 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3251 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3252 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3259 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3260 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3261 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3262 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3264 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3265 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3266 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3267 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3269 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3270 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3276 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3277 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3278 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3279
58985aa9
UD
3280 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3281 rename.
3282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3290
a201fbcf
AS
32912011-10-24 Andreas Schwab <schwab@redhat.com>
3292
3293 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3294
fc2ee42a
LD
32952011-10-23 Ulrich Drepper <drepper@gmail.com>
3296
bb3129bd
UD
3297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3298
0275fff8
UD
3299 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3300 prediction.
3301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3302
2fa2ae85
UD
3303 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3304 Remove unused variable magic_bits.
3305 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3306
fc2ee42a
LD
3307 * string/strnlen.c: Define and use STRNLEN macro.
3308 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3309 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3311 * wcsmbs/wcslen.c: Define and use WCSLEN.
3312 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3313 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3314 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3315 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3316 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3317 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3318 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3319
ce7dd29f
LD
33202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3321
3322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3323 strnlen-sse2-no-bsf.
3324 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3326 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3327 Add strnlen support.
3328 (USE_AS_STRNLEN): New macro.
3329 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3331 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3332 * sysdeps/x86_64/wcslen.S: New file.
3333
979c70a3
MZ
33342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3335
3336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3337 XMM-moves are used for copying on small sizes.
3338
2d09f82f
LD
33392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3340
3341 * wcsmbs/Makefile (strop-tests): Add wcschr.
3342 * wcsmbs/test-wcschr.c: New file.
3343 * string/test-strchr.c: Update.
3344 Add wcschr support.
3345 (WIDE): New macro.
3346
619fccca
LD
33472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3348
2d09f82f 3349 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3350 * wcsmbs/test-wcslen.c: New file.
3351 * string/test-strlen.c: Update.
3352 Add wcslen support.
3353 (WIDE): New macro.
3354
09f699ea
UD
33552011-10-23 Ulrich Drepper <drepper@gmail.com>
3356
3357 * po/it.po: Update from translation team.
3358
95584d3b
LD
33592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3360
3361 * sysdeps/x86_64/wcscmp.S: Update.
3362 Fix wrong comparison semantics.
3363 wcscmp shall use signed comparison not unsigned.
3364 Don't use substraction to avoid overflow bug.
3365 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3366 * wcsmbc/wcscmp.c: Likewise.
3367 * string/test-strcmp.c: Likewise.
3368 Add new tests to check cases with negative values.
3369
c8b3296b
UD
33702011-10-23 Ulrich Drepper <drepper@gmail.com>
3371
3372 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3373 * sysdeps/x86_64/dla.h: ...here. New file.
3374 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3383
246ad57a
AS
33842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3385
3386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3387 __ynl_finite aliases.
3388
a1a87169
UD
33892011-10-22 Ulrich Drepper <drepper@gmail.com>
3390
0d355eb7
UD
3391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3392
a1a87169
UD
3393 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3394 define DLA_FMA.
3395 [DLA_FMA] (EMULV): Use DLA_FMA.
3396 [DLA_FMA] (MUL12): Use EMULV.
3397 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3398 that are not needed.
3399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3406
ee2aafe0
AS
34072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3408
3409 * math/s_nan.c: Undef __nan.
3410 * math/s_nanf.c: Undef __nanf.
3411 * math/s_nanl.c: Undef __nanl.
3412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3413 "math_private.h".
3414
bc62c2fb
UD
34152011-10-22 Ulrich Drepper <drepper@gmail.com>
3416
77425c63
UD
3417 * math/s_catan.c: Add branch predictions.
3418 * math/s_catanf.c: Likewise.
3419 * math/s_catanh.c: Likewise.
3420 * math/s_catanhf.c: Likewise.
3421 * math/s_catanhl.c: Likewise.
3422 * math/s_catanl.c: Likewise.
3423 * math/s_cexp.c: Likewise.
3424 * math/s_cexpf.c: Likewise.
3425 * math/s_cexpl.c: Likewise.
3426 * math/s_clog.c: Likewise.
3427 * math/s_clog10.c: Likewise.
3428 * math/s_clog10f.c: Likewise.
3429 * math/s_clog10l.c: Likewise.
3430 * math/s_clogf.c: Likewise.
3431 * math/s_clogl.c: Likewise.
3432 * math/s_csqrt.c: Likewise.
3433 * math/s_csqrtf.c: Likewise.
3434 * math/s_csqrtl.c: Likewise.
3435 * math/s_ctanf.c: Likewise.
3436 * math/s_ctanh.c: Likewise.
3437 * math/s_ctanhf.c: Likewise.
3438 * math/s_ctanhl.c: Likewise.
3439 * math/s_ctanl.c: Likewise.
3440
bc62c2fb
UD
3441 * math/math_private.h: Define __nan, __nanf, __nanl.
3442 * math/s_cacosh.c: Include <math_private.h>.
3443 * math/s_cacoshl.c: Likewise.
3444 * math/s_casinh.c: Likewise.
3445 * math/s_casinhf.c: Likewise.
3446 * math/s_casinhl.c: Likewise.
3447 * math/s_ccos.c: Rely entire on ccosh.
3448 * math/s_ccosf.c: Rely entire on ccoshf.
3449 * math/s_ccosl.c: Rely entirely on ccoshl.
3450 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3451 Remove tests for FE_INVALID.
3452 * math/s_ccoshf.c: Likewise.
3453 * math/s_ccoshl.c: Likewise.
3454 * math/s_csin.c: Likewise.
3455 * math/s_csinf.c: Likewise.
3456 * math/s_csinh.c Likewise.
3457 * math/s_csinhf.c: Likewise.
3458 * math/s_csinhl.c: Likewise.
3459 * math/s_csinl.c: Likewise.
3460 * math/s_ctan.c: Likewise.
3461 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3462 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3464
8ec250a4
UD
34652011-10-21 Ulrich Drepper <drepper@gmail.com>
3466
c196fed8
UD
3467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3468 compilation problems.
3469
8ec250a4
UD
3470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3471 __builtin_expect.
3472
8d4f46c6
UD
34732011-10-20 Ulrich Drepper <drepper@gmail.com>
3474
ed72b654
UD
3475 * sysdeps/i386/configure.in: Test for -mfma4 option.
3476 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3477 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3478 COMMON_CPUID_INDEX_80000001.
3479 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3480 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3481 use it if FMA3 is not supported.
3482 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3483
8d4f46c6
UD
3484 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3485 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3486
d45c60c2
AS
34872011-10-20 Andreas Schwab <schwab@redhat.com>
3488
3489 [BZ #12892]
3490 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3491 it would create a cycle with a link time dependency.
3492
d9a4d2ab
UD
34932011-10-19 Ulrich Drepper <drepper@gmail.com>
3494
855d1560
UD
3495 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3496 instruction.
3497 * string/Makefile (strop-tests): Add rawmemchr.
3498 * string/test-rawmemchr.c: New file.
3499
d9a4d2ab
UD
3500 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3501 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3502 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3503 when compiling str{,n}casecmp and when AVX is available. Hook up
3504 new optimized code in initializers.
3505
8f3b1ffe
AS
35062011-10-19 Andreas Schwab <schwab@redhat.com>
3507
3508 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3509 __feraiseexcept instead of feraiseexcept.
3510
d38f1dba
UD
35112011-10-18 Ulrich Drepper <drepper@gmail.com>
3512
d9a8d0ab
UD
3513 * math/math_private.h: Define defaults for libc_fetestexcept and
3514 libc_feupdateenv.
3515 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3516 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3517 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3518 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3519 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3520 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3521 libc_fetestexcept and libc_feupdateenv.
3522
4855e3dd
UD
3523 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3524 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3525 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3526 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3527 libc_feholdexcept_setround.
3528
581d30e3
UD
3529 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3530 Add s_nearbyint-c and s_nearbyintf-c.
3531 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3532 nearbyintf inlines.
3533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3537
d38f1dba
UD
3538 * math/math_private.h: Define defaults for libc_fegetround,
3539 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3540 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3541 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3542 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3543 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3544 standard functions.
3545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3546 Remove comments and hacks for old compiler versions.
3547 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3548 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3549 libc_feholdexceptl.
3550
caa6c9d8
AS
35512011-10-18 Andreas Schwab <schwab@redhat.com>
3552
3553 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3554 (__feraiseexcept_renamed): Add __NTH.
3555 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3556 namespace violations.
3557
97c066e6
UD
35582011-10-17 Ulrich Drepper <drepper@gmail.com>
3559
99ce7b04
UD
3560 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3561
1004d182
UD
3562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3563
228a984d
UD
3564 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3565 recently added interfaces.
3566 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3567
c8553a6a
UD
3568 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3569 about macro parameter expansion.
3570
ed22dcf6
UD
3571 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3572 __NO_MATH_INLINES is defined. Cleanups.
3573
3574 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3575 and __floorf is target has SSE4.1.
3576 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3577 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3578 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3579 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3580
b171c137
UD
3581 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3582 name.
3583 (floorf): Likewise.
3584
97c066e6
UD
3585 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3586
629f62ef
AS
35872011-10-17 Andreas Schwab <schwab@redhat.com>
3588
49a43d80
AS
3589 * misc/sys/cdefs.h: Fix last change.
3590
629f62ef
AS
3591 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3592 database lookup.
3593
e453f6cd
UD
35942011-10-16 Ulrich Drepper <drepper@gmail.com>
3595
aa78043a
UD
3596 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3597
ad0f5cad
UD
3598 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3600 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3605 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3606 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3607 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3608 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3609 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3610 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3611 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3612 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3613 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3614 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3615 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3616 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3617 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3618 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3619 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3620
3621 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3622 ceil, ceilf, floor, floorf.
3623
3624 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3625 Perform IRELATIVE relocations last.
3626
e453f6cd
UD
3627 * elf/do-rel.h: Add another parameter nrelative, replacing the
3628 local variable with the same name. Change name of the function
3629 to end in Rel or Rela (uppercase).
3630 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3631 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3632 elf_dynamic_do_##reloc function.
3633
fd5bdc09
UD
36342011-10-15 Ulrich Drepper <drepper@gmail.com>
3635
79b195b5
UD
3636 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3637 is sufficient, at least on modern CPUs.
3638
d4a28569
UD
3639 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3640
b61099b5
UD
3641 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3642 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3643
bcf01e6d
UD
3644 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3645 __expl_finite.
3646 * math/bits/math-finite.h: Add entries for exp.
3647 * math/e_expl.c: Add __*_finite alias.
3648 * sysdeps/i386/fpu/e_exp.S: Likewise.
3649 * sysdeps/i386/fpu/e_expf.S: Likewise.
3650 * sysdeps/i386/fpu/e_expl.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3656 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3657 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3658
ba1a0d59
UD
3659 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3660 is sufficient, at least on modern CPUs.
3661
fd5bdc09
UD
3662 * ctype/ctype-info.c (__ctype_init): Define.
3663 * include/ctype.h (__ctype_init): Declare.
3664 (__ctype_b_loc): The variable is always initialized.
3665 (__ctype_toupper_loc): Likewise.
3666 (__ctype_tolower_loc): Likewise.
3667 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3668 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3669
7872cfb0
AS
36702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3671
b468825a
AS
3672 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3673
7872cfb0
AS
3674 * configure.in: Also look in $cxxmachine/include for C++ system
3675 headers.
3676
be13f7bf
LD
36772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3678
3679 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3680 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3681 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3682 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3683 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3684 (USE_AS_WMEMCMP): New macro.
3685 Fixing indents.
3686 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3687 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3688 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3689 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3691 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3692 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3693 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3694 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3695 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3696 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3697 (USE_AS_WMEMCMP): New macro.
3698 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3699 * sysdeps/string/test-memcmp.c: Update.
3700 Fix simple_wmemcmp.
3701 Add new tests.
3702 * wcsmbs/wmemcmp.c: Update.
3703 (WMEMCMP): New macro.
3704 Fix overflow bug.
3705
556a2007
AJ
37062011-10-12 Andreas Jaeger <aj@suse.de>
3707
3708 [BZ #13268]
3709 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3710
538faaa7
UD
37112011-10-15 Ulrich Drepper <drepper@gmail.com>
3712
ab6737ff
UD
3713 * libio/iofwide.c (do_length): Avoid warning.
3714
538faaa7
UD
3715 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3716
396a21b1
UD
37172011-10-14 Ulrich Drepper <drepper@gmail.com>
3718
cdf2901f
UD
3719 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3720
38ad40ce
UD
3721 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3722 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3723 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3724 * sysdeps/i386/i686/fpu/e_log.S: New file.
3725 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3726 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3727
396a21b1
UD
3728 * ctype/ctype.h: Add support for inlined isXXX functions when
3729 compiling C++ code.
3730
6b1f68c9
AS
37312011-10-14 Andreas Schwab <schwab@redhat.com>
3732
349290c0
AS
3733 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3734
6b1f68c9
AS
3735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3736
f2282d42
RM
37372011-10-13 Roland McGrath <roland@hack.frob.com>
3738
3739 [BZ #13291]
3740 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3741
5298ffa8
AS
37422011-10-13 Andreas Schwab <schwab@redhat.com>
3743
714fad23
AS
3744 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3745 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3746 feraiseexcept.
3747
81dcc7fb
AS
3748 * sysdeps/x86_64/memrchr.S: Check for zero size.
3749
5298ffa8
AS
3750 * string/stratcliff.c: Add memrchr tests.
3751
951fbcec
LD
37522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3753
3754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3755 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3756 rawmemchr-sse2 rawmemchr-sse2-bsf.
3757 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3758 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3759 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3760 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3761 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3762 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3763 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3764 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3765 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3767 * string/memrchr.c (MEMRCHR): New macro.
3768
0ac5ae23
UD
37692011-10-12 Ulrich Drepper <drepper@gmail.com>
3770
3771 Add integration with gcc's -ffinite-math-only and optimize wrapper
3772 functions in libm.
3773 * Versions.def: Define GLIBC_2.15 version for libm.
3774 * math/Makefile (headers): Add bits/math-finite.h.
3775 * math/bits/math-finite.h: New file.
3776 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3777 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3778 * math/e_acoshl.c: Add __*_finite alias.
3779 * math/e_acosl.c: Likewise.
3780 * math/e_asinl.c: Likewise.
3781 * math/e_atan2l.c: Likewise.
3782 * math/e_atanhl.c: Likewise.
3783 * math/e_coshl.c: Likewise.
3784 * math/e_exp10.c: Likewise.
3785 * math/e_exp10f.c: Likewise.
3786 * math/e_exp10l.c: Likewise.
3787 * math/e_exp2l.c: Likewise.
3788 * math/e_fmodl.c: Likewise.
3789 * math/e_gammal_r.c: Likewise.
3790 * math/e_hypotl.c: Likewise.
3791 * math/e_j0l.c: Likewise.
3792 * math/e_j1l.c: Likewise.
3793 * math/e_jnl.c: Likewise.
3794 * math/e_lgammal_r.c: Likewise.
3795 * math/e_log10l.c: Likewise.
3796 * math/e_log2l.c: Likewise.
3797 * math/e_logl.c: Likewise.
3798 * math/e_powl.c: Likewise.
3799 * math/e_sinhl.c: Likewise.
3800 * math/e_sqrtl.c: Likewise.
3801 * math/e_scalb.c: Completely rewritten and optimized.
3802 * math/e_scalbf.c: Likewise.
3803 * math/e_scalbl.c: Likewise.
3804 * math/w_acos.c: Likewise.
3805 * math/w_acosf.c: Likewise.
3806 * math/w_acosl.c: Likewise.
3807 * math/w_acosh.c: Likewise.
3808 * math/w_acoshf.c: Likewise.
3809 * math/w_acoshl.c: Likewise.
3810 * math/w_asin.c: Likewise.
3811 * math/w_asinf.c: Likewise.
3812 * math/w_asinl.c: Likewise.
3813 * math/w_atan2.c: Likewise.
3814 * math/w_atan2f.c: Likewise.
3815 * math/w_atan2l.c: Likewise.
3816 * math/w_atanh.c: Likewise.
3817 * math/w_atanhf.c: Likewise.
3818 * math/w_atanhl.c: Likewise.
3819 * math/w_exp10.c: Likewise.
3820 * math/w_exp10f.c: Likewise.
3821 * math/w_exp10l.c: Likewise.
3822 * math/w_fmod.c: Likewise.
3823 * math/w_fmodf.c: Likewise.
3824 * math/w_fmodl.c: Likewise.
3825 * math/w_j0.c: Likewise.
3826 * math/w_j0f.c: Likewise.
3827 * math/w_j0l.c: Likewise.
3828 * math/w_j1.c: Likewise.
3829 * math/w_j1f.c: Likewise.
3830 * math/w_j1l.c: Likewise.
3831 * math/w_jn.c: Likewise.
3832 * math/w_jnf.c: Likewise.
3833 * math/w_log.c: Likewise.
3834 * math/w_logf.c: Likewise.
3835 * math/w_logl.c: Likewise.
3836 * math/w_log10.c: Likewise.
3837 * math/w_log10f.c: Likewise.
3838 * math/w_log10l.c: Likewise.
3839 * math/w_log2.c: Likewise.
3840 * math/w_log2f.c: Likewise.
3841 * math/w_log2l.c: Likewise.
3842 * math/w_pow.c: Likewise.
3843 * math/w_powf.c: Likewise.
3844 * math/w_powl.c: Likewise.
3845 * math/w_remainder.c: Likewise.
3846 * math/w_remainderf.c: Likewise.
3847 * math/w_remainderl.c: Likewise.
3848 * math/w_scalb.c: Likewise.
3849 * math/w_scalbf.c: Likewise.
3850 * math/w_scalbl.c: Likewise.
3851 * math/w_sqrt.c: Likewise.
3852 * math/w_sqrtf.c: Likewise.
3853 * math/w_sqrtl.c: Likewise.
3854 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3855 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3856 used.
3857 * math/math_private.h: Declare __kernel_standard_f.
3858 * math/w_cosh.c: Remove cruft and optimize a bit.
3859 * math/w_coshf.c: Likewise.
3860 * math/w_coshl.c: Likewise.
3861 * math/w_exp2.c: Likewise.
3862 * math/w_exp2f.c: Likewise.
3863 * math/w_exp2l.c: Likewise.
3864 * math/w_hypot.c: Likewise.
3865 * math/w_hypotf.c: Likewise.
3866 * math/w_hypotl.c: Likewise.
3867 * math/w_lgamma.c: Likewise.
3868 * math/w_lgamma_r.c: Likewise.
3869 * math/w_lgammaf.c: Likewise.
3870 * math/w_lgammaf_r.c: Likewise.
3871 * math/w_lgammal.c: Likewise.
3872 * math/w_lgammal_r.c: Likewise.
3873 * math/w_sinh.c: Likewise.
3874 * math/w_sinhf.c: Likewise.
3875 * math/w_sinhl.c: Likewise.
3876 * math/w_tgamma.c: Likewise.
3877 * math/w_tgammaf.c: Likewise.
3878 * math/w_tgammal.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3881 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3882 Minor optimizations. Pretty printing. Remove cruft.
3883 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3887 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3888 * sysdeps/i386/fpu/e_asin.S: Likewise.
3889 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3890 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3891 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3892 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3896 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3897 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3898 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3899 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3900 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3901 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3902 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3903 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3904 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3905 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3906 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3907 * sysdeps/i386/fpu/e_log.S: Likewise.
3908 * sysdeps/i386/fpu/e_log10.S: Likewise.
3909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3911 * sysdeps/i386/fpu/e_log2.S: Likewise.
3912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3914 * sysdeps/i386/fpu/e_logf.S: Likewise.
3915 * sysdeps/i386/fpu/e_logl.S: Likewise.
3916 * sysdeps/i386/fpu/e_pow.S: Likewise.
3917 * sysdeps/i386/fpu/e_powf.S: Likewise.
3918 * sysdeps/i386/fpu/e_powl.S: Likewise.
3919 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3920 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3921 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3925 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3926 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3927 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3954 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3956 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3957 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3958 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3959 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3962 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3963 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3964 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3965 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3969 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4011 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4013 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4016 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4019 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4021 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4025 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4026 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4027 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4028 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4029 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4030 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4031 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4034 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4036 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4037 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4038 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4039 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4040 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4041 (__isnanf): Likewise.
4042 (__isinf_ns): Likewise.
4043 (__isinf_nsf): Likewise.
4044 (__finite): Likewise.
4045 (__finitef): Likewise.
4046 (__ieee754_sqrt): Define as macro.
4047 (__ieee754_sqrtf): Define as macro.
4048 (__ieee754_sqrtl): Define as macro.
4049 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4050 inlined copy.
4051 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4052 __FINITE_MATH_ONLY__ consistent.
4053 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4054
12cc2fcd
AS
40552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4056
a843a204
AS
4057 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4058 of rawmemchr.
4059
12cc2fcd
AS
4060 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4061
c853acd5
UD
40622011-10-09 Ulrich Drepper <drepper@gmail.com>
4063
4064 * po/ja.po: Update from translation team.
4065
c658d255
RM
40662011-10-08 Roland McGrath <roland@hack.frob.com>
4067
110946e4
RM
4068 * locale/programs/locarchive.c (prepare_address_space): New function.
4069 (create_archive, enlarge_archive, open_archive): Use it.
4070
50604220
RM
4071 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4072 inside [SHARED], where it is used.
4073
c658d255
RM
4074 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4075
4076 * nss/getent.c (netgroup_keys): Remove unused variable.
4077 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4078
6a621eb7
UD
40792011-10-08 Ulrich Drepper <drepper@gmail.com>
4080
7edb55ce
UD
4081 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4085 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4086 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4087 * math/Makefile (libm-calls): Add s_isinf_ns.
4088 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4089 * math/multc3.c: Likewise.
4090 * math/s_casin.c: Likewise.
4091 * math/s_casinf.c: Likewise.
4092 * math/s_casinl.c: Likewise.
4093 * math/s_ccos.c: Likewise.
4094 * math/s_ccosf.c: Likewise.
4095 * math/s_ccosl.c: Likewise.
4096 * math/s_ctan.c: Likewise.
4097 * math/s_ctanf.c: Likewise.
4098 * math/s_ctanh.c: Likewise.
4099 * math/s_ctanhf.c: Likewise.
4100 * math/s_ctanhl.c: Likewise.
4101 * math/s_ctanl.c: Likewise.
4102 * math/w_fmod.c: Likewise.
4103 * math/w_fmodf.c: Likewise.
4104 * math/w_fmodl.c: Likewise.
4105 * math/w_remainder.c: Likewise.
4106 * math/w_remainderf.c: Likewise.
4107 * math/w_remainderl.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4109 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4112 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4113 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4114 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4115 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4116
187da0ae
UD
4117 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4118 of the number.
4119 * stdio-common/printf_fphex.c: Likewise.
4120 * stdio-common/printf_size.c: Likewise.
4121
9277c064
UD
4122 * math/e_exp10.c: Include math_private.h using <...> not "...".
4123 * math/e_exp10f.c: Likewise.
4124 * math/e_exp10l.c: Likewise.
4125 * math/e_exp2l.c: Likewise.
4126 * math/e_j0l.c: Likewise.
4127 * math/e_j1l.c: Likewise.
4128 * math/e_jnl.c: Likewise.
4129 * math/e_lgammal_r.c: Likewise.
4130 * math/e_rem_pio2l.c: Likewise.
4131 * math/e_scalb.c: Likewise.
4132 * math/e_scalbf.c: Likewise.
4133 * math/e_scalbl.c: Likewise.
4134 * math/k_cosl.c: Likewise.
4135 * math/k_sinl.c: Likewise.
4136 * math/k_tanl.c: Likewise.
4137 * math/s_cacoshf.c: Likewise.
4138 * math/s_catan.c: Likewise.
4139 * math/s_catanf.c: Likewise.
4140 * math/s_catanh.c: Likewise.
4141 * math/s_catanhf.c: Likewise.
4142 * math/s_catanhl.c: Likewise.
4143 * math/s_catanl.c: Likewise.
4144 * math/s_ccosh.c: Likewise.
4145 * math/s_ccoshf.c: Likewise.
4146 * math/s_ccoshl.c: Likewise.
4147 * math/s_cexp.c: Likewise.
4148 * math/s_cexpf.c: Likewise.
4149 * math/s_cexpl.c: Likewise.
4150 * math/s_clog.c: Likewise.
4151 * math/s_clog10.c: Likewise.
4152 * math/s_clog10f.c: Likewise.
4153 * math/s_clog10l.c: Likewise.
4154 * math/s_clogf.c: Likewise.
4155 * math/s_clogl.c: Likewise.
4156 * math/s_csin.c: Likewise.
4157 * math/s_csinf.c: Likewise.
4158 * math/s_csinh.c: Likewise.
4159 * math/s_csinhf.c: Likewise.
4160 * math/s_csinhl.c: Likewise.
4161 * math/s_csinl.c: Likewise.
4162 * math/s_csqrt.c: Likewise.
4163 * math/s_csqrtf.c: Likewise.
4164 * math/s_csqrtl.c: Likewise.
4165 * math/s_ctan.c: Likewise.
4166 * math/s_ctanf.c: Likewise.
4167 * math/s_ctanh.c: Likewise.
4168 * math/s_ctanhf.c: Likewise.
4169 * math/s_ctanhl.c: Likewise.
4170 * math/s_ctanl.c: Likewise.
4171 * math/s_ldexp.c: Likewise.
4172 * math/s_ldexpf.c: Likewise.
4173 * math/s_ldexpl.c: Likewise.
4174 * math/s_significand.c: Likewise.
4175 * math/s_significandf.c: Likewise.
4176 * math/s_significandl.c: Likewise.
4177 * math/w_acos.c: Likewise.
4178 * math/w_acosf.c: Likewise.
4179 * math/w_acosh.c: Likewise.
4180 * math/w_acoshf.c: Likewise.
4181 * math/w_acoshl.c: Likewise.
4182 * math/w_acosl.c: Likewise.
4183 * math/w_asin.c: Likewise.
4184 * math/w_asinf.c: Likewise.
4185 * math/w_asinl.c: Likewise.
4186 * math/w_atan2.c: Likewise.
4187 * math/w_atan2f.c: Likewise.
4188 * math/w_atan2l.c: Likewise.
4189 * math/w_atanh.c: Likewise.
4190 * math/w_atanhf.c: Likewise.
4191 * math/w_atanhl.c: Likewise.
4192 * math/w_cosh.c: Likewise.
4193 * math/w_coshf.c: Likewise.
4194 * math/w_coshl.c: Likewise.
4195 * math/w_dremf.c: Likewise.
4196 * math/w_exp10.c: Likewise.
4197 * math/w_exp10f.c: Likewise.
4198 * math/w_exp10l.c: Likewise.
4199 * math/w_exp2.c: Likewise.
4200 * math/w_exp2f.c: Likewise.
4201 * math/w_fmod.c: Likewise.
4202 * math/w_fmodf.c: Likewise.
4203 * math/w_fmodl.c: Likewise.
4204 * math/w_hypot.c: Likewise.
4205 * math/w_hypotf.c: Likewise.
4206 * math/w_hypotl.c: Likewise.
4207 * math/w_j0.c: Likewise.
4208 * math/w_j0f.c: Likewise.
4209 * math/w_j0l.c: Likewise.
4210 * math/w_j1.c: Likewise.
4211 * math/w_j1f.c: Likewise.
4212 * math/w_j1l.c: Likewise.
4213 * math/w_jn.c: Likewise.
4214 * math/w_jnf.c: Likewise.
4215 * math/w_jnl.c: Likewise.
4216 * math/w_lgamma.c: Likewise.
4217 * math/w_lgamma_r.c: Likewise.
4218 * math/w_lgammaf.c: Likewise.
4219 * math/w_lgammaf_r.c: Likewise.
4220 * math/w_lgammal.c: Likewise.
4221 * math/w_lgammal_r.c: Likewise.
4222 * math/w_log.c: Likewise.
4223 * math/w_log10.c: Likewise.
4224 * math/w_log10f.c: Likewise.
4225 * math/w_log10l.c: Likewise.
4226 * math/w_log2.c: Likewise.
4227 * math/w_log2f.c: Likewise.
4228 * math/w_log2l.c: Likewise.
4229 * math/w_logf.c: Likewise.
4230 * math/w_logl.c: Likewise.
4231 * math/w_pow.c: Likewise.
4232 * math/w_powf.c: Likewise.
4233 * math/w_powl.c: Likewise.
4234 * math/w_remainder.c: Likewise.
4235 * math/w_remainderf.c: Likewise.
4236 * math/w_remainderl.c: Likewise.
4237 * math/w_scalb.c: Likewise.
4238 * math/w_scalbf.c: Likewise.
4239 * math/w_scalbl.c: Likewise.
4240 * math/w_sinh.c: Likewise.
4241 * math/w_sinhf.c: Likewise.
4242 * math/w_sinhl.c: Likewise.
4243 * math/w_sqrt.c: Likewise.
4244 * math/w_sqrtf.c: Likewise.
4245 * math/w_sqrtl.c: Likewise.
4246 * math/w_tgamma.c: Likewise.
4247 * math/w_tgammaf.c: Likewise.
4248 * math/w_tgammal.c: Likewise.
4249
6a621eb7
UD
4250 * po/ja.po: Update from translation team.
4251
bf582445
AJ
42522011-09-29 Andreas Jaeger <aj@suse.de>
4253
f9efbf3a
AJ
4254 [BZ #13179]
4255 * sunrpc/netname.c (netname2host): Fix logic.
4256
bf582445
AJ
4257 [BZ #6779]
4258 [BZ #6783]
4259 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4260 correctly.
4261 * math/w_remainder.c (__remainder): Likewise.
4262 * math/w_remainderf.c (__remainderf): Likewise.
4263 * math/libm-test.inc (remainder_test): Add test cases.
4264
48693bea
AK
42652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4266
4267 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4268 sdiv_qrnnd.
4269
42622229
LD
42702011-10-07 Ulrich Drepper <drepper@gmail.com>
4271
4272 * string/test-memcmp.c: Avoid unncessary #defines.
4273 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4274
093ecf92
LD
42752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4276
4277 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4278 Use new sse2 version for core i3 - i7 as it's faster
4279 than sse42 version.
4280 (bit_Prefer_PMINUB_for_stringop): New.
4281 * sysdeps/x86_64/rawmemchr.S: Update.
4282 Replace with faster SSE2 version.
4283 * sysdeps/x86_64/memrchr.S: New file.
4284 * sysdeps/x86_64/memchr.S: Update.
4285 Replace with faster SSE2 version.
4286
fde56e5c
MP
42872011-09-12 Marek Polacek <mpolacek@redhat.com>
4288
4289 * elf/dl-load.c (lose): Add cast to avoid warning.
4290
21fd49a9
UD
42912011-10-07 Ulrich Drepper <drepper@gmail.com>
4292
5a06e643
UD
4293 * po/ca.po: Update from translation team.
4294
684ae515
UD
4295 * inet/getnetgrent_r.c: Hook up nscd.
4296 * nscd/Makefile (routines): Add nscd_netgroup.
4297 (nscd-modules): Add netgroupcache.
4298 (CFLAGS-netgroupcache.c): Define.
4299 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4300 (cache_search): Add const to second parameter.
4301 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4302 INNETGR.
4303 (dbs): Add netgrdb entry.
4304 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4305 (verify_persistent_db): Handle netgrdb.
4306 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4307 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4308 GETFDNETGR.
4309 (netgroup_response_header): Define.
4310 (innetgroup_response_header): Define.
4311 (datahead): Add netgroup_response_header and innetgroup_response_header
4312 elements.
4313 * nscd/nscd.conf: Add entries for netgroup cache.
4314 * nscd/nscd.h (dbtype): Add netgrdb.
4315 (_PATH_NSCD_NETGROUP_DB): Define.
4316 (netgroup_iov_disabled): Declare.
4317 (xmalloc, xcalloc, xrealloc): Move declarations here.
4318 (cache_search): Adjust prototype.
4319 Add netgroup-related prototypes.
4320 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4321 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4322 (__nscd_innetgr): Declare.
4323 * nscd/selinux.c (perms): Use access_vector_t as element type and
4324 add netgroup-related initializers.
4325 * nscd/netgroupcache.c: New file.
4326 * nscd/nscd_netgroup.c: New file.
4327 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4328 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4329 For four parameters use innetgr.
4330 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4331 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4332 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4333 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4334
21fd49a9
UD
4335 * nscd/connections.c (register_traced_file): Don't register file
4336 for disabled databases.
4337
054c0457
UD
43382011-10-06 Ulrich Drepper <drepper@gmail.com>
4339
32b63198
UD
4340 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4341
054c0457
UD
4342 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4343 from tree and freeing node.
4344
64031225
JO
43452011-09-25 Jiri Olsa <jolsa@redhat.com>
4346
4347 * nss/nsswitch.c (__nss_database_lookup): Handle
4348 nss_parse_service_list out of memory case.
4349
0490345c
JO
43502011-09-15 Jiri Olsa <jolsa@redhat.com>
4351
4352 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4353 out of memory case.
4354
3a62d00d
AS
43552011-10-04 Andreas Schwab <schwab@redhat.com>
4356
4357 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4358 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4359 pass it down.
4360 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4361 elf_machine_rela, elf_machine_lazy_rel.
4362 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4363 (ELF_DYNAMIC_DO_REL): Likewise.
4364 (ELF_DYNAMIC_DO_RELA): Likewise.
4365 (ELF_DYNAMIC_RELOCATE): Likewise.
4366 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4367 to ELF_DYNAMIC_DO_REL.
4368 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4369 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4370 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4371 elf_machine_rela.
4372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4373 skip_ifunc, don't call ifunc function if non-zero.
4374 (elf_machine_rela): Likewise.
4375 (elf_machine_lazy_rel): Likewise.
4376 (elf_machine_lazy_rela): Likewise.
4377 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4378 (elf_machine_lazy_rel): Likewise.
4379 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4380 Likewise.
4381 (elf_machine_lazy_rel): Likewise.
4382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4383 Likewise.
4384 (elf_machine_lazy_rel): Likewise.
4385 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4386 (elf_machine_lazy_rel): Likewise.
4387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4388 (elf_machine_lazy_rel): Likewise.
4389 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4390 (elf_machine_lazy_rel): Likewise.
4391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4392 (elf_machine_lazy_rel): Likewise.
4393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4394 (elf_machine_lazy_rel): Likewise.
4395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4396 (elf_machine_lazy_rel): Likewise.
4397
68577918
UD
43982011-09-28 Ulrich Drepper <drepper@gmail.com>
4399
4400 * nss/nss_files/files-init.c (_nss_files_init): Use static
4401 initialization for all the *_traced_file variables.
4402
68822d74
AS
44032011-09-28 Andreas Schwab <schwab@redhat.com>
4404
4405 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4406
2056100b
RM
44072011-09-27 Roland McGrath <roland@hack.frob.com>
4408
4409 [BZ #13226]
4410 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4411
32c76b63
AS
44122011-09-27 Andreas Schwab <schwab@redhat.com>
4413
4414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4415 Reread the line before reparsing it.
4416
bf972c9d
AS
44172011-09-26 Andreas Schwab <schwab@redhat.com>
4418
4419 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4420
e057a1b5
JM
44212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4422 Maxim Kuvyrkov <maxim@codesourcery.com>
4423 Joseph Myers <joseph@codesourcery.com>
4424
4425 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4426 if needed for __stack_chk_guard.
4427
bc7e1c36
RM
44282011-09-19 Roland McGrath <roland@hack.frob.com>
4429
ecb1482f
RM
4430 * sysdeps/posix/spawni.c (script_execute): Always define it.
4431 It will be optimized away if unused.
4432 (maybe_script_execute): New function.
4433 (__spawni): Call it.
4434
bc7e1c36
RM
4435 * Makerules: Don't include tls.make.
4436 (config-tls): Always set to thread.
4437 * tls.make.c: File removed.
4438
1c3b002b
MF
44392011-09-19 Mike Frysinger <vapier@gentoo.org>
4440
4441 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4442 * config.make.in (CPPFLAGS-config): New substituted variable.
4443
2840865d
UD
44442011-09-15 Ulrich Drepper <drepper@gmail.com>
4445
88738eb6
UD
4446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4447
cbf645a6 4448 [BZ #13192]
2840865d
UD
4449 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4450 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4451
b402e91a
RM
44522011-09-15 Roland McGrath <roland@hack.frob.com>
4453
4454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4455 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4457 (CALL_FAIL): Likewise.
4458 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4459 (CALL_FAIL): Macro removed.
4460 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4461
4c1a1f71
UD
44622011-09-15 Ulrich Drepper <drepper@gmail.com>
4463
4464 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4465 for __FINITE_MATH_ONLY__ == 1.
4466
edc121be
AS
44672011-09-15 Andreas Schwab <schwab@redhat.com>
4468
4469 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4470 __ieee754_sqrt instead of sqrt.
4471 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4472 __ieee754_sqrtf instead of sqrtf.
4473 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4474 __floorf instead of floorf.
4475 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4476 __floorf, __truncf instead of floorf, truncf.
4477
cd205654
UD
44782011-09-14 Ulrich Drepper <drepper@gmail.com>
4479
ee4d0315
UD
4480 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4481
cd205654
UD
4482 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4483 __extern_always_inline.
4484 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4485 32-bit.
4486
48b67d71
AS
44872011-09-14 Andreas Schwab <schwab@redhat.com>
4488
4489 * elf/rtld.c (dl_main): Also relocate in dependency order when
4490 doing symbol dependency testing.
4491
1ae12c75
AS
44922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4493
4494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4495 Always define `refsym'.
4496
995a80df
AS
44972011-09-13 Andreas Schwab <schwab@redhat.com>
4498
e529793b
AS
4499 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4500 (__FD_ELT): Renamed from __FDELT.
4501 * misc/bits/select2.h (__FD_ELT): Likewise.
4502 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4503 __FD_MASK instead of __FDELT, __FDMASK.
4504 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4505 Likewise.
4506 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4507 Likewise.
4508
52d4fef8
AS
4509 * elf/Makefile (gen-ldd): Fix pattern.
4510
995a80df
AS
4511 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4512 (init_tls): Likewise.
4513
8682f8b0
UD
45142011-09-12 Ulrich Drepper <drepper@gmail.com>
4515
4516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4517
de82006d
AS
45182011-09-12 Andreas Schwab <schwab@redhat.com>
4519
a7c8e6a1
AS
4520 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4521 `struct cmsghdr *' instead of `void *'.
4522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4523 Likewise.
4524
0f31fe77
AS
45252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4526
4527 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4528 if non-absolute.
4529 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4530 ldd_rewrite_script.
0f31fe77 4531
32b4c839
UD
45322011-09-11 Ulrich Drepper <drepper@gmail.com>
4533
83cd1420
UD
4534 * configure.in: Remove --with-tls option.
4535 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4536 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4537 out in case it is missing.
4538 * sysdeps/ia64/elf/configure.in: Likewise.
4539 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4540 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4541 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4542 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4543 * sysdeps/sh/elf/configure.in: Likewise.
4544 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4545 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4546 * sysdeps/x86_64/elf/configure.in: Likewise.
4547 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4548 * sysdeps/mach/hurd/tls.h: Likewise.
4549
633f745d
UD
4550 [BZ #13067]
4551 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4552
f318beb8
UD
4553 [BZ #13090]
4554 * configure.in: Fix use of AC_INIT.
4555
32b4c839
UD
4556 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4557
3ce1f295
UD
45582011-09-10 Ulrich Drepper <drepper@gmail.com>
4559
bb016596
UD
4560 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4561 __set_errno.
8e58439c
UD
4562 * malloc/hooks.c: Likewise.
4563
aebae053 4564 [BZ #11929]
02d46fc4
UD
4565 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4566 variables statically.
4567 (narenas): Initialize.
4568 (list_lock): Initialize.
bb016596
UD
4569 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4570 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4571 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4572 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4573 Add initializers to main_arena and mp_.
4574 (malloc_state): Remove pagesize member. Change all users to use
4575 GLRO(dl_pagesize).
4576
4577 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4578 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4579 is always initialized.
4580
22a89187
UD
4581 * malloc/malloc.c: Removed unused configurations and dead code.
4582 * malloc/arena.c: Likewise.
4583 * malloc/hooks.c: Likewise.
02d46fc4 4584 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4585
d063d164
UD
4586 * include/tls.h: Removed. USE___THREAD must always be defined.
4587 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4588 * elf/dl-libc.c: Likewise.
4589 * elf/dl-tsd.c: Likewise.
4590 * include/errno.h: Likewise.
4591 * include/netdb.h: Likewise.
4592 * include/resolv.h: Likewise.
4593 * inet/herrno-loc.c: Likewise.
4594 * inet/herrno.c: Likewise.
4595 * malloc/arena.c: Likewise.
4596 * malloc/hooks.c: Likewise.
4597 * malloc/malloc.c: Likewise.
4598 * resolv/res-state.c: Likewise.
4599 * resolv/res_libc.c: Likewise.
4600 * sysdeps/i386/dl-machine.h: Likewise.
4601 * sysdeps/ia64/dl-machine.h: Likewise.
4602 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4603 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4604 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4605 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4606 * sysdeps/sh/dl-machine.h: Likewise.
4607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4608 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4609 * sysdeps/unix/i386/sysdep.S: Likewise.
4610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4611 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4616 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4620 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4621 * sysdeps/x86_64/dl-machine.h: Likewise.
4622 * tls.make.c: Likewise.
4623
3ce1f295
UD
4624 * configure.in: Remove --with-__thread option. Make tests for
4625 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4626 tls_model attribute fail if no support is available. Remove
4627 USE_IN_LIBIO.
4628 * Makeconfig: Adjust for dropped configure option. All features are
4629 now mandatory.
4630 * Makerules: Likewise.
4631 * Versions.def: Likewise.
4632 * argp/argp-fmtstream.c: Likewise.
4633 * argp/argp-fmtstream.h: Likewise.
4634 * argp/argp-help.c: Likewise.
4635 * assert/assert.c: Likewise.
4636 * config.h.in: Likewise.
4637 * config.make.in: Likewise.
4638 * configure: Likewise.
4639 * configure.in: Likewise.
4640 * csu/Versions: Likewise.
4641 * csu/init.c: Likewise.
4642 * elf/tst-audit2.c: Likewise.
4643 * elf/tst-tls10.c: Likewise.
4644 * elf/tst-tls10.h: Likewise.
4645 * elf/tst-tls11.c: Likewise.
4646 * elf/tst-tls12.c: Likewise.
4647 * elf/tst-tls14.c: Likewise.
4648 * elf/tst-tlsmod11.c: Likewise.
4649 * elf/tst-tlsmod12.c: Likewise.
4650 * elf/tst-tlsmod13.c: Likewise.
4651 * elf/tst-tlsmod13a.c: Likewise.
4652 * elf/tst-tlsmod14a.c: Likewise.
4653 * elf/tst-tlsmod15b.c: Likewise.
4654 * elf/tst-tlsmod16a.c: Likewise.
4655 * elf/tst-tlsmod16b.c: Likewise.
4656 * elf/tst-tlsmod7.c: Likewise.
4657 * elf/tst-tlsmod8.c: Likewise.
4658 * elf/tst-tlsmod9.c: Likewise.
4659 * gmon/gmon.c: Likewise.
4660 * grp/fgetgrent_r.c: Likewise.
4661 * grp/putgrent.c: Likewise.
4662 * hurd/fopenport.c: Likewise.
4663 * include/libc-symbols.h: Likewise.
4664 * include/tls.h: Likewise.
4665 * intl/gettextP.h: Likewise.
4666 * intl/loadinfo.h: Likewise.
4667 * locale/global-locale.c: Likewise.
4668 * locale/localeinfo.h: Likewise.
4669 * mach/devstream.c: Likewise.
4670 * malloc/arena.c: Likewise.
4671 * malloc/set-freeres.c: Likewise.
4672 * misc/err.c: Likewise.
4673 * misc/getttyent.c: Likewise.
4674 * misc/mntent_r.c: Likewise.
4675 * posix/getopt.c: Likewise.
4676 * posix/wordexp.c: Likewise.
4677 * pwd/fgetpwent_r.c: Likewise.
4678 * resolv/Versions: Likewise.
4679 * resolv/res_hconf.c: Likewise.
4680 * shadow/fgetspent_r.c: Likewise.
4681 * shadow/putspent.c: Likewise.
4682 * stdio-common/printf_fphex.c: Likewise.
4683 * stdio-common/tmpfile.c: Likewise.
4684 * stdlib/abort.c: Likewise.
4685 * stdlib/fmtmsg.c: Likewise.
4686 * sunrpc/auth_unix.c: Likewise.
4687 * sunrpc/clnt_perr.c: Likewise.
4688 * sunrpc/clnt_tcp.c: Likewise.
4689 * sunrpc/clnt_udp.c: Likewise.
4690 * sunrpc/clnt_unix.c: Likewise.
4691 * sunrpc/openchild.c: Likewise.
4692 * sunrpc/svc_simple.c: Likewise.
4693 * sunrpc/svc_tcp.c: Likewise.
4694 * sunrpc/svc_udp.c: Likewise.
4695 * sunrpc/svc_unix.c: Likewise.
4696 * sunrpc/xdr.c: Likewise.
4697 * sunrpc/xdr_array.c: Likewise.
4698 * sunrpc/xdr_rec.c: Likewise.
4699 * sunrpc/xdr_ref.c: Likewise.
4700 * sunrpc/xdr_stdio.c: Likewise.
4701
1248c1c4
PB
47022011-09-09 Ulrich Drepper <drepper@gmail.com>
4703
4704 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4705
47062011-07-03 Andreas Jaeger <aj@suse.de>
4707
4708 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4709 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4710 regenerate with gen-libm-tests.pl.
4711
47122010-05-12 Petr Baudis <pasky@suse.cz>
4713
4714 [BZ #11589]
4715 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4716 around j0() zero points by switching to j1().
4717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4721
f22e1074
UD
47222011-09-09 Ulrich Drepper <drepper@gmail.com>
4723
f19009c1
UD
4724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4725 instead of 0.
4726 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4727 instead of 0. .
4728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4729 Patch in part by Pavel Roskin <proski@gnu.org>.
4730
3f8cc204
UD
4731 [BZ #13138]
4732 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4733 realloc.
4734 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4735 Free memory block if necessary.
4736
f22e1074
UD
4737 [BZ #12847]
4738 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4739 be NULL. Don't lock in this case.
4740
0a2349f9
RM
47412011-09-09 Roland McGrath <roland@hack.frob.com>
4742
4743 * elf/elf.h (ELFOSABI_GNU): New macro.
4744 (ELFOSABI_LINUX): Define to that.
4745
f3cdd467
DZ
47462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4747
4748 * string/strncat.c (strncat): Undef the symbol in case it has been
4749 defined in bits/string.h.
4750
74718d13
UD
47512011-09-09 Ulrich Drepper <drepper@gmail.com>
4752
633e9e0f
UD
4753 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4754
0a2349f9 4755 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4756 link map.
4757
f9924780
AJ
47582011-08-17 Andreas Jaeger <aj@suse.de>
4759
4760 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4761
7f5517aa
PP
47622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4763 Ian Lance Taylor <iant@google.com>
4764
4765 * math/libm-test.inc (lround_test): New testcase.
4766 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4767
762011fe
UD
47682011-09-08 Ulrich Drepper <drepper@gmail.com>
4769
92963737
UD
4770 * Makefile: Remove support for automatic cvs check-ins.
4771 * Makerules: Likewise.
4772 * config.make.in: Likewise.
4773 * configure.in: Likewise.
4774 * intl/Makefile: Likewise.
4775 * locale/Makefile: Likewise.
4776 * po/Makefile: Likewise.
4777 * posix/Makefile: Likewise.
4778 * sysdeps/gnu/Makefile: Likewise.
4779 * sysdeps/mach/hurd/Makefile: Likewise.
4780 * sysdeps/sparc/sparc32/Makefile: Likewise.
4781
b0727fd8
JS
4782 [BZ #13118]
4783 * posix/Makefile (bug-regex32-ENV): Define.
4784 Patch by John Stanley <jpsinthemix@verizon.net>.
4785
a0f33f99
UD
4786 * misc/Makefile (headers): Add bits/select2.h.
4787 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4788 * misc/bits/select2.h: New file.
4789 * include/bits/select2.h: New file.
4790 * debug/Makefile (routines): Add fdelt_chk.
4791 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4792 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4793 FD_ISSET.
4794 * debug/fdelt_chk.c: New file.
4795
762011fe
UD
4796 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4797 * wcsmbs/test-wmemcmp.c: Likewise.
4798 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4799 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4800
48012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4802
4803 * string/Makefile (strop-tests): Add memcmp.
4804 * string/test-wmemcmp.c: New file.
4805 * string/test-memcmp.c: Add wmemcmp support.
4806
7f513ec8
RM
48072011-09-08 Roland McGrath <roland@hack.frob.com>
4808
0442afb4
RM
4809 [BZ #13153]
4810 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4811 2011-07-19 change.
4812
7f513ec8
RM
4813 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4814 garbage value in a __mach_port_mod_refs call in the cases of the
4815 task-self and thread-self ports.
4816
a12b2239
ST
48172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4818
4819 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4820
610f9ab4
AS
48212011-09-08 Andreas Schwab <schwab@redhat.com>
4822
7f513ec8 4823 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4824
48882a1a
LD
48252011-09-07 Ulrich Drepper <drepper@gmail.com>
4826
b49865be
UD
4827 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4828
fdc86bc9
UD
4829 * elf/dl-libc.c (dlerror_run): Pass back error code from
4830 dl_catch_error.
4831
c966526a
UD
4832 [BZ #13123]
4833 * elf/dl-load.c (lose): Free l_origin if it is valid.
4834
48882a1a
LD
4835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4836 names.
4837 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4838 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4839 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4840 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4841 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4842 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4843
77a2a8b4
AZ
48442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4845
4846 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4847 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4850 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4851 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4852 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4853 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4854 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4855 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4856
24f579d8
AM
48572011-08-15 Alan Modra <amodra@gmail.com>
4858
4859 [BZ #13092]
4860 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4861 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4862 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4863 ppc_mcount to static-only-routines.
4864 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4865 __mcount_internal.
4866 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4867 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4868
3d4837df
UD
48692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4870
4871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4872 for finite and infinity parameters.
4873
22700377
WS
48742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4875
4876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4877 and add nop instructions for throughput optimization.
4878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4879
5025581e
WS
48802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4881
4882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4883 aligned copy for power7 with vector-scalar instructions.
4884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4885
08a300c9
L
48862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4887
4888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4889 AVX check.
4890
59178ef9
AS
48912011-09-07 Andreas Schwab <schwab@redhat.com>
4892
4893 [BZ #13144]
4894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4895 last change.
4896
e38ba7ab
UD
48972011-09-07 Ulrich Drepper <drepper@gmail.com>
4898
4899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4900 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4901 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4902 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4903 clock_gettime.
4904
d53a73ac
UD
49052011-09-06 Ulrich Drepper <drepper@gmail.com>
4906
fc8bffcc
UD
4907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4908 Forgot to demangle the pointer.
4909
ceaa0c5d
UD
4910 * sysdeps/i386/sysdep.h: Define atom_text_section.
4911 * sysdeps/x86_64/sysdep.h: Likewise.
4912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4913 section with atom_text_section.
4914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4918 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4919
a77d3c17
UD
4920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4922 already be defined. Change to take two parameters and don't assign
4923 result to variable. Adjust all users.
4924 Define INTERNAL_GETTIME if not already defined.
4925 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4926 call.
4927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4928 HAVE_CLOCK_GETTIME_VSYSCALL.
4929 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4930
d53a73ac
UD
4931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4932 gettimeofday vsyscall, just use time.
4933
a8f84144
AS
49342011-09-06 Andreas Schwab <schwab@redhat.com>
4935
4936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4937 <errno.h>.
4938
ef606249
UD
49392011-09-06 Ulrich Drepper <drepper@gmail.com>
4940
4941 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4942 syscall on x86-64.
4943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4944 syscall.
4945 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4947 syscall if possible.
4948
6585cb60
UD
49492011-09-05 Ulrich Drepper <drepper@gmail.com>
4950
4951 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4952 e_ident. Don't pass to find_mapsXX.
4953 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4954
a5f524e4
LD
49552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4956
4957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4958 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4959 * sysdeps/x86_64/multiarch/strchr.S: Update.
4960 Check bit_slow_BSF bit.
4961 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4964
554881ef
UD
49652011-09-05 Ulrich Drepper <drepper@gmail.com>
4966
d96de963
UD
4967 [BZ #13134]
4968 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4969 before glibc 2.15.
4970 (tryshell): Define.
4971 (__spawni): Change last parameter to be flag. Test
4972 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4973 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4974 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4975 * posix/spawni.c: Likewise.
4976 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4977 * posix/spawnp.c: Likewise. Change normal version to use
4978 SPAWN_XFLAGS_USE_PATH.
4979 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4980 SPAWN_XFLAGS_TRY_SHELL.
4981
d48e5868
UD
4982 [BZ #13150]
4983 * posix/glob.h: Remove gcc 1.x support.
4984
554881ef
UD
4985 [BZ #13068]
4986 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4987
693fb948
LD
49882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4989
4990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4991 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4992 strrchr-sse2-bsf
4993 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4994 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4997 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4999
1b48c537
UD
50002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5001
49d42c37
UD
5002 * sysdeps/x86_64/wcscmp.S: New file.
5003
1b48c537
UD
5004 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5005 wcscmp-c wcscmp-sse2
5006 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5007 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5008 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5009 * wcsmbs/wcscmp.c: Allow renaming.
5010
15c95c5d
DM
50112011-09-05 David S. Miller <davem@davemloft.net>
5012
5013 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5014 stack slot, rather than the struct return pointer slot.
5015 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5016 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5018 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5019
2f0ad8f3
UD
50202011-09-05 Ulrich Drepper <drepper@gmail.com>
5021
d88ae418
UD
5022 * po/ja.po: Update from translation team.
5023
2f0ad8f3
UD
5024 [BZ #13144]
5025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5026 kernel in 64-bit binaries.
5027
5f4318d1
DM
50282011-09-01 David S. Miller <davem@davemloft.net>
5029
5030 * elf/elf.h (HWCAP_SPARC_*): Move to..
5031 * sysdeps/sparc/sysdep.h: this new file and add new values.
5032 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5033 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5034 _DL_HWCAP_COUNT to 24.
5035 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5036 entries.
5037 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5038 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5039 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5041 instead of magic constants.
5042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5043
3ba57516
DM
50442011-08-31 David S. Miller <davem@davemloft.net>
5045
5046 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5048 Reimplement to do errno handling inline.
5049 (SYSCALL_ERROR_HANDLER): New macro.
5050 (__SYSCALL_STRING): Do not do errno handling in asm.
5051 (__CLONE_SYSCALL_STRING): Delete.
5052 (__INTERNAL_SYSCALL_STRING): Delete.
5053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5054 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5055 (PSEUDO): Reimplement to do errno handling inline.
5056 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5057 (SYSCALL_ERROR_HANDLER): New macro.
5058 (__SYSCALL_STRING): Do not do errno handling in asm.
5059 (__CLONE_SYSCALL_STRING): Delete.
5060 (__INTERNAL_SYSCALL_STRING): Delete.
5061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5062 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5063 i386.
5064 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5065 (inline_syscall*): Add 'err' argument.
5066 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5067 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5068 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5069 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5070
5071 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5072 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5073
2bc17433
AS
50742011-08-30 Andreas Schwab <schwab@redhat.com>
5075
5076 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5077
fbeb5f4d
JO
50782011-08-29 Jiri Olsa <jolsa@redhat.com>
5079
5080 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5081 directive.
5082
ad69cc26
DM
50832011-08-24 David S. Miller <davem@davemloft.net>
5084
5085 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5086
39dd69df
AS
50872011-08-24 Andreas Schwab <schwab@redhat.com>
5088
5089 * elf/Makefile: Add rules to build and run unload8 test.
5090 * elf/unload8.c: New file.
5091 * elf/unload8mod1.c: New file.
5092 * elf/unload8mod1x.c: New file.
5093 * elf/unload8mod2.c: New file.
5094 * elf/unload8mod3.c: New file.
5095
5096 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5097 it wasn't used.
5098
2c0b250a
DM
50992011-08-23 David S. Miller <davem@davemloft.net>
5100
5101 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5102 subtract stack bias.
5103 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5104 %sp not %fp in calculations.
5105 (_JMPBUF_UNWINDS_ADJ): Likewise.
5106
22044b48
DM
5107 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5108 (aio_suspend): Call it to force an exception region around the
5109 AIO_MISC_WAIT() invocation.
5110
2cae4995
AS
51112011-08-23 Andreas Schwab <schwab@redhat.com>
5112
5113 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5114 backslash.
5115
873a772e
AJ
51162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5117
5118 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5119 protection macro.
5120 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5121 and <dl-machine.h>.
5122 (Elf64_FuncDesc): Remove.
5123
25ad0df1
DM
51242011-08-22 David S. Miller <davem@davemloft.net>
5125
5126 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5127 sigaltstack check, add missing cfi directives.
5128 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5129 missing cfi directives, and sigaltstack handling.
5130
e888bcbe
AS
51312011-08-16 Andreas Schwab <schwab@redhat.com>
5132
5133 [BZ #11724]
5134 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5135 object is seen twice.
5136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5137
5138 * elf/Makefile (distribute): Add tst-initorder2.c.
5139 (tests): Add tst-initorder2.
5140 (modules-names): Add tst-initorder2a tst-initorder2b
5141 tst-initorder2c tst-initorder2d. Add rules to build them.
5142 ($(objpfx)tst-initorder2.out): New rule.
5143 * elf/tst-initorder2.c: New file.
5144 * elf/tst-initorder2.exp: New file.
5145
87162f46
AS
51462011-08-22 Andreas Schwab <schwab@redhat.com>
5147
70538b7f
AS
5148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5149
f55ffe58
AS
5150 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5151 dependencies back to end of function.
5152
87162f46
AS
5153 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5154 $(elfobjdir)/ld.so.
5155
91b392a4
UD
51562011-08-21 Ulrich Drepper <drepper@gmail.com>
5157
5158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5159 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5161 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5162 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5163 of __vdso_gettimeofday.
5164 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5165 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5166 attribute_hidden.
5167 (_libc_vdso_platform_setup): Remove initialization of
5168 __vdso_gettimeofday and __vdso_time.
5169
5c43483f
UD
51702011-08-20 Ulrich Drepper <drepper@gmail.com>
5171
775a77e7
UD
5172 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5173 and fgetc_unlocked.
5174 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5175 getc_unlocked.
89f447ed 5176
49c74ba9
UD
5177 * elf/dl-open.c (add_to_global): Report additions to the global scope
5178 for LD_DEBUG=scopes.
5179 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5180 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5181
5c43483f
UD
5182 [BZ #13114]
5183 * stdio-common/Makefile (tests): Add bug24.
5184 * stdio-common/bug24.c: New file.
5185
a101b025
AJ
51862011-08-19 Andreas Jaeger <aj@suse.de>
5187
5188 [BZ #13114]
5189 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5190 non-existant file when using close-on-exec mode.
5191
c88f1766
UD
51922011-08-20 Ulrich Drepper <drepper@gmail.com>
5193
0276a718
UD
5194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5195 the very first instruction.
5196
c88f1766
UD
5197 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5198 the CFI state in the end.
5199 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5200 inclusion of dl-trampoline.h.
5201 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5202
51ccffa0
AS
52032011-08-19 Andreas Schwab <schwab@redhat.com>
5204
94d7165f
AS
5205 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5206 expectations for long double.
5207
51ccffa0
AS
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5209 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5210
fd708658 52112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5212
5213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5214 artificual limit depends upon the system page size.
5215
44f0a71e
UD
52162011-08-17 Ulrich Drepper <drepper@gmail.com>
5217
5218 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5219 * resolv/Makefile: Define CFLAGS-libresolv.
5220
8de79a24
AS
52212011-08-17 Andreas Schwab <schwab@redhat.com>
5222
5223 * nss/makedb.c (compute_tables): Make variables used in nested
5224 function static.
5225
27724598
UD
52262011-08-17 Ulrich Drepper <drepper@gmail.com>
5227
c5305d88
UD
5228 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5229 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5230 if buffer was too small.
5231
27724598
UD
5232 * elf/pldd.c (main): Attach to all threads in the process.
5233 Rewrite /proc handling to use *at functions.
5234
076fe015
UD
52352011-08-16 Ulrich Drepper <drepper@gmail.com>
5236
174baab3
UD
5237 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5238 specifies first scope to show.
5239 (dl_open_worker): Update callers. Move printing scope of new
5240 object to before the relocation.
44f0a71e 5241 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5242 * sysdeps/generic/ldsodefs.h: Update declaration.
5243
076fe015
UD
5244 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5245 string for the scope number.
5246
a60df2c3
UD
52472011-08-14 Ulrich Drepper <drepper@gmail.com>
5248
5249 * nscd/servicescache.c (cache_addserv): Make sure written is always
5250 initialized.
5251
5e4287d1
RM
52522011-08-14 Roland McGrath <roland@hack.frob.com>
5253
85ae0589
RM
5254 * sysdeps/i386/i486/bits/atomic.h
5255 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5256 statement expression, so as to suppress "set but not used" warning.
5257 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5258
69f63097
RM
5259 * string/strncat.c (STRNCAT): Use prototype definition.
5260
675456ef
RM
5261 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5262 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5263 -Iprograms here.
5264 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5265 (localedef-modules): Add localedef.
5266 (locale-modules): Add locale.
5267
5e4287d1
RM
5268 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5269 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5270 to avoid a warning.
5271
9c96ff23
DM
52722011-08-14 David S. Miller <davem@davemloft.net>
5273
5274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5275 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5276
f9ddf089
UD
52772011-08-13 Ulrich Drepper <drepper@gmail.com>
5278
44f0a71e 5279 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5280 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5281 * elf/rtld.c (dl_main): Set l_name of vDSO.
5282 Call _dl_show_scope when DL_DEBUG_SCOPES.
5283 (process_dl_debug): Recognize scopes flag and also set it for all.
5284 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5285 Declare _dl_show_scope.
5286
1dc27704
UD
5287 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5288 (do_dlopen): Pass caller_dlopen to dl_open.
5289 (__libc_dlopen_mode): Initialize caller_dlopen.
5290
f9ddf089
UD
5291 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5292 of libc. Make tolower call locale-independent. Optimize a bit by
5293 using isdigit instead of isalnum.
5294 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5295
9ac533d3
UD
52962011-08-12 Ulrich Drepper <drepper@gmail.com>
5297
5298 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5299 was a dependency or dynamically loaded.
5300
89edf2e9
UD
53012011-08-11 Ulrich Drepper <drepper@gmail.com>
5302
8e999d29
UD
5303 * intl/l10nflist.c: Allow architecture-specific pop function.
5304 * sysdeps/x86_64/l10nflist.c: New file.
5305
89edf2e9
UD
5306 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5307 classification.
5308
14d96785
AS
53092011-08-10 Andreas Schwab <schwab@redhat.com>
5310
5311 * include/dirent.h: Add libc_hidden_proto for scandirat and
5312 scandirat64. Don't declare __scandirat64.
5313 * dirent/scandirat.c: Add libc_hidden_def.
5314 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5315 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5316
6761ac04
DM
53172011-08-10 David S. Miller <davem@davemloft.net>
5318
5319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5320 enum.
5321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5324
c55fbd1e
UD
53252011-08-09 Ulrich Drepper <drepper@gmail.com>
5326
5327 * Versions.def [libc]: Add GLIBC_2.15.
5328 * dirent/Makefile (routines): Add scandirat and scandirat64.
5329 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5330 GLIBC_2.15.
5331 * dirent/dirent.h: Declare scandirat and scandirat64.
5332 * dirent/scandirat.c: New file.
5333 * dirent/scandirat64.c: New file.
5334 * sysdeps/wordsize-64/scandirat.c: New file.
5335 * sysdeps/wordsize-64/scandirat64.c: New file.
5336 * dirent/opendir.c: Define opendirat.
5337 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5338 using scandirat.
5339 * dirent/scandir64.c: Adjust for scandir.c change.
5340 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5341 __scandirat64, and __scandir_cancel_handler.
5342 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5343 additional parameter and use openat instead of open (outside of ld.so).
5344 Add new __opendir as wrapper around __opendirat.
5345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5346 here without requiring old scandirat implementation.
5347
879165f2
UD
53482011-08-08 Ulrich Drepper <drepper@gmail.com>
5349
5350 * dirent/scandir.c (cancel_handler): Renamed to
5351 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5352 defined. Adjust users.
5353 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5355
cb7e923b
UD
53562011-08-04 Ulrich Drepper <drepper@gmail.com>
5357
16292edd
UD
5358 * string/test-string.h (IMPL): Use __STRING to expand name and then
5359 stringify it.
5360
cb7e923b
UD
5361 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5362 of cleanups.
5363
cff82933
LD
53642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5365
5366 * string/Makefile: Update.
5367 (strop-tests): Append strncat.
5368 * string/test-wcscmp.c: New file.
5369 New comprehensive test for wcscmp.
5370 * string/test-strcmp.c: Update.
5371 (WIDE): New define.
5372
9be9bfcc
AS
53732011-07-22 Andreas Schwab <schwab@redhat.com>
5374
5375 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5376 line.
5377
2e96f1c7
AS
53782011-07-26 Andreas Schwab <schwab@redhat.com>
5379
5380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5381 encoding to ACE if AI_IDN.
5382
85188888
JJ
53832011-08-01 Jakub Jelinek <jakub@redhat.com>
5384
5385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5386 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5387
5fa16e9b
LD
53882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5389
5390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5391 Fix overflow bug in strncat.
5392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5393
5394 * string/test-strncat.c: Update.
5395 Add new tests for checking overflow bugs.
5396
53972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5398
5399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5400 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5401 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5402 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5404 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5405 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5406 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5407 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5408
5409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5410 (USE_AS_STRCAT): Define.
5411 Add strcat and strncat support.
5412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5413
8c1a459f
AS
54142011-07-25 Andreas Schwab <schwab@redhat.com>
5415
5416 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5417 __n bigger than INT_MAX+1.
5418 (__strncmp_g): Likewise.
5419
bba33c28
UD
54202011-07-23 Ulrich Drepper <drepper@gmail.com>
5421
798be72d
UD
5422 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5423 * libio/stido.h: Likewise.
5424
8accd4dc
UD
5425 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5426 (AF_NFC): Define.
5427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5428 (AF_NFC): Define.
5429
cbff0d96
UD
5430 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5435
9191c04a
UD
5436 [BZ #13021]
5437 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5438 installed.
5439
bba33c28
UD
5440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5441 typo.
5442 (_dl_x86_64_save_sse): Likewise.
5443
90f139dd
UD
54442011-07-22 Ulrich Drepper <drepper@gmail.com>
5445
1aae088a
UD
5446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5447 OSXSAVE.
5448 (_dl_x86_64_save_sse): Likewise.
5449
8e2045f5
UD
5450 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5451
90f139dd
UD
5452 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5453
1d002f25
AS
54542011-07-21 Andreas Schwab <schwab@redhat.com>
5455
5456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5457 change.
5458 (_dl_x86_64_save_sse): Use correct AVX check.
5459
21137f89
UD
54602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5461
5462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5463 bug in strncpy/strncat.
5464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5465
a65c0b7a
UD
54662011-07-21 Ulrich Drepper <drepper@gmail.com>
5467
5468 * string/tester.c (test_strcat): Add tests for different alignments
5469 of source and destination.
5470 (test_strncat): Likewise.
5471
6986b98a
UD
54722011-07-20 Ulrich Drepper <drepper@gmail.com>
5473
90bb2039
UD
5474 [BZ #12852]
5475 * posix/glob.c (glob): Check passed in values before using them in
5476 expressions to avoid some overflows.
5477 (glob_in_dir): Likewise.
5478
5644ef54
UD
5479 [BZ #13007]
5480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5481 check for AVX enablement so that we don't crash with old kernels and
5482 new hardware.
5483 * elf/tst-audit4.c: Add same checks here.
5484 * elf/tst-audit6.c: Likewise.
5485
5486 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5487
bfc9dc9b
AS
54882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5489
5490 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5491
702e64bb
UD
54922011-07-20 Ulrich Drepper <drepper@gmail.com>
5493
5494 * po/cs.po: Update from translation team.
5495 * po/bg.po: Likewise.
5496
295e904f
MP
54972011-07-12 Marek Polacek <mpolacek@redhat.com>
5498
5499 * misc/sys/cdefs.h: Add support for const attribute.
5500 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5501 to gnu_dev_{major,minor,makedev} functions.
5502
3ff94596
MP
55032011-07-20 Marek Polacek <mpolacek@redhat.com>
5504
5505 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5506
28b59fca
AS
55072011-07-20 Andreas Schwab <schwab@redhat.com>
5508
5509 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5510 strlen results.
5511
19df733e
AK
55122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5513
5514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5515 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5516 register in order to avoid conflicts with the soft frame pointer
5517 being held in r11 when necessary.
5518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5519 (INTERNAL_VSYSCALL_NCS): Likewise.
5520
c8835729
MP
55212011-07-14 Marek Polacek <mpolacek@redhat.com>
5522
5523 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5524 * elf/dl-fini.c (_dl_fini): Adjust caller.
5525 * elf/dl-close.c (_dl_close_worker): Likewise.
5526 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5527
b902330c
MP
55282011-07-15 Marek Polacek <mpolacek@redhat.com>
5529
8991e135
MP
5530 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5531 "aux_cache->nlibs < 0".
5532
b902330c
MP
5533 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5534 in the reload-count case.
5535
99710781
LD
55362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5537
5538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5539 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5540 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5541 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5542 * sysdeps/x86_64/multiarch/strcat.S: New file.
5543 * sysdeps/x86_64/multiarch/strncat.S: New file.
5544 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5545 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5546 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5547 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5549 (USE_AS_STRCAT): Define.
5550 Add strcat and strncat support.
5551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5553 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5554 * string/strncat.c: Update.
5555 (USE_AS_STRNCAT): Define.
5556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5557 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5558 and i7.
5559 * sysdeps/x86_64/multiarch/init-arch.h
5560 (bit_Prefer_PMINUB_for_stringop): New.
5561 (index_Prefer_PMINUB_for_stringop): Likewise.
5562 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5563 bit_Prefer_PMINUB_for_stringop.
5564
7dc6bd90
UD
55652011-07-19 Ulrich Drepper <drepper@gmail.com>
5566
5567 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5568 buffer64.
5569 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5570 of casting of buffer.
5571 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5572 buffer32 and buffer64.
5573 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5574 writes instead of casting of buffer.
5575 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5576 buffer32.
5577 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5578 casting of buffer.
5579
e0e72284
AS
55802011-07-19 Andreas Schwab <schwab@redhat.com>
5581
5582 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5583
feb1eb0b
UD
55842011-07-19 Ulrich Drepper <drepper@gmail.com>
5585
5586 * nscd/nscd.c (termination_handler): Don't do anything for a database
5587 if it has not yet been initialized.
5588
298711ff
UD
55892011-07-18 Ulrich Drepper <drepper@gmail.com>
5590
5591 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5592
55932011-07-15 Marek Polacek <mpolacek@redhat.com>
5594
5595 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5596
f9d68389
UD
55972011-07-18 Ulrich Drepper <drepper@gmail.com>
5598
5599 * po/nl.po: Update from translation team.
5600 * po/sv.po: Likewise.
5601
db290cf5
RM
56022011-07-16 Roland McGrath <roland@hack.frob.com>
5603
5604 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5605 now disallowed by GCC.
5c550700 5606
fd5e21c7
RM
5607 * configure.in (use-default-link): Default to yes if a test -shared
5608 link meets our qualifications.
5609 * configure: Regenerated.
5610
5c550700
RM
5611 * config.make.in (output-format): New variable.
5612 * configure.in: Check for ld --print-output-format support.
5613 * configure: Regenerated.
5614 * Makerules ($(common-objpfx)format.lds)
5615 [$(output-format) != unknown]: Just use $(output-format),
5616 instead of the linker-script munging.
5617
9fa2c032
RM
56182011-07-14 Roland McGrath <roland@hack.frob.com>
5619
a6928d51
RM
5620 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5621 of $(common-objpfx)shlib.lds.
5622 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5623
661607b3
RM
5624 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5625 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5626
9fa2c032
RM
5627 * configure.in (-z relro check): Adjust test code to add a large
5628 writable data section after it.
5629 * configure: Regenerated.
5630
defe9061
RM
56312011-07-11 Roland McGrath <roland@hack.frob.com>
5632
5633 * configure.in (-z relro check): Fix test code to make the variable
5634 truly const.
5635 * configure: Regenerated.
5636
319b9ad4
UD
56372011-07-11 Ulrich Drepper <drepper@gmail.com>
5638
5639 * nscd/nscd.h (struct traced_file): Define.
5640 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5641 elements. Add traced_files.
5642 (inotify_fd): Declare.
5643 (register_traced_file): Declare.
5644 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5645 (inotify_fd): Export.
5646 (resolv_conf_descr): Remove.
5647 (nscd_init): Move inotify descriptor creation to main.
5648 Don't register files for notification here.
5649 (register_traced_file): New function.
5650 (invalidate_cache): Don't use reset_res to determine whether to call
5651 res_init, go through the list of registered files.
5652 (main_loop_poll): The inotify descriptors are now stored in the
5653 structures for the traced files.
5654 (main_loop_epoll): Likewise
5655 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5656 to __nss_disable_nscd.
5657 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5658 for a database anymore. Check the records for all the registered
5659 files instead.
5660 * nss/Makefile (libnss_files-routines): Add files-init.
5661 (libnss_db-routines): Add db-init.
5662 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5663 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5664 * nss/nss_db/db-init.c: New file.
5665 * nss/nss_files/files-init.c: New file.
5666 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5667 __nss_lookup_function.
5668 (__nss_lookup_function): Call nss_load_library.
5669 (nss_load_all_libraries): New function.
5670 (__nss_disable_nscd): Take parameter with callback function for files
5671 to register. Set is_nscd. Load all the DSOs for the NSS modules
5672 used for the cached services.
5673 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5674 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5675 options for features to all the files in nscd.
5676
5677 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5678
23bee3e8
RM
56792011-07-10 Roland McGrath <roland@hack.frob.com>
5680
5681 * csu/elf-init.c (__libc_csu_init): Comment typo.
5682
46a5b7f0
UD
56832011-07-09 Ulrich Drepper <drepper@gmail.com>
5684
5685 * po/pl.po: Update from translation team.
5686 * po/ja.po: Likewise.
5687 * po/ru.po: Likewise.
5688 * po/ko.po: Likewise.
5689 * po/fr.po: Likewise.
5690
d30cf5bb
RM
56912011-07-09 Roland McGrath <roland@hack.frob.com>
5692
113ddea4
RM
5693 * configure.in (.ctors/.dtors header and trailer check):
5694 Use an empirical test on a built program.
5695 * configure: Regenerated.
5696
574920b4
RM
5697 * configure.in (-z relro check): Use an empirical test on a built DSO.
5698 Detect, but do not require, on ia64.
5699 * configure: Regenerated.
5700
d30cf5bb
RM
5701 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5702 Update tests that use readelf to use $READELF instead.
5703 * configure: Regenerated.
5704
8538fdb3
UD
57052011-07-08 Ulrich Drepper <drepper@gmail.com>
5706
5707 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5708 if the result is not used.
5709
04d08991
AJ
57102011-07-05 Andreas Jaeger <aj@suse.de>
5711
5712 [BZ#9696]
5713 * stdlib/tst-strtod.c: Add testcase.
5714
de283087
AD
57152011-07-07 Ulrich Drepper <drepper@gmail.com>
5716
4e5f31c8 5717 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5718 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5719 The latter has a higher limit. Take additional parameter to pass to
5720 the new function.
5721 (__pathconf): Pass file to __statfs_link_max.
5722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5723 __statfs_link_max.
5724 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5725 __statfs_link_max.
5726
de283087
AD
5727 [BZ #12868]
5728 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5730 Handle Lustre.
5731 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5732 (__statfs_filesize_max): Likewise.
5733 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5734
c75fa153
AJ
57352011-07-05 Andreas Jaeger <aj@suse.de>
5736
5737 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5738
1a544854
UD
57392011-07-06 Marek Polacek <mpolacek@redhat.com>
5740
5741 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5742 `status' variable.
5743 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5744 Likewise.
5745
6f0eec67
UD
57462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5747
5748 * Makefile (strop-tests): Add strncat.
5749 * string/test-strncat.c: New file.
5750
aae30307
UD
57512011-06-30 Marek Polacek <mpolacek@redhat.com>
5752
5753 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5754
c0cfb5eb
UD
57552011-06-21 Andreas Jaeger <aj@suse.de>
5756
5757 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5758 Copy rule from iconvdata/Makefile.
5759
01636b21
UD
57602011-07-06 Ulrich Drepper <drepper@gmail.com>
5761
5762 [BZ #12922]
5763 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5764 but no long options are defined, just return 'W'.
5765
9895c8bc
UD
57662011-06-22 Marek Polacek <mpolacek@redhat.com>
5767
5768 [BZ #9696]
5769 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5770
5d4cf042
UD
57712011-07-06 Ulrich Drepper <drepper@gmail.com>
5772
5773 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5774 netgroups to read.
960e5535 5775 (innetgr): Likewise.
5d4cf042 5776
751eb97e
RM
57772011-07-05 Roland McGrath <roland@hack.frob.com>
5778
5779 * config.make.in (install_root): Default to $(DESTDIR).
5780
f15f1e45
UD
57812011-07-05 Ulrich Drepper <drepper@gmail.com>
5782
5783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5784
4e34ac6a
RM
57852011-07-02 Roland McGrath <roland@hack.frob.com>
5786
5e9b6af4
RM
5787 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5788
84f9ea0f
RM
5789 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5790 containing directory rather than embedding absolute directory names.
5791
ea5ee9f7
RM
5792 * scripts/check-local-headers.sh: Rewritten using awk.
5793 Match by word, not by line. Print error messages for matches.
5794 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5795
1b74661a
RM
5796 * Makerules [shlib-lds-flags empty]:
5797 ($(common-objpfx)libc_pic.opts): New target.
5798 ($(common-objpfx)libc_pic.os.clean): New target.
5799 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5800
5801 * config.make.in (OBJCOPY): New variable.
5802 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5803 * configure: Regenerated.
5804
f781ef40
RM
5805 * config.make.in (use-default-link): New variable.
5806 * configure.in (use_default_link): Grok --with-default-link to set it.
5807 * configure: Regenerated.
5808 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5809 (shlib-lds, shlib-lds-flags): Define to empty.
5810
2d4fa81e
RM
5811 * Makerules (shlib-lds): New variable.
5812 (shlib-lds-flags): New variable.
5813 (build-shlib, build-moduile, build-module-asneeded): Use it.
5814 ($(common-objpfx)libc.so): Use $(shlib-lds).
5815 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5816 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5817
31fffa6b
RM
5818 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5819 DT_FLAGS/DT_FLAGS_1 with zero flags.
5820
4e34ac6a
RM
5821 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5822 linker script munging.
5823
fcfc776b
UD
58242011-07-02 Ulrich Drepper <drepper@gmail.com>
5825
5826 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5827 as 128-bit value.
5828 * crypt/sha512.c (sha512_process_block): Perform total addition using
5829 128-bit if possible.
5830 (__sha512_finish_ctx): Likewise.
5831 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5832 as 64-bit value.
5833 * crypt/sha256.c (SWAP64): Define.
5834 (sha256_process_block): Perform total addition using 64-bit if
5835 possible.
5836 (__sha256_finish_ctx): Likewise.
5837
99231d9a
UD
58382011-07-01 Ulrich Drepper <drepper@gmail.com>
5839
5840 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5842 * nscd/hstcache.c (cache_addhst): Likewise.
5843 * nscd/grpcache.c (cache_addgr): Likewise.
5844 * nscd/aicache.c (addhstaiX): Likewise
5845 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5846
445b4a53
TK
58472011-07-01 Thorsten Kukuk <kukuk@suse.de>
5848
5849 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5851 * nscd/hstcache.c (cache_addhst): Likewise.
5852 * nscd/grpcache.c (cache_addgr): Likewise.
5853 * nscd/aicache.c (addhstaiX): Likewise
5854
6d4d8e8e
AS
58552011-07-01 Andreas Schwab <schwab@redhat.com>
5856
5857 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5858 domain only when needed.
5859
89f654c5
AS
58602011-06-30 Andreas Schwab <schwab@redhat.com>
5861
5862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5863 is always restored.
5864
cf3b23ff
UD
58652011-06-29 Ulrich Drepper <drepper@gmail.com>
5866
5867 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5868 are re-adding the entry.
5869 * nscd/servicescache.c (cache_addserv): Likewise.
5870
751626f9
AJ
58712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5872
5873 * sysdeps/generic/dl-irel.h: fix protection against multiple
5874 inclusions.
5875 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5876
9113ea1f
UD
58772011-06-28 Ulrich Drepper <drepper@gmail.com>
5878
5c0b8d90
UD
5879 [BZ #12935]
5880 * malloc/memusage.sh: Fix quoting in message.
5881 * debug/xtrace.sh: Likewise.
5882
9113ea1f
UD
5883 * configure.in: Remove support for --experimental-malloc option, make
5884 it the default.
5885 * config.make.in: Likewise.
5886 * malloc/Makefile: Likewise.
5887
a4172181
AS
58882011-06-27 Andreas Schwab <schwab@redhat.com>
5889
5890 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5891 two-byte characters.
5892
78a7eee7
RM
58932011-06-27 Roland McGrath <roland@hack.frob.com>
5894
62bede13
RM
5895 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5896 AC_CACHE_CHECK invocation.
5897 * configure: Regenerated.
5898
78a7eee7
RM
5899 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5900
5ce33a62
UD
59012011-06-27 Ulrich Drepper <drepper@gmail.com>
5902
034807a9
UD
5903 [BZ #12350]
5904 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5905 bit from old_res_options.
5906
4902da17
UD
5907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5908
5ce33a62
UD
5909 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5910 value type for setfct.
5911
c2344f56
L
59122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5913
5914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5915 __gettimeofday instead of gettimeofday.
5916
68468076
UD
59172011-06-26 Ulrich Drepper <drepper@gmail.com>
5918
5919 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5920
acb0d739
L
59212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5922
5923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5924
5925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5926 info.
5927
8912479f
L
59282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5929
5930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5931 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5932 strcpy-sse2-unaligned strncpy-sse2-unaligned
5933 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5934 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5935 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5936 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5937 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5940 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5941 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5942 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5943 (STRCPY): Support SSE2 and SSSE3 versions.
5944
d5495a11
UD
59452011-06-24 Ulrich Drepper <drepper@gmail.com>
5946
5947 [BZ #12874]
5948 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5949 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5950 kernels which artificially limit size of requests.
5951
0b1cbaae
L
59522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5953
5954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5955 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5956 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5957 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5958 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5959 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5960 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5961 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5964 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5965 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5966 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5967 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5968 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5970 Enable unaligned load optimization for Intel Core i3, i5 and i7
5971 processors.
5972 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5973 Define.
5974 (index_Fast_Unaligned_Load): Define.
5975 (HAS_FAST_UNALIGNED_LOAD): Define.
5976
07f494a0
MP
59772011-06-23 Marek Polacek <mpolacek@redhat.com>
5978
5979 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5980
fa3fc0fe
UD
59812011-06-22 Ulrich Drepper <drepper@gmail.com>
5982
5983 [BZ #12907]
5984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5985 until it is clear that the information is realy needed.
5986 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5987
e12df166
AS
59882011-06-22 Andreas Schwab <schwab@redhat.com>
5989
5990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5991
852eb34d
UD
59922011-06-22 Ulrich Drepper <drepper@gmail.com>
5993
84e2a551
UD
5994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5995 /sys/devices/system/cpu/online if it is usable.
5996
852eb34d
UD
5997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5998 reading the information from the /proc filesystem to once a second.
5999
6e502e19
UD
60002011-06-21 Andreas Jaeger <aj@suse.de>
6001
6002 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6003 NULL after inclusion of kernel headers.
6004
75d39ff2
UD
60052011-06-21 Ulrich Drepper <drepper@gmail.com>
6006
51f9aa6a
UD
6007 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6008 calls to internal_setent.
6009
c0244a9d
UD
6010 [BZ #12885]
6011 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6012 addresses using gethostbyname4_r ignore IPv4 addresses.
6013
c5e3c2ae
UD
6014 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6015 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6016
75d39ff2
UD
6017 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6018
42675c6f
DM
60192011-06-20 David S. Miller <davem@davemloft.net>
6020
6021 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6022 inclusions.
6023 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6024
6025 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6026 (elf_irel): Use it.
6027 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6028 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6029 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6030 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6031 * sysdeps/x86_64/dl-irel.h: Likewise.
6032
6033 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6034 * elf/dl-sym.c: Likewise.
6035
57912a71
UD
60362011-06-15 Ulrich Drepper <drepper@gmail.com>
6037
6038 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6039 need to dereference resplen2.
6040
ee22793d
AS
60412011-06-14 Andreas Schwab <schwab@redhat.com>
6042
6043 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6044
a9e836b0
UD
60452011-06-15 Ulrich Drepper <drepper@gmail.com>
6046
77fb9117
UD
6047 * Makeconfig: Define vardbdir and inst_vardbdir.
6048 * nss/Makefile: Add rules to install db-Makefile.
6049
40c1b22c
UD
6050 * nss/nss_db/db-XXX.c: Cleanup.
6051
9f2da732
UD
6052 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6053 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6054 GLIBC_PRIVATE.
6055 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6056 * nss/makedb.c: Implement -g option to specify that value strings
6057 are generated and should not be added to table iterated over for
6058 get*ent calls.
6059 * nss/nss_db/db-initgroups.c: New file.
6060
82e9a1f7
UD
6061 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6062 interface.
6063
c41af17e
UD
6064 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6065 (internal_getgrouplist): Adjust to name change.
6066 Update use_initgroups_entry if this is not the first call.
6067 * nss/databases.def: Add initgroups entry.
6068
a9e836b0
UD
6069 * nss/makedb.c (compute_tables): Check result of multiple hash table
6070 sizes to minimize maximum chain length.
6071
2666d441
UD
60722011-06-14 Ulrich Drepper <drepper@gmail.com>
6073
6074 * Versions.def: Add entry for libnss_db.
6075 * shlib-versions: Likewise.
6076 * nss/Makefile: Add rules to build libnss_db.
6077 * nss/Versions: Add libnss_db information. Organize libnss_files
6078 entries better.
6079 * nss/db-Makefile: Add gshadow support. Change rules for the new
6080 makedb progra. Some minor improvements to generate smaller files.
6081 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6082 here from...
6083 * nss/makedb.c: ...here.
6084 Improve database format to be smaller and require less memory at
6085 runtime.
6086 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6087 db anymore.
6088 * nss/nss_db/db-netgrp.c: Likewise.
6089 * nss/nss_db/db-open.c: Likewise.
6090 * nss/nss_files/flies-XXX.x: Adjust comments.
6091 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6092 * nss/nss_files/files-grp.c: Likewise.
6093 * nss/nss_files/files-hosts.c: Likewise.
6094 * nss/nss_files/files-network.c: Likewise.
6095 * nss/nss_files/files-proto.c: Likewise.
6096 * nss/nss_files/files-pwd.c: Likewise.
6097 * nss/nss_files/files-rpc.c: Likewise.
6098 * nss/nss_files/files-service.c: Likewise.
6099 * nss/nss_files/files-sgrp.c: Likewise.
6100 * nss/nss_files/files-spwd.c: Likewise.
6101 * nss/nss_db/db-alias.c: Removed.
6102 * nss/nss_db/dummy-db.h: Removed.
6103
9ee76b5a
UD
61042011-06-02 Ulrich Drepper <drepper@gmail.com>
6105
6106 * nss/makedb.c: Rewritten to not use database library.
6107 * nss/Makefile: Update to build new makedb program.
6108
c71ca1f8
AJ
61092011-06-14 Andreas Jaeger <aj@suse.de>
6110
6111 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6112 memset declaration.
6113
3154bfb8
UD
61142011-06-10 Andreas Schwab <schwab@redhat.com>
6115
6116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6117 tmpbuf.
6118
b350afab
RM
61192011-06-10 Roland McGrath <roland@hack.frob.com>
6120
decd4e50
RM
6121 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6122 * elf/Makefile ($(objpfx)ld.so): Likewise.
6123
5615eaf2
RM
6124 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6125 Don't list ld.so twice in dependencies.
6126
6127 * posix/bug-regex31.c: Include <stdlib.h>.
6128
6129 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6130
6131 * nis/nss_compat/compat-spwd.c
6132 (getspent_next_nss_netgr): Remove unused variable.
6133 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6134
6135 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6136 nonmembers" output to use the right array.
6137
6138 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6139
6140 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6141
6142 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6143 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6144 * catgets/gencat.c (read_input_file): Likewise.
6145 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6146
6147 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6148 variable definition inside #if's controlling its use.
6149
6150 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6151
6152 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6153
6154 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6155
6156 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6157 unreachable code.
6158
6159 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6160
b68e08db
RM
6161 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6162 * configure: Regenerated.
6163
b350afab
RM
6164 * Makerules: Revert last change.
6165 * elf/Makefile: Likewise.
6166
28368601
RM
61672011-06-09 Roland McGrath <roland@hack.frob.com>
6168
6169 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6170 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6171 (reloc-link): Likewise.
6172
11988f8f
UD
61732011-06-09 Ulrich Drepper <drepper@gmail.com>
6174
6175 * elf/Makefile: Add rules to build pldd.
6176 * elf/pldd.c: New file.
6177 * elf/pldd-xx.c: New file.
6178
e80fab37
UD
61792011-06-07 Ulrich Drepper <drepper@gmail.com>
6180
6181 * version.h: Update for 2.15 development version.
6182
9b849836
DM
61832011-06-07 David S. Miller <davem@davemloft.net>
6184
6185 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6186 ifuncs.
6187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6188 elf_machine_lazy_rel): Likewise.
6189 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6191 elf_machine_lazy_rel): Likewise.
6192 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6193 dl_hwcap via passed in argument.
6194 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6195 Likewise.
6196
5a31b283
AK
61972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6198
6199 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6200
069e52f8
RM
62012011-06-06 Roland McGrath <roland@hack.frob.com>
6202
6203 [BZ #12849]
6204 * manual/fdl-1.1.texi: New file, verbatim from:
6205 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6206 * manual/lgpl-2.1.texi: New file, verbatim from:
6207 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6208 * manual/Makefile (licenses): New variable, list those new file names.
6209 (texis): Use it.
6210 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6211
6212 * manual/fdl.texi: File removed.
6213 * manual/lesser.texi: File removed.
6214 * manual/libc.texinfo (Copying, Documentation License):
6215 Use new @include file names, put @appendix directive before @include.
6216
f16846a5
JJ
62172011-06-04 Jakub Jelinek <jakub@redhat.com>
6218
6219 [BZ #12841]
6220 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6221 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6222 (mq_open): Add __NTH.
6223
3d29045b
L
62242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6225
6226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6227 Assume Intel Core i3/i5/i7 processor if AVX is available.
6228
8c297311
UD
62292011-05-31 Ulrich Drepper <drepper@gmail.com>
6230
6231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6232 typo.
6233
c8fc0c91
UD
62342011-05-31 Andreas Schwab <schwab@redhat.com>
6235
6236 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6237 memory. Use alloca_account. Fix memory leak when retrying.
6238
5b27a807
UD
62392011-05-31 Ulrich Drepper <drepper@gmail.com>
6240
356f8bc6
UD
6241 * version.h (RELEASE): Bump for 2.14 release.
6242 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6243
5b27a807
UD
6244 * config.make.in (RANLIB): Remove entry.
6245
01f16ab0
UD
62462011-05-30 Ulrich Drepper <drepper@gmail.com>
6247
41fce8bd
UD
6248 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6249 (libc.pot): Work around missing support for .ksh extension in xgettext.
6250
4769ae77
UD
6251 [BZ #12684]
6252 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6253 if both request failed.
6254 (send_dg): In case of server errors clear resplen or *resplen2.
6255
6b1e7d19
UD
6256 [BZ #12454]
6257 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6258 when there are multiple maps.
6259 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6260 (_dl_fini): Remove test here.
6261
01f16ab0
UD
6262 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6263
b1ebd700
UD
62642011-05-29 Ulrich Drepper <drepper@gmail.com>
6265
7ae22829
UD
6266 [BZ #12350]
6267 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6268 bit from old_res_options.
6269 (gaih_inet): Likewise.
6270
553149f6 6271 [BZ #11099]
18a84741 6272 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6273 as signed.
6274
652ffab1
UD
6275 * resolv/res_init.c (res_setoptions): Make the code more compact.
6276
16985fd0
UD
6277 [BZ #11558]
6278 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6279 set RES_USEVC.
6280
0464f746
UD
6281 [BZ #11634]
6282 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6283
7d17596c
UD
6284 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6285
cf6bbbd7
UD
6286 [BZ #11781]
6287 * malloc/malloc.h: Declare malloc hook variables as volatile.
6288
13f1ab36
UD
6289 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6290 in last patch.
6291
b1ebd700
UD
6292 [BZ #11799]
6293 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6294 raise in the comment.
80e2212d
UD
6295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6297 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6298
ce67228d
UD
62992011-05-28 Ulrich Drepper <drepper@gmail.com>
6300
8887a920
UD
6301 [BZ #12811]
6302 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6303 grow the buffers more if it already has to be sufficient.
6304 (build_wcs_upper_buffer): Likewise.
6305 * posix/regexec.c (check_matching): Likewise.
6306 (clean_state_log_if_needed): Likewise.
6307 (extend_buffers): Don't enlarge buffers beyond size of the input
6308 buffer.
6309 Patches mostly by Emil Wojak <emil@wojak.eu>.
6310 * posix/bug-regex32.c: New file.
6311 * posix/Makefile (tests): Add bug-regex32.
6312
4f031072
UD
6313 * locale/findlocale.c (_nl_find_locale): Return right away if
6314 _nl_explode_name failed.
6315 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6316
d0478f0c
UD
6317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6318
de81b246
UD
6319 * debug/xtrace.sh: Unify messages.
6320 * malloc/memusage.sh: Likewise.
6321
c738465a
UD
6322 [BZ #12813]
6323 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6324 time symbol from vDSO. Substitute with vsyscall if not available.
6325 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6326 __vdso_time.
6327
f1f929d7
UD
6328 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6329 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6330 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6331 Add sendmmsg and internal_sendmmsg.
6332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6335
ce67228d
UD
6336 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6337 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6339
e57420c6
UD
63402011-05-27 Ulrich Drepper <drepper@gmail.com>
6341
a8509ca5
UD
6342 [BZ #12813]
6343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6344 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6345 available.
6346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6347 __vdso_getcpu.
6348
e57420c6
UD
6349 [BZ #12814]
6350 * iconvdata/Makefile (tests): Add bug-iconv9.
6351 * iconvdata/bug-iconv9.c: New file.
6352
4d07db15
AS
63532011-05-27 Andreas Schwab <schwab@redhat.com>
6354
6355 [BZ #12814]
6356 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6357
ea486f69
JJ
63582011-05-25 Jakub Jelinek <jakub@redhat.com>
6359
6360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6361 (struct user_regs_struct): Change intcs field back to cs.
6362
6f038433
UD
63632011-05-25 Ulrich Drepper <drepper@gmail.com>
6364
6365 * po/ja.po: Update from translation team.
6366
67f86a25
UD
63672011-05-23 Ulrich Drepper <drepper@gmail.com>
6368
6369 [BZ #12795]
6370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6371 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6372
def7fbd6
AS
63732011-05-20 Andreas Schwab <schwab@redhat.com>
6374
6375 * stdlib/longlong.h: Update from GCC.
6376
f50ef8f1
AS
63772011-05-23 Andreas Schwab <schwab@redhat.com>
6378
6379 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6380 parameter name.
6381 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6382 Add parameter name.
6383 (__sysconf): Pass it down.
6384
de7ce8f1
UD
63852011-05-22 Ulrich Drepper <drepper@gmail.com>
6386
f2962a71
UD
6387 [BZ #12671]
6388 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6389 some situations.
6390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6391 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6392 add in in __libc_use_alloca calls. Adjust callers.
6393 (glob): Use malloc in some situations.
6394
de7ce8f1
UD
6395 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6396 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6397 pltexit.
6398
aec84f53
UD
63992011-05-21 Ulrich Drepper <drepper@gmail.com>
6400
05bb4a68
UD
6401 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6402 and CLOCK_BOOTTIME_ALARM.
6403
7ea72f99
UD
6404 [BZ #12782]
6405 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6406 is returned.
6407
7e4afad5
UD
6408 * string/_strerror.c (__strerror_r): Print negative errors as signed
6409 numbers.
6410
8e211fec
UD
6411 [BZ #12777]
6412 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6413 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6414 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6415
f7d82dc9
UD
6416 * configure.in: Fix typo in redirection and correct removal of test
6417 files in two cases.
6418
cc9e536d
UD
6419 [BZ #12788]
6420 * locale/setlocale.c (new_composite_name): Fix test to check for
6421 identical name of all categories.
6422
aec84f53
UD
6423 [BZ #12792]
6424 * libio/filedoalloc.c (local_isatty): New function.
6425 (_IO_file_doallocate): Use local_isatty.
6426 * stdio-common/perror.c (perror): In case a new stream is used
6427 forward the stream error.
6428 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6429 error flag.
6430
78e64fdc
RT
64312011-05-20 Ulrich Drepper <drepper@gmail.com>
6432
34a9094f
UD
6433 [BZ #11869]
6434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6435 alloca.
6436 * include/alloca.h (extend_alloca_account): Define.
6437
78e64fdc
RT
6438 [BZ #11857]
6439 * posix/regex.h: Fix comments with documentation of user-accessible
6440 fields after compilation and describe correct free'ing of pattern
6441 after re_compile_pattern.
6442 Patch by Reuben Thomas <rrt@sc3d.org>.
6443
457bddfc
RA
64442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6445
6446 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6447 and -mno-altivec to prevent the compiler from using Altivec and/or
6448 VSX instructions when the corresponding registers are not available.
6449
a4527b51
AS
64502011-05-19 Andreas Schwab <schwab@redhat.com>
6451
6452 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6453
ed690b2f
UD
64542011-05-19 Ulrich Drepper <drepper@gmail.com>
6455
6456 * libio/freopen.c (freopen): Use __dup2, not dup2.
6457 * libio/freopen64.c (freopen64): Likewise.
6458
8db73634
L
64592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6460
6461 [BZ #12775]
6462 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6463 * math/Makefile (tests): Add test-powl.
6464 (CFLAGS-test-powl.c): Define.
6465 * math/test-powl.c: New file.
6466
0a197a9d
L
64672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6468
6469 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6470
ee30c380
UD
64712011-05-17 Ulrich Drepper <drepper@gmail.com>
6472
6473 [BZ #11837]
6474 * iconvdata/gb18030.c: Update to GB18020-2005.
6475
6ce75379
UD
64762011-05-16 Ulrich Drepper <drepper@gmail.com>
6477
a4b89fd8
AR
6478 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6479 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6480 Patch by Aharon Robbins <arnold@skeeve.com>.
6481
ea389b12
UD
6482 [BZ #11892]
6483 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6484 on the stack.
6485
68a3f91f
UD
6486 [BZ #11895]
6487 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6488 through underflows.
6489
15cc7dd1
UD
6490 [BZ #12766]
6491 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6492 point to strings before performing equality test for error_one_per_line
6493 mode.
6494
f3799213
UD
6495 [BZ #11697]
6496 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6497
d79a9c94
UD
6498 [BZ #11820]
6499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6500 (struct user_fpregs_struct): Avoid __uint*_t types.
6501
56e5eb46
UD
6502 [BZ #6420]
6503 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6504 symbol info. Use it instead of calling _dl_addr locally.
6505 (lock_and_info): New function.
6506 (tr_freehook): Call lock_and_info and pass symbol info as additional
6507 parameter to tr_where.
6508 (tr_mallochook): Likewise.
6509 (tr_reallochook): Likewise.
6510 (tr_memalignhook): Likewise.
6511
6ce75379
UD
6512 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6513 used and couldn't be at all thread-safe.
6514
f8a3b5bf
UD
65152011-05-15 Ulrich Drepper <drepper@gmail.com>
6516
94b7cc37
UD
6517 * libio/freopen.c (freopen): Don't close old file descriptor
6518 before the new one is opened. Instead dup the new file descriptor
6519 to the old one after the new stream is created.
6520 * libio/freopen64.c (freopen64): Likewise.
6521 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6522 * libio/fileops.c (_IO_new_file_close_it): Handle new
6523 _IO_FLAGS2_NOCLOSE flag.
6524 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6525 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6526 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6527 _IO_FLAGS2_NOCLOSE flag.
6528 * include/unistd.h: Add hidden_proto for dup3.
6529 Define __have_dup3.
6530 * io/dup3.c: Define hidden symbol.
6531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6532
bd25564e
UD
6533 [BZ #7101]
6534 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6535 when an incomplete long option is used.
6536 * posix/tst-getopt_long1.c: New file.
6537 * posix/Makefile (tests): Add tst-getopt_long1.
6538
c84cfef4
UD
6539 [BZ #10138]
6540 * scripts/config.guess: Update from autoconf-2.68.
6541 * scripts/config.sub: Likewise.
6542
3b85df27
UD
6543 [BZ #10157]
6544 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6545 tests into ...
6546 (has_cpuclock): ...this. New function.
6547 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6548 macro here based on has_cpuclock code.
6549
15a856b1
UD
6550 [BZ #10149]
6551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6552 First byte (not low byte) is now always NUL.
6553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6554
05f399e6
UD
6555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6556 Use non-cancelable interfaces.
6557
10a52685 6558 [BZ #9809]
94ecc67d
UD
6559 * locale/iso-639.def: Add entry for Sorani.
6560
f8a3b5bf
UD
6561 [BZ #11901]
6562 * include/stdlib.h: Move include protection to the right place.
6563 Define abort_msg_s. Declare __abort_msg with it.
6564 * stdlib/abort.c (__abort_msg): Adjust type.
6565 * assert/assert.c (__assert_fail_base): New function. Majority
6566 of code from __assert_fail. Allocate memory for __abort_msg with
6567 mmap.
6568 (__assert_fail): Now call __assert_fail_base.
6569 * assert/assert-perr.c: Remove bulk of implementation. Use
6570 __assert_fail_base.
6571 * include/assert.hL Declare __assert_fail_base.
6572 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6573 mmap.
6574 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6575
1af4e298
UD
65762011-05-14 Ulrich Drepper <drepper@gmail.com>
6577
f8a3b5bf 6578 [BZ #11952]
d26dfc60
MG
6579 [BZ #12453]
6580 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6581 until all modules are registered in the DTV.
6582 * elf/Makefile: Add rules to build and run tst-tls19.
6583 * elf/tst-tls19.c: New file.
6584 * elf/tst-tls19mod1.c: New file.
6585 * elf/tst-tls19mod2.c: New file.
6586 * elf/tst-tls19mod3.c: New file.
6587 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6588
2fc54d6f
UD
6589 [BZ #12083]
6590 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6591 correctly.
6592
98d76b46
UD
6593 [BZ #12601]
6594 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6595 two-byte sequence errors.
6596 * iconvdata/Makefile (tests): Add bug-iconv8.
6597 * iconvdata/bug-iconv8.c: New file.
6598
da3c19ef
UD
6599 [BZ #12626]
6600 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6601 buf2 definition.
6602
ca408c15
UD
6603 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6604
d6f67f7d
UD
6605 [BZ #12432]
6606 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6607 (dummy_getcfa): New function.
6608 (init): Get _Unwind_GetCFA address, use dummy if not found.
6609 (backtrace_helper): In recursion check, also check whether CFA changes.
6610 (__backtrace): Completely initialize arg.
6611
1af4e298 6612 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6613 storing incomplete byte sequence in state object. Avoid testing for
6614 guaranteed too small input if we know there is enough data available.
1af4e298 6615
da62f81b
AS
66162011-05-11 Andreas Schwab <schwab@redhat.com>
6617
6618 * Makeconfig (+link-pie): Indent.
6619 * Rules (binaries-pie): Define if $(have-fpie) and
6620 $(build-shared).
6621 (binaries-shared): Also filter out $(binaries-pie).
6622 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6623 * nscd/Makefile (others-pie): Add nscd.
6624 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6625 ($(objpfx)nscd): Remove command override.
6626 * login/Makefile (others-pie): Add pt_chown.
6627 ($(objpfx)pt_chown): Remove command override.
6628 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6629 remove command overrides.
6630
fcabc0f8
UD
66312011-05-13 Ulrich Drepper <drepper@gmail.com>
6632
20030ae6
UD
6633 * libio/tst_putwc.c: Fix error messages.
6634
fcabc0f8
UD
6635 [BZ #12724]
6636 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6637 currently writing and seek to current position when not.
6638 * libio/Makefile (tests): Add bug-fclose1.
6639 * libio/bug-fclose1.c: New file.
6640
320a5dc0
PB
66412011-05-12 Ulrich Drepper <drepper@gmail.com>
6642
6643 [BZ #12511]
6644 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6645 don't set DF_1_NODELETE here.
6646 (do_lookup_x): When entering new entry test for copy relocation
6647 and if necessary set DF_1_NODELETE flag.
6648 * elf/tst-unique4.cc: New file.
6649 * elf/tst-unique4.h: New file.
6650 * elf/tst-unique4lib.cc: New file.
6651 * elf/Makefile: Add rules to build and run tst-unique4.
6652 Patch by Piotr Bury <pbury@goahead.com>.
6653
22836f52
UD
66542011-05-11 Ulrich Drepper <drepper@gmail.com>
6655
f574184a
UD
6656 [BZ #12052]
6657 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6658
e1fb097f
UD
6659 [BZ #12625]
6660 * misc/mntent_r.c (addmntent): Flush the stream after the output
6661
22836f52
UD
6662 [BZ #12393]
6663 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6664 (is_trusted_path_normalize): Skip initial colon. Append slash
6665 to empty buffer. Duplicate is_trusted_path code but allow
6666 constructed patch to be prefix.
6667 (is_dst): Allow $ORIGIN followed by /.
6668 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6669 Correct testing of result of is_trusted_path_normalize
6670 (decompose_rpath): Fix warning.
6671
7b3b0b2a
UD
66722011-05-10 Ulrich Drepper <drepper@gmail.com>
6673
6674 [BZ #11257]
6675 * grp/initgroups.c (internal_getgrouplist): When we found the service
6676 list through the initgroups entry in nsswitch.conf do not always
6677 continue on a successful lookup. Don't always use the
eac80ce2 6678 __nss_group_database value if it is set.
7b3b0b2a
UD
6679 * nss/nsswitch.conf (initgroups): Change action for successful db
6680 lookup to continue for compatibility.
6681
2a81eaa5
UD
66822011-05-09 Ulrich Drepper <drepper@gmail.com>
6683
be97a69e
UD
6684 [BZ #11532]
6685 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6686 and CP774 modules.
6687 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6688 and CP774 modules.
6689 * iconvdata/tst-tables.sh: Likewise.
6690 * iconvdata/cp770.c: New file.
6691 * iconvdata/cp771.c: New file.
6692 * iconvdata/cp772.c: New file.
6693 * iconvdata/cp773.c: New file.
6694 * iconvdata/cp774.c: New file.
6695 * iconvdata/testdata/CP770: New file.
6696 * iconvdata/testdata/CP770..UTF8: New file.
6697 * iconvdata/testdata/CP771: New file.
6698 * iconvdata/testdata/CP771..UTF8: New file.
6699 * iconvdata/testdata/CP772: New file.
6700 * iconvdata/testdata/CP772..UTF8: New file.
6701 * iconvdata/testdata/CP773: New file.
6702 * iconvdata/testdata/CP773..UTF8: New file.
6703 * iconvdata/testdata/CP774: New file.
6704 * iconvdata/testdata/CP774..UTF8: New file.
6705
6706 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6707 END CHARMAP line.
6708 * iconvdata/gen-8bit-gap.sh: Likewise.
6709 * iconvdata/gen-8bit.sh: Likewise.
6710
c1e9e399
UD
6711 * locale/iso-639.def: Add ary entry.
6712
24c55fb3 6713 [BZ #11258]
96b4b1b0
UD
6714 * locale/C-translit.h.in: Add U20A1 transliteration.
6715
bdc2f971
KB
6716 [BZ #12178]
6717 * locale/iso-639.def: Add wae entry.
6718 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6719
2952b117
UD
6720 [BZ #12545]
6721 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6722 for n.
6723
2a81eaa5
UD
6724 [BZ #12711]
6725 * locale/C-translit.h.in: Add entry for U20B9.
6726 Patch by pravin.d.s@gmail.com.
6727
28377d1b
UD
67282011-05-08 Ulrich Drepper <drepper@gmail.com>
6729
7fb90fb8
UD
6730 [BZ #12713]
6731 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6732 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6733 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6734 in rtld. Use *stat64.
7fb90fb8 6735 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6736 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6737 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6738 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6739 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6740 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6741 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6742 __fstatat64 macros.
7fb90fb8
UD
6743 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6744 * dirent/rewinddir.c: Add libc_hidden_def.
6745 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6746 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6747
28377d1b
UD
6748 * include/dirent.h (__alloc_dir): Add flags parameter.
6749 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6750 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6751 __alloc_dir.
6752 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6753 from fdopendir if O_CLOEXEC is already set.
6754
66bdbaa4
AM
67552011-03-15 Alan Modra <amodra@gmail.com>
6756
6757 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6758 l_tls_firstbyte_offset non-zero. Save padding offset in
6759 l_tls_firstbyte_offset for later use.
6760 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6761 freeing static tls block.
6762
95721191
JN
67632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6764
6765 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6766 where #ifdef was intended. The intent is to prevent ARG_MAX from
6767 being defined by the kernel headers.
6768
f87dfb1f
UD
67692011-05-07 Ulrich Drepper <drepper@gmail.com>
6770
6771 [BZ #12734]
6772 * resolv/resolv.h: Define RES_NOTLDQUERY.
6773 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6774 no-tld-query and set RES_NOTLDQUERY.
6775 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6776 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6777 modern BIND to search name as TLD unless forbidden.
6778
47c3cd7a
UD
67792011-05-07 Petr Baudis <pasky@suse.cz>
6780 Ulrich Drepper <drepper@gmail.com>
6781
6782 [BZ #12393]
6783 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6784 (is_trusted_path): ...to here.
c1e9ea35 6785 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6786 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6787 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6788
8a35c912
PP
67892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6790
6791 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6792 __BEGIN/__END_DECLS.
6793
acd41f47
UD
67942011-05-06 Ulrich Drepper <drepper@gmail.com>
6795
6796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6797 NSS_STATUS_NOTFOUND if no record was found.
6798
597df647
AS
67992011-05-05 Andreas Schwab <schwab@redhat.com>
6800
6801 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6802 (headers-not-in-tirpc): Remove rpc/netdb.h
6803 * resolv/netdb.h: Revert last change.
6804
b9af1301
PP
68052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6806
6807 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6808 circular dependency between libgcc.a and libc.a.
6809
4e34d5f5
AS
68102011-05-05 Andreas Schwab <schwab@redhat.com>
6811
6812 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6813 * nis/Makefile: Don't install rpcsvc/*.
6814 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6815 instead of <rpc/types.h>.
6816 (MAXHOSTNAMELEN): Define.
6817
00ee369c
AS
68182011-05-03 Andreas Schwab <schwab@redhat.com>
6819
6820 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6821
0b592a30
MB
68222011-04-28 Maciej Babinski <mbabinski@google.com>
6823
6824 [BZ #12714]
6825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6826 gethostbyname4_r when IPv6 results are possible.
6827
6e04cbbe
UD
68282011-05-02 Ulrich Drepper <drepper@gmail.com>
6829
6830 [BZ #12723]
6831 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6832 _PC_PIPE_BUF handling.
6833
e4ecafe0
BH
68342011-04-30 Bruno Haible <bruno@clisp.org>
6835
6836 [BZ #12717]
6837 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6838 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6839 to 'int'.
6840 * inet/getnameinfo.c (getnameinfo): Likewise.
6841
125ee683
UD
68422011-04-29 Ulrich Drepper <drepper@gmail.com>
6843
6844 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6845 to groups setting in database lookup.
6846 * nss/nsswitch.conf: Add initgroups entry.
6847
b722481a
EB
68482011-04-22 Ulrich Drepper <drepper@gmail.com>
6849
6850 [BZ #12685]
6851 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6852 mode string.
6853 Patch by Eric Blake <eblake@redhat.com>.
6854
4df46dbd
L
68552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6856
6857 * sunrpc/Makefile (need-export-routines): Add svc_run.
6858 (routines): Remove svc_run.
6859 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6860 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6861 * sunrpc/svc_run.c (svc_run): Likewise.
6862 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6863
e84142d2
UD
68642011-04-21 Ulrich Drepper <drepper@gmail.com>
6865
6866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6867 problem in reallocation in last patch.
6868
877175d8
UD
68692011-04-20 Ulrich Drepper <drepper@gmail.com>
6870
6871 * sunrpc/Makefile: Move inclusion of Rules.
6872
ab8eed78
UD
68732011-04-19 Ulrich Drepper <drepper@gmail.com>
6874
6875 * nss/nss_files/files-initgroups.c: New file.
6876 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6877 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6878 _nss_files_initgroups_dyn.
6879
e3d8f584
RS
68802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6881
6882 * elf/elf.h (R_ARM_IRELATIVE): Define.
6883
af190f45
UD
68842011-04-19 Ulrich Drepper <drepper@gmail.com>
6885
6886 * po/ru.po: Update from translation team.
6887
53cf59ef
UD
68882011-04-17 Ulrich Drepper <drepper@gmail.com>
6889
6890 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6891 dependencies.
6892
4c559bcd
MF
68932011-02-06 Mike Frysinger <vapier@gentoo.org>
6894
6895 [BZ #12653]
6896 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6897 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6901
4420675c
AS
69022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6903
6904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6905 differing bytes.
6906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6909
75ea32ab
UD
69102011-04-17 Ulrich Drepper <drepper@gmail.com>
6911
6912 [BZ #12420]
6913 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6914 storing it.
6915 * stdlib/bug-getcontext.c: New file.
6916 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6917
27390476
AK
69182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6919
6920 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6921 instructions into .machine "z9-109".
6922 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6923 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6924
10442705
AK
69252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6926
6927 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6928 between environment variables and auxiliary vector.
6929
7b57bfe5
UD
69302011-04-16 Ulrich Drepper <drepper@gmail.com>
6931
6932 * Makefile: Add rules to build linkobj/libc.so.
6933 * include/libc-symbols.h: Define libc_hidden_nolink.
6934 * include/rpc/auth.h: Mark functions which are to be hidden.
6935 * include/rpc/auth_des.h: Likewise.
6936 * include/rpc/auth_unix.h: Likewise.
6937 * include/rpc/clnt.h: Likewise.
6938 * include/rpc/des_crypt.h: Likewise.
6939 * include/rpc/key_prot.h: Likewise.
6940 * include/rpc/pmap_clnt.h: Likewise.
6941 * include/rpc/pmap_prot.h: Likewise.
6942 * include/rpc/pmap_rmt.h: Likewise.
6943 * include/rpc/rpc_msg.h: Likewise.
6944 * include/rpc/svc.h: Likewise.
6945 * include/rpc/svc_auth.h: Likewise.
6946 * include/rpc/xdr.h: Likewise.
6947 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6948 * nss/Makefile: Likewise.
6949 * sunrpc/Makefile: Don't install headers. Build library with normal
6950 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6951 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6952 for the compat linking library. Remove use of INTDEF/INTUSE.
6953 * sunrpc/auth_none.c: Likewise.
6954 * sunrpc/auth_unix.c: Likewise.
6955 * sunrpc/authdes_prot.c: Likewise.
6956 * sunrpc/authuxprot.c: Likewise.
6957 * sunrpc/clnt_gen.c: Likewise.
6958 * sunrpc/clnt_perr.c: Likewise.
6959 * sunrpc/clnt_raw.c: Likewise.
6960 * sunrpc/clnt_simp.c: Likewise.
6961 * sunrpc/clnt_tcp.c: Likewise.
6962 * sunrpc/clnt_udp.c: Likewise.
6963 * sunrpc/clnt_unix.c: Likewise.
6964 * sunrpc/des_crypt.c: Likewise.
6965 * sunrpc/des_soft.c: Likewise.
6966 * sunrpc/get_myaddr.c: Likewise.
6967 * sunrpc/key_call.c: Likewise.
6968 * sunrpc/key_prot.c: Likewise.
6969 * sunrpc/netname.c: Likewise.
6970 * sunrpc/pm_getmaps.c: Likewise.
6971 * sunrpc/pm_getport.c: Likewise.
6972 * sunrpc/pmap_clnt.c: Likewise.
6973 * sunrpc/pmap_prot.c: Likewise.
6974 * sunrpc/pmap_prot2.c: Likewise.
6975 * sunrpc/pmap_rmt.c: Likewise.
6976 * sunrpc/publickey.c: Likewise.
6977 * sunrpc/rpc_cmsg.c: Likewise.
6978 * sunrpc/rpc_common.c: Likewise.
6979 * sunrpc/rpc_dtable.c: Likewise.
6980 * sunrpc/rpc_prot.c: Likewise.
6981 * sunrpc/rpc_thread.c: Likewise.
6982 * sunrpc/rtime.c: Likewise.
6983 * sunrpc/svc.c: Likewise.
6984 * sunrpc/svc_auth.c: Likewise.
6985 * sunrpc/svc_authux.c: Likewise.
6986 * sunrpc/svc_raw.c: Likewise.
6987 * sunrpc/svc_run.c: Likewise.
6988 * sunrpc/svc_simple.c: Likewise.
6989 * sunrpc/svc_tcp.c: Likewise.
6990 * sunrpc/svc_udp.c: Likewise.
6991 * sunrpc/svc_unix.c: Likewise.
6992 * sunrpc/svcauth_des.c: Likewise.
6993 * sunrpc/xcrypt.c: Likewise.
6994 * sunrpc/xdr.c: Likewise.
6995 * sunrpc/xdr_array.c: Likewise.
6996 * sunrpc/xdr_float.c: Likewise.
6997 * sunrpc/xdr_intXX_t.c: Likewise.
6998 * sunrpc/xdr_mem.c: Likewise.
6999 * sunrpc/xdr_rec.c: Likewise.
7000 * sunrpc/xdr_ref.c: Likewise.
7001 * sunrpc/xdr_sizeof.c: Likewise.
7002 * sunrpc/xdr_stdio.c: Likewise.
7003
e6c61494
UD
70042011-04-10 Ulrich Drepper <drepper@gmail.com>
7005
7006 [BZ #12650]
7007 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7008 * sysdeps/ia64/dl-tls.h: Likewise.
7009 * sysdeps/powerpc/dl-tls.h: Likewise.
7010 * sysdeps/s390/dl-tls.h: Likewise.
7011 * sysdeps/sh/dl-tls.h: Likewise.
7012 * sysdeps/sparc/dl-tls.h: Likewise.
7013 * sysdeps/x86_64/dl-tls.h: Likewise.
7014 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7015
34fe483e
AS
70162011-03-14 Andreas Schwab <schwab@redhat.com>
7017
7018 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7019 rpath element also skip the following colon.
7020 (expand_dynamic_string_token): Add is_path parameter and pass
7021 down to DL_DST_REQUIRED and _dl_dst_substitute.
7022 (decompose_rpath): Call expand_dynamic_string_token with
7023 non-zero is_path. Ignore empty rpaths.
7024 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7025 with zero is_path.
7026
f12a32e6
AS
70272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7028
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7030 Make cancelable.
7031
38a7d692
UD
70322011-04-09 Ulrich Drepper <drepper@gmail.com>
7033
7034 [BZ #12655]
7035 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7036 Patch by Filipe David Manana <fdmanana@apache.org>.
7037
e451d22b
AS
70382011-04-07 Andreas Schwab <schwab@redhat.com>
7039
7040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7041 Maintain aligned stack.
7042 (CHECK_RSP): Remove unused macro.
7043
dedc7c7b
UD
70442011-04-03 Ulrich Drepper <drepper@gmail.com>
7045
7046 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7048
94521213
UD
70492011-04-02 Ulrich Drepper <drepper@gmail.com>
7050
7051 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7052
8cb700c0 7053 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7054
0354e355
L
70552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7056
7057 [BZ #12518]
7058 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7059 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7060 * sysdeps/x86_64/memmove.c: New file.
7061 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7062 (memcpy): Renamed to ...
7063 (__new_memcpy): This.
7064 (memcpy): Provide GLIBC_2_14 memcpy.
7065 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7066 (memcpy): Provide GLIBC_2_2_5 memcpy.
7067
8593482f
UD
70682011-04-01 Ulrich Drepper <drepper@gmail.com>
7069
7070 [BZ #12631]
7071 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7072
81a5726b
AS
70732011-03-30 Andreas Schwab <schwab@redhat.com>
7074
7075 * misc/syncfs.c: New file.
7076 * misc/Makefile (routines): Add syncfs.
7077 * posix/unistd.h: Declare syncfs.
7078 * sysdeps/unix/syscalls.list: Add syncfs.
7079
00e5419f
AS
70802011-04-01 Andreas Schwab <schwab@redhat.com>
7081
7082 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7083 open_by_handle_at.
7084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7085 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7089 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7091
748876bf
UD
70922011-04-01 Ulrich Drepper <drepper@gmail.com>
7093
658e451d
UD
7094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7096 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7101
748876bf
UD
7102 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7103 sync_file_range.c with -fexceptions.
7104 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7105 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7106 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7107 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7108 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7109 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7111 sync_file_range as cancellation point
7112 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7113 now a wrapper around __call_sync_file_range with cancellation handling.
7114 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7115 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7116 function name to __call_sync_file_range.
7117 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7118 Add call_sync_file_range.
748876bf 7119
6e63d5e1
AS
71202011-04-01 Andreas Schwab <schwab@redhat.com>
7121
7122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7123 bits/timex.h.
6e63d5e1 7124
46998f74
UD
71252011-04-01 Ulrich Drepper <drepper@gmail.com>
7126
4c1423ed
UD
7127 * iconv/iconv.h: Fix typo in comment.
7128 * io/fcntl.h: Likewise.
7129 * libio/stdio.h: Likewise.
7130 * posix/spawn.h: Likewise.
7131 * posix/unistd.h: Likewise.
7132 * stdlib/stdlib.h: Likewise.
7133 * time/time.h: Likewise.
7134 * wcsmbs/wchar.h: Likewise.
7135
158648c0
UD
7136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7137 open_by_handle): Add.
7138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7139 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7140 Augment a few comments.
7141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7146 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7147 open_by_handle.
7148
46998f74
UD
7149 * io/fcntl.h (AT_EMPTY_PATH): Define.
7150
83fe108b
UD
71512011-03-30 Ulrich Drepper <drepper@gmail.com>
7152
7153 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7154 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7155 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7156 to...
7157 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7158 * Versions.def: Add GLIBC_2.14.
7159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7160 Export.
83fe108b 7161
bb242059
UD
71622011-03-22 Ulrich Drepper <drepper@gmail.com>
7163
7164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7165 round counter.
7166 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7167
c97a1282
L
71682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 [BZ #12597]
7171 * string/test-strncmp.c (do_page_test): New function.
7172 (check2): Likewise.
7173 (test_main): Call check2.
7174 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7175
2a115601
UD
71762011-03-20 Ulrich Drepper <drepper@gmail.com>
7177
7178 [BZ #12587]
7179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7180 Handle cache information in CPU leaf 4.
7181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7182
8126d904
UD
71832011-03-18 Ulrich Drepper <drepper@gmail.com>
7184
042c49c6 7185 [BZ #12583]
8126d904
UD
7186 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7187 character representation.
7188 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7189
ccfe366e
RA
71902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7191
7192 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7193 END(__isnan) to END(__isnanf) to match function entry point/label
7194 EALIGN(__isnanf,...).
7195
c6e13027
JJ
71962011-03-10 Jakub Jelinek <jakub@redhat.com>
7197
7198 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7199
33f85a3f
UD
72002011-03-10 Ulrich Drepper <drepper@gmail.com>
7201
028478fa
UD
7202 [BZ #12510]
7203 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7204 copy from the symbol referenced in the relocation to initialize the
7205 used variable.
7206 Patch by Piotr Bury <pbury@goahead.com>.
7207 * elf/Makefile: Add rules to build and tst-unique3.
7208 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7209 * elf/tst-unique3.cc: New file.
7210 * elf/tst-unique3.h: New file.
7211 * elf/tst-unique3lib.cc: New file.
7212 * elf/tst-unique3lib2.cc: New file.
7213
33f85a3f
UD
7214 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7215
03592fc7
MF
72162011-03-10 Mike Frysinger <vapier@gentoo.org>
7217
7218 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7219 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7220 to _start.
03592fc7 7221
6a5ee102
UD
72222011-03-06 Ulrich Drepper <drepper@gmail.com>
7223
7224 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7225 to-be-loaded object along a path to loader is ld.so.
7226
7e4ba49c
HJ
72272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7228 Ulrich Drepper <drepper@gmail.com>
7229
7230 * sysdeps/x86_64/memset.S: After aligning destination, code
7231 branches to different locations depending on the value of
7232 misalignment, when multiarch is enabled. Fix this.
7233
72342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7235
7236 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7237 Set _x86_64_preferred_memory_instruction for AMD processsors.
7238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7239 Set bit_Prefer_SSE_for_memop for AMD processors.
7240
13a804de
UD
72412011-03-04 Ulrich Drepper <drepper@gmail.com>
7242
7243 * libio/fmemopen.c (fmemopen): Optimize a bit.
7244
9d25c392
AS
72452011-03-03 Andreas Schwab <schwab@redhat.com>
7246
7247 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7248
a5543c6a
RM
72492011-03-03 Roland McGrath <roland@redhat.com>
7250
7251 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7252
012d35f7
DM
72532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7254
7e4ba49c 7255 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7256 __bzero_ultra1 instead of __memset_ultra1.
7257
4bff6e01
AS
72582011-02-23 Andreas Schwab <schwab@redhat.com>
7259 Ulrich Drepper <drepper@gmail.com>
7260
7261 [BZ #12509]
7262 * include/link.h (struct link_map): Add l_orig_initfini.
7263 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7264 returning unsuccessfully.
7265 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7266 close of a file loaded at startup, restore the original l_initfini
7267 list.
7268 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7269 list, store the pointer.
7270 * elf/Makefile ($(objpfx)noload-mem): New rule.
7271 (noload-ENV): Define.
7272 (tests): Add $(objpfx)noload-mem.
7273 * elf/noload.c: Include <memcheck.h>.
7274 (main): Call mtrace. Close all opened handles.
7275
f2092faf
AS
72762011-02-17 Andreas Schwab <schwab@redhat.com>
7277
7278 [BZ #12454]
7279 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7280 dependencies are missing.
7281
6c8a2e88
ST
72822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7283
f2092faf 7284 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7285 Hurd needs munmap.
7286 * sysdeps/mach/hurd/ifreq.h: New file.
7287
84a42118
PB
72882011-01-27 Petr Baudis <pasky@suse.cz>
7289 Ulrich Drepper <drepper@gmail.com>
7290
071f805e 7291 [BZ 12445]#
84a42118
PB
7292 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7293 to extend_alloca().
7294 * stdio-common/bug23.c: New file.
7295 * stdio-common/Makefile (tests): Add bug23.
7296
e23fe25b
AS
72972010-09-28 Andreas Schwab <schwab@redhat.com>
7298 Ulrich Drepper <drepper@gmail.com>
7299
7300 [BZ #12489]
7301 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7302 before performing relro protection. At old place add assertion
7303 to make sure nothing changed.
7304
d3f02e10
NS
73052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7306 Glauber de Oliveira Costa <glommer@gmail.com>
7307
7308 * elf/elf.h: Add new ARM TLS relocs.
7309
d55fd7a5
RA
73102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7311
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7313 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7314 cast from r3.
7315 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7316 'tests' variable.
7317 * sysdeps/wordsize-64/tst-writev.c: New file.
7318
2206397e
RA
73192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7320
7321 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7322 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7323 insns in _dl_start to prevent a TOC reference before relocs are
7324 resolved.
7325
e9433893
UD
73262011-02-15 Ulrich Drepper <drepper@gmail.com>
7327
7328 [BZ #12469]
7329 * Makeconfig: Remove RANLIB definition.
7330 * Makerules: Don't use RANLIB.
7331 * aclocal.m4: Remove ranlib test.
7332 * configure.in: No need to check for ranlib.
7333 * elf/rtld-Rules: Don't use RANLIB.
7334
f75286c6
ST
73352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7336
8e31c82d
ST
7337 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7338 protection macro.
7339 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7340 inclusion protection macro.
7341
f75286c6
ST
7342 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7343 SIGRTMIN and SIGRTMAX and print information in that case only when
7344 SIGRTMIN is defined.
7345
c1d0e639
JJ
73462011-02-11 Jakub Jelinek <jakub@redhat.com>
7347
7348 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7349 arginfo fn returning -1.
7350
7351 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7352 and thousands string is zero terminated.
7353
edf9294e
AS
73542011-02-03 Andreas Schwab <schwab@redhat.com>
7355
7356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7357 sysdeps/unix/sysv/linux/bits/socket.h.
7358
2b7e92df
ST
73592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7360
edf9294e
AS
7361 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7362 (__CPU_COUNT): Remove old macros.
7363 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7364 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7365 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7366 (__sched_cpualloc, __sched_cpufree): Add declarations.
7367
a4c7ea7b
UD
73682011-02-05 Ulrich Drepper <drepper@gmail.com>
7369
7370 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7371 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7372 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7373 (readdhstai): Return value of addhstaiX call.
7374 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7375 (addgrbyX): Return value returned by cache_addgr.
7376 (readdgrbyname): Return value returned by addgrbyX.
7377 (readdgrbygid): Likewise.
7378 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7379 (addpwbyX): Return value returned by cache_addpw.
7380 (readdpwbyname): Return value returned by addhstbyX.
7381 (readdpwbyuid): Likewise.
7382 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7383 (addservbyX): Return value returned by cache_addserv.
7384 (readdservbyname): Return value returned by addservbyX:
7385 (readdservbyport): Likewise.
7386 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7387 (addhstbyX): Return value returned by cache_addhst.
7388 (readdhstbyname): Return value returned by addhstbyX.
7389 (readdhstbyaddr): Likewise.
7390 (readdhstbynamev6): Likewise.
7391 (readdhstbyaddrv6): Likewise.
7392 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7393 (readdinitgroups): Return value returned by addinitgroupsX.
7394 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7395 (prune_cache): Keep track of timeout value of re-added entries.
7396 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7397 * nscd/nscd.h: Adjust prototypes of readd* functions.
7398
a0bf67cc
RM
73992011-02-04 Roland McGrath <roland@redhat.com>
7400
7401 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7402 (nis_stats): Likewise.
7403 * nis/nis_modify.c (nis_modify): Likewise.
7404 * nis/nis_remove.c (nis_remove): Likewise.
7405 * nis/nis_add.c (nis_add): Likewise.
7406
7407 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7408
7409 * posix/fnmatch_loop.c: Add some consts.
7410
7411 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7412
435b95eb
L
74132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7414
7415 [BZ #12460]
7416 * config.make.in (config-cflags-novzeroupper): Define.
7417 * configure.in: Substitute libc_cv_cc_novzeroupper.
7418 * elf/Makefile (AVX-CFLAGS): Define.
7419 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7420 (CFLAGS-tst-auditmod4a.c): Likewise.
7421 (CFLAGS-tst-auditmod4b.c): Likewise.
7422 (CFLAGS-tst-auditmod6b.c): Likewise.
7423 (CFLAGS-tst-auditmod6c.c): Likewise.
7424 (CFLAGS-tst-auditmod7b.c): Likewise.
7425 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7426
8517b15e
UD
74272011-02-02 Ulrich Drepper <drepper@gmail.com>
7428
7429 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7430 function to the callback.
7431 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7432
10a656fe
AS
74332011-02-02 Andreas Schwab <schwab@redhat.com>
7434
7435 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7436 of errno.
7437
968dad0a
UD
74382011-01-19 Ulrich Drepper <drepper@gmail.com>
7439
9f94d2ea 7440 [BZ #11724]
968dad0a
UD
7441 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7442 of constructors.
7443 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7444 of destructors.
7445 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7446
7447 [BZ #11724]
7448 * elf/Makefile: Add rules to build and run new test.
7449 * elf/tst-initorder.c: New file.
7450 * elf/tst-initorder.exp: New file.
7451 * elf/tst-initordera1.c: New file.
7452 * elf/tst-initordera2.c: New file.
7453 * elf/tst-initordera3.c: New file.
7454 * elf/tst-initordera4.c: New file.
7455 * elf/tst-initorderb1.c: New file.
7456 * elf/tst-initorderb2.c: New file.
7457 * elf/tst-order-a1.c: New file.
7458 * elf/tst-order-a2.c: New file.
7459 * elf/tst-order-a3.c: New file.
7460 * elf/tst-order-a4.c: New file.
7461 * elf/tst-order-b1.c: New file.
7462 * elf/tst-order-b2.c: New file.
7463 * elf/tst-order-main.c: New file.
7464 New test case by George Gensure <werkt0@gmail.com>.
7465
86e92359
UD
74662010-10-01 Andreas Schwab <schwab@redhat.com>
7467
7468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7469 decoding ACE if AI_CANONIDN.
7470
5d5732b0
UD
74712011-01-18 Ulrich Drepper <drepper@gmail.com>
7472
7473 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7474
a77e8cbc
UD
74752011-01-17 Ulrich Drepper <drepper@gmail.com>
7476
6392473f
UD
7477 * version.h (RELEASE): Bump for 2.13 release.
7478 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7479
620a0529
UD
7480 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7481
18ba70a5
UD
7482 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7483 MADV_NOHUGEPAGE.
32465c3e
UD
7484 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7485 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7490
c0dafcf1
UD
7491 * posix/getconf.c: Update copyright year.
7492 * catgets/gencat.c: Likewise.
7493 * csu/version.c: Likewise.
7494 * debug/catchsegv.sh: Likewise.
7495 * debug/xtrace.sh: Likewise.
7496 * elf/ldconfig.c: Likewise.
7497 * elf/ldd.bash.in: Likewise.
7498 * elf/sprof.c (print_version): Likewise.
7499 * iconv/iconv_prog.c: Likewise.
7500 * iconv/iconvconfig.c: Likewise.
7501 * locale/programs/locale.c: Likewise.
7502 * locale/programs/localedef.c: Likewise.
7503 * malloc/memusage.sh: Likewise.
7504 * malloc/mtrace.pl: Likewise.
7505 * nscd/nscd.c (print_version): Likewise.
7506 * nss/getent.c: Likewise.
7507
a77e8cbc
UD
7508 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7509 PF_CAIF, and PF_ALG.
7510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7511
77e8bddf
AS
75122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7513
1f20b93a
AS
7514 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7515 (modules-names): Use them.
7516 (ifunc-test-modules, ifunc-pie-tests): Define.
7517 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7518 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7519 (test-extras): Likewise.
7520 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7521 $(compile-command.c).
7522 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7523 (all-built-dso): Define.
7524 (check-textrel.out, check-execstack.out): Depend on it.
7525
77e8bddf
AS
7526 * configure.in: Don't override --enable-multi-arch.
7527
bc425b33
UD
75282011-01-15 Ulrich Drepper <drepper@gmail.com>
7529
7530 [BZ #6812]
7531 * nscd/hstcache.c (tryagain): Define.
7532 (cache_addhst): Return tryagain not notfound for temporary errors.
7533 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7534 failed.
7535
794c3ad3
UD
75362011-01-14 Ulrich Drepper <drepper@gmail.com>
7537
70181fdd
UD
7538 [BZ #10563]
7539 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7540 to make the syscall.
7541 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7542
794c3ad3
UD
7543 [BZ #12378]
7544 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7545 and fall back to matching as normal character if the string ends before
7546 the matching ']' is found. This is what POSIX requires.
7547 * posix/testfnm.c: Adjust test result.
7548 * posix/globtest.sh: Adjust test result. Add new test.
7549 * posix/tst-fnmatch.input: Likewise.
7550 * posix/tst-fnmatch2.c: Add new test.
7551
68dc9497
AS
75522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7553
7554 * elf/Makefile (check-execstack): Revert last change. Depend on
7555 check-execstack.h.
7556 (check-execstack.h): New target.
7557 (generated): Add check-execstack.h.
7558 * elf/check-execstack.c: Include "check-execstack.h".
7559 (main): Revert last change.
7560 (handle_file): Return zero if GNU_STACK is absent and
7561 DEFAULT_STACK_PERMS doesn't include PF_X.
7562
451f001b
UD
75632011-01-13 Ulrich Drepper <drepper@gmail.com>
7564
cfa28e56
UD
7565 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7566 in child fails because the descriptor is already closed.
8cf8ce17
UD
7567 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7568 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7570
1086d70d
UD
7571 [BZ #12397]
7572 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7573 syscall.
7574
451f001b
UD
7575 [BZ #10484]
7576 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7577 temporary buffer used to handle multi lookups locally.
a85b5cb4 7578 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7579
08769175
UD
75802011-01-12 Ulrich Drepper <drepper@gmail.com>
7581
7582 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7583 loader is ld.so.
7584
5e49c52e
UD
75852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7586
7587 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7588 alignment for SSE2.
7589
60522a5f
UD
75902011-01-12 Ulrich Drepper <drepper@gmail.com>
7591
7592 [BZ #12394]
7593 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7594 characters. When rounding increased number of integer digits recompute
7595 number of groups.
7596 * stdio-common/tst-grouping.c: New file.
7597 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7598
f257bbd7
UD
75992011-01-09 Ulrich Drepper <drepper@gmail.com>
7600
7601 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7602 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7603
7604 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7605 void.
7606 * bits/select.h: Likewise.
7607
fa9c15cb
UD
76082011-01-08 Ulrich Drepper <drepper@gmail.com>
7609
7610 * po/ja.po: Update from translation team.
7611
16c2895f
DM
76122011-01-04 David S. Miller <davem@sunset.davemloft.net>
7613
7614 [BZ #11155]
7615 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7616 implementation just like for lxstat, fxstatat, et al.
7617
2543fef2
JM
76182010-12-27 Jim Meyering <meyering@redhat.com>
7619
7620 [BZ #12348]
7621 * posix/regexec.c (build_trtable): Return failure indication upon
7622 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7623
98727dbe
UD
76242010-12-25 Ulrich Drepper <drepper@gmail.com>
7625
5bd6dc5c
UD
7626 [BZ #12201]
7627 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7628 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7629 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7631
97983464
UD
7632 [BZ #12207]
7633 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7634
98727dbe
UD
7635 [BZ #12204]
7636 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7637 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7638
4a531bb0
L
76392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7640
7641 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7642 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7643 script has SORT_BY_INIT_PRIORITY.
7644 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7645 NO_CTORS_DTORS_SECTIONS is defined.
7646 * elf/soinit.c: Likewise.
7647 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7648 NO_CTORS_DTORS_SECTIONS is defined.
7649 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7650 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7651 * sysdeps/sh/init-first.c: Likewise.
7652 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7653
07eb4b71
UD
76542010-12-24 Ulrich Drepper <drepper@gmail.com>
7655
7656 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7657 always use the slow path.
7658
30950a5f
RA
76592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7660
7661 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7662 similar rule which adds the sysdep directories to the header search in
7663 order to pick up the correct platform stackinfo.h.
7664 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7665 perform test if it is, otherwise return successfully without testing.
7666 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7667 DEFAULT_STACK_PERMS define in stackinfo.h.
7668 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7669 defined in stackinfo.h.
7670 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7671 DEFAULT_STACK_PERMS defined in stackinfo.h.
7672 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7673 * sysdeps/ia64/stackinfo.h: Likewise.
7674 * sysdeps/s390/stackinfo.h: Likewise.
7675 * sysdeps/sh/stackinfo.h: Likewise.
7676 * sysdeps/sparc/stackinfo.h: Likewise.
7677 * sysdeps/x86_64/stackinfo.h: Likewise.
7678 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7679 PF_X for powerpc64. Retain PF_X for powerpc32.
7680
db753e2c
UD
76812010-12-19 Ulrich Drepper <drepper@gmail.com>
7682
14b697f7
UD
7683 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7684 accurately.
db753e2c
UD
7685 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7686 GETDENTS_64BIT_ALIGNED.
7687
28300719
UD
76882010-12-14 Ulrich Drepper <dreper@gmail.com>
7689
14b697f7 7690 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7691
4f197237
AS
76922010-12-10 Andreas Schwab <schwab@redhat.com>
7693
dbb0472f
AS
7694 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7695 _GNU_SOURCE.
7696
4f197237
AS
7697 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7698 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7699 Remove __restrict.
7700 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7701 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7702
fb88ac72
UD
77032010-12-09 Ulrich Drepper <drepper@gmail.com>
7704
7705 [BZ #11655]
7706 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7707 are initialized.
7708
42acbb92
JJ
77092010-12-09 Jakub Jelinek <jakub@redhat.com>
7710
7711 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7712
c038d98d
UD
77132010-12-03 Ulrich Drepper <drepper@gmail.com>
7714
7715 * po/it.po: Update from translation team.
7716
3a4a2499
L
77172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7720 unused codes.
7721
1e24cf6e
UD
77222010-11-30 Ulrich Drepper <drepper@gmail.com>
7723
7724 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7725
a7690819
AS
77262010-11-24 Andreas Schwab <schwab@redhat.com>
7727
7728 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7729 specially.
7730 (gaih_getanswer_slice): Likewise.
7731
3bf8d1b1
JJ
77322010-10-20 Jakub Jelinek <jakub@redhat.com>
7733
7734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7735
6db52fbb
PB
77362010-05-31 Petr Baudis <pasky@suse.cz>
7737
7738 [BZ #11149]
7739 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7740 silently even in the chroot mode.
7741
eaca7569
UD
77422010-11-22 Ulrich Drepper <drepper@gmail.com>
7743
7744 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7745 last patch a bit. Pretty printing
7746
3056dcdb
UD
77472010-05-31 Petr Baudis <pasky@suse.cz>
7748
7749 [BZ #10085]
7750 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7751 initialization of skip_initgroups_dyn.
7752
cf7c9078
UD
77532010-11-19 Ulrich Drepper <drepper@gmail.com>
7754
7755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7757
a1fb5e3e
UD
77582010-11-16 Ulrich Drepper <drepper@gmail.com>
7759
7760 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7761
3540d66b
AS
77622010-11-11 Andreas Schwab <schwab@redhat.com>
7763
7764 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7765 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7766 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7767 ($(objpfx)tst-fnmatch-mem): New rule.
7768 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7769 * posix/tst-fnmatch.c (main): Call mtrace.
7770
13b69574
L
77712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7772
7773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7774 Support Intel processor model 6 and model 0x2c.
7775
da93d214
LM
77762010-11-10 Luis Machado <luisgpm@br.ibm.com>
7777
7778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7779 signed comparison.
7780
8ca52c6e
L
77812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7782
7783 [BZ #12205]
7784 * string/test-strncasecmp.c (check_result): New function.
7785 (do_one_test): Use it.
7786 (check1): New function.
7787 (test_main): Use it.
7788 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7789 Support strcasecmp and strncasecmp.
7790
69da074d
UD
77912010-11-08 Ulrich Drepper <drepper@gmail.com>
7792
7793 [BZ #12194]
7794 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7796
ff02d528
L
77972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7798
7799 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7800 IFUNC support.
7801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7802 memset-x86-64.
7803 * sysdeps/x86_64/multiarch/bzero.S: New file.
7804 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7805 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7806 * sysdeps/x86_64/multiarch/memset.S: New file.
7807 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7809 Set bit_Prefer_SSE_for_memop for Intel processors.
7810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7811 Define.
7812 (index_Prefer_SSE_for_memop): Define.
7813 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7814
344d0b54
LM
78152010-11-04 Luis Machado <luisgpm@br.ibm.com>
7816
7817 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7819
c0dde15b
UD
78202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7821
7822 [BZ #12191]
7823 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7824 (__x86_64_raw_data_cache_size_half): Likewise.
7825 (__x86_64_raw_shared_cache_size): Likewise.
7826 (__x86_64_raw_shared_cache_size_half): Likewise.
7827
7828 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7829 (__x86_64_raw_data_cache_size_half): Likewise.
7830 (__x86_64_raw_shared_cache_size): Likewise.
7831 (__x86_64_raw_shared_cache_size_half): Likewise.
7832 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7833 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7834 and __x86_64_raw_shared_cache_size_half. Round
7835 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7836 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7837 to multiple of 256 bytes.
7838
0e516e0e
MS
78392010-11-03 Ulrich Drepper <drepper@gmail.com>
7840
7841 [BZ #12167]
7842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7843 of inacessible symlinks. Verify result of symlink before returning it.
7844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7845 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7846
0e012e87
ER
78472010-10-28 Erich Ritz <erichritz@gmail.com>
7848
7849 * math/math.h (isinf): Fix typo in comment.
7850
de0ff7bc
UD
78512010-11-01 Ulrich Drepper <drepper@gmail.com>
7852
7853 * po/da.po: Update from translation team.
7854
fa41c84d
UD
78552010-10-26 Ulrich Drepper <drepper@gmail.com>
7856
7857 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7858 is added to the list.
7859
f0967738
AK
78602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7861 Ulrich Drepper <drepper@gmail.com>
7862
7863 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7864 the global list here. Move code to...
7865 (_dl_add_to_namespace_list): ...here. New function.
7866 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7867 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7868 * elf/dl-load.c (lose): Don't remove the element from the list.
7869 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7870 (_dl_map_object): Likewise.
7871
78722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7873
7874 [BZ #12159]
7875 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7876 into all bytes of SSE register.
7877 Patch by Richard Li <richardpku@gmail.com>.
7878
f0967738 78792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
7880
7881 [BZ #12140]
7882 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7883 perturbing.
7884
d0b9e94f
MB
78852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7886
7887 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7888 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7889 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7892 submachine.
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7894
8e9f92e9
AS
78952010-10-22 Andreas Schwab <schwab@redhat.com>
7896
7897 * include/dlfcn.h (__RTLD_SECURE): Define.
7898 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7899 mode & __RTLD_SECURE instead.
7900 (open_path): Rename preloaded parameter to secure.
7901 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7902 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7903 * elf/dl-deps.c (openaux): Likewise.
7904 * elf/rtld.c (struct map_args): Remove is_preloaded.
7905 (map_doit): Don't use it.
7906 (dl_main): Likewise.
7907 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7908 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7909
bc96fbda
AS
79102010-09-09 Andreas Schwab <schwab@redhat.com>
7911
7912 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7913 (sysd-rules-targets): Remove duplicates.
7914 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7915 rtld-%.$o dependency.
7916
22cd1c9b
AS
79172010-10-18 Andreas Schwab <schwab@redhat.com>
7918
7919 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7920 _dl_map_object do it.
7921
18edac48
UD
79222010-10-19 Ulrich Drepper <drepper@gmail.com>
7923
7924 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7925 fast fma builtins, define the macros in the C99 standard.
7926 (FP_FAST_FMAF): Likewise.
7927 (FP_FAST_FMAL): Likewise.
7928 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7929
7930 * bits/mathdef.h: Update copyright year.
7931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7932
d2050124
MM
79332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7934
7935 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7936 builtins, define the macros in the C99 standard.
7937 (FP_FAST_FMAF): Likewise.
7938 (FP_FAST_FMAL): Likewise.
7939 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7940 multiply/add.
7941 (FP_FAST_FMAF): Likewise.
7942
475facd1
JJ
79432010-10-15 Jakub Jelinek <jakub@redhat.com>
7944
7945 [BZ #3268]
7946 * math/libm-test.inc (fma_test): Some new testcases.
7947 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7948 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7949 y and infinite z. Do multiplication by C already in long double.
7950 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7952 y and infinite z. Do bitwise or of inexact bit into u.d.
7953 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7954 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7955 * sysdeps/i386/fpu/s_fma.S: Removed.
7956 * sysdeps/i386/fpu/s_fmal.S: Removed.
7957
7c08a05c
JJ
79582010-10-16 Jakub Jelinek <jakub@redhat.com>
7959
7960 [BZ #3268]
7961 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7963 computation is not scheduled after fetestexcept. Fix value
7964 of minimum denormal long double.
7965
f3f7372d
JJ
79662010-10-14 Jakub Jelinek <jakub@redhat.com>
7967
7968 [BZ #3268]
7969 * math/libm-test.inc (fma_test): Add some more tests.
7970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7971 correctly.
7972
14d43591
AS
79732010-10-15 Andreas Schwab <schwab@redhat.com>
7974
7975 * scripts/data/localplt-s390-linux-gnu.data: New file.
7976 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7977
5e908464
JJ
79782010-10-13 Jakub Jelinek <jakub@redhat.com>
7979
7980 [BZ #3268]
7981 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7982 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7983 instead of dbl-64.
7984 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7985 inlines.
7986 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7988 if one of x and y is very large and the other is subnormal.
7989 * sysdeps/s390/fpu/s_fmaf.c: New file.
7990 * sysdeps/s390/fpu/s_fma.c: New file.
7991 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7992 * sysdeps/powerpc/fpu/s_fma.S: New file.
7993 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7994 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7995 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7996
79972010-10-12 Jakub Jelinek <jakub@redhat.com>
7998
7999 [BZ #3268]
8000 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8001 fma tests.
8002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8003 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8004 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8005 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8006 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8007 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8009
b833d51f
UD
80102010-10-12 Ulrich Drepper <drepper@redhat.com>
8011
8012 [BZ #12078]
8013 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8014 * posix/bug-regex31.input: Add test case.
8015
1751705d
UD
80162010-10-11 Ulrich Drepper <drepper@gmail.com>
8017
e9b9cbf5
UD
8018 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8019 * posix/bug-regex31.input: New file.
8020
8021 [BZ #12078]
8022 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8023 (parse_sub_exp): Fix last change, use postorder.
8024
ef06edbe
UD
8025 * posix/bug-regex31.c: New file.
8026 * posix/Makefile: Add rules to build and run bug-regex31.
8027
a129c80d
UD
8028 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8029
8030 [BZ #12078]
8031 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8032
b76b818e
UD
8033 [BZ #12108]
8034 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8035 to have entries in sys_siglist.
8036
1751705d
UD
8037 [BZ #12093]
8038 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8039 be NULL.
8040
9ff8d36f
JJ
80412010-10-07 Jakub Jelinek <jakub@redhat.com>
8042
8043 [BZ #3268]
8044 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8045 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8046 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8047 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8048 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8049 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8050 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8051 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8052 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8053 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8054 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8055 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8056 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8057 * math/ftestexcept.c (fetestexcept): Likewise.
8058 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8059 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8060 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8061 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8062 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8063 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8064 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8065
af325969
UD
80662010-10-11 Ulrich Drepper <drepper@gmail.com>
8067
c579b202 8068 [BZ #12107]
af325969
UD
8069 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8070 newline.
8071
67a67b95
UD
80722010-10-06 Ulrich Drepper <drepper@gmail.com>
8073
8074 * string/bug-strstr1.c: New file.
8075 * string/Makefile: Add rules to build and run bug-strstr1.
8076
5fb308bc
EB
80772010-10-05 Eric Blake <eblake@redhat.com>
8078
8079 [BZ #12092]
8080 * string/str-two-way.h (two_way_long_needle): Always clear memory
8081 when skipping input due to the shift table.
8082
45db99c7
UD
80832010-10-03 Ulrich Drepper <drepper@gmail.com>
8084
3b111893
UD
8085 [BZ #12005]
8086 * malloc/mcheck.c: Handle large requests.
8087
45db99c7
UD
8088 [BZ #12077]
8089 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8090 for strncmp and strncasecmp.
8091 * string/stratcliff.c: Add tests for strcmp and strncmp.
8092 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8093
cf7a1eb8
NI
80942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8095
8096 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8097 __set_fpscr.
8098
6484ba5e
AJ
80992010-09-30 Andreas Jaeger <aj@suse.de>
8100
8101 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8102 (CGROUP_SUPER_MAGIC): Define.
8103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8104 Handle btrfs and cgroup file systems.
8105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8106 Likewise.
8107
91c42559
LM
81082010-09-27 Luis Machado <luisgpm@br.ibm.com>
8109
8110 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8111 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8112
87a97932
AK
81132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8114
8115 [BZ #12067]
8116 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8117 trying to locate the ELF header.
8118
c21cc9bc
AS
81192010-09-27 Andreas Schwab <schwab@redhat.com>
8120
8121 [BZ #11611]
8122 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8123 Mask out sign-bit copies when constructing f_fsid.
8124
315970f6
PB
81252010-09-24 Petr Baudis <pasky@suse.cz>
8126
8127 * debug/stack_chk_fail_local.c: Add missing licence exception.
8128 * debug/warning-nop.c: Likewise.
8129
1ac7a2c7
JM
81302010-09-15 Joseph Myers <joseph@codesourcery.com>
8131
8132 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8133 implementing getdents64 using getdents syscall, set d_type if
8134 __ASSUME_GETDENTS32_D_TYPE.
8135
56801c50
AS
81362010-09-16 Andreas Schwab <schwab@redhat.com>
8137
8138 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8139 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8140
dda51327
UD
81412010-09-21 Ulrich Drepper <drepper@redhat.com>
8142
8143 [BZ #12037]
8144 * posix/unistd.h: Undo change of feature selection for ftruncate from
8145 2010-01-11.
8146
8ffcee4a
UD
81472010-09-20 Ulrich Drepper <drepper@redhat.com>
8148
a545ecd9 8149 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8150 detection.
8151
e24f0a8b
AS
81522010-09-20 Andreas Schwab <schwab@redhat.com>
8153
8154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8155 fanotify_mark.
8156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8157
7291c56f
AS
81582010-09-14 Andreas Schwab <schwab@redhat.com>
8159
8160 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8161 variables after CHECK_SP call.
8162 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8163
bc5fb037
AS
81642010-09-13 Andreas Schwab <schwab@redhat.com>
8165 Ulrich Drepper <drepper@redhat.com>
8166
8167 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8168 re-relocationg ld.so.
8169 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8170 _dl_init_paths call.
8171 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8172 here anymore.
8173
e66e7419
UD
81742010-09-14 Ulrich Drepper <drepper@redhat.com>
8175
8176 * resolv/res_init.c (__res_vinit): Count the default server we added.
8177
c044aa75
CLT
81782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8179 Ulrich Drepper <drepper@redhat.com>
8180
8181 [BZ #11968]
8182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8183 (____longjmp_chk): Use %ebx for saving value across system call.
8184 Add unwind info.
8185
32cf4069
AS
81862010-09-06 Andreas Schwab <schwab@redhat.com>
8187
8188 * manual/Makefile: Don't mix pattern rules with normal rules.
8189
817328ee
AS
81902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8191
8192 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8193 operation.
8194 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8195 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8196 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8197 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8199 Likewise.
8200
29fddf61
UD
82012010-09-04 Ulrich Drepper <drepper@redhat.com>
8202
8203 [BZ #11979]
8204 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8205 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8206
0959ffc9
UD
82072010-09-02 Ulrich Drepper <drepper@redhat.com>
8208
8209 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8210 * sysdeps/x86_64/addmul_1.S: Likewise.
8211 * sysdeps/x86_64/lshift.S: Likewise.
8212 * sysdeps/x86_64/mul_1.S: Likewise.
8213 * sysdeps/x86_64/rshift.S: Likewise.
8214 * sysdeps/x86_64/sub_n.S: Likewise.
8215 * sysdeps/x86_64/submul_1.S: Likewise.
8216
ece29840
ST
82172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8218
0959ffc9
UD
8219 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8220 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8221 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8222 * bits/sched.h [__need_schedparam]
ece29840 8223 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8224 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8225 (__defined_schedparam): Define to 1.
ece29840
ST
8226 (__sched_param): New structure, identical to sched_param.
8227 (__need_schedparam): Undefine.
8228
e53a31fe
MF
82292010-08-31 Mike Frysinger <vapier@gentoo.org>
8230
fdc0c10d
MF
8231 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8232 (epoll_create1): Declare.
8233
e53a31fe
MF
8234 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8235
a726d796
AS
82362010-08-31 Andreas Schwab <schwab@redhat.com>
8237
8238 [BZ #7066]
8239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8240 shifting retval into place.
8241
2f3e3dc7
UD
82422010-09-01 Ulrich Drepper <drepper@redhat.com>
8243
f2933da9
UD
8244 * nis/rpcsvc/nis.h: Update copyright notice.
8245 * nis/rpcsvc/nis.x: Likewise.
8246 * nis/rpcsvc/nis_callback.h: Likewise.
8247 * nis/rpcsvc/nis_callback.x: Likewise.
8248 * nis/rpcsvc/nis_object.x: Likewise.
8249 * nis/rpcsvc/nis_tags.h: Likewise.
8250 * nis/rpcsvc/yp.h: Likewise.
8251 * nis/rpcsvc/yp.x: Likewise.
8252 * nis/rpcsvc/ypupd.h: Likewise.
8253 * nis/yp_xdr.c: Likewise.
8254 * nis/ypupdate_xdr.c: Likewise.
8255
2f3e3dc7
UD
8256 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8257 mainly the body of pmap_getport. Add parameters to specify timeouts.
8258 (pmap_getport): Use __libc_rpc_getport.
8259 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8260 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8261 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8262
f3dcc2f9
AS
82632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8264
8265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8266 fanotify_mark.
8267
6d34eb5b
RM
82682010-08-27 Roland McGrath <roland@redhat.com>
8269
8270 * sysdeps/i386/i686/multiarch/Makefile
8271 (CFLAGS-varshift.c): New variable.
8272
9ea3de11
UD
82732010-08-27 Ulrich Drepper <drepper@redhat.com>
8274
c96d23fc
UD
8275 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8276 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8277
9ea3de11
UD
8278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8279
8280 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8281
623aac7f
L
82822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8283
8284 * sysdeps/x86_64/strlen.S: Unroll the loop.
8285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8286 strlen-sse2 strlen-sse2-bsf.
8287 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8288 __strlen_no_bsf if bit_Slow_BSF is set.
8289 (__strlen_sse42): Removed.
8290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8291 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8292
8b2b7715
RM
82932010-08-25 Roland McGrath <roland@redhat.com>
8294
8295 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8296 * sysdeps/x86_64/multiarch/varshift.c: New file.
8297 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8298 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8299 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8300 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8301
e73015f2
L
83022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8303
8304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8305 strlen-sse2 strlen-sse2-bsf.
8306 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8307 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8308 (__strlen_sse2): Removed.
8309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8312 bit_Slow_BSF for Atom.
8313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8314 (index_Slow_BSF): Define.
8315 (HAS_SLOW_BSF): Define.
8316
df24a73e
UD
83172010-08-25 Ulrich Drepper <drepper@redhat.com>
8318
8319 [BZ #10851]
8320 * resolv/res_init.c (__res_vinit): When no server address at all
8321 is given default to loopback.
8322
f2ac4868
RM
83232010-08-24 Roland McGrath <roland@redhat.com>
8324
09055553
RM
8325 * configure.in: Remove config-name.h generation.
8326 * configure: Regenerated.
8327 * config-name.in: File removed.
8328 * scripts/config-uname.sh: New file.
8329 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8330 ($(objdir)config-name.h): New target.
8331
f2ac4868
RM
8332 * sunrpc/rpc_parse.h: Avoid nested comment.
8333
73f27d5e
RH
83342010-08-24 Richard Henderson <rth@redhat.com>
8335 Ulrich Drepper <drepper@redhat.com>
8336 H.J. Lu <hongjiu.lu@intel.com>
8337
8338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8340 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8341 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8342 _mm_alignr_epi8 with _mm_loadu_si128.
8343 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8344 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8345 (__m128i_shift_right): Removed.
8346 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8347 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8348 * sysdeps/x86_64/multiarch/varshift.h: New file.
8349 * sysdeps/x86_64/multiarch/varshift.S: New file.
8350
84b9230c
MF
83512010-08-21 Mike Frysinger <vapier@gentoo.org>
8352
8353 * configure.in: Move assembler checks to before sysdep dir checking.
8354
9bbd0ddc
PB
83552010-08-20 Petr Baudis <pasky@suse.cz>
8356
8357 * LICENSES: Sync the sunrpc license.
8358
9da4bb31
UD
83592010-08-19 Ulrich Drepper <drepper@redhat.com>
8360
a7ab6ec8
UD
8361 * sunrpc/auth_des.c: Update copyright notice once again.
8362 * sunrpc/auth_none.c: Likewise.
8363 * sunrpc/auth_unix.c: Likewise.
8364 * sunrpc/authdes_prot.c: Likewise.
8365 * sunrpc/authuxprot.c: Likewise.
8366 * sunrpc/bindrsvprt.c: Likewise.
8367 * sunrpc/clnt_gen.c: Likewise.
8368 * sunrpc/clnt_perr.c: Likewise.
8369 * sunrpc/clnt_raw.c: Likewise.
8370 * sunrpc/clnt_simp.c: Likewise.
8371 * sunrpc/clnt_tcp.c: Likewise.
8372 * sunrpc/clnt_udp.c: Likewise.
8373 * sunrpc/clnt_unix.c: Likewise.
8374 * sunrpc/des_crypt.c: Likewise.
8375 * sunrpc/des_soft.c: Likewise.
8376 * sunrpc/get_myaddr.c: Likewise.
8377 * sunrpc/getrpcport.c: Likewise.
8378 * sunrpc/key_call.c: Likewise.
8379 * sunrpc/key_prot.c: Likewise.
8380 * sunrpc/openchild.c: Likewise.
8381 * sunrpc/pm_getmaps.c: Likewise.
8382 * sunrpc/pm_getport.c: Likewise.
8383 * sunrpc/pmap_clnt.c: Likewise.
8384 * sunrpc/pmap_prot.c: Likewise.
8385 * sunrpc/pmap_prot2.c: Likewise.
8386 * sunrpc/pmap_rmt.c: Likewise.
8387 * sunrpc/rpc/auth.h: Likewise.
8388 * sunrpc/rpc/auth_unix.h: Likewise.
8389 * sunrpc/rpc/clnt.h: Likewise.
8390 * sunrpc/rpc/des_crypt.h: Likewise.
8391 * sunrpc/rpc/key_prot.h: Likewise.
8392 * sunrpc/rpc/netdb.h: Likewise.
8393 * sunrpc/rpc/pmap_clnt.h: Likewise.
8394 * sunrpc/rpc/pmap_prot.h: Likewise.
8395 * sunrpc/rpc/pmap_rmt.h: Likewise.
8396 * sunrpc/rpc/rpc.h: Likewise.
8397 * sunrpc/rpc/rpc_des.h: Likewise.
8398 * sunrpc/rpc/rpc_msg.h: Likewise.
8399 * sunrpc/rpc/svc.h: Likewise.
8400 * sunrpc/rpc/svc_auth.h: Likewise.
8401 * sunrpc/rpc/types.h: Likewise.
8402 * sunrpc/rpc/xdr.h: Likewise.
8403 * sunrpc/rpc_clntout.c: Likewise.
8404 * sunrpc/rpc_cmsg.c: Likewise.
8405 * sunrpc/rpc_common.c: Likewise.
8406 * sunrpc/rpc_cout.c: Likewise.
8407 * sunrpc/rpc_dtable.c: Likewise.
8408 * sunrpc/rpc_hout.c: Likewise.
8409 * sunrpc/rpc_main.c: Likewise.
8410 * sunrpc/rpc_parse.c: Likewise.
8411 * sunrpc/rpc_parse.h: Likewise.
8412 * sunrpc/rpc_prot.c: Likewise.
8413 * sunrpc/rpc_sample.c: Likewise.
8414 * sunrpc/rpc_scan.c: Likewise.
8415 * sunrpc/rpc_scan.h: Likewise.
8416 * sunrpc/rpc_svcout.c: Likewise.
8417 * sunrpc/rpc_tblout.c: Likewise.
8418 * sunrpc/rpc_util.c: Likewise.
8419 * sunrpc/rpc_util.h: Likewise.
8420 * sunrpc/rpcinfo.c: Likewise.
8421 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8422 * sunrpc/rpcsvc/key_prot.x: Likewise.
8423 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8424 * sunrpc/rpcsvc/mount.x: Likewise.
8425 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8426 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8427 * sunrpc/rpcsvc/rex.x: Likewise.
8428 * sunrpc/rpcsvc/rstat.x: Likewise.
8429 * sunrpc/rpcsvc/rusers.x: Likewise.
8430 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8431 * sunrpc/rpcsvc/spray.x: Likewise.
8432 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8433 * sunrpc/rtime.c: Likewise.
8434 * sunrpc/svc.c: Likewise.
8435 * sunrpc/svc_auth.c: Likewise.
8436 * sunrpc/svc_authux.c: Likewise.
8437 * sunrpc/svc_raw.c: Likewise.
8438 * sunrpc/svc_run.c: Likewise.
8439 * sunrpc/svc_simple.c: Likewise.
8440 * sunrpc/svc_tcp.c: Likewise.
8441 * sunrpc/svc_udp.c: Likewise.
8442 * sunrpc/svc_unix.c: Likewise.
8443 * sunrpc/svcauth_des.c: Likewise.
8444 * sunrpc/xcrypt.c: Likewise.
8445 * sunrpc/xdr.c: Likewise.
8446 * sunrpc/xdr_array.c: Likewise.
8447 * sunrpc/xdr_float.c: Likewise.
8448 * sunrpc/xdr_mem.c: Likewise.
8449 * sunrpc/xdr_rec.c: Likewise.
8450 * sunrpc/xdr_ref.c: Likewise.
8451 * sunrpc/xdr_sizeof.c: Likewise.
8452 * sunrpc/xdr_stdio.c: Likewise.
8453
9da4bb31
UD
8454 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8455 handling.
8456
bdaa77bc
AS
84572010-08-19 Andreas Schwab <schwab@redhat.com>
8458
8459 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8460
fe2f79db
LM
84612010-08-19 Luis Machado <luisgpm@br.ibm.com>
8462
8463 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8465 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8466 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8467 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8468 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8469 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8470 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8473 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8475 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8476 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8477
b9b42ee0
AB
84782010-07-26 Anton Blanchard <anton@samba.org>
8479
8480 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8481 * malloc/arena.c (heap_trim): Likewise.
8482
1c06ba31
UD
84832010-08-16 Ulrich Drepper <drepper@redhat.com>
8484
8485 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8486 here. Not...
8487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8488 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8489
f8392f40
L
84902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8491
8492 * sysdeps/i386/elf/Makefile: New file.
8493
3162f12e
AS
84942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8495
8496 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8497 from fanotify_init.
8498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8500
28c90b2c
UD
85012010-08-15 Ulrich Drepper <drepper@redhat.com>
8502
8503 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8504 of strncasecmp_l.
1feccb6c 8505 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8506
ca6bb004
UD
85072010-08-14 Ulrich Drepper <drepper@redhat.com>
8508
e9f82e0d
UD
8509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8510 strncase_l-nonascii.
8511 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8512 Add strncase_l-ssse3.
8513 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8514 * sysdeps/x86_64/strcmp.S: Likewise.
8515 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8516 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8517 * sysdeps/x86_64/strncase.S: New file.
8518 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8519 * sysdeps/x86_64/strncase_l.S: New file.
8520 * string/Makefile (strop-tests): Add strncasecmp.
8521 * string/test-strncasecmp.c: New file.
8522
8523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8524 warning.
8525
ca6bb004
UD
8526 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8527 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8528
052fa7b3
AS
85292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8530
8531 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8532
962dba78
UD
85332010-08-12 Ulrich Drepper <drepper@redhat.com>
8534
8535 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8536 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8538
bebff237
AM
85392010-05-01 Alan Modra <amodra@gmail.com>
8540
8541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8542 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8543 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8544 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8545 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8546 tidying. Don't tail-call __sigjmp_save for static lib.
8547 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8548 save location.
8549 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8550 (CALL_MCOUNT): Add eh info, and nop after bl.
8551 (TAIL_CALL_SYSCALL_ERROR): New macro.
8552 (PSEUDO_RET): Use it.
8553 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8554 Correct save location of integer regs and cr.
8555 (_dl_profile_resolve): Correct cr save location. Delete nops
8556 after bl when SHARED. Reduce cfi size a little by better
8557 placement of cfi directives.
8558 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8559 make a stack frame. Instead use parm save area as a temp.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8561 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8563 Don't make a stack frame for parent, use parm save area.
8564 Increase child stack frame to 112 bytes. Don't save unused reg,
8565 and adjust reg usage. Set up cfi on error recovery and
8566 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8568 (__makecontext): Add dummy nop after jump to exit.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8570 Use correct parm save area and cr save, reduce stack frame.
8571 Correct cfi for possible PSEUDO_RET frame setup.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8573 Branch to local label emitted by PSEUDO_RET rather than
8574 __syscall_error.
8575
02637374
AS
85762010-08-12 Andreas Schwab <schwab@redhat.com>
8577
8578 [BZ #11904]
8579 * locale/programs/locale.c (print_assignment): New function.
8580 (show_locale_vars): Use it.
8581
c3e2f19b
UD
85822010-08-11 Ulrich Drepper <drepper@redhat.com>
8583
3cdaa6ad
UD
8584 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8585 field.
8586 (struct statfs64): Likewise.
8587 (_STATFS_F_FLAGS): Define.
8588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8590 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8591 (ST_VALID): Define locally.
8592 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8593 __statvfs_getflags, use the provided value.
8594 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8595 __ASSUME_STATFS_F_FLAGS.
8596
754f7da3
UD
8597 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8598
10b3bedc
UD
8599 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8600 Add sys/fanotify.h.
8601 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8602 fanotify_mask for GLIBC_2.13.
8603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8604 fanotify_init and fanotify_mark.
8605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8606 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8607
c08fb0d7
UD
8608 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8609 Add prlimit.
8610 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8611 prlimit64 for GLIBC_2.13.
8612 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8613 prlimit64.
8614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8615 syscall.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8618 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8619 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8621 add prlimit alias.
8622 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8623
15bac72b
UD
8624 [BZ #11903]
8625 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8626 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8627
c3e2f19b
UD
8628 * nss/Makefile: Add rules to build and run tst-nss-test1.
8629 * shlib-versions: Add entry for libnss_test1.
8630 * nss/nss_test1.c: New file.
8631 * nss/tst-nss-test1.c: New file.
8632
8633 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8634 (__nss_configure_lookup): Set appropriate entry in
8635 __nss_configure_lookup to true.
8636 * nss/nsswitch.h: Define enum with indeces of databases in
8637 databases and __nss_database_custom arrays. Declare
8638 __nss_database_custom.
8639 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8640 to avoid using nscd when custom rules are installed.
8641 * nss/getXXbyYY_r.c: Likewise.
8642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8643
8644 * nss/nss_files/files-parse.c: Whitespace fixes.
8645
f15ce4d8
UD
86462010-08-09 Ulrich Drepper <drepper@redhat.com>
8647
8648 [BZ #11883]
8649 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8650 * posix/fnmatch_loop.c: Likewise.
8651
d22e4cc9
AK
86522010-07-17 Andi Kleen <ak@linux.intel.com>
8653
8654 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8655 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8656 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8657 * Versions.def [GLIBC_2.13]: Add.
8658
805bc17d
UD
86592010-08-06 Ulrich Drepper <drepper@redhat.com>
8660
8661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8662 Also fail if tpwd after pwuid call is NULL.
8663
5a42321d
ST
86642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8665
8666 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8667 when converting to ms.
8668
fd3ebeda
ST
86692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8670
8671 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8672 EOPNOTSUPP errors with ENOTTY.
8673 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8674 EOPNOTSUPP errors with ENOTTY.
8675
73507d3a
UD
86762010-07-31 Ulrich Drepper <drepper@redhat.com>
8677
8678 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8679 Add strcasecmp_l-ssse3.
8680 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8681 strcasecmp.
8682 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8683 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8684 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8685
fe36dd02
UD
86862010-07-30 Ulrich Drepper <drepper@redhat.com>
8687
66f6765a
UD
8688 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8689
42e08a54
UD
8690 * string/Makefile (strop-tests): Add strcasecmp.
8691 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8692 strcasecmp_l-nonascii.
8693 (gen-as-const-headers): Add locale-defines.sym.
8694 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8695 * sysdeps/x86_64/strcasecmp.S: New file.
8696 * sysdeps/x86_64/strcasecmp_l.S: New file.
8697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8698 * sysdeps/x86_64/locale-defines.sym: New file.
8699 * string/test-strcasecmp.c: New file.
8700
fe36dd02
UD
8701 * string/test-strcasestr.c: Test both ends of the range of characters.
8702 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8703
48cbc0d6
RM
87042010-07-29 Roland McGrath <roland@redhat.com>
8705
76e6d6bc 8706 [BZ #11856]
48cbc0d6
RM
8707 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8708
880113d9
UD
87092010-07-27 Ulrich Drepper <drepper@redhat.com>
8710
8711 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8712 for ld.so.
8713
deb9cabb
AS
87142010-07-27 Andreas Schwab <schwab@redhat.com>
8715
8716 * manual/memory.texi (Malloc Tunable Parameters): Document
8717 M_PERTURB.
8718
1c7570ff
RM
87192010-07-26 Roland McGrath <roland@redhat.com>
8720
8721 [BZ #11840]
8722 * configure.in (-fgnu89-inline check): Set and substitute
8723 gnu89_inline, not libc_cv_gnu89_inline.
8724 * configure: Regenerated.
8725 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8726
24fb0f88
UD
87272010-07-26 Ulrich Drepper <drepper@redhat.com>
8728
8729 * string/test-strnlen.c: New file.
8730 * string/Makefile (strop-tests): Add strnlen.
8731 * string/tester.c (test_strnlen): Add a few more test cases.
8732 * string/tst-strlen.c: Better error reporting.
8733
8734 * sysdeps/x86_64/strnlen.S: New file.
8735
8e96b93a
UD
87362010-07-24 Ulrich Drepper <drepper@redhat.com>
8737
8738 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8739 lower-latency instructions.
8740
dbc676d4
UD
87412010-07-23 Ulrich Drepper <drepper@redhat.com>
8742
8743 * string/test-strcasestr.c: New file.
8744 * string/test-strstr.c: New file.
8745 * string/Makefile (strop-tests): Add strstr and strcasestr.
8746 * string/str-two-way.h: Don't undefine MAX.
8747 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8748
f6a31e0e
AS
87492010-07-21 Andreas Schwab <schwab@redhat.com>
8750
8751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8752 strcasestr-nonascii.
8753 (CFLAGS-strcasestr-nonascii.c): Define.
8754 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8755 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8756 Remove unused attribute.
8757
5dbc3b6c
RM
87582010-07-20 Roland McGrath <roland@redhat.com>
8759
8760 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8761 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8762 ld.so.cache was broken. With it, there is no way to disable dsocaps
8763 like LD_HWCAP_MASK can disable hwcaps.
8764
23d101d8
EPM
87652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8766
8767 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8768
cc9f2e47
UD
87692010-07-16 Ulrich Drepper <drepper@redhat.com>
8770
8771 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8772 call in strcasestr.
8773 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8774 __strcasestr_sse42_nonascii.
8775 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8776 strcasestr-nonascii.c.
8777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8778
77c1b069
LM
87792010-06-15 Luis Machado <luisgpm@br.ibm.com>
8780
8781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8785
440566c3
UD
87862010-07-09 Ulrich Drepper <drepper@redhat.com>
8787
8788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8789 fcntl.
8790
5be9d05d
AS
87912010-07-06 Andreas Schwab <schwab@redhat.com>
8792
c30b7ee2 8793 [BZ #11577]
5be9d05d
AS
8794 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8795 dl_signal_cerror.
8796
8a492a67
UD
87972010-07-06 Ulrich Drepper <drepper@redhat.com>
8798
8799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8800 _PC_PIPE_BUF using F_GETPIPE_SZ.
8801
713df3d5
RM
88022010-07-05 Roland McGrath <roland@redhat.com>
8803
8804 * manual/arith.texi (Rounding Functions): Fix rint description
8805 implicit in round description.
8806
702e8f14
UD
88072010-07-02 Ulrich Drepper <drepper@redhat.com>
8808
8809 * elf/Makefile: Fix linking for a few tests to make recent linker
8810 happy.
8811
52ed8be9
AS
88122010-06-30 Andreas Schwab <schwab@redhat.com>
8813
8814 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8815 $(common-objpfx)libc_nonshared.a.
8816
f47c9a11
LM
88172010-06-21 Luis Machado <luisgpm@br.ibm.com>
8818
8819 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8820 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8821 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8822 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8823 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8824 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8825 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8826 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8841 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8842 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8843 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8844 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8845 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8846 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8847 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8848 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8849 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8850 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8851 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8852 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8867
6fb8cbcb
L
88682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8869
8870 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8871 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8872 * string/memmove.c (memmove): Renamed to ...
8873 (MEMMOVE): ...this. Default to memmove.
8874 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8875 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8876 (END_CHK): Define.
8877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8878 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8879 mempcpy-ssse3-back memmove-ssse3-back.
8880 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8883 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8884 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8885 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8886 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8887 * sysdeps/x86_64/multiarch/memmove.c: New file.
8888 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8889 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8890 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8891 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8892 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8894 Define.
8895 (index_Fast_Copy_Backward): Define.
8896 (HAS_ARCH_FEATURE): Define.
8897 (HAS_FAST_REP_STRING): Define.
8898 (HAS_FAST_COPY_BACKWARD): Define.
8899
4e733bac 89002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
8901
8902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8903 Restore proper fallback handling.
8904
63c4ed22
UD
89052010-06-19 Ulrich Drepper <drepper@redhat.com>
8906
ac2b484c
UD
8907 [BZ #11701]
8908 * posix/group_member.c (__group_member): Correct checking loop.
8909
63c4ed22
UD
8910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8911 OOM in getpwuid_r correctly. Return error number when the caller
8912 should return, otherwise -1.
8913 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8914 call returning > 0 value.
8915 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8916
765ade4b
AS
89172010-06-07 Andreas Schwab <schwab@redhat.com>
8918
8919 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8920 libc_nonshared.a from targets in modules-names.
8921
80da2e09
KS
89222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8923
8924 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8925 requires it.
8926
158db122
LM
89272010-06-10 Luis Machado <luisgpm@br.ibm.com>
8928
8929 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8933
caa78cf8
AS
89342010-06-02 Andreas Schwab <schwab@redhat.com>
8935
8936 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8937
b2ef2c01
UD
89382010-06-14 Ulrich Drepper <drepper@redhat.com>
8939
8940 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8941 and F_GETPIPE_SZ.
8942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8948
fbd643b6
RM
89492010-06-14 Roland McGrath <roland@redhat.com>
8950
8951 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8952
f32f2869
JJ
89532010-06-07 Jakub Jelinek <jakub@redhat.com>
8954
8955 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8956 __REDIRECT followed by __THROW.
8957 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8958 * posix/getopt.h (getopt): Likewise.
8959
2a50c078
EPM
89602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8961
8962 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8963 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8964 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8965 in AT_FLAGS.
8966 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8967 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8968
eb5ad2eb
LM
89692010-05-28 Luis Machado <luisgpm@br.ibm.com>
8970
8971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8972
3c88fe1e
L
89732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8974
8975 [BZ #11640]
8976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8977 Properly check family and model.
8978
d2f73151
TY
89792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8980
8981 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8982
ebd2e13d
LM
89832010-05-24 Luis Machado <luisgpm@br.ibm.com>
8984
8985 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8986
b32b8b45
UD
89872010-05-21 Ulrich Drepper <drepper@redhat.com>
8988
8989 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8990 symbol reference.
8991
9acbe24d
AS
89922010-05-19 Andreas Schwab <schwab@redhat.com>
8993
8994 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8995 symbol reference.
8996
f0ccf6ea
AS
89972010-05-21 Andreas Schwab <schwab@redhat.com>
8998
3d04ff3a
AS
8999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9000 and internal_recvmmsg.
9001 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9002 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9003 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9004 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9005
f0ccf6ea
AS
9006 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9007 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9008 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9009
5b08ac57
AS
90102010-05-20 Andreas Schwab <schwab@redhat.com>
9011
9012 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9013
4828935d
LM
90142010-05-17 Luis Machado <luisgpm@br.ibm.com>
9015
9016 POWER7 optimizations.
9017 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9018 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9019
373d545e
UD
90202010-05-19 Ulrich Drepper <drepper@redhat.com>
9021
9022 * version.h: Update for 2.13 development version.
9023
21a2b1ae
AS
90242010-05-12 Andrew Stubbs <ams@codesourcery.com>
9025
9026 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9027 exceptions. Return 0.
9028
3f7dcb2b
RM
90292010-05-07 Roland McGrath <roland@redhat.com>
9030
9031 * elf/ldconfig.c (main): Add a const.
9032
5f24d53a 90332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9034
a160f8d8
UD
9035 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9036 (args_options): Add no-idn option.
9037 (ahosts_keys_int): Add idn_flags to ai_flags.
9038 (parse_option): Handle 'i' option to clear idn_flags.
9039
5f24d53a
UD
9040 * malloc/malloc.c (_int_free): Possible race in the most recently
9041 added check. Only act on the data if no current modification
9042 happened.
265bb1ce
UD
9043
9044See ChangeLog.17 for earlier changes.
This page took 1.083673 seconds and 5 git commands to generate.