]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ #13792: Add missing file from last commit.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
01ae168d
RM
12012-03-02 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #13792]
4 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5 function to ...
6 * manual/timeval_subtract.c.texi: ... here, new file.
7
49efa33d
DM
82012-03-02 David S. Miller <davem@davemloft.net>
9
10 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11
28afd92d
JM
122012-03-02 Joseph Myers <joseph@codesourcery.com>
13
804360ed
JM
14 [BZ #3976]
15 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16 (__sin): Save and restore rounding mode and use round-to-nearest
17 for all computations.
18 (__cos): Save and restore rounding mode and use round-to-nearest
19 for all computations.
20 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21 <fenv.h>.
22 (tan): Save and restore rounding mode and use round-to-nearest for
23 all computations.
24 * math/libm-test.inc (cos_test_tonearest): New function.
25 (cos_test_towardzero): Likewise.
26 (cos_test_downward): Likewise.
27 (cos_test_upward): Likewise.
28 (sin_test_tonearest): Likewise.
29 (sin_test_towardzero): Likewise.
30 (sin_test_downward): Likewise.
31 (sin_test_upward): Likewise.
32 (tan_test_tonearest): Likewise.
33 (tan_test_towardzero): Likewise.
34 (tan_test_downward): Likewise.
35 (tan_test_upward): Likewise.
36 (main): Call the new functions.
37 * sysdeps/i386/fpu/libm-test-ulps: Update.
38 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39
a6d06d7b
JM
40 [BZ #10135]
41 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42 small n, then large n, before computing and testing k+n.
43 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45 Likewise.
46 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47 Likewise.
48 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56 * math/libm-test.inc (scalbn_test): Add more tests.
57 (scalbln_test): Likewise.
58
07e12bb3
JM
59 * manual/filesys.texi (mode_t): Describe constraints on size and
60 signedness, not exact equivalence to a particular type.
61 (ino_t): Likewise.
62 (ino64_t): Likewise.
63 (dev_t): Likewise.
64 (nlink_t): Likewise.
65 (blkcnt_t): Likewise.
66 (blkcnt64_t): Likewise.
67 * manual/llio.texi (off_t): Likewise.
68
28afd92d
JM
69 [BZ #3976]
70 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71 (__ieee754_exp): Save and restore rounding mode and use
72 round-to-nearest for all computations.
73 * math/libm-test.inc (exp_test_tonearest): New function.
74 (exp_test_towardzero): Likewise.
75 (exp_test_downward): Likewise.
76 (exp_test_upward): Likewise.
77 (main): Call the new functions.
78 * sysdeps/i386/fpu/libm-test-ulps: Update.
79 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80
b1eeb65d
CD
812012-03-01 Chris Demetriou <cgd@google.com>
82
83 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84 have predictable order.
85
53362a4b
DM
862012-03-01 David S. Miller <davem@davemloft.net>
87
3c969083
DM
88 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
89
759707de
DM
90 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
91 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
92 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
93 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
94
dfdb8ff2
DM
95 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
96 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
97 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
98 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
99 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
100 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
101 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
102 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
103 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
104
ead89f96
DM
105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
106
7f66bd07
DM
107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
108 * sysdeps/sparc/fpu/libm-test-ulps: to here.
109 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
110
53362a4b
DM
111 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
112 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
113 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
114 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
115 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
116 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
118 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
119 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
120 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
121 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
122 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
124 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
125 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
127 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
128 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
129 * sysdeps/sparc/elf/configure: Regenerated.
130
7b1902cb
JM
1312012-03-01 Joseph Myers <joseph@codesourcery.com>
132
bec039bc
JM
133 * configure.in (AS, LD): Require binutils 2.20 or later.
134 * configure: Regenerated.
135 * manual/install.texi (Tools for Compilation): Give binutils 2.20
136 as required minimum version.
137 * INSTALL: Regenerated.
138
7b1902cb
JM
139 [BZ #2541]
140 [BZ #4108]
141 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
142 before squaring exponent.
143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
144 bottom long double and 27 bits of top long double before squaring
145 exponent.
146 * math/libm-test.inc (erfc_test): Add more tests.
147 * sysdeps/i386/fpu/libm-test-ulps: Update.
148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
150
f775c276
KT
1512012-03-01 Kai Tietz <ktietz@redhat.com>
152
153 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
154 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
155 containing bit-fields.
156 * soft-fp/extended.h (_FP_UNION_E): Likewise.
157 * soft-fp/single.h (_FP_UNION_S): Likewise.
158 * soft-fp/double.h (_FP_UNION_D): Likewise.
159
5b8a4d4a
JM
1602012-02-29 Joseph Myers <joseph@codesourcery.com>
161
0bab47b6
JM
162 [BZ #13786]
163 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
164 not include ../strcmp.S.
165 [USE_AS_STRNCASECMP_L]: Likewise.
166 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
167 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
168 * sysdeps/i386/i686/multiarch/strncase_l-c.c
169 (__strncasecmp_l_ia32): Define as alias to
170 __strncasecmp_l_nonascii.
171
0fcad3e2
JM
172 [BZ #5794]
173 * math/libm-test.inc (expm1_test): Add test for bug 5794.
174 * sysdeps/i386/fpu/libm-test-ulps: Update.
175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
176
5b8a4d4a
JM
177 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
179
8fdceb2e
JL
1802012-02-29 Jeff Law <law@redhat.com>
181
182 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
183 out of bounds read.
184
1f393a11
MP
1852012-02-29 Marek Polacek <polacek@redhat.com>
186
187 [BZ #13706]
188 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
189 * elf/Makefile: Add rules to run tst-unused-dep.out.
190
8847f037
DM
1912012-02-28 David S. Miller <davem@davemloft.net>
192
193 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
194 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
197 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
198 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
199
169d7f11
JM
2002012-02-29 Joseph Myers <joseph@codesourcery.com>
201
202 * math/libm-test.inc (llround_test): Move one test from
203 lround_test. Use TEST_f_L in moved test.
204 (lround_test): Move misplaced test to llround_test. Add testcase
205 from bug 2561.
206
39adf059
UD
2072012-02-28 Ulrich Drepper <drepper@gmail.com>
208
209 * sysdeps/x86_64/fpu/e_expf.S: New file.
210 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
211
71b5d1c5
SB
2122012-02-28 Stanislav Brabec <sbrabec@suse.cz>
213
214 [BZ #13637]
215 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
216 of remain_len that may cause incomplete multi-byte character and
217 false match.
218 * posix/bug-regex33.c: New file.
219 * posix/Makefile (tests): Add bug-regex33.
220
1f77f049
JM
2212012-02-28 Joseph Myers <joseph@codesourcery.com>
222
223 * manual/macros.texi: New file.
224 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
225 * manual/libc.texinfo: Include macros.texi.
226 * manual/creatute.texi: Likewise.
227 * manual/install.texi: Likewise.
228 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
229 @glibcadj{} in references to the GNU C Library.
230 * manual/charset.texi: Likewise.
231 * manual/conf.texi: Likewise.
232 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
233 when not using those macros.
234 * manual/creature.texi: Likewise.
235 * manual/crypt.texi: Likewise.
236 * manual/errno.texi: Likewise.
237 * manual/filesys.texi: Likewise.
238 * manual/header.texi: Likewise.
239 * manual/install.texi: Likewise.
240 * manual/intro.texi: Likewise.
241 * manual/io.texi: Likewise.
242 * manual/job.texi: Likewise.
243 * manual/lang.texi: Likewise.
244 * manual/libc.texiinfo: Likewise.
245 * manual/llio.texi: Likewise.
246 * manual/locale.texi: Likewise.
247 * manual/maint.texi: Likewise.
248 * manual/math.texi: Likewise.
249 * manual/memory.texi: Likewise.
250 * manual/message.texi: Likewise.
251 * manual/nss.texi: Likewise.
252 * manual/pattern.texi: Likewise.
253 * manual/process.texi: Likewise.
254 * manual/resource.texi: Likewise.
255 * manual/search.texi: Likewise.
256 * manual/setjmp.texi: Likewise.
257 * manual/signal.texi: Likewise.
258 * manual/socket.texi: Likewise.
259 * manual/startup.texi: Likewise.
260 * manual/stdio.texi: Likewise.
261 * manual/string.texi: Likewise.
262 * manual/sysinfo.texi: Likewise.
263 * manual/syslog.texi: Likewise.
264 * manual/terminal.texi: Likewise.
265 * manual/time.texi: Likewise.
266 * manual/users.texi: Likewise.
267 * INSTALL: Regenerated.
268 * NOTES: Regenerated.
d40c5d54 269 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 270
450bf206
AS
2712012-02-28 Andreas Schwab <schwab@linux-m68k.org>
272
273 * include/dirent.h: Include <dirstream.h> before
274 <dirent/dirent.h>.
275
741a235b
DM
2762012-02-28 David S. Miller <davem@davemloft.net>
277
278 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
279 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
280 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
281 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
282
d6b5aa58
DM
2832012-02-27 David S. Miller <davem@davemloft.net>
284
1aff59a3
DM
285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
287 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
288 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
289
d6b5aa58
DM
290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
291 frame pointer instead of stack pointer relative arg slot.
292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
293 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
294 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
295
433f48bf
CD
2962012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
297
298 [BZ #3992]
299 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
300
d674b76d
DM
3012012-02-27 David S. Miller <davem@davemloft.net>
302
303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
307 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
308 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
309 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
310 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
311
0e7727f7
JM
3122012-02-27 Joseph Myers <joseph@codesourcery.com>
313
314 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
315 later. Allow versions 5-9.
43be4ca2 316 * configure: Regenerated.
0e7727f7
JM
317 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
318 required minimum version and 4.6 as recommended version. Do not
319 mention bugs in GCC 2.7 and 2.8.
43be4ca2 320 * INSTALL: Regenerated.
0e7727f7 321
a78bc654
DM
3222012-02-27 David S. Miller <davem@davemloft.net>
323
428d5830
DM
324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
328 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
329 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
330 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
331 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
332
a78bc654
DM
333 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
334 manipulate bits before adding and subtracting TWO112[sx].
335 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
336
4579f81c
RM
3372012-02-27 Roland McGrath <roland@hack.frob.com>
338
36c8acb4
RM
339 [BZ #13775]
340 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
341 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
342 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
343 being in POSIX, because they are in 1003.1-2008.
344
84ad622b
RM
345 * rt/tst-aio.c: Include <fcntl.h>.
346 * rt/tst-aio7.c: Likewise.
347 * rt/tst-aio64.c: Likewise.
348
4579f81c
RM
349 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
350
abd923db
JM
3512012-02-27 Joseph Myers <joseph@codesourcery.com>
352
353 * manual/install.texi (--with-headers): Describe headers as
354 interface headers, not private headers.
355 (Specific advice for GNU/Linux systems): Describe use of headers
356 from "make headers_install", not private headers from older
357 kernels.
43be4ca2 358 * INSTALL: Regenerated.
abd923db
JM
359 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
360 Change to 2.6.19.
361 * sysdeps/unix/sysv/linux/configure: Regenerated.
362
6664049b
JM
363 * manual/llio.texi (fclean): Remove documentation.
364
bb8b6697
JM
365 * manual/Makefile (libc-texi-generated): New variable. Include
366 version.texi.
367 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
368 $(libc-texi-generated), not duplicated list of files.
369 (version.texi, stamp-version): New rules.
370 (realclean): Remove $(libc-texi-generated), not individual files
371 from that list. Do not remove dir-add.texinfo.
372 * manual/libc.texinfo: Comment out uses of edition numbers and
373 references to printed manual. Remove last-updated dates.
374 (EDITION): Comment out.
375 (ISBN): Likewise.
376 (VERSION, UPDATED): Remove.
377 (version.texi): Include.
378
12e5c3b9
AS
3792012-02-27 Andreas Schwab <schwab@linux-m68k.org>
380
381 * sysdeps/posix/spawni.c: Include <signal.h>.
382 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
383 * sysdeps/pthread/aio_fsync.c: Likewise.
384
4efeffc1 3852012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 386
ba63ba08
UD
387 * conform/Makefile (tests): Run only when not cross-compiling and
388 when fast-check is not defined.
389
d94a4670
UD
390 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
391 * conform/data/limits.h-data: Fixes for POSIX2008.
392 * conform/run-conformtest.sh: Run all tests.
393 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
394 headers.
395 * include/bits/dlfcn.h: Likewise.
396 * include/langinfo.h: Likewise.
397 * include/monetary.h: Likewise.
398 * include/sys/poll.h: Likewise.
399
400 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
401 for __USE_GNU.
402 * posix/spawn.h: Define __need_sigset_t.
403 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
404 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
405 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
406 to get sigevent_t only.
407 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
408 only for __USE_GNU.
409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
410 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
411 process_vm_writev only for __USE_GNU.
412 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
413
414 * conform/Makefile: For now ignore errors from run-conformtest.
415 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
416 POSIX to avoid namespace pollution. Don't prepend headers.
417 * conform/data/aio.h-data: Fixes for POSIX testing.
418 * conform/data/fcntl.h-data: Likewise.
419 * conform/data/glob.h-data: Likewise.
420 * conform/data/grp.h-data: Likewise.
421 * conform/data/pthread.h-data: Likewise.
422 * conform/data/pwd.h-data: Likewise.
423 * conform/data/signal.h-data: Likewise.
424 * conform/data/spawn.h-data: Likewise.
425 * conform/data/stdio.h-data: Likewise.
426 * conform/data/stdlib.h-data: Likewise.
427 * conform/data/stropts.h-data: Likewise.
428 * conform/data/sys/mman.h-data: Likewise.
429 * conform/data/sys/stat.h-data: Likewise.
430 * conform/data/sys/types.h-data: Likewise.
431 * conform/data/sys/wait.h-data: Likewise.
432 * conform/data/time.h-data: Likewise.
433 * conform/data/unistd.h-data: Likewise.
434 * conform/data/utime.h-data: Likewise.
435
436 * io/sys/stat.h: fchmod was always in POSIX.
437 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
438 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
439 * rt/aio.h: Define __need_timespec before including <time.h>.
440 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
441 struct. Add forward declaration of pthread_attr_t and use it in
442 sigevent.
443 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
444 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
445 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
446 always remove CLK_TCK definition.
447
c20105c3
AS
4482012-02-26 Andreas Schwab <schwab@linux-m68k.org>
449
450 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
451
7a270350
UD
4522012-02-25 Ulrich Drepper <drepper@gmail.com>
453
31341567
UD
454 * conform/run-conformtest.sh: New file.
455 * conform/Makefile: Run run-conformtest for tests.
456 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
457 support.
458
459 * conform/data/uchar.h-data: New file.
460 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
461 * conform/data/arpa/inet.h-data: Likewise.
462 * conform/data/assert.h-data: Likewise.
463 * conform/data/complex.h-data: Likewise.
464 * conform/data/cpio.h-data: Likewise.
465 * conform/data/ctype.h-data: Likewise.
466 * conform/data/dirent.h-data: Likewise.
467 * conform/data/dlfcn.h-data: Likewise.
468 * conform/data/errno.h-data: Likewise.
469 * conform/data/fcntl.h-data: Likewise.
470 * conform/data/float.h-data: Likewise.
471 * conform/data/fmtmsg.h-data: Likewise.
472 * conform/data/fnmatch.h-data: Likewise.
473 * conform/data/ftw.h-data: Likewise.
474 * conform/data/glob.h-data: Likewise.
475 * conform/data/grp.h-data: Likewise.
476 * conform/data/iconv.h-data: Likewise.
477 * conform/data/inttypes.h-data: Likewise.
478 * conform/data/langinfo.h-data: Likewise.
479 * conform/data/libgen.h-data: Likewise.
480 * conform/data/limits.h-data: Likewise.
481 * conform/data/locale.h-data: Likewise.
482 * conform/data/math.h-data: Likewise.
483 * conform/data/monetary.h-data: Likewise.
484 * conform/data/mqueue.h-data: Likewise.
485 * conform/data/ndbm.h-data: Likewise.
486 * conform/data/net/if.h-data: Likewise.
487 * conform/data/netdb.h-data: Likewise.
488 * conform/data/netinet/in.h-data: Likewise.
489 * conform/data/nl_types.h-data: Likewise.
490 * conform/data/poll.h-data: Likewise.
491 * conform/data/pthread.h-data: Likewise.
492 * conform/data/pwd.h-data: Likewise.
493 * conform/data/regex.h-data: Likewise.
494 * conform/data/sched.h-data: Likewise.
495 * conform/data/search.h-data: Likewise.
496 * conform/data/semaphore.h-data: Likewise.
497 * conform/data/setjmp.h-data: Likewise.
498 * conform/data/signal.h-data: Likewise.
499 * conform/data/spawn.h-data: Likewise.
500 * conform/data/stdarg.h-data: Likewise.
501 * conform/data/stdio.h-data: Likewise.
502 * conform/data/stdlib.h-data: Likewise.
503 * conform/data/string.h-data: Likewise.
504 * conform/data/strings.h-data: Likewise.
505 * conform/data/stropts.h-data: Likewise.
506 * conform/data/sys/ipc.h-data: Likewise.
507 * conform/data/sys/mman.h-data: Likewise.
508 * conform/data/sys/msg.h-data: Likewise.
509 * conform/data/sys/resource.h-data: Likewise.
510 * conform/data/sys/select.h-data: Likewise.
511 * conform/data/sys/sem.h-data: Likewise.
512 * conform/data/sys/shm.h-data: Likewise.
513 * conform/data/sys/socket.h-data: Likewise.
514 * conform/data/sys/stat.h-data: Likewise.
515 * conform/data/sys/statvfs.h-data: Likewise.
516 * conform/data/sys/time.h-data: Likewise.
517 * conform/data/sys/timeb.h-data: Likewise.
518 * conform/data/sys/times.h-data: Likewise.
519 * conform/data/sys/types.h-data: Likewise.
520 * conform/data/sys/uio.h-data: Likewise.
521 * conform/data/sys/un.h-data: Likewise.
522 * conform/data/sys/utsname.h-data: Likewise.
523 * conform/data/sys/wait.h-data: Likewise.
524 * conform/data/syslog.h-data: Likewise.
525 * conform/data/tar.h-data: Likewise.
526 * conform/data/termios.h-data: Likewise.
527 * conform/data/utime.h-data: Likewise.
528 * conform/data/utmpx.h-data: Likewise.
529 * conform/data/varargs.h-data: Likewise.
530 * conform/data/wchar.h-data: Likewise.
531 * conform/data/wctype.h-data: Likewise.
532 * conform/data/wordexp.h-data: Likewise.
533
534 * include/stropts.h: New file.
535 * include/uchar.h: New file.
536 * include/aio.h: Changes to allow conformtest.pl to use the headers.
537 * include/assert.h: Likewise.
538 * include/ctype.h: Likewise.
539 * include/dirent.h: Likewise.
540 * include/dlfcn.h: Likewise.
541 * include/fcntl.h: Likewise.
542 * include/fnmatch.h: Likewise.
543 * include/glob.h: Likewise.
544 * include/grp.h: Likewise.
545 * include/libio.h: Likewise.
546 * include/locale.h: Likewise.
547 * include/math.h: Likewise.
548 * include/net/if.h: Likewise.
549 * include/netdb.h: Likewise.
550 * include/netinet/in.h: Likewise.
551 * include/pthread.h: Likewise.
552 * include/pwd.h: Likewise.
553 * include/regex.h: Likewise.
554 * include/sched.h: Likewise.
555 * include/search.h: Likewise.
556 * include/setjmp.h: Likewise.
557 * include/signal.h: Likewise.
558 * include/stdio.h: Likewise.
559 * include/stdlib.h: Likewise.
560 * include/string.h: Likewise.
561 * include/sys/cdefs.h: Likewise.
562 * include/sys/mman.h: Likewise.
563 * include/sys/msg.h: Likewise.
564 * include/sys/resource.h: Likewise.
565 * include/sys/select.h: Likewise.
566 * include/sys/socket.h: Likewise.
567 * include/sys/stat.h: Likewise.
568 * include/sys/statvfs.h: Likewise.
569 * include/sys/time.h: Likewise.
570 * include/sys/times.h: Likewise.
571 * include/sys/uio.h: Likewise.
572 * include/sys/utsname.h: Likewise.
573 * include/sys/wait.h: Likewise.
574 * include/termios.h: Likewise.
575 * include/time.h: Likewise.
576 * include/ulimit.h: Likewise.
577 * include/unistd.h: Likewise.
578 * include/utime.h: Likewise.
579 * include/wchar.h: Likewise.
580 * include/wctype.h: Likewise.
581 * include/wordexp.h: Likewise.
582
583 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
584
7a270350
UD
585 * time/time.h: TIME_UTC must be a macro.
586 Make timespec_get available for ISO C11 only as well.
587
7724defc
UD
5882012-02-24 Ulrich Drepper <drepper@gmail.com>
589
590 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
591 Reported by Peng Haitao <penght@cn.fujitsu.com>.
592
6b1d1d46
JM
5932012-02-24 Joseph Myers <joseph@codesourcery.com>
594
595 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 596
0f8bbd69
JM
5972012-02-24 Joseph Myers <joseph@codesourcery.com>
598
599 * manual/texinfo.tex: Update to version 2012-01-19.16.
600
66ab80bc
JM
6012012-02-24 Joseph Myers <joseph@codesourcery.com>
602
603 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
604
74981cc5
RM
6052012-02-24 Roland McGrath <roland@hack.frob.com>
606
ee968201
RM
607 [BZ #13738]
608 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
609 * manual/fdl-1.3.texi: New file.
610 * manual/fdl-1.1.texi: File removed.
611
74981cc5
RM
612 [BZ #13738]
613 * manual/libc.texinfo (FDL_VERSION): New @set.
614 Use it for mention of FDL in cover text.
615 (Documentation License): Use it in @include file name.
616
7bb764bc
JM
6172012-02-22 Joseph Myers <joseph@codesourcery.com>
618 Roland McGrath <roland@hack.frob.com>
619
620 [BZ #5461]
621 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
622 not LONG_LONG_MAX and LONG_LONG_MIN.
623 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
624 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
625 name.
626 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
627
6cbeae47
JM
6282012-02-22 Joseph Myers <joseph@codesourcery.com>
629
630 [BZ #2547]
631 [BZ #11365]
632 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
633 manipulate bits before adding and subtracting TWO23[sx].
634 * math/libm-test.inc (nearbyint_test): Add more tests.
635
fe45ce09
JM
6362012-02-22 Joseph Myers <joseph@codesourcery.com>
637
638 [BZ #2548]
639 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
640 bits before adding and subtracting TWO23[sx].
641 * math/libm-test.inc (rint_test): Add more tests.
642 (rint_test_tonearest): Likewise.
643 (rint_test_towardzero): Likewise.
644 (rint_test_downward): Likewise.
645 (rint_test_upward: Likewise.
646
ff3b3d82
JM
6472012-02-22 Joseph Myers <joseph@codesourcery.com>
648
649 [BZ #10110]
650 * include/stdc-predef.h: New file. Extracted from features.h.
651 * include/features.h: Include stdc-predef.h.
652 * Makefile (headers): Add stdc-predef.h.
653 * CONFORMANCE (Compiler limitations): Update.
654
ef0aab35
JM
6552012-02-22 Joseph Myers <joseph@codesourcery.com>
656
657 * manual/libc.texinfo (VERSION, UPDATED): Revert.
658
58639409
DM
6592012-02-21 David S. Miller <davem@davemloft.net>
660
661 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
662 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
663
c0e70b25
DM
6642012-02-20 David S. Miller <davem@davemloft.net>
665
666 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
667 using a normal save/restore sequence, rather than allocating a
668 dummy stack frame just to store a frame pointer and restore.
669 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
670
fb06851d
JM
6712012-02-21 Joseph Myers <joseph@codesourcery.com>
672
673 * manual/install.texi: Fix stray word in line-wrapped comment.
674
7a8b71c3
DM
6752012-02-20 David S. Miller <davem@davemloft.net>
676
d510c123
DM
677 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
678 both binutils and gcc support GOTDATA.
679
0722d7c2
DM
680 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
681 "rd %pc" in the PIC register setup sequences.
682
3d2b3019
DM
683 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
684 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
685 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
686 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
687 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
689 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
690 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
692 (SYSCALL_ERROR_HANDLER): Likewise.
693 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
694 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
696 (SYSCALL_ERROR_HANDLER): Likewise.
697
c80098a9
DM
698 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
699 (HAVE_GCC_GOTDATA): New.
700 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
701 relocation support in both binutils and gcc.
702 * sysdeps/sparc/elf/configure: Regenerate.
703
3a2545a0
DM
704 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
705 * sysdeps/sparc/sparc32/elf/configure: Delete.
706 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
707 * sysdeps/sparc/sparc64/elf/configure: Delete.
708 * sysdeps/sparc/elf/configure.in: New file.
709 * sysdeps/sparc/elf/configure: Generate.
710
7a8b71c3
DM
711 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
712 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
713 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
714 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
715 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
716
f1e86fca
JM
7172012-02-21 Joseph Myers <joseph@codesourcery.com>
718
719 * manual/install.texi: Do not mention specific glibc version
720 numbers.
721 * manual/libc.texinfo (VERSION, UPDATED): Update.
722 (@copying): Use @copyright{} and range of years.
723
0e7dfaef
JM
7242012-02-21 Joseph Myers <joseph@codesourcery.com>
725
726 [BZ #13695]
727 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
728 [crti.S not in sysdirs] (generated): Do not append.
729 [crti.S not in sysdirs] (omit-deps): Likewise.
730 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
731 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
732 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
733 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
734 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
735 Likewise.
736 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
737 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
738 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
739 * csu/defs.awk: Remove file.
740 * sysdeps/generic/initfini.c: Likewise.
741 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
742 variable.
743 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
744 Likewise.
745
599af3ca
JM
7462012-02-20 Joseph Myers <joseph@codesourcery.com>
747
748 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
749 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
750 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
752 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
753 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
754 <bits/epoll.h>.
755 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
756 (__EPOLL_PACKED): Define to empty if not defined by
757 <bits/epoll.h>.
758 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
760 bits/epoll.h.
761
0e499750
JM
7622012-02-20 Joseph Myers <joseph@codesourcery.com>
763
764 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
765 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
766 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
767 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
768 <bits/timerfd.h>.
769 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
771 bits/timerfd.h.
772
5ad91f6e
JM
7732012-02-20 Joseph Myers <joseph@codesourcery.com>
774
775 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
776 in C locale.
777 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
778 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
779 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
781
06b99b02
AJ
7822012-02-20 Aurelien Jarno <aurelien@aurel32.net>
783
784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
786
7638c0fd
AS
7872012-02-19 Andreas Schwab <schwab@linux-m68k.org>
788
789 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
790 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
791 defined.
792 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
793 Likewise.
794 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
795 entry for 2.16.
796
92221550
AJ
7972012-02-19 Aurelien Jarno <aurelien@aurel32.net>
798
799 * math/w_acos.c: Use non-signaling floating-point comparisons.
800 * math/w_acosf.c: Likewise.
801 * math/w_acosh.c: Likewise.
802 * math/w_acoshf.c: Likewise.
803 * math/w_acoshl.c: Likewise.
804 * math/w_acosl.c: Likewise.
805 * math/w_asin.c: Likewise.
806 * math/w_asinf.c: Likewise.
807 * math/w_asinl.c: Likewise.
808 * math/w_atanh.c: Likewise.
809 * math/w_atanhf.c: Likewise.
810 * math/w_atanhl.c: Likewise.
811 * math/w_exp2.c: Likewise.
812 * math/w_exp2f.c: Likewise.
813 * math/w_exp2l.c: Likewise.
814 * math/w_j0.c: Likewise.
815 * math/w_j0f.c: Likewise.
816 * math/w_j0l.c: Likewise.
817 * math/w_j1.c: Likewise.
818 * math/w_j1f.c: Likewise.
819 * math/w_j1l.c: Likewise.
820 * math/w_jn.c: Likewise.
821 * math/w_jnf.c: Likewise.
822 * math/w_log.c: Likewise.
823 * math/w_log10.c: Likewise.
824 * math/w_log10f.c: Likewise.
825 * math/w_log10l.c: Likewise.
826 * math/w_log2.c: Likewise.
827 * math/w_log2f.c: Likewise.
828 * math/w_log2l.c: Likewise.
829 * math/w_logf.c: Likewise.
830 * math/w_logl.c: Likewise.
831 * math/w_sqrt.c: Likewise.
832 * math/w_sqrtf.c: Likewise.
833 * math/w_sqrtl.c: Likewise.
834 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
835 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
836 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
837 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
838 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
839
ebaf36eb
JM
8402012-02-19 Joseph Myers <joseph@codesourcery.com>
841
842 [BZ #9739]
843 * manual/string.texi (strnlen): Use correct parameter name in
844 equivalent expression.
845
71c254a6
JM
8462012-02-19 Joseph Myers <joseph@codesourcery.com>
847
848 [BZ #11174]
849 * manual/users.texi (seteuid): Consistently use neweuid for
850 argument name.
851
16d2c631
JM
8522012-02-19 Joseph Myers <joseph@codesourcery.com>
853
854 [BZ #13704]
855 * manual/nss.texi (Services in the NSS configuration): Correct
856 list of services in example configuration file.
857
cd837b09
NB
8582012-02-19 Nick Bowler <nbowler@draconx.ca>
859
860 [BZ #11322]
861 * manual/arith.texi: Remove statements about negative zero
862 behaving identically to zero.
863
02c4bbad
JM
8642012-02-18 Joseph Myers <joseph@codesourcery.com>
865
866 [BZ #5993]
867 * manual/install.texi: Do not document upgrading from libc5.
868
366842e7
JM
8692012-02-18 Joseph Myers <joseph@codesourcery.com>
870
871 [BZ #4596]
872 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
873
dd54084d
DM
8742012-02-18 David S. Miller <davem@davemloft.net>
875
876 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
877 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
878 %o7 across the call.
879 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
880 instead.
881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
882 SETUP_PIC_REG_LEAF.
883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
884 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
885 * sysdeps/sparc/crtn.S: Likewise.
886
2bcc53a3
UD
8872012-02-17 Ulrich Drepper <drepper@gmail.com>
888
889 * aout/Makefile: Remove.
890
09c093b5
RK
8912012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
892
893 [BZ #13058]
894 * manual/examples/argp-ex1.c (main): Format definition in GNU
895 style.
896 * manual/examples/argp-ex2.c (main): Likewise.
897 * manual/examples/argp-ex3.c (main): Likewise.
898 * manual/examples/argp-ex4.c (main): Likewise.
899 * manual/examples/longopt.c (main): Use new-style prototype
900 definition.
901 * manual/examples/strncat.c (main): Specify return type and use
902 (void) for arguments.
903 * manual/examples/subopt.c (main): Use char **argv argument.
904
2ee633a2
JM
9052012-02-17 Joseph Myers <joseph@codesourcery.com>
906
907 [BZ #5077]
908 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
909 rounding modes.
910
0520adde
FB
9112012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
912
913 [BZ #6907]
914 * manual/string.texi (strchr): Change when strchrnul is
915 recommended.
916
3f4081cd
DGM
9172012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
918
919 [BZ #174]
920 * manual/locale.texi (setlocale): Document LOCPATH.
921
d1b10e78
JM
9222012-02-17 Joseph Myers <joseph@codesourcery.com>
923
924 [BZ #10210]
925 * manual/process.texi (execle): Move @dots{} before last argument.
926
79c6869c
PB
9272012-02-17 Paul Bolle <pebolle@tiscali.nl>
928
929 [BZ #12047]
930 * manual/charset.texi (Generic Charset Conversion): Fix typo
931 (LC_TYPE -> LC_CTYPE).
932
cc6e48bc
NB
9332012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
934
935 [BZ #5805]
936 * manual/arith.texi (scalbn): Use @var{} on parameter names.
937 (scalbnf): Likewise.
938 (scalbnl): Likewise.
939 (scalbln): Likewise.
940 (scalblnf): Likewise.
941 (scalblnl): Likewise.
942 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
943 (vwarnx): Likewise.
944 (verr): Likewise.
945 (verrx): Likewise.
946 * manual/filesys.texi (telldir): Use braces around return type.
947 * manual/llio.texi (mmap): Add space after comma.
948 (mmap64): Likewise.
949 * manual/math.texi (jn): Use @var{} on parameter names.
950 (jnf): Likewise.
951 (jnl): Likewise.
952 (yn): Likewise.
953 (ynf): Likewise.
954 (ynl): Likewise.
955 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
956 line.
957 * manual/resource.texi (ulimit): Use @dots{} instead of literal
958 "...".
959 (sched_get_priority_min): Remove semicolon on @deftypefun line.
960 (sched_get_priority_max): Likewise.
961 * manual/signal.texi (sigvec): Add space after comma.
962 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
963 names.
964 (if_indextoname): Likewise.
965 (if_freenameindex): Likewise.
966 (sendto): Use ',' instead of '.' in prototype.
967 * manual/startup.texi (syscall): Use @dots{} instead of literal
968 "...".
969 * manual/stdio.texi (__fpending): Separate initial words of
970 paragraph from @deftypefun line.
971 * manual/syslog.texi (syslog): Use @dots{} instead of literal
972 "...".
973 (vsyslog): Use @var{} on parameter names.
974 * manual/terminal.texi (stty): Use @var{} on parameter names.
975 * manual/users.texi (getutmp): Use @var{} on parameter names.
976 (getutmpx): Likewise.
977
5b23062f
JM
9782012-02-17 Joseph Myers <joseph@codesourcery.com>
979
980 [BZ #6884]
981 * manual/stdio.texi (fopen): Fix typos in description of
982 ",ccs=STRING".
983
8dee4833
AJ
9842012-02-17 Aurelien Jarno <aurelien@aurel32.net>
985
986 [BZ #4026]
987 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
988 get clock_id definition.
989
9078ce93
TS
9902012-02-17 Thomas Schwinge <thomas@schwinge.name>
991
992 [BZ #4822]
993 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
994 (madvise): Cast every argument to void on its own.
995
3835c55f
JM
9962012-02-17 Joseph Myers <joseph@codesourcery.com>
997
998 [BZ #9902]
999 * manual/startup.texi (Exit Status): Fix typo.
1000
35c47e37
JM
10012012-02-17 Joseph Myers <joseph@codesourcery.com>
1002
1003 [BZ #10140]
1004 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1005 * manual/examples/argp-ex2.c: Likewise.
1006 * manual/examples/argp-ex3.c: Likewise.
1007
e3b69ca7
RH
10082012-02-16 Richard Henderson <rth@redhat.com>
1009
1010 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1011 * sysdeps/s390/s390-32/initfini.c: Remove.
1012 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1013 * sysdeps/s390/s390-64/initfini.c: Remove.
1014
df83af67
KK
10152012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1016
1017 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1018 compiler output for sysdeps/generic/initfini.c.
1019 * sysdeps/sh/elf/initfini.c: Remove file.
1020
f63f3380
DM
10212012-02-16 David S. Miller <davem@davemloft.net>
1022
fb59b3a4
DM
1023 [BZ #11494]
1024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1025
f63f3380
DM
1026 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1027 * sysdeps/sparc/crti.S: New file.
1028 * sysdeps/sparc/crtn.S: New file.
1029 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1030 * sysdeps/sparc/sparc64/Makefile: Likewise.
1031
df6a4a4a
MF
10322012-02-15 Mike Frysinger <vapier@gentoo.org>
1033
6dd8f3dc 1034 [BZ #3335]
df6a4a4a
MF
1035 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1036
1cac7236
RM
10372012-02-15 Roland McGrath <roland@hack.frob.com>
1038
d2c736f8
RM
1039 [BZ #4822]
1040 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1041
1cac7236
RM
1042 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1043 (write, read, close): Likewise.
1044 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1045
8e475601
JM
10462012-02-15 Joseph Myers <joseph@codesourcery.com>
1047
1048 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1049 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1050 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1051 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1052 <bits/signalfd.h>.
1053 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1055 bits/signalfd.h.
1056
ed656b40
MP
10572012-02-14 Marek Polacek <polacek@redhat.com>
1058
1059 * sysdeps/x86_64/crti.S: New file.
1060 * sysdeps/x86_64/crtn.S: New file.
1061 * sysdeps/x86_64/elf/initfini.c: Remove file.
1062
2a979d3a
JM
10632012-02-13 Joseph Myers <joseph@codesourcery.com>
1064
1065 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1066 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1067 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1068 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1069 <bits/inotify.h>.
1070 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1072 bits/inotify.h.
1073
2a418ac3
JM
10742012-02-13 Joseph Myers <joseph@codesourcery.com>
1075
1076 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1077 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1078 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1079 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1080 <bits/eventfd.h>.
1081 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1083 bits/eventfd.h.
1084
fb779be7
TS
10852012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1086
e19e83c5
RM
1087 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1088 __feraiseexcept instead of feraiseexcept.
7c35ffed 1089
fb779be7
TS
1090 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1091 nanosleep invocations.
1092 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1093 strings, and add error checking for a nanosleep invocations.
1094
59ba27a6
PE
10952012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1096
1097 Replace FSF snail mail address with URLs, as per GNU coding standards.
1098 Most of the snail mail addresses were wrong anyway, and omitting
1099 them makes the source code easier to maintain. Almost all of the
1100 changes are to license notices and to locale LC_IDENTIFICATION
1101 addresses, except for this one:
1102 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1103 not its snail mail address.
1104
57b957eb
RH
11052012-02-09 Richard Henderson <rth@twiddle.net>
1106
af850b1c
RH
1107 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1108 of kernel-features.h.
1109
57b957eb
RH
1110 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1111
6b73181a
MP
11122012-02-08 Marek Polacek <polacek@redhat.com>
1113
1114 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1115 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1116 * sysdeps/gnu/_G_config.h: Likewise.
1117 * sysdeps/generic/_G_config.h: Likewise.
1118
26ecc33a
AS
11192012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1120
6c6dbc63
AS
1121 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1122 tests.
1123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1124
e216c012
AS
1125 * sysdeps/powerpc/powerpc32/crti.S: New file.
1126 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1127 * sysdeps/powerpc/powerpc64/crti.S: New file.
1128 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1129
26ecc33a
AS
1130 * Makeconfig (have-initfini): Don't set.
1131 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1132 * configure.in (nopic_initfini): Don't substitute.
1133 * config.h.in (HAVE_INITFINI): Don't #undef.
1134 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1135 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1136
3add8e13
JM
11372012-02-08 Joseph Myers <joseph@codesourcery.com>
1138
1139 Support crti.S and crtn.S provided directly by architectures.
1140 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1141 [crti.S in sysdirs] (omit-deps): Likewise.
1142 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1143 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1144 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1145 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1146 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1147 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1148 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1149 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1150 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1151 compiler output for sysdeps/generic/initfini.c.
1152 * sysdeps/i386/elf/Makefile: Remove file.
1153 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1154
a22f12b4
MP
11552012-02-07 Marek Polacek <polacek@redhat.com>
1156
1157 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1158 * sysdeps/gnu/_G_config.h: Likewise.
1159 * sysdeps/mach/hurd/_G_config.h: Likewise.
1160
148cf100
MP
11612012-02-07 Marek Polacek <polacek@redhat.com>
1162
1163 * math/Makefile (tests): Add tst-CMPLX2.
1164 * math/tst-CMPLX2.c: New file.
1165
cfdc0dd7
AS
11662012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1167
84ba42c4
AS
1168 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1169
cfdc0dd7
AS
1170 * math/libm-test.inc (jn_test): Add missing L suffix.
1171
622c86f4
MP
11722012-02-06 Marek Polacek <polacek@redhat.com>
1173
1174 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1175 * sysdeps/i386/fpu/e_powf.S: Likewise.
1176 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1177 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1178 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1179 * sysdeps/i386/fpu/e_pow.S: Likewise.
1180 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1181 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1182 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1183 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1184 * sysdeps/i386/fpu/e_log2.S: Likewise.
1185 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1186 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1187 * sysdeps/i386/fpu/e_powl.S: Likewise.
1188 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1189 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1190 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1191 * sysdeps/i386/fpu/e_logl.S: Likewise.
1192 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1193 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1194 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1195 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1196 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1197 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1198 * sysdeps/i386/fpu/e_log.S: Likewise.
1199 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1200 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1201 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1202 * sysdeps/i386/fpu/e_logf.S: Likewise.
1203 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1204 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1205 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1206 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1207 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1208 * sysdeps/i386/fpu/e_log10.S: Likewise.
1209 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1210 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1211 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1212 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1213 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1214 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1215 * sysdeps/i386/asm-syntax.h: Likewise.
1216 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1217 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1218 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1219 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1220 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1221 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1222 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1223 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1224 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1225 * sysdeps/powerpc/sysdep.h: Likewise.
1226 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1227 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1228
d4a54ac6
JM
12292012-02-06 Joseph Myers <joseph@codesourcery.com>
1230
1231 [BZ #411]
1232 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1233
314054ea
JM
12342012-02-06 Joseph Myers <joseph@codesourcery.com>
1235
1236 * sysdeps/i386/sysdep.h: Include <features.h>.
1237 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1238 version.
1239
d8e0ca50
JM
12402012-02-05 Joseph Myers <joseph@codesourcery.com>
1241
1242 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1243 Define.
1244 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1245 LOAD_PIC_REG_STR.
1246
b1da7dd9
JM
12472012-02-03 Joseph Myers <joseph@codesourcery.com>
1248
1249 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1250 (SETUP_PIC_REG): Use GET_PC_THUNK.
1251 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1252 macro.
1253
9a1d9254
JM
12542012-02-03 Joseph Myers <joseph@codesourcery.com>
1255
1256 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1257 for non-PIC compilation.
1258 (SETUP_PIC_REG): Add .p2align directive.
1259 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1260 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1261 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1262 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1263 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1264 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1265 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1266 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1267 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1268 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1269 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1270 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1271 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1272 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1273 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1274 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1275 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1276 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1277 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1278 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1279 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1280 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1281 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1282 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1283 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1285 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1286 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1287 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1288 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1289 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1290 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1291 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1292 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1293 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1294 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1295 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1296 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1297 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1298 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1299 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1300
65dc3b75
JM
13012012-02-03 Joseph Myers <joseph@codesourcery.com>
1302
1303 * math/tst-CMPLX.c: Include <stdio.h>.
1304
d55bf177
JM
13052012-01-31 Joseph Myers <joseph@codesourcery.com>
1306
1307 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1308 float.
1309 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1310 * sysdeps/sparc/bits/mathdef.h: Likewise.
1311
69db4f8f
MP
13122012-01-31 Marek Polacek <polacek@redhat.com>
1313
1314 * libio/libio.h: Don't define _PARAMS.
1315 * locale/programs/config.h: Don't define PARAMS.
1316 * stdlib/strtol_l.c: Likewise.
1317 (__strtol_l): Remove PARAMS from the prototype.
1318
41b81892
UD
13192012-01-31 Ulrich Drepper <drepper@gmail.com>
1320
3b49edc0
UD
1321 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1322 names. Just use the correct names. Remove unnecessary wrapper
1323 functions.
1324 * malloc/arena.c: Likewise.
1325 * malloc/hooks.c: Likewise.
1326
41b81892
UD
1327 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1328 ARENA_TEST says not to. Simplify test for creation of a new arena.
1329 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1330
27a25b6e
UD
13312012-01-30 Ulrich Drepper <drepper@gmail.com>
1332
1333 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1334 into tail calls.
1335 (update_get_addr): New function.
1336 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1337 GET_ADDR_MODULE parameter.
1338
c8a89e7d
JM
13392012-01-30 Joseph Myers <joseph@codesourcery.com>
1340
1341 * crypt/cert.c: Remove __STDC__ conditionals.
1342 * crypt/crypt-entry.c: Likewise.
1343 * crypt/crypt_util.c: Likewise.
1344 * libio/filedoalloc.c: Likewise.
1345 * libio/fileops.c: Likewise.
1346 * libio/genops.c: Likewise.
1347 * libio/iofclose.c: Likewise.
1348 * libio/iofdopen.c: Likewise.
1349 * libio/iofopen.c: Likewise.
1350 * libio/iofopen64.c: Likewise.
1351 * libio/iogetdelim.c: Likewise.
1352 * libio/iopopen.c: Likewise.
1353 * libio/obprintf.c: Likewise.
1354 * libio/oldfileops.c: Likewise.
1355 * libio/oldiofclose.c: Likewise.
1356 * libio/oldiofdopen.c: Likewise.
1357 * libio/oldiofopen.c: Likewise.
1358 * libio/oldiopopen.c: Likewise.
1359 * libio/wfiledoalloc.c: Likewise.
1360 * libio/wgenops.c: Likewise.
1361 * locale/programs/xmalloc.c: Likewise.
1362 * misc/syslog.c: Likewise.
1363 * stdio-common/xbug.c: Likewise.
1364 * string/memchr.c: Likewise.
1365 * string/memcmp.c: Likewise.
1366 * string/memrchr.c: Likewise.
1367 * string/rawmemchr.c: Likewise.
1368 * sysdeps/posix/getcwd.c: Likewise.
1369 * time/strftime_l.c: Likewise.
1370
3b100462
JM
13712012-01-30 Joseph Myers <joseph@codesourcery.com>
1372
1373 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1374 * config.make.in (config-cflags-sse2avx): Define.
1375 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1376 Fix typo.
1377
607998af
CM
13782012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1379
1380 * scripts/config.guess: Update from upstream config git repository.
1381 * scripts/config.sub: Likewise.
1382
3601428f
CM
13832012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1384
3ac8b282
CM
1385 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1386 (EM_NUM): Update.
1387 (R_TILEPRO_*, R_TILEGX_*): New macros.
1388
e034841e
CM
1389 * scripts/firstversions.awk: Fix bug in version range handling.
1390
540d7568
CM
1391 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1392
3601428f
CM
1393 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1394
463de862
CM
1395 * include/sys/epoll.h: New file.
1396 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1397 libc_hidden_def.
1398
73139a76
UD
13992012-01-28 Ulrich Drepper <drepper@gmail.com>
1400
96bc5b45
UD
1401 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1402 Avoid unnecessary __WORDSIZE == 64 test.
1403 (fmaxf): Use VEX format if possible.
1404 (fmax): Likewise.
1405 (fminf): Likewise.
1406 (fmin): Likewise.
1407
56f6f6a2
UD
1408 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1409 * math/math_private.h: Remove libc_fegetround* and
1410 libc_fesetround*.
1411 * sysdeps/i386/configure.in: Check for -msse2avx.
1412 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1413 also if SSE2AVX is defined.
1414 Remove libc_fegetround* and libc_fesetround*.
1415 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1416 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1417 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1418 of HAS_YMM_USABLE.
1419 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1420 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1421 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1422 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1423 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1424
73139a76
UD
1425 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1426
d73f93a4
AZ
14272012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1428
1429 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1430 size is not set.
1431 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1432
6ee65ed6
UD
14332012-01-27 Ulrich Drepper <drepper@gmail.com>
1434
1435 [BZ #13618]
1436 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1437 relocation.
1438 * Makeconfig (libm): Define.
1439 * elf/Makefile: Add rules to build and run tst-relsort1.
1440 * elf/tst-relsort1.c: New file.
1441 * elf/tst-relsort1mod1.c: New file.
1442 * elf/tst-relsort1mod2.c: New file.
1443
8db21882
JM
14442012-01-27 Joseph Myers <joseph@codesourcery.com>
1445
1446 * math/s_ldexp.c: Remove __STDC__ conditionals.
1447 * math/s_ldexpf.c: Likewise.
1448 * math/s_ldexpl.c: Likewise.
1449 * math/s_nextafter.c: Likewise.
1450 * math/s_nexttowardf.c: Likewise.
1451 * math/s_significand.c: Likewise.
1452 * math/s_significandf.c: Likewise.
1453 * math/s_significandl.c: Likewise.
1454 * math/w_jnl.c: Likewise.
1455 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1456 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1457 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1458 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1459 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1462 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1464 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1465 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1466 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1467 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1468 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1469 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1470 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1476 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1477 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1478 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1479 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1480 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1481 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1482 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1483 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1484 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1485 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1486 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1487 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1488 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1489 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1490 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1491 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1492 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1493 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1494 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1495 * sysdeps/ieee754/k_standard.c: Likewise.
1496 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1497 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1505 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1506 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1507 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1509 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1510 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1513 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1514 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1526 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1550 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1551 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1553 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1555 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1556 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1557 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1558 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1559 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1560 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1562 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1570 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1571 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1575 * sysdeps/ieee754/s_matherr.c: Likewise.
1576 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1577 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1578 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1580
965a54a4
JM
15812012-01-26 Joseph Myers <joseph@codesourcery.com>
1582
1583 * crypt/md5.h: Remove __STDC__ conditionals.
1584 * libio/libioP.h: Likewise.
1585 * locale/programs/config.h: Likewise.
1586 * sysdeps/generic/sysdep.h: Likewise.
1587 * sysdeps/i386/asm-syntax.h: Likewise.
1588 * sysdeps/s390/asm-syntax.h: Likewise.
1589 * sysdeps/unix/sysdep.h: Likewise.
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1592
7071ad79
JM
15932012-01-26 Joseph Myers <joseph@codesourcery.com>
1594
1595 * libio/libio.h: Remove __STDC__ conditionals.
1596 * malloc/obstack.h: Likewise.
1597 * math/complex.h: Likewise.
1598 * math/math.h: Likewise.
1599 * sysdeps/generic/_G_config.h: Likewise.
1600 * sysdeps/gnu/_G_config.h: Likewise.
1601 * sysdeps/mach/hurd/_G_config.h: Likewise.
1602 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1603 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1604 * sysdeps/sparc/bits/mathdef.h: Likewise.
1605
afc5ed09
UD
16062012-01-26 Ulrich Drepper <drepper@gmail.com>
1607
1608 [BZ #13583]
1609 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1610 Clean up HAS_* macros.
afc5ed09 1611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1612 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1613 possible.
1614 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1615 HAS_AVX.
1616 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1617 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1618 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1619 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1621
bdb6de1d
JM
16222012-01-25 Joseph Myers <joseph@codesourcery.com>
1623
1624 * elf/tst-unique3.cc (gets): Remove declaration.
1625 * elf/tst-unique3lib.cc (gets): Likewise.
1626 * elf/tst-unique3lib2.cc (gets): Likewise.
1627 * elf/tst-unique4.cc (gets): Likewise.
1628
b15549e6
UD
16292012-01-24 Ulrich Drepper <drepper@gmail.com>
1630
1631 * include/stdio.h: Add C++ protection. Add gets declarations and
1632 definitions.
1633 * debug/tst-chk1.c: Don't declare gets here.
1634 * stdio-common/tst-gets.c: Likewise.
1635
a037381f
JM
16362012-01-24 Joseph Myers <joseph@codesourcery.com>
1637
1638 * posix/glob: Remove directory.
1639
f1d4aa75
JM
16402012-01-24 Joseph Myers <joseph@codesourcery.com>
1641
1642 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1643
81c0c964
PT
16442012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1645
1646 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1647 of the non-standard EPFNOSUPPORT.
1648
0ea698ae
ST
16492011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1650
1651 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1652 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1653 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1654
d220b117
UD
16552012-01-21 Ulrich Drepper <drepper@gmail.com>
1656
1657 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1658
3e1aa84e
UD
16592012-01-20 Ulrich Drepper <drepper@gmail.com>
1660
1661 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1662 transient errors.
1663 * nscd/grpcache.c (cache_addgr): Likewise.
1664 * nscd/hstcache.c (cache_addhst): Likewise.
1665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1666 * nscd/pwdcache.c (cache_addpw): Likewise.
1667 * nscd/servicescache.c (cache_addserv): Likewise.
1668
400aa020
UD
16692012-01-16 Ulrich Drepper <drepper@gmail.com>
1670
d77e7869
UD
1671 * malloc/malloc.c: Various cleanups.
1672 * malloc/hooks.c: Likewise.
1673
400aa020
UD
1674 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1675 * stdlib/bug-fmtmsg1.c: New file.
1676
1677 * stdlib/fmtmsg.c (init): Add missing unlock.
1678 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1679
e0a309cf
MP
16802012-01-12 Marek Polacek <polacek@redhat.com>
1681
1682 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1683 and _GNU_SOURCE.
1684
929d11c7
WS
16852012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1686
1687 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1688 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1689 macro to ensure uniqueness of label name.
1690 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1691 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1692
41d0e869
UD
16932012-01-11 Ulrich Drepper <drepper@gmail.com>
1694
0cc5ed3b
UD
1695 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1696
41d0e869
UD
1697 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1698 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1699 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1701
a47a831a
UD
17022012-01-10 Ulrich Drepper <drepper@gmail.com>
1703
daa891c0
UD
1704 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1705
1706 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1707 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1709
e58ef0f2
UD
1710 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1711
a47a831a 1712 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1713 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1714 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1716
1717 * math/bits/math-finite.h: Add ldexp support.
1718
a0bfc9c7
MP
17192012-01-10 Marek Polacek <polacek@redhat.com>
1720
1721 * locale/programs/localedef.h (show_archive_content): Add noreturn
1722 attribute.
1723
d6e97a1d
UD
17242012-01-09 Ulrich Drepper <drepper@gmail.com>
1725
1726 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1727
d5835c26
UD
17282012-01-08 Ulrich Drepper <drepper@gmail.com>
1729
e5f484c6
UD
1730 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1731
d5835c26
UD
1732 * io/Makefile (headers): Add bits/poll2.h.
1733
d1f741e9
WS
17342011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1735
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1737 typo #include statement.
1738
ec09c1c4
UD
17392012-01-08 Ulrich Drepper <drepper@gmail.com>
1740
1741 * include/sys/cdefs.h: Define __attribute_alloc_size.
1742 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1743 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1744 * elf/pldd.c: Likewise.
1745 * iconv/iconv_charmap.c: Likewise.
1746 * iconv/iconvconfig.c: Likewise.
1747 * iconv/strtab.c: Likewise.
1748 * locale/programs/locale.c: Likewise.
1749 * locale/programs/localedef.h: Likewise.
1750 * locale/programs/simple-hash.c: Likewise.
1751 * nscd/nscd.h: Likewise.
1752 * nss/makedb.c: Likewise.
1753 * sysdeps/generic/ldconfig.h: Likewise.
1754 * locale/programs/localedef.c: Remove xmalloc prototype.
1755 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1756
20b38e03
PP
17572012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1758
1759 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1760 appropriate.
1761
a0da5fe1
UD
17622012-01-08 Ulrich Drepper <drepper@gmail.com>
1763
1d5a644a 1764 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1765 * math/tst-CMPLX.c: New file.
1d5a644a 1766
8784a6db
UD
1767 * math/complex.h (CMPLXL): Fix typo.
1768
d9a216c0
UD
1769 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1770 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1771 GLIBC_2.16.
1772 * debug/tst-chk1.c: Add poll and ppoll tests.
1773 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1774 * include/sys/poll.h: Add hidden proto for ppoll.
1775 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1776 * sysdeps/mach/hurd/ppoll.c: Likewise.
1777 * io/ppoll.c: Likewise.
1778 * debug/poll_chk.c: New file.
1779 * debug/ppoll_chk.c: New file.
1780 * include/bits/poll2.h: New file.
1781 * io/bits/poll2.h: New file.
1782
ac097f5c
UD
1783 [BZ #1350]
1784 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1785
2119dcfa
UD
1786 * configure.in: static is always set to yes. Remove.
1787 * config.make.in: Don't set build-static.
1788 * Makeconfig: Remove use of build-static.
1789 * dlfcn/Makefile: Likewise.
1790 * elf/Makefile: Likewise.
1791 * math/Makefile: Likewise.
1792 * misc/Makefile: Likewise.
1793 * nptl/Makefile: Likewise.
1794 * sysdeps/mach/hurd/Makefile: Likewise.
1795
121766a9
UD
1796 * configure.in: PWD_P is not used anymore.
1797 * config.make.in: Remove PWD_P entry.
1798
51a1d39c 1799 * configure.in: Remove last remnants of RANLIB.
8720d066 1800 No need to check for signed size_t anymore.
215f4bdc
UD
1801 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1802 and IA-64.
3857022a 1803 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1804 * aclocal.m4: Likewise.
1805
d3ed7225
UD
1806 * wcsmbs/mbrtoc16.c: Implement using towc function.
1807 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1808 * wcsmbs/wcsmbsload.c: Likewise.
1809 * iconv/gconv_simple.c: Likewise.
1810 * iconv/gconv_int.h: Likewise.
1811 * iconv/gconv_builtin.h: Likewise.
1812 * iconv/iconv_prog.c: Remove CHAR16 handling.
1813
1814 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1815
1816 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1817
a0da5fe1
UD
1818 * configure.in: Remove --with-elf and --enable-bounded options.
1819 Dont set base_machine for ia64. More non-ELF conditions removed.
1820 Remove testing and setting of leading underscore information.
1821 * config.make.in (build-bounded): Set to no.
1822 * config.h.in: Remove NO_UNDERSCORES entry.
1823 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1824 them.
1825 * csu/start.c: Remove !NO_UNDERSCORE code.
1826 * locale/localeinfo.h: Likewise.
1827 * sysdeps/generic/machine-gmon.h: Likewise.
1828 * sysdeps/generic/sysdep.h: Likewise.
1829 * sysdeps/i386/sysdep.h: Likewise.
1830 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1831 * sysdeps/mach/sysdep.h: Likewise.
1832 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1833 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1834 * sysdeps/sh/sysdep.h: Likewise.
1835 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1836 * sysdeps/unix/i386/sysdep.S: Likewise.
1837 * sysdeps/unix/sparc/start.c: Likewise.
1838 * sysdeps/unix/sparc/sysdep.S: Likewise.
1839 * sysdeps/unix/sparc/sysdep.h: Likewise.
1840 * sysdeps/unix/start.c: Likewise.
1841 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1842 * sysdeps/x86_64/sysdep.h: Likewise.
1843
df78418a
UD
18442012-01-07 Ulrich Drepper <drepper@gmail.com>
1845
a784e502
UD
1846 [BZ #13553]
1847 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1848 for non-gcc.
1849 * argp/argp-fmtstream.h: Use const instead __const.
1850 * argp/argp.h: Likewise.
1851 * assert/assert.h: Likewise.
1852 * bits/fenv.h: Likewise.
1853 * bits/sched.h: Likewise.
1854 * bits/sigset.h: Likewise.
1855 * bits/sigthread.h: Likewise.
1856 * catgets/nl_types.h: Likewise.
1857 * conform/data/pthread.h-data: Likewise.
1858 * crypt/crypt-private.h: Likewise.
1859 * crypt/crypt.h: Likewise.
1860 * crypt/crypt_util.c: Likewise.
1861 * ctype/ctype.h: Likewise.
1862 * debug/execinfo.h: Likewise.
1863 * debug/mbsnrtowcs_chk.c: Likewise.
1864 * debug/mbsrtowcs_chk.c: Likewise.
1865 * debug/wcsnrtombs_chk.c: Likewise.
1866 * debug/wcsrtombs_chk.c: Likewise.
1867 * debug/wcstombs_chk.c: Likewise.
1868 * dirent/dirent.h: Likewise.
1869 * dlfcn/dlfcn.h: Likewise.
1870 * elf/neededtest4.c: Likewise.
1871 * grp/grp.h: Likewise.
1872 * gshadow/gshadow.h: Likewise.
1873 * iconv/gconv.h: Likewise.
1874 * iconv/gconv_int.h: Likewise.
1875 * iconv/gconv_simple.c: Likewise.
1876 * iconv/iconv.h: Likewise.
1877 * iconv/loop.c: Likewise.
1878 * iconv/skeleton.c: Likewise.
1879 * include/aio.h: Likewise.
1880 * include/aliases.h: Likewise.
1881 * include/argz.h: Likewise.
1882 * include/arpa/inet.h: Likewise.
1883 * include/assert.h: Likewise.
1884 * include/dirent.h: Likewise.
1885 * include/dlfcn.h: Likewise.
1886 * include/execinfo.h: Likewise.
1887 * include/fcntl.h: Likewise.
1888 * include/fenv.h: Likewise.
1889 * include/glob.h: Likewise.
1890 * include/grp.h: Likewise.
1891 * include/libintl.h: Likewise.
1892 * include/mntent.h: Likewise.
1893 * include/netdb.h: Likewise.
1894 * include/pwd.h: Likewise.
1895 * include/rpc/netdb.h: Likewise.
1896 * include/sched.h: Likewise.
1897 * include/search.h: Likewise.
1898 * include/shadow.h: Likewise.
1899 * include/signal.h: Likewise.
1900 * include/stdio.h: Likewise.
1901 * include/stdlib.h: Likewise.
1902 * include/string.h: Likewise.
1903 * include/sys/socket.h: Likewise.
1904 * include/sys/stat.h: Likewise.
1905 * include/sys/statfs.h: Likewise.
1906 * include/sys/statvfs.h: Likewise.
1907 * include/sys/syslog.h: Likewise.
1908 * include/sys/time.h: Likewise.
1909 * include/sys/uio.h: Likewise.
1910 * include/time.h: Likewise.
1911 * include/unistd.h: Likewise.
1912 * include/utmp.h: Likewise.
1913 * include/wchar.h: Likewise.
1914 * include/wctype.h: Likewise.
1915 * inet/aliases.h: Likewise.
1916 * inet/arpa/inet.h: Likewise.
1917 * inet/netinet/ether.h: Likewise.
1918 * inet/netinet/in.h: Likewise.
1919 * intl/libintl.h: Likewise.
1920 * io/bits/fcntl2.h: Likewise.
1921 * io/fcntl.h: Likewise.
1922 * io/ftw.h: Likewise.
1923 * io/sys/poll.h: Likewise.
1924 * io/sys/stat.h: Likewise.
1925 * io/sys/statfs.h: Likewise.
1926 * io/sys/statvfs.h: Likewise.
1927 * io/utime.h: Likewise.
1928 * libio/bits/stdio.h: Likewise.
1929 * libio/bits/stdio2.h: Likewise.
1930 * libio/libio.h: Likewise.
1931 * libio/libioP.h: Likewise.
1932 * libio/stdio.h: Likewise.
1933 * locale/lc-ctype.c: Likewise.
1934 * locale/locale.h: Likewise.
1935 * login/utmp.h: Likewise.
1936 * malloc/arena.c: Likewise.
1937 * malloc/malloc.c: Likewise.
1938 * malloc/malloc.h: Likewise.
1939 * malloc/mcheck.c: Likewise.
1940 * malloc/mtrace.c: Likewise.
1941 * math/bits/mathcalls.h: Likewise.
1942 * math/fenv.h: Likewise.
1943 * math/math_private.h: Likewise.
1944 * misc/bits/error.h: Likewise.
1945 * misc/bits/syslog.h: Likewise.
1946 * misc/err.h: Likewise.
1947 * misc/error.h: Likewise.
1948 * misc/fstab.h: Likewise.
1949 * misc/mntent.h: Likewise.
1950 * misc/regexp.h: Likewise.
1951 * misc/search.h: Likewise.
1952 * misc/sgtty.h: Likewise.
1953 * misc/sys/mman.h: Likewise.
1954 * misc/sys/syslog.h: Likewise.
1955 * misc/sys/uio.h: Likewise.
1956 * misc/sys/xattr.h: Likewise.
1957 * misc/ttyent.h: Likewise.
1958 * nis/rpcsvc/ypclnt.h: Likewise.
1959 * nss/nss.h: Likewise.
1960 * posix/bits/unistd.h: Likewise.
1961 * posix/fnmatch.h: Likewise.
1962 * posix/glob.h: Likewise.
1963 * posix/sched.h: Likewise.
1964 * posix/spawn.h: Likewise.
1965 * posix/sys/wait.h: Likewise.
1966 * posix/unistd.h: Likewise.
1967 * posix/wordexp.h: Likewise.
1968 * pwd/pwd.h: Likewise.
1969 * resolv/netdb.h: Likewise.
1970 * resource/sys/resource.h: Likewise.
1971 * rt/aio.h: Likewise.
1972 * rt/bits/mqueue2.h: Likewise.
1973 * rt/mqueue.h: Likewise.
1974 * shadow/shadow.h: Likewise.
1975 * signal/signal.h: Likewise.
1976 * socket/send.c: Likewise.
1977 * socket/sendto.c: Likewise.
1978 * socket/sys/socket.h: Likewise.
1979 * stdio-common/printf.h: Likewise.
1980 * stdlib/bits/stdlib.h: Likewise.
1981 * stdlib/fmtmsg.h: Likewise.
1982 * stdlib/monetary.h: Likewise.
1983 * stdlib/stdlib.h: Likewise.
1984 * stdlib/ucontext.h: Likewise.
1985 * streams/stropts.h: Likewise.
1986 * string/argz.h: Likewise.
1987 * string/bits/string2.h: Likewise.
1988 * string/string.h: Likewise.
1989 * string/strings.h: Likewise.
1990 * sunrpc/rpc/auth.h: Likewise.
1991 * sunrpc/rpc/auth_des.h: Likewise.
1992 * sunrpc/rpc/clnt.h: Likewise.
1993 * sunrpc/rpc/netdb.h: Likewise.
1994 * sunrpc/rpc/pmap_clnt.h: Likewise.
1995 * sunrpc/rpc/xdr.h: Likewise.
1996 * sysdeps/generic/inttypes.h: Likewise.
1997 * sysdeps/generic/net/if.h: Likewise.
1998 * sysdeps/generic/sys/swap.h: Likewise.
1999 * sysdeps/gnu/net/if.h: Likewise.
2000 * sysdeps/gnu/utmpx.h: Likewise.
2001 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2002 * sysdeps/i386/i486/bits/string.h: Likewise.
2003 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2004 * sysdeps/s390/bits/string.h: Likewise.
2005 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2006 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2007 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2008 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2009 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2010 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2011 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2012 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2013 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2014 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2015 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2016 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2017 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2018 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2019 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2021 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2023 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2025 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2026 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2027 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2028 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2029 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2030 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2031 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2032 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2033 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2034 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2035 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2036 * sysvipc/sys/ipc.h: Likewise.
2037 * sysvipc/sys/msg.h: Likewise.
2038 * sysvipc/sys/sem.h: Likewise.
2039 * sysvipc/sys/shm.h: Likewise.
2040 * termios/termios.h: Likewise.
2041 * time/sys/time.h: Likewise.
2042 * time/time.h: Likewise.
2043 * wcsmbs/bits/wchar2.h: Likewise.
2044 * wcsmbs/uchar.h: Likewise.
2045 * wcsmbs/wchar.h: Likewise.
2046 * wctype/wctype.h: Likewise.
2047
0269750c
UD
2048 [BZ #13551]
2049 * Makeconfig: Remove all but ELF support including AIX support.
2050 * Makerules: Likewise.
2051 * config.h.in: Likewise.
2052 * config.make.in: Likewise.
2053 * configure: Likewise.
2054 * configure.in: Likewise.
2055 * csu/Makefile: Likewise.
2056 * csu/version.c: Likewise.
2057 * debug/Makefile: Likewise.
2058 * dlfcn/Makefile: Likewise.
2059 * elf/Makefile: Likewise.
2060 * extra-lib.mk: Likewise.
2061 * iconv/Makefile: Likewise.
2062 * include/libc-symbols.h: Likewise.
2063 * include/shlib-compat.h: Likewise.
2064 * resolv/Makefile: Likewise.
2065 * resolv/res_libc.c: Likewise.
2066 * rt/Makefile: Likewise.
2067 * sysdeps/i386/asm-syntax.h: Likewise.
2068 * sysdeps/i386/sysdep.h: Likewise.
2069 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2070 * sysdeps/mach/sysdep.h: Likewise.
2071 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2072 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2073 * sysdeps/s390/asm-syntax.h: Likewise.
2074 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2075 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2076 * sysdeps/sh/sysdep.h: Likewise.
2077 * sysdeps/unix/sparc/sysdep.h: Likewise.
2078 * sysdeps/wordsize-32/divdi3.c: Likewise.
2079 * sysdeps/x86_64/sysdep.h: Likewise.
2080
00bbd29b
UD
2081 * argp/Versions: Remove _argp_unlock_xxx.
2082
2083 [BZ #13559]
2084 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2085 * abilist/libBrokenLocale.abilist: Likewise.
2086 * abilist/libanl.abilist: Likewise.
2087 * abilist/libc.abilist: Likewise.
2088 * abilist/libcrypt.abilist: Likewise.
2089 * abilist/libdl.abilist: Likewise.
2090 * abilist/libm.abilist: Likewise.
2091 * abilist/libnsl.abilist: Likewise.
2092 * abilist/libpthread.abilist: Likewise.
2093 * abilist/libresolv.abilist: Likewise.
2094 * abilist/librt.abilist: Likewise.
2095 * abilist/libthread_db.abilist: Likewise.
2096 * abilist/libutil.abilist: Likewise.
2097 * abilist/libnss_db.abilist: New file.
2098
2099 * scripts/abilist.awk: Add support for indirect functions.
2100
a2693a0e
UD
2101 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2102
3f05895f
UD
2103 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2104
ecb6fb48
UD
2105 * shlib-versions: Remove entries for ports architectures.
2106
664f8cb9
UD
2107 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2108 files in ports.
2109 * elf/stackguard-macros.h: Remove support for IA-64.
2110 * elf/tst-auditmod1.c: Likewise.
2111 * sysdeps/generic/ldsodefs.h: Likewise.
2112
7ae81d88
UD
2113 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2114 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2115 configure files.
2116
bdeba135
UD
2117 [BZ #13552]
2118 * configure.in: Remove --enable-omitfp support.
2119 * FAQ.in: Adjust.
2120 * config.make.in: Likewise.
2121 * Makeconfig: Likewise.
2122 * manual/install.texi: Likewise.
2123
d75a0a62
UD
2124 In case anyone cares, the IA-64 architecture could move to ports.
2125 * sysdeps/ia64/*: Removed.
2126 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2127 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2128
dcc9756b
UD
2129 [BZ #13555]
2130 * configure.in: Remove entries for unsupported architectures.
2131
d3761ebc 2132 [BZ #13533]
9954432e
UD
2133 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2134 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2135 routines.
2136 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2137 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2138 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2139 fall back to using wcrtomb.
2140 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2141 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2142 renaming.
2143 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2144 * wcsmbs/tst-c16c32-1.c: New file.
2145
2146 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2147 local variable.
2148
c3a87236
UD
2149 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2150
28926a1b
UD
2151 * elf/tst-unique3.cc: Add explicit declaration of gets.
2152 * elf/tst-unique3lib.cc: Likewise.
2153 * elf/tst-unique3lib2.cc: Likewise.
2154 * elf/tst-unique4.cc: Likewise.
2155
df78418a
UD
2156 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2157
8ecd6b2a
JM
21582012-01-06 Joseph Myers <joseph@codesourcery.com>
2159
2160 [BZ #13566]
2161 * assert/assert.h (static_assert): Don't define for C++.
2162 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2163 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2164
9f115170
UD
21652012-01-03 Ulrich Drepper <drepper@gmail.com>
2166
5e0d0300
UD
2167 * iconv/loop.c (single loop): Fix assertion in storing of
2168 remaining bytes.
2169
9f115170
UD
2170 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2171
81fb02b0
UD
21722012-01-01 Ulrich Drepper <drepper@gmail.com>
2173
2174 * posix/getconf.c: Update copyright year.
2175 * nss/getent.c: Likewise.
a316c1f6 2176 * nss/makedb.c: Likewise.
81fb02b0
UD
2177 * iconv/iconvconfig.c: Likewise.
2178 * iconv/iconv_prog.c: Likewise.
2179 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2180 * elf/pldd.c: Likewise.
2181 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2182 * catgets/gencat.c: Likewise.
2183 * csu/version.c: Likewise.
2184 * elf/ldd.bash.in: Likewise.
2185 * elf/sprof.c (print_version): Likewise.
2186 * locale/programs/locale.c: Likewise.
2187 * locale/programs/localedef.c: Likewise.
a316c1f6 2188 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2189 * nscd/nscd.c (print_version): Likewise.
2190 * debug/xtrace.sh: Likewise.
2191 * malloc/memusage.sh: Likewise.
2192 * malloc/mtrace.pl: Likewise.
2193 * debug/catchsegv.sh: Likewise.
2194
2ba92745
JJ
21952011-12-30 Jakub Jelinek <jakub@redhat.com>
2196
2197 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2198 pure attribute.
2199
dadebdae
UD
22002011-12-24 Ulrich Drepper <drepper@gmail.com>
2201
d3761ebc 2202 [BZ #13533]
db6af3eb
UD
2203 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2204 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2205 transformations.
2206 * iconv/gconv_int.h: Likewise.
2207 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2208 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2209 from libc for GLIBC_2.16.
2210 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2211 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2212 * wcsmbs/uchar.h: Really define mbstate_t.
2213 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2214 * wcsmbs/c16rtomb.c: New file.
2215 * wcsmbs/mbrtoc16.c: New file.
2216 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2217 for C/POSIX locale.
2218 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2219 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2220
dadebdae
UD
2221 * wcsmbs/wchar.h: Add missing __restrict.
2222
67371b56
UD
22232011-12-23 Ulrich Drepper <drepper@gmail.com>
2224
74033a25
UD
2225 [BZ #13532]
2226 * time/Makefile (routines): Add timespec_get.
2227 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2228 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2229 timespec for ISO C11.
2230 * time/timespec_get.c: New file.
2231 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2232 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2233
380d7e87
UD
2234 [BZ #13531]
2235 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2236 * stdlib/stdlib.h: Declare aligned_alloc.
2237 * Versions.def: Add GLIBC_2.16 for libc.
2238 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2239
4e9e7a35
UD
2240 [BZ 13527]
2241 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2242 ISO C11.
2243
380d7e87 2244 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2245 code.
2246
03a71829
UD
2247 [BZ #13528]
2248 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2249
839e283e
UD
2250 [BZ #13529]
2251 * assert/assert.h (static_assert): Define.
2252
ce5294e2 2253 * version.h: Update for 2.16 development version.
90fa7312 2254
8d44e150 2255 [BZ #13526]
d7809905
UD
2256 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2257 _ISOC11_SOURCE.
2258
c0da14cd
UD
2259 * version.h (RELEASE): Bump for 2.15 release.
2260 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2261
530a3249
MP
2262 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2263 Patch by Marek Polacek <mpolacek@redhat.com>.
2264
67371b56
UD
2265 * bits/byteswap.h: Protect long long constants with __extension__.
2266 * sysdeps/i386/bits/byteswap.h: Likewise.
2267 * sysdeps/ia64/bits/byteswap.h: Likewise.
2268 * sysdeps/s390/bits/byteswap.h: Likewise.
2269 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2270
15db4de1
LD
22712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2272
2273 [BZ #13540]
bbe315ea
LD
2274 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2275 destination buffer.
15db4de1
LD
2276 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2277
2b2596b1
MP
22782011-12-23 Marek Polacek <polacek@redhat.com>
2279
2280 * elf/dl-addr.c (determine_info): Add inline keyword.
2281 * elf/tst-auditmod4b.c (check_avx): Likewise.
2282 * elf/tst-auditmod6b.c (check_avx): Likewise.
2283 * elf/tst-auditmod6c.c (check_avx): Likewise.
2284 * elf/tst-auditmod7b.c (check_avx): Likewise.
2285
70c6c246
UD
22862011-12-23 Ulrich Drepper <drepper@gmail.com>
2287
2288 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2289 !__SSE_MATH__.
2290
c044cf14
LD
22912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2292
15db4de1 2293 [BZ #13540]
c044cf14
LD
2294 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2295 processing for last bytes.
2296
6b13d9d9
BH
22972011-08-06 Bruno Haible <bruno@clisp.org>
2298
d455f537
BH
2299 [BZ #13061]
2300 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2301 U+0385, not to U+1FEE.
2302
6b13d9d9
BH
2303 [BZ #13062]
2304 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2305 entry for U+00A5 U+0301.
2306
db910efd
UD
23072011-12-22 Ulrich Drepper <drepper@gmail.com>
2308
27deeafc
UD
2309 [BZ #13166]
2310 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2311 buffer for the output is too small.
2312
aed9d171
UD
2313 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2314 optimization.
2315
db910efd
UD
2316 [BZ #13185]
2317 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2318 SSE flags if possible.
2319
2bd779ae
LD
23202011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2321
e7f9dac3 2322 [BZ #13540]
2bd779ae
LD
2323 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2324 processing for last bytes.
2325
154bfc16
JM
23262011-12-22 Joseph Myers <joseph@codesourcery.com>
2327
2328 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2329 (syscall-list-default-options, syscall-list-default-condition)
2330 (syscall-list-includes): Define.
2331 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2332 list of ABIs and options and #if conditions for each ABI. Do not
2333 handle common syscalls between ABIs specially.
2334 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2335 Remove.
2336 (syscall-list-variants, syscall-list-32bit-options)
2337 (syscall-list-32bit-condition, syscall-list-64bit-options)
2338 (syscall-list-64bit-condition): Define.
2339 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2340 (syscall-list-variants, syscall-list-32bit-options)
2341 (syscall-list-32bit-condition, syscall-list-64bit-options)
2342 (syscall-list-64bit-condition): Define.
2343 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2344 Remove.
2345 (syscall-list-variants, syscall-list-32bit-options)
2346 (syscall-list-32bit-condition, syscall-list-64bit-options)
2347 (syscall-list-64bit-condition): Define.
2348 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2349 Remove.
2350 (syscall-list-variants, syscall-list-32bit-options)
2351 (syscall-list-32bit-condition, syscall-list-64bit-options)
2352 (syscall-list-64bit-condition): Define.
2353
21eaf3a5
UD
23542011-12-22 Ulrich Drepper <drepper@gmail.com>
2355
16c6f992
UD
2356 * locale/iso-639.def: Add brx entry.
2357
41043168
UD
2358 [BZ #13328]
2359 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2360 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2361
21eaf3a5
UD
2362 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2363 __feraiseexcept_renamed.
2364
e3a851a2
UD
23652011-12-21 Ulrich Drepper <drepper@gmail.com>
2366
4920765e
UD
2367 [BZ #13538]
2368 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2369 EPOLLET with unsigned values.
2370 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2371 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2372
e3a851a2
UD
2373 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2374 to large cancellation.
2375 * math/s_cacoshf.c: Likewise.
2376 * math/s_cacoshl.c: Likewise.
2377
b27e24b8
RK
23782011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2379
2380 [BZ #13305]
aebefeee 2381 [BZ #12786]
b27e24b8
RK
2382 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2383 * math/s_cacoshf.c: Likewise.
2384 * math/s_cacoshl.c: Likewise.
2385
ee190f67
UD
23862011-12-21 Ulrich Drepper <drepper@gmail.com>
2387
2388 [BZ #13439]
2389 * iconv/gconv.h: Define __GCONV_SWAP.
2390 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2391 * iconvdata/utf-16.c: Likewise.
2392 * iconvdata/utf-32.c: Likewise.
2393
707f25df
AS
23942011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2395
2396 [BZ #13524]
2397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2398 numerator after shifting it by one limb.
2399
d2daaa1e
RÁE
24002011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2401
2402 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2403 under [__USE_EXTERN_INLINES].
2404
a4647e72
UD
24052011-12-17 Ulrich Drepper <drepper@gmail.com>
2406
2407 [BZ #13446]
2408 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2409
f0b264f1
AZ
24102011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2411
2412 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2413 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2414 optimized code.
2415 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2416 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2417 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2418 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2419 for strncasecmp/strncasecmp_l compilation.
2420 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2421 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2422
8ef4f244
MP
24232011-12-08 Marek Polacek <mpolacek@redhat.com>
2424
2425 [BZ #13484]
2426 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2427 of __asm__.
2428
97ac2654
UD
24292011-12-17 Ulrich Drepper <drepper@gmail.com>
2430
2431 [BZ #13506]
2432 * time/tzfile.c (__tzfile_read): Check values from file header.
2433
91d2a845
WS
24342011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2435
2436 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2437 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2438 * powerpc/powerpc32/dl-start.S: Likewise.
2439 * powerpc/powerpc32/elf/start.S: Likewise.
2440 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2441 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2442 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2443 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2444 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2445 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2446 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2447 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2448 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2449 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2450 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2451 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2452 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2453 * powerpc/powerpc32/memset.S: Likewise.
2454 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2455 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2456 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2457 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2458 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2459 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2460 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2461 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2462 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2463 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2464 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2465 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2466 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2467
a1267ba1
AZ
24682011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2469
2470 * math/libm-test.inc: Added more nearbyint tests.
2471 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2473 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2475
ad8ac1bd
RL
24762011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2477
2478 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2479 FD_CLOEXEC.
2480
1d3e4b61
UD
24812011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2482
2483 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2484 Add wcscpy-ssse3 wcscpy-c.
2485 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2486 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2487 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2488 * sysdeps/x86_64/wcschr.S: New file.
2489 * sysdeps/x86_64/wcsrchr.S: New file.
2490 * string/test-strcmp.c: Remove checking of wcscmp function for
2491 wrong alignments.
2492 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2493 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2494 wcsrchr-sse2 wcsrchr-c.
2495 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2496 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2497 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2498 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2499 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2500 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2501 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2502 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2503 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2504 * wcsmbc/wcschr.c (WCSCHR): New macro.
2505
5b330a2d
UD
25062011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2507
2508 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2509 * wcsmbs/test-wcsrchr.c: New file.
2510 * string/test-strrchr.c: Add wcsrchr support.
2511 (WIDE): New macro.
2512 * wcsmbs/test-wcscpy.c: New file.
2513 * string/test-strcpy.c: Add wcscpy support.
2514 (WIDE): New macro.
26428b7c 2515
f039c043
UD
25162011-12-10 Ulrich Drepper <drepper@gmail.com>
2517
2518 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2519 the inner loop.
2520
850fb039
AS
25212011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2522
2523 [BZ #13472]
2524 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2525
4efbd5cb
UD
25262011-12-04 Ulrich Drepper <drepper@gmail.com>
2527
52ff5dd0 2528 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2529 Minor optimizations.
52ff5dd0 2530
4efbd5cb
UD
2531 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2532 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2533 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2534
8a426e12
UD
25352011-12-03 Ulrich Drepper <drepper@gmail.com>
2536
aff2453d
UD
2537 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2538 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2539 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2540 for gcc to avoid warnings.
2541 * inet/Makefile (tests): Add tst-checks.
2542 * inet/tst-checks.c: New file.
2543
2544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2545 warning.
2546
2547 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2548 __wmemcmp_sse2.
2549
2550 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2551 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2552
8a426e12
UD
2553 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2554
9bea3473
UD
25552011-12-02 Ulrich Drepper <drepper@gmail.com>
2556
3a965496
UD
2557 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2558 problem.
2559
9bea3473
UD
2560 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2561
f101631b
UD
25622011-11-29 Joseph Myers <joseph@codesourcery.com>
2563
2564 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2565 conditional on GCC version.
2566 (__arch_compare_and_exchange_val_8_acq)
2567 (__arch_compare_and_exchange_val_16_acq)
2568 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2569 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2570 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2571
a98275aa
UD
25722011-12-02 Joseph Myers <joseph@codesourcery.com>
2573
2574 * sysdeps/sh/backtrace.c: New file.
2575
d4cc29a2
AS
25762011-12-02 Andreas Schwab <schwab@redhat.com>
2577
2578 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2579 parenthesis.
2580
6257af2d
AS
25812011-12-01 Andreas Schwab <schwab@redhat.com>
2582
2583 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2584 falling back to utime.
2585
b5f44c1a
AS
25862011-11-30 Andreas Schwab <schwab@redhat.com>
2587
2588 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2589 expectations for float.
2590
f3a6cc0a
AS
25912011-11-29 Andreas Schwab <schwab@redhat.com>
2592
2593 * locale/weight.h (findidx): Add parameter len.
2594 * locale/weightwc.h (findidx): Likewise.
2595 * posix/fnmatch_loop.c (FCT): Adjust caller.
2596 * posix/regcomp.c (build_equiv_class): Likewise.
2597 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2598 * posix/regexec.c (check_node_accept_bytes): Likewise.
2599 * string/strcoll_l.c (STRCOLL): Likewise.
2600 * string/strxfrm_l.c (STRXFRM): Likewise.
2601
9d65ea3a
UD
26022011-11-17 Ulrich Drepper <drepper@gmail.com>
2603
2604 * Makefile.in: Remove CVSOPT handling.
2605 * configure.in: Remove use of AC_REVISION.
2606 * iconvdata/Makefile (distribute): No need to filter out CVS.
2607 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2608 handling.
2609
5583a086
AS
26102011-11-16 Andreas Schwab <schwab@redhat.com>
2611
2612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2613 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2614 [USE_AS_STRNCASECMP_L]: Likewise.
2615 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2616 NO_TLS_DIRECT_SEG_REFS.
2617 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2618 Fix argument offsets for non-PIC.
2619 [USE_AS_STRNCASECMP_L]: Likewise.
2620 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2621 NO_TLS_DIRECT_SEG_REFS.
2622
d62a8200
UD
26232011-11-15 Ulrich Drepper <drepper@gmail.com>
2624
9d65ea3a 2625 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2626 O_CLOEXEC.
2627 * locale/loadlocale.c (_nl_load_locale): Likewise.
2628
09f93bd3
AS
26292011-11-15 Andreas Schwab <schwab@redhat.com>
2630
446514f9
AS
2631 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2632 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2633 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2634 (SYSCALL_GETTIME): Set errno on error.
2635
09f93bd3
AS
2636 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2637 count references to noai6ai_cached.
2638
312be3f9
UD
26392011-11-15 Ulrich Drepper <drepper@gmail.com>
2640
2641 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2642
2643 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2644 FD_CLOEXEC for /proc/self/maps.
2645
2646 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2647 FD_CLOEXEC for /proc/meminfo.
2648
2649 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2650 gai.conf.
2651
2652 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2653 FD_CLOEXEC for given file.
2654
2655 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2656
2657 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2658 FD_CLOEXEC for /etc/hosts.
2659 (_gethtent): Likewise.
2660
2661 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2662
2663 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2664 cancellation and set FD_CLOEXEC for /etc/netgroup.
2665
2666 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2667 reading /etc/publickey.
2668
2669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2670 allow cancellation when reading /etc/group.
2671
2672 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2673 cancellation.
2674 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2675
2676 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2677 when using data file.
2678
2679 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2680
2681 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2682 (write_nis_obj): Use "c" and "e" in fopen.
2683
2684 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2685
2686 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2687
2688 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2689
2690 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2691
2692 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2693 locale.alias.
2694
2695 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2696
2697 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2698
2699 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2700
2701 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2702 file parsing and set FD_CLOEXEC.
2703
82af0fa8
UD
27042011-11-14 Ulrich Drepper <drepper@gmail.com>
2705
2706 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2707
a5fb313c
AS
27082011-11-14 Andreas Schwab <schwab@redhat.com>
2709
2710 * malloc/arena.c (arena_get2): Don't call reused_arena when
2711 _int_new_arena failed.
2712
6abf3465
UD
27132011-11-14 Ulrich Drepper <drepper@gmail.com>
2714
2715 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2716 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2717 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2718 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2719 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2720 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2721 to compile strcasecmp and strncasecmp.
2722 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2723 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2724
2725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2726
76e3966e
UD
27272011-11-13 Ulrich Drepper <drepper@gmail.com>
2728
2729 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2730 locale-defines.sym to gen-as-const-headers.
2731 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2732 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2734 to compile strcasecmp and strncasecmp.
2735 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2736 strcasecmp_l and strncasecmp_l.
2737 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2738 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2739 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2740 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2741 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2742 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2743 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2744 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2745 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2746 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2747 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2748
ab26144e
UD
27492011-11-12 Ulrich Drepper <drepper@gmail.com>
2750
7edb22ef
UD
2751 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2752 result of SYSDEP_GETTIME_CPU to retval.
2753 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2754 parameter list to macro. Remove trailing semicolon. Adjust users.
2755
9694fc44
UD
2756 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2757 variable.
2758
8ad89ef8
UD
2759 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2760 mantissa words.
2761 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2762
0c822ef9
UD
2763 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2764 from unused variable.
2765
874e0564
UD
2766 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2767 DWARF definitions.
2768 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2769 for assembling.
2770
3a2edc79
UD
2771 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2772 over namespaces.
2773
f3c2577f
UD
2774 * sunrpc/rpc_prot.c (rejected): Fix case value.
2775
294ce126
UD
2776 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2777 unsigned long long int to avoid warnings in shift.
2778
5e2b63c6
UD
2779 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2780 of use of trans.
2781 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2782 variable tmp.
2783
e7f4b08e
UD
2784 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2785 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2786 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2787
ab26144e
UD
2788 * nis/nis_table.c (nis_list): Use variable of correct type for
2789 result of __follow_path call.
2790
8a6d5255
AZ
27912011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2792
2793 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2794 of math functions ceil, trunc, floor, round, and sqrt, when
2795 avaliable on the platform.
2796 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2797 name clash.
2798 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2799 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2800 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2801
aaddc98c
MP
28022011-10-30 Marek Polacek <mpolacek@redhat.com>
2803
2804 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2805 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2806
95b7042b
RM
28072011-11-11 Roland McGrath <roland@hack.frob.com>
2808
2809 * include/unistd.h: Fix __readlink return type.
2810 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2811
57769839
UD
28122011-11-11 Ulrich Drepper <drepper@gmail.com>
2813
2814 * stdlib/ucontext.h: Undo last change for makecontext.
2815
edc5984d
AS
28162011-11-11 Andreas Schwab <schwab@redhat.com>
2817
98591e58
AS
2818 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2819
edc5984d
AS
2820 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2821 * setjmp/setjmp.h: Mark functions as non-leaf.
2822 * setjmp/bits/setjmp2.h: Likewise.
2823 * stdlib/ucontext.h: Likewise.
2824
77cdc054
AS
28252011-11-10 Andreas Schwab <schwab@redhat.com>
2826
2827 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2828 (reused_arena): Don't check arena limit.
2829 (arena_get2): Atomically check arena limit.
2830
fe72eebd
UD
28312011-11-08 Ulrich Drepper <drepper@gmail.com>
2832
5f078c32
UD
2833 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2834 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2835
fe72eebd
UD
2836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2837 instructions.
2838
ae1bc2fa
AS
28392011-11-07 Andreas Schwab <schwab@redhat.com>
2840
7583a88d
AS
2841 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2842 handler when locking.
2843
ae1bc2fa
AS
2844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2845 Fix size of allocated buffer.
2846
10fb0bfa
AS
28472011-11-04 Andreas Schwab <schwab@redhat.com>
2848
998832a4
AS
2849 [BZ #10103]
2850 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2851 declarations for long double functions.
2852 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2853
10fb0bfa
AS
2854 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2855
3d7ba52b
AS
28562011-11-03 Andreas Schwab <schwab@redhat.com>
2857
a9ae54a1
AS
2858 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2859 installed.
2860
3d7ba52b
AS
2861 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2862 is disabled.
2863
bc8db248
ST
28642011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2865
2866 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2867
45b96dd6
AS
28682011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2869
647776f6
AS
2870 * include/alloca.h (stackinfo_alloca_round): Define.
2871 (extend_alloca): Use it.
2872 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2873 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2874 here.
2875
d91a8b93
AS
2876 * scripts/check-local-headers.sh: Ignore libaudit.h.
2877
45b96dd6
AS
2878 * nscd/Makefile (extra-objs): Make recursively expanded.
2879
432d41ce
UD
28802011-11-01 Ulrich Drepper <drepper@gmail.com>
2881
34372fc6
UD
2882 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2883 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2884
fadb59f8
UD
2885 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2886 * posix/tst-rfc3484-2.c: Likewise.
2887 * posix/tst-rfc3484-3.c: Likewise.
2888
78239589
UD
2889 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2890 process_vm_writev.
2891 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2892 process_vm_writev.
2893 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2894 process_vm_writev from libc using GLIBC_2.15 version.
2895
432d41ce
UD
2896 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2897
02f9c6cf
PP
28982011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2899
2900 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2901 stack usage.
2902
3a2c0242
UD
29032011-10-31 Ulrich Drepper <drepper@gmail.com>
2904
f4ec4833
UD
2905 [BZ #13367]
2906 * nss/getent.c (initgroups_keys): Show error message in case no group
2907 names are given.
2908
3a2c0242
UD
2909 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2910 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2911 __bump_nl_timestamp.
2912 * nscd/connections (nscd_init): When host database is served open
2913 netlink socket and request notification about configuration changes.
2914 (main_loop_poll): Track netlink file descriptor and bump timestamp
2915 in case data becomes available.
2916 (main_loop_epoll): Likewise.
2917 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2918 (database_pers_head): Add extra_data fileds.
2919 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2920 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2921 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2922 Adjust caller.
2923 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2924 in6ai data, call __free_in6ai.
2925 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2926 Add -DHAVE_NETLINK.
2927 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2928 interface information. Reuse previous data if netlink timestamp
2929 is not changed.
2930 (__bump_nl_timestamp): New function.
2931 (__free_in6ai): New function.
2932
636064eb
UD
29332011-10-30 Ulrich Drepper <drepper@gmail.com>
2934
2935 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2936 close_not_cancel_no_status here.
2937 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2938
9beb2334
UD
29392011-10-29 Ulrich Drepper <drepper@gmail.com>
2940
6ef76f3b
UD
2941 [BZ #13276]
2942 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2943 return value.
2944
0ffc4f3e 2945 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
2946 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2947 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2948
cb95113e
UD
29492011-07-03 Andreas Jaeger <aj@suse.de>
2950
2951 [BZ #10709]
2952 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2953 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2954 * math/libm-test.inc (sin_test): Add test case.
2955
a1b560ff
UD
29562011-10-29 Ulrich Drepper <drepper@gmail.com>
2957
c9aaface
UD
2958 [BZ #13337]
2959 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2960 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2961
d272e7f1
UD
2962 * elf/chroot_canon.c (chroot_canon): Cleanups.
2963
1bc33071
UD
2964 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2965
1760874d
TJ
2966 [BZ #13335]
2967 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2968 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2969
51d91b18
UD
2970 * string/test-strchr.c: Make usable for strchrnul testing.
2971 * string/test-strchrnul.c: New file.
2972 * string/Makefile (strop-tests): Add strchrnul.
2973
a1b560ff 2974 * po/it.po: Update from translation team.
b611fb81 2975 * po/es.po: Likewise.
a1b560ff 2976
a5b81e1f
UD
29772011-10-28 Ulrich Drepper <drepper@gmail.com>
2978
fd52bc6d
UD
2979 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2980 the three constants needed as parameters. Drop the others.
2981 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2982 __m128i_strloadu_tolower.
52e4b9eb
UD
2983 Create and initialize variable zero and use it in all the places
2984 where _mm_setzero_si128 was used.
fd52bc6d 2985
a5b81e1f
UD
2986 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2987 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2988 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2989 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2990 anymore.
2991 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2992 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2993 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2994 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2995 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2996 __mpranred, __mptan.
2997 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2998 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2999 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3000 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3001 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3002 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3003 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3004 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3005 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3006
b4343346
AS
30072011-10-28 Andreas Schwab <schwab@redhat.com>
3008
0c92d8a8
AS
3009 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3010 redefine if SHARED.
3011 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3012
b4343346
AS
3013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3014 wide char related routines to wcsmbs subdir.
3015
3871f58f
AS
30162011-10-27 Andreas Schwab <schwab@redhat.com>
3017
3018 [BZ #13344]
3019 * misc/sys/cdefs.h (__THROWNL): Define.
3020 * posix/unistd.h: Use __THREADNL instead of __THREAD
3021 for memory synchronization functions.
3022
94d44d9f
RM
30232011-10-26 Roland McGrath <roland@hack.frob.com>
3024
21b64b15 3025 [BZ #13349]
94d44d9f
RM
3026 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3027 doesn't exist.
3028 * manual/stdio.texi (Obstack Streams): Node removed.
3029
f6ce9294
AS
30302011-10-26 Andreas Schwab <schwab@redhat.com>
3031
80479147
AS
3032 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3033 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3034 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3035
f6ce9294
AS
3036 * math/math_private.h (math_force_eval): Allow non-addressable
3037 arguments.
3038 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3039
618280a1
UD
30402011-10-25 Ulrich Drepper <drepper@gmail.com>
3041
e0016b11
UD
3042 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3043 file is not needed.
3044
3045 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3046 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3047 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3048 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3049 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3050 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3051 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3052 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3053 Add AVX variants.
3054 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3055 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3056 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3057 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3058 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3059 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3060 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3061 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3062 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3063 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3064 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3065 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3067 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3068 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3069 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3070 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3071 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3072 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3073
3074 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3075 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3076
618280a1
UD
3077 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3078 place. Use VEX encoding when compiling for AVX.
3079
37822576
AS
30802011-10-25 Andreas Schwab <schwab@redhat.com>
3081
1f1e1947
AS
3082 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3083 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3084
37822576
AS
3085 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3086
31ea014d
UD
30872011-10-25 Ulrich Drepper <drepper@gmail.com>
3088
d7826aa1 3089 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3090 useless if() expression.
d7826aa1
UD
3091 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3093 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3095 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3096 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3097 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3098 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3099 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3101 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3102 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3103 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3104 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3105 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3107 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3109 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3110
31ea014d
UD
3111 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3112
16437fec
AS
31132011-10-25 Andreas Schwab <schwab@redhat.com>
3114
3115 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3116 condition.
3117 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3118
31d3cc00
UD
31192011-10-25 Ulrich Drepper <drepper@gmail.com>
3120
3121 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3122 .text section. Avoid duplicate constants.
3123 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3130 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3131 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3132 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3133 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3134 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3135 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3136 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3137 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3138 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3139 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3140 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3141 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3143 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3144 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3145 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3146 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3147 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3148 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3149 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3150 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3151 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3152 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3153 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3154 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3155 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3156 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3157 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3158 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3159 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3160 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3161 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3162 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3163 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3164 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3165 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3166 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3167 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3168
58985aa9
UD
31692011-10-24 Ulrich Drepper <drepper@gmail.com>
3170
202c9deb
UD
3171 * sysdeps/x86_64/dla.h: Move to ...
3172 * sysdeps/x86_64/fpu/dla.h: ...here.
3173 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3174 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3175
af968f62
UD
3176 * config.make.in: Add have-mfma4 entry.
3177 * configure.in: Substitute libc_cv_cc_fma4.
3178 * math/Makefile (dbl-only-routines): Add sincostab.
3179 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3180 Use __sincostab not sincos.
3181 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3182 name is a macro.
3183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3184 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3187 using __copysign.
3188 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3189 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3190 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3191 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3192 and __inv.
3193 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3194 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3195 __copysign.
3196 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3197 define aliases when function name is a macro.
3198 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3199 sysdeps/ieee754/dbl-64/sincos.tbl.
3200 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3201 fma4-enabled routines.
3202 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3203 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3204 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3205 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3206 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3207 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3208 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3209 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3211 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3212 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3213 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3214 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3215 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3217 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3218 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3219 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3220 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3221 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3222 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3223 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3224 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3225 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3227 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3229 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3230 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3231 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3232
58985aa9
UD
3233 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3234 rename.
3235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3243
a201fbcf
AS
32442011-10-24 Andreas Schwab <schwab@redhat.com>
3245
3246 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3247
fc2ee42a
LD
32482011-10-23 Ulrich Drepper <drepper@gmail.com>
3249
bb3129bd
UD
3250 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3251
0275fff8
UD
3252 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3253 prediction.
3254 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3255
2fa2ae85
UD
3256 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3257 Remove unused variable magic_bits.
3258 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3259
fc2ee42a
LD
3260 * string/strnlen.c: Define and use STRNLEN macro.
3261 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3262 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3263 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3264 * wcsmbs/wcslen.c: Define and use WCSLEN.
3265 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3266 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3267 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3268 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3269 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3270 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3271 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3272
ce7dd29f
LD
32732011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3274
3275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3276 strnlen-sse2-no-bsf.
3277 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3279 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3280 Add strnlen support.
3281 (USE_AS_STRNLEN): New macro.
3282 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3283 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3284 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3285 * sysdeps/x86_64/wcslen.S: New file.
3286
979c70a3
MZ
32872011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3288
3289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3290 XMM-moves are used for copying on small sizes.
3291
2d09f82f
LD
32922011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3293
3294 * wcsmbs/Makefile (strop-tests): Add wcschr.
3295 * wcsmbs/test-wcschr.c: New file.
3296 * string/test-strchr.c: Update.
3297 Add wcschr support.
3298 (WIDE): New macro.
3299
619fccca
LD
33002011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3301
2d09f82f 3302 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3303 * wcsmbs/test-wcslen.c: New file.
3304 * string/test-strlen.c: Update.
3305 Add wcslen support.
3306 (WIDE): New macro.
3307
09f699ea
UD
33082011-10-23 Ulrich Drepper <drepper@gmail.com>
3309
3310 * po/it.po: Update from translation team.
3311
95584d3b
LD
33122011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3313
3314 * sysdeps/x86_64/wcscmp.S: Update.
3315 Fix wrong comparison semantics.
3316 wcscmp shall use signed comparison not unsigned.
3317 Don't use substraction to avoid overflow bug.
3318 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3319 * wcsmbc/wcscmp.c: Likewise.
3320 * string/test-strcmp.c: Likewise.
3321 Add new tests to check cases with negative values.
3322
c8b3296b
UD
33232011-10-23 Ulrich Drepper <drepper@gmail.com>
3324
3325 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3326 * sysdeps/x86_64/dla.h: ...here. New file.
3327 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3330 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3336
246ad57a
AS
33372011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3338
3339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3340 __ynl_finite aliases.
3341
a1a87169
UD
33422011-10-22 Ulrich Drepper <drepper@gmail.com>
3343
0d355eb7
UD
3344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3345
a1a87169
UD
3346 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3347 define DLA_FMA.
3348 [DLA_FMA] (EMULV): Use DLA_FMA.
3349 [DLA_FMA] (MUL12): Use EMULV.
3350 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3351 that are not needed.
3352 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3357 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3359
ee2aafe0
AS
33602011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3361
3362 * math/s_nan.c: Undef __nan.
3363 * math/s_nanf.c: Undef __nanf.
3364 * math/s_nanl.c: Undef __nanl.
3365 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3366 "math_private.h".
3367
bc62c2fb
UD
33682011-10-22 Ulrich Drepper <drepper@gmail.com>
3369
77425c63
UD
3370 * math/s_catan.c: Add branch predictions.
3371 * math/s_catanf.c: Likewise.
3372 * math/s_catanh.c: Likewise.
3373 * math/s_catanhf.c: Likewise.
3374 * math/s_catanhl.c: Likewise.
3375 * math/s_catanl.c: Likewise.
3376 * math/s_cexp.c: Likewise.
3377 * math/s_cexpf.c: Likewise.
3378 * math/s_cexpl.c: Likewise.
3379 * math/s_clog.c: Likewise.
3380 * math/s_clog10.c: Likewise.
3381 * math/s_clog10f.c: Likewise.
3382 * math/s_clog10l.c: Likewise.
3383 * math/s_clogf.c: Likewise.
3384 * math/s_clogl.c: Likewise.
3385 * math/s_csqrt.c: Likewise.
3386 * math/s_csqrtf.c: Likewise.
3387 * math/s_csqrtl.c: Likewise.
3388 * math/s_ctanf.c: Likewise.
3389 * math/s_ctanh.c: Likewise.
3390 * math/s_ctanhf.c: Likewise.
3391 * math/s_ctanhl.c: Likewise.
3392 * math/s_ctanl.c: Likewise.
3393
bc62c2fb
UD
3394 * math/math_private.h: Define __nan, __nanf, __nanl.
3395 * math/s_cacosh.c: Include <math_private.h>.
3396 * math/s_cacoshl.c: Likewise.
3397 * math/s_casinh.c: Likewise.
3398 * math/s_casinhf.c: Likewise.
3399 * math/s_casinhl.c: Likewise.
3400 * math/s_ccos.c: Rely entire on ccosh.
3401 * math/s_ccosf.c: Rely entire on ccoshf.
3402 * math/s_ccosl.c: Rely entirely on ccoshl.
3403 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3404 Remove tests for FE_INVALID.
3405 * math/s_ccoshf.c: Likewise.
3406 * math/s_ccoshl.c: Likewise.
3407 * math/s_csin.c: Likewise.
3408 * math/s_csinf.c: Likewise.
3409 * math/s_csinh.c Likewise.
3410 * math/s_csinhf.c: Likewise.
3411 * math/s_csinhl.c: Likewise.
3412 * math/s_csinl.c: Likewise.
3413 * math/s_ctan.c: Likewise.
3414 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3415 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3416 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3417
8ec250a4
UD
34182011-10-21 Ulrich Drepper <drepper@gmail.com>
3419
c196fed8
UD
3420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3421 compilation problems.
3422
8ec250a4
UD
3423 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3424 __builtin_expect.
3425
8d4f46c6
UD
34262011-10-20 Ulrich Drepper <drepper@gmail.com>
3427
ed72b654
UD
3428 * sysdeps/i386/configure.in: Test for -mfma4 option.
3429 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3430 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3431 COMMON_CPUID_INDEX_80000001.
3432 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3433 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3434 use it if FMA3 is not supported.
3435 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3436
8d4f46c6
UD
3437 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3438 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3439
d45c60c2
AS
34402011-10-20 Andreas Schwab <schwab@redhat.com>
3441
3442 [BZ #12892]
3443 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3444 it would create a cycle with a link time dependency.
3445
d9a4d2ab
UD
34462011-10-19 Ulrich Drepper <drepper@gmail.com>
3447
855d1560
UD
3448 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3449 instruction.
3450 * string/Makefile (strop-tests): Add rawmemchr.
3451 * string/test-rawmemchr.c: New file.
3452
d9a4d2ab
UD
3453 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3454 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3455 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3456 when compiling str{,n}casecmp and when AVX is available. Hook up
3457 new optimized code in initializers.
3458
8f3b1ffe
AS
34592011-10-19 Andreas Schwab <schwab@redhat.com>
3460
3461 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3462 __feraiseexcept instead of feraiseexcept.
3463
d38f1dba
UD
34642011-10-18 Ulrich Drepper <drepper@gmail.com>
3465
d9a8d0ab
UD
3466 * math/math_private.h: Define defaults for libc_fetestexcept and
3467 libc_feupdateenv.
3468 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3469 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3470 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3471 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3472 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3473 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3474 libc_fetestexcept and libc_feupdateenv.
3475
4855e3dd
UD
3476 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3477 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3478 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3479 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3480 libc_feholdexcept_setround.
3481
581d30e3
UD
3482 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3483 Add s_nearbyint-c and s_nearbyintf-c.
3484 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3485 nearbyintf inlines.
3486 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3487 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3488 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3489 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3490
d38f1dba
UD
3491 * math/math_private.h: Define defaults for libc_fegetround,
3492 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3493 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3494 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3495 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3496 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3497 standard functions.
3498 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3499 Remove comments and hacks for old compiler versions.
3500 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3501 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3502 libc_feholdexceptl.
3503
caa6c9d8
AS
35042011-10-18 Andreas Schwab <schwab@redhat.com>
3505
3506 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3507 (__feraiseexcept_renamed): Add __NTH.
3508 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3509 namespace violations.
3510
97c066e6
UD
35112011-10-17 Ulrich Drepper <drepper@gmail.com>
3512
99ce7b04
UD
3513 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3514
1004d182
UD
3515 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3516
228a984d
UD
3517 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3518 recently added interfaces.
3519 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3520
c8553a6a
UD
3521 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3522 about macro parameter expansion.
3523
ed22dcf6
UD
3524 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3525 __NO_MATH_INLINES is defined. Cleanups.
3526
3527 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3528 and __floorf is target has SSE4.1.
3529 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3530 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3531 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3532 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3533
b171c137
UD
3534 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3535 name.
3536 (floorf): Likewise.
3537
97c066e6
UD
3538 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3539
629f62ef
AS
35402011-10-17 Andreas Schwab <schwab@redhat.com>
3541
49a43d80
AS
3542 * misc/sys/cdefs.h: Fix last change.
3543
629f62ef
AS
3544 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3545 database lookup.
3546
e453f6cd
UD
35472011-10-16 Ulrich Drepper <drepper@gmail.com>
3548
aa78043a
UD
3549 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3550
ad0f5cad
UD
3551 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3552 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3557 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3558 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3559 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3560 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3561 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3562 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3563 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3564 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3565 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3566 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3567 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3568 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3569 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3570 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3571 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3572 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3573
3574 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3575 ceil, ceilf, floor, floorf.
3576
3577 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3578 Perform IRELATIVE relocations last.
3579
e453f6cd
UD
3580 * elf/do-rel.h: Add another parameter nrelative, replacing the
3581 local variable with the same name. Change name of the function
3582 to end in Rel or Rela (uppercase).
3583 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3584 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3585 elf_dynamic_do_##reloc function.
3586
fd5bdc09
UD
35872011-10-15 Ulrich Drepper <drepper@gmail.com>
3588
79b195b5
UD
3589 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3590 is sufficient, at least on modern CPUs.
3591
d4a28569
UD
3592 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3593
b61099b5
UD
3594 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3595 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3596
bcf01e6d
UD
3597 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3598 __expl_finite.
3599 * math/bits/math-finite.h: Add entries for exp.
3600 * math/e_expl.c: Add __*_finite alias.
3601 * sysdeps/i386/fpu/e_exp.S: Likewise.
3602 * sysdeps/i386/fpu/e_expf.S: Likewise.
3603 * sysdeps/i386/fpu/e_expl.c: Likewise.
3604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3605 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3606 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3607 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3609 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3610 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3611
ba1a0d59
UD
3612 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3613 is sufficient, at least on modern CPUs.
3614
fd5bdc09
UD
3615 * ctype/ctype-info.c (__ctype_init): Define.
3616 * include/ctype.h (__ctype_init): Declare.
3617 (__ctype_b_loc): The variable is always initialized.
3618 (__ctype_toupper_loc): Likewise.
3619 (__ctype_tolower_loc): Likewise.
3620 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3621 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3622
7872cfb0
AS
36232011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3624
b468825a
AS
3625 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3626
7872cfb0
AS
3627 * configure.in: Also look in $cxxmachine/include for C++ system
3628 headers.
3629
be13f7bf
LD
36302011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3631
3632 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3633 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3634 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3635 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3636 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3637 (USE_AS_WMEMCMP): New macro.
3638 Fixing indents.
3639 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3640 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3641 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3642 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3644 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3645 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3646 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3647 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3648 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3649 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3650 (USE_AS_WMEMCMP): New macro.
3651 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3652 * sysdeps/string/test-memcmp.c: Update.
3653 Fix simple_wmemcmp.
3654 Add new tests.
3655 * wcsmbs/wmemcmp.c: Update.
3656 (WMEMCMP): New macro.
3657 Fix overflow bug.
3658
556a2007
AJ
36592011-10-12 Andreas Jaeger <aj@suse.de>
3660
3661 [BZ #13268]
3662 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3663
538faaa7
UD
36642011-10-15 Ulrich Drepper <drepper@gmail.com>
3665
ab6737ff
UD
3666 * libio/iofwide.c (do_length): Avoid warning.
3667
538faaa7
UD
3668 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3669
396a21b1
UD
36702011-10-14 Ulrich Drepper <drepper@gmail.com>
3671
cdf2901f
UD
3672 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3673
38ad40ce
UD
3674 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3675 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3676 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3677 * sysdeps/i386/i686/fpu/e_log.S: New file.
3678 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3679 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3680
396a21b1
UD
3681 * ctype/ctype.h: Add support for inlined isXXX functions when
3682 compiling C++ code.
3683
6b1f68c9
AS
36842011-10-14 Andreas Schwab <schwab@redhat.com>
3685
349290c0
AS
3686 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3687
6b1f68c9
AS
3688 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3689
f2282d42
RM
36902011-10-13 Roland McGrath <roland@hack.frob.com>
3691
3692 [BZ #13291]
3693 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3694
5298ffa8
AS
36952011-10-13 Andreas Schwab <schwab@redhat.com>
3696
714fad23
AS
3697 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3698 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3699 feraiseexcept.
3700
81dcc7fb
AS
3701 * sysdeps/x86_64/memrchr.S: Check for zero size.
3702
5298ffa8
AS
3703 * string/stratcliff.c: Add memrchr tests.
3704
951fbcec
LD
37052011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3706
3707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3708 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3709 rawmemchr-sse2 rawmemchr-sse2-bsf.
3710 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3711 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3712 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3713 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3714 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3715 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3716 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3717 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3718 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3719 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3720 * string/memrchr.c (MEMRCHR): New macro.
3721
0ac5ae23
UD
37222011-10-12 Ulrich Drepper <drepper@gmail.com>
3723
3724 Add integration with gcc's -ffinite-math-only and optimize wrapper
3725 functions in libm.
3726 * Versions.def: Define GLIBC_2.15 version for libm.
3727 * math/Makefile (headers): Add bits/math-finite.h.
3728 * math/bits/math-finite.h: New file.
3729 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3730 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3731 * math/e_acoshl.c: Add __*_finite alias.
3732 * math/e_acosl.c: Likewise.
3733 * math/e_asinl.c: Likewise.
3734 * math/e_atan2l.c: Likewise.
3735 * math/e_atanhl.c: Likewise.
3736 * math/e_coshl.c: Likewise.
3737 * math/e_exp10.c: Likewise.
3738 * math/e_exp10f.c: Likewise.
3739 * math/e_exp10l.c: Likewise.
3740 * math/e_exp2l.c: Likewise.
3741 * math/e_fmodl.c: Likewise.
3742 * math/e_gammal_r.c: Likewise.
3743 * math/e_hypotl.c: Likewise.
3744 * math/e_j0l.c: Likewise.
3745 * math/e_j1l.c: Likewise.
3746 * math/e_jnl.c: Likewise.
3747 * math/e_lgammal_r.c: Likewise.
3748 * math/e_log10l.c: Likewise.
3749 * math/e_log2l.c: Likewise.
3750 * math/e_logl.c: Likewise.
3751 * math/e_powl.c: Likewise.
3752 * math/e_sinhl.c: Likewise.
3753 * math/e_sqrtl.c: Likewise.
3754 * math/e_scalb.c: Completely rewritten and optimized.
3755 * math/e_scalbf.c: Likewise.
3756 * math/e_scalbl.c: Likewise.
3757 * math/w_acos.c: Likewise.
3758 * math/w_acosf.c: Likewise.
3759 * math/w_acosl.c: Likewise.
3760 * math/w_acosh.c: Likewise.
3761 * math/w_acoshf.c: Likewise.
3762 * math/w_acoshl.c: Likewise.
3763 * math/w_asin.c: Likewise.
3764 * math/w_asinf.c: Likewise.
3765 * math/w_asinl.c: Likewise.
3766 * math/w_atan2.c: Likewise.
3767 * math/w_atan2f.c: Likewise.
3768 * math/w_atan2l.c: Likewise.
3769 * math/w_atanh.c: Likewise.
3770 * math/w_atanhf.c: Likewise.
3771 * math/w_atanhl.c: Likewise.
3772 * math/w_exp10.c: Likewise.
3773 * math/w_exp10f.c: Likewise.
3774 * math/w_exp10l.c: Likewise.
3775 * math/w_fmod.c: Likewise.
3776 * math/w_fmodf.c: Likewise.
3777 * math/w_fmodl.c: Likewise.
3778 * math/w_j0.c: Likewise.
3779 * math/w_j0f.c: Likewise.
3780 * math/w_j0l.c: Likewise.
3781 * math/w_j1.c: Likewise.
3782 * math/w_j1f.c: Likewise.
3783 * math/w_j1l.c: Likewise.
3784 * math/w_jn.c: Likewise.
3785 * math/w_jnf.c: Likewise.
3786 * math/w_log.c: Likewise.
3787 * math/w_logf.c: Likewise.
3788 * math/w_logl.c: Likewise.
3789 * math/w_log10.c: Likewise.
3790 * math/w_log10f.c: Likewise.
3791 * math/w_log10l.c: Likewise.
3792 * math/w_log2.c: Likewise.
3793 * math/w_log2f.c: Likewise.
3794 * math/w_log2l.c: Likewise.
3795 * math/w_pow.c: Likewise.
3796 * math/w_powf.c: Likewise.
3797 * math/w_powl.c: Likewise.
3798 * math/w_remainder.c: Likewise.
3799 * math/w_remainderf.c: Likewise.
3800 * math/w_remainderl.c: Likewise.
3801 * math/w_scalb.c: Likewise.
3802 * math/w_scalbf.c: Likewise.
3803 * math/w_scalbl.c: Likewise.
3804 * math/w_sqrt.c: Likewise.
3805 * math/w_sqrtf.c: Likewise.
3806 * math/w_sqrtl.c: Likewise.
3807 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3808 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3809 used.
3810 * math/math_private.h: Declare __kernel_standard_f.
3811 * math/w_cosh.c: Remove cruft and optimize a bit.
3812 * math/w_coshf.c: Likewise.
3813 * math/w_coshl.c: Likewise.
3814 * math/w_exp2.c: Likewise.
3815 * math/w_exp2f.c: Likewise.
3816 * math/w_exp2l.c: Likewise.
3817 * math/w_hypot.c: Likewise.
3818 * math/w_hypotf.c: Likewise.
3819 * math/w_hypotl.c: Likewise.
3820 * math/w_lgamma.c: Likewise.
3821 * math/w_lgamma_r.c: Likewise.
3822 * math/w_lgammaf.c: Likewise.
3823 * math/w_lgammaf_r.c: Likewise.
3824 * math/w_lgammal.c: Likewise.
3825 * math/w_lgammal_r.c: Likewise.
3826 * math/w_sinh.c: Likewise.
3827 * math/w_sinhf.c: Likewise.
3828 * math/w_sinhl.c: Likewise.
3829 * math/w_tgamma.c: Likewise.
3830 * math/w_tgammaf.c: Likewise.
3831 * math/w_tgammal.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3833 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3834 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3835 Minor optimizations. Pretty printing. Remove cruft.
3836 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3837 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3838 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3839 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3840 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3841 * sysdeps/i386/fpu/e_asin.S: Likewise.
3842 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3843 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3844 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3845 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3846 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3847 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3848 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3849 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3850 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3851 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3852 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3853 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3854 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3855 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3856 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3857 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3858 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3859 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3860 * sysdeps/i386/fpu/e_log.S: Likewise.
3861 * sysdeps/i386/fpu/e_log10.S: Likewise.
3862 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3863 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3864 * sysdeps/i386/fpu/e_log2.S: Likewise.
3865 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3867 * sysdeps/i386/fpu/e_logf.S: Likewise.
3868 * sysdeps/i386/fpu/e_logl.S: Likewise.
3869 * sysdeps/i386/fpu/e_pow.S: Likewise.
3870 * sysdeps/i386/fpu/e_powf.S: Likewise.
3871 * sysdeps/i386/fpu/e_powl.S: Likewise.
3872 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3873 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3874 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3875 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3876 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3877 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3878 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3879 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3880 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3882 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3884 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3885 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3887 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3889 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3895 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3902 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3903 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3904 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3905 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3906 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3907 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3908 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3909 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3910 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3912 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3914 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3915 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3916 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3917 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3918 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3919 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3920 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3921 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3922 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3961 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3969 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3972 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3973 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3974 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3975 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3976 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3977 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3978 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3979 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3980 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3981 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3982 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3983 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3984 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3985 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3986 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3987 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3988 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3989 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3990 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3991 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3992 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3993 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3994 (__isnanf): Likewise.
3995 (__isinf_ns): Likewise.
3996 (__isinf_nsf): Likewise.
3997 (__finite): Likewise.
3998 (__finitef): Likewise.
3999 (__ieee754_sqrt): Define as macro.
4000 (__ieee754_sqrtf): Define as macro.
4001 (__ieee754_sqrtl): Define as macro.
4002 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4003 inlined copy.
4004 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4005 __FINITE_MATH_ONLY__ consistent.
4006 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4007
12cc2fcd
AS
40082011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4009
a843a204
AS
4010 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4011 of rawmemchr.
4012
12cc2fcd
AS
4013 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4014
c853acd5
UD
40152011-10-09 Ulrich Drepper <drepper@gmail.com>
4016
4017 * po/ja.po: Update from translation team.
4018
c658d255
RM
40192011-10-08 Roland McGrath <roland@hack.frob.com>
4020
110946e4
RM
4021 * locale/programs/locarchive.c (prepare_address_space): New function.
4022 (create_archive, enlarge_archive, open_archive): Use it.
4023
50604220
RM
4024 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4025 inside [SHARED], where it is used.
4026
c658d255
RM
4027 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4028
4029 * nss/getent.c (netgroup_keys): Remove unused variable.
4030 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4031
6a621eb7
UD
40322011-10-08 Ulrich Drepper <drepper@gmail.com>
4033
7edb55ce
UD
4034 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4035 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4037 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4038 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4039 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4040 * math/Makefile (libm-calls): Add s_isinf_ns.
4041 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4042 * math/multc3.c: Likewise.
4043 * math/s_casin.c: Likewise.
4044 * math/s_casinf.c: Likewise.
4045 * math/s_casinl.c: Likewise.
4046 * math/s_ccos.c: Likewise.
4047 * math/s_ccosf.c: Likewise.
4048 * math/s_ccosl.c: Likewise.
4049 * math/s_ctan.c: Likewise.
4050 * math/s_ctanf.c: Likewise.
4051 * math/s_ctanh.c: Likewise.
4052 * math/s_ctanhf.c: Likewise.
4053 * math/s_ctanhl.c: Likewise.
4054 * math/s_ctanl.c: Likewise.
4055 * math/w_fmod.c: Likewise.
4056 * math/w_fmodf.c: Likewise.
4057 * math/w_fmodl.c: Likewise.
4058 * math/w_remainder.c: Likewise.
4059 * math/w_remainderf.c: Likewise.
4060 * math/w_remainderl.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4062 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4063 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4065 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4066 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4067 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4068 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4069
187da0ae
UD
4070 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4071 of the number.
4072 * stdio-common/printf_fphex.c: Likewise.
4073 * stdio-common/printf_size.c: Likewise.
4074
9277c064
UD
4075 * math/e_exp10.c: Include math_private.h using <...> not "...".
4076 * math/e_exp10f.c: Likewise.
4077 * math/e_exp10l.c: Likewise.
4078 * math/e_exp2l.c: Likewise.
4079 * math/e_j0l.c: Likewise.
4080 * math/e_j1l.c: Likewise.
4081 * math/e_jnl.c: Likewise.
4082 * math/e_lgammal_r.c: Likewise.
4083 * math/e_rem_pio2l.c: Likewise.
4084 * math/e_scalb.c: Likewise.
4085 * math/e_scalbf.c: Likewise.
4086 * math/e_scalbl.c: Likewise.
4087 * math/k_cosl.c: Likewise.
4088 * math/k_sinl.c: Likewise.
4089 * math/k_tanl.c: Likewise.
4090 * math/s_cacoshf.c: Likewise.
4091 * math/s_catan.c: Likewise.
4092 * math/s_catanf.c: Likewise.
4093 * math/s_catanh.c: Likewise.
4094 * math/s_catanhf.c: Likewise.
4095 * math/s_catanhl.c: Likewise.
4096 * math/s_catanl.c: Likewise.
4097 * math/s_ccosh.c: Likewise.
4098 * math/s_ccoshf.c: Likewise.
4099 * math/s_ccoshl.c: Likewise.
4100 * math/s_cexp.c: Likewise.
4101 * math/s_cexpf.c: Likewise.
4102 * math/s_cexpl.c: Likewise.
4103 * math/s_clog.c: Likewise.
4104 * math/s_clog10.c: Likewise.
4105 * math/s_clog10f.c: Likewise.
4106 * math/s_clog10l.c: Likewise.
4107 * math/s_clogf.c: Likewise.
4108 * math/s_clogl.c: Likewise.
4109 * math/s_csin.c: Likewise.
4110 * math/s_csinf.c: Likewise.
4111 * math/s_csinh.c: Likewise.
4112 * math/s_csinhf.c: Likewise.
4113 * math/s_csinhl.c: Likewise.
4114 * math/s_csinl.c: Likewise.
4115 * math/s_csqrt.c: Likewise.
4116 * math/s_csqrtf.c: Likewise.
4117 * math/s_csqrtl.c: Likewise.
4118 * math/s_ctan.c: Likewise.
4119 * math/s_ctanf.c: Likewise.
4120 * math/s_ctanh.c: Likewise.
4121 * math/s_ctanhf.c: Likewise.
4122 * math/s_ctanhl.c: Likewise.
4123 * math/s_ctanl.c: Likewise.
4124 * math/s_ldexp.c: Likewise.
4125 * math/s_ldexpf.c: Likewise.
4126 * math/s_ldexpl.c: Likewise.
4127 * math/s_significand.c: Likewise.
4128 * math/s_significandf.c: Likewise.
4129 * math/s_significandl.c: Likewise.
4130 * math/w_acos.c: Likewise.
4131 * math/w_acosf.c: Likewise.
4132 * math/w_acosh.c: Likewise.
4133 * math/w_acoshf.c: Likewise.
4134 * math/w_acoshl.c: Likewise.
4135 * math/w_acosl.c: Likewise.
4136 * math/w_asin.c: Likewise.
4137 * math/w_asinf.c: Likewise.
4138 * math/w_asinl.c: Likewise.
4139 * math/w_atan2.c: Likewise.
4140 * math/w_atan2f.c: Likewise.
4141 * math/w_atan2l.c: Likewise.
4142 * math/w_atanh.c: Likewise.
4143 * math/w_atanhf.c: Likewise.
4144 * math/w_atanhl.c: Likewise.
4145 * math/w_cosh.c: Likewise.
4146 * math/w_coshf.c: Likewise.
4147 * math/w_coshl.c: Likewise.
4148 * math/w_dremf.c: Likewise.
4149 * math/w_exp10.c: Likewise.
4150 * math/w_exp10f.c: Likewise.
4151 * math/w_exp10l.c: Likewise.
4152 * math/w_exp2.c: Likewise.
4153 * math/w_exp2f.c: Likewise.
4154 * math/w_fmod.c: Likewise.
4155 * math/w_fmodf.c: Likewise.
4156 * math/w_fmodl.c: Likewise.
4157 * math/w_hypot.c: Likewise.
4158 * math/w_hypotf.c: Likewise.
4159 * math/w_hypotl.c: Likewise.
4160 * math/w_j0.c: Likewise.
4161 * math/w_j0f.c: Likewise.
4162 * math/w_j0l.c: Likewise.
4163 * math/w_j1.c: Likewise.
4164 * math/w_j1f.c: Likewise.
4165 * math/w_j1l.c: Likewise.
4166 * math/w_jn.c: Likewise.
4167 * math/w_jnf.c: Likewise.
4168 * math/w_jnl.c: Likewise.
4169 * math/w_lgamma.c: Likewise.
4170 * math/w_lgamma_r.c: Likewise.
4171 * math/w_lgammaf.c: Likewise.
4172 * math/w_lgammaf_r.c: Likewise.
4173 * math/w_lgammal.c: Likewise.
4174 * math/w_lgammal_r.c: Likewise.
4175 * math/w_log.c: Likewise.
4176 * math/w_log10.c: Likewise.
4177 * math/w_log10f.c: Likewise.
4178 * math/w_log10l.c: Likewise.
4179 * math/w_log2.c: Likewise.
4180 * math/w_log2f.c: Likewise.
4181 * math/w_log2l.c: Likewise.
4182 * math/w_logf.c: Likewise.
4183 * math/w_logl.c: Likewise.
4184 * math/w_pow.c: Likewise.
4185 * math/w_powf.c: Likewise.
4186 * math/w_powl.c: Likewise.
4187 * math/w_remainder.c: Likewise.
4188 * math/w_remainderf.c: Likewise.
4189 * math/w_remainderl.c: Likewise.
4190 * math/w_scalb.c: Likewise.
4191 * math/w_scalbf.c: Likewise.
4192 * math/w_scalbl.c: Likewise.
4193 * math/w_sinh.c: Likewise.
4194 * math/w_sinhf.c: Likewise.
4195 * math/w_sinhl.c: Likewise.
4196 * math/w_sqrt.c: Likewise.
4197 * math/w_sqrtf.c: Likewise.
4198 * math/w_sqrtl.c: Likewise.
4199 * math/w_tgamma.c: Likewise.
4200 * math/w_tgammaf.c: Likewise.
4201 * math/w_tgammal.c: Likewise.
4202
6a621eb7
UD
4203 * po/ja.po: Update from translation team.
4204
bf582445
AJ
42052011-09-29 Andreas Jaeger <aj@suse.de>
4206
f9efbf3a
AJ
4207 [BZ #13179]
4208 * sunrpc/netname.c (netname2host): Fix logic.
4209
bf582445
AJ
4210 [BZ #6779]
4211 [BZ #6783]
4212 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4213 correctly.
4214 * math/w_remainder.c (__remainder): Likewise.
4215 * math/w_remainderf.c (__remainderf): Likewise.
4216 * math/libm-test.inc (remainder_test): Add test cases.
4217
48693bea
AK
42182011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4219
4220 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4221 sdiv_qrnnd.
4222
42622229
LD
42232011-10-07 Ulrich Drepper <drepper@gmail.com>
4224
4225 * string/test-memcmp.c: Avoid unncessary #defines.
4226 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4227
093ecf92
LD
42282011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4229
4230 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4231 Use new sse2 version for core i3 - i7 as it's faster
4232 than sse42 version.
4233 (bit_Prefer_PMINUB_for_stringop): New.
4234 * sysdeps/x86_64/rawmemchr.S: Update.
4235 Replace with faster SSE2 version.
4236 * sysdeps/x86_64/memrchr.S: New file.
4237 * sysdeps/x86_64/memchr.S: Update.
4238 Replace with faster SSE2 version.
4239
fde56e5c
MP
42402011-09-12 Marek Polacek <mpolacek@redhat.com>
4241
4242 * elf/dl-load.c (lose): Add cast to avoid warning.
4243
21fd49a9
UD
42442011-10-07 Ulrich Drepper <drepper@gmail.com>
4245
5a06e643
UD
4246 * po/ca.po: Update from translation team.
4247
684ae515
UD
4248 * inet/getnetgrent_r.c: Hook up nscd.
4249 * nscd/Makefile (routines): Add nscd_netgroup.
4250 (nscd-modules): Add netgroupcache.
4251 (CFLAGS-netgroupcache.c): Define.
4252 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4253 (cache_search): Add const to second parameter.
4254 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4255 INNETGR.
4256 (dbs): Add netgrdb entry.
4257 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4258 (verify_persistent_db): Handle netgrdb.
4259 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4260 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4261 GETFDNETGR.
4262 (netgroup_response_header): Define.
4263 (innetgroup_response_header): Define.
4264 (datahead): Add netgroup_response_header and innetgroup_response_header
4265 elements.
4266 * nscd/nscd.conf: Add entries for netgroup cache.
4267 * nscd/nscd.h (dbtype): Add netgrdb.
4268 (_PATH_NSCD_NETGROUP_DB): Define.
4269 (netgroup_iov_disabled): Declare.
4270 (xmalloc, xcalloc, xrealloc): Move declarations here.
4271 (cache_search): Adjust prototype.
4272 Add netgroup-related prototypes.
4273 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4274 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4275 (__nscd_innetgr): Declare.
4276 * nscd/selinux.c (perms): Use access_vector_t as element type and
4277 add netgroup-related initializers.
4278 * nscd/netgroupcache.c: New file.
4279 * nscd/nscd_netgroup.c: New file.
4280 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4281 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4282 For four parameters use innetgr.
4283 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4284 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4285 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4286 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4287
21fd49a9
UD
4288 * nscd/connections.c (register_traced_file): Don't register file
4289 for disabled databases.
4290
054c0457
UD
42912011-10-06 Ulrich Drepper <drepper@gmail.com>
4292
32b63198
UD
4293 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4294
054c0457
UD
4295 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4296 from tree and freeing node.
4297
64031225
JO
42982011-09-25 Jiri Olsa <jolsa@redhat.com>
4299
4300 * nss/nsswitch.c (__nss_database_lookup): Handle
4301 nss_parse_service_list out of memory case.
4302
0490345c
JO
43032011-09-15 Jiri Olsa <jolsa@redhat.com>
4304
4305 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4306 out of memory case.
4307
3a62d00d
AS
43082011-10-04 Andreas Schwab <schwab@redhat.com>
4309
4310 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4311 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4312 pass it down.
4313 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4314 elf_machine_rela, elf_machine_lazy_rel.
4315 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4316 (ELF_DYNAMIC_DO_REL): Likewise.
4317 (ELF_DYNAMIC_DO_RELA): Likewise.
4318 (ELF_DYNAMIC_RELOCATE): Likewise.
4319 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4320 to ELF_DYNAMIC_DO_REL.
4321 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4322 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4323 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4324 elf_machine_rela.
4325 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4326 skip_ifunc, don't call ifunc function if non-zero.
4327 (elf_machine_rela): Likewise.
4328 (elf_machine_lazy_rel): Likewise.
4329 (elf_machine_lazy_rela): Likewise.
4330 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4331 (elf_machine_lazy_rel): Likewise.
4332 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4333 Likewise.
4334 (elf_machine_lazy_rel): Likewise.
4335 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4336 Likewise.
4337 (elf_machine_lazy_rel): Likewise.
4338 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4339 (elf_machine_lazy_rel): Likewise.
4340 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4341 (elf_machine_lazy_rel): Likewise.
4342 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4343 (elf_machine_lazy_rel): Likewise.
4344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4345 (elf_machine_lazy_rel): Likewise.
4346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4347 (elf_machine_lazy_rel): Likewise.
4348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4349 (elf_machine_lazy_rel): Likewise.
4350
68577918
UD
43512011-09-28 Ulrich Drepper <drepper@gmail.com>
4352
4353 * nss/nss_files/files-init.c (_nss_files_init): Use static
4354 initialization for all the *_traced_file variables.
4355
68822d74
AS
43562011-09-28 Andreas Schwab <schwab@redhat.com>
4357
4358 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4359
2056100b
RM
43602011-09-27 Roland McGrath <roland@hack.frob.com>
4361
4362 [BZ #13226]
4363 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4364
32c76b63
AS
43652011-09-27 Andreas Schwab <schwab@redhat.com>
4366
4367 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4368 Reread the line before reparsing it.
4369
bf972c9d
AS
43702011-09-26 Andreas Schwab <schwab@redhat.com>
4371
4372 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4373
e057a1b5
JM
43742011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4375 Maxim Kuvyrkov <maxim@codesourcery.com>
4376 Joseph Myers <joseph@codesourcery.com>
4377
4378 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4379 if needed for __stack_chk_guard.
4380
bc7e1c36
RM
43812011-09-19 Roland McGrath <roland@hack.frob.com>
4382
ecb1482f
RM
4383 * sysdeps/posix/spawni.c (script_execute): Always define it.
4384 It will be optimized away if unused.
4385 (maybe_script_execute): New function.
4386 (__spawni): Call it.
4387
bc7e1c36
RM
4388 * Makerules: Don't include tls.make.
4389 (config-tls): Always set to thread.
4390 * tls.make.c: File removed.
4391
1c3b002b
MF
43922011-09-19 Mike Frysinger <vapier@gentoo.org>
4393
4394 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4395 * config.make.in (CPPFLAGS-config): New substituted variable.
4396
2840865d
UD
43972011-09-15 Ulrich Drepper <drepper@gmail.com>
4398
88738eb6
UD
4399 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4400
cbf645a6 4401 [BZ #13192]
2840865d
UD
4402 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4403 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4404
b402e91a
RM
44052011-09-15 Roland McGrath <roland@hack.frob.com>
4406
4407 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4408 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4410 (CALL_FAIL): Likewise.
4411 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4412 (CALL_FAIL): Macro removed.
4413 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4414
4c1a1f71
UD
44152011-09-15 Ulrich Drepper <drepper@gmail.com>
4416
4417 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4418 for __FINITE_MATH_ONLY__ == 1.
4419
edc121be
AS
44202011-09-15 Andreas Schwab <schwab@redhat.com>
4421
4422 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4423 __ieee754_sqrt instead of sqrt.
4424 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4425 __ieee754_sqrtf instead of sqrtf.
4426 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4427 __floorf instead of floorf.
4428 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4429 __floorf, __truncf instead of floorf, truncf.
4430
cd205654
UD
44312011-09-14 Ulrich Drepper <drepper@gmail.com>
4432
ee4d0315
UD
4433 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4434
cd205654
UD
4435 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4436 __extern_always_inline.
4437 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4438 32-bit.
4439
48b67d71
AS
44402011-09-14 Andreas Schwab <schwab@redhat.com>
4441
4442 * elf/rtld.c (dl_main): Also relocate in dependency order when
4443 doing symbol dependency testing.
4444
1ae12c75
AS
44452011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4446
4447 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4448 Always define `refsym'.
4449
995a80df
AS
44502011-09-13 Andreas Schwab <schwab@redhat.com>
4451
e529793b
AS
4452 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4453 (__FD_ELT): Renamed from __FDELT.
4454 * misc/bits/select2.h (__FD_ELT): Likewise.
4455 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4456 __FD_MASK instead of __FDELT, __FDMASK.
4457 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4458 Likewise.
4459 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4460 Likewise.
4461
52d4fef8
AS
4462 * elf/Makefile (gen-ldd): Fix pattern.
4463
995a80df
AS
4464 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4465 (init_tls): Likewise.
4466
8682f8b0
UD
44672011-09-12 Ulrich Drepper <drepper@gmail.com>
4468
4469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4470
de82006d
AS
44712011-09-12 Andreas Schwab <schwab@redhat.com>
4472
a7c8e6a1
AS
4473 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4474 `struct cmsghdr *' instead of `void *'.
4475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4476 Likewise.
4477
0f31fe77
AS
44782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4479
4480 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4481 if non-absolute.
4482 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4483 ldd_rewrite_script.
0f31fe77 4484
32b4c839
UD
44852011-09-11 Ulrich Drepper <drepper@gmail.com>
4486
83cd1420
UD
4487 * configure.in: Remove --with-tls option.
4488 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4489 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4490 out in case it is missing.
4491 * sysdeps/ia64/elf/configure.in: Likewise.
4492 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4493 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4494 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4495 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4496 * sysdeps/sh/elf/configure.in: Likewise.
4497 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4498 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4499 * sysdeps/x86_64/elf/configure.in: Likewise.
4500 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4501 * sysdeps/mach/hurd/tls.h: Likewise.
4502
633f745d
UD
4503 [BZ #13067]
4504 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4505
f318beb8
UD
4506 [BZ #13090]
4507 * configure.in: Fix use of AC_INIT.
4508
32b4c839
UD
4509 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4510
3ce1f295
UD
45112011-09-10 Ulrich Drepper <drepper@gmail.com>
4512
bb016596
UD
4513 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4514 __set_errno.
8e58439c
UD
4515 * malloc/hooks.c: Likewise.
4516
aebae053 4517 [BZ #11929]
02d46fc4
UD
4518 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4519 variables statically.
4520 (narenas): Initialize.
4521 (list_lock): Initialize.
bb016596
UD
4522 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4523 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4524 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4525 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4526 Add initializers to main_arena and mp_.
4527 (malloc_state): Remove pagesize member. Change all users to use
4528 GLRO(dl_pagesize).
4529
4530 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4531 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4532 is always initialized.
4533
22a89187
UD
4534 * malloc/malloc.c: Removed unused configurations and dead code.
4535 * malloc/arena.c: Likewise.
4536 * malloc/hooks.c: Likewise.
02d46fc4 4537 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4538
d063d164
UD
4539 * include/tls.h: Removed. USE___THREAD must always be defined.
4540 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4541 * elf/dl-libc.c: Likewise.
4542 * elf/dl-tsd.c: Likewise.
4543 * include/errno.h: Likewise.
4544 * include/netdb.h: Likewise.
4545 * include/resolv.h: Likewise.
4546 * inet/herrno-loc.c: Likewise.
4547 * inet/herrno.c: Likewise.
4548 * malloc/arena.c: Likewise.
4549 * malloc/hooks.c: Likewise.
4550 * malloc/malloc.c: Likewise.
4551 * resolv/res-state.c: Likewise.
4552 * resolv/res_libc.c: Likewise.
4553 * sysdeps/i386/dl-machine.h: Likewise.
4554 * sysdeps/ia64/dl-machine.h: Likewise.
4555 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4556 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4557 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4558 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4559 * sysdeps/sh/dl-machine.h: Likewise.
4560 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4561 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4562 * sysdeps/unix/i386/sysdep.S: Likewise.
4563 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4564 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4565 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4566 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4568 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4569 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4573 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4574 * sysdeps/x86_64/dl-machine.h: Likewise.
4575 * tls.make.c: Likewise.
4576
3ce1f295
UD
4577 * configure.in: Remove --with-__thread option. Make tests for
4578 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4579 tls_model attribute fail if no support is available. Remove
4580 USE_IN_LIBIO.
4581 * Makeconfig: Adjust for dropped configure option. All features are
4582 now mandatory.
4583 * Makerules: Likewise.
4584 * Versions.def: Likewise.
4585 * argp/argp-fmtstream.c: Likewise.
4586 * argp/argp-fmtstream.h: Likewise.
4587 * argp/argp-help.c: Likewise.
4588 * assert/assert.c: Likewise.
4589 * config.h.in: Likewise.
4590 * config.make.in: Likewise.
4591 * configure: Likewise.
4592 * configure.in: Likewise.
4593 * csu/Versions: Likewise.
4594 * csu/init.c: Likewise.
4595 * elf/tst-audit2.c: Likewise.
4596 * elf/tst-tls10.c: Likewise.
4597 * elf/tst-tls10.h: Likewise.
4598 * elf/tst-tls11.c: Likewise.
4599 * elf/tst-tls12.c: Likewise.
4600 * elf/tst-tls14.c: Likewise.
4601 * elf/tst-tlsmod11.c: Likewise.
4602 * elf/tst-tlsmod12.c: Likewise.
4603 * elf/tst-tlsmod13.c: Likewise.
4604 * elf/tst-tlsmod13a.c: Likewise.
4605 * elf/tst-tlsmod14a.c: Likewise.
4606 * elf/tst-tlsmod15b.c: Likewise.
4607 * elf/tst-tlsmod16a.c: Likewise.
4608 * elf/tst-tlsmod16b.c: Likewise.
4609 * elf/tst-tlsmod7.c: Likewise.
4610 * elf/tst-tlsmod8.c: Likewise.
4611 * elf/tst-tlsmod9.c: Likewise.
4612 * gmon/gmon.c: Likewise.
4613 * grp/fgetgrent_r.c: Likewise.
4614 * grp/putgrent.c: Likewise.
4615 * hurd/fopenport.c: Likewise.
4616 * include/libc-symbols.h: Likewise.
4617 * include/tls.h: Likewise.
4618 * intl/gettextP.h: Likewise.
4619 * intl/loadinfo.h: Likewise.
4620 * locale/global-locale.c: Likewise.
4621 * locale/localeinfo.h: Likewise.
4622 * mach/devstream.c: Likewise.
4623 * malloc/arena.c: Likewise.
4624 * malloc/set-freeres.c: Likewise.
4625 * misc/err.c: Likewise.
4626 * misc/getttyent.c: Likewise.
4627 * misc/mntent_r.c: Likewise.
4628 * posix/getopt.c: Likewise.
4629 * posix/wordexp.c: Likewise.
4630 * pwd/fgetpwent_r.c: Likewise.
4631 * resolv/Versions: Likewise.
4632 * resolv/res_hconf.c: Likewise.
4633 * shadow/fgetspent_r.c: Likewise.
4634 * shadow/putspent.c: Likewise.
4635 * stdio-common/printf_fphex.c: Likewise.
4636 * stdio-common/tmpfile.c: Likewise.
4637 * stdlib/abort.c: Likewise.
4638 * stdlib/fmtmsg.c: Likewise.
4639 * sunrpc/auth_unix.c: Likewise.
4640 * sunrpc/clnt_perr.c: Likewise.
4641 * sunrpc/clnt_tcp.c: Likewise.
4642 * sunrpc/clnt_udp.c: Likewise.
4643 * sunrpc/clnt_unix.c: Likewise.
4644 * sunrpc/openchild.c: Likewise.
4645 * sunrpc/svc_simple.c: Likewise.
4646 * sunrpc/svc_tcp.c: Likewise.
4647 * sunrpc/svc_udp.c: Likewise.
4648 * sunrpc/svc_unix.c: Likewise.
4649 * sunrpc/xdr.c: Likewise.
4650 * sunrpc/xdr_array.c: Likewise.
4651 * sunrpc/xdr_rec.c: Likewise.
4652 * sunrpc/xdr_ref.c: Likewise.
4653 * sunrpc/xdr_stdio.c: Likewise.
4654
1248c1c4
PB
46552011-09-09 Ulrich Drepper <drepper@gmail.com>
4656
4657 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4658
46592011-07-03 Andreas Jaeger <aj@suse.de>
4660
4661 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4662 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4663 regenerate with gen-libm-tests.pl.
4664
46652010-05-12 Petr Baudis <pasky@suse.cz>
4666
4667 [BZ #11589]
4668 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4669 around j0() zero points by switching to j1().
4670 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4674
f22e1074
UD
46752011-09-09 Ulrich Drepper <drepper@gmail.com>
4676
f19009c1
UD
4677 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4678 instead of 0.
4679 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4680 instead of 0. .
4681 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4682 Patch in part by Pavel Roskin <proski@gnu.org>.
4683
3f8cc204
UD
4684 [BZ #13138]
4685 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4686 realloc.
4687 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4688 Free memory block if necessary.
4689
f22e1074
UD
4690 [BZ #12847]
4691 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4692 be NULL. Don't lock in this case.
4693
0a2349f9
RM
46942011-09-09 Roland McGrath <roland@hack.frob.com>
4695
4696 * elf/elf.h (ELFOSABI_GNU): New macro.
4697 (ELFOSABI_LINUX): Define to that.
4698
f3cdd467
DZ
46992011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4700
4701 * string/strncat.c (strncat): Undef the symbol in case it has been
4702 defined in bits/string.h.
4703
74718d13
UD
47042011-09-09 Ulrich Drepper <drepper@gmail.com>
4705
633e9e0f
UD
4706 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4707
0a2349f9 4708 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4709 link map.
4710
f9924780
AJ
47112011-08-17 Andreas Jaeger <aj@suse.de>
4712
4713 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4714
7f5517aa
PP
47152011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4716 Ian Lance Taylor <iant@google.com>
4717
4718 * math/libm-test.inc (lround_test): New testcase.
4719 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4720
762011fe
UD
47212011-09-08 Ulrich Drepper <drepper@gmail.com>
4722
92963737
UD
4723 * Makefile: Remove support for automatic cvs check-ins.
4724 * Makerules: Likewise.
4725 * config.make.in: Likewise.
4726 * configure.in: Likewise.
4727 * intl/Makefile: Likewise.
4728 * locale/Makefile: Likewise.
4729 * po/Makefile: Likewise.
4730 * posix/Makefile: Likewise.
4731 * sysdeps/gnu/Makefile: Likewise.
4732 * sysdeps/mach/hurd/Makefile: Likewise.
4733 * sysdeps/sparc/sparc32/Makefile: Likewise.
4734
b0727fd8
JS
4735 [BZ #13118]
4736 * posix/Makefile (bug-regex32-ENV): Define.
4737 Patch by John Stanley <jpsinthemix@verizon.net>.
4738
a0f33f99
UD
4739 * misc/Makefile (headers): Add bits/select2.h.
4740 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4741 * misc/bits/select2.h: New file.
4742 * include/bits/select2.h: New file.
4743 * debug/Makefile (routines): Add fdelt_chk.
4744 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4745 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4746 FD_ISSET.
4747 * debug/fdelt_chk.c: New file.
4748
762011fe
UD
4749 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4750 * wcsmbs/test-wmemcmp.c: Likewise.
4751 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4752 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4753
47542011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4755
4756 * string/Makefile (strop-tests): Add memcmp.
4757 * string/test-wmemcmp.c: New file.
4758 * string/test-memcmp.c: Add wmemcmp support.
4759
7f513ec8
RM
47602011-09-08 Roland McGrath <roland@hack.frob.com>
4761
0442afb4
RM
4762 [BZ #13153]
4763 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4764 2011-07-19 change.
4765
7f513ec8
RM
4766 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4767 garbage value in a __mach_port_mod_refs call in the cases of the
4768 task-self and thread-self ports.
4769
a12b2239
ST
47702011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4771
4772 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4773
610f9ab4
AS
47742011-09-08 Andreas Schwab <schwab@redhat.com>
4775
7f513ec8 4776 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4777
48882a1a
LD
47782011-09-07 Ulrich Drepper <drepper@gmail.com>
4779
b49865be
UD
4780 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4781
fdc86bc9
UD
4782 * elf/dl-libc.c (dlerror_run): Pass back error code from
4783 dl_catch_error.
4784
c966526a
UD
4785 [BZ #13123]
4786 * elf/dl-load.c (lose): Free l_origin if it is valid.
4787
48882a1a
LD
4788 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4789 names.
4790 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4791 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4792 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4793 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4794 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4795 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4796
77a2a8b4
AZ
47972011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4798
4799 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4800 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4801 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4802 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4803 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4804 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4805 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4806 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4807 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4808 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4809
24f579d8
AM
48102011-08-15 Alan Modra <amodra@gmail.com>
4811
4812 [BZ #13092]
4813 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4814 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4815 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4816 ppc_mcount to static-only-routines.
4817 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4818 __mcount_internal.
4819 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4820 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4821
3d4837df
UD
48222011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4823
4824 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4825 for finite and infinity parameters.
4826
22700377
WS
48272011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4828
4829 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4830 and add nop instructions for throughput optimization.
4831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4832
5025581e
WS
48332011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4834
4835 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4836 aligned copy for power7 with vector-scalar instructions.
4837 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4838
08a300c9
L
48392011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4840
4841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4842 AVX check.
4843
59178ef9
AS
48442011-09-07 Andreas Schwab <schwab@redhat.com>
4845
4846 [BZ #13144]
4847 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4848 last change.
4849
e38ba7ab
UD
48502011-09-07 Ulrich Drepper <drepper@gmail.com>
4851
4852 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4853 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4854 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4855 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4856 clock_gettime.
4857
d53a73ac
UD
48582011-09-06 Ulrich Drepper <drepper@gmail.com>
4859
fc8bffcc
UD
4860 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4861 Forgot to demangle the pointer.
4862
ceaa0c5d
UD
4863 * sysdeps/i386/sysdep.h: Define atom_text_section.
4864 * sysdeps/x86_64/sysdep.h: Likewise.
4865 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4866 section with atom_text_section.
4867 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4868 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4869 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4871 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4872
a77d3c17
UD
4873 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4874 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4875 already be defined. Change to take two parameters and don't assign
4876 result to variable. Adjust all users.
4877 Define INTERNAL_GETTIME if not already defined.
4878 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4879 call.
4880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4881 HAVE_CLOCK_GETTIME_VSYSCALL.
4882 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4883
d53a73ac
UD
4884 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4885 gettimeofday vsyscall, just use time.
4886
a8f84144
AS
48872011-09-06 Andreas Schwab <schwab@redhat.com>
4888
4889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4890 <errno.h>.
4891
ef606249
UD
48922011-09-06 Ulrich Drepper <drepper@gmail.com>
4893
4894 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4895 syscall on x86-64.
4896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4897 syscall.
4898 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4899 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4900 syscall if possible.
4901
6585cb60
UD
49022011-09-05 Ulrich Drepper <drepper@gmail.com>
4903
4904 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4905 e_ident. Don't pass to find_mapsXX.
4906 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4907
a5f524e4
LD
49082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4909
4910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4911 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4912 * sysdeps/x86_64/multiarch/strchr.S: Update.
4913 Check bit_slow_BSF bit.
4914 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4915 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4916 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4917
554881ef
UD
49182011-09-05 Ulrich Drepper <drepper@gmail.com>
4919
d96de963
UD
4920 [BZ #13134]
4921 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4922 before glibc 2.15.
4923 (tryshell): Define.
4924 (__spawni): Change last parameter to be flag. Test
4925 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4926 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4927 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4928 * posix/spawni.c: Likewise.
4929 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4930 * posix/spawnp.c: Likewise. Change normal version to use
4931 SPAWN_XFLAGS_USE_PATH.
4932 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4933 SPAWN_XFLAGS_TRY_SHELL.
4934
d48e5868
UD
4935 [BZ #13150]
4936 * posix/glob.h: Remove gcc 1.x support.
4937
554881ef
UD
4938 [BZ #13068]
4939 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4940
693fb948
LD
49412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4942
4943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4944 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4945 strrchr-sse2-bsf
4946 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4947 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4948 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4949 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4950 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4951 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4952
1b48c537
UD
49532011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4954
49d42c37
UD
4955 * sysdeps/x86_64/wcscmp.S: New file.
4956
1b48c537
UD
4957 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4958 wcscmp-c wcscmp-sse2
4959 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4960 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4961 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4962 * wcsmbs/wcscmp.c: Allow renaming.
4963
15c95c5d
DM
49642011-09-05 David S. Miller <davem@davemloft.net>
4965
4966 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4967 stack slot, rather than the struct return pointer slot.
4968 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4969 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4971 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4972
2f0ad8f3
UD
49732011-09-05 Ulrich Drepper <drepper@gmail.com>
4974
d88ae418
UD
4975 * po/ja.po: Update from translation team.
4976
2f0ad8f3
UD
4977 [BZ #13144]
4978 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4979 kernel in 64-bit binaries.
4980
5f4318d1
DM
49812011-09-01 David S. Miller <davem@davemloft.net>
4982
4983 * elf/elf.h (HWCAP_SPARC_*): Move to..
4984 * sysdeps/sparc/sysdep.h: this new file and add new values.
4985 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4986 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4987 _DL_HWCAP_COUNT to 24.
4988 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4989 entries.
4990 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4991 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4992 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4994 instead of magic constants.
4995 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4996
3ba57516
DM
49972011-08-31 David S. Miller <davem@davemloft.net>
4998
4999 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5000 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5001 Reimplement to do errno handling inline.
5002 (SYSCALL_ERROR_HANDLER): New macro.
5003 (__SYSCALL_STRING): Do not do errno handling in asm.
5004 (__CLONE_SYSCALL_STRING): Delete.
5005 (__INTERNAL_SYSCALL_STRING): Delete.
5006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5007 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5008 (PSEUDO): Reimplement to do errno handling inline.
5009 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5010 (SYSCALL_ERROR_HANDLER): New macro.
5011 (__SYSCALL_STRING): Do not do errno handling in asm.
5012 (__CLONE_SYSCALL_STRING): Delete.
5013 (__INTERNAL_SYSCALL_STRING): Delete.
5014 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5015 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5016 i386.
5017 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5018 (inline_syscall*): Add 'err' argument.
5019 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5020 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5021 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5022 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5023
5024 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5025 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5026
2bc17433
AS
50272011-08-30 Andreas Schwab <schwab@redhat.com>
5028
5029 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5030
fbeb5f4d
JO
50312011-08-29 Jiri Olsa <jolsa@redhat.com>
5032
5033 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5034 directive.
5035
ad69cc26
DM
50362011-08-24 David S. Miller <davem@davemloft.net>
5037
5038 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5039
39dd69df
AS
50402011-08-24 Andreas Schwab <schwab@redhat.com>
5041
5042 * elf/Makefile: Add rules to build and run unload8 test.
5043 * elf/unload8.c: New file.
5044 * elf/unload8mod1.c: New file.
5045 * elf/unload8mod1x.c: New file.
5046 * elf/unload8mod2.c: New file.
5047 * elf/unload8mod3.c: New file.
5048
5049 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5050 it wasn't used.
5051
2c0b250a
DM
50522011-08-23 David S. Miller <davem@davemloft.net>
5053
5054 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5055 subtract stack bias.
5056 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5057 %sp not %fp in calculations.
5058 (_JMPBUF_UNWINDS_ADJ): Likewise.
5059
22044b48
DM
5060 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5061 (aio_suspend): Call it to force an exception region around the
5062 AIO_MISC_WAIT() invocation.
5063
2cae4995
AS
50642011-08-23 Andreas Schwab <schwab@redhat.com>
5065
5066 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5067 backslash.
5068
873a772e
AJ
50692011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5070
5071 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5072 protection macro.
5073 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5074 and <dl-machine.h>.
5075 (Elf64_FuncDesc): Remove.
5076
25ad0df1
DM
50772011-08-22 David S. Miller <davem@davemloft.net>
5078
5079 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5080 sigaltstack check, add missing cfi directives.
5081 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5082 missing cfi directives, and sigaltstack handling.
5083
e888bcbe
AS
50842011-08-16 Andreas Schwab <schwab@redhat.com>
5085
5086 [BZ #11724]
5087 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5088 object is seen twice.
5089 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5090
5091 * elf/Makefile (distribute): Add tst-initorder2.c.
5092 (tests): Add tst-initorder2.
5093 (modules-names): Add tst-initorder2a tst-initorder2b
5094 tst-initorder2c tst-initorder2d. Add rules to build them.
5095 ($(objpfx)tst-initorder2.out): New rule.
5096 * elf/tst-initorder2.c: New file.
5097 * elf/tst-initorder2.exp: New file.
5098
87162f46
AS
50992011-08-22 Andreas Schwab <schwab@redhat.com>
5100
70538b7f
AS
5101 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5102
f55ffe58
AS
5103 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5104 dependencies back to end of function.
5105
87162f46
AS
5106 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5107 $(elfobjdir)/ld.so.
5108
91b392a4
UD
51092011-08-21 Ulrich Drepper <drepper@gmail.com>
5110
5111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5112 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5113 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5114 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5115 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5116 of __vdso_gettimeofday.
5117 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5118 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5119 attribute_hidden.
5120 (_libc_vdso_platform_setup): Remove initialization of
5121 __vdso_gettimeofday and __vdso_time.
5122
5c43483f
UD
51232011-08-20 Ulrich Drepper <drepper@gmail.com>
5124
775a77e7
UD
5125 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5126 and fgetc_unlocked.
5127 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5128 getc_unlocked.
89f447ed 5129
49c74ba9
UD
5130 * elf/dl-open.c (add_to_global): Report additions to the global scope
5131 for LD_DEBUG=scopes.
5132 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5133 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5134
5c43483f
UD
5135 [BZ #13114]
5136 * stdio-common/Makefile (tests): Add bug24.
5137 * stdio-common/bug24.c: New file.
5138
a101b025
AJ
51392011-08-19 Andreas Jaeger <aj@suse.de>
5140
5141 [BZ #13114]
5142 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5143 non-existant file when using close-on-exec mode.
5144
c88f1766
UD
51452011-08-20 Ulrich Drepper <drepper@gmail.com>
5146
0276a718
UD
5147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5148 the very first instruction.
5149
c88f1766
UD
5150 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5151 the CFI state in the end.
5152 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5153 inclusion of dl-trampoline.h.
5154 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5155
51ccffa0
AS
51562011-08-19 Andreas Schwab <schwab@redhat.com>
5157
94d7165f
AS
5158 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5159 expectations for long double.
5160
51ccffa0
AS
5161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5162 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5163
fd708658 51642011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5165
5166 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5167 artificual limit depends upon the system page size.
5168
44f0a71e
UD
51692011-08-17 Ulrich Drepper <drepper@gmail.com>
5170
5171 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5172 * resolv/Makefile: Define CFLAGS-libresolv.
5173
8de79a24
AS
51742011-08-17 Andreas Schwab <schwab@redhat.com>
5175
5176 * nss/makedb.c (compute_tables): Make variables used in nested
5177 function static.
5178
27724598
UD
51792011-08-17 Ulrich Drepper <drepper@gmail.com>
5180
c5305d88
UD
5181 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5182 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5183 if buffer was too small.
5184
27724598
UD
5185 * elf/pldd.c (main): Attach to all threads in the process.
5186 Rewrite /proc handling to use *at functions.
5187
076fe015
UD
51882011-08-16 Ulrich Drepper <drepper@gmail.com>
5189
174baab3
UD
5190 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5191 specifies first scope to show.
5192 (dl_open_worker): Update callers. Move printing scope of new
5193 object to before the relocation.
44f0a71e 5194 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5195 * sysdeps/generic/ldsodefs.h: Update declaration.
5196
076fe015
UD
5197 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5198 string for the scope number.
5199
a60df2c3
UD
52002011-08-14 Ulrich Drepper <drepper@gmail.com>
5201
5202 * nscd/servicescache.c (cache_addserv): Make sure written is always
5203 initialized.
5204
5e4287d1
RM
52052011-08-14 Roland McGrath <roland@hack.frob.com>
5206
85ae0589
RM
5207 * sysdeps/i386/i486/bits/atomic.h
5208 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5209 statement expression, so as to suppress "set but not used" warning.
5210 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5211
69f63097
RM
5212 * string/strncat.c (STRNCAT): Use prototype definition.
5213
675456ef
RM
5214 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5215 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5216 -Iprograms here.
5217 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5218 (localedef-modules): Add localedef.
5219 (locale-modules): Add locale.
5220
5e4287d1
RM
5221 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5222 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5223 to avoid a warning.
5224
9c96ff23
DM
52252011-08-14 David S. Miller <davem@davemloft.net>
5226
5227 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5228 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5229
f9ddf089
UD
52302011-08-13 Ulrich Drepper <drepper@gmail.com>
5231
44f0a71e 5232 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5233 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5234 * elf/rtld.c (dl_main): Set l_name of vDSO.
5235 Call _dl_show_scope when DL_DEBUG_SCOPES.
5236 (process_dl_debug): Recognize scopes flag and also set it for all.
5237 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5238 Declare _dl_show_scope.
5239
1dc27704
UD
5240 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5241 (do_dlopen): Pass caller_dlopen to dl_open.
5242 (__libc_dlopen_mode): Initialize caller_dlopen.
5243
f9ddf089
UD
5244 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5245 of libc. Make tolower call locale-independent. Optimize a bit by
5246 using isdigit instead of isalnum.
5247 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5248
9ac533d3
UD
52492011-08-12 Ulrich Drepper <drepper@gmail.com>
5250
5251 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5252 was a dependency or dynamically loaded.
5253
89edf2e9
UD
52542011-08-11 Ulrich Drepper <drepper@gmail.com>
5255
8e999d29
UD
5256 * intl/l10nflist.c: Allow architecture-specific pop function.
5257 * sysdeps/x86_64/l10nflist.c: New file.
5258
89edf2e9
UD
5259 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5260 classification.
5261
14d96785
AS
52622011-08-10 Andreas Schwab <schwab@redhat.com>
5263
5264 * include/dirent.h: Add libc_hidden_proto for scandirat and
5265 scandirat64. Don't declare __scandirat64.
5266 * dirent/scandirat.c: Add libc_hidden_def.
5267 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5268 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5269
6761ac04
DM
52702011-08-10 David S. Miller <davem@davemloft.net>
5271
5272 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5273 enum.
5274 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5276 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5277
c55fbd1e
UD
52782011-08-09 Ulrich Drepper <drepper@gmail.com>
5279
5280 * Versions.def [libc]: Add GLIBC_2.15.
5281 * dirent/Makefile (routines): Add scandirat and scandirat64.
5282 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5283 GLIBC_2.15.
5284 * dirent/dirent.h: Declare scandirat and scandirat64.
5285 * dirent/scandirat.c: New file.
5286 * dirent/scandirat64.c: New file.
5287 * sysdeps/wordsize-64/scandirat.c: New file.
5288 * sysdeps/wordsize-64/scandirat64.c: New file.
5289 * dirent/opendir.c: Define opendirat.
5290 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5291 using scandirat.
5292 * dirent/scandir64.c: Adjust for scandir.c change.
5293 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5294 __scandirat64, and __scandir_cancel_handler.
5295 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5296 additional parameter and use openat instead of open (outside of ld.so).
5297 Add new __opendir as wrapper around __opendirat.
5298 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5299 here without requiring old scandirat implementation.
5300
879165f2
UD
53012011-08-08 Ulrich Drepper <drepper@gmail.com>
5302
5303 * dirent/scandir.c (cancel_handler): Renamed to
5304 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5305 defined. Adjust users.
5306 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5307 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5308
cb7e923b
UD
53092011-08-04 Ulrich Drepper <drepper@gmail.com>
5310
16292edd
UD
5311 * string/test-string.h (IMPL): Use __STRING to expand name and then
5312 stringify it.
5313
cb7e923b
UD
5314 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5315 of cleanups.
5316
cff82933
LD
53172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5318
5319 * string/Makefile: Update.
5320 (strop-tests): Append strncat.
5321 * string/test-wcscmp.c: New file.
5322 New comprehensive test for wcscmp.
5323 * string/test-strcmp.c: Update.
5324 (WIDE): New define.
5325
9be9bfcc
AS
53262011-07-22 Andreas Schwab <schwab@redhat.com>
5327
5328 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5329 line.
5330
2e96f1c7
AS
53312011-07-26 Andreas Schwab <schwab@redhat.com>
5332
5333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5334 encoding to ACE if AI_IDN.
5335
85188888
JJ
53362011-08-01 Jakub Jelinek <jakub@redhat.com>
5337
5338 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5339 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5340
5fa16e9b
LD
53412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5342
5343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5344 Fix overflow bug in strncat.
5345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5346
5347 * string/test-strncat.c: Update.
5348 Add new tests for checking overflow bugs.
5349
53502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5351
5352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5353 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5354 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5355 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5357 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5358 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5359 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5360 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5361
5362 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5363 (USE_AS_STRCAT): Define.
5364 Add strcat and strncat support.
5365 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5366
8c1a459f
AS
53672011-07-25 Andreas Schwab <schwab@redhat.com>
5368
5369 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5370 __n bigger than INT_MAX+1.
5371 (__strncmp_g): Likewise.
5372
bba33c28
UD
53732011-07-23 Ulrich Drepper <drepper@gmail.com>
5374
798be72d
UD
5375 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5376 * libio/stido.h: Likewise.
5377
8accd4dc
UD
5378 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5379 (AF_NFC): Define.
5380 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5381 (AF_NFC): Define.
5382
cbff0d96
UD
5383 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5384 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5385 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5386 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5388
9191c04a
UD
5389 [BZ #13021]
5390 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5391 installed.
5392
bba33c28
UD
5393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5394 typo.
5395 (_dl_x86_64_save_sse): Likewise.
5396
90f139dd
UD
53972011-07-22 Ulrich Drepper <drepper@gmail.com>
5398
1aae088a
UD
5399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5400 OSXSAVE.
5401 (_dl_x86_64_save_sse): Likewise.
5402
8e2045f5
UD
5403 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5404
90f139dd
UD
5405 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5406
1d002f25
AS
54072011-07-21 Andreas Schwab <schwab@redhat.com>
5408
5409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5410 change.
5411 (_dl_x86_64_save_sse): Use correct AVX check.
5412
21137f89
UD
54132011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5414
5415 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5416 bug in strncpy/strncat.
5417 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5418
a65c0b7a
UD
54192011-07-21 Ulrich Drepper <drepper@gmail.com>
5420
5421 * string/tester.c (test_strcat): Add tests for different alignments
5422 of source and destination.
5423 (test_strncat): Likewise.
5424
6986b98a
UD
54252011-07-20 Ulrich Drepper <drepper@gmail.com>
5426
90bb2039
UD
5427 [BZ #12852]
5428 * posix/glob.c (glob): Check passed in values before using them in
5429 expressions to avoid some overflows.
5430 (glob_in_dir): Likewise.
5431
5644ef54
UD
5432 [BZ #13007]
5433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5434 check for AVX enablement so that we don't crash with old kernels and
5435 new hardware.
5436 * elf/tst-audit4.c: Add same checks here.
5437 * elf/tst-audit6.c: Likewise.
5438
5439 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5440
bfc9dc9b
AS
54412011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5442
5443 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5444
702e64bb
UD
54452011-07-20 Ulrich Drepper <drepper@gmail.com>
5446
5447 * po/cs.po: Update from translation team.
5448 * po/bg.po: Likewise.
5449
295e904f
MP
54502011-07-12 Marek Polacek <mpolacek@redhat.com>
5451
5452 * misc/sys/cdefs.h: Add support for const attribute.
5453 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5454 to gnu_dev_{major,minor,makedev} functions.
5455
3ff94596
MP
54562011-07-20 Marek Polacek <mpolacek@redhat.com>
5457
5458 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5459
28b59fca
AS
54602011-07-20 Andreas Schwab <schwab@redhat.com>
5461
5462 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5463 strlen results.
5464
19df733e
AK
54652011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5466
5467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5468 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5469 register in order to avoid conflicts with the soft frame pointer
5470 being held in r11 when necessary.
5471 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5472 (INTERNAL_VSYSCALL_NCS): Likewise.
5473
c8835729
MP
54742011-07-14 Marek Polacek <mpolacek@redhat.com>
5475
5476 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5477 * elf/dl-fini.c (_dl_fini): Adjust caller.
5478 * elf/dl-close.c (_dl_close_worker): Likewise.
5479 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5480
b902330c
MP
54812011-07-15 Marek Polacek <mpolacek@redhat.com>
5482
8991e135
MP
5483 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5484 "aux_cache->nlibs < 0".
5485
b902330c
MP
5486 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5487 in the reload-count case.
5488
99710781
LD
54892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5490
5491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5492 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5493 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5494 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5495 * sysdeps/x86_64/multiarch/strcat.S: New file.
5496 * sysdeps/x86_64/multiarch/strncat.S: New file.
5497 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5499 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5500 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5501 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5502 (USE_AS_STRCAT): Define.
5503 Add strcat and strncat support.
5504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5506 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5507 * string/strncat.c: Update.
5508 (USE_AS_STRNCAT): Define.
5509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5510 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5511 and i7.
5512 * sysdeps/x86_64/multiarch/init-arch.h
5513 (bit_Prefer_PMINUB_for_stringop): New.
5514 (index_Prefer_PMINUB_for_stringop): Likewise.
5515 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5516 bit_Prefer_PMINUB_for_stringop.
5517
7dc6bd90
UD
55182011-07-19 Ulrich Drepper <drepper@gmail.com>
5519
5520 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5521 buffer64.
5522 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5523 of casting of buffer.
5524 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5525 buffer32 and buffer64.
5526 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5527 writes instead of casting of buffer.
5528 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5529 buffer32.
5530 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5531 casting of buffer.
5532
e0e72284
AS
55332011-07-19 Andreas Schwab <schwab@redhat.com>
5534
5535 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5536
feb1eb0b
UD
55372011-07-19 Ulrich Drepper <drepper@gmail.com>
5538
5539 * nscd/nscd.c (termination_handler): Don't do anything for a database
5540 if it has not yet been initialized.
5541
298711ff
UD
55422011-07-18 Ulrich Drepper <drepper@gmail.com>
5543
5544 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5545
55462011-07-15 Marek Polacek <mpolacek@redhat.com>
5547
5548 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5549
f9d68389
UD
55502011-07-18 Ulrich Drepper <drepper@gmail.com>
5551
5552 * po/nl.po: Update from translation team.
5553 * po/sv.po: Likewise.
5554
db290cf5
RM
55552011-07-16 Roland McGrath <roland@hack.frob.com>
5556
5557 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5558 now disallowed by GCC.
5c550700 5559
fd5e21c7
RM
5560 * configure.in (use-default-link): Default to yes if a test -shared
5561 link meets our qualifications.
5562 * configure: Regenerated.
5563
5c550700
RM
5564 * config.make.in (output-format): New variable.
5565 * configure.in: Check for ld --print-output-format support.
5566 * configure: Regenerated.
5567 * Makerules ($(common-objpfx)format.lds)
5568 [$(output-format) != unknown]: Just use $(output-format),
5569 instead of the linker-script munging.
5570
9fa2c032
RM
55712011-07-14 Roland McGrath <roland@hack.frob.com>
5572
a6928d51
RM
5573 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5574 of $(common-objpfx)shlib.lds.
5575 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5576
661607b3
RM
5577 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5578 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5579
9fa2c032
RM
5580 * configure.in (-z relro check): Adjust test code to add a large
5581 writable data section after it.
5582 * configure: Regenerated.
5583
defe9061
RM
55842011-07-11 Roland McGrath <roland@hack.frob.com>
5585
5586 * configure.in (-z relro check): Fix test code to make the variable
5587 truly const.
5588 * configure: Regenerated.
5589
319b9ad4
UD
55902011-07-11 Ulrich Drepper <drepper@gmail.com>
5591
5592 * nscd/nscd.h (struct traced_file): Define.
5593 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5594 elements. Add traced_files.
5595 (inotify_fd): Declare.
5596 (register_traced_file): Declare.
5597 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5598 (inotify_fd): Export.
5599 (resolv_conf_descr): Remove.
5600 (nscd_init): Move inotify descriptor creation to main.
5601 Don't register files for notification here.
5602 (register_traced_file): New function.
5603 (invalidate_cache): Don't use reset_res to determine whether to call
5604 res_init, go through the list of registered files.
5605 (main_loop_poll): The inotify descriptors are now stored in the
5606 structures for the traced files.
5607 (main_loop_epoll): Likewise
5608 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5609 to __nss_disable_nscd.
5610 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5611 for a database anymore. Check the records for all the registered
5612 files instead.
5613 * nss/Makefile (libnss_files-routines): Add files-init.
5614 (libnss_db-routines): Add db-init.
5615 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5616 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5617 * nss/nss_db/db-init.c: New file.
5618 * nss/nss_files/files-init.c: New file.
5619 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5620 __nss_lookup_function.
5621 (__nss_lookup_function): Call nss_load_library.
5622 (nss_load_all_libraries): New function.
5623 (__nss_disable_nscd): Take parameter with callback function for files
5624 to register. Set is_nscd. Load all the DSOs for the NSS modules
5625 used for the cached services.
5626 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5627 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5628 options for features to all the files in nscd.
5629
5630 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5631
23bee3e8
RM
56322011-07-10 Roland McGrath <roland@hack.frob.com>
5633
5634 * csu/elf-init.c (__libc_csu_init): Comment typo.
5635
46a5b7f0
UD
56362011-07-09 Ulrich Drepper <drepper@gmail.com>
5637
5638 * po/pl.po: Update from translation team.
5639 * po/ja.po: Likewise.
5640 * po/ru.po: Likewise.
5641 * po/ko.po: Likewise.
5642 * po/fr.po: Likewise.
5643
d30cf5bb
RM
56442011-07-09 Roland McGrath <roland@hack.frob.com>
5645
113ddea4
RM
5646 * configure.in (.ctors/.dtors header and trailer check):
5647 Use an empirical test on a built program.
5648 * configure: Regenerated.
5649
574920b4
RM
5650 * configure.in (-z relro check): Use an empirical test on a built DSO.
5651 Detect, but do not require, on ia64.
5652 * configure: Regenerated.
5653
d30cf5bb
RM
5654 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5655 Update tests that use readelf to use $READELF instead.
5656 * configure: Regenerated.
5657
8538fdb3
UD
56582011-07-08 Ulrich Drepper <drepper@gmail.com>
5659
5660 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5661 if the result is not used.
5662
04d08991
AJ
56632011-07-05 Andreas Jaeger <aj@suse.de>
5664
5665 [BZ#9696]
5666 * stdlib/tst-strtod.c: Add testcase.
5667
de283087
AD
56682011-07-07 Ulrich Drepper <drepper@gmail.com>
5669
4e5f31c8 5670 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5671 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5672 The latter has a higher limit. Take additional parameter to pass to
5673 the new function.
5674 (__pathconf): Pass file to __statfs_link_max.
5675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5676 __statfs_link_max.
5677 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5678 __statfs_link_max.
5679
de283087
AD
5680 [BZ #12868]
5681 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5682 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5683 Handle Lustre.
5684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5685 (__statfs_filesize_max): Likewise.
5686 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5687
c75fa153
AJ
56882011-07-05 Andreas Jaeger <aj@suse.de>
5689
5690 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5691
1a544854
UD
56922011-07-06 Marek Polacek <mpolacek@redhat.com>
5693
5694 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5695 `status' variable.
5696 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5697 Likewise.
5698
6f0eec67
UD
56992011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5700
5701 * Makefile (strop-tests): Add strncat.
5702 * string/test-strncat.c: New file.
5703
aae30307
UD
57042011-06-30 Marek Polacek <mpolacek@redhat.com>
5705
5706 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5707
c0cfb5eb
UD
57082011-06-21 Andreas Jaeger <aj@suse.de>
5709
5710 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5711 Copy rule from iconvdata/Makefile.
5712
01636b21
UD
57132011-07-06 Ulrich Drepper <drepper@gmail.com>
5714
5715 [BZ #12922]
5716 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5717 but no long options are defined, just return 'W'.
5718
9895c8bc
UD
57192011-06-22 Marek Polacek <mpolacek@redhat.com>
5720
5721 [BZ #9696]
5722 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5723
5d4cf042
UD
57242011-07-06 Ulrich Drepper <drepper@gmail.com>
5725
5726 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5727 netgroups to read.
960e5535 5728 (innetgr): Likewise.
5d4cf042 5729
751eb97e
RM
57302011-07-05 Roland McGrath <roland@hack.frob.com>
5731
5732 * config.make.in (install_root): Default to $(DESTDIR).
5733
f15f1e45
UD
57342011-07-05 Ulrich Drepper <drepper@gmail.com>
5735
5736 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5737
4e34ac6a
RM
57382011-07-02 Roland McGrath <roland@hack.frob.com>
5739
5e9b6af4
RM
5740 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5741
84f9ea0f
RM
5742 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5743 containing directory rather than embedding absolute directory names.
5744
ea5ee9f7
RM
5745 * scripts/check-local-headers.sh: Rewritten using awk.
5746 Match by word, not by line. Print error messages for matches.
5747 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5748
1b74661a
RM
5749 * Makerules [shlib-lds-flags empty]:
5750 ($(common-objpfx)libc_pic.opts): New target.
5751 ($(common-objpfx)libc_pic.os.clean): New target.
5752 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5753
5754 * config.make.in (OBJCOPY): New variable.
5755 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5756 * configure: Regenerated.
5757
f781ef40
RM
5758 * config.make.in (use-default-link): New variable.
5759 * configure.in (use_default_link): Grok --with-default-link to set it.
5760 * configure: Regenerated.
5761 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5762 (shlib-lds, shlib-lds-flags): Define to empty.
5763
2d4fa81e
RM
5764 * Makerules (shlib-lds): New variable.
5765 (shlib-lds-flags): New variable.
5766 (build-shlib, build-moduile, build-module-asneeded): Use it.
5767 ($(common-objpfx)libc.so): Use $(shlib-lds).
5768 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5769 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5770
31fffa6b
RM
5771 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5772 DT_FLAGS/DT_FLAGS_1 with zero flags.
5773
4e34ac6a
RM
5774 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5775 linker script munging.
5776
fcfc776b
UD
57772011-07-02 Ulrich Drepper <drepper@gmail.com>
5778
5779 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5780 as 128-bit value.
5781 * crypt/sha512.c (sha512_process_block): Perform total addition using
5782 128-bit if possible.
5783 (__sha512_finish_ctx): Likewise.
5784 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5785 as 64-bit value.
5786 * crypt/sha256.c (SWAP64): Define.
5787 (sha256_process_block): Perform total addition using 64-bit if
5788 possible.
5789 (__sha256_finish_ctx): Likewise.
5790
99231d9a
UD
57912011-07-01 Ulrich Drepper <drepper@gmail.com>
5792
5793 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5794 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5795 * nscd/hstcache.c (cache_addhst): Likewise.
5796 * nscd/grpcache.c (cache_addgr): Likewise.
5797 * nscd/aicache.c (addhstaiX): Likewise
5798 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5799
445b4a53
TK
58002011-07-01 Thorsten Kukuk <kukuk@suse.de>
5801
5802 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5803 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5804 * nscd/hstcache.c (cache_addhst): Likewise.
5805 * nscd/grpcache.c (cache_addgr): Likewise.
5806 * nscd/aicache.c (addhstaiX): Likewise
5807
6d4d8e8e
AS
58082011-07-01 Andreas Schwab <schwab@redhat.com>
5809
5810 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5811 domain only when needed.
5812
89f654c5
AS
58132011-06-30 Andreas Schwab <schwab@redhat.com>
5814
5815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5816 is always restored.
5817
cf3b23ff
UD
58182011-06-29 Ulrich Drepper <drepper@gmail.com>
5819
5820 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5821 are re-adding the entry.
5822 * nscd/servicescache.c (cache_addserv): Likewise.
5823
751626f9
AJ
58242011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5825
5826 * sysdeps/generic/dl-irel.h: fix protection against multiple
5827 inclusions.
5828 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5829
9113ea1f
UD
58302011-06-28 Ulrich Drepper <drepper@gmail.com>
5831
5c0b8d90
UD
5832 [BZ #12935]
5833 * malloc/memusage.sh: Fix quoting in message.
5834 * debug/xtrace.sh: Likewise.
5835
9113ea1f
UD
5836 * configure.in: Remove support for --experimental-malloc option, make
5837 it the default.
5838 * config.make.in: Likewise.
5839 * malloc/Makefile: Likewise.
5840
a4172181
AS
58412011-06-27 Andreas Schwab <schwab@redhat.com>
5842
5843 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5844 two-byte characters.
5845
78a7eee7
RM
58462011-06-27 Roland McGrath <roland@hack.frob.com>
5847
62bede13
RM
5848 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5849 AC_CACHE_CHECK invocation.
5850 * configure: Regenerated.
5851
78a7eee7
RM
5852 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5853
5ce33a62
UD
58542011-06-27 Ulrich Drepper <drepper@gmail.com>
5855
034807a9
UD
5856 [BZ #12350]
5857 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5858 bit from old_res_options.
5859
4902da17
UD
5860 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5861
5ce33a62
UD
5862 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5863 value type for setfct.
5864
c2344f56
L
58652011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5866
5867 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5868 __gettimeofday instead of gettimeofday.
5869
68468076
UD
58702011-06-26 Ulrich Drepper <drepper@gmail.com>
5871
5872 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5873
acb0d739
L
58742011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5875
5876 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5877
5878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5879 info.
5880
8912479f
L
58812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5882
5883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5884 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5885 strcpy-sse2-unaligned strncpy-sse2-unaligned
5886 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5887 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5888 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5889 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5890 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5891 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5892 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5893 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5894 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5895 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5896 (STRCPY): Support SSE2 and SSSE3 versions.
5897
d5495a11
UD
58982011-06-24 Ulrich Drepper <drepper@gmail.com>
5899
5900 [BZ #12874]
5901 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5902 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5903 kernels which artificially limit size of requests.
5904
0b1cbaae
L
59052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5906
5907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5908 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5909 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5910 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5911 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5912 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5913 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5914 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5915 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5916 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5917 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5918 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5919 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5920 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5921 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5923 Enable unaligned load optimization for Intel Core i3, i5 and i7
5924 processors.
5925 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5926 Define.
5927 (index_Fast_Unaligned_Load): Define.
5928 (HAS_FAST_UNALIGNED_LOAD): Define.
5929
07f494a0
MP
59302011-06-23 Marek Polacek <mpolacek@redhat.com>
5931
5932 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5933
fa3fc0fe
UD
59342011-06-22 Ulrich Drepper <drepper@gmail.com>
5935
5936 [BZ #12907]
5937 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5938 until it is clear that the information is realy needed.
5939 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5940
e12df166
AS
59412011-06-22 Andreas Schwab <schwab@redhat.com>
5942
5943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5944
852eb34d
UD
59452011-06-22 Ulrich Drepper <drepper@gmail.com>
5946
84e2a551
UD
5947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5948 /sys/devices/system/cpu/online if it is usable.
5949
852eb34d
UD
5950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5951 reading the information from the /proc filesystem to once a second.
5952
6e502e19
UD
59532011-06-21 Andreas Jaeger <aj@suse.de>
5954
5955 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5956 NULL after inclusion of kernel headers.
5957
75d39ff2
UD
59582011-06-21 Ulrich Drepper <drepper@gmail.com>
5959
51f9aa6a
UD
5960 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5961 calls to internal_setent.
5962
c0244a9d
UD
5963 [BZ #12885]
5964 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5965 addresses using gethostbyname4_r ignore IPv4 addresses.
5966
c5e3c2ae
UD
5967 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5968 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5969
75d39ff2
UD
5970 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5971
42675c6f
DM
59722011-06-20 David S. Miller <davem@davemloft.net>
5973
5974 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5975 inclusions.
5976 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5977
5978 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5979 (elf_irel): Use it.
5980 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5981 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5982 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5983 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5984 * sysdeps/x86_64/dl-irel.h: Likewise.
5985
5986 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5987 * elf/dl-sym.c: Likewise.
5988
57912a71
UD
59892011-06-15 Ulrich Drepper <drepper@gmail.com>
5990
5991 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5992 need to dereference resplen2.
5993
ee22793d
AS
59942011-06-14 Andreas Schwab <schwab@redhat.com>
5995
5996 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5997
a9e836b0
UD
59982011-06-15 Ulrich Drepper <drepper@gmail.com>
5999
77fb9117
UD
6000 * Makeconfig: Define vardbdir and inst_vardbdir.
6001 * nss/Makefile: Add rules to install db-Makefile.
6002
40c1b22c
UD
6003 * nss/nss_db/db-XXX.c: Cleanup.
6004
9f2da732
UD
6005 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6006 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6007 GLIBC_PRIVATE.
6008 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6009 * nss/makedb.c: Implement -g option to specify that value strings
6010 are generated and should not be added to table iterated over for
6011 get*ent calls.
6012 * nss/nss_db/db-initgroups.c: New file.
6013
82e9a1f7
UD
6014 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6015 interface.
6016
c41af17e
UD
6017 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6018 (internal_getgrouplist): Adjust to name change.
6019 Update use_initgroups_entry if this is not the first call.
6020 * nss/databases.def: Add initgroups entry.
6021
a9e836b0
UD
6022 * nss/makedb.c (compute_tables): Check result of multiple hash table
6023 sizes to minimize maximum chain length.
6024
2666d441
UD
60252011-06-14 Ulrich Drepper <drepper@gmail.com>
6026
6027 * Versions.def: Add entry for libnss_db.
6028 * shlib-versions: Likewise.
6029 * nss/Makefile: Add rules to build libnss_db.
6030 * nss/Versions: Add libnss_db information. Organize libnss_files
6031 entries better.
6032 * nss/db-Makefile: Add gshadow support. Change rules for the new
6033 makedb progra. Some minor improvements to generate smaller files.
6034 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6035 here from...
6036 * nss/makedb.c: ...here.
6037 Improve database format to be smaller and require less memory at
6038 runtime.
6039 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6040 db anymore.
6041 * nss/nss_db/db-netgrp.c: Likewise.
6042 * nss/nss_db/db-open.c: Likewise.
6043 * nss/nss_files/flies-XXX.x: Adjust comments.
6044 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6045 * nss/nss_files/files-grp.c: Likewise.
6046 * nss/nss_files/files-hosts.c: Likewise.
6047 * nss/nss_files/files-network.c: Likewise.
6048 * nss/nss_files/files-proto.c: Likewise.
6049 * nss/nss_files/files-pwd.c: Likewise.
6050 * nss/nss_files/files-rpc.c: Likewise.
6051 * nss/nss_files/files-service.c: Likewise.
6052 * nss/nss_files/files-sgrp.c: Likewise.
6053 * nss/nss_files/files-spwd.c: Likewise.
6054 * nss/nss_db/db-alias.c: Removed.
6055 * nss/nss_db/dummy-db.h: Removed.
6056
9ee76b5a
UD
60572011-06-02 Ulrich Drepper <drepper@gmail.com>
6058
6059 * nss/makedb.c: Rewritten to not use database library.
6060 * nss/Makefile: Update to build new makedb program.
6061
c71ca1f8
AJ
60622011-06-14 Andreas Jaeger <aj@suse.de>
6063
6064 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6065 memset declaration.
6066
3154bfb8
UD
60672011-06-10 Andreas Schwab <schwab@redhat.com>
6068
6069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6070 tmpbuf.
6071
b350afab
RM
60722011-06-10 Roland McGrath <roland@hack.frob.com>
6073
decd4e50
RM
6074 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6075 * elf/Makefile ($(objpfx)ld.so): Likewise.
6076
5615eaf2
RM
6077 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6078 Don't list ld.so twice in dependencies.
6079
6080 * posix/bug-regex31.c: Include <stdlib.h>.
6081
6082 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6083
6084 * nis/nss_compat/compat-spwd.c
6085 (getspent_next_nss_netgr): Remove unused variable.
6086 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6087
6088 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6089 nonmembers" output to use the right array.
6090
6091 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6092
6093 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6094
6095 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6096 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6097 * catgets/gencat.c (read_input_file): Likewise.
6098 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6099
6100 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6101 variable definition inside #if's controlling its use.
6102
6103 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6104
6105 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6106
6107 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6108
6109 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6110 unreachable code.
6111
6112 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6113
b68e08db
RM
6114 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6115 * configure: Regenerated.
6116
b350afab
RM
6117 * Makerules: Revert last change.
6118 * elf/Makefile: Likewise.
6119
28368601
RM
61202011-06-09 Roland McGrath <roland@hack.frob.com>
6121
6122 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6123 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6124 (reloc-link): Likewise.
6125
11988f8f
UD
61262011-06-09 Ulrich Drepper <drepper@gmail.com>
6127
6128 * elf/Makefile: Add rules to build pldd.
6129 * elf/pldd.c: New file.
6130 * elf/pldd-xx.c: New file.
6131
e80fab37
UD
61322011-06-07 Ulrich Drepper <drepper@gmail.com>
6133
6134 * version.h: Update for 2.15 development version.
6135
9b849836
DM
61362011-06-07 David S. Miller <davem@davemloft.net>
6137
6138 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6139 ifuncs.
6140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6141 elf_machine_lazy_rel): Likewise.
6142 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6143 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6144 elf_machine_lazy_rel): Likewise.
6145 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6146 dl_hwcap via passed in argument.
6147 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6148 Likewise.
6149
5a31b283
AK
61502011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6151
6152 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6153
069e52f8
RM
61542011-06-06 Roland McGrath <roland@hack.frob.com>
6155
6156 [BZ #12849]
6157 * manual/fdl-1.1.texi: New file, verbatim from:
6158 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6159 * manual/lgpl-2.1.texi: New file, verbatim from:
6160 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6161 * manual/Makefile (licenses): New variable, list those new file names.
6162 (texis): Use it.
6163 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6164
6165 * manual/fdl.texi: File removed.
6166 * manual/lesser.texi: File removed.
6167 * manual/libc.texinfo (Copying, Documentation License):
6168 Use new @include file names, put @appendix directive before @include.
6169
f16846a5
JJ
61702011-06-04 Jakub Jelinek <jakub@redhat.com>
6171
6172 [BZ #12841]
6173 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6174 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6175 (mq_open): Add __NTH.
6176
3d29045b
L
61772011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6178
6179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6180 Assume Intel Core i3/i5/i7 processor if AVX is available.
6181
8c297311
UD
61822011-05-31 Ulrich Drepper <drepper@gmail.com>
6183
6184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6185 typo.
6186
c8fc0c91
UD
61872011-05-31 Andreas Schwab <schwab@redhat.com>
6188
6189 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6190 memory. Use alloca_account. Fix memory leak when retrying.
6191
5b27a807
UD
61922011-05-31 Ulrich Drepper <drepper@gmail.com>
6193
356f8bc6
UD
6194 * version.h (RELEASE): Bump for 2.14 release.
6195 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6196
5b27a807
UD
6197 * config.make.in (RANLIB): Remove entry.
6198
01f16ab0
UD
61992011-05-30 Ulrich Drepper <drepper@gmail.com>
6200
41fce8bd
UD
6201 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6202 (libc.pot): Work around missing support for .ksh extension in xgettext.
6203
4769ae77
UD
6204 [BZ #12684]
6205 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6206 if both request failed.
6207 (send_dg): In case of server errors clear resplen or *resplen2.
6208
6b1e7d19
UD
6209 [BZ #12454]
6210 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6211 when there are multiple maps.
6212 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6213 (_dl_fini): Remove test here.
6214
01f16ab0
UD
6215 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6216
b1ebd700
UD
62172011-05-29 Ulrich Drepper <drepper@gmail.com>
6218
7ae22829
UD
6219 [BZ #12350]
6220 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6221 bit from old_res_options.
6222 (gaih_inet): Likewise.
6223
553149f6 6224 [BZ #11099]
18a84741 6225 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6226 as signed.
6227
652ffab1
UD
6228 * resolv/res_init.c (res_setoptions): Make the code more compact.
6229
16985fd0
UD
6230 [BZ #11558]
6231 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6232 set RES_USEVC.
6233
0464f746
UD
6234 [BZ #11634]
6235 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6236
7d17596c
UD
6237 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6238
cf6bbbd7
UD
6239 [BZ #11781]
6240 * malloc/malloc.h: Declare malloc hook variables as volatile.
6241
13f1ab36
UD
6242 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6243 in last patch.
6244
b1ebd700
UD
6245 [BZ #11799]
6246 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6247 raise in the comment.
80e2212d
UD
6248 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6250 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6251
ce67228d
UD
62522011-05-28 Ulrich Drepper <drepper@gmail.com>
6253
8887a920
UD
6254 [BZ #12811]
6255 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6256 grow the buffers more if it already has to be sufficient.
6257 (build_wcs_upper_buffer): Likewise.
6258 * posix/regexec.c (check_matching): Likewise.
6259 (clean_state_log_if_needed): Likewise.
6260 (extend_buffers): Don't enlarge buffers beyond size of the input
6261 buffer.
6262 Patches mostly by Emil Wojak <emil@wojak.eu>.
6263 * posix/bug-regex32.c: New file.
6264 * posix/Makefile (tests): Add bug-regex32.
6265
4f031072
UD
6266 * locale/findlocale.c (_nl_find_locale): Return right away if
6267 _nl_explode_name failed.
6268 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6269
d0478f0c
UD
6270 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6271
de81b246
UD
6272 * debug/xtrace.sh: Unify messages.
6273 * malloc/memusage.sh: Likewise.
6274
c738465a
UD
6275 [BZ #12813]
6276 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6277 time symbol from vDSO. Substitute with vsyscall if not available.
6278 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6279 __vdso_time.
6280
f1f929d7
UD
6281 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6282 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6283 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6284 Add sendmmsg and internal_sendmmsg.
6285 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6286 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6287 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6288
ce67228d
UD
6289 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6290 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6291 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6292
e57420c6
UD
62932011-05-27 Ulrich Drepper <drepper@gmail.com>
6294
a8509ca5
UD
6295 [BZ #12813]
6296 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6297 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6298 available.
6299 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6300 __vdso_getcpu.
6301
e57420c6
UD
6302 [BZ #12814]
6303 * iconvdata/Makefile (tests): Add bug-iconv9.
6304 * iconvdata/bug-iconv9.c: New file.
6305
4d07db15
AS
63062011-05-27 Andreas Schwab <schwab@redhat.com>
6307
6308 [BZ #12814]
6309 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6310
ea486f69
JJ
63112011-05-25 Jakub Jelinek <jakub@redhat.com>
6312
6313 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6314 (struct user_regs_struct): Change intcs field back to cs.
6315
6f038433
UD
63162011-05-25 Ulrich Drepper <drepper@gmail.com>
6317
6318 * po/ja.po: Update from translation team.
6319
67f86a25
UD
63202011-05-23 Ulrich Drepper <drepper@gmail.com>
6321
6322 [BZ #12795]
6323 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6324 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6325
def7fbd6
AS
63262011-05-20 Andreas Schwab <schwab@redhat.com>
6327
6328 * stdlib/longlong.h: Update from GCC.
6329
f50ef8f1
AS
63302011-05-23 Andreas Schwab <schwab@redhat.com>
6331
6332 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6333 parameter name.
6334 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6335 Add parameter name.
6336 (__sysconf): Pass it down.
6337
de7ce8f1
UD
63382011-05-22 Ulrich Drepper <drepper@gmail.com>
6339
f2962a71
UD
6340 [BZ #12671]
6341 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6342 some situations.
6343 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6344 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6345 add in in __libc_use_alloca calls. Adjust callers.
6346 (glob): Use malloc in some situations.
6347
de7ce8f1
UD
6348 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6349 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6350 pltexit.
6351
aec84f53
UD
63522011-05-21 Ulrich Drepper <drepper@gmail.com>
6353
05bb4a68
UD
6354 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6355 and CLOCK_BOOTTIME_ALARM.
6356
7ea72f99
UD
6357 [BZ #12782]
6358 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6359 is returned.
6360
7e4afad5
UD
6361 * string/_strerror.c (__strerror_r): Print negative errors as signed
6362 numbers.
6363
8e211fec
UD
6364 [BZ #12777]
6365 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6366 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6367 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6368
f7d82dc9
UD
6369 * configure.in: Fix typo in redirection and correct removal of test
6370 files in two cases.
6371
cc9e536d
UD
6372 [BZ #12788]
6373 * locale/setlocale.c (new_composite_name): Fix test to check for
6374 identical name of all categories.
6375
aec84f53
UD
6376 [BZ #12792]
6377 * libio/filedoalloc.c (local_isatty): New function.
6378 (_IO_file_doallocate): Use local_isatty.
6379 * stdio-common/perror.c (perror): In case a new stream is used
6380 forward the stream error.
6381 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6382 error flag.
6383
78e64fdc
RT
63842011-05-20 Ulrich Drepper <drepper@gmail.com>
6385
34a9094f
UD
6386 [BZ #11869]
6387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6388 alloca.
6389 * include/alloca.h (extend_alloca_account): Define.
6390
78e64fdc
RT
6391 [BZ #11857]
6392 * posix/regex.h: Fix comments with documentation of user-accessible
6393 fields after compilation and describe correct free'ing of pattern
6394 after re_compile_pattern.
6395 Patch by Reuben Thomas <rrt@sc3d.org>.
6396
457bddfc
RA
63972011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6398
6399 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6400 and -mno-altivec to prevent the compiler from using Altivec and/or
6401 VSX instructions when the corresponding registers are not available.
6402
a4527b51
AS
64032011-05-19 Andreas Schwab <schwab@redhat.com>
6404
6405 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6406
ed690b2f
UD
64072011-05-19 Ulrich Drepper <drepper@gmail.com>
6408
6409 * libio/freopen.c (freopen): Use __dup2, not dup2.
6410 * libio/freopen64.c (freopen64): Likewise.
6411
8db73634
L
64122011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6413
6414 [BZ #12775]
6415 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6416 * math/Makefile (tests): Add test-powl.
6417 (CFLAGS-test-powl.c): Define.
6418 * math/test-powl.c: New file.
6419
0a197a9d
L
64202011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6421
6422 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6423
ee30c380
UD
64242011-05-17 Ulrich Drepper <drepper@gmail.com>
6425
6426 [BZ #11837]
6427 * iconvdata/gb18030.c: Update to GB18020-2005.
6428
6ce75379
UD
64292011-05-16 Ulrich Drepper <drepper@gmail.com>
6430
a4b89fd8
AR
6431 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6432 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6433 Patch by Aharon Robbins <arnold@skeeve.com>.
6434
ea389b12
UD
6435 [BZ #11892]
6436 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6437 on the stack.
6438
68a3f91f
UD
6439 [BZ #11895]
6440 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6441 through underflows.
6442
15cc7dd1
UD
6443 [BZ #12766]
6444 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6445 point to strings before performing equality test for error_one_per_line
6446 mode.
6447
f3799213
UD
6448 [BZ #11697]
6449 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6450
d79a9c94
UD
6451 [BZ #11820]
6452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6453 (struct user_fpregs_struct): Avoid __uint*_t types.
6454
56e5eb46
UD
6455 [BZ #6420]
6456 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6457 symbol info. Use it instead of calling _dl_addr locally.
6458 (lock_and_info): New function.
6459 (tr_freehook): Call lock_and_info and pass symbol info as additional
6460 parameter to tr_where.
6461 (tr_mallochook): Likewise.
6462 (tr_reallochook): Likewise.
6463 (tr_memalignhook): Likewise.
6464
6ce75379
UD
6465 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6466 used and couldn't be at all thread-safe.
6467
f8a3b5bf
UD
64682011-05-15 Ulrich Drepper <drepper@gmail.com>
6469
94b7cc37
UD
6470 * libio/freopen.c (freopen): Don't close old file descriptor
6471 before the new one is opened. Instead dup the new file descriptor
6472 to the old one after the new stream is created.
6473 * libio/freopen64.c (freopen64): Likewise.
6474 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6475 * libio/fileops.c (_IO_new_file_close_it): Handle new
6476 _IO_FLAGS2_NOCLOSE flag.
6477 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6478 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6479 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6480 _IO_FLAGS2_NOCLOSE flag.
6481 * include/unistd.h: Add hidden_proto for dup3.
6482 Define __have_dup3.
6483 * io/dup3.c: Define hidden symbol.
6484 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6485
bd25564e
UD
6486 [BZ #7101]
6487 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6488 when an incomplete long option is used.
6489 * posix/tst-getopt_long1.c: New file.
6490 * posix/Makefile (tests): Add tst-getopt_long1.
6491
c84cfef4
UD
6492 [BZ #10138]
6493 * scripts/config.guess: Update from autoconf-2.68.
6494 * scripts/config.sub: Likewise.
6495
3b85df27
UD
6496 [BZ #10157]
6497 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6498 tests into ...
6499 (has_cpuclock): ...this. New function.
6500 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6501 macro here based on has_cpuclock code.
6502
15a856b1
UD
6503 [BZ #10149]
6504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6505 First byte (not low byte) is now always NUL.
6506 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6507
05f399e6
UD
6508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6509 Use non-cancelable interfaces.
6510
10a52685 6511 [BZ #9809]
94ecc67d
UD
6512 * locale/iso-639.def: Add entry for Sorani.
6513
f8a3b5bf
UD
6514 [BZ #11901]
6515 * include/stdlib.h: Move include protection to the right place.
6516 Define abort_msg_s. Declare __abort_msg with it.
6517 * stdlib/abort.c (__abort_msg): Adjust type.
6518 * assert/assert.c (__assert_fail_base): New function. Majority
6519 of code from __assert_fail. Allocate memory for __abort_msg with
6520 mmap.
6521 (__assert_fail): Now call __assert_fail_base.
6522 * assert/assert-perr.c: Remove bulk of implementation. Use
6523 __assert_fail_base.
6524 * include/assert.hL Declare __assert_fail_base.
6525 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6526 mmap.
6527 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6528
1af4e298
UD
65292011-05-14 Ulrich Drepper <drepper@gmail.com>
6530
f8a3b5bf 6531 [BZ #11952]
d26dfc60
MG
6532 [BZ #12453]
6533 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6534 until all modules are registered in the DTV.
6535 * elf/Makefile: Add rules to build and run tst-tls19.
6536 * elf/tst-tls19.c: New file.
6537 * elf/tst-tls19mod1.c: New file.
6538 * elf/tst-tls19mod2.c: New file.
6539 * elf/tst-tls19mod3.c: New file.
6540 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6541
2fc54d6f
UD
6542 [BZ #12083]
6543 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6544 correctly.
6545
98d76b46
UD
6546 [BZ #12601]
6547 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6548 two-byte sequence errors.
6549 * iconvdata/Makefile (tests): Add bug-iconv8.
6550 * iconvdata/bug-iconv8.c: New file.
6551
da3c19ef
UD
6552 [BZ #12626]
6553 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6554 buf2 definition.
6555
ca408c15
UD
6556 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6557
d6f67f7d
UD
6558 [BZ #12432]
6559 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6560 (dummy_getcfa): New function.
6561 (init): Get _Unwind_GetCFA address, use dummy if not found.
6562 (backtrace_helper): In recursion check, also check whether CFA changes.
6563 (__backtrace): Completely initialize arg.
6564
1af4e298 6565 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6566 storing incomplete byte sequence in state object. Avoid testing for
6567 guaranteed too small input if we know there is enough data available.
1af4e298 6568
da62f81b
AS
65692011-05-11 Andreas Schwab <schwab@redhat.com>
6570
6571 * Makeconfig (+link-pie): Indent.
6572 * Rules (binaries-pie): Define if $(have-fpie) and
6573 $(build-shared).
6574 (binaries-shared): Also filter out $(binaries-pie).
6575 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6576 * nscd/Makefile (others-pie): Add nscd.
6577 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6578 ($(objpfx)nscd): Remove command override.
6579 * login/Makefile (others-pie): Add pt_chown.
6580 ($(objpfx)pt_chown): Remove command override.
6581 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6582 remove command overrides.
6583
fcabc0f8
UD
65842011-05-13 Ulrich Drepper <drepper@gmail.com>
6585
20030ae6
UD
6586 * libio/tst_putwc.c: Fix error messages.
6587
fcabc0f8
UD
6588 [BZ #12724]
6589 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6590 currently writing and seek to current position when not.
6591 * libio/Makefile (tests): Add bug-fclose1.
6592 * libio/bug-fclose1.c: New file.
6593
320a5dc0
PB
65942011-05-12 Ulrich Drepper <drepper@gmail.com>
6595
6596 [BZ #12511]
6597 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6598 don't set DF_1_NODELETE here.
6599 (do_lookup_x): When entering new entry test for copy relocation
6600 and if necessary set DF_1_NODELETE flag.
6601 * elf/tst-unique4.cc: New file.
6602 * elf/tst-unique4.h: New file.
6603 * elf/tst-unique4lib.cc: New file.
6604 * elf/Makefile: Add rules to build and run tst-unique4.
6605 Patch by Piotr Bury <pbury@goahead.com>.
6606
22836f52
UD
66072011-05-11 Ulrich Drepper <drepper@gmail.com>
6608
f574184a
UD
6609 [BZ #12052]
6610 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6611
e1fb097f
UD
6612 [BZ #12625]
6613 * misc/mntent_r.c (addmntent): Flush the stream after the output
6614
22836f52
UD
6615 [BZ #12393]
6616 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6617 (is_trusted_path_normalize): Skip initial colon. Append slash
6618 to empty buffer. Duplicate is_trusted_path code but allow
6619 constructed patch to be prefix.
6620 (is_dst): Allow $ORIGIN followed by /.
6621 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6622 Correct testing of result of is_trusted_path_normalize
6623 (decompose_rpath): Fix warning.
6624
7b3b0b2a
UD
66252011-05-10 Ulrich Drepper <drepper@gmail.com>
6626
6627 [BZ #11257]
6628 * grp/initgroups.c (internal_getgrouplist): When we found the service
6629 list through the initgroups entry in nsswitch.conf do not always
6630 continue on a successful lookup. Don't always use the
eac80ce2 6631 __nss_group_database value if it is set.
7b3b0b2a
UD
6632 * nss/nsswitch.conf (initgroups): Change action for successful db
6633 lookup to continue for compatibility.
6634
2a81eaa5
UD
66352011-05-09 Ulrich Drepper <drepper@gmail.com>
6636
be97a69e
UD
6637 [BZ #11532]
6638 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6639 and CP774 modules.
6640 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6641 and CP774 modules.
6642 * iconvdata/tst-tables.sh: Likewise.
6643 * iconvdata/cp770.c: New file.
6644 * iconvdata/cp771.c: New file.
6645 * iconvdata/cp772.c: New file.
6646 * iconvdata/cp773.c: New file.
6647 * iconvdata/cp774.c: New file.
6648 * iconvdata/testdata/CP770: New file.
6649 * iconvdata/testdata/CP770..UTF8: New file.
6650 * iconvdata/testdata/CP771: New file.
6651 * iconvdata/testdata/CP771..UTF8: New file.
6652 * iconvdata/testdata/CP772: New file.
6653 * iconvdata/testdata/CP772..UTF8: New file.
6654 * iconvdata/testdata/CP773: New file.
6655 * iconvdata/testdata/CP773..UTF8: New file.
6656 * iconvdata/testdata/CP774: New file.
6657 * iconvdata/testdata/CP774..UTF8: New file.
6658
6659 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6660 END CHARMAP line.
6661 * iconvdata/gen-8bit-gap.sh: Likewise.
6662 * iconvdata/gen-8bit.sh: Likewise.
6663
c1e9e399
UD
6664 * locale/iso-639.def: Add ary entry.
6665
24c55fb3 6666 [BZ #11258]
96b4b1b0
UD
6667 * locale/C-translit.h.in: Add U20A1 transliteration.
6668
bdc2f971
KB
6669 [BZ #12178]
6670 * locale/iso-639.def: Add wae entry.
6671 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6672
2952b117
UD
6673 [BZ #12545]
6674 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6675 for n.
6676
2a81eaa5
UD
6677 [BZ #12711]
6678 * locale/C-translit.h.in: Add entry for U20B9.
6679 Patch by pravin.d.s@gmail.com.
6680
28377d1b
UD
66812011-05-08 Ulrich Drepper <drepper@gmail.com>
6682
7fb90fb8
UD
6683 [BZ #12713]
6684 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6685 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6686 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6687 in rtld. Use *stat64.
7fb90fb8 6688 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6689 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6690 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6691 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6692 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6693 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6694 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6695 __fstatat64 macros.
7fb90fb8
UD
6696 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6697 * dirent/rewinddir.c: Add libc_hidden_def.
6698 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6699 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6700
28377d1b
UD
6701 * include/dirent.h (__alloc_dir): Add flags parameter.
6702 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6703 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6704 __alloc_dir.
6705 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6706 from fdopendir if O_CLOEXEC is already set.
6707
66bdbaa4
AM
67082011-03-15 Alan Modra <amodra@gmail.com>
6709
6710 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6711 l_tls_firstbyte_offset non-zero. Save padding offset in
6712 l_tls_firstbyte_offset for later use.
6713 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6714 freeing static tls block.
6715
95721191
JN
67162011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6717
6718 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6719 where #ifdef was intended. The intent is to prevent ARG_MAX from
6720 being defined by the kernel headers.
6721
f87dfb1f
UD
67222011-05-07 Ulrich Drepper <drepper@gmail.com>
6723
6724 [BZ #12734]
6725 * resolv/resolv.h: Define RES_NOTLDQUERY.
6726 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6727 no-tld-query and set RES_NOTLDQUERY.
6728 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6729 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6730 modern BIND to search name as TLD unless forbidden.
6731
47c3cd7a
UD
67322011-05-07 Petr Baudis <pasky@suse.cz>
6733 Ulrich Drepper <drepper@gmail.com>
6734
6735 [BZ #12393]
6736 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6737 (is_trusted_path): ...to here.
c1e9ea35 6738 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6739 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6740 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6741
8a35c912
PP
67422011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6743
6744 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6745 __BEGIN/__END_DECLS.
6746
acd41f47
UD
67472011-05-06 Ulrich Drepper <drepper@gmail.com>
6748
6749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6750 NSS_STATUS_NOTFOUND if no record was found.
6751
597df647
AS
67522011-05-05 Andreas Schwab <schwab@redhat.com>
6753
6754 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6755 (headers-not-in-tirpc): Remove rpc/netdb.h
6756 * resolv/netdb.h: Revert last change.
6757
b9af1301
PP
67582011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6759
6760 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6761 circular dependency between libgcc.a and libc.a.
6762
4e34d5f5
AS
67632011-05-05 Andreas Schwab <schwab@redhat.com>
6764
6765 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6766 * nis/Makefile: Don't install rpcsvc/*.
6767 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6768 instead of <rpc/types.h>.
6769 (MAXHOSTNAMELEN): Define.
6770
00ee369c
AS
67712011-05-03 Andreas Schwab <schwab@redhat.com>
6772
6773 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6774
0b592a30
MB
67752011-04-28 Maciej Babinski <mbabinski@google.com>
6776
6777 [BZ #12714]
6778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6779 gethostbyname4_r when IPv6 results are possible.
6780
6e04cbbe
UD
67812011-05-02 Ulrich Drepper <drepper@gmail.com>
6782
6783 [BZ #12723]
6784 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6785 _PC_PIPE_BUF handling.
6786
e4ecafe0
BH
67872011-04-30 Bruno Haible <bruno@clisp.org>
6788
6789 [BZ #12717]
6790 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6791 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6792 to 'int'.
6793 * inet/getnameinfo.c (getnameinfo): Likewise.
6794
125ee683
UD
67952011-04-29 Ulrich Drepper <drepper@gmail.com>
6796
6797 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6798 to groups setting in database lookup.
6799 * nss/nsswitch.conf: Add initgroups entry.
6800
b722481a
EB
68012011-04-22 Ulrich Drepper <drepper@gmail.com>
6802
6803 [BZ #12685]
6804 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6805 mode string.
6806 Patch by Eric Blake <eblake@redhat.com>.
6807
4df46dbd
L
68082011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6809
6810 * sunrpc/Makefile (need-export-routines): Add svc_run.
6811 (routines): Remove svc_run.
6812 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6813 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6814 * sunrpc/svc_run.c (svc_run): Likewise.
6815 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6816
e84142d2
UD
68172011-04-21 Ulrich Drepper <drepper@gmail.com>
6818
6819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6820 problem in reallocation in last patch.
6821
877175d8
UD
68222011-04-20 Ulrich Drepper <drepper@gmail.com>
6823
6824 * sunrpc/Makefile: Move inclusion of Rules.
6825
ab8eed78
UD
68262011-04-19 Ulrich Drepper <drepper@gmail.com>
6827
6828 * nss/nss_files/files-initgroups.c: New file.
6829 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6830 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6831 _nss_files_initgroups_dyn.
6832
e3d8f584
RS
68332011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6834
6835 * elf/elf.h (R_ARM_IRELATIVE): Define.
6836
af190f45
UD
68372011-04-19 Ulrich Drepper <drepper@gmail.com>
6838
6839 * po/ru.po: Update from translation team.
6840
53cf59ef
UD
68412011-04-17 Ulrich Drepper <drepper@gmail.com>
6842
6843 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6844 dependencies.
6845
4c559bcd
MF
68462011-02-06 Mike Frysinger <vapier@gentoo.org>
6847
6848 [BZ #12653]
6849 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6850 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6851 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6852 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6854
4420675c
AS
68552011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6856
6857 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6858 differing bytes.
6859 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6860 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6862
75ea32ab
UD
68632011-04-17 Ulrich Drepper <drepper@gmail.com>
6864
6865 [BZ #12420]
6866 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6867 storing it.
6868 * stdlib/bug-getcontext.c: New file.
6869 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6870
27390476
AK
68712011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6872
6873 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6874 instructions into .machine "z9-109".
6875 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6876 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6877
10442705
AK
68782011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6879
6880 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6881 between environment variables and auxiliary vector.
6882
7b57bfe5
UD
68832011-04-16 Ulrich Drepper <drepper@gmail.com>
6884
6885 * Makefile: Add rules to build linkobj/libc.so.
6886 * include/libc-symbols.h: Define libc_hidden_nolink.
6887 * include/rpc/auth.h: Mark functions which are to be hidden.
6888 * include/rpc/auth_des.h: Likewise.
6889 * include/rpc/auth_unix.h: Likewise.
6890 * include/rpc/clnt.h: Likewise.
6891 * include/rpc/des_crypt.h: Likewise.
6892 * include/rpc/key_prot.h: Likewise.
6893 * include/rpc/pmap_clnt.h: Likewise.
6894 * include/rpc/pmap_prot.h: Likewise.
6895 * include/rpc/pmap_rmt.h: Likewise.
6896 * include/rpc/rpc_msg.h: Likewise.
6897 * include/rpc/svc.h: Likewise.
6898 * include/rpc/svc_auth.h: Likewise.
6899 * include/rpc/xdr.h: Likewise.
6900 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6901 * nss/Makefile: Likewise.
6902 * sunrpc/Makefile: Don't install headers. Build library with normal
6903 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6904 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6905 for the compat linking library. Remove use of INTDEF/INTUSE.
6906 * sunrpc/auth_none.c: Likewise.
6907 * sunrpc/auth_unix.c: Likewise.
6908 * sunrpc/authdes_prot.c: Likewise.
6909 * sunrpc/authuxprot.c: Likewise.
6910 * sunrpc/clnt_gen.c: Likewise.
6911 * sunrpc/clnt_perr.c: Likewise.
6912 * sunrpc/clnt_raw.c: Likewise.
6913 * sunrpc/clnt_simp.c: Likewise.
6914 * sunrpc/clnt_tcp.c: Likewise.
6915 * sunrpc/clnt_udp.c: Likewise.
6916 * sunrpc/clnt_unix.c: Likewise.
6917 * sunrpc/des_crypt.c: Likewise.
6918 * sunrpc/des_soft.c: Likewise.
6919 * sunrpc/get_myaddr.c: Likewise.
6920 * sunrpc/key_call.c: Likewise.
6921 * sunrpc/key_prot.c: Likewise.
6922 * sunrpc/netname.c: Likewise.
6923 * sunrpc/pm_getmaps.c: Likewise.
6924 * sunrpc/pm_getport.c: Likewise.
6925 * sunrpc/pmap_clnt.c: Likewise.
6926 * sunrpc/pmap_prot.c: Likewise.
6927 * sunrpc/pmap_prot2.c: Likewise.
6928 * sunrpc/pmap_rmt.c: Likewise.
6929 * sunrpc/publickey.c: Likewise.
6930 * sunrpc/rpc_cmsg.c: Likewise.
6931 * sunrpc/rpc_common.c: Likewise.
6932 * sunrpc/rpc_dtable.c: Likewise.
6933 * sunrpc/rpc_prot.c: Likewise.
6934 * sunrpc/rpc_thread.c: Likewise.
6935 * sunrpc/rtime.c: Likewise.
6936 * sunrpc/svc.c: Likewise.
6937 * sunrpc/svc_auth.c: Likewise.
6938 * sunrpc/svc_authux.c: Likewise.
6939 * sunrpc/svc_raw.c: Likewise.
6940 * sunrpc/svc_run.c: Likewise.
6941 * sunrpc/svc_simple.c: Likewise.
6942 * sunrpc/svc_tcp.c: Likewise.
6943 * sunrpc/svc_udp.c: Likewise.
6944 * sunrpc/svc_unix.c: Likewise.
6945 * sunrpc/svcauth_des.c: Likewise.
6946 * sunrpc/xcrypt.c: Likewise.
6947 * sunrpc/xdr.c: Likewise.
6948 * sunrpc/xdr_array.c: Likewise.
6949 * sunrpc/xdr_float.c: Likewise.
6950 * sunrpc/xdr_intXX_t.c: Likewise.
6951 * sunrpc/xdr_mem.c: Likewise.
6952 * sunrpc/xdr_rec.c: Likewise.
6953 * sunrpc/xdr_ref.c: Likewise.
6954 * sunrpc/xdr_sizeof.c: Likewise.
6955 * sunrpc/xdr_stdio.c: Likewise.
6956
e6c61494
UD
69572011-04-10 Ulrich Drepper <drepper@gmail.com>
6958
6959 [BZ #12650]
6960 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6961 * sysdeps/ia64/dl-tls.h: Likewise.
6962 * sysdeps/powerpc/dl-tls.h: Likewise.
6963 * sysdeps/s390/dl-tls.h: Likewise.
6964 * sysdeps/sh/dl-tls.h: Likewise.
6965 * sysdeps/sparc/dl-tls.h: Likewise.
6966 * sysdeps/x86_64/dl-tls.h: Likewise.
6967 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6968
34fe483e
AS
69692011-03-14 Andreas Schwab <schwab@redhat.com>
6970
6971 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6972 rpath element also skip the following colon.
6973 (expand_dynamic_string_token): Add is_path parameter and pass
6974 down to DL_DST_REQUIRED and _dl_dst_substitute.
6975 (decompose_rpath): Call expand_dynamic_string_token with
6976 non-zero is_path. Ignore empty rpaths.
6977 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6978 with zero is_path.
6979
f12a32e6
AS
69802011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6981
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6983 Make cancelable.
6984
38a7d692
UD
69852011-04-09 Ulrich Drepper <drepper@gmail.com>
6986
6987 [BZ #12655]
6988 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6989 Patch by Filipe David Manana <fdmanana@apache.org>.
6990
e451d22b
AS
69912011-04-07 Andreas Schwab <schwab@redhat.com>
6992
6993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6994 Maintain aligned stack.
6995 (CHECK_RSP): Remove unused macro.
6996
dedc7c7b
UD
69972011-04-03 Ulrich Drepper <drepper@gmail.com>
6998
6999 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7000 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7001
94521213
UD
70022011-04-02 Ulrich Drepper <drepper@gmail.com>
7003
7004 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7005
8cb700c0 7006 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7007
0354e355
L
70082011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7009
7010 [BZ #12518]
7011 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7012 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7013 * sysdeps/x86_64/memmove.c: New file.
7014 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7015 (memcpy): Renamed to ...
7016 (__new_memcpy): This.
7017 (memcpy): Provide GLIBC_2_14 memcpy.
7018 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7019 (memcpy): Provide GLIBC_2_2_5 memcpy.
7020
8593482f
UD
70212011-04-01 Ulrich Drepper <drepper@gmail.com>
7022
7023 [BZ #12631]
7024 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7025
81a5726b
AS
70262011-03-30 Andreas Schwab <schwab@redhat.com>
7027
7028 * misc/syncfs.c: New file.
7029 * misc/Makefile (routines): Add syncfs.
7030 * posix/unistd.h: Declare syncfs.
7031 * sysdeps/unix/syscalls.list: Add syncfs.
7032
00e5419f
AS
70332011-04-01 Andreas Schwab <schwab@redhat.com>
7034
7035 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7036 open_by_handle_at.
7037 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7038 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7042 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7043 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7044
748876bf
UD
70452011-04-01 Ulrich Drepper <drepper@gmail.com>
7046
658e451d
UD
7047 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7049 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7054
748876bf
UD
7055 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7056 sync_file_range.c with -fexceptions.
7057 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7058 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7059 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7060 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7061 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7062 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7064 sync_file_range as cancellation point
7065 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7066 now a wrapper around __call_sync_file_range with cancellation handling.
7067 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7068 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7069 function name to __call_sync_file_range.
7070 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7071 Add call_sync_file_range.
748876bf 7072
6e63d5e1
AS
70732011-04-01 Andreas Schwab <schwab@redhat.com>
7074
7075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7076 bits/timex.h.
6e63d5e1 7077
46998f74
UD
70782011-04-01 Ulrich Drepper <drepper@gmail.com>
7079
4c1423ed
UD
7080 * iconv/iconv.h: Fix typo in comment.
7081 * io/fcntl.h: Likewise.
7082 * libio/stdio.h: Likewise.
7083 * posix/spawn.h: Likewise.
7084 * posix/unistd.h: Likewise.
7085 * stdlib/stdlib.h: Likewise.
7086 * time/time.h: Likewise.
7087 * wcsmbs/wchar.h: Likewise.
7088
158648c0
UD
7089 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7090 open_by_handle): Add.
7091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7092 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7093 Augment a few comments.
7094 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7096 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7098 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7099 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7100 open_by_handle.
7101
46998f74
UD
7102 * io/fcntl.h (AT_EMPTY_PATH): Define.
7103
83fe108b
UD
71042011-03-30 Ulrich Drepper <drepper@gmail.com>
7105
7106 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7107 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7108 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7109 to...
7110 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7111 * Versions.def: Add GLIBC_2.14.
7112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7113 Export.
83fe108b 7114
bb242059
UD
71152011-03-22 Ulrich Drepper <drepper@gmail.com>
7116
7117 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7118 round counter.
7119 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7120
c97a1282
L
71212011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7122
7123 [BZ #12597]
7124 * string/test-strncmp.c (do_page_test): New function.
7125 (check2): Likewise.
7126 (test_main): Call check2.
7127 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7128
2a115601
UD
71292011-03-20 Ulrich Drepper <drepper@gmail.com>
7130
7131 [BZ #12587]
7132 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7133 Handle cache information in CPU leaf 4.
7134 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7135
8126d904
UD
71362011-03-18 Ulrich Drepper <drepper@gmail.com>
7137
042c49c6 7138 [BZ #12583]
8126d904
UD
7139 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7140 character representation.
7141 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7142
ccfe366e
RA
71432011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7144
7145 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7146 END(__isnan) to END(__isnanf) to match function entry point/label
7147 EALIGN(__isnanf,...).
7148
c6e13027
JJ
71492011-03-10 Jakub Jelinek <jakub@redhat.com>
7150
7151 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7152
33f85a3f
UD
71532011-03-10 Ulrich Drepper <drepper@gmail.com>
7154
028478fa
UD
7155 [BZ #12510]
7156 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7157 copy from the symbol referenced in the relocation to initialize the
7158 used variable.
7159 Patch by Piotr Bury <pbury@goahead.com>.
7160 * elf/Makefile: Add rules to build and tst-unique3.
7161 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7162 * elf/tst-unique3.cc: New file.
7163 * elf/tst-unique3.h: New file.
7164 * elf/tst-unique3lib.cc: New file.
7165 * elf/tst-unique3lib2.cc: New file.
7166
33f85a3f
UD
7167 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7168
03592fc7
MF
71692011-03-10 Mike Frysinger <vapier@gentoo.org>
7170
7171 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7172 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7173 to _start.
03592fc7 7174
6a5ee102
UD
71752011-03-06 Ulrich Drepper <drepper@gmail.com>
7176
7177 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7178 to-be-loaded object along a path to loader is ld.so.
7179
7e4ba49c
HJ
71802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7181 Ulrich Drepper <drepper@gmail.com>
7182
7183 * sysdeps/x86_64/memset.S: After aligning destination, code
7184 branches to different locations depending on the value of
7185 misalignment, when multiarch is enabled. Fix this.
7186
71872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7188
7189 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7190 Set _x86_64_preferred_memory_instruction for AMD processsors.
7191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7192 Set bit_Prefer_SSE_for_memop for AMD processors.
7193
13a804de
UD
71942011-03-04 Ulrich Drepper <drepper@gmail.com>
7195
7196 * libio/fmemopen.c (fmemopen): Optimize a bit.
7197
9d25c392
AS
71982011-03-03 Andreas Schwab <schwab@redhat.com>
7199
7200 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7201
a5543c6a
RM
72022011-03-03 Roland McGrath <roland@redhat.com>
7203
7204 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7205
012d35f7
DM
72062011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7207
7e4ba49c 7208 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7209 __bzero_ultra1 instead of __memset_ultra1.
7210
4bff6e01
AS
72112011-02-23 Andreas Schwab <schwab@redhat.com>
7212 Ulrich Drepper <drepper@gmail.com>
7213
7214 [BZ #12509]
7215 * include/link.h (struct link_map): Add l_orig_initfini.
7216 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7217 returning unsuccessfully.
7218 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7219 close of a file loaded at startup, restore the original l_initfini
7220 list.
7221 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7222 list, store the pointer.
7223 * elf/Makefile ($(objpfx)noload-mem): New rule.
7224 (noload-ENV): Define.
7225 (tests): Add $(objpfx)noload-mem.
7226 * elf/noload.c: Include <memcheck.h>.
7227 (main): Call mtrace. Close all opened handles.
7228
f2092faf
AS
72292011-02-17 Andreas Schwab <schwab@redhat.com>
7230
7231 [BZ #12454]
7232 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7233 dependencies are missing.
7234
6c8a2e88
ST
72352011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7236
f2092faf 7237 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7238 Hurd needs munmap.
7239 * sysdeps/mach/hurd/ifreq.h: New file.
7240
84a42118
PB
72412011-01-27 Petr Baudis <pasky@suse.cz>
7242 Ulrich Drepper <drepper@gmail.com>
7243
071f805e 7244 [BZ 12445]#
84a42118
PB
7245 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7246 to extend_alloca().
7247 * stdio-common/bug23.c: New file.
7248 * stdio-common/Makefile (tests): Add bug23.
7249
e23fe25b
AS
72502010-09-28 Andreas Schwab <schwab@redhat.com>
7251 Ulrich Drepper <drepper@gmail.com>
7252
7253 [BZ #12489]
7254 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7255 before performing relro protection. At old place add assertion
7256 to make sure nothing changed.
7257
d3f02e10
NS
72582011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7259 Glauber de Oliveira Costa <glommer@gmail.com>
7260
7261 * elf/elf.h: Add new ARM TLS relocs.
7262
d55fd7a5
RA
72632011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7264
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7266 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7267 cast from r3.
7268 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7269 'tests' variable.
7270 * sysdeps/wordsize-64/tst-writev.c: New file.
7271
2206397e
RA
72722011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7273
7274 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7275 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7276 insns in _dl_start to prevent a TOC reference before relocs are
7277 resolved.
7278
e9433893
UD
72792011-02-15 Ulrich Drepper <drepper@gmail.com>
7280
7281 [BZ #12469]
7282 * Makeconfig: Remove RANLIB definition.
7283 * Makerules: Don't use RANLIB.
7284 * aclocal.m4: Remove ranlib test.
7285 * configure.in: No need to check for ranlib.
7286 * elf/rtld-Rules: Don't use RANLIB.
7287
f75286c6
ST
72882011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7289
8e31c82d
ST
7290 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7291 protection macro.
7292 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7293 inclusion protection macro.
7294
f75286c6
ST
7295 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7296 SIGRTMIN and SIGRTMAX and print information in that case only when
7297 SIGRTMIN is defined.
7298
c1d0e639
JJ
72992011-02-11 Jakub Jelinek <jakub@redhat.com>
7300
7301 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7302 arginfo fn returning -1.
7303
7304 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7305 and thousands string is zero terminated.
7306
edf9294e
AS
73072011-02-03 Andreas Schwab <schwab@redhat.com>
7308
7309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7310 sysdeps/unix/sysv/linux/bits/socket.h.
7311
2b7e92df
ST
73122011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7313
edf9294e
AS
7314 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7315 (__CPU_COUNT): Remove old macros.
7316 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7317 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7318 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7319 (__sched_cpualloc, __sched_cpufree): Add declarations.
7320
a4c7ea7b
UD
73212011-02-05 Ulrich Drepper <drepper@gmail.com>
7322
7323 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7324 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7325 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7326 (readdhstai): Return value of addhstaiX call.
7327 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7328 (addgrbyX): Return value returned by cache_addgr.
7329 (readdgrbyname): Return value returned by addgrbyX.
7330 (readdgrbygid): Likewise.
7331 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7332 (addpwbyX): Return value returned by cache_addpw.
7333 (readdpwbyname): Return value returned by addhstbyX.
7334 (readdpwbyuid): Likewise.
7335 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7336 (addservbyX): Return value returned by cache_addserv.
7337 (readdservbyname): Return value returned by addservbyX:
7338 (readdservbyport): Likewise.
7339 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7340 (addhstbyX): Return value returned by cache_addhst.
7341 (readdhstbyname): Return value returned by addhstbyX.
7342 (readdhstbyaddr): Likewise.
7343 (readdhstbynamev6): Likewise.
7344 (readdhstbyaddrv6): Likewise.
7345 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7346 (readdinitgroups): Return value returned by addinitgroupsX.
7347 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7348 (prune_cache): Keep track of timeout value of re-added entries.
7349 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7350 * nscd/nscd.h: Adjust prototypes of readd* functions.
7351
a0bf67cc
RM
73522011-02-04 Roland McGrath <roland@redhat.com>
7353
7354 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7355 (nis_stats): Likewise.
7356 * nis/nis_modify.c (nis_modify): Likewise.
7357 * nis/nis_remove.c (nis_remove): Likewise.
7358 * nis/nis_add.c (nis_add): Likewise.
7359
7360 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7361
7362 * posix/fnmatch_loop.c: Add some consts.
7363
7364 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7365
435b95eb
L
73662011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7367
7368 [BZ #12460]
7369 * config.make.in (config-cflags-novzeroupper): Define.
7370 * configure.in: Substitute libc_cv_cc_novzeroupper.
7371 * elf/Makefile (AVX-CFLAGS): Define.
7372 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7373 (CFLAGS-tst-auditmod4a.c): Likewise.
7374 (CFLAGS-tst-auditmod4b.c): Likewise.
7375 (CFLAGS-tst-auditmod6b.c): Likewise.
7376 (CFLAGS-tst-auditmod6c.c): Likewise.
7377 (CFLAGS-tst-auditmod7b.c): Likewise.
7378 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7379
8517b15e
UD
73802011-02-02 Ulrich Drepper <drepper@gmail.com>
7381
7382 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7383 function to the callback.
7384 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7385
10a656fe
AS
73862011-02-02 Andreas Schwab <schwab@redhat.com>
7387
7388 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7389 of errno.
7390
968dad0a
UD
73912011-01-19 Ulrich Drepper <drepper@gmail.com>
7392
9f94d2ea 7393 [BZ #11724]
968dad0a
UD
7394 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7395 of constructors.
7396 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7397 of destructors.
7398 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7399
7400 [BZ #11724]
7401 * elf/Makefile: Add rules to build and run new test.
7402 * elf/tst-initorder.c: New file.
7403 * elf/tst-initorder.exp: New file.
7404 * elf/tst-initordera1.c: New file.
7405 * elf/tst-initordera2.c: New file.
7406 * elf/tst-initordera3.c: New file.
7407 * elf/tst-initordera4.c: New file.
7408 * elf/tst-initorderb1.c: New file.
7409 * elf/tst-initorderb2.c: New file.
7410 * elf/tst-order-a1.c: New file.
7411 * elf/tst-order-a2.c: New file.
7412 * elf/tst-order-a3.c: New file.
7413 * elf/tst-order-a4.c: New file.
7414 * elf/tst-order-b1.c: New file.
7415 * elf/tst-order-b2.c: New file.
7416 * elf/tst-order-main.c: New file.
7417 New test case by George Gensure <werkt0@gmail.com>.
7418
86e92359
UD
74192010-10-01 Andreas Schwab <schwab@redhat.com>
7420
7421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7422 decoding ACE if AI_CANONIDN.
7423
5d5732b0
UD
74242011-01-18 Ulrich Drepper <drepper@gmail.com>
7425
7426 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7427
a77e8cbc
UD
74282011-01-17 Ulrich Drepper <drepper@gmail.com>
7429
6392473f
UD
7430 * version.h (RELEASE): Bump for 2.13 release.
7431 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7432
620a0529
UD
7433 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7434
18ba70a5
UD
7435 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7436 MADV_NOHUGEPAGE.
32465c3e
UD
7437 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7438 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7439 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7440 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7441 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7442 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7443
c0dafcf1
UD
7444 * posix/getconf.c: Update copyright year.
7445 * catgets/gencat.c: Likewise.
7446 * csu/version.c: Likewise.
7447 * debug/catchsegv.sh: Likewise.
7448 * debug/xtrace.sh: Likewise.
7449 * elf/ldconfig.c: Likewise.
7450 * elf/ldd.bash.in: Likewise.
7451 * elf/sprof.c (print_version): Likewise.
7452 * iconv/iconv_prog.c: Likewise.
7453 * iconv/iconvconfig.c: Likewise.
7454 * locale/programs/locale.c: Likewise.
7455 * locale/programs/localedef.c: Likewise.
7456 * malloc/memusage.sh: Likewise.
7457 * malloc/mtrace.pl: Likewise.
7458 * nscd/nscd.c (print_version): Likewise.
7459 * nss/getent.c: Likewise.
7460
a77e8cbc
UD
7461 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7462 PF_CAIF, and PF_ALG.
7463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7464
77e8bddf
AS
74652011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7466
1f20b93a
AS
7467 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7468 (modules-names): Use them.
7469 (ifunc-test-modules, ifunc-pie-tests): Define.
7470 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7471 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7472 (test-extras): Likewise.
7473 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7474 $(compile-command.c).
7475 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7476 (all-built-dso): Define.
7477 (check-textrel.out, check-execstack.out): Depend on it.
7478
77e8bddf
AS
7479 * configure.in: Don't override --enable-multi-arch.
7480
bc425b33
UD
74812011-01-15 Ulrich Drepper <drepper@gmail.com>
7482
7483 [BZ #6812]
7484 * nscd/hstcache.c (tryagain): Define.
7485 (cache_addhst): Return tryagain not notfound for temporary errors.
7486 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7487 failed.
7488
794c3ad3
UD
74892011-01-14 Ulrich Drepper <drepper@gmail.com>
7490
70181fdd
UD
7491 [BZ #10563]
7492 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7493 to make the syscall.
7494 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7495
794c3ad3
UD
7496 [BZ #12378]
7497 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7498 and fall back to matching as normal character if the string ends before
7499 the matching ']' is found. This is what POSIX requires.
7500 * posix/testfnm.c: Adjust test result.
7501 * posix/globtest.sh: Adjust test result. Add new test.
7502 * posix/tst-fnmatch.input: Likewise.
7503 * posix/tst-fnmatch2.c: Add new test.
7504
68dc9497
AS
75052010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7506
7507 * elf/Makefile (check-execstack): Revert last change. Depend on
7508 check-execstack.h.
7509 (check-execstack.h): New target.
7510 (generated): Add check-execstack.h.
7511 * elf/check-execstack.c: Include "check-execstack.h".
7512 (main): Revert last change.
7513 (handle_file): Return zero if GNU_STACK is absent and
7514 DEFAULT_STACK_PERMS doesn't include PF_X.
7515
451f001b
UD
75162011-01-13 Ulrich Drepper <drepper@gmail.com>
7517
cfa28e56
UD
7518 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7519 in child fails because the descriptor is already closed.
8cf8ce17
UD
7520 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7521 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7522 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7523
1086d70d
UD
7524 [BZ #12397]
7525 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7526 syscall.
7527
451f001b
UD
7528 [BZ #10484]
7529 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7530 temporary buffer used to handle multi lookups locally.
a85b5cb4 7531 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7532
08769175
UD
75332011-01-12 Ulrich Drepper <drepper@gmail.com>
7534
7535 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7536 loader is ld.so.
7537
5e49c52e
UD
75382011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7539
7540 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7541 alignment for SSE2.
7542
60522a5f
UD
75432011-01-12 Ulrich Drepper <drepper@gmail.com>
7544
7545 [BZ #12394]
7546 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7547 characters. When rounding increased number of integer digits recompute
7548 number of groups.
7549 * stdio-common/tst-grouping.c: New file.
7550 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7551
f257bbd7
UD
75522011-01-09 Ulrich Drepper <drepper@gmail.com>
7553
7554 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7555 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7556
7557 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7558 void.
7559 * bits/select.h: Likewise.
7560
fa9c15cb
UD
75612011-01-08 Ulrich Drepper <drepper@gmail.com>
7562
7563 * po/ja.po: Update from translation team.
7564
16c2895f
DM
75652011-01-04 David S. Miller <davem@sunset.davemloft.net>
7566
7567 [BZ #11155]
7568 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7569 implementation just like for lxstat, fxstatat, et al.
7570
2543fef2
JM
75712010-12-27 Jim Meyering <meyering@redhat.com>
7572
7573 [BZ #12348]
7574 * posix/regexec.c (build_trtable): Return failure indication upon
7575 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7576
98727dbe
UD
75772010-12-25 Ulrich Drepper <drepper@gmail.com>
7578
5bd6dc5c
UD
7579 [BZ #12201]
7580 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7581 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7582 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7583 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7584
97983464
UD
7585 [BZ #12207]
7586 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7587
98727dbe
UD
7588 [BZ #12204]
7589 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7590 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7591
4a531bb0
L
75922010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7593
7594 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7595 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7596 script has SORT_BY_INIT_PRIORITY.
7597 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7598 NO_CTORS_DTORS_SECTIONS is defined.
7599 * elf/soinit.c: Likewise.
7600 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7601 NO_CTORS_DTORS_SECTIONS is defined.
7602 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7603 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7604 * sysdeps/sh/init-first.c: Likewise.
7605 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7606
07eb4b71
UD
76072010-12-24 Ulrich Drepper <drepper@gmail.com>
7608
7609 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7610 always use the slow path.
7611
30950a5f
RA
76122010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7613
7614 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7615 similar rule which adds the sysdep directories to the header search in
7616 order to pick up the correct platform stackinfo.h.
7617 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7618 perform test if it is, otherwise return successfully without testing.
7619 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7620 DEFAULT_STACK_PERMS define in stackinfo.h.
7621 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7622 defined in stackinfo.h.
7623 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7624 DEFAULT_STACK_PERMS defined in stackinfo.h.
7625 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7626 * sysdeps/ia64/stackinfo.h: Likewise.
7627 * sysdeps/s390/stackinfo.h: Likewise.
7628 * sysdeps/sh/stackinfo.h: Likewise.
7629 * sysdeps/sparc/stackinfo.h: Likewise.
7630 * sysdeps/x86_64/stackinfo.h: Likewise.
7631 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7632 PF_X for powerpc64. Retain PF_X for powerpc32.
7633
db753e2c
UD
76342010-12-19 Ulrich Drepper <drepper@gmail.com>
7635
14b697f7
UD
7636 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7637 accurately.
db753e2c
UD
7638 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7639 GETDENTS_64BIT_ALIGNED.
7640
28300719
UD
76412010-12-14 Ulrich Drepper <dreper@gmail.com>
7642
14b697f7 7643 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7644
4f197237
AS
76452010-12-10 Andreas Schwab <schwab@redhat.com>
7646
dbb0472f
AS
7647 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7648 _GNU_SOURCE.
7649
4f197237
AS
7650 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7651 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7652 Remove __restrict.
7653 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7654 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7655
fb88ac72
UD
76562010-12-09 Ulrich Drepper <drepper@gmail.com>
7657
7658 [BZ #11655]
7659 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7660 are initialized.
7661
42acbb92
JJ
76622010-12-09 Jakub Jelinek <jakub@redhat.com>
7663
7664 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7665
c038d98d
UD
76662010-12-03 Ulrich Drepper <drepper@gmail.com>
7667
7668 * po/it.po: Update from translation team.
7669
3a4a2499
L
76702010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7671
7672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7673 unused codes.
7674
1e24cf6e
UD
76752010-11-30 Ulrich Drepper <drepper@gmail.com>
7676
7677 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7678
a7690819
AS
76792010-11-24 Andreas Schwab <schwab@redhat.com>
7680
7681 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7682 specially.
7683 (gaih_getanswer_slice): Likewise.
7684
3bf8d1b1
JJ
76852010-10-20 Jakub Jelinek <jakub@redhat.com>
7686
7687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7688
6db52fbb
PB
76892010-05-31 Petr Baudis <pasky@suse.cz>
7690
7691 [BZ #11149]
7692 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7693 silently even in the chroot mode.
7694
eaca7569
UD
76952010-11-22 Ulrich Drepper <drepper@gmail.com>
7696
7697 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7698 last patch a bit. Pretty printing
7699
3056dcdb
UD
77002010-05-31 Petr Baudis <pasky@suse.cz>
7701
7702 [BZ #10085]
7703 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7704 initialization of skip_initgroups_dyn.
7705
cf7c9078
UD
77062010-11-19 Ulrich Drepper <drepper@gmail.com>
7707
7708 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7709 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7710
a1fb5e3e
UD
77112010-11-16 Ulrich Drepper <drepper@gmail.com>
7712
7713 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7714
3540d66b
AS
77152010-11-11 Andreas Schwab <schwab@redhat.com>
7716
7717 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7718 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7719 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7720 ($(objpfx)tst-fnmatch-mem): New rule.
7721 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7722 * posix/tst-fnmatch.c (main): Call mtrace.
7723
13b69574
L
77242010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7725
7726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7727 Support Intel processor model 6 and model 0x2c.
7728
da93d214
LM
77292010-11-10 Luis Machado <luisgpm@br.ibm.com>
7730
7731 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7732 signed comparison.
7733
8ca52c6e
L
77342010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7735
7736 [BZ #12205]
7737 * string/test-strncasecmp.c (check_result): New function.
7738 (do_one_test): Use it.
7739 (check1): New function.
7740 (test_main): Use it.
7741 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7742 Support strcasecmp and strncasecmp.
7743
69da074d
UD
77442010-11-08 Ulrich Drepper <drepper@gmail.com>
7745
7746 [BZ #12194]
7747 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7748 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7749
ff02d528
L
77502010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7751
7752 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7753 IFUNC support.
7754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7755 memset-x86-64.
7756 * sysdeps/x86_64/multiarch/bzero.S: New file.
7757 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7758 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7759 * sysdeps/x86_64/multiarch/memset.S: New file.
7760 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7762 Set bit_Prefer_SSE_for_memop for Intel processors.
7763 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7764 Define.
7765 (index_Prefer_SSE_for_memop): Define.
7766 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7767
344d0b54
LM
77682010-11-04 Luis Machado <luisgpm@br.ibm.com>
7769
7770 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7771 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7772
c0dde15b
UD
77732010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7774
7775 [BZ #12191]
7776 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7777 (__x86_64_raw_data_cache_size_half): Likewise.
7778 (__x86_64_raw_shared_cache_size): Likewise.
7779 (__x86_64_raw_shared_cache_size_half): Likewise.
7780
7781 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7782 (__x86_64_raw_data_cache_size_half): Likewise.
7783 (__x86_64_raw_shared_cache_size): Likewise.
7784 (__x86_64_raw_shared_cache_size_half): Likewise.
7785 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7786 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7787 and __x86_64_raw_shared_cache_size_half. Round
7788 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7789 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7790 to multiple of 256 bytes.
7791
0e516e0e
MS
77922010-11-03 Ulrich Drepper <drepper@gmail.com>
7793
7794 [BZ #12167]
7795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7796 of inacessible symlinks. Verify result of symlink before returning it.
7797 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7798 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7799
0e012e87
ER
78002010-10-28 Erich Ritz <erichritz@gmail.com>
7801
7802 * math/math.h (isinf): Fix typo in comment.
7803
de0ff7bc
UD
78042010-11-01 Ulrich Drepper <drepper@gmail.com>
7805
7806 * po/da.po: Update from translation team.
7807
fa41c84d
UD
78082010-10-26 Ulrich Drepper <drepper@gmail.com>
7809
7810 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7811 is added to the list.
7812
f0967738
AK
78132010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7814 Ulrich Drepper <drepper@gmail.com>
7815
7816 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7817 the global list here. Move code to...
7818 (_dl_add_to_namespace_list): ...here. New function.
7819 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7820 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7821 * elf/dl-load.c (lose): Don't remove the element from the list.
7822 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7823 (_dl_map_object): Likewise.
7824
78252010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7826
7827 [BZ #12159]
7828 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7829 into all bytes of SSE register.
7830 Patch by Richard Li <richardpku@gmail.com>.
7831
f0967738 78322010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
7833
7834 [BZ #12140]
7835 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7836 perturbing.
7837
d0b9e94f
MB
78382010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7839
7840 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7841 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7842 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7843 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7845 submachine.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7847
8e9f92e9
AS
78482010-10-22 Andreas Schwab <schwab@redhat.com>
7849
7850 * include/dlfcn.h (__RTLD_SECURE): Define.
7851 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7852 mode & __RTLD_SECURE instead.
7853 (open_path): Rename preloaded parameter to secure.
7854 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7855 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7856 * elf/dl-deps.c (openaux): Likewise.
7857 * elf/rtld.c (struct map_args): Remove is_preloaded.
7858 (map_doit): Don't use it.
7859 (dl_main): Likewise.
7860 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7861 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7862
bc96fbda
AS
78632010-09-09 Andreas Schwab <schwab@redhat.com>
7864
7865 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7866 (sysd-rules-targets): Remove duplicates.
7867 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7868 rtld-%.$o dependency.
7869
22cd1c9b
AS
78702010-10-18 Andreas Schwab <schwab@redhat.com>
7871
7872 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7873 _dl_map_object do it.
7874
18edac48
UD
78752010-10-19 Ulrich Drepper <drepper@gmail.com>
7876
7877 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7878 fast fma builtins, define the macros in the C99 standard.
7879 (FP_FAST_FMAF): Likewise.
7880 (FP_FAST_FMAL): Likewise.
7881 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7882
7883 * bits/mathdef.h: Update copyright year.
7884 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7885
d2050124
MM
78862010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7887
7888 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7889 builtins, define the macros in the C99 standard.
7890 (FP_FAST_FMAF): Likewise.
7891 (FP_FAST_FMAL): Likewise.
7892 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7893 multiply/add.
7894 (FP_FAST_FMAF): Likewise.
7895
475facd1
JJ
78962010-10-15 Jakub Jelinek <jakub@redhat.com>
7897
7898 [BZ #3268]
7899 * math/libm-test.inc (fma_test): Some new testcases.
7900 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7901 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7902 y and infinite z. Do multiplication by C already in long double.
7903 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7905 y and infinite z. Do bitwise or of inexact bit into u.d.
7906 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7907 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7908 * sysdeps/i386/fpu/s_fma.S: Removed.
7909 * sysdeps/i386/fpu/s_fmal.S: Removed.
7910
7c08a05c
JJ
79112010-10-16 Jakub Jelinek <jakub@redhat.com>
7912
7913 [BZ #3268]
7914 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7916 computation is not scheduled after fetestexcept. Fix value
7917 of minimum denormal long double.
7918
f3f7372d
JJ
79192010-10-14 Jakub Jelinek <jakub@redhat.com>
7920
7921 [BZ #3268]
7922 * math/libm-test.inc (fma_test): Add some more tests.
7923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7924 correctly.
7925
14d43591
AS
79262010-10-15 Andreas Schwab <schwab@redhat.com>
7927
7928 * scripts/data/localplt-s390-linux-gnu.data: New file.
7929 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7930
5e908464
JJ
79312010-10-13 Jakub Jelinek <jakub@redhat.com>
7932
7933 [BZ #3268]
7934 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7935 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7936 instead of dbl-64.
7937 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7938 inlines.
7939 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7941 if one of x and y is very large and the other is subnormal.
7942 * sysdeps/s390/fpu/s_fmaf.c: New file.
7943 * sysdeps/s390/fpu/s_fma.c: New file.
7944 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7945 * sysdeps/powerpc/fpu/s_fma.S: New file.
7946 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7947 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7948 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7949
79502010-10-12 Jakub Jelinek <jakub@redhat.com>
7951
7952 [BZ #3268]
7953 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7954 fma tests.
7955 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7956 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7957 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7958 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7959 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7960 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7961 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7962
b833d51f
UD
79632010-10-12 Ulrich Drepper <drepper@redhat.com>
7964
7965 [BZ #12078]
7966 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7967 * posix/bug-regex31.input: Add test case.
7968
1751705d
UD
79692010-10-11 Ulrich Drepper <drepper@gmail.com>
7970
e9b9cbf5
UD
7971 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7972 * posix/bug-regex31.input: New file.
7973
7974 [BZ #12078]
7975 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7976 (parse_sub_exp): Fix last change, use postorder.
7977
ef06edbe
UD
7978 * posix/bug-regex31.c: New file.
7979 * posix/Makefile: Add rules to build and run bug-regex31.
7980
a129c80d
UD
7981 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7982
7983 [BZ #12078]
7984 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7985
b76b818e
UD
7986 [BZ #12108]
7987 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7988 to have entries in sys_siglist.
7989
1751705d
UD
7990 [BZ #12093]
7991 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7992 be NULL.
7993
9ff8d36f
JJ
79942010-10-07 Jakub Jelinek <jakub@redhat.com>
7995
7996 [BZ #3268]
7997 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7998 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7999 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8000 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8001 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8002 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8003 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8004 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8005 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8006 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8007 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8008 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8009 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8010 * math/ftestexcept.c (fetestexcept): Likewise.
8011 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8012 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8013 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8014 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8015 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8016 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8017 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8018
af325969
UD
80192010-10-11 Ulrich Drepper <drepper@gmail.com>
8020
c579b202 8021 [BZ #12107]
af325969
UD
8022 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8023 newline.
8024
67a67b95
UD
80252010-10-06 Ulrich Drepper <drepper@gmail.com>
8026
8027 * string/bug-strstr1.c: New file.
8028 * string/Makefile: Add rules to build and run bug-strstr1.
8029
5fb308bc
EB
80302010-10-05 Eric Blake <eblake@redhat.com>
8031
8032 [BZ #12092]
8033 * string/str-two-way.h (two_way_long_needle): Always clear memory
8034 when skipping input due to the shift table.
8035
45db99c7
UD
80362010-10-03 Ulrich Drepper <drepper@gmail.com>
8037
3b111893
UD
8038 [BZ #12005]
8039 * malloc/mcheck.c: Handle large requests.
8040
45db99c7
UD
8041 [BZ #12077]
8042 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8043 for strncmp and strncasecmp.
8044 * string/stratcliff.c: Add tests for strcmp and strncmp.
8045 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8046
cf7a1eb8
NI
80472010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8048
8049 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8050 __set_fpscr.
8051
6484ba5e
AJ
80522010-09-30 Andreas Jaeger <aj@suse.de>
8053
8054 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8055 (CGROUP_SUPER_MAGIC): Define.
8056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8057 Handle btrfs and cgroup file systems.
8058 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8059 Likewise.
8060
91c42559
LM
80612010-09-27 Luis Machado <luisgpm@br.ibm.com>
8062
8063 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8064 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8065
87a97932
AK
80662010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8067
8068 [BZ #12067]
8069 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8070 trying to locate the ELF header.
8071
c21cc9bc
AS
80722010-09-27 Andreas Schwab <schwab@redhat.com>
8073
8074 [BZ #11611]
8075 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8076 Mask out sign-bit copies when constructing f_fsid.
8077
315970f6
PB
80782010-09-24 Petr Baudis <pasky@suse.cz>
8079
8080 * debug/stack_chk_fail_local.c: Add missing licence exception.
8081 * debug/warning-nop.c: Likewise.
8082
1ac7a2c7
JM
80832010-09-15 Joseph Myers <joseph@codesourcery.com>
8084
8085 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8086 implementing getdents64 using getdents syscall, set d_type if
8087 __ASSUME_GETDENTS32_D_TYPE.
8088
56801c50
AS
80892010-09-16 Andreas Schwab <schwab@redhat.com>
8090
8091 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8092 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8093
dda51327
UD
80942010-09-21 Ulrich Drepper <drepper@redhat.com>
8095
8096 [BZ #12037]
8097 * posix/unistd.h: Undo change of feature selection for ftruncate from
8098 2010-01-11.
8099
8ffcee4a
UD
81002010-09-20 Ulrich Drepper <drepper@redhat.com>
8101
a545ecd9 8102 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8103 detection.
8104
e24f0a8b
AS
81052010-09-20 Andreas Schwab <schwab@redhat.com>
8106
8107 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8108 fanotify_mark.
8109 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8110
7291c56f
AS
81112010-09-14 Andreas Schwab <schwab@redhat.com>
8112
8113 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8114 variables after CHECK_SP call.
8115 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8116
bc5fb037
AS
81172010-09-13 Andreas Schwab <schwab@redhat.com>
8118 Ulrich Drepper <drepper@redhat.com>
8119
8120 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8121 re-relocationg ld.so.
8122 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8123 _dl_init_paths call.
8124 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8125 here anymore.
8126
e66e7419
UD
81272010-09-14 Ulrich Drepper <drepper@redhat.com>
8128
8129 * resolv/res_init.c (__res_vinit): Count the default server we added.
8130
c044aa75
CLT
81312010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8132 Ulrich Drepper <drepper@redhat.com>
8133
8134 [BZ #11968]
8135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8136 (____longjmp_chk): Use %ebx for saving value across system call.
8137 Add unwind info.
8138
32cf4069
AS
81392010-09-06 Andreas Schwab <schwab@redhat.com>
8140
8141 * manual/Makefile: Don't mix pattern rules with normal rules.
8142
817328ee
AS
81432010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8144
8145 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8146 operation.
8147 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8148 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8149 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8150 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8151 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8152 Likewise.
8153
29fddf61
UD
81542010-09-04 Ulrich Drepper <drepper@redhat.com>
8155
8156 [BZ #11979]
8157 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8158 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8159
0959ffc9
UD
81602010-09-02 Ulrich Drepper <drepper@redhat.com>
8161
8162 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8163 * sysdeps/x86_64/addmul_1.S: Likewise.
8164 * sysdeps/x86_64/lshift.S: Likewise.
8165 * sysdeps/x86_64/mul_1.S: Likewise.
8166 * sysdeps/x86_64/rshift.S: Likewise.
8167 * sysdeps/x86_64/sub_n.S: Likewise.
8168 * sysdeps/x86_64/submul_1.S: Likewise.
8169
ece29840
ST
81702010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8171
0959ffc9
UD
8172 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8173 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8174 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8175 * bits/sched.h [__need_schedparam]
ece29840 8176 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8177 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8178 (__defined_schedparam): Define to 1.
ece29840
ST
8179 (__sched_param): New structure, identical to sched_param.
8180 (__need_schedparam): Undefine.
8181
e53a31fe
MF
81822010-08-31 Mike Frysinger <vapier@gentoo.org>
8183
fdc0c10d
MF
8184 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8185 (epoll_create1): Declare.
8186
e53a31fe
MF
8187 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8188
a726d796
AS
81892010-08-31 Andreas Schwab <schwab@redhat.com>
8190
8191 [BZ #7066]
8192 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8193 shifting retval into place.
8194
2f3e3dc7
UD
81952010-09-01 Ulrich Drepper <drepper@redhat.com>
8196
f2933da9
UD
8197 * nis/rpcsvc/nis.h: Update copyright notice.
8198 * nis/rpcsvc/nis.x: Likewise.
8199 * nis/rpcsvc/nis_callback.h: Likewise.
8200 * nis/rpcsvc/nis_callback.x: Likewise.
8201 * nis/rpcsvc/nis_object.x: Likewise.
8202 * nis/rpcsvc/nis_tags.h: Likewise.
8203 * nis/rpcsvc/yp.h: Likewise.
8204 * nis/rpcsvc/yp.x: Likewise.
8205 * nis/rpcsvc/ypupd.h: Likewise.
8206 * nis/yp_xdr.c: Likewise.
8207 * nis/ypupdate_xdr.c: Likewise.
8208
2f3e3dc7
UD
8209 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8210 mainly the body of pmap_getport. Add parameters to specify timeouts.
8211 (pmap_getport): Use __libc_rpc_getport.
8212 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8213 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8214 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8215
f3dcc2f9
AS
82162010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8217
8218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8219 fanotify_mark.
8220
6d34eb5b
RM
82212010-08-27 Roland McGrath <roland@redhat.com>
8222
8223 * sysdeps/i386/i686/multiarch/Makefile
8224 (CFLAGS-varshift.c): New variable.
8225
9ea3de11
UD
82262010-08-27 Ulrich Drepper <drepper@redhat.com>
8227
c96d23fc
UD
8228 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8229 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8230
9ea3de11
UD
8231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8232
8233 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8234
623aac7f
L
82352010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8236
8237 * sysdeps/x86_64/strlen.S: Unroll the loop.
8238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8239 strlen-sse2 strlen-sse2-bsf.
8240 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8241 __strlen_no_bsf if bit_Slow_BSF is set.
8242 (__strlen_sse42): Removed.
8243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8244 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8245
8b2b7715
RM
82462010-08-25 Roland McGrath <roland@redhat.com>
8247
8248 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8249 * sysdeps/x86_64/multiarch/varshift.c: New file.
8250 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8251 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8252 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8253 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8254
e73015f2
L
82552010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8256
8257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8258 strlen-sse2 strlen-sse2-bsf.
8259 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8260 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8261 (__strlen_sse2): Removed.
8262 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8263 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8265 bit_Slow_BSF for Atom.
8266 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8267 (index_Slow_BSF): Define.
8268 (HAS_SLOW_BSF): Define.
8269
df24a73e
UD
82702010-08-25 Ulrich Drepper <drepper@redhat.com>
8271
8272 [BZ #10851]
8273 * resolv/res_init.c (__res_vinit): When no server address at all
8274 is given default to loopback.
8275
f2ac4868
RM
82762010-08-24 Roland McGrath <roland@redhat.com>
8277
09055553
RM
8278 * configure.in: Remove config-name.h generation.
8279 * configure: Regenerated.
8280 * config-name.in: File removed.
8281 * scripts/config-uname.sh: New file.
8282 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8283 ($(objdir)config-name.h): New target.
8284
f2ac4868
RM
8285 * sunrpc/rpc_parse.h: Avoid nested comment.
8286
73f27d5e
RH
82872010-08-24 Richard Henderson <rth@redhat.com>
8288 Ulrich Drepper <drepper@redhat.com>
8289 H.J. Lu <hongjiu.lu@intel.com>
8290
8291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8293 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8294 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8295 _mm_alignr_epi8 with _mm_loadu_si128.
8296 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8297 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8298 (__m128i_shift_right): Removed.
8299 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8300 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8301 * sysdeps/x86_64/multiarch/varshift.h: New file.
8302 * sysdeps/x86_64/multiarch/varshift.S: New file.
8303
84b9230c
MF
83042010-08-21 Mike Frysinger <vapier@gentoo.org>
8305
8306 * configure.in: Move assembler checks to before sysdep dir checking.
8307
9bbd0ddc
PB
83082010-08-20 Petr Baudis <pasky@suse.cz>
8309
8310 * LICENSES: Sync the sunrpc license.
8311
9da4bb31
UD
83122010-08-19 Ulrich Drepper <drepper@redhat.com>
8313
a7ab6ec8
UD
8314 * sunrpc/auth_des.c: Update copyright notice once again.
8315 * sunrpc/auth_none.c: Likewise.
8316 * sunrpc/auth_unix.c: Likewise.
8317 * sunrpc/authdes_prot.c: Likewise.
8318 * sunrpc/authuxprot.c: Likewise.
8319 * sunrpc/bindrsvprt.c: Likewise.
8320 * sunrpc/clnt_gen.c: Likewise.
8321 * sunrpc/clnt_perr.c: Likewise.
8322 * sunrpc/clnt_raw.c: Likewise.
8323 * sunrpc/clnt_simp.c: Likewise.
8324 * sunrpc/clnt_tcp.c: Likewise.
8325 * sunrpc/clnt_udp.c: Likewise.
8326 * sunrpc/clnt_unix.c: Likewise.
8327 * sunrpc/des_crypt.c: Likewise.
8328 * sunrpc/des_soft.c: Likewise.
8329 * sunrpc/get_myaddr.c: Likewise.
8330 * sunrpc/getrpcport.c: Likewise.
8331 * sunrpc/key_call.c: Likewise.
8332 * sunrpc/key_prot.c: Likewise.
8333 * sunrpc/openchild.c: Likewise.
8334 * sunrpc/pm_getmaps.c: Likewise.
8335 * sunrpc/pm_getport.c: Likewise.
8336 * sunrpc/pmap_clnt.c: Likewise.
8337 * sunrpc/pmap_prot.c: Likewise.
8338 * sunrpc/pmap_prot2.c: Likewise.
8339 * sunrpc/pmap_rmt.c: Likewise.
8340 * sunrpc/rpc/auth.h: Likewise.
8341 * sunrpc/rpc/auth_unix.h: Likewise.
8342 * sunrpc/rpc/clnt.h: Likewise.
8343 * sunrpc/rpc/des_crypt.h: Likewise.
8344 * sunrpc/rpc/key_prot.h: Likewise.
8345 * sunrpc/rpc/netdb.h: Likewise.
8346 * sunrpc/rpc/pmap_clnt.h: Likewise.
8347 * sunrpc/rpc/pmap_prot.h: Likewise.
8348 * sunrpc/rpc/pmap_rmt.h: Likewise.
8349 * sunrpc/rpc/rpc.h: Likewise.
8350 * sunrpc/rpc/rpc_des.h: Likewise.
8351 * sunrpc/rpc/rpc_msg.h: Likewise.
8352 * sunrpc/rpc/svc.h: Likewise.
8353 * sunrpc/rpc/svc_auth.h: Likewise.
8354 * sunrpc/rpc/types.h: Likewise.
8355 * sunrpc/rpc/xdr.h: Likewise.
8356 * sunrpc/rpc_clntout.c: Likewise.
8357 * sunrpc/rpc_cmsg.c: Likewise.
8358 * sunrpc/rpc_common.c: Likewise.
8359 * sunrpc/rpc_cout.c: Likewise.
8360 * sunrpc/rpc_dtable.c: Likewise.
8361 * sunrpc/rpc_hout.c: Likewise.
8362 * sunrpc/rpc_main.c: Likewise.
8363 * sunrpc/rpc_parse.c: Likewise.
8364 * sunrpc/rpc_parse.h: Likewise.
8365 * sunrpc/rpc_prot.c: Likewise.
8366 * sunrpc/rpc_sample.c: Likewise.
8367 * sunrpc/rpc_scan.c: Likewise.
8368 * sunrpc/rpc_scan.h: Likewise.
8369 * sunrpc/rpc_svcout.c: Likewise.
8370 * sunrpc/rpc_tblout.c: Likewise.
8371 * sunrpc/rpc_util.c: Likewise.
8372 * sunrpc/rpc_util.h: Likewise.
8373 * sunrpc/rpcinfo.c: Likewise.
8374 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8375 * sunrpc/rpcsvc/key_prot.x: Likewise.
8376 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8377 * sunrpc/rpcsvc/mount.x: Likewise.
8378 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8379 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8380 * sunrpc/rpcsvc/rex.x: Likewise.
8381 * sunrpc/rpcsvc/rstat.x: Likewise.
8382 * sunrpc/rpcsvc/rusers.x: Likewise.
8383 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8384 * sunrpc/rpcsvc/spray.x: Likewise.
8385 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8386 * sunrpc/rtime.c: Likewise.
8387 * sunrpc/svc.c: Likewise.
8388 * sunrpc/svc_auth.c: Likewise.
8389 * sunrpc/svc_authux.c: Likewise.
8390 * sunrpc/svc_raw.c: Likewise.
8391 * sunrpc/svc_run.c: Likewise.
8392 * sunrpc/svc_simple.c: Likewise.
8393 * sunrpc/svc_tcp.c: Likewise.
8394 * sunrpc/svc_udp.c: Likewise.
8395 * sunrpc/svc_unix.c: Likewise.
8396 * sunrpc/svcauth_des.c: Likewise.
8397 * sunrpc/xcrypt.c: Likewise.
8398 * sunrpc/xdr.c: Likewise.
8399 * sunrpc/xdr_array.c: Likewise.
8400 * sunrpc/xdr_float.c: Likewise.
8401 * sunrpc/xdr_mem.c: Likewise.
8402 * sunrpc/xdr_rec.c: Likewise.
8403 * sunrpc/xdr_ref.c: Likewise.
8404 * sunrpc/xdr_sizeof.c: Likewise.
8405 * sunrpc/xdr_stdio.c: Likewise.
8406
9da4bb31
UD
8407 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8408 handling.
8409
bdaa77bc
AS
84102010-08-19 Andreas Schwab <schwab@redhat.com>
8411
8412 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8413
fe2f79db
LM
84142010-08-19 Luis Machado <luisgpm@br.ibm.com>
8415
8416 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8417 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8418 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8419 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8420 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8421 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8422 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8423 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8424 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8425 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8426 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8427 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8428 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8429 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8430
b9b42ee0
AB
84312010-07-26 Anton Blanchard <anton@samba.org>
8432
8433 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8434 * malloc/arena.c (heap_trim): Likewise.
8435
1c06ba31
UD
84362010-08-16 Ulrich Drepper <drepper@redhat.com>
8437
8438 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8439 here. Not...
8440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8441 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8442
f8392f40
L
84432010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * sysdeps/i386/elf/Makefile: New file.
8446
3162f12e
AS
84472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8448
8449 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8450 from fanotify_init.
8451 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8453
28c90b2c
UD
84542010-08-15 Ulrich Drepper <drepper@redhat.com>
8455
8456 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8457 of strncasecmp_l.
1feccb6c 8458 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8459
ca6bb004
UD
84602010-08-14 Ulrich Drepper <drepper@redhat.com>
8461
e9f82e0d
UD
8462 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8463 strncase_l-nonascii.
8464 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8465 Add strncase_l-ssse3.
8466 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8467 * sysdeps/x86_64/strcmp.S: Likewise.
8468 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8469 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8470 * sysdeps/x86_64/strncase.S: New file.
8471 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8472 * sysdeps/x86_64/strncase_l.S: New file.
8473 * string/Makefile (strop-tests): Add strncasecmp.
8474 * string/test-strncasecmp.c: New file.
8475
8476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8477 warning.
8478
ca6bb004
UD
8479 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8480 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8481
052fa7b3
AS
84822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8483
8484 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8485
962dba78
UD
84862010-08-12 Ulrich Drepper <drepper@redhat.com>
8487
8488 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8489 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8490 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8491
bebff237
AM
84922010-05-01 Alan Modra <amodra@gmail.com>
8493
8494 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8495 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8496 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8497 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8498 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8499 tidying. Don't tail-call __sigjmp_save for static lib.
8500 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8501 save location.
8502 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8503 (CALL_MCOUNT): Add eh info, and nop after bl.
8504 (TAIL_CALL_SYSCALL_ERROR): New macro.
8505 (PSEUDO_RET): Use it.
8506 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8507 Correct save location of integer regs and cr.
8508 (_dl_profile_resolve): Correct cr save location. Delete nops
8509 after bl when SHARED. Reduce cfi size a little by better
8510 placement of cfi directives.
8511 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8512 make a stack frame. Instead use parm save area as a temp.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8514 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8516 Don't make a stack frame for parent, use parm save area.
8517 Increase child stack frame to 112 bytes. Don't save unused reg,
8518 and adjust reg usage. Set up cfi on error recovery and
8519 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8521 (__makecontext): Add dummy nop after jump to exit.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8523 Use correct parm save area and cr save, reduce stack frame.
8524 Correct cfi for possible PSEUDO_RET frame setup.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8526 Branch to local label emitted by PSEUDO_RET rather than
8527 __syscall_error.
8528
02637374
AS
85292010-08-12 Andreas Schwab <schwab@redhat.com>
8530
8531 [BZ #11904]
8532 * locale/programs/locale.c (print_assignment): New function.
8533 (show_locale_vars): Use it.
8534
c3e2f19b
UD
85352010-08-11 Ulrich Drepper <drepper@redhat.com>
8536
3cdaa6ad
UD
8537 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8538 field.
8539 (struct statfs64): Likewise.
8540 (_STATFS_F_FLAGS): Define.
8541 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8542 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8543 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8544 (ST_VALID): Define locally.
8545 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8546 __statvfs_getflags, use the provided value.
8547 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8548 __ASSUME_STATFS_F_FLAGS.
8549
754f7da3
UD
8550 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8551
10b3bedc
UD
8552 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8553 Add sys/fanotify.h.
8554 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8555 fanotify_mask for GLIBC_2.13.
8556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8557 fanotify_init and fanotify_mark.
8558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8559 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8560
c08fb0d7
UD
8561 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8562 Add prlimit.
8563 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8564 prlimit64 for GLIBC_2.13.
8565 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8566 prlimit64.
8567 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8568 syscall.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8571 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8572 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8574 add prlimit alias.
8575 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8576
15bac72b
UD
8577 [BZ #11903]
8578 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8579 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8580
c3e2f19b
UD
8581 * nss/Makefile: Add rules to build and run tst-nss-test1.
8582 * shlib-versions: Add entry for libnss_test1.
8583 * nss/nss_test1.c: New file.
8584 * nss/tst-nss-test1.c: New file.
8585
8586 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8587 (__nss_configure_lookup): Set appropriate entry in
8588 __nss_configure_lookup to true.
8589 * nss/nsswitch.h: Define enum with indeces of databases in
8590 databases and __nss_database_custom arrays. Declare
8591 __nss_database_custom.
8592 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8593 to avoid using nscd when custom rules are installed.
8594 * nss/getXXbyYY_r.c: Likewise.
8595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8596
8597 * nss/nss_files/files-parse.c: Whitespace fixes.
8598
f15ce4d8
UD
85992010-08-09 Ulrich Drepper <drepper@redhat.com>
8600
8601 [BZ #11883]
8602 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8603 * posix/fnmatch_loop.c: Likewise.
8604
d22e4cc9
AK
86052010-07-17 Andi Kleen <ak@linux.intel.com>
8606
8607 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8608 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8609 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8610 * Versions.def [GLIBC_2.13]: Add.
8611
805bc17d
UD
86122010-08-06 Ulrich Drepper <drepper@redhat.com>
8613
8614 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8615 Also fail if tpwd after pwuid call is NULL.
8616
5a42321d
ST
86172010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8618
8619 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8620 when converting to ms.
8621
fd3ebeda
ST
86222010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8623
8624 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8625 EOPNOTSUPP errors with ENOTTY.
8626 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8627 EOPNOTSUPP errors with ENOTTY.
8628
73507d3a
UD
86292010-07-31 Ulrich Drepper <drepper@redhat.com>
8630
8631 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8632 Add strcasecmp_l-ssse3.
8633 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8634 strcasecmp.
8635 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8636 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8637 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8638
fe36dd02
UD
86392010-07-30 Ulrich Drepper <drepper@redhat.com>
8640
66f6765a
UD
8641 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8642
42e08a54
UD
8643 * string/Makefile (strop-tests): Add strcasecmp.
8644 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8645 strcasecmp_l-nonascii.
8646 (gen-as-const-headers): Add locale-defines.sym.
8647 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8648 * sysdeps/x86_64/strcasecmp.S: New file.
8649 * sysdeps/x86_64/strcasecmp_l.S: New file.
8650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8651 * sysdeps/x86_64/locale-defines.sym: New file.
8652 * string/test-strcasecmp.c: New file.
8653
fe36dd02
UD
8654 * string/test-strcasestr.c: Test both ends of the range of characters.
8655 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8656
48cbc0d6
RM
86572010-07-29 Roland McGrath <roland@redhat.com>
8658
76e6d6bc 8659 [BZ #11856]
48cbc0d6
RM
8660 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8661
880113d9
UD
86622010-07-27 Ulrich Drepper <drepper@redhat.com>
8663
8664 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8665 for ld.so.
8666
deb9cabb
AS
86672010-07-27 Andreas Schwab <schwab@redhat.com>
8668
8669 * manual/memory.texi (Malloc Tunable Parameters): Document
8670 M_PERTURB.
8671
1c7570ff
RM
86722010-07-26 Roland McGrath <roland@redhat.com>
8673
8674 [BZ #11840]
8675 * configure.in (-fgnu89-inline check): Set and substitute
8676 gnu89_inline, not libc_cv_gnu89_inline.
8677 * configure: Regenerated.
8678 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8679
24fb0f88
UD
86802010-07-26 Ulrich Drepper <drepper@redhat.com>
8681
8682 * string/test-strnlen.c: New file.
8683 * string/Makefile (strop-tests): Add strnlen.
8684 * string/tester.c (test_strnlen): Add a few more test cases.
8685 * string/tst-strlen.c: Better error reporting.
8686
8687 * sysdeps/x86_64/strnlen.S: New file.
8688
8e96b93a
UD
86892010-07-24 Ulrich Drepper <drepper@redhat.com>
8690
8691 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8692 lower-latency instructions.
8693
dbc676d4
UD
86942010-07-23 Ulrich Drepper <drepper@redhat.com>
8695
8696 * string/test-strcasestr.c: New file.
8697 * string/test-strstr.c: New file.
8698 * string/Makefile (strop-tests): Add strstr and strcasestr.
8699 * string/str-two-way.h: Don't undefine MAX.
8700 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8701
f6a31e0e
AS
87022010-07-21 Andreas Schwab <schwab@redhat.com>
8703
8704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8705 strcasestr-nonascii.
8706 (CFLAGS-strcasestr-nonascii.c): Define.
8707 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8708 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8709 Remove unused attribute.
8710
5dbc3b6c
RM
87112010-07-20 Roland McGrath <roland@redhat.com>
8712
8713 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8714 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8715 ld.so.cache was broken. With it, there is no way to disable dsocaps
8716 like LD_HWCAP_MASK can disable hwcaps.
8717
23d101d8
EPM
87182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8719
8720 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8721
cc9f2e47
UD
87222010-07-16 Ulrich Drepper <drepper@redhat.com>
8723
8724 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8725 call in strcasestr.
8726 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8727 __strcasestr_sse42_nonascii.
8728 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8729 strcasestr-nonascii.c.
8730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8731
77c1b069
LM
87322010-06-15 Luis Machado <luisgpm@br.ibm.com>
8733
8734 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8735 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8736 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8737 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8738
440566c3
UD
87392010-07-09 Ulrich Drepper <drepper@redhat.com>
8740
8741 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8742 fcntl.
8743
5be9d05d
AS
87442010-07-06 Andreas Schwab <schwab@redhat.com>
8745
c30b7ee2 8746 [BZ #11577]
5be9d05d
AS
8747 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8748 dl_signal_cerror.
8749
8a492a67
UD
87502010-07-06 Ulrich Drepper <drepper@redhat.com>
8751
8752 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8753 _PC_PIPE_BUF using F_GETPIPE_SZ.
8754
713df3d5
RM
87552010-07-05 Roland McGrath <roland@redhat.com>
8756
8757 * manual/arith.texi (Rounding Functions): Fix rint description
8758 implicit in round description.
8759
702e8f14
UD
87602010-07-02 Ulrich Drepper <drepper@redhat.com>
8761
8762 * elf/Makefile: Fix linking for a few tests to make recent linker
8763 happy.
8764
52ed8be9
AS
87652010-06-30 Andreas Schwab <schwab@redhat.com>
8766
8767 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8768 $(common-objpfx)libc_nonshared.a.
8769
f47c9a11
LM
87702010-06-21 Luis Machado <luisgpm@br.ibm.com>
8771
8772 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8773 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8774 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8775 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8776 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8777 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8778 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8779 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8794 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8795 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8796 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8797 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8798 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8799 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8800 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8801 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8802 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8803 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8804 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8805 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8820
6fb8cbcb
L
88212010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8822
8823 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8824 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8825 * string/memmove.c (memmove): Renamed to ...
8826 (MEMMOVE): ...this. Default to memmove.
8827 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8828 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8829 (END_CHK): Define.
8830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8831 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8832 mempcpy-ssse3-back memmove-ssse3-back.
8833 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8836 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8837 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8838 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8839 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8840 * sysdeps/x86_64/multiarch/memmove.c: New file.
8841 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8842 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8843 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8844 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8845 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8846 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8847 Define.
8848 (index_Fast_Copy_Backward): Define.
8849 (HAS_ARCH_FEATURE): Define.
8850 (HAS_FAST_REP_STRING): Define.
8851 (HAS_FAST_COPY_BACKWARD): Define.
8852
4e733bac 88532010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
8854
8855 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8856 Restore proper fallback handling.
8857
63c4ed22
UD
88582010-06-19 Ulrich Drepper <drepper@redhat.com>
8859
ac2b484c
UD
8860 [BZ #11701]
8861 * posix/group_member.c (__group_member): Correct checking loop.
8862
63c4ed22
UD
8863 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8864 OOM in getpwuid_r correctly. Return error number when the caller
8865 should return, otherwise -1.
8866 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8867 call returning > 0 value.
8868 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8869
765ade4b
AS
88702010-06-07 Andreas Schwab <schwab@redhat.com>
8871
8872 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8873 libc_nonshared.a from targets in modules-names.
8874
80da2e09
KS
88752010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8876
8877 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8878 requires it.
8879
158db122
LM
88802010-06-10 Luis Machado <luisgpm@br.ibm.com>
8881
8882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8883 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8884 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8886
caa78cf8
AS
88872010-06-02 Andreas Schwab <schwab@redhat.com>
8888
8889 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8890
b2ef2c01
UD
88912010-06-14 Ulrich Drepper <drepper@redhat.com>
8892
8893 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8894 and F_GETPIPE_SZ.
8895 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8899 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8901
fbd643b6
RM
89022010-06-14 Roland McGrath <roland@redhat.com>
8903
8904 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8905
f32f2869
JJ
89062010-06-07 Jakub Jelinek <jakub@redhat.com>
8907
8908 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8909 __REDIRECT followed by __THROW.
8910 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8911 * posix/getopt.h (getopt): Likewise.
8912
2a50c078
EPM
89132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8914
8915 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8916 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8917 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8918 in AT_FLAGS.
8919 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8920 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8921
eb5ad2eb
LM
89222010-05-28 Luis Machado <luisgpm@br.ibm.com>
8923
8924 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8925
3c88fe1e
L
89262010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8927
8928 [BZ #11640]
8929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8930 Properly check family and model.
8931
d2f73151
TY
89322010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8933
8934 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8935
ebd2e13d
LM
89362010-05-24 Luis Machado <luisgpm@br.ibm.com>
8937
8938 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8939
b32b8b45
UD
89402010-05-21 Ulrich Drepper <drepper@redhat.com>
8941
8942 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8943 symbol reference.
8944
9acbe24d
AS
89452010-05-19 Andreas Schwab <schwab@redhat.com>
8946
8947 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8948 symbol reference.
8949
f0ccf6ea
AS
89502010-05-21 Andreas Schwab <schwab@redhat.com>
8951
3d04ff3a
AS
8952 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8953 and internal_recvmmsg.
8954 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8955 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8957 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8958
f0ccf6ea
AS
8959 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8960 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8961 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8962
5b08ac57
AS
89632010-05-20 Andreas Schwab <schwab@redhat.com>
8964
8965 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8966
4828935d
LM
89672010-05-17 Luis Machado <luisgpm@br.ibm.com>
8968
8969 POWER7 optimizations.
8970 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8971 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8972
373d545e
UD
89732010-05-19 Ulrich Drepper <drepper@redhat.com>
8974
8975 * version.h: Update for 2.13 development version.
8976
21a2b1ae
AS
89772010-05-12 Andrew Stubbs <ams@codesourcery.com>
8978
8979 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8980 exceptions. Return 0.
8981
3f7dcb2b
RM
89822010-05-07 Roland McGrath <roland@redhat.com>
8983
8984 * elf/ldconfig.c (main): Add a const.
8985
5f24d53a 89862010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 8987
a160f8d8
UD
8988 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8989 (args_options): Add no-idn option.
8990 (ahosts_keys_int): Add idn_flags to ai_flags.
8991 (parse_option): Handle 'i' option to clear idn_flags.
8992
5f24d53a
UD
8993 * malloc/malloc.c (_int_free): Possible race in the most recently
8994 added check. Only act on the data if no current modification
8995 happened.
265bb1ce
UD
8996
8997See ChangeLog.17 for earlier changes.