]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix scalbn, scalbln integer overflow.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
28afd92d
JM
12012-03-02 Joseph Myers <joseph@codesourcery.com>
2
a6d06d7b
JM
3 [BZ #10135]
4 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5 small n, then large n, before computing and testing k+n.
6 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8 Likewise.
9 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10 Likewise.
11 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19 * math/libm-test.inc (scalbn_test): Add more tests.
20 (scalbln_test): Likewise.
21
07e12bb3
JM
22 * manual/filesys.texi (mode_t): Describe constraints on size and
23 signedness, not exact equivalence to a particular type.
24 (ino_t): Likewise.
25 (ino64_t): Likewise.
26 (dev_t): Likewise.
27 (nlink_t): Likewise.
28 (blkcnt_t): Likewise.
29 (blkcnt64_t): Likewise.
30 * manual/llio.texi (off_t): Likewise.
31
28afd92d
JM
32 [BZ #3976]
33 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34 (__ieee754_exp): Save and restore rounding mode and use
35 round-to-nearest for all computations.
36 * math/libm-test.inc (exp_test_tonearest): New function.
37 (exp_test_towardzero): Likewise.
38 (exp_test_downward): Likewise.
39 (exp_test_upward): Likewise.
40 (main): Call the new functions.
41 * sysdeps/i386/fpu/libm-test-ulps: Update.
42 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43
b1eeb65d
CD
442012-03-01 Chris Demetriou <cgd@google.com>
45
46 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47 have predictable order.
48
53362a4b
DM
492012-03-01 David S. Miller <davem@davemloft.net>
50
3c969083
DM
51 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52
759707de
DM
53 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57
dfdb8ff2
DM
58 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
59 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
60 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
65 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67
ead89f96
DM
68 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69
7f66bd07
DM
70 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71 * sysdeps/sparc/fpu/libm-test-ulps: to here.
72 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
73
53362a4b
DM
74 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
75 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
79 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
83 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
85 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
89 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
91 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
92 * sysdeps/sparc/elf/configure: Regenerated.
93
7b1902cb
JM
942012-03-01 Joseph Myers <joseph@codesourcery.com>
95
bec039bc
JM
96 * configure.in (AS, LD): Require binutils 2.20 or later.
97 * configure: Regenerated.
98 * manual/install.texi (Tools for Compilation): Give binutils 2.20
99 as required minimum version.
100 * INSTALL: Regenerated.
101
7b1902cb
JM
102 [BZ #2541]
103 [BZ #4108]
104 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
105 before squaring exponent.
106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
107 bottom long double and 27 bits of top long double before squaring
108 exponent.
109 * math/libm-test.inc (erfc_test): Add more tests.
110 * sysdeps/i386/fpu/libm-test-ulps: Update.
111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
113
f775c276
KT
1142012-03-01 Kai Tietz <ktietz@redhat.com>
115
116 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
117 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
118 containing bit-fields.
119 * soft-fp/extended.h (_FP_UNION_E): Likewise.
120 * soft-fp/single.h (_FP_UNION_S): Likewise.
121 * soft-fp/double.h (_FP_UNION_D): Likewise.
122
5b8a4d4a
JM
1232012-02-29 Joseph Myers <joseph@codesourcery.com>
124
0bab47b6
JM
125 [BZ #13786]
126 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
127 not include ../strcmp.S.
128 [USE_AS_STRNCASECMP_L]: Likewise.
129 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
130 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
131 * sysdeps/i386/i686/multiarch/strncase_l-c.c
132 (__strncasecmp_l_ia32): Define as alias to
133 __strncasecmp_l_nonascii.
134
0fcad3e2
JM
135 [BZ #5794]
136 * math/libm-test.inc (expm1_test): Add test for bug 5794.
137 * sysdeps/i386/fpu/libm-test-ulps: Update.
138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
139
5b8a4d4a
JM
140 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
142
8fdceb2e
JL
1432012-02-29 Jeff Law <law@redhat.com>
144
145 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
146 out of bounds read.
147
1f393a11
MP
1482012-02-29 Marek Polacek <polacek@redhat.com>
149
150 [BZ #13706]
151 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
152 * elf/Makefile: Add rules to run tst-unused-dep.out.
153
8847f037
DM
1542012-02-28 David S. Miller <davem@davemloft.net>
155
156 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
157 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
158 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
160 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
161 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
162
169d7f11
JM
1632012-02-29 Joseph Myers <joseph@codesourcery.com>
164
165 * math/libm-test.inc (llround_test): Move one test from
166 lround_test. Use TEST_f_L in moved test.
167 (lround_test): Move misplaced test to llround_test. Add testcase
168 from bug 2561.
169
39adf059
UD
1702012-02-28 Ulrich Drepper <drepper@gmail.com>
171
172 * sysdeps/x86_64/fpu/e_expf.S: New file.
173 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
174
71b5d1c5
SB
1752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
176
177 [BZ #13637]
178 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
179 of remain_len that may cause incomplete multi-byte character and
180 false match.
181 * posix/bug-regex33.c: New file.
182 * posix/Makefile (tests): Add bug-regex33.
183
1f77f049
JM
1842012-02-28 Joseph Myers <joseph@codesourcery.com>
185
186 * manual/macros.texi: New file.
187 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
188 * manual/libc.texinfo: Include macros.texi.
189 * manual/creatute.texi: Likewise.
190 * manual/install.texi: Likewise.
191 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
192 @glibcadj{} in references to the GNU C Library.
193 * manual/charset.texi: Likewise.
194 * manual/conf.texi: Likewise.
195 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
196 when not using those macros.
197 * manual/creature.texi: Likewise.
198 * manual/crypt.texi: Likewise.
199 * manual/errno.texi: Likewise.
200 * manual/filesys.texi: Likewise.
201 * manual/header.texi: Likewise.
202 * manual/install.texi: Likewise.
203 * manual/intro.texi: Likewise.
204 * manual/io.texi: Likewise.
205 * manual/job.texi: Likewise.
206 * manual/lang.texi: Likewise.
207 * manual/libc.texiinfo: Likewise.
208 * manual/llio.texi: Likewise.
209 * manual/locale.texi: Likewise.
210 * manual/maint.texi: Likewise.
211 * manual/math.texi: Likewise.
212 * manual/memory.texi: Likewise.
213 * manual/message.texi: Likewise.
214 * manual/nss.texi: Likewise.
215 * manual/pattern.texi: Likewise.
216 * manual/process.texi: Likewise.
217 * manual/resource.texi: Likewise.
218 * manual/search.texi: Likewise.
219 * manual/setjmp.texi: Likewise.
220 * manual/signal.texi: Likewise.
221 * manual/socket.texi: Likewise.
222 * manual/startup.texi: Likewise.
223 * manual/stdio.texi: Likewise.
224 * manual/string.texi: Likewise.
225 * manual/sysinfo.texi: Likewise.
226 * manual/syslog.texi: Likewise.
227 * manual/terminal.texi: Likewise.
228 * manual/time.texi: Likewise.
229 * manual/users.texi: Likewise.
230 * INSTALL: Regenerated.
231 * NOTES: Regenerated.
d40c5d54 232 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 233
450bf206
AS
2342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
235
236 * include/dirent.h: Include <dirstream.h> before
237 <dirent/dirent.h>.
238
741a235b
DM
2392012-02-28 David S. Miller <davem@davemloft.net>
240
241 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
242 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
243 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
244 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
245
d6b5aa58
DM
2462012-02-27 David S. Miller <davem@davemloft.net>
247
1aff59a3
DM
248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
250 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
251 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
252
d6b5aa58
DM
253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
254 frame pointer instead of stack pointer relative arg slot.
255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
256 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
257 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
258
433f48bf
CD
2592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
260
261 [BZ #3992]
262 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
263
d674b76d
DM
2642012-02-27 David S. Miller <davem@davemloft.net>
265
266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
270 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
271 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
272 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
273 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
274
0e7727f7
JM
2752012-02-27 Joseph Myers <joseph@codesourcery.com>
276
277 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
278 later. Allow versions 5-9.
43be4ca2 279 * configure: Regenerated.
0e7727f7
JM
280 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
281 required minimum version and 4.6 as recommended version. Do not
282 mention bugs in GCC 2.7 and 2.8.
43be4ca2 283 * INSTALL: Regenerated.
0e7727f7 284
a78bc654
DM
2852012-02-27 David S. Miller <davem@davemloft.net>
286
428d5830
DM
287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
291 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
292 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
293 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
294 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
295
a78bc654
DM
296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
297 manipulate bits before adding and subtracting TWO112[sx].
298 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
299
4579f81c
RM
3002012-02-27 Roland McGrath <roland@hack.frob.com>
301
36c8acb4
RM
302 [BZ #13775]
303 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
304 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
305 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
306 being in POSIX, because they are in 1003.1-2008.
307
84ad622b
RM
308 * rt/tst-aio.c: Include <fcntl.h>.
309 * rt/tst-aio7.c: Likewise.
310 * rt/tst-aio64.c: Likewise.
311
4579f81c
RM
312 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
313
abd923db
JM
3142012-02-27 Joseph Myers <joseph@codesourcery.com>
315
316 * manual/install.texi (--with-headers): Describe headers as
317 interface headers, not private headers.
318 (Specific advice for GNU/Linux systems): Describe use of headers
319 from "make headers_install", not private headers from older
320 kernels.
43be4ca2 321 * INSTALL: Regenerated.
abd923db
JM
322 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
323 Change to 2.6.19.
324 * sysdeps/unix/sysv/linux/configure: Regenerated.
325
6664049b
JM
326 * manual/llio.texi (fclean): Remove documentation.
327
bb8b6697
JM
328 * manual/Makefile (libc-texi-generated): New variable. Include
329 version.texi.
330 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
331 $(libc-texi-generated), not duplicated list of files.
332 (version.texi, stamp-version): New rules.
333 (realclean): Remove $(libc-texi-generated), not individual files
334 from that list. Do not remove dir-add.texinfo.
335 * manual/libc.texinfo: Comment out uses of edition numbers and
336 references to printed manual. Remove last-updated dates.
337 (EDITION): Comment out.
338 (ISBN): Likewise.
339 (VERSION, UPDATED): Remove.
340 (version.texi): Include.
341
12e5c3b9
AS
3422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
343
344 * sysdeps/posix/spawni.c: Include <signal.h>.
345 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
346 * sysdeps/pthread/aio_fsync.c: Likewise.
347
4efeffc1 3482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 349
ba63ba08
UD
350 * conform/Makefile (tests): Run only when not cross-compiling and
351 when fast-check is not defined.
352
d94a4670
UD
353 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
354 * conform/data/limits.h-data: Fixes for POSIX2008.
355 * conform/run-conformtest.sh: Run all tests.
356 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
357 headers.
358 * include/bits/dlfcn.h: Likewise.
359 * include/langinfo.h: Likewise.
360 * include/monetary.h: Likewise.
361 * include/sys/poll.h: Likewise.
362
363 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
364 for __USE_GNU.
365 * posix/spawn.h: Define __need_sigset_t.
366 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
367 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
368 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
369 to get sigevent_t only.
370 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
371 only for __USE_GNU.
372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
373 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
374 process_vm_writev only for __USE_GNU.
375 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
376
377 * conform/Makefile: For now ignore errors from run-conformtest.
378 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
379 POSIX to avoid namespace pollution. Don't prepend headers.
380 * conform/data/aio.h-data: Fixes for POSIX testing.
381 * conform/data/fcntl.h-data: Likewise.
382 * conform/data/glob.h-data: Likewise.
383 * conform/data/grp.h-data: Likewise.
384 * conform/data/pthread.h-data: Likewise.
385 * conform/data/pwd.h-data: Likewise.
386 * conform/data/signal.h-data: Likewise.
387 * conform/data/spawn.h-data: Likewise.
388 * conform/data/stdio.h-data: Likewise.
389 * conform/data/stdlib.h-data: Likewise.
390 * conform/data/stropts.h-data: Likewise.
391 * conform/data/sys/mman.h-data: Likewise.
392 * conform/data/sys/stat.h-data: Likewise.
393 * conform/data/sys/types.h-data: Likewise.
394 * conform/data/sys/wait.h-data: Likewise.
395 * conform/data/time.h-data: Likewise.
396 * conform/data/unistd.h-data: Likewise.
397 * conform/data/utime.h-data: Likewise.
398
399 * io/sys/stat.h: fchmod was always in POSIX.
400 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
401 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
402 * rt/aio.h: Define __need_timespec before including <time.h>.
403 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
404 struct. Add forward declaration of pthread_attr_t and use it in
405 sigevent.
406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
408 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
409 always remove CLK_TCK definition.
410
c20105c3
AS
4112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
412
413 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
414
7a270350
UD
4152012-02-25 Ulrich Drepper <drepper@gmail.com>
416
31341567
UD
417 * conform/run-conformtest.sh: New file.
418 * conform/Makefile: Run run-conformtest for tests.
419 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
420 support.
421
422 * conform/data/uchar.h-data: New file.
423 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
424 * conform/data/arpa/inet.h-data: Likewise.
425 * conform/data/assert.h-data: Likewise.
426 * conform/data/complex.h-data: Likewise.
427 * conform/data/cpio.h-data: Likewise.
428 * conform/data/ctype.h-data: Likewise.
429 * conform/data/dirent.h-data: Likewise.
430 * conform/data/dlfcn.h-data: Likewise.
431 * conform/data/errno.h-data: Likewise.
432 * conform/data/fcntl.h-data: Likewise.
433 * conform/data/float.h-data: Likewise.
434 * conform/data/fmtmsg.h-data: Likewise.
435 * conform/data/fnmatch.h-data: Likewise.
436 * conform/data/ftw.h-data: Likewise.
437 * conform/data/glob.h-data: Likewise.
438 * conform/data/grp.h-data: Likewise.
439 * conform/data/iconv.h-data: Likewise.
440 * conform/data/inttypes.h-data: Likewise.
441 * conform/data/langinfo.h-data: Likewise.
442 * conform/data/libgen.h-data: Likewise.
443 * conform/data/limits.h-data: Likewise.
444 * conform/data/locale.h-data: Likewise.
445 * conform/data/math.h-data: Likewise.
446 * conform/data/monetary.h-data: Likewise.
447 * conform/data/mqueue.h-data: Likewise.
448 * conform/data/ndbm.h-data: Likewise.
449 * conform/data/net/if.h-data: Likewise.
450 * conform/data/netdb.h-data: Likewise.
451 * conform/data/netinet/in.h-data: Likewise.
452 * conform/data/nl_types.h-data: Likewise.
453 * conform/data/poll.h-data: Likewise.
454 * conform/data/pthread.h-data: Likewise.
455 * conform/data/pwd.h-data: Likewise.
456 * conform/data/regex.h-data: Likewise.
457 * conform/data/sched.h-data: Likewise.
458 * conform/data/search.h-data: Likewise.
459 * conform/data/semaphore.h-data: Likewise.
460 * conform/data/setjmp.h-data: Likewise.
461 * conform/data/signal.h-data: Likewise.
462 * conform/data/spawn.h-data: Likewise.
463 * conform/data/stdarg.h-data: Likewise.
464 * conform/data/stdio.h-data: Likewise.
465 * conform/data/stdlib.h-data: Likewise.
466 * conform/data/string.h-data: Likewise.
467 * conform/data/strings.h-data: Likewise.
468 * conform/data/stropts.h-data: Likewise.
469 * conform/data/sys/ipc.h-data: Likewise.
470 * conform/data/sys/mman.h-data: Likewise.
471 * conform/data/sys/msg.h-data: Likewise.
472 * conform/data/sys/resource.h-data: Likewise.
473 * conform/data/sys/select.h-data: Likewise.
474 * conform/data/sys/sem.h-data: Likewise.
475 * conform/data/sys/shm.h-data: Likewise.
476 * conform/data/sys/socket.h-data: Likewise.
477 * conform/data/sys/stat.h-data: Likewise.
478 * conform/data/sys/statvfs.h-data: Likewise.
479 * conform/data/sys/time.h-data: Likewise.
480 * conform/data/sys/timeb.h-data: Likewise.
481 * conform/data/sys/times.h-data: Likewise.
482 * conform/data/sys/types.h-data: Likewise.
483 * conform/data/sys/uio.h-data: Likewise.
484 * conform/data/sys/un.h-data: Likewise.
485 * conform/data/sys/utsname.h-data: Likewise.
486 * conform/data/sys/wait.h-data: Likewise.
487 * conform/data/syslog.h-data: Likewise.
488 * conform/data/tar.h-data: Likewise.
489 * conform/data/termios.h-data: Likewise.
490 * conform/data/utime.h-data: Likewise.
491 * conform/data/utmpx.h-data: Likewise.
492 * conform/data/varargs.h-data: Likewise.
493 * conform/data/wchar.h-data: Likewise.
494 * conform/data/wctype.h-data: Likewise.
495 * conform/data/wordexp.h-data: Likewise.
496
497 * include/stropts.h: New file.
498 * include/uchar.h: New file.
499 * include/aio.h: Changes to allow conformtest.pl to use the headers.
500 * include/assert.h: Likewise.
501 * include/ctype.h: Likewise.
502 * include/dirent.h: Likewise.
503 * include/dlfcn.h: Likewise.
504 * include/fcntl.h: Likewise.
505 * include/fnmatch.h: Likewise.
506 * include/glob.h: Likewise.
507 * include/grp.h: Likewise.
508 * include/libio.h: Likewise.
509 * include/locale.h: Likewise.
510 * include/math.h: Likewise.
511 * include/net/if.h: Likewise.
512 * include/netdb.h: Likewise.
513 * include/netinet/in.h: Likewise.
514 * include/pthread.h: Likewise.
515 * include/pwd.h: Likewise.
516 * include/regex.h: Likewise.
517 * include/sched.h: Likewise.
518 * include/search.h: Likewise.
519 * include/setjmp.h: Likewise.
520 * include/signal.h: Likewise.
521 * include/stdio.h: Likewise.
522 * include/stdlib.h: Likewise.
523 * include/string.h: Likewise.
524 * include/sys/cdefs.h: Likewise.
525 * include/sys/mman.h: Likewise.
526 * include/sys/msg.h: Likewise.
527 * include/sys/resource.h: Likewise.
528 * include/sys/select.h: Likewise.
529 * include/sys/socket.h: Likewise.
530 * include/sys/stat.h: Likewise.
531 * include/sys/statvfs.h: Likewise.
532 * include/sys/time.h: Likewise.
533 * include/sys/times.h: Likewise.
534 * include/sys/uio.h: Likewise.
535 * include/sys/utsname.h: Likewise.
536 * include/sys/wait.h: Likewise.
537 * include/termios.h: Likewise.
538 * include/time.h: Likewise.
539 * include/ulimit.h: Likewise.
540 * include/unistd.h: Likewise.
541 * include/utime.h: Likewise.
542 * include/wchar.h: Likewise.
543 * include/wctype.h: Likewise.
544 * include/wordexp.h: Likewise.
545
546 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
547
7a270350
UD
548 * time/time.h: TIME_UTC must be a macro.
549 Make timespec_get available for ISO C11 only as well.
550
7724defc
UD
5512012-02-24 Ulrich Drepper <drepper@gmail.com>
552
553 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
554 Reported by Peng Haitao <penght@cn.fujitsu.com>.
555
6b1d1d46
JM
5562012-02-24 Joseph Myers <joseph@codesourcery.com>
557
558 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 559
0f8bbd69
JM
5602012-02-24 Joseph Myers <joseph@codesourcery.com>
561
562 * manual/texinfo.tex: Update to version 2012-01-19.16.
563
66ab80bc
JM
5642012-02-24 Joseph Myers <joseph@codesourcery.com>
565
566 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
567
74981cc5
RM
5682012-02-24 Roland McGrath <roland@hack.frob.com>
569
ee968201
RM
570 [BZ #13738]
571 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
572 * manual/fdl-1.3.texi: New file.
573 * manual/fdl-1.1.texi: File removed.
574
74981cc5
RM
575 [BZ #13738]
576 * manual/libc.texinfo (FDL_VERSION): New @set.
577 Use it for mention of FDL in cover text.
578 (Documentation License): Use it in @include file name.
579
7bb764bc
JM
5802012-02-22 Joseph Myers <joseph@codesourcery.com>
581 Roland McGrath <roland@hack.frob.com>
582
583 [BZ #5461]
584 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
585 not LONG_LONG_MAX and LONG_LONG_MIN.
586 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
587 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
588 name.
589 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
590
6cbeae47
JM
5912012-02-22 Joseph Myers <joseph@codesourcery.com>
592
593 [BZ #2547]
594 [BZ #11365]
595 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
596 manipulate bits before adding and subtracting TWO23[sx].
597 * math/libm-test.inc (nearbyint_test): Add more tests.
598
fe45ce09
JM
5992012-02-22 Joseph Myers <joseph@codesourcery.com>
600
601 [BZ #2548]
602 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
603 bits before adding and subtracting TWO23[sx].
604 * math/libm-test.inc (rint_test): Add more tests.
605 (rint_test_tonearest): Likewise.
606 (rint_test_towardzero): Likewise.
607 (rint_test_downward): Likewise.
608 (rint_test_upward: Likewise.
609
ff3b3d82
JM
6102012-02-22 Joseph Myers <joseph@codesourcery.com>
611
612 [BZ #10110]
613 * include/stdc-predef.h: New file. Extracted from features.h.
614 * include/features.h: Include stdc-predef.h.
615 * Makefile (headers): Add stdc-predef.h.
616 * CONFORMANCE (Compiler limitations): Update.
617
ef0aab35
JM
6182012-02-22 Joseph Myers <joseph@codesourcery.com>
619
620 * manual/libc.texinfo (VERSION, UPDATED): Revert.
621
58639409
DM
6222012-02-21 David S. Miller <davem@davemloft.net>
623
624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
625 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
626
c0e70b25
DM
6272012-02-20 David S. Miller <davem@davemloft.net>
628
629 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
630 using a normal save/restore sequence, rather than allocating a
631 dummy stack frame just to store a frame pointer and restore.
632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
633
fb06851d
JM
6342012-02-21 Joseph Myers <joseph@codesourcery.com>
635
636 * manual/install.texi: Fix stray word in line-wrapped comment.
637
7a8b71c3
DM
6382012-02-20 David S. Miller <davem@davemloft.net>
639
d510c123
DM
640 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
641 both binutils and gcc support GOTDATA.
642
0722d7c2
DM
643 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
644 "rd %pc" in the PIC register setup sequences.
645
3d2b3019
DM
646 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
647 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
648 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
649 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
650 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
652 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
653 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
655 (SYSCALL_ERROR_HANDLER): Likewise.
656 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
657 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
659 (SYSCALL_ERROR_HANDLER): Likewise.
660
c80098a9
DM
661 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
662 (HAVE_GCC_GOTDATA): New.
663 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
664 relocation support in both binutils and gcc.
665 * sysdeps/sparc/elf/configure: Regenerate.
666
3a2545a0
DM
667 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
668 * sysdeps/sparc/sparc32/elf/configure: Delete.
669 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
670 * sysdeps/sparc/sparc64/elf/configure: Delete.
671 * sysdeps/sparc/elf/configure.in: New file.
672 * sysdeps/sparc/elf/configure: Generate.
673
7a8b71c3
DM
674 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
675 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
676 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
677 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
678 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
679
f1e86fca
JM
6802012-02-21 Joseph Myers <joseph@codesourcery.com>
681
682 * manual/install.texi: Do not mention specific glibc version
683 numbers.
684 * manual/libc.texinfo (VERSION, UPDATED): Update.
685 (@copying): Use @copyright{} and range of years.
686
0e7dfaef
JM
6872012-02-21 Joseph Myers <joseph@codesourcery.com>
688
689 [BZ #13695]
690 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
691 [crti.S not in sysdirs] (generated): Do not append.
692 [crti.S not in sysdirs] (omit-deps): Likewise.
693 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
694 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
695 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
696 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
697 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
698 Likewise.
699 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
700 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
701 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
702 * csu/defs.awk: Remove file.
703 * sysdeps/generic/initfini.c: Likewise.
704 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
705 variable.
706 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
707 Likewise.
708
599af3ca
JM
7092012-02-20 Joseph Myers <joseph@codesourcery.com>
710
711 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
712 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
715 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
716 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
717 <bits/epoll.h>.
718 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
719 (__EPOLL_PACKED): Define to empty if not defined by
720 <bits/epoll.h>.
721 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
723 bits/epoll.h.
724
0e499750
JM
7252012-02-20 Joseph Myers <joseph@codesourcery.com>
726
727 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
728 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
729 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
730 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
731 <bits/timerfd.h>.
732 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
734 bits/timerfd.h.
735
5ad91f6e
JM
7362012-02-20 Joseph Myers <joseph@codesourcery.com>
737
738 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
739 in C locale.
740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
741 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
742 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
744
06b99b02
AJ
7452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
746
747 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
748 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
749
7638c0fd
AS
7502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
751
752 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
753 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
754 defined.
755 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
756 Likewise.
757 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
758 entry for 2.16.
759
92221550
AJ
7602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
761
762 * math/w_acos.c: Use non-signaling floating-point comparisons.
763 * math/w_acosf.c: Likewise.
764 * math/w_acosh.c: Likewise.
765 * math/w_acoshf.c: Likewise.
766 * math/w_acoshl.c: Likewise.
767 * math/w_acosl.c: Likewise.
768 * math/w_asin.c: Likewise.
769 * math/w_asinf.c: Likewise.
770 * math/w_asinl.c: Likewise.
771 * math/w_atanh.c: Likewise.
772 * math/w_atanhf.c: Likewise.
773 * math/w_atanhl.c: Likewise.
774 * math/w_exp2.c: Likewise.
775 * math/w_exp2f.c: Likewise.
776 * math/w_exp2l.c: Likewise.
777 * math/w_j0.c: Likewise.
778 * math/w_j0f.c: Likewise.
779 * math/w_j0l.c: Likewise.
780 * math/w_j1.c: Likewise.
781 * math/w_j1f.c: Likewise.
782 * math/w_j1l.c: Likewise.
783 * math/w_jn.c: Likewise.
784 * math/w_jnf.c: Likewise.
785 * math/w_log.c: Likewise.
786 * math/w_log10.c: Likewise.
787 * math/w_log10f.c: Likewise.
788 * math/w_log10l.c: Likewise.
789 * math/w_log2.c: Likewise.
790 * math/w_log2f.c: Likewise.
791 * math/w_log2l.c: Likewise.
792 * math/w_logf.c: Likewise.
793 * math/w_logl.c: Likewise.
794 * math/w_sqrt.c: Likewise.
795 * math/w_sqrtf.c: Likewise.
796 * math/w_sqrtl.c: Likewise.
797 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
798 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
799 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
800 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
801 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
802
ebaf36eb
JM
8032012-02-19 Joseph Myers <joseph@codesourcery.com>
804
805 [BZ #9739]
806 * manual/string.texi (strnlen): Use correct parameter name in
807 equivalent expression.
808
71c254a6
JM
8092012-02-19 Joseph Myers <joseph@codesourcery.com>
810
811 [BZ #11174]
812 * manual/users.texi (seteuid): Consistently use neweuid for
813 argument name.
814
16d2c631
JM
8152012-02-19 Joseph Myers <joseph@codesourcery.com>
816
817 [BZ #13704]
818 * manual/nss.texi (Services in the NSS configuration): Correct
819 list of services in example configuration file.
820
cd837b09
NB
8212012-02-19 Nick Bowler <nbowler@draconx.ca>
822
823 [BZ #11322]
824 * manual/arith.texi: Remove statements about negative zero
825 behaving identically to zero.
826
02c4bbad
JM
8272012-02-18 Joseph Myers <joseph@codesourcery.com>
828
829 [BZ #5993]
830 * manual/install.texi: Do not document upgrading from libc5.
831
366842e7
JM
8322012-02-18 Joseph Myers <joseph@codesourcery.com>
833
834 [BZ #4596]
835 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
836
dd54084d
DM
8372012-02-18 David S. Miller <davem@davemloft.net>
838
839 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
840 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
841 %o7 across the call.
842 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
843 instead.
844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
845 SETUP_PIC_REG_LEAF.
846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
847 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
848 * sysdeps/sparc/crtn.S: Likewise.
849
2bcc53a3
UD
8502012-02-17 Ulrich Drepper <drepper@gmail.com>
851
852 * aout/Makefile: Remove.
853
09c093b5
RK
8542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
855
856 [BZ #13058]
857 * manual/examples/argp-ex1.c (main): Format definition in GNU
858 style.
859 * manual/examples/argp-ex2.c (main): Likewise.
860 * manual/examples/argp-ex3.c (main): Likewise.
861 * manual/examples/argp-ex4.c (main): Likewise.
862 * manual/examples/longopt.c (main): Use new-style prototype
863 definition.
864 * manual/examples/strncat.c (main): Specify return type and use
865 (void) for arguments.
866 * manual/examples/subopt.c (main): Use char **argv argument.
867
2ee633a2
JM
8682012-02-17 Joseph Myers <joseph@codesourcery.com>
869
870 [BZ #5077]
871 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
872 rounding modes.
873
0520adde
FB
8742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
875
876 [BZ #6907]
877 * manual/string.texi (strchr): Change when strchrnul is
878 recommended.
879
3f4081cd
DGM
8802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
881
882 [BZ #174]
883 * manual/locale.texi (setlocale): Document LOCPATH.
884
d1b10e78
JM
8852012-02-17 Joseph Myers <joseph@codesourcery.com>
886
887 [BZ #10210]
888 * manual/process.texi (execle): Move @dots{} before last argument.
889
79c6869c
PB
8902012-02-17 Paul Bolle <pebolle@tiscali.nl>
891
892 [BZ #12047]
893 * manual/charset.texi (Generic Charset Conversion): Fix typo
894 (LC_TYPE -> LC_CTYPE).
895
cc6e48bc
NB
8962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
897
898 [BZ #5805]
899 * manual/arith.texi (scalbn): Use @var{} on parameter names.
900 (scalbnf): Likewise.
901 (scalbnl): Likewise.
902 (scalbln): Likewise.
903 (scalblnf): Likewise.
904 (scalblnl): Likewise.
905 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
906 (vwarnx): Likewise.
907 (verr): Likewise.
908 (verrx): Likewise.
909 * manual/filesys.texi (telldir): Use braces around return type.
910 * manual/llio.texi (mmap): Add space after comma.
911 (mmap64): Likewise.
912 * manual/math.texi (jn): Use @var{} on parameter names.
913 (jnf): Likewise.
914 (jnl): Likewise.
915 (yn): Likewise.
916 (ynf): Likewise.
917 (ynl): Likewise.
918 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
919 line.
920 * manual/resource.texi (ulimit): Use @dots{} instead of literal
921 "...".
922 (sched_get_priority_min): Remove semicolon on @deftypefun line.
923 (sched_get_priority_max): Likewise.
924 * manual/signal.texi (sigvec): Add space after comma.
925 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
926 names.
927 (if_indextoname): Likewise.
928 (if_freenameindex): Likewise.
929 (sendto): Use ',' instead of '.' in prototype.
930 * manual/startup.texi (syscall): Use @dots{} instead of literal
931 "...".
932 * manual/stdio.texi (__fpending): Separate initial words of
933 paragraph from @deftypefun line.
934 * manual/syslog.texi (syslog): Use @dots{} instead of literal
935 "...".
936 (vsyslog): Use @var{} on parameter names.
937 * manual/terminal.texi (stty): Use @var{} on parameter names.
938 * manual/users.texi (getutmp): Use @var{} on parameter names.
939 (getutmpx): Likewise.
940
5b23062f
JM
9412012-02-17 Joseph Myers <joseph@codesourcery.com>
942
943 [BZ #6884]
944 * manual/stdio.texi (fopen): Fix typos in description of
945 ",ccs=STRING".
946
8dee4833
AJ
9472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
948
949 [BZ #4026]
950 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
951 get clock_id definition.
952
9078ce93
TS
9532012-02-17 Thomas Schwinge <thomas@schwinge.name>
954
955 [BZ #4822]
956 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
957 (madvise): Cast every argument to void on its own.
958
3835c55f
JM
9592012-02-17 Joseph Myers <joseph@codesourcery.com>
960
961 [BZ #9902]
962 * manual/startup.texi (Exit Status): Fix typo.
963
35c47e37
JM
9642012-02-17 Joseph Myers <joseph@codesourcery.com>
965
966 [BZ #10140]
967 * manual/examples/argp-ex1.c: Include <stdlib.h>.
968 * manual/examples/argp-ex2.c: Likewise.
969 * manual/examples/argp-ex3.c: Likewise.
970
e3b69ca7
RH
9712012-02-16 Richard Henderson <rth@redhat.com>
972
973 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
974 * sysdeps/s390/s390-32/initfini.c: Remove.
975 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
976 * sysdeps/s390/s390-64/initfini.c: Remove.
977
df83af67
KK
9782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
979
980 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
981 compiler output for sysdeps/generic/initfini.c.
982 * sysdeps/sh/elf/initfini.c: Remove file.
983
f63f3380
DM
9842012-02-16 David S. Miller <davem@davemloft.net>
985
fb59b3a4
DM
986 [BZ #11494]
987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
988
f63f3380
DM
989 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
990 * sysdeps/sparc/crti.S: New file.
991 * sysdeps/sparc/crtn.S: New file.
992 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
993 * sysdeps/sparc/sparc64/Makefile: Likewise.
994
df6a4a4a
MF
9952012-02-15 Mike Frysinger <vapier@gentoo.org>
996
6dd8f3dc 997 [BZ #3335]
df6a4a4a
MF
998 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
999
1cac7236
RM
10002012-02-15 Roland McGrath <roland@hack.frob.com>
1001
d2c736f8
RM
1002 [BZ #4822]
1003 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1004
1cac7236
RM
1005 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1006 (write, read, close): Likewise.
1007 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1008
8e475601
JM
10092012-02-15 Joseph Myers <joseph@codesourcery.com>
1010
1011 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1012 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1013 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1014 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1015 <bits/signalfd.h>.
1016 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1018 bits/signalfd.h.
1019
ed656b40
MP
10202012-02-14 Marek Polacek <polacek@redhat.com>
1021
1022 * sysdeps/x86_64/crti.S: New file.
1023 * sysdeps/x86_64/crtn.S: New file.
1024 * sysdeps/x86_64/elf/initfini.c: Remove file.
1025
2a979d3a
JM
10262012-02-13 Joseph Myers <joseph@codesourcery.com>
1027
1028 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1029 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1030 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1031 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1032 <bits/inotify.h>.
1033 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1035 bits/inotify.h.
1036
2a418ac3
JM
10372012-02-13 Joseph Myers <joseph@codesourcery.com>
1038
1039 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1040 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1041 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1042 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1043 <bits/eventfd.h>.
1044 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1046 bits/eventfd.h.
1047
fb779be7
TS
10482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1049
e19e83c5
RM
1050 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1051 __feraiseexcept instead of feraiseexcept.
7c35ffed 1052
fb779be7
TS
1053 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1054 nanosleep invocations.
1055 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1056 strings, and add error checking for a nanosleep invocations.
1057
59ba27a6
PE
10582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1059
1060 Replace FSF snail mail address with URLs, as per GNU coding standards.
1061 Most of the snail mail addresses were wrong anyway, and omitting
1062 them makes the source code easier to maintain. Almost all of the
1063 changes are to license notices and to locale LC_IDENTIFICATION
1064 addresses, except for this one:
1065 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1066 not its snail mail address.
1067
57b957eb
RH
10682012-02-09 Richard Henderson <rth@twiddle.net>
1069
af850b1c
RH
1070 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1071 of kernel-features.h.
1072
57b957eb
RH
1073 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1074
6b73181a
MP
10752012-02-08 Marek Polacek <polacek@redhat.com>
1076
1077 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1078 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1079 * sysdeps/gnu/_G_config.h: Likewise.
1080 * sysdeps/generic/_G_config.h: Likewise.
1081
26ecc33a
AS
10822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1083
6c6dbc63
AS
1084 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1085 tests.
1086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1087
e216c012
AS
1088 * sysdeps/powerpc/powerpc32/crti.S: New file.
1089 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1090 * sysdeps/powerpc/powerpc64/crti.S: New file.
1091 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1092
26ecc33a
AS
1093 * Makeconfig (have-initfini): Don't set.
1094 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1095 * configure.in (nopic_initfini): Don't substitute.
1096 * config.h.in (HAVE_INITFINI): Don't #undef.
1097 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1098 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1099
3add8e13
JM
11002012-02-08 Joseph Myers <joseph@codesourcery.com>
1101
1102 Support crti.S and crtn.S provided directly by architectures.
1103 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1104 [crti.S in sysdirs] (omit-deps): Likewise.
1105 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1106 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1107 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1108 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1109 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1110 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1111 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1112 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1113 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1114 compiler output for sysdeps/generic/initfini.c.
1115 * sysdeps/i386/elf/Makefile: Remove file.
1116 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1117
a22f12b4
MP
11182012-02-07 Marek Polacek <polacek@redhat.com>
1119
1120 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1121 * sysdeps/gnu/_G_config.h: Likewise.
1122 * sysdeps/mach/hurd/_G_config.h: Likewise.
1123
148cf100
MP
11242012-02-07 Marek Polacek <polacek@redhat.com>
1125
1126 * math/Makefile (tests): Add tst-CMPLX2.
1127 * math/tst-CMPLX2.c: New file.
1128
cfdc0dd7
AS
11292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1130
84ba42c4
AS
1131 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1132
cfdc0dd7
AS
1133 * math/libm-test.inc (jn_test): Add missing L suffix.
1134
622c86f4
MP
11352012-02-06 Marek Polacek <polacek@redhat.com>
1136
1137 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1138 * sysdeps/i386/fpu/e_powf.S: Likewise.
1139 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1140 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1141 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1142 * sysdeps/i386/fpu/e_pow.S: Likewise.
1143 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1144 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1145 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1146 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1147 * sysdeps/i386/fpu/e_log2.S: Likewise.
1148 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1149 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1150 * sysdeps/i386/fpu/e_powl.S: Likewise.
1151 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1152 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1153 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1154 * sysdeps/i386/fpu/e_logl.S: Likewise.
1155 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1156 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1157 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1158 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1159 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1160 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1161 * sysdeps/i386/fpu/e_log.S: Likewise.
1162 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1163 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1164 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1165 * sysdeps/i386/fpu/e_logf.S: Likewise.
1166 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1167 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1168 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1169 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1170 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1171 * sysdeps/i386/fpu/e_log10.S: Likewise.
1172 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1173 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1174 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1175 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1176 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1177 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1178 * sysdeps/i386/asm-syntax.h: Likewise.
1179 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1180 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1181 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1182 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1183 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1184 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1185 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1186 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1187 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1188 * sysdeps/powerpc/sysdep.h: Likewise.
1189 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1190 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1191
d4a54ac6
JM
11922012-02-06 Joseph Myers <joseph@codesourcery.com>
1193
1194 [BZ #411]
1195 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1196
314054ea
JM
11972012-02-06 Joseph Myers <joseph@codesourcery.com>
1198
1199 * sysdeps/i386/sysdep.h: Include <features.h>.
1200 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1201 version.
1202
d8e0ca50
JM
12032012-02-05 Joseph Myers <joseph@codesourcery.com>
1204
1205 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1206 Define.
1207 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1208 LOAD_PIC_REG_STR.
1209
b1da7dd9
JM
12102012-02-03 Joseph Myers <joseph@codesourcery.com>
1211
1212 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1213 (SETUP_PIC_REG): Use GET_PC_THUNK.
1214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1215 macro.
1216
9a1d9254
JM
12172012-02-03 Joseph Myers <joseph@codesourcery.com>
1218
1219 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1220 for non-PIC compilation.
1221 (SETUP_PIC_REG): Add .p2align directive.
1222 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1223 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1224 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1225 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1226 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1227 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1228 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1229 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1230 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1231 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1232 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1233 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1234 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1235 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1236 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1237 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1238 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1239 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1240 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1241 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1242 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1243 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1244 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1245 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1246 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1248 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1249 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1250 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1251 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1252 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1253 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1254 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1255 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1256 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1257 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1258 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1259 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1260 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1261 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1262 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1263
65dc3b75
JM
12642012-02-03 Joseph Myers <joseph@codesourcery.com>
1265
1266 * math/tst-CMPLX.c: Include <stdio.h>.
1267
d55bf177
JM
12682012-01-31 Joseph Myers <joseph@codesourcery.com>
1269
1270 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1271 float.
1272 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1273 * sysdeps/sparc/bits/mathdef.h: Likewise.
1274
69db4f8f
MP
12752012-01-31 Marek Polacek <polacek@redhat.com>
1276
1277 * libio/libio.h: Don't define _PARAMS.
1278 * locale/programs/config.h: Don't define PARAMS.
1279 * stdlib/strtol_l.c: Likewise.
1280 (__strtol_l): Remove PARAMS from the prototype.
1281
41b81892
UD
12822012-01-31 Ulrich Drepper <drepper@gmail.com>
1283
3b49edc0
UD
1284 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1285 names. Just use the correct names. Remove unnecessary wrapper
1286 functions.
1287 * malloc/arena.c: Likewise.
1288 * malloc/hooks.c: Likewise.
1289
41b81892
UD
1290 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1291 ARENA_TEST says not to. Simplify test for creation of a new arena.
1292 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1293
27a25b6e
UD
12942012-01-30 Ulrich Drepper <drepper@gmail.com>
1295
1296 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1297 into tail calls.
1298 (update_get_addr): New function.
1299 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1300 GET_ADDR_MODULE parameter.
1301
c8a89e7d
JM
13022012-01-30 Joseph Myers <joseph@codesourcery.com>
1303
1304 * crypt/cert.c: Remove __STDC__ conditionals.
1305 * crypt/crypt-entry.c: Likewise.
1306 * crypt/crypt_util.c: Likewise.
1307 * libio/filedoalloc.c: Likewise.
1308 * libio/fileops.c: Likewise.
1309 * libio/genops.c: Likewise.
1310 * libio/iofclose.c: Likewise.
1311 * libio/iofdopen.c: Likewise.
1312 * libio/iofopen.c: Likewise.
1313 * libio/iofopen64.c: Likewise.
1314 * libio/iogetdelim.c: Likewise.
1315 * libio/iopopen.c: Likewise.
1316 * libio/obprintf.c: Likewise.
1317 * libio/oldfileops.c: Likewise.
1318 * libio/oldiofclose.c: Likewise.
1319 * libio/oldiofdopen.c: Likewise.
1320 * libio/oldiofopen.c: Likewise.
1321 * libio/oldiopopen.c: Likewise.
1322 * libio/wfiledoalloc.c: Likewise.
1323 * libio/wgenops.c: Likewise.
1324 * locale/programs/xmalloc.c: Likewise.
1325 * misc/syslog.c: Likewise.
1326 * stdio-common/xbug.c: Likewise.
1327 * string/memchr.c: Likewise.
1328 * string/memcmp.c: Likewise.
1329 * string/memrchr.c: Likewise.
1330 * string/rawmemchr.c: Likewise.
1331 * sysdeps/posix/getcwd.c: Likewise.
1332 * time/strftime_l.c: Likewise.
1333
3b100462
JM
13342012-01-30 Joseph Myers <joseph@codesourcery.com>
1335
1336 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1337 * config.make.in (config-cflags-sse2avx): Define.
1338 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1339 Fix typo.
1340
607998af
CM
13412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1342
1343 * scripts/config.guess: Update from upstream config git repository.
1344 * scripts/config.sub: Likewise.
1345
3601428f
CM
13462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1347
3ac8b282
CM
1348 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1349 (EM_NUM): Update.
1350 (R_TILEPRO_*, R_TILEGX_*): New macros.
1351
e034841e
CM
1352 * scripts/firstversions.awk: Fix bug in version range handling.
1353
540d7568
CM
1354 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1355
3601428f
CM
1356 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1357
463de862
CM
1358 * include/sys/epoll.h: New file.
1359 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1360 libc_hidden_def.
1361
73139a76
UD
13622012-01-28 Ulrich Drepper <drepper@gmail.com>
1363
96bc5b45
UD
1364 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1365 Avoid unnecessary __WORDSIZE == 64 test.
1366 (fmaxf): Use VEX format if possible.
1367 (fmax): Likewise.
1368 (fminf): Likewise.
1369 (fmin): Likewise.
1370
56f6f6a2
UD
1371 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1372 * math/math_private.h: Remove libc_fegetround* and
1373 libc_fesetround*.
1374 * sysdeps/i386/configure.in: Check for -msse2avx.
1375 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1376 also if SSE2AVX is defined.
1377 Remove libc_fegetround* and libc_fesetround*.
1378 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1379 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1380 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1381 of HAS_YMM_USABLE.
1382 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1383 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1384 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1385 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1386 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1387
73139a76
UD
1388 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1389
d73f93a4
AZ
13902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1391
1392 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1393 size is not set.
1394 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1395
6ee65ed6
UD
13962012-01-27 Ulrich Drepper <drepper@gmail.com>
1397
1398 [BZ #13618]
1399 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1400 relocation.
1401 * Makeconfig (libm): Define.
1402 * elf/Makefile: Add rules to build and run tst-relsort1.
1403 * elf/tst-relsort1.c: New file.
1404 * elf/tst-relsort1mod1.c: New file.
1405 * elf/tst-relsort1mod2.c: New file.
1406
8db21882
JM
14072012-01-27 Joseph Myers <joseph@codesourcery.com>
1408
1409 * math/s_ldexp.c: Remove __STDC__ conditionals.
1410 * math/s_ldexpf.c: Likewise.
1411 * math/s_ldexpl.c: Likewise.
1412 * math/s_nextafter.c: Likewise.
1413 * math/s_nexttowardf.c: Likewise.
1414 * math/s_significand.c: Likewise.
1415 * math/s_significandf.c: Likewise.
1416 * math/s_significandl.c: Likewise.
1417 * math/w_jnl.c: Likewise.
1418 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1419 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1420 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1421 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1422 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1426 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1428 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1429 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1430 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1431 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1432 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1433 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1434 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1435 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1436 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1437 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1438 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1439 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1440 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1442 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1443 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1445 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1446 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1447 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1448 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1449 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1450 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1451 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1452 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1453 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1454 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1455 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1456 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1457 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1458 * sysdeps/ieee754/k_standard.c: Likewise.
1459 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1460 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1461 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1462 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1463 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1464 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1465 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1466 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1467 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1468 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1469 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1470 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1471 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1472 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1473 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1474 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1475 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1476 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1477 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1478 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1483 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1484 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1488 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1492 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1496 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1497 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1505 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1506 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1507 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1509 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1510 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1513 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1514 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1517 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1518 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1520 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1525 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1526 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1528 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1529 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1532 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1533 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1534 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1538 * sysdeps/ieee754/s_matherr.c: Likewise.
1539 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1540 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1541 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1542 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1543
965a54a4
JM
15442012-01-26 Joseph Myers <joseph@codesourcery.com>
1545
1546 * crypt/md5.h: Remove __STDC__ conditionals.
1547 * libio/libioP.h: Likewise.
1548 * locale/programs/config.h: Likewise.
1549 * sysdeps/generic/sysdep.h: Likewise.
1550 * sysdeps/i386/asm-syntax.h: Likewise.
1551 * sysdeps/s390/asm-syntax.h: Likewise.
1552 * sysdeps/unix/sysdep.h: Likewise.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1555
7071ad79
JM
15562012-01-26 Joseph Myers <joseph@codesourcery.com>
1557
1558 * libio/libio.h: Remove __STDC__ conditionals.
1559 * malloc/obstack.h: Likewise.
1560 * math/complex.h: Likewise.
1561 * math/math.h: Likewise.
1562 * sysdeps/generic/_G_config.h: Likewise.
1563 * sysdeps/gnu/_G_config.h: Likewise.
1564 * sysdeps/mach/hurd/_G_config.h: Likewise.
1565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1566 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1567 * sysdeps/sparc/bits/mathdef.h: Likewise.
1568
afc5ed09
UD
15692012-01-26 Ulrich Drepper <drepper@gmail.com>
1570
1571 [BZ #13583]
1572 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1573 Clean up HAS_* macros.
afc5ed09 1574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1575 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1576 possible.
1577 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1578 HAS_AVX.
1579 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1580 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1581 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1582 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1583 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1584
bdb6de1d
JM
15852012-01-25 Joseph Myers <joseph@codesourcery.com>
1586
1587 * elf/tst-unique3.cc (gets): Remove declaration.
1588 * elf/tst-unique3lib.cc (gets): Likewise.
1589 * elf/tst-unique3lib2.cc (gets): Likewise.
1590 * elf/tst-unique4.cc (gets): Likewise.
1591
b15549e6
UD
15922012-01-24 Ulrich Drepper <drepper@gmail.com>
1593
1594 * include/stdio.h: Add C++ protection. Add gets declarations and
1595 definitions.
1596 * debug/tst-chk1.c: Don't declare gets here.
1597 * stdio-common/tst-gets.c: Likewise.
1598
a037381f
JM
15992012-01-24 Joseph Myers <joseph@codesourcery.com>
1600
1601 * posix/glob: Remove directory.
1602
f1d4aa75
JM
16032012-01-24 Joseph Myers <joseph@codesourcery.com>
1604
1605 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1606
81c0c964
PT
16072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1608
1609 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1610 of the non-standard EPFNOSUPPORT.
1611
0ea698ae
ST
16122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1613
1614 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1615 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1616 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1617
d220b117
UD
16182012-01-21 Ulrich Drepper <drepper@gmail.com>
1619
1620 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1621
3e1aa84e
UD
16222012-01-20 Ulrich Drepper <drepper@gmail.com>
1623
1624 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1625 transient errors.
1626 * nscd/grpcache.c (cache_addgr): Likewise.
1627 * nscd/hstcache.c (cache_addhst): Likewise.
1628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1629 * nscd/pwdcache.c (cache_addpw): Likewise.
1630 * nscd/servicescache.c (cache_addserv): Likewise.
1631
400aa020
UD
16322012-01-16 Ulrich Drepper <drepper@gmail.com>
1633
d77e7869
UD
1634 * malloc/malloc.c: Various cleanups.
1635 * malloc/hooks.c: Likewise.
1636
400aa020
UD
1637 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1638 * stdlib/bug-fmtmsg1.c: New file.
1639
1640 * stdlib/fmtmsg.c (init): Add missing unlock.
1641 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1642
e0a309cf
MP
16432012-01-12 Marek Polacek <polacek@redhat.com>
1644
1645 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1646 and _GNU_SOURCE.
1647
929d11c7
WS
16482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1649
1650 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1651 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1652 macro to ensure uniqueness of label name.
1653 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1654 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1655
41d0e869
UD
16562012-01-11 Ulrich Drepper <drepper@gmail.com>
1657
0cc5ed3b
UD
1658 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1659
41d0e869
UD
1660 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1661 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1662 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1664
a47a831a
UD
16652012-01-10 Ulrich Drepper <drepper@gmail.com>
1666
daa891c0
UD
1667 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1668
1669 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1670 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1671 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1672
e58ef0f2
UD
1673 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1674
a47a831a 1675 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1676 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1679
1680 * math/bits/math-finite.h: Add ldexp support.
1681
a0bfc9c7
MP
16822012-01-10 Marek Polacek <polacek@redhat.com>
1683
1684 * locale/programs/localedef.h (show_archive_content): Add noreturn
1685 attribute.
1686
d6e97a1d
UD
16872012-01-09 Ulrich Drepper <drepper@gmail.com>
1688
1689 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1690
d5835c26
UD
16912012-01-08 Ulrich Drepper <drepper@gmail.com>
1692
e5f484c6
UD
1693 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1694
d5835c26
UD
1695 * io/Makefile (headers): Add bits/poll2.h.
1696
d1f741e9
WS
16972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1698
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1700 typo #include statement.
1701
ec09c1c4
UD
17022012-01-08 Ulrich Drepper <drepper@gmail.com>
1703
1704 * include/sys/cdefs.h: Define __attribute_alloc_size.
1705 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1706 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1707 * elf/pldd.c: Likewise.
1708 * iconv/iconv_charmap.c: Likewise.
1709 * iconv/iconvconfig.c: Likewise.
1710 * iconv/strtab.c: Likewise.
1711 * locale/programs/locale.c: Likewise.
1712 * locale/programs/localedef.h: Likewise.
1713 * locale/programs/simple-hash.c: Likewise.
1714 * nscd/nscd.h: Likewise.
1715 * nss/makedb.c: Likewise.
1716 * sysdeps/generic/ldconfig.h: Likewise.
1717 * locale/programs/localedef.c: Remove xmalloc prototype.
1718 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1719
20b38e03
PP
17202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1721
1722 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1723 appropriate.
1724
a0da5fe1
UD
17252012-01-08 Ulrich Drepper <drepper@gmail.com>
1726
1d5a644a 1727 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1728 * math/tst-CMPLX.c: New file.
1d5a644a 1729
8784a6db
UD
1730 * math/complex.h (CMPLXL): Fix typo.
1731
d9a216c0
UD
1732 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1733 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1734 GLIBC_2.16.
1735 * debug/tst-chk1.c: Add poll and ppoll tests.
1736 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1737 * include/sys/poll.h: Add hidden proto for ppoll.
1738 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1739 * sysdeps/mach/hurd/ppoll.c: Likewise.
1740 * io/ppoll.c: Likewise.
1741 * debug/poll_chk.c: New file.
1742 * debug/ppoll_chk.c: New file.
1743 * include/bits/poll2.h: New file.
1744 * io/bits/poll2.h: New file.
1745
ac097f5c
UD
1746 [BZ #1350]
1747 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1748
2119dcfa
UD
1749 * configure.in: static is always set to yes. Remove.
1750 * config.make.in: Don't set build-static.
1751 * Makeconfig: Remove use of build-static.
1752 * dlfcn/Makefile: Likewise.
1753 * elf/Makefile: Likewise.
1754 * math/Makefile: Likewise.
1755 * misc/Makefile: Likewise.
1756 * nptl/Makefile: Likewise.
1757 * sysdeps/mach/hurd/Makefile: Likewise.
1758
121766a9
UD
1759 * configure.in: PWD_P is not used anymore.
1760 * config.make.in: Remove PWD_P entry.
1761
51a1d39c 1762 * configure.in: Remove last remnants of RANLIB.
8720d066 1763 No need to check for signed size_t anymore.
215f4bdc
UD
1764 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1765 and IA-64.
3857022a 1766 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1767 * aclocal.m4: Likewise.
1768
d3ed7225
UD
1769 * wcsmbs/mbrtoc16.c: Implement using towc function.
1770 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1771 * wcsmbs/wcsmbsload.c: Likewise.
1772 * iconv/gconv_simple.c: Likewise.
1773 * iconv/gconv_int.h: Likewise.
1774 * iconv/gconv_builtin.h: Likewise.
1775 * iconv/iconv_prog.c: Remove CHAR16 handling.
1776
1777 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1778
1779 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1780
a0da5fe1
UD
1781 * configure.in: Remove --with-elf and --enable-bounded options.
1782 Dont set base_machine for ia64. More non-ELF conditions removed.
1783 Remove testing and setting of leading underscore information.
1784 * config.make.in (build-bounded): Set to no.
1785 * config.h.in: Remove NO_UNDERSCORES entry.
1786 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1787 them.
1788 * csu/start.c: Remove !NO_UNDERSCORE code.
1789 * locale/localeinfo.h: Likewise.
1790 * sysdeps/generic/machine-gmon.h: Likewise.
1791 * sysdeps/generic/sysdep.h: Likewise.
1792 * sysdeps/i386/sysdep.h: Likewise.
1793 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1794 * sysdeps/mach/sysdep.h: Likewise.
1795 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1797 * sysdeps/sh/sysdep.h: Likewise.
1798 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1799 * sysdeps/unix/i386/sysdep.S: Likewise.
1800 * sysdeps/unix/sparc/start.c: Likewise.
1801 * sysdeps/unix/sparc/sysdep.S: Likewise.
1802 * sysdeps/unix/sparc/sysdep.h: Likewise.
1803 * sysdeps/unix/start.c: Likewise.
1804 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1805 * sysdeps/x86_64/sysdep.h: Likewise.
1806
df78418a
UD
18072012-01-07 Ulrich Drepper <drepper@gmail.com>
1808
a784e502
UD
1809 [BZ #13553]
1810 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1811 for non-gcc.
1812 * argp/argp-fmtstream.h: Use const instead __const.
1813 * argp/argp.h: Likewise.
1814 * assert/assert.h: Likewise.
1815 * bits/fenv.h: Likewise.
1816 * bits/sched.h: Likewise.
1817 * bits/sigset.h: Likewise.
1818 * bits/sigthread.h: Likewise.
1819 * catgets/nl_types.h: Likewise.
1820 * conform/data/pthread.h-data: Likewise.
1821 * crypt/crypt-private.h: Likewise.
1822 * crypt/crypt.h: Likewise.
1823 * crypt/crypt_util.c: Likewise.
1824 * ctype/ctype.h: Likewise.
1825 * debug/execinfo.h: Likewise.
1826 * debug/mbsnrtowcs_chk.c: Likewise.
1827 * debug/mbsrtowcs_chk.c: Likewise.
1828 * debug/wcsnrtombs_chk.c: Likewise.
1829 * debug/wcsrtombs_chk.c: Likewise.
1830 * debug/wcstombs_chk.c: Likewise.
1831 * dirent/dirent.h: Likewise.
1832 * dlfcn/dlfcn.h: Likewise.
1833 * elf/neededtest4.c: Likewise.
1834 * grp/grp.h: Likewise.
1835 * gshadow/gshadow.h: Likewise.
1836 * iconv/gconv.h: Likewise.
1837 * iconv/gconv_int.h: Likewise.
1838 * iconv/gconv_simple.c: Likewise.
1839 * iconv/iconv.h: Likewise.
1840 * iconv/loop.c: Likewise.
1841 * iconv/skeleton.c: Likewise.
1842 * include/aio.h: Likewise.
1843 * include/aliases.h: Likewise.
1844 * include/argz.h: Likewise.
1845 * include/arpa/inet.h: Likewise.
1846 * include/assert.h: Likewise.
1847 * include/dirent.h: Likewise.
1848 * include/dlfcn.h: Likewise.
1849 * include/execinfo.h: Likewise.
1850 * include/fcntl.h: Likewise.
1851 * include/fenv.h: Likewise.
1852 * include/glob.h: Likewise.
1853 * include/grp.h: Likewise.
1854 * include/libintl.h: Likewise.
1855 * include/mntent.h: Likewise.
1856 * include/netdb.h: Likewise.
1857 * include/pwd.h: Likewise.
1858 * include/rpc/netdb.h: Likewise.
1859 * include/sched.h: Likewise.
1860 * include/search.h: Likewise.
1861 * include/shadow.h: Likewise.
1862 * include/signal.h: Likewise.
1863 * include/stdio.h: Likewise.
1864 * include/stdlib.h: Likewise.
1865 * include/string.h: Likewise.
1866 * include/sys/socket.h: Likewise.
1867 * include/sys/stat.h: Likewise.
1868 * include/sys/statfs.h: Likewise.
1869 * include/sys/statvfs.h: Likewise.
1870 * include/sys/syslog.h: Likewise.
1871 * include/sys/time.h: Likewise.
1872 * include/sys/uio.h: Likewise.
1873 * include/time.h: Likewise.
1874 * include/unistd.h: Likewise.
1875 * include/utmp.h: Likewise.
1876 * include/wchar.h: Likewise.
1877 * include/wctype.h: Likewise.
1878 * inet/aliases.h: Likewise.
1879 * inet/arpa/inet.h: Likewise.
1880 * inet/netinet/ether.h: Likewise.
1881 * inet/netinet/in.h: Likewise.
1882 * intl/libintl.h: Likewise.
1883 * io/bits/fcntl2.h: Likewise.
1884 * io/fcntl.h: Likewise.
1885 * io/ftw.h: Likewise.
1886 * io/sys/poll.h: Likewise.
1887 * io/sys/stat.h: Likewise.
1888 * io/sys/statfs.h: Likewise.
1889 * io/sys/statvfs.h: Likewise.
1890 * io/utime.h: Likewise.
1891 * libio/bits/stdio.h: Likewise.
1892 * libio/bits/stdio2.h: Likewise.
1893 * libio/libio.h: Likewise.
1894 * libio/libioP.h: Likewise.
1895 * libio/stdio.h: Likewise.
1896 * locale/lc-ctype.c: Likewise.
1897 * locale/locale.h: Likewise.
1898 * login/utmp.h: Likewise.
1899 * malloc/arena.c: Likewise.
1900 * malloc/malloc.c: Likewise.
1901 * malloc/malloc.h: Likewise.
1902 * malloc/mcheck.c: Likewise.
1903 * malloc/mtrace.c: Likewise.
1904 * math/bits/mathcalls.h: Likewise.
1905 * math/fenv.h: Likewise.
1906 * math/math_private.h: Likewise.
1907 * misc/bits/error.h: Likewise.
1908 * misc/bits/syslog.h: Likewise.
1909 * misc/err.h: Likewise.
1910 * misc/error.h: Likewise.
1911 * misc/fstab.h: Likewise.
1912 * misc/mntent.h: Likewise.
1913 * misc/regexp.h: Likewise.
1914 * misc/search.h: Likewise.
1915 * misc/sgtty.h: Likewise.
1916 * misc/sys/mman.h: Likewise.
1917 * misc/sys/syslog.h: Likewise.
1918 * misc/sys/uio.h: Likewise.
1919 * misc/sys/xattr.h: Likewise.
1920 * misc/ttyent.h: Likewise.
1921 * nis/rpcsvc/ypclnt.h: Likewise.
1922 * nss/nss.h: Likewise.
1923 * posix/bits/unistd.h: Likewise.
1924 * posix/fnmatch.h: Likewise.
1925 * posix/glob.h: Likewise.
1926 * posix/sched.h: Likewise.
1927 * posix/spawn.h: Likewise.
1928 * posix/sys/wait.h: Likewise.
1929 * posix/unistd.h: Likewise.
1930 * posix/wordexp.h: Likewise.
1931 * pwd/pwd.h: Likewise.
1932 * resolv/netdb.h: Likewise.
1933 * resource/sys/resource.h: Likewise.
1934 * rt/aio.h: Likewise.
1935 * rt/bits/mqueue2.h: Likewise.
1936 * rt/mqueue.h: Likewise.
1937 * shadow/shadow.h: Likewise.
1938 * signal/signal.h: Likewise.
1939 * socket/send.c: Likewise.
1940 * socket/sendto.c: Likewise.
1941 * socket/sys/socket.h: Likewise.
1942 * stdio-common/printf.h: Likewise.
1943 * stdlib/bits/stdlib.h: Likewise.
1944 * stdlib/fmtmsg.h: Likewise.
1945 * stdlib/monetary.h: Likewise.
1946 * stdlib/stdlib.h: Likewise.
1947 * stdlib/ucontext.h: Likewise.
1948 * streams/stropts.h: Likewise.
1949 * string/argz.h: Likewise.
1950 * string/bits/string2.h: Likewise.
1951 * string/string.h: Likewise.
1952 * string/strings.h: Likewise.
1953 * sunrpc/rpc/auth.h: Likewise.
1954 * sunrpc/rpc/auth_des.h: Likewise.
1955 * sunrpc/rpc/clnt.h: Likewise.
1956 * sunrpc/rpc/netdb.h: Likewise.
1957 * sunrpc/rpc/pmap_clnt.h: Likewise.
1958 * sunrpc/rpc/xdr.h: Likewise.
1959 * sysdeps/generic/inttypes.h: Likewise.
1960 * sysdeps/generic/net/if.h: Likewise.
1961 * sysdeps/generic/sys/swap.h: Likewise.
1962 * sysdeps/gnu/net/if.h: Likewise.
1963 * sysdeps/gnu/utmpx.h: Likewise.
1964 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1965 * sysdeps/i386/i486/bits/string.h: Likewise.
1966 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1967 * sysdeps/s390/bits/string.h: Likewise.
1968 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1969 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1970 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1971 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1972 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1973 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1974 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1975 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1976 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1977 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1978 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1979 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1980 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1981 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1982 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1983 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1984 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1986 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1987 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1990 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1991 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1992 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1993 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1994 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1995 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1996 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1997 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1998 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1999 * sysvipc/sys/ipc.h: Likewise.
2000 * sysvipc/sys/msg.h: Likewise.
2001 * sysvipc/sys/sem.h: Likewise.
2002 * sysvipc/sys/shm.h: Likewise.
2003 * termios/termios.h: Likewise.
2004 * time/sys/time.h: Likewise.
2005 * time/time.h: Likewise.
2006 * wcsmbs/bits/wchar2.h: Likewise.
2007 * wcsmbs/uchar.h: Likewise.
2008 * wcsmbs/wchar.h: Likewise.
2009 * wctype/wctype.h: Likewise.
2010
0269750c
UD
2011 [BZ #13551]
2012 * Makeconfig: Remove all but ELF support including AIX support.
2013 * Makerules: Likewise.
2014 * config.h.in: Likewise.
2015 * config.make.in: Likewise.
2016 * configure: Likewise.
2017 * configure.in: Likewise.
2018 * csu/Makefile: Likewise.
2019 * csu/version.c: Likewise.
2020 * debug/Makefile: Likewise.
2021 * dlfcn/Makefile: Likewise.
2022 * elf/Makefile: Likewise.
2023 * extra-lib.mk: Likewise.
2024 * iconv/Makefile: Likewise.
2025 * include/libc-symbols.h: Likewise.
2026 * include/shlib-compat.h: Likewise.
2027 * resolv/Makefile: Likewise.
2028 * resolv/res_libc.c: Likewise.
2029 * rt/Makefile: Likewise.
2030 * sysdeps/i386/asm-syntax.h: Likewise.
2031 * sysdeps/i386/sysdep.h: Likewise.
2032 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2033 * sysdeps/mach/sysdep.h: Likewise.
2034 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2035 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2036 * sysdeps/s390/asm-syntax.h: Likewise.
2037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2039 * sysdeps/sh/sysdep.h: Likewise.
2040 * sysdeps/unix/sparc/sysdep.h: Likewise.
2041 * sysdeps/wordsize-32/divdi3.c: Likewise.
2042 * sysdeps/x86_64/sysdep.h: Likewise.
2043
00bbd29b
UD
2044 * argp/Versions: Remove _argp_unlock_xxx.
2045
2046 [BZ #13559]
2047 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2048 * abilist/libBrokenLocale.abilist: Likewise.
2049 * abilist/libanl.abilist: Likewise.
2050 * abilist/libc.abilist: Likewise.
2051 * abilist/libcrypt.abilist: Likewise.
2052 * abilist/libdl.abilist: Likewise.
2053 * abilist/libm.abilist: Likewise.
2054 * abilist/libnsl.abilist: Likewise.
2055 * abilist/libpthread.abilist: Likewise.
2056 * abilist/libresolv.abilist: Likewise.
2057 * abilist/librt.abilist: Likewise.
2058 * abilist/libthread_db.abilist: Likewise.
2059 * abilist/libutil.abilist: Likewise.
2060 * abilist/libnss_db.abilist: New file.
2061
2062 * scripts/abilist.awk: Add support for indirect functions.
2063
a2693a0e
UD
2064 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2065
3f05895f
UD
2066 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2067
ecb6fb48
UD
2068 * shlib-versions: Remove entries for ports architectures.
2069
664f8cb9
UD
2070 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2071 files in ports.
2072 * elf/stackguard-macros.h: Remove support for IA-64.
2073 * elf/tst-auditmod1.c: Likewise.
2074 * sysdeps/generic/ldsodefs.h: Likewise.
2075
7ae81d88
UD
2076 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2077 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2078 configure files.
2079
bdeba135
UD
2080 [BZ #13552]
2081 * configure.in: Remove --enable-omitfp support.
2082 * FAQ.in: Adjust.
2083 * config.make.in: Likewise.
2084 * Makeconfig: Likewise.
2085 * manual/install.texi: Likewise.
2086
d75a0a62
UD
2087 In case anyone cares, the IA-64 architecture could move to ports.
2088 * sysdeps/ia64/*: Removed.
2089 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2090 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2091
dcc9756b
UD
2092 [BZ #13555]
2093 * configure.in: Remove entries for unsupported architectures.
2094
d3761ebc 2095 [BZ #13533]
9954432e
UD
2096 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2097 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2098 routines.
2099 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2100 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2101 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2102 fall back to using wcrtomb.
2103 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2104 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2105 renaming.
2106 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2107 * wcsmbs/tst-c16c32-1.c: New file.
2108
2109 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2110 local variable.
2111
c3a87236
UD
2112 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2113
28926a1b
UD
2114 * elf/tst-unique3.cc: Add explicit declaration of gets.
2115 * elf/tst-unique3lib.cc: Likewise.
2116 * elf/tst-unique3lib2.cc: Likewise.
2117 * elf/tst-unique4.cc: Likewise.
2118
df78418a
UD
2119 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2120
8ecd6b2a
JM
21212012-01-06 Joseph Myers <joseph@codesourcery.com>
2122
2123 [BZ #13566]
2124 * assert/assert.h (static_assert): Don't define for C++.
2125 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2126 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2127
9f115170
UD
21282012-01-03 Ulrich Drepper <drepper@gmail.com>
2129
5e0d0300
UD
2130 * iconv/loop.c (single loop): Fix assertion in storing of
2131 remaining bytes.
2132
9f115170
UD
2133 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2134
81fb02b0
UD
21352012-01-01 Ulrich Drepper <drepper@gmail.com>
2136
2137 * posix/getconf.c: Update copyright year.
2138 * nss/getent.c: Likewise.
a316c1f6 2139 * nss/makedb.c: Likewise.
81fb02b0
UD
2140 * iconv/iconvconfig.c: Likewise.
2141 * iconv/iconv_prog.c: Likewise.
2142 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2143 * elf/pldd.c: Likewise.
2144 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2145 * catgets/gencat.c: Likewise.
2146 * csu/version.c: Likewise.
2147 * elf/ldd.bash.in: Likewise.
2148 * elf/sprof.c (print_version): Likewise.
2149 * locale/programs/locale.c: Likewise.
2150 * locale/programs/localedef.c: Likewise.
a316c1f6 2151 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2152 * nscd/nscd.c (print_version): Likewise.
2153 * debug/xtrace.sh: Likewise.
2154 * malloc/memusage.sh: Likewise.
2155 * malloc/mtrace.pl: Likewise.
2156 * debug/catchsegv.sh: Likewise.
2157
2ba92745
JJ
21582011-12-30 Jakub Jelinek <jakub@redhat.com>
2159
2160 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2161 pure attribute.
2162
dadebdae
UD
21632011-12-24 Ulrich Drepper <drepper@gmail.com>
2164
d3761ebc 2165 [BZ #13533]
db6af3eb
UD
2166 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2167 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2168 transformations.
2169 * iconv/gconv_int.h: Likewise.
2170 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2171 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2172 from libc for GLIBC_2.16.
2173 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2174 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2175 * wcsmbs/uchar.h: Really define mbstate_t.
2176 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2177 * wcsmbs/c16rtomb.c: New file.
2178 * wcsmbs/mbrtoc16.c: New file.
2179 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2180 for C/POSIX locale.
2181 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2182 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2183
dadebdae
UD
2184 * wcsmbs/wchar.h: Add missing __restrict.
2185
67371b56
UD
21862011-12-23 Ulrich Drepper <drepper@gmail.com>
2187
74033a25
UD
2188 [BZ #13532]
2189 * time/Makefile (routines): Add timespec_get.
2190 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2191 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2192 timespec for ISO C11.
2193 * time/timespec_get.c: New file.
2194 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2195 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2196
380d7e87
UD
2197 [BZ #13531]
2198 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2199 * stdlib/stdlib.h: Declare aligned_alloc.
2200 * Versions.def: Add GLIBC_2.16 for libc.
2201 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2202
4e9e7a35
UD
2203 [BZ 13527]
2204 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2205 ISO C11.
2206
380d7e87 2207 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2208 code.
2209
03a71829
UD
2210 [BZ #13528]
2211 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2212
839e283e
UD
2213 [BZ #13529]
2214 * assert/assert.h (static_assert): Define.
2215
ce5294e2 2216 * version.h: Update for 2.16 development version.
90fa7312 2217
8d44e150 2218 [BZ #13526]
d7809905
UD
2219 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2220 _ISOC11_SOURCE.
2221
c0da14cd
UD
2222 * version.h (RELEASE): Bump for 2.15 release.
2223 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2224
530a3249
MP
2225 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2226 Patch by Marek Polacek <mpolacek@redhat.com>.
2227
67371b56
UD
2228 * bits/byteswap.h: Protect long long constants with __extension__.
2229 * sysdeps/i386/bits/byteswap.h: Likewise.
2230 * sysdeps/ia64/bits/byteswap.h: Likewise.
2231 * sysdeps/s390/bits/byteswap.h: Likewise.
2232 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2233
15db4de1
LD
22342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2235
2236 [BZ #13540]
bbe315ea
LD
2237 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2238 destination buffer.
15db4de1
LD
2239 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2240
2b2596b1
MP
22412011-12-23 Marek Polacek <polacek@redhat.com>
2242
2243 * elf/dl-addr.c (determine_info): Add inline keyword.
2244 * elf/tst-auditmod4b.c (check_avx): Likewise.
2245 * elf/tst-auditmod6b.c (check_avx): Likewise.
2246 * elf/tst-auditmod6c.c (check_avx): Likewise.
2247 * elf/tst-auditmod7b.c (check_avx): Likewise.
2248
70c6c246
UD
22492011-12-23 Ulrich Drepper <drepper@gmail.com>
2250
2251 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2252 !__SSE_MATH__.
2253
c044cf14
LD
22542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2255
15db4de1 2256 [BZ #13540]
c044cf14
LD
2257 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2258 processing for last bytes.
2259
6b13d9d9
BH
22602011-08-06 Bruno Haible <bruno@clisp.org>
2261
d455f537
BH
2262 [BZ #13061]
2263 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2264 U+0385, not to U+1FEE.
2265
6b13d9d9
BH
2266 [BZ #13062]
2267 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2268 entry for U+00A5 U+0301.
2269
db910efd
UD
22702011-12-22 Ulrich Drepper <drepper@gmail.com>
2271
27deeafc
UD
2272 [BZ #13166]
2273 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2274 buffer for the output is too small.
2275
aed9d171
UD
2276 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2277 optimization.
2278
db910efd
UD
2279 [BZ #13185]
2280 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2281 SSE flags if possible.
2282
2bd779ae
LD
22832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2284
e7f9dac3 2285 [BZ #13540]
2bd779ae
LD
2286 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2287 processing for last bytes.
2288
154bfc16
JM
22892011-12-22 Joseph Myers <joseph@codesourcery.com>
2290
2291 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2292 (syscall-list-default-options, syscall-list-default-condition)
2293 (syscall-list-includes): Define.
2294 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2295 list of ABIs and options and #if conditions for each ABI. Do not
2296 handle common syscalls between ABIs specially.
2297 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2298 Remove.
2299 (syscall-list-variants, syscall-list-32bit-options)
2300 (syscall-list-32bit-condition, syscall-list-64bit-options)
2301 (syscall-list-64bit-condition): Define.
2302 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2303 (syscall-list-variants, syscall-list-32bit-options)
2304 (syscall-list-32bit-condition, syscall-list-64bit-options)
2305 (syscall-list-64bit-condition): Define.
2306 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2307 Remove.
2308 (syscall-list-variants, syscall-list-32bit-options)
2309 (syscall-list-32bit-condition, syscall-list-64bit-options)
2310 (syscall-list-64bit-condition): Define.
2311 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2312 Remove.
2313 (syscall-list-variants, syscall-list-32bit-options)
2314 (syscall-list-32bit-condition, syscall-list-64bit-options)
2315 (syscall-list-64bit-condition): Define.
2316
21eaf3a5
UD
23172011-12-22 Ulrich Drepper <drepper@gmail.com>
2318
16c6f992
UD
2319 * locale/iso-639.def: Add brx entry.
2320
41043168
UD
2321 [BZ #13328]
2322 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2323 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2324
21eaf3a5
UD
2325 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2326 __feraiseexcept_renamed.
2327
e3a851a2
UD
23282011-12-21 Ulrich Drepper <drepper@gmail.com>
2329
4920765e
UD
2330 [BZ #13538]
2331 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2332 EPOLLET with unsigned values.
2333 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2335
e3a851a2
UD
2336 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2337 to large cancellation.
2338 * math/s_cacoshf.c: Likewise.
2339 * math/s_cacoshl.c: Likewise.
2340
b27e24b8
RK
23412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2342
2343 [BZ #13305]
aebefeee 2344 [BZ #12786]
b27e24b8
RK
2345 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2346 * math/s_cacoshf.c: Likewise.
2347 * math/s_cacoshl.c: Likewise.
2348
ee190f67
UD
23492011-12-21 Ulrich Drepper <drepper@gmail.com>
2350
2351 [BZ #13439]
2352 * iconv/gconv.h: Define __GCONV_SWAP.
2353 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2354 * iconvdata/utf-16.c: Likewise.
2355 * iconvdata/utf-32.c: Likewise.
2356
707f25df
AS
23572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2358
2359 [BZ #13524]
2360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2361 numerator after shifting it by one limb.
2362
d2daaa1e
RÁE
23632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2364
2365 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2366 under [__USE_EXTERN_INLINES].
2367
a4647e72
UD
23682011-12-17 Ulrich Drepper <drepper@gmail.com>
2369
2370 [BZ #13446]
2371 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2372
f0b264f1
AZ
23732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2374
2375 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2376 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2377 optimized code.
2378 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2379 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2380 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2381 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2382 for strncasecmp/strncasecmp_l compilation.
2383 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2384 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2385
8ef4f244
MP
23862011-12-08 Marek Polacek <mpolacek@redhat.com>
2387
2388 [BZ #13484]
2389 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2390 of __asm__.
2391
97ac2654
UD
23922011-12-17 Ulrich Drepper <drepper@gmail.com>
2393
2394 [BZ #13506]
2395 * time/tzfile.c (__tzfile_read): Check values from file header.
2396
91d2a845
WS
23972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2398
2399 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2400 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2401 * powerpc/powerpc32/dl-start.S: Likewise.
2402 * powerpc/powerpc32/elf/start.S: Likewise.
2403 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2404 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2405 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2406 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2407 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2408 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2409 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2410 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2411 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2412 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2413 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2414 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2415 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2416 * powerpc/powerpc32/memset.S: Likewise.
2417 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2418 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2419 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2420 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2421 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2422 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2423 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2424 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2425 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2426 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2427 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2428 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2429 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2430
a1267ba1
AZ
24312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2432
2433 * math/libm-test.inc: Added more nearbyint tests.
2434 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2435 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2436 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2438
ad8ac1bd
RL
24392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2440
2441 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2442 FD_CLOEXEC.
2443
1d3e4b61
UD
24442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2445
2446 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2447 Add wcscpy-ssse3 wcscpy-c.
2448 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2449 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2450 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2451 * sysdeps/x86_64/wcschr.S: New file.
2452 * sysdeps/x86_64/wcsrchr.S: New file.
2453 * string/test-strcmp.c: Remove checking of wcscmp function for
2454 wrong alignments.
2455 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2456 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2457 wcsrchr-sse2 wcsrchr-c.
2458 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2459 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2460 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2461 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2462 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2463 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2464 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2465 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2466 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2467 * wcsmbc/wcschr.c (WCSCHR): New macro.
2468
5b330a2d
UD
24692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2470
2471 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2472 * wcsmbs/test-wcsrchr.c: New file.
2473 * string/test-strrchr.c: Add wcsrchr support.
2474 (WIDE): New macro.
2475 * wcsmbs/test-wcscpy.c: New file.
2476 * string/test-strcpy.c: Add wcscpy support.
2477 (WIDE): New macro.
26428b7c 2478
f039c043
UD
24792011-12-10 Ulrich Drepper <drepper@gmail.com>
2480
2481 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2482 the inner loop.
2483
850fb039
AS
24842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2485
2486 [BZ #13472]
2487 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2488
4efbd5cb
UD
24892011-12-04 Ulrich Drepper <drepper@gmail.com>
2490
52ff5dd0 2491 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2492 Minor optimizations.
52ff5dd0 2493
4efbd5cb
UD
2494 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2495 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2496 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2497
8a426e12
UD
24982011-12-03 Ulrich Drepper <drepper@gmail.com>
2499
aff2453d
UD
2500 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2501 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2502 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2503 for gcc to avoid warnings.
2504 * inet/Makefile (tests): Add tst-checks.
2505 * inet/tst-checks.c: New file.
2506
2507 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2508 warning.
2509
2510 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2511 __wmemcmp_sse2.
2512
2513 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2514 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2515
8a426e12
UD
2516 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2517
9bea3473
UD
25182011-12-02 Ulrich Drepper <drepper@gmail.com>
2519
3a965496
UD
2520 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2521 problem.
2522
9bea3473
UD
2523 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2524
f101631b
UD
25252011-11-29 Joseph Myers <joseph@codesourcery.com>
2526
2527 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2528 conditional on GCC version.
2529 (__arch_compare_and_exchange_val_8_acq)
2530 (__arch_compare_and_exchange_val_16_acq)
2531 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2532 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2533 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2534
a98275aa
UD
25352011-12-02 Joseph Myers <joseph@codesourcery.com>
2536
2537 * sysdeps/sh/backtrace.c: New file.
2538
d4cc29a2
AS
25392011-12-02 Andreas Schwab <schwab@redhat.com>
2540
2541 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2542 parenthesis.
2543
6257af2d
AS
25442011-12-01 Andreas Schwab <schwab@redhat.com>
2545
2546 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2547 falling back to utime.
2548
b5f44c1a
AS
25492011-11-30 Andreas Schwab <schwab@redhat.com>
2550
2551 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2552 expectations for float.
2553
f3a6cc0a
AS
25542011-11-29 Andreas Schwab <schwab@redhat.com>
2555
2556 * locale/weight.h (findidx): Add parameter len.
2557 * locale/weightwc.h (findidx): Likewise.
2558 * posix/fnmatch_loop.c (FCT): Adjust caller.
2559 * posix/regcomp.c (build_equiv_class): Likewise.
2560 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2561 * posix/regexec.c (check_node_accept_bytes): Likewise.
2562 * string/strcoll_l.c (STRCOLL): Likewise.
2563 * string/strxfrm_l.c (STRXFRM): Likewise.
2564
9d65ea3a
UD
25652011-11-17 Ulrich Drepper <drepper@gmail.com>
2566
2567 * Makefile.in: Remove CVSOPT handling.
2568 * configure.in: Remove use of AC_REVISION.
2569 * iconvdata/Makefile (distribute): No need to filter out CVS.
2570 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2571 handling.
2572
5583a086
AS
25732011-11-16 Andreas Schwab <schwab@redhat.com>
2574
2575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2576 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2577 [USE_AS_STRNCASECMP_L]: Likewise.
2578 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2579 NO_TLS_DIRECT_SEG_REFS.
2580 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2581 Fix argument offsets for non-PIC.
2582 [USE_AS_STRNCASECMP_L]: Likewise.
2583 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2584 NO_TLS_DIRECT_SEG_REFS.
2585
d62a8200
UD
25862011-11-15 Ulrich Drepper <drepper@gmail.com>
2587
9d65ea3a 2588 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2589 O_CLOEXEC.
2590 * locale/loadlocale.c (_nl_load_locale): Likewise.
2591
09f93bd3
AS
25922011-11-15 Andreas Schwab <schwab@redhat.com>
2593
446514f9
AS
2594 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2595 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2597 (SYSCALL_GETTIME): Set errno on error.
2598
09f93bd3
AS
2599 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2600 count references to noai6ai_cached.
2601
312be3f9
UD
26022011-11-15 Ulrich Drepper <drepper@gmail.com>
2603
2604 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2605
2606 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2607 FD_CLOEXEC for /proc/self/maps.
2608
2609 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2610 FD_CLOEXEC for /proc/meminfo.
2611
2612 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2613 gai.conf.
2614
2615 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2616 FD_CLOEXEC for given file.
2617
2618 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2619
2620 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2621 FD_CLOEXEC for /etc/hosts.
2622 (_gethtent): Likewise.
2623
2624 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2625
2626 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2627 cancellation and set FD_CLOEXEC for /etc/netgroup.
2628
2629 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2630 reading /etc/publickey.
2631
2632 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2633 allow cancellation when reading /etc/group.
2634
2635 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2636 cancellation.
2637 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2638
2639 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2640 when using data file.
2641
2642 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2643
2644 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2645 (write_nis_obj): Use "c" and "e" in fopen.
2646
2647 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2648
2649 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2650
2651 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2652
2653 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2654
2655 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2656 locale.alias.
2657
2658 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2659
2660 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2661
2662 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2663
2664 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2665 file parsing and set FD_CLOEXEC.
2666
82af0fa8
UD
26672011-11-14 Ulrich Drepper <drepper@gmail.com>
2668
2669 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2670
a5fb313c
AS
26712011-11-14 Andreas Schwab <schwab@redhat.com>
2672
2673 * malloc/arena.c (arena_get2): Don't call reused_arena when
2674 _int_new_arena failed.
2675
6abf3465
UD
26762011-11-14 Ulrich Drepper <drepper@gmail.com>
2677
2678 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2679 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2680 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2681 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2682 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2683 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2684 to compile strcasecmp and strncasecmp.
2685 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2686 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2687
2688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2689
76e3966e
UD
26902011-11-13 Ulrich Drepper <drepper@gmail.com>
2691
2692 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2693 locale-defines.sym to gen-as-const-headers.
2694 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2695 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2697 to compile strcasecmp and strncasecmp.
2698 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2699 strcasecmp_l and strncasecmp_l.
2700 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2701 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2702 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2703 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2704 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2705 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2706 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2707 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2708 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2709 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2710 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2711
ab26144e
UD
27122011-11-12 Ulrich Drepper <drepper@gmail.com>
2713
7edb22ef
UD
2714 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2715 result of SYSDEP_GETTIME_CPU to retval.
2716 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2717 parameter list to macro. Remove trailing semicolon. Adjust users.
2718
9694fc44
UD
2719 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2720 variable.
2721
8ad89ef8
UD
2722 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2723 mantissa words.
2724 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2725
0c822ef9
UD
2726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2727 from unused variable.
2728
874e0564
UD
2729 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2730 DWARF definitions.
2731 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2732 for assembling.
2733
3a2edc79
UD
2734 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2735 over namespaces.
2736
f3c2577f
UD
2737 * sunrpc/rpc_prot.c (rejected): Fix case value.
2738
294ce126
UD
2739 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2740 unsigned long long int to avoid warnings in shift.
2741
5e2b63c6
UD
2742 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2743 of use of trans.
2744 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2745 variable tmp.
2746
e7f4b08e
UD
2747 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2748 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2749 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2750
ab26144e
UD
2751 * nis/nis_table.c (nis_list): Use variable of correct type for
2752 result of __follow_path call.
2753
8a6d5255
AZ
27542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2755
2756 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2757 of math functions ceil, trunc, floor, round, and sqrt, when
2758 avaliable on the platform.
2759 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2760 name clash.
2761 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2762 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2763 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2764
aaddc98c
MP
27652011-10-30 Marek Polacek <mpolacek@redhat.com>
2766
2767 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2768 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2769
95b7042b
RM
27702011-11-11 Roland McGrath <roland@hack.frob.com>
2771
2772 * include/unistd.h: Fix __readlink return type.
2773 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2774
57769839
UD
27752011-11-11 Ulrich Drepper <drepper@gmail.com>
2776
2777 * stdlib/ucontext.h: Undo last change for makecontext.
2778
edc5984d
AS
27792011-11-11 Andreas Schwab <schwab@redhat.com>
2780
98591e58
AS
2781 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2782
edc5984d
AS
2783 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2784 * setjmp/setjmp.h: Mark functions as non-leaf.
2785 * setjmp/bits/setjmp2.h: Likewise.
2786 * stdlib/ucontext.h: Likewise.
2787
77cdc054
AS
27882011-11-10 Andreas Schwab <schwab@redhat.com>
2789
2790 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2791 (reused_arena): Don't check arena limit.
2792 (arena_get2): Atomically check arena limit.
2793
fe72eebd
UD
27942011-11-08 Ulrich Drepper <drepper@gmail.com>
2795
5f078c32
UD
2796 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2797 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2798
fe72eebd
UD
2799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2800 instructions.
2801
ae1bc2fa
AS
28022011-11-07 Andreas Schwab <schwab@redhat.com>
2803
7583a88d
AS
2804 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2805 handler when locking.
2806
ae1bc2fa
AS
2807 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2808 Fix size of allocated buffer.
2809
10fb0bfa
AS
28102011-11-04 Andreas Schwab <schwab@redhat.com>
2811
998832a4
AS
2812 [BZ #10103]
2813 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2814 declarations for long double functions.
2815 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2816
10fb0bfa
AS
2817 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2818
3d7ba52b
AS
28192011-11-03 Andreas Schwab <schwab@redhat.com>
2820
a9ae54a1
AS
2821 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2822 installed.
2823
3d7ba52b
AS
2824 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2825 is disabled.
2826
bc8db248
ST
28272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2828
2829 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2830
45b96dd6
AS
28312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2832
647776f6
AS
2833 * include/alloca.h (stackinfo_alloca_round): Define.
2834 (extend_alloca): Use it.
2835 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2836 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2837 here.
2838
d91a8b93
AS
2839 * scripts/check-local-headers.sh: Ignore libaudit.h.
2840
45b96dd6
AS
2841 * nscd/Makefile (extra-objs): Make recursively expanded.
2842
432d41ce
UD
28432011-11-01 Ulrich Drepper <drepper@gmail.com>
2844
34372fc6
UD
2845 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2846 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2847
fadb59f8
UD
2848 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2849 * posix/tst-rfc3484-2.c: Likewise.
2850 * posix/tst-rfc3484-3.c: Likewise.
2851
78239589
UD
2852 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2853 process_vm_writev.
2854 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2855 process_vm_writev.
2856 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2857 process_vm_writev from libc using GLIBC_2.15 version.
2858
432d41ce
UD
2859 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2860
02f9c6cf
PP
28612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2862
2863 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2864 stack usage.
2865
3a2c0242
UD
28662011-10-31 Ulrich Drepper <drepper@gmail.com>
2867
f4ec4833
UD
2868 [BZ #13367]
2869 * nss/getent.c (initgroups_keys): Show error message in case no group
2870 names are given.
2871
3a2c0242
UD
2872 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2873 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2874 __bump_nl_timestamp.
2875 * nscd/connections (nscd_init): When host database is served open
2876 netlink socket and request notification about configuration changes.
2877 (main_loop_poll): Track netlink file descriptor and bump timestamp
2878 in case data becomes available.
2879 (main_loop_epoll): Likewise.
2880 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2881 (database_pers_head): Add extra_data fileds.
2882 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2883 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2884 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2885 Adjust caller.
2886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2887 in6ai data, call __free_in6ai.
2888 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2889 Add -DHAVE_NETLINK.
2890 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2891 interface information. Reuse previous data if netlink timestamp
2892 is not changed.
2893 (__bump_nl_timestamp): New function.
2894 (__free_in6ai): New function.
2895
636064eb
UD
28962011-10-30 Ulrich Drepper <drepper@gmail.com>
2897
2898 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2899 close_not_cancel_no_status here.
2900 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2901
9beb2334
UD
29022011-10-29 Ulrich Drepper <drepper@gmail.com>
2903
6ef76f3b
UD
2904 [BZ #13276]
2905 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2906 return value.
2907
0ffc4f3e 2908 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
2909 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2910 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2911
cb95113e
UD
29122011-07-03 Andreas Jaeger <aj@suse.de>
2913
2914 [BZ #10709]
2915 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2916 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2917 * math/libm-test.inc (sin_test): Add test case.
2918
a1b560ff
UD
29192011-10-29 Ulrich Drepper <drepper@gmail.com>
2920
c9aaface
UD
2921 [BZ #13337]
2922 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2923 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2924
d272e7f1
UD
2925 * elf/chroot_canon.c (chroot_canon): Cleanups.
2926
1bc33071
UD
2927 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2928
1760874d
TJ
2929 [BZ #13335]
2930 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2931 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2932
51d91b18
UD
2933 * string/test-strchr.c: Make usable for strchrnul testing.
2934 * string/test-strchrnul.c: New file.
2935 * string/Makefile (strop-tests): Add strchrnul.
2936
a1b560ff 2937 * po/it.po: Update from translation team.
b611fb81 2938 * po/es.po: Likewise.
a1b560ff 2939
a5b81e1f
UD
29402011-10-28 Ulrich Drepper <drepper@gmail.com>
2941
fd52bc6d
UD
2942 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2943 the three constants needed as parameters. Drop the others.
2944 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2945 __m128i_strloadu_tolower.
52e4b9eb
UD
2946 Create and initialize variable zero and use it in all the places
2947 where _mm_setzero_si128 was used.
fd52bc6d 2948
a5b81e1f
UD
2949 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2950 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2951 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2952 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2953 anymore.
2954 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2955 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2956 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2957 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2958 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2959 __mpranred, __mptan.
2960 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2961 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2962 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2963 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2964 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2965 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2966 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2967 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2968 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2969
b4343346
AS
29702011-10-28 Andreas Schwab <schwab@redhat.com>
2971
0c92d8a8
AS
2972 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2973 redefine if SHARED.
2974 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2975
b4343346
AS
2976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2977 wide char related routines to wcsmbs subdir.
2978
3871f58f
AS
29792011-10-27 Andreas Schwab <schwab@redhat.com>
2980
2981 [BZ #13344]
2982 * misc/sys/cdefs.h (__THROWNL): Define.
2983 * posix/unistd.h: Use __THREADNL instead of __THREAD
2984 for memory synchronization functions.
2985
94d44d9f
RM
29862011-10-26 Roland McGrath <roland@hack.frob.com>
2987
21b64b15 2988 [BZ #13349]
94d44d9f
RM
2989 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2990 doesn't exist.
2991 * manual/stdio.texi (Obstack Streams): Node removed.
2992
f6ce9294
AS
29932011-10-26 Andreas Schwab <schwab@redhat.com>
2994
80479147
AS
2995 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2996 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2997 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2998
f6ce9294
AS
2999 * math/math_private.h (math_force_eval): Allow non-addressable
3000 arguments.
3001 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3002
618280a1
UD
30032011-10-25 Ulrich Drepper <drepper@gmail.com>
3004
e0016b11
UD
3005 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3006 file is not needed.
3007
3008 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3010 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3011 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3012 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3013 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3014 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3015 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3016 Add AVX variants.
3017 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3018 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3019 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3020 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3021 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3022 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3023 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3024 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3025 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3026 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3027 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3028 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3030 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3031 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3032 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3033 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3034 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3035 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3036
3037 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3038 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3039
618280a1
UD
3040 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3041 place. Use VEX encoding when compiling for AVX.
3042
37822576
AS
30432011-10-25 Andreas Schwab <schwab@redhat.com>
3044
1f1e1947
AS
3045 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3046 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3047
37822576
AS
3048 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3049
31ea014d
UD
30502011-10-25 Ulrich Drepper <drepper@gmail.com>
3051
d7826aa1 3052 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3053 useless if() expression.
d7826aa1
UD
3054 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3055 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3057 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3058 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3060 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3061 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3062 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3063 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3065 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3067 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3068 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3069 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3070 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3071 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3072 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3073
31ea014d
UD
3074 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3075
16437fec
AS
30762011-10-25 Andreas Schwab <schwab@redhat.com>
3077
3078 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3079 condition.
3080 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3081
31d3cc00
UD
30822011-10-25 Ulrich Drepper <drepper@gmail.com>
3083
3084 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3085 .text section. Avoid duplicate constants.
3086 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3088 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3090 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3094 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3095 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3096 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3097 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3098 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3099 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3100 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3101 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3102 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3103 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3104 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3106 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3107 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3108 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3109 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3110 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3111 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3112 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3113 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3114 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3115 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3116 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3117 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3118 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3119 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3120 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3121 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3122 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3123 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3124 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3125 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3126 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3127 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3128 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3129 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3130 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3131
58985aa9
UD
31322011-10-24 Ulrich Drepper <drepper@gmail.com>
3133
202c9deb
UD
3134 * sysdeps/x86_64/dla.h: Move to ...
3135 * sysdeps/x86_64/fpu/dla.h: ...here.
3136 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3137 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3138
af968f62
UD
3139 * config.make.in: Add have-mfma4 entry.
3140 * configure.in: Substitute libc_cv_cc_fma4.
3141 * math/Makefile (dbl-only-routines): Add sincostab.
3142 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3143 Use __sincostab not sincos.
3144 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3145 name is a macro.
3146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3150 using __copysign.
3151 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3152 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3153 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3154 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3155 and __inv.
3156 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3157 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3158 __copysign.
3159 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3160 define aliases when function name is a macro.
3161 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3162 sysdeps/ieee754/dbl-64/sincos.tbl.
3163 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3164 fma4-enabled routines.
3165 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3166 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3167 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3168 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3169 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3170 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3171 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3172 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3173 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3174 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3175 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3176 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3177 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3178 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3179 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3180 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3181 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3182 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3183 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3185 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3186 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3187 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3188 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3191 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3192 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3193 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3194 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3195
58985aa9
UD
3196 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3197 rename.
3198 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3206
a201fbcf
AS
32072011-10-24 Andreas Schwab <schwab@redhat.com>
3208
3209 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3210
fc2ee42a
LD
32112011-10-23 Ulrich Drepper <drepper@gmail.com>
3212
bb3129bd
UD
3213 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3214
0275fff8
UD
3215 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3216 prediction.
3217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3218
2fa2ae85
UD
3219 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3220 Remove unused variable magic_bits.
3221 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3222
fc2ee42a
LD
3223 * string/strnlen.c: Define and use STRNLEN macro.
3224 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3225 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3226 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3227 * wcsmbs/wcslen.c: Define and use WCSLEN.
3228 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3229 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3230 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3231 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3232 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3233 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3234 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3235
ce7dd29f
LD
32362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3237
3238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3239 strnlen-sse2-no-bsf.
3240 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3241 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3242 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3243 Add strnlen support.
3244 (USE_AS_STRNLEN): New macro.
3245 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3246 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3247 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3248 * sysdeps/x86_64/wcslen.S: New file.
3249
979c70a3
MZ
32502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3251
3252 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3253 XMM-moves are used for copying on small sizes.
3254
2d09f82f
LD
32552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3256
3257 * wcsmbs/Makefile (strop-tests): Add wcschr.
3258 * wcsmbs/test-wcschr.c: New file.
3259 * string/test-strchr.c: Update.
3260 Add wcschr support.
3261 (WIDE): New macro.
3262
619fccca
LD
32632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3264
2d09f82f 3265 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3266 * wcsmbs/test-wcslen.c: New file.
3267 * string/test-strlen.c: Update.
3268 Add wcslen support.
3269 (WIDE): New macro.
3270
09f699ea
UD
32712011-10-23 Ulrich Drepper <drepper@gmail.com>
3272
3273 * po/it.po: Update from translation team.
3274
95584d3b
LD
32752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3276
3277 * sysdeps/x86_64/wcscmp.S: Update.
3278 Fix wrong comparison semantics.
3279 wcscmp shall use signed comparison not unsigned.
3280 Don't use substraction to avoid overflow bug.
3281 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3282 * wcsmbc/wcscmp.c: Likewise.
3283 * string/test-strcmp.c: Likewise.
3284 Add new tests to check cases with negative values.
3285
c8b3296b
UD
32862011-10-23 Ulrich Drepper <drepper@gmail.com>
3287
3288 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3289 * sysdeps/x86_64/dla.h: ...here. New file.
3290 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3291 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3299
246ad57a
AS
33002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3301
3302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3303 __ynl_finite aliases.
3304
a1a87169
UD
33052011-10-22 Ulrich Drepper <drepper@gmail.com>
3306
0d355eb7
UD
3307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3308
a1a87169
UD
3309 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3310 define DLA_FMA.
3311 [DLA_FMA] (EMULV): Use DLA_FMA.
3312 [DLA_FMA] (MUL12): Use EMULV.
3313 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3314 that are not needed.
3315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3322
ee2aafe0
AS
33232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3324
3325 * math/s_nan.c: Undef __nan.
3326 * math/s_nanf.c: Undef __nanf.
3327 * math/s_nanl.c: Undef __nanl.
3328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3329 "math_private.h".
3330
bc62c2fb
UD
33312011-10-22 Ulrich Drepper <drepper@gmail.com>
3332
77425c63
UD
3333 * math/s_catan.c: Add branch predictions.
3334 * math/s_catanf.c: Likewise.
3335 * math/s_catanh.c: Likewise.
3336 * math/s_catanhf.c: Likewise.
3337 * math/s_catanhl.c: Likewise.
3338 * math/s_catanl.c: Likewise.
3339 * math/s_cexp.c: Likewise.
3340 * math/s_cexpf.c: Likewise.
3341 * math/s_cexpl.c: Likewise.
3342 * math/s_clog.c: Likewise.
3343 * math/s_clog10.c: Likewise.
3344 * math/s_clog10f.c: Likewise.
3345 * math/s_clog10l.c: Likewise.
3346 * math/s_clogf.c: Likewise.
3347 * math/s_clogl.c: Likewise.
3348 * math/s_csqrt.c: Likewise.
3349 * math/s_csqrtf.c: Likewise.
3350 * math/s_csqrtl.c: Likewise.
3351 * math/s_ctanf.c: Likewise.
3352 * math/s_ctanh.c: Likewise.
3353 * math/s_ctanhf.c: Likewise.
3354 * math/s_ctanhl.c: Likewise.
3355 * math/s_ctanl.c: Likewise.
3356
bc62c2fb
UD
3357 * math/math_private.h: Define __nan, __nanf, __nanl.
3358 * math/s_cacosh.c: Include <math_private.h>.
3359 * math/s_cacoshl.c: Likewise.
3360 * math/s_casinh.c: Likewise.
3361 * math/s_casinhf.c: Likewise.
3362 * math/s_casinhl.c: Likewise.
3363 * math/s_ccos.c: Rely entire on ccosh.
3364 * math/s_ccosf.c: Rely entire on ccoshf.
3365 * math/s_ccosl.c: Rely entirely on ccoshl.
3366 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3367 Remove tests for FE_INVALID.
3368 * math/s_ccoshf.c: Likewise.
3369 * math/s_ccoshl.c: Likewise.
3370 * math/s_csin.c: Likewise.
3371 * math/s_csinf.c: Likewise.
3372 * math/s_csinh.c Likewise.
3373 * math/s_csinhf.c: Likewise.
3374 * math/s_csinhl.c: Likewise.
3375 * math/s_csinl.c: Likewise.
3376 * math/s_ctan.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3378 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3379 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3380
8ec250a4
UD
33812011-10-21 Ulrich Drepper <drepper@gmail.com>
3382
c196fed8
UD
3383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3384 compilation problems.
3385
8ec250a4
UD
3386 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3387 __builtin_expect.
3388
8d4f46c6
UD
33892011-10-20 Ulrich Drepper <drepper@gmail.com>
3390
ed72b654
UD
3391 * sysdeps/i386/configure.in: Test for -mfma4 option.
3392 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3393 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3394 COMMON_CPUID_INDEX_80000001.
3395 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3396 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3397 use it if FMA3 is not supported.
3398 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3399
8d4f46c6
UD
3400 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3401 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3402
d45c60c2
AS
34032011-10-20 Andreas Schwab <schwab@redhat.com>
3404
3405 [BZ #12892]
3406 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3407 it would create a cycle with a link time dependency.
3408
d9a4d2ab
UD
34092011-10-19 Ulrich Drepper <drepper@gmail.com>
3410
855d1560
UD
3411 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3412 instruction.
3413 * string/Makefile (strop-tests): Add rawmemchr.
3414 * string/test-rawmemchr.c: New file.
3415
d9a4d2ab
UD
3416 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3418 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3419 when compiling str{,n}casecmp and when AVX is available. Hook up
3420 new optimized code in initializers.
3421
8f3b1ffe
AS
34222011-10-19 Andreas Schwab <schwab@redhat.com>
3423
3424 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3425 __feraiseexcept instead of feraiseexcept.
3426
d38f1dba
UD
34272011-10-18 Ulrich Drepper <drepper@gmail.com>
3428
d9a8d0ab
UD
3429 * math/math_private.h: Define defaults for libc_fetestexcept and
3430 libc_feupdateenv.
3431 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3432 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3433 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3434 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3435 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3436 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3437 libc_fetestexcept and libc_feupdateenv.
3438
4855e3dd
UD
3439 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3440 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3441 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3442 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3443 libc_feholdexcept_setround.
3444
581d30e3
UD
3445 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3446 Add s_nearbyint-c and s_nearbyintf-c.
3447 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3448 nearbyintf inlines.
3449 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3450 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3451 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3452 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3453
d38f1dba
UD
3454 * math/math_private.h: Define defaults for libc_fegetround,
3455 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3456 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3457 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3458 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3459 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3460 standard functions.
3461 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3462 Remove comments and hacks for old compiler versions.
3463 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3464 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3465 libc_feholdexceptl.
3466
caa6c9d8
AS
34672011-10-18 Andreas Schwab <schwab@redhat.com>
3468
3469 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3470 (__feraiseexcept_renamed): Add __NTH.
3471 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3472 namespace violations.
3473
97c066e6
UD
34742011-10-17 Ulrich Drepper <drepper@gmail.com>
3475
99ce7b04
UD
3476 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3477
1004d182
UD
3478 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3479
228a984d
UD
3480 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3481 recently added interfaces.
3482 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3483
c8553a6a
UD
3484 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3485 about macro parameter expansion.
3486
ed22dcf6
UD
3487 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3488 __NO_MATH_INLINES is defined. Cleanups.
3489
3490 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3491 and __floorf is target has SSE4.1.
3492 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3493 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3494 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3495 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3496
b171c137
UD
3497 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3498 name.
3499 (floorf): Likewise.
3500
97c066e6
UD
3501 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3502
629f62ef
AS
35032011-10-17 Andreas Schwab <schwab@redhat.com>
3504
49a43d80
AS
3505 * misc/sys/cdefs.h: Fix last change.
3506
629f62ef
AS
3507 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3508 database lookup.
3509
e453f6cd
UD
35102011-10-16 Ulrich Drepper <drepper@gmail.com>
3511
aa78043a
UD
3512 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3513
ad0f5cad
UD
3514 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3516 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3517 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3518 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3519 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3520 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3521 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3522 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3523 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3524 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3525 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3526 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3527 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3528 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3529 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3530 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3531 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3532 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3533 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3534 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3535 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3536
3537 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3538 ceil, ceilf, floor, floorf.
3539
3540 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3541 Perform IRELATIVE relocations last.
3542
e453f6cd
UD
3543 * elf/do-rel.h: Add another parameter nrelative, replacing the
3544 local variable with the same name. Change name of the function
3545 to end in Rel or Rela (uppercase).
3546 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3547 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3548 elf_dynamic_do_##reloc function.
3549
fd5bdc09
UD
35502011-10-15 Ulrich Drepper <drepper@gmail.com>
3551
79b195b5
UD
3552 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3553 is sufficient, at least on modern CPUs.
3554
d4a28569
UD
3555 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3556
b61099b5
UD
3557 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3558 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3559
bcf01e6d
UD
3560 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3561 __expl_finite.
3562 * math/bits/math-finite.h: Add entries for exp.
3563 * math/e_expl.c: Add __*_finite alias.
3564 * sysdeps/i386/fpu/e_exp.S: Likewise.
3565 * sysdeps/i386/fpu/e_expf.S: Likewise.
3566 * sysdeps/i386/fpu/e_expl.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3568 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3572 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3573 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3574
ba1a0d59
UD
3575 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3576 is sufficient, at least on modern CPUs.
3577
fd5bdc09
UD
3578 * ctype/ctype-info.c (__ctype_init): Define.
3579 * include/ctype.h (__ctype_init): Declare.
3580 (__ctype_b_loc): The variable is always initialized.
3581 (__ctype_toupper_loc): Likewise.
3582 (__ctype_tolower_loc): Likewise.
3583 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3584 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3585
7872cfb0
AS
35862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3587
b468825a
AS
3588 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3589
7872cfb0
AS
3590 * configure.in: Also look in $cxxmachine/include for C++ system
3591 headers.
3592
be13f7bf
LD
35932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3594
3595 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3596 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3597 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3598 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3599 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3600 (USE_AS_WMEMCMP): New macro.
3601 Fixing indents.
3602 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3603 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3604 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3605 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3607 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3608 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3609 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3610 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3611 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3612 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3613 (USE_AS_WMEMCMP): New macro.
3614 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3615 * sysdeps/string/test-memcmp.c: Update.
3616 Fix simple_wmemcmp.
3617 Add new tests.
3618 * wcsmbs/wmemcmp.c: Update.
3619 (WMEMCMP): New macro.
3620 Fix overflow bug.
3621
556a2007
AJ
36222011-10-12 Andreas Jaeger <aj@suse.de>
3623
3624 [BZ #13268]
3625 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3626
538faaa7
UD
36272011-10-15 Ulrich Drepper <drepper@gmail.com>
3628
ab6737ff
UD
3629 * libio/iofwide.c (do_length): Avoid warning.
3630
538faaa7
UD
3631 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3632
396a21b1
UD
36332011-10-14 Ulrich Drepper <drepper@gmail.com>
3634
cdf2901f
UD
3635 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3636
38ad40ce
UD
3637 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3638 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3639 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3640 * sysdeps/i386/i686/fpu/e_log.S: New file.
3641 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3642 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3643
396a21b1
UD
3644 * ctype/ctype.h: Add support for inlined isXXX functions when
3645 compiling C++ code.
3646
6b1f68c9
AS
36472011-10-14 Andreas Schwab <schwab@redhat.com>
3648
349290c0
AS
3649 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3650
6b1f68c9
AS
3651 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3652
f2282d42
RM
36532011-10-13 Roland McGrath <roland@hack.frob.com>
3654
3655 [BZ #13291]
3656 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3657
5298ffa8
AS
36582011-10-13 Andreas Schwab <schwab@redhat.com>
3659
714fad23
AS
3660 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3661 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3662 feraiseexcept.
3663
81dcc7fb
AS
3664 * sysdeps/x86_64/memrchr.S: Check for zero size.
3665
5298ffa8
AS
3666 * string/stratcliff.c: Add memrchr tests.
3667
951fbcec
LD
36682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3669
3670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3671 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3672 rawmemchr-sse2 rawmemchr-sse2-bsf.
3673 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3674 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3675 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3676 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3677 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3678 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3679 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3680 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3681 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3682 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3683 * string/memrchr.c (MEMRCHR): New macro.
3684
0ac5ae23
UD
36852011-10-12 Ulrich Drepper <drepper@gmail.com>
3686
3687 Add integration with gcc's -ffinite-math-only and optimize wrapper
3688 functions in libm.
3689 * Versions.def: Define GLIBC_2.15 version for libm.
3690 * math/Makefile (headers): Add bits/math-finite.h.
3691 * math/bits/math-finite.h: New file.
3692 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3693 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3694 * math/e_acoshl.c: Add __*_finite alias.
3695 * math/e_acosl.c: Likewise.
3696 * math/e_asinl.c: Likewise.
3697 * math/e_atan2l.c: Likewise.
3698 * math/e_atanhl.c: Likewise.
3699 * math/e_coshl.c: Likewise.
3700 * math/e_exp10.c: Likewise.
3701 * math/e_exp10f.c: Likewise.
3702 * math/e_exp10l.c: Likewise.
3703 * math/e_exp2l.c: Likewise.
3704 * math/e_fmodl.c: Likewise.
3705 * math/e_gammal_r.c: Likewise.
3706 * math/e_hypotl.c: Likewise.
3707 * math/e_j0l.c: Likewise.
3708 * math/e_j1l.c: Likewise.
3709 * math/e_jnl.c: Likewise.
3710 * math/e_lgammal_r.c: Likewise.
3711 * math/e_log10l.c: Likewise.
3712 * math/e_log2l.c: Likewise.
3713 * math/e_logl.c: Likewise.
3714 * math/e_powl.c: Likewise.
3715 * math/e_sinhl.c: Likewise.
3716 * math/e_sqrtl.c: Likewise.
3717 * math/e_scalb.c: Completely rewritten and optimized.
3718 * math/e_scalbf.c: Likewise.
3719 * math/e_scalbl.c: Likewise.
3720 * math/w_acos.c: Likewise.
3721 * math/w_acosf.c: Likewise.
3722 * math/w_acosl.c: Likewise.
3723 * math/w_acosh.c: Likewise.
3724 * math/w_acoshf.c: Likewise.
3725 * math/w_acoshl.c: Likewise.
3726 * math/w_asin.c: Likewise.
3727 * math/w_asinf.c: Likewise.
3728 * math/w_asinl.c: Likewise.
3729 * math/w_atan2.c: Likewise.
3730 * math/w_atan2f.c: Likewise.
3731 * math/w_atan2l.c: Likewise.
3732 * math/w_atanh.c: Likewise.
3733 * math/w_atanhf.c: Likewise.
3734 * math/w_atanhl.c: Likewise.
3735 * math/w_exp10.c: Likewise.
3736 * math/w_exp10f.c: Likewise.
3737 * math/w_exp10l.c: Likewise.
3738 * math/w_fmod.c: Likewise.
3739 * math/w_fmodf.c: Likewise.
3740 * math/w_fmodl.c: Likewise.
3741 * math/w_j0.c: Likewise.
3742 * math/w_j0f.c: Likewise.
3743 * math/w_j0l.c: Likewise.
3744 * math/w_j1.c: Likewise.
3745 * math/w_j1f.c: Likewise.
3746 * math/w_j1l.c: Likewise.
3747 * math/w_jn.c: Likewise.
3748 * math/w_jnf.c: Likewise.
3749 * math/w_log.c: Likewise.
3750 * math/w_logf.c: Likewise.
3751 * math/w_logl.c: Likewise.
3752 * math/w_log10.c: Likewise.
3753 * math/w_log10f.c: Likewise.
3754 * math/w_log10l.c: Likewise.
3755 * math/w_log2.c: Likewise.
3756 * math/w_log2f.c: Likewise.
3757 * math/w_log2l.c: Likewise.
3758 * math/w_pow.c: Likewise.
3759 * math/w_powf.c: Likewise.
3760 * math/w_powl.c: Likewise.
3761 * math/w_remainder.c: Likewise.
3762 * math/w_remainderf.c: Likewise.
3763 * math/w_remainderl.c: Likewise.
3764 * math/w_scalb.c: Likewise.
3765 * math/w_scalbf.c: Likewise.
3766 * math/w_scalbl.c: Likewise.
3767 * math/w_sqrt.c: Likewise.
3768 * math/w_sqrtf.c: Likewise.
3769 * math/w_sqrtl.c: Likewise.
3770 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3771 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3772 used.
3773 * math/math_private.h: Declare __kernel_standard_f.
3774 * math/w_cosh.c: Remove cruft and optimize a bit.
3775 * math/w_coshf.c: Likewise.
3776 * math/w_coshl.c: Likewise.
3777 * math/w_exp2.c: Likewise.
3778 * math/w_exp2f.c: Likewise.
3779 * math/w_exp2l.c: Likewise.
3780 * math/w_hypot.c: Likewise.
3781 * math/w_hypotf.c: Likewise.
3782 * math/w_hypotl.c: Likewise.
3783 * math/w_lgamma.c: Likewise.
3784 * math/w_lgamma_r.c: Likewise.
3785 * math/w_lgammaf.c: Likewise.
3786 * math/w_lgammaf_r.c: Likewise.
3787 * math/w_lgammal.c: Likewise.
3788 * math/w_lgammal_r.c: Likewise.
3789 * math/w_sinh.c: Likewise.
3790 * math/w_sinhf.c: Likewise.
3791 * math/w_sinhl.c: Likewise.
3792 * math/w_tgamma.c: Likewise.
3793 * math/w_tgammaf.c: Likewise.
3794 * math/w_tgammal.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3796 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3797 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3798 Minor optimizations. Pretty printing. Remove cruft.
3799 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3800 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3801 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3802 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3803 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3804 * sysdeps/i386/fpu/e_asin.S: Likewise.
3805 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3806 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3807 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3808 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3809 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3810 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3811 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3812 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3813 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3814 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3815 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3816 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3817 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3818 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3819 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3820 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3821 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3822 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3823 * sysdeps/i386/fpu/e_log.S: Likewise.
3824 * sysdeps/i386/fpu/e_log10.S: Likewise.
3825 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3826 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3827 * sysdeps/i386/fpu/e_log2.S: Likewise.
3828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3829 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3830 * sysdeps/i386/fpu/e_logf.S: Likewise.
3831 * sysdeps/i386/fpu/e_logl.S: Likewise.
3832 * sysdeps/i386/fpu/e_pow.S: Likewise.
3833 * sysdeps/i386/fpu/e_powf.S: Likewise.
3834 * sysdeps/i386/fpu/e_powl.S: Likewise.
3835 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3836 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3837 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3838 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3839 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3840 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3841 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3842 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3843 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3844 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3857 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3858 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3861 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3865 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3866 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3867 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3868 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3869 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3870 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3871 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3872 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3873 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3874 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3875 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3876 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3877 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3878 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3879 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3880 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3881 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3882 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3884 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3885 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3924 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3927 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3929 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3930 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3932 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3935 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3936 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3937 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3938 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3939 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3940 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3941 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3942 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3943 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3944 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3945 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3946 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3947 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3948 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3949 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3950 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3951 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3952 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3953 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3954 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3955 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3956 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3957 (__isnanf): Likewise.
3958 (__isinf_ns): Likewise.
3959 (__isinf_nsf): Likewise.
3960 (__finite): Likewise.
3961 (__finitef): Likewise.
3962 (__ieee754_sqrt): Define as macro.
3963 (__ieee754_sqrtf): Define as macro.
3964 (__ieee754_sqrtl): Define as macro.
3965 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3966 inlined copy.
3967 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3968 __FINITE_MATH_ONLY__ consistent.
3969 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3970
12cc2fcd
AS
39712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
3972
a843a204
AS
3973 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3974 of rawmemchr.
3975
12cc2fcd
AS
3976 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3977
c853acd5
UD
39782011-10-09 Ulrich Drepper <drepper@gmail.com>
3979
3980 * po/ja.po: Update from translation team.
3981
c658d255
RM
39822011-10-08 Roland McGrath <roland@hack.frob.com>
3983
110946e4
RM
3984 * locale/programs/locarchive.c (prepare_address_space): New function.
3985 (create_archive, enlarge_archive, open_archive): Use it.
3986
50604220
RM
3987 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3988 inside [SHARED], where it is used.
3989
c658d255
RM
3990 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3991
3992 * nss/getent.c (netgroup_keys): Remove unused variable.
3993 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3994
6a621eb7
UD
39952011-10-08 Ulrich Drepper <drepper@gmail.com>
3996
7edb55ce
UD
3997 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3998 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4000 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4001 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4002 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4003 * math/Makefile (libm-calls): Add s_isinf_ns.
4004 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4005 * math/multc3.c: Likewise.
4006 * math/s_casin.c: Likewise.
4007 * math/s_casinf.c: Likewise.
4008 * math/s_casinl.c: Likewise.
4009 * math/s_ccos.c: Likewise.
4010 * math/s_ccosf.c: Likewise.
4011 * math/s_ccosl.c: Likewise.
4012 * math/s_ctan.c: Likewise.
4013 * math/s_ctanf.c: Likewise.
4014 * math/s_ctanh.c: Likewise.
4015 * math/s_ctanhf.c: Likewise.
4016 * math/s_ctanhl.c: Likewise.
4017 * math/s_ctanl.c: Likewise.
4018 * math/w_fmod.c: Likewise.
4019 * math/w_fmodf.c: Likewise.
4020 * math/w_fmodl.c: Likewise.
4021 * math/w_remainder.c: Likewise.
4022 * math/w_remainderf.c: Likewise.
4023 * math/w_remainderl.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4025 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4026 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4028 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4029 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4030 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4031 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4032
187da0ae
UD
4033 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4034 of the number.
4035 * stdio-common/printf_fphex.c: Likewise.
4036 * stdio-common/printf_size.c: Likewise.
4037
9277c064
UD
4038 * math/e_exp10.c: Include math_private.h using <...> not "...".
4039 * math/e_exp10f.c: Likewise.
4040 * math/e_exp10l.c: Likewise.
4041 * math/e_exp2l.c: Likewise.
4042 * math/e_j0l.c: Likewise.
4043 * math/e_j1l.c: Likewise.
4044 * math/e_jnl.c: Likewise.
4045 * math/e_lgammal_r.c: Likewise.
4046 * math/e_rem_pio2l.c: Likewise.
4047 * math/e_scalb.c: Likewise.
4048 * math/e_scalbf.c: Likewise.
4049 * math/e_scalbl.c: Likewise.
4050 * math/k_cosl.c: Likewise.
4051 * math/k_sinl.c: Likewise.
4052 * math/k_tanl.c: Likewise.
4053 * math/s_cacoshf.c: Likewise.
4054 * math/s_catan.c: Likewise.
4055 * math/s_catanf.c: Likewise.
4056 * math/s_catanh.c: Likewise.
4057 * math/s_catanhf.c: Likewise.
4058 * math/s_catanhl.c: Likewise.
4059 * math/s_catanl.c: Likewise.
4060 * math/s_ccosh.c: Likewise.
4061 * math/s_ccoshf.c: Likewise.
4062 * math/s_ccoshl.c: Likewise.
4063 * math/s_cexp.c: Likewise.
4064 * math/s_cexpf.c: Likewise.
4065 * math/s_cexpl.c: Likewise.
4066 * math/s_clog.c: Likewise.
4067 * math/s_clog10.c: Likewise.
4068 * math/s_clog10f.c: Likewise.
4069 * math/s_clog10l.c: Likewise.
4070 * math/s_clogf.c: Likewise.
4071 * math/s_clogl.c: Likewise.
4072 * math/s_csin.c: Likewise.
4073 * math/s_csinf.c: Likewise.
4074 * math/s_csinh.c: Likewise.
4075 * math/s_csinhf.c: Likewise.
4076 * math/s_csinhl.c: Likewise.
4077 * math/s_csinl.c: Likewise.
4078 * math/s_csqrt.c: Likewise.
4079 * math/s_csqrtf.c: Likewise.
4080 * math/s_csqrtl.c: Likewise.
4081 * math/s_ctan.c: Likewise.
4082 * math/s_ctanf.c: Likewise.
4083 * math/s_ctanh.c: Likewise.
4084 * math/s_ctanhf.c: Likewise.
4085 * math/s_ctanhl.c: Likewise.
4086 * math/s_ctanl.c: Likewise.
4087 * math/s_ldexp.c: Likewise.
4088 * math/s_ldexpf.c: Likewise.
4089 * math/s_ldexpl.c: Likewise.
4090 * math/s_significand.c: Likewise.
4091 * math/s_significandf.c: Likewise.
4092 * math/s_significandl.c: Likewise.
4093 * math/w_acos.c: Likewise.
4094 * math/w_acosf.c: Likewise.
4095 * math/w_acosh.c: Likewise.
4096 * math/w_acoshf.c: Likewise.
4097 * math/w_acoshl.c: Likewise.
4098 * math/w_acosl.c: Likewise.
4099 * math/w_asin.c: Likewise.
4100 * math/w_asinf.c: Likewise.
4101 * math/w_asinl.c: Likewise.
4102 * math/w_atan2.c: Likewise.
4103 * math/w_atan2f.c: Likewise.
4104 * math/w_atan2l.c: Likewise.
4105 * math/w_atanh.c: Likewise.
4106 * math/w_atanhf.c: Likewise.
4107 * math/w_atanhl.c: Likewise.
4108 * math/w_cosh.c: Likewise.
4109 * math/w_coshf.c: Likewise.
4110 * math/w_coshl.c: Likewise.
4111 * math/w_dremf.c: Likewise.
4112 * math/w_exp10.c: Likewise.
4113 * math/w_exp10f.c: Likewise.
4114 * math/w_exp10l.c: Likewise.
4115 * math/w_exp2.c: Likewise.
4116 * math/w_exp2f.c: Likewise.
4117 * math/w_fmod.c: Likewise.
4118 * math/w_fmodf.c: Likewise.
4119 * math/w_fmodl.c: Likewise.
4120 * math/w_hypot.c: Likewise.
4121 * math/w_hypotf.c: Likewise.
4122 * math/w_hypotl.c: Likewise.
4123 * math/w_j0.c: Likewise.
4124 * math/w_j0f.c: Likewise.
4125 * math/w_j0l.c: Likewise.
4126 * math/w_j1.c: Likewise.
4127 * math/w_j1f.c: Likewise.
4128 * math/w_j1l.c: Likewise.
4129 * math/w_jn.c: Likewise.
4130 * math/w_jnf.c: Likewise.
4131 * math/w_jnl.c: Likewise.
4132 * math/w_lgamma.c: Likewise.
4133 * math/w_lgamma_r.c: Likewise.
4134 * math/w_lgammaf.c: Likewise.
4135 * math/w_lgammaf_r.c: Likewise.
4136 * math/w_lgammal.c: Likewise.
4137 * math/w_lgammal_r.c: Likewise.
4138 * math/w_log.c: Likewise.
4139 * math/w_log10.c: Likewise.
4140 * math/w_log10f.c: Likewise.
4141 * math/w_log10l.c: Likewise.
4142 * math/w_log2.c: Likewise.
4143 * math/w_log2f.c: Likewise.
4144 * math/w_log2l.c: Likewise.
4145 * math/w_logf.c: Likewise.
4146 * math/w_logl.c: Likewise.
4147 * math/w_pow.c: Likewise.
4148 * math/w_powf.c: Likewise.
4149 * math/w_powl.c: Likewise.
4150 * math/w_remainder.c: Likewise.
4151 * math/w_remainderf.c: Likewise.
4152 * math/w_remainderl.c: Likewise.
4153 * math/w_scalb.c: Likewise.
4154 * math/w_scalbf.c: Likewise.
4155 * math/w_scalbl.c: Likewise.
4156 * math/w_sinh.c: Likewise.
4157 * math/w_sinhf.c: Likewise.
4158 * math/w_sinhl.c: Likewise.
4159 * math/w_sqrt.c: Likewise.
4160 * math/w_sqrtf.c: Likewise.
4161 * math/w_sqrtl.c: Likewise.
4162 * math/w_tgamma.c: Likewise.
4163 * math/w_tgammaf.c: Likewise.
4164 * math/w_tgammal.c: Likewise.
4165
6a621eb7
UD
4166 * po/ja.po: Update from translation team.
4167
bf582445
AJ
41682011-09-29 Andreas Jaeger <aj@suse.de>
4169
f9efbf3a
AJ
4170 [BZ #13179]
4171 * sunrpc/netname.c (netname2host): Fix logic.
4172
bf582445
AJ
4173 [BZ #6779]
4174 [BZ #6783]
4175 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4176 correctly.
4177 * math/w_remainder.c (__remainder): Likewise.
4178 * math/w_remainderf.c (__remainderf): Likewise.
4179 * math/libm-test.inc (remainder_test): Add test cases.
4180
48693bea
AK
41812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4182
4183 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4184 sdiv_qrnnd.
4185
42622229
LD
41862011-10-07 Ulrich Drepper <drepper@gmail.com>
4187
4188 * string/test-memcmp.c: Avoid unncessary #defines.
4189 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4190
093ecf92
LD
41912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4192
4193 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4194 Use new sse2 version for core i3 - i7 as it's faster
4195 than sse42 version.
4196 (bit_Prefer_PMINUB_for_stringop): New.
4197 * sysdeps/x86_64/rawmemchr.S: Update.
4198 Replace with faster SSE2 version.
4199 * sysdeps/x86_64/memrchr.S: New file.
4200 * sysdeps/x86_64/memchr.S: Update.
4201 Replace with faster SSE2 version.
4202
fde56e5c
MP
42032011-09-12 Marek Polacek <mpolacek@redhat.com>
4204
4205 * elf/dl-load.c (lose): Add cast to avoid warning.
4206
21fd49a9
UD
42072011-10-07 Ulrich Drepper <drepper@gmail.com>
4208
5a06e643
UD
4209 * po/ca.po: Update from translation team.
4210
684ae515
UD
4211 * inet/getnetgrent_r.c: Hook up nscd.
4212 * nscd/Makefile (routines): Add nscd_netgroup.
4213 (nscd-modules): Add netgroupcache.
4214 (CFLAGS-netgroupcache.c): Define.
4215 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4216 (cache_search): Add const to second parameter.
4217 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4218 INNETGR.
4219 (dbs): Add netgrdb entry.
4220 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4221 (verify_persistent_db): Handle netgrdb.
4222 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4223 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4224 GETFDNETGR.
4225 (netgroup_response_header): Define.
4226 (innetgroup_response_header): Define.
4227 (datahead): Add netgroup_response_header and innetgroup_response_header
4228 elements.
4229 * nscd/nscd.conf: Add entries for netgroup cache.
4230 * nscd/nscd.h (dbtype): Add netgrdb.
4231 (_PATH_NSCD_NETGROUP_DB): Define.
4232 (netgroup_iov_disabled): Declare.
4233 (xmalloc, xcalloc, xrealloc): Move declarations here.
4234 (cache_search): Adjust prototype.
4235 Add netgroup-related prototypes.
4236 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4237 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4238 (__nscd_innetgr): Declare.
4239 * nscd/selinux.c (perms): Use access_vector_t as element type and
4240 add netgroup-related initializers.
4241 * nscd/netgroupcache.c: New file.
4242 * nscd/nscd_netgroup.c: New file.
4243 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4244 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4245 For four parameters use innetgr.
4246 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4247 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4248 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4249 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4250
21fd49a9
UD
4251 * nscd/connections.c (register_traced_file): Don't register file
4252 for disabled databases.
4253
054c0457
UD
42542011-10-06 Ulrich Drepper <drepper@gmail.com>
4255
32b63198
UD
4256 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4257
054c0457
UD
4258 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4259 from tree and freeing node.
4260
64031225
JO
42612011-09-25 Jiri Olsa <jolsa@redhat.com>
4262
4263 * nss/nsswitch.c (__nss_database_lookup): Handle
4264 nss_parse_service_list out of memory case.
4265
0490345c
JO
42662011-09-15 Jiri Olsa <jolsa@redhat.com>
4267
4268 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4269 out of memory case.
4270
3a62d00d
AS
42712011-10-04 Andreas Schwab <schwab@redhat.com>
4272
4273 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4274 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4275 pass it down.
4276 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4277 elf_machine_rela, elf_machine_lazy_rel.
4278 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4279 (ELF_DYNAMIC_DO_REL): Likewise.
4280 (ELF_DYNAMIC_DO_RELA): Likewise.
4281 (ELF_DYNAMIC_RELOCATE): Likewise.
4282 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4283 to ELF_DYNAMIC_DO_REL.
4284 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4285 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4286 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4287 elf_machine_rela.
4288 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4289 skip_ifunc, don't call ifunc function if non-zero.
4290 (elf_machine_rela): Likewise.
4291 (elf_machine_lazy_rel): Likewise.
4292 (elf_machine_lazy_rela): Likewise.
4293 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4294 (elf_machine_lazy_rel): Likewise.
4295 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4296 Likewise.
4297 (elf_machine_lazy_rel): Likewise.
4298 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4299 Likewise.
4300 (elf_machine_lazy_rel): Likewise.
4301 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4302 (elf_machine_lazy_rel): Likewise.
4303 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4304 (elf_machine_lazy_rel): Likewise.
4305 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4306 (elf_machine_lazy_rel): Likewise.
4307 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4308 (elf_machine_lazy_rel): Likewise.
4309 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4310 (elf_machine_lazy_rel): Likewise.
4311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4312 (elf_machine_lazy_rel): Likewise.
4313
68577918
UD
43142011-09-28 Ulrich Drepper <drepper@gmail.com>
4315
4316 * nss/nss_files/files-init.c (_nss_files_init): Use static
4317 initialization for all the *_traced_file variables.
4318
68822d74
AS
43192011-09-28 Andreas Schwab <schwab@redhat.com>
4320
4321 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4322
2056100b
RM
43232011-09-27 Roland McGrath <roland@hack.frob.com>
4324
4325 [BZ #13226]
4326 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4327
32c76b63
AS
43282011-09-27 Andreas Schwab <schwab@redhat.com>
4329
4330 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4331 Reread the line before reparsing it.
4332
bf972c9d
AS
43332011-09-26 Andreas Schwab <schwab@redhat.com>
4334
4335 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4336
e057a1b5
JM
43372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4338 Maxim Kuvyrkov <maxim@codesourcery.com>
4339 Joseph Myers <joseph@codesourcery.com>
4340
4341 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4342 if needed for __stack_chk_guard.
4343
bc7e1c36
RM
43442011-09-19 Roland McGrath <roland@hack.frob.com>
4345
ecb1482f
RM
4346 * sysdeps/posix/spawni.c (script_execute): Always define it.
4347 It will be optimized away if unused.
4348 (maybe_script_execute): New function.
4349 (__spawni): Call it.
4350
bc7e1c36
RM
4351 * Makerules: Don't include tls.make.
4352 (config-tls): Always set to thread.
4353 * tls.make.c: File removed.
4354
1c3b002b
MF
43552011-09-19 Mike Frysinger <vapier@gentoo.org>
4356
4357 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4358 * config.make.in (CPPFLAGS-config): New substituted variable.
4359
2840865d
UD
43602011-09-15 Ulrich Drepper <drepper@gmail.com>
4361
88738eb6
UD
4362 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4363
cbf645a6 4364 [BZ #13192]
2840865d
UD
4365 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4366 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4367
b402e91a
RM
43682011-09-15 Roland McGrath <roland@hack.frob.com>
4369
4370 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4371 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4373 (CALL_FAIL): Likewise.
4374 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4375 (CALL_FAIL): Macro removed.
4376 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4377
4c1a1f71
UD
43782011-09-15 Ulrich Drepper <drepper@gmail.com>
4379
4380 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4381 for __FINITE_MATH_ONLY__ == 1.
4382
edc121be
AS
43832011-09-15 Andreas Schwab <schwab@redhat.com>
4384
4385 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4386 __ieee754_sqrt instead of sqrt.
4387 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4388 __ieee754_sqrtf instead of sqrtf.
4389 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4390 __floorf instead of floorf.
4391 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4392 __floorf, __truncf instead of floorf, truncf.
4393
cd205654
UD
43942011-09-14 Ulrich Drepper <drepper@gmail.com>
4395
ee4d0315
UD
4396 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4397
cd205654
UD
4398 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4399 __extern_always_inline.
4400 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4401 32-bit.
4402
48b67d71
AS
44032011-09-14 Andreas Schwab <schwab@redhat.com>
4404
4405 * elf/rtld.c (dl_main): Also relocate in dependency order when
4406 doing symbol dependency testing.
4407
1ae12c75
AS
44082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4409
4410 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4411 Always define `refsym'.
4412
995a80df
AS
44132011-09-13 Andreas Schwab <schwab@redhat.com>
4414
e529793b
AS
4415 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4416 (__FD_ELT): Renamed from __FDELT.
4417 * misc/bits/select2.h (__FD_ELT): Likewise.
4418 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4419 __FD_MASK instead of __FDELT, __FDMASK.
4420 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4421 Likewise.
4422 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4423 Likewise.
4424
52d4fef8
AS
4425 * elf/Makefile (gen-ldd): Fix pattern.
4426
995a80df
AS
4427 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4428 (init_tls): Likewise.
4429
8682f8b0
UD
44302011-09-12 Ulrich Drepper <drepper@gmail.com>
4431
4432 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4433
de82006d
AS
44342011-09-12 Andreas Schwab <schwab@redhat.com>
4435
a7c8e6a1
AS
4436 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4437 `struct cmsghdr *' instead of `void *'.
4438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4439 Likewise.
4440
0f31fe77
AS
44412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4442
4443 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4444 if non-absolute.
4445 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4446 ldd_rewrite_script.
0f31fe77 4447
32b4c839
UD
44482011-09-11 Ulrich Drepper <drepper@gmail.com>
4449
83cd1420
UD
4450 * configure.in: Remove --with-tls option.
4451 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4452 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4453 out in case it is missing.
4454 * sysdeps/ia64/elf/configure.in: Likewise.
4455 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4456 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4457 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4458 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4459 * sysdeps/sh/elf/configure.in: Likewise.
4460 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4461 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4462 * sysdeps/x86_64/elf/configure.in: Likewise.
4463 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4464 * sysdeps/mach/hurd/tls.h: Likewise.
4465
633f745d
UD
4466 [BZ #13067]
4467 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4468
f318beb8
UD
4469 [BZ #13090]
4470 * configure.in: Fix use of AC_INIT.
4471
32b4c839
UD
4472 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4473
3ce1f295
UD
44742011-09-10 Ulrich Drepper <drepper@gmail.com>
4475
bb016596
UD
4476 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4477 __set_errno.
8e58439c
UD
4478 * malloc/hooks.c: Likewise.
4479
aebae053 4480 [BZ #11929]
02d46fc4
UD
4481 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4482 variables statically.
4483 (narenas): Initialize.
4484 (list_lock): Initialize.
bb016596
UD
4485 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4486 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4487 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4488 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4489 Add initializers to main_arena and mp_.
4490 (malloc_state): Remove pagesize member. Change all users to use
4491 GLRO(dl_pagesize).
4492
4493 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4494 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4495 is always initialized.
4496
22a89187
UD
4497 * malloc/malloc.c: Removed unused configurations and dead code.
4498 * malloc/arena.c: Likewise.
4499 * malloc/hooks.c: Likewise.
02d46fc4 4500 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4501
d063d164
UD
4502 * include/tls.h: Removed. USE___THREAD must always be defined.
4503 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4504 * elf/dl-libc.c: Likewise.
4505 * elf/dl-tsd.c: Likewise.
4506 * include/errno.h: Likewise.
4507 * include/netdb.h: Likewise.
4508 * include/resolv.h: Likewise.
4509 * inet/herrno-loc.c: Likewise.
4510 * inet/herrno.c: Likewise.
4511 * malloc/arena.c: Likewise.
4512 * malloc/hooks.c: Likewise.
4513 * malloc/malloc.c: Likewise.
4514 * resolv/res-state.c: Likewise.
4515 * resolv/res_libc.c: Likewise.
4516 * sysdeps/i386/dl-machine.h: Likewise.
4517 * sysdeps/ia64/dl-machine.h: Likewise.
4518 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4519 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4520 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4521 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4522 * sysdeps/sh/dl-machine.h: Likewise.
4523 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4524 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4525 * sysdeps/unix/i386/sysdep.S: Likewise.
4526 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4527 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4528 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4530 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4531 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4532 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4536 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4537 * sysdeps/x86_64/dl-machine.h: Likewise.
4538 * tls.make.c: Likewise.
4539
3ce1f295
UD
4540 * configure.in: Remove --with-__thread option. Make tests for
4541 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4542 tls_model attribute fail if no support is available. Remove
4543 USE_IN_LIBIO.
4544 * Makeconfig: Adjust for dropped configure option. All features are
4545 now mandatory.
4546 * Makerules: Likewise.
4547 * Versions.def: Likewise.
4548 * argp/argp-fmtstream.c: Likewise.
4549 * argp/argp-fmtstream.h: Likewise.
4550 * argp/argp-help.c: Likewise.
4551 * assert/assert.c: Likewise.
4552 * config.h.in: Likewise.
4553 * config.make.in: Likewise.
4554 * configure: Likewise.
4555 * configure.in: Likewise.
4556 * csu/Versions: Likewise.
4557 * csu/init.c: Likewise.
4558 * elf/tst-audit2.c: Likewise.
4559 * elf/tst-tls10.c: Likewise.
4560 * elf/tst-tls10.h: Likewise.
4561 * elf/tst-tls11.c: Likewise.
4562 * elf/tst-tls12.c: Likewise.
4563 * elf/tst-tls14.c: Likewise.
4564 * elf/tst-tlsmod11.c: Likewise.
4565 * elf/tst-tlsmod12.c: Likewise.
4566 * elf/tst-tlsmod13.c: Likewise.
4567 * elf/tst-tlsmod13a.c: Likewise.
4568 * elf/tst-tlsmod14a.c: Likewise.
4569 * elf/tst-tlsmod15b.c: Likewise.
4570 * elf/tst-tlsmod16a.c: Likewise.
4571 * elf/tst-tlsmod16b.c: Likewise.
4572 * elf/tst-tlsmod7.c: Likewise.
4573 * elf/tst-tlsmod8.c: Likewise.
4574 * elf/tst-tlsmod9.c: Likewise.
4575 * gmon/gmon.c: Likewise.
4576 * grp/fgetgrent_r.c: Likewise.
4577 * grp/putgrent.c: Likewise.
4578 * hurd/fopenport.c: Likewise.
4579 * include/libc-symbols.h: Likewise.
4580 * include/tls.h: Likewise.
4581 * intl/gettextP.h: Likewise.
4582 * intl/loadinfo.h: Likewise.
4583 * locale/global-locale.c: Likewise.
4584 * locale/localeinfo.h: Likewise.
4585 * mach/devstream.c: Likewise.
4586 * malloc/arena.c: Likewise.
4587 * malloc/set-freeres.c: Likewise.
4588 * misc/err.c: Likewise.
4589 * misc/getttyent.c: Likewise.
4590 * misc/mntent_r.c: Likewise.
4591 * posix/getopt.c: Likewise.
4592 * posix/wordexp.c: Likewise.
4593 * pwd/fgetpwent_r.c: Likewise.
4594 * resolv/Versions: Likewise.
4595 * resolv/res_hconf.c: Likewise.
4596 * shadow/fgetspent_r.c: Likewise.
4597 * shadow/putspent.c: Likewise.
4598 * stdio-common/printf_fphex.c: Likewise.
4599 * stdio-common/tmpfile.c: Likewise.
4600 * stdlib/abort.c: Likewise.
4601 * stdlib/fmtmsg.c: Likewise.
4602 * sunrpc/auth_unix.c: Likewise.
4603 * sunrpc/clnt_perr.c: Likewise.
4604 * sunrpc/clnt_tcp.c: Likewise.
4605 * sunrpc/clnt_udp.c: Likewise.
4606 * sunrpc/clnt_unix.c: Likewise.
4607 * sunrpc/openchild.c: Likewise.
4608 * sunrpc/svc_simple.c: Likewise.
4609 * sunrpc/svc_tcp.c: Likewise.
4610 * sunrpc/svc_udp.c: Likewise.
4611 * sunrpc/svc_unix.c: Likewise.
4612 * sunrpc/xdr.c: Likewise.
4613 * sunrpc/xdr_array.c: Likewise.
4614 * sunrpc/xdr_rec.c: Likewise.
4615 * sunrpc/xdr_ref.c: Likewise.
4616 * sunrpc/xdr_stdio.c: Likewise.
4617
1248c1c4
PB
46182011-09-09 Ulrich Drepper <drepper@gmail.com>
4619
4620 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4621
46222011-07-03 Andreas Jaeger <aj@suse.de>
4623
4624 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4625 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4626 regenerate with gen-libm-tests.pl.
4627
46282010-05-12 Petr Baudis <pasky@suse.cz>
4629
4630 [BZ #11589]
4631 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4632 around j0() zero points by switching to j1().
4633 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4637
f22e1074
UD
46382011-09-09 Ulrich Drepper <drepper@gmail.com>
4639
f19009c1
UD
4640 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4641 instead of 0.
4642 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4643 instead of 0. .
4644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4645 Patch in part by Pavel Roskin <proski@gnu.org>.
4646
3f8cc204
UD
4647 [BZ #13138]
4648 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4649 realloc.
4650 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4651 Free memory block if necessary.
4652
f22e1074
UD
4653 [BZ #12847]
4654 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4655 be NULL. Don't lock in this case.
4656
0a2349f9
RM
46572011-09-09 Roland McGrath <roland@hack.frob.com>
4658
4659 * elf/elf.h (ELFOSABI_GNU): New macro.
4660 (ELFOSABI_LINUX): Define to that.
4661
f3cdd467
DZ
46622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4663
4664 * string/strncat.c (strncat): Undef the symbol in case it has been
4665 defined in bits/string.h.
4666
74718d13
UD
46672011-09-09 Ulrich Drepper <drepper@gmail.com>
4668
633e9e0f
UD
4669 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4670
0a2349f9 4671 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4672 link map.
4673
f9924780
AJ
46742011-08-17 Andreas Jaeger <aj@suse.de>
4675
4676 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4677
7f5517aa
PP
46782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4679 Ian Lance Taylor <iant@google.com>
4680
4681 * math/libm-test.inc (lround_test): New testcase.
4682 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4683
762011fe
UD
46842011-09-08 Ulrich Drepper <drepper@gmail.com>
4685
92963737
UD
4686 * Makefile: Remove support for automatic cvs check-ins.
4687 * Makerules: Likewise.
4688 * config.make.in: Likewise.
4689 * configure.in: Likewise.
4690 * intl/Makefile: Likewise.
4691 * locale/Makefile: Likewise.
4692 * po/Makefile: Likewise.
4693 * posix/Makefile: Likewise.
4694 * sysdeps/gnu/Makefile: Likewise.
4695 * sysdeps/mach/hurd/Makefile: Likewise.
4696 * sysdeps/sparc/sparc32/Makefile: Likewise.
4697
b0727fd8
JS
4698 [BZ #13118]
4699 * posix/Makefile (bug-regex32-ENV): Define.
4700 Patch by John Stanley <jpsinthemix@verizon.net>.
4701
a0f33f99
UD
4702 * misc/Makefile (headers): Add bits/select2.h.
4703 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4704 * misc/bits/select2.h: New file.
4705 * include/bits/select2.h: New file.
4706 * debug/Makefile (routines): Add fdelt_chk.
4707 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4708 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4709 FD_ISSET.
4710 * debug/fdelt_chk.c: New file.
4711
762011fe
UD
4712 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4713 * wcsmbs/test-wmemcmp.c: Likewise.
4714 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4715 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4716
47172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4718
4719 * string/Makefile (strop-tests): Add memcmp.
4720 * string/test-wmemcmp.c: New file.
4721 * string/test-memcmp.c: Add wmemcmp support.
4722
7f513ec8
RM
47232011-09-08 Roland McGrath <roland@hack.frob.com>
4724
0442afb4
RM
4725 [BZ #13153]
4726 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4727 2011-07-19 change.
4728
7f513ec8
RM
4729 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4730 garbage value in a __mach_port_mod_refs call in the cases of the
4731 task-self and thread-self ports.
4732
a12b2239
ST
47332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4734
4735 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4736
610f9ab4
AS
47372011-09-08 Andreas Schwab <schwab@redhat.com>
4738
7f513ec8 4739 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4740
48882a1a
LD
47412011-09-07 Ulrich Drepper <drepper@gmail.com>
4742
b49865be
UD
4743 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4744
fdc86bc9
UD
4745 * elf/dl-libc.c (dlerror_run): Pass back error code from
4746 dl_catch_error.
4747
c966526a
UD
4748 [BZ #13123]
4749 * elf/dl-load.c (lose): Free l_origin if it is valid.
4750
48882a1a
LD
4751 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4752 names.
4753 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4754 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4755 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4757 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4758 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4759
77a2a8b4
AZ
47602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761
4762 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4763 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4764 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4765 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4766 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4767 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4768 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4769 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4770 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4771 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4772
24f579d8
AM
47732011-08-15 Alan Modra <amodra@gmail.com>
4774
4775 [BZ #13092]
4776 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4777 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4778 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4779 ppc_mcount to static-only-routines.
4780 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4781 __mcount_internal.
4782 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4783 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4784
3d4837df
UD
47852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4786
4787 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4788 for finite and infinity parameters.
4789
22700377
WS
47902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4791
4792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4793 and add nop instructions for throughput optimization.
4794 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4795
5025581e
WS
47962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4797
4798 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4799 aligned copy for power7 with vector-scalar instructions.
4800 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4801
08a300c9
L
48022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4803
4804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4805 AVX check.
4806
59178ef9
AS
48072011-09-07 Andreas Schwab <schwab@redhat.com>
4808
4809 [BZ #13144]
4810 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4811 last change.
4812
e38ba7ab
UD
48132011-09-07 Ulrich Drepper <drepper@gmail.com>
4814
4815 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4816 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4817 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4818 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4819 clock_gettime.
4820
d53a73ac
UD
48212011-09-06 Ulrich Drepper <drepper@gmail.com>
4822
fc8bffcc
UD
4823 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4824 Forgot to demangle the pointer.
4825
ceaa0c5d
UD
4826 * sysdeps/i386/sysdep.h: Define atom_text_section.
4827 * sysdeps/x86_64/sysdep.h: Likewise.
4828 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4829 section with atom_text_section.
4830 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4831 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4832 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4834 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4835
a77d3c17
UD
4836 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4837 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4838 already be defined. Change to take two parameters and don't assign
4839 result to variable. Adjust all users.
4840 Define INTERNAL_GETTIME if not already defined.
4841 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4842 call.
4843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4844 HAVE_CLOCK_GETTIME_VSYSCALL.
4845 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4846
d53a73ac
UD
4847 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4848 gettimeofday vsyscall, just use time.
4849
a8f84144
AS
48502011-09-06 Andreas Schwab <schwab@redhat.com>
4851
4852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4853 <errno.h>.
4854
ef606249
UD
48552011-09-06 Ulrich Drepper <drepper@gmail.com>
4856
4857 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4858 syscall on x86-64.
4859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4860 syscall.
4861 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4863 syscall if possible.
4864
6585cb60
UD
48652011-09-05 Ulrich Drepper <drepper@gmail.com>
4866
4867 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4868 e_ident. Don't pass to find_mapsXX.
4869 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4870
a5f524e4
LD
48712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4872
4873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4874 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4875 * sysdeps/x86_64/multiarch/strchr.S: Update.
4876 Check bit_slow_BSF bit.
4877 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4878 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4879 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4880
554881ef
UD
48812011-09-05 Ulrich Drepper <drepper@gmail.com>
4882
d96de963
UD
4883 [BZ #13134]
4884 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4885 before glibc 2.15.
4886 (tryshell): Define.
4887 (__spawni): Change last parameter to be flag. Test
4888 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4889 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4890 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4891 * posix/spawni.c: Likewise.
4892 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4893 * posix/spawnp.c: Likewise. Change normal version to use
4894 SPAWN_XFLAGS_USE_PATH.
4895 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4896 SPAWN_XFLAGS_TRY_SHELL.
4897
d48e5868
UD
4898 [BZ #13150]
4899 * posix/glob.h: Remove gcc 1.x support.
4900
554881ef
UD
4901 [BZ #13068]
4902 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4903
693fb948
LD
49042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4905
4906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4907 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4908 strrchr-sse2-bsf
4909 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4910 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4911 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4913 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4914 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4915
1b48c537
UD
49162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4917
49d42c37
UD
4918 * sysdeps/x86_64/wcscmp.S: New file.
4919
1b48c537
UD
4920 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4921 wcscmp-c wcscmp-sse2
4922 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4923 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4924 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4925 * wcsmbs/wcscmp.c: Allow renaming.
4926
15c95c5d
DM
49272011-09-05 David S. Miller <davem@davemloft.net>
4928
4929 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4930 stack slot, rather than the struct return pointer slot.
4931 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4932 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4934 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4935
2f0ad8f3
UD
49362011-09-05 Ulrich Drepper <drepper@gmail.com>
4937
d88ae418
UD
4938 * po/ja.po: Update from translation team.
4939
2f0ad8f3
UD
4940 [BZ #13144]
4941 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4942 kernel in 64-bit binaries.
4943
5f4318d1
DM
49442011-09-01 David S. Miller <davem@davemloft.net>
4945
4946 * elf/elf.h (HWCAP_SPARC_*): Move to..
4947 * sysdeps/sparc/sysdep.h: this new file and add new values.
4948 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4949 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4950 _DL_HWCAP_COUNT to 24.
4951 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4952 entries.
4953 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4954 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4955 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4957 instead of magic constants.
4958 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4959
3ba57516
DM
49602011-08-31 David S. Miller <davem@davemloft.net>
4961
4962 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4964 Reimplement to do errno handling inline.
4965 (SYSCALL_ERROR_HANDLER): New macro.
4966 (__SYSCALL_STRING): Do not do errno handling in asm.
4967 (__CLONE_SYSCALL_STRING): Delete.
4968 (__INTERNAL_SYSCALL_STRING): Delete.
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4970 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4971 (PSEUDO): Reimplement to do errno handling inline.
4972 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4973 (SYSCALL_ERROR_HANDLER): New macro.
4974 (__SYSCALL_STRING): Do not do errno handling in asm.
4975 (__CLONE_SYSCALL_STRING): Delete.
4976 (__INTERNAL_SYSCALL_STRING): Delete.
4977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4978 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4979 i386.
4980 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4981 (inline_syscall*): Add 'err' argument.
4982 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4983 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4984 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4985 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4986
4987 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4988 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4989
2bc17433
AS
49902011-08-30 Andreas Schwab <schwab@redhat.com>
4991
4992 * elf/rtld.c (dl_main): Relocate objects in dependency order.
4993
fbeb5f4d
JO
49942011-08-29 Jiri Olsa <jolsa@redhat.com>
4995
4996 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4997 directive.
4998
ad69cc26
DM
49992011-08-24 David S. Miller <davem@davemloft.net>
5000
5001 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5002
39dd69df
AS
50032011-08-24 Andreas Schwab <schwab@redhat.com>
5004
5005 * elf/Makefile: Add rules to build and run unload8 test.
5006 * elf/unload8.c: New file.
5007 * elf/unload8mod1.c: New file.
5008 * elf/unload8mod1x.c: New file.
5009 * elf/unload8mod2.c: New file.
5010 * elf/unload8mod3.c: New file.
5011
5012 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5013 it wasn't used.
5014
2c0b250a
DM
50152011-08-23 David S. Miller <davem@davemloft.net>
5016
5017 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5018 subtract stack bias.
5019 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5020 %sp not %fp in calculations.
5021 (_JMPBUF_UNWINDS_ADJ): Likewise.
5022
22044b48
DM
5023 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5024 (aio_suspend): Call it to force an exception region around the
5025 AIO_MISC_WAIT() invocation.
5026
2cae4995
AS
50272011-08-23 Andreas Schwab <schwab@redhat.com>
5028
5029 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5030 backslash.
5031
873a772e
AJ
50322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5033
5034 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5035 protection macro.
5036 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5037 and <dl-machine.h>.
5038 (Elf64_FuncDesc): Remove.
5039
25ad0df1
DM
50402011-08-22 David S. Miller <davem@davemloft.net>
5041
5042 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5043 sigaltstack check, add missing cfi directives.
5044 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5045 missing cfi directives, and sigaltstack handling.
5046
e888bcbe
AS
50472011-08-16 Andreas Schwab <schwab@redhat.com>
5048
5049 [BZ #11724]
5050 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5051 object is seen twice.
5052 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5053
5054 * elf/Makefile (distribute): Add tst-initorder2.c.
5055 (tests): Add tst-initorder2.
5056 (modules-names): Add tst-initorder2a tst-initorder2b
5057 tst-initorder2c tst-initorder2d. Add rules to build them.
5058 ($(objpfx)tst-initorder2.out): New rule.
5059 * elf/tst-initorder2.c: New file.
5060 * elf/tst-initorder2.exp: New file.
5061
87162f46
AS
50622011-08-22 Andreas Schwab <schwab@redhat.com>
5063
70538b7f
AS
5064 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5065
f55ffe58
AS
5066 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5067 dependencies back to end of function.
5068
87162f46
AS
5069 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5070 $(elfobjdir)/ld.so.
5071
91b392a4
UD
50722011-08-21 Ulrich Drepper <drepper@gmail.com>
5073
5074 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5075 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5077 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5078 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5079 of __vdso_gettimeofday.
5080 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5081 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5082 attribute_hidden.
5083 (_libc_vdso_platform_setup): Remove initialization of
5084 __vdso_gettimeofday and __vdso_time.
5085
5c43483f
UD
50862011-08-20 Ulrich Drepper <drepper@gmail.com>
5087
775a77e7
UD
5088 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5089 and fgetc_unlocked.
5090 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5091 getc_unlocked.
89f447ed 5092
49c74ba9
UD
5093 * elf/dl-open.c (add_to_global): Report additions to the global scope
5094 for LD_DEBUG=scopes.
5095 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5096 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5097
5c43483f
UD
5098 [BZ #13114]
5099 * stdio-common/Makefile (tests): Add bug24.
5100 * stdio-common/bug24.c: New file.
5101
a101b025
AJ
51022011-08-19 Andreas Jaeger <aj@suse.de>
5103
5104 [BZ #13114]
5105 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5106 non-existant file when using close-on-exec mode.
5107
c88f1766
UD
51082011-08-20 Ulrich Drepper <drepper@gmail.com>
5109
0276a718
UD
5110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5111 the very first instruction.
5112
c88f1766
UD
5113 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5114 the CFI state in the end.
5115 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5116 inclusion of dl-trampoline.h.
5117 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5118
51ccffa0
AS
51192011-08-19 Andreas Schwab <schwab@redhat.com>
5120
94d7165f
AS
5121 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5122 expectations for long double.
5123
51ccffa0
AS
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5125 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5126
fd708658 51272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5128
5129 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5130 artificual limit depends upon the system page size.
5131
44f0a71e
UD
51322011-08-17 Ulrich Drepper <drepper@gmail.com>
5133
5134 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5135 * resolv/Makefile: Define CFLAGS-libresolv.
5136
8de79a24
AS
51372011-08-17 Andreas Schwab <schwab@redhat.com>
5138
5139 * nss/makedb.c (compute_tables): Make variables used in nested
5140 function static.
5141
27724598
UD
51422011-08-17 Ulrich Drepper <drepper@gmail.com>
5143
c5305d88
UD
5144 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5145 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5146 if buffer was too small.
5147
27724598
UD
5148 * elf/pldd.c (main): Attach to all threads in the process.
5149 Rewrite /proc handling to use *at functions.
5150
076fe015
UD
51512011-08-16 Ulrich Drepper <drepper@gmail.com>
5152
174baab3
UD
5153 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5154 specifies first scope to show.
5155 (dl_open_worker): Update callers. Move printing scope of new
5156 object to before the relocation.
44f0a71e 5157 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5158 * sysdeps/generic/ldsodefs.h: Update declaration.
5159
076fe015
UD
5160 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5161 string for the scope number.
5162
a60df2c3
UD
51632011-08-14 Ulrich Drepper <drepper@gmail.com>
5164
5165 * nscd/servicescache.c (cache_addserv): Make sure written is always
5166 initialized.
5167
5e4287d1
RM
51682011-08-14 Roland McGrath <roland@hack.frob.com>
5169
85ae0589
RM
5170 * sysdeps/i386/i486/bits/atomic.h
5171 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5172 statement expression, so as to suppress "set but not used" warning.
5173 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5174
69f63097
RM
5175 * string/strncat.c (STRNCAT): Use prototype definition.
5176
675456ef
RM
5177 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5178 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5179 -Iprograms here.
5180 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5181 (localedef-modules): Add localedef.
5182 (locale-modules): Add locale.
5183
5e4287d1
RM
5184 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5185 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5186 to avoid a warning.
5187
9c96ff23
DM
51882011-08-14 David S. Miller <davem@davemloft.net>
5189
5190 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5191 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5192
f9ddf089
UD
51932011-08-13 Ulrich Drepper <drepper@gmail.com>
5194
44f0a71e 5195 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5196 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5197 * elf/rtld.c (dl_main): Set l_name of vDSO.
5198 Call _dl_show_scope when DL_DEBUG_SCOPES.
5199 (process_dl_debug): Recognize scopes flag and also set it for all.
5200 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5201 Declare _dl_show_scope.
5202
1dc27704
UD
5203 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5204 (do_dlopen): Pass caller_dlopen to dl_open.
5205 (__libc_dlopen_mode): Initialize caller_dlopen.
5206
f9ddf089
UD
5207 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5208 of libc. Make tolower call locale-independent. Optimize a bit by
5209 using isdigit instead of isalnum.
5210 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5211
9ac533d3
UD
52122011-08-12 Ulrich Drepper <drepper@gmail.com>
5213
5214 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5215 was a dependency or dynamically loaded.
5216
89edf2e9
UD
52172011-08-11 Ulrich Drepper <drepper@gmail.com>
5218
8e999d29
UD
5219 * intl/l10nflist.c: Allow architecture-specific pop function.
5220 * sysdeps/x86_64/l10nflist.c: New file.
5221
89edf2e9
UD
5222 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5223 classification.
5224
14d96785
AS
52252011-08-10 Andreas Schwab <schwab@redhat.com>
5226
5227 * include/dirent.h: Add libc_hidden_proto for scandirat and
5228 scandirat64. Don't declare __scandirat64.
5229 * dirent/scandirat.c: Add libc_hidden_def.
5230 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5231 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5232
6761ac04
DM
52332011-08-10 David S. Miller <davem@davemloft.net>
5234
5235 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5236 enum.
5237 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5239 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5240
c55fbd1e
UD
52412011-08-09 Ulrich Drepper <drepper@gmail.com>
5242
5243 * Versions.def [libc]: Add GLIBC_2.15.
5244 * dirent/Makefile (routines): Add scandirat and scandirat64.
5245 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5246 GLIBC_2.15.
5247 * dirent/dirent.h: Declare scandirat and scandirat64.
5248 * dirent/scandirat.c: New file.
5249 * dirent/scandirat64.c: New file.
5250 * sysdeps/wordsize-64/scandirat.c: New file.
5251 * sysdeps/wordsize-64/scandirat64.c: New file.
5252 * dirent/opendir.c: Define opendirat.
5253 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5254 using scandirat.
5255 * dirent/scandir64.c: Adjust for scandir.c change.
5256 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5257 __scandirat64, and __scandir_cancel_handler.
5258 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5259 additional parameter and use openat instead of open (outside of ld.so).
5260 Add new __opendir as wrapper around __opendirat.
5261 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5262 here without requiring old scandirat implementation.
5263
879165f2
UD
52642011-08-08 Ulrich Drepper <drepper@gmail.com>
5265
5266 * dirent/scandir.c (cancel_handler): Renamed to
5267 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5268 defined. Adjust users.
5269 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5270 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5271
cb7e923b
UD
52722011-08-04 Ulrich Drepper <drepper@gmail.com>
5273
16292edd
UD
5274 * string/test-string.h (IMPL): Use __STRING to expand name and then
5275 stringify it.
5276
cb7e923b
UD
5277 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5278 of cleanups.
5279
cff82933
LD
52802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5281
5282 * string/Makefile: Update.
5283 (strop-tests): Append strncat.
5284 * string/test-wcscmp.c: New file.
5285 New comprehensive test for wcscmp.
5286 * string/test-strcmp.c: Update.
5287 (WIDE): New define.
5288
9be9bfcc
AS
52892011-07-22 Andreas Schwab <schwab@redhat.com>
5290
5291 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5292 line.
5293
2e96f1c7
AS
52942011-07-26 Andreas Schwab <schwab@redhat.com>
5295
5296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5297 encoding to ACE if AI_IDN.
5298
85188888
JJ
52992011-08-01 Jakub Jelinek <jakub@redhat.com>
5300
5301 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5302 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5303
5fa16e9b
LD
53042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5305
5306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5307 Fix overflow bug in strncat.
5308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5309
5310 * string/test-strncat.c: Update.
5311 Add new tests for checking overflow bugs.
5312
53132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5314
5315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5316 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5317 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5318 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5319 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5320 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5321 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5322 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5323 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5324
5325 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5326 (USE_AS_STRCAT): Define.
5327 Add strcat and strncat support.
5328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5329
8c1a459f
AS
53302011-07-25 Andreas Schwab <schwab@redhat.com>
5331
5332 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5333 __n bigger than INT_MAX+1.
5334 (__strncmp_g): Likewise.
5335
bba33c28
UD
53362011-07-23 Ulrich Drepper <drepper@gmail.com>
5337
798be72d
UD
5338 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5339 * libio/stido.h: Likewise.
5340
8accd4dc
UD
5341 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5342 (AF_NFC): Define.
5343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5344 (AF_NFC): Define.
5345
cbff0d96
UD
5346 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5347 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5348 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5349 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5350 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5351
9191c04a
UD
5352 [BZ #13021]
5353 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5354 installed.
5355
bba33c28
UD
5356 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5357 typo.
5358 (_dl_x86_64_save_sse): Likewise.
5359
90f139dd
UD
53602011-07-22 Ulrich Drepper <drepper@gmail.com>
5361
1aae088a
UD
5362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5363 OSXSAVE.
5364 (_dl_x86_64_save_sse): Likewise.
5365
8e2045f5
UD
5366 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5367
90f139dd
UD
5368 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5369
1d002f25
AS
53702011-07-21 Andreas Schwab <schwab@redhat.com>
5371
5372 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5373 change.
5374 (_dl_x86_64_save_sse): Use correct AVX check.
5375
21137f89
UD
53762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5377
5378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5379 bug in strncpy/strncat.
5380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5381
a65c0b7a
UD
53822011-07-21 Ulrich Drepper <drepper@gmail.com>
5383
5384 * string/tester.c (test_strcat): Add tests for different alignments
5385 of source and destination.
5386 (test_strncat): Likewise.
5387
6986b98a
UD
53882011-07-20 Ulrich Drepper <drepper@gmail.com>
5389
90bb2039
UD
5390 [BZ #12852]
5391 * posix/glob.c (glob): Check passed in values before using them in
5392 expressions to avoid some overflows.
5393 (glob_in_dir): Likewise.
5394
5644ef54
UD
5395 [BZ #13007]
5396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5397 check for AVX enablement so that we don't crash with old kernels and
5398 new hardware.
5399 * elf/tst-audit4.c: Add same checks here.
5400 * elf/tst-audit6.c: Likewise.
5401
5402 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5403
bfc9dc9b
AS
54042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5405
5406 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5407
702e64bb
UD
54082011-07-20 Ulrich Drepper <drepper@gmail.com>
5409
5410 * po/cs.po: Update from translation team.
5411 * po/bg.po: Likewise.
5412
295e904f
MP
54132011-07-12 Marek Polacek <mpolacek@redhat.com>
5414
5415 * misc/sys/cdefs.h: Add support for const attribute.
5416 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5417 to gnu_dev_{major,minor,makedev} functions.
5418
3ff94596
MP
54192011-07-20 Marek Polacek <mpolacek@redhat.com>
5420
5421 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5422
28b59fca
AS
54232011-07-20 Andreas Schwab <schwab@redhat.com>
5424
5425 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5426 strlen results.
5427
19df733e
AK
54282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5429
5430 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5431 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5432 register in order to avoid conflicts with the soft frame pointer
5433 being held in r11 when necessary.
5434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5435 (INTERNAL_VSYSCALL_NCS): Likewise.
5436
c8835729
MP
54372011-07-14 Marek Polacek <mpolacek@redhat.com>
5438
5439 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5440 * elf/dl-fini.c (_dl_fini): Adjust caller.
5441 * elf/dl-close.c (_dl_close_worker): Likewise.
5442 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5443
b902330c
MP
54442011-07-15 Marek Polacek <mpolacek@redhat.com>
5445
8991e135
MP
5446 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5447 "aux_cache->nlibs < 0".
5448
b902330c
MP
5449 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5450 in the reload-count case.
5451
99710781
LD
54522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5453
5454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5455 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5456 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5457 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5458 * sysdeps/x86_64/multiarch/strcat.S: New file.
5459 * sysdeps/x86_64/multiarch/strncat.S: New file.
5460 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5461 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5462 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5463 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5465 (USE_AS_STRCAT): Define.
5466 Add strcat and strncat support.
5467 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5469 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5470 * string/strncat.c: Update.
5471 (USE_AS_STRNCAT): Define.
5472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5473 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5474 and i7.
5475 * sysdeps/x86_64/multiarch/init-arch.h
5476 (bit_Prefer_PMINUB_for_stringop): New.
5477 (index_Prefer_PMINUB_for_stringop): Likewise.
5478 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5479 bit_Prefer_PMINUB_for_stringop.
5480
7dc6bd90
UD
54812011-07-19 Ulrich Drepper <drepper@gmail.com>
5482
5483 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5484 buffer64.
5485 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5486 of casting of buffer.
5487 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5488 buffer32 and buffer64.
5489 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5490 writes instead of casting of buffer.
5491 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5492 buffer32.
5493 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5494 casting of buffer.
5495
e0e72284
AS
54962011-07-19 Andreas Schwab <schwab@redhat.com>
5497
5498 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5499
feb1eb0b
UD
55002011-07-19 Ulrich Drepper <drepper@gmail.com>
5501
5502 * nscd/nscd.c (termination_handler): Don't do anything for a database
5503 if it has not yet been initialized.
5504
298711ff
UD
55052011-07-18 Ulrich Drepper <drepper@gmail.com>
5506
5507 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5508
55092011-07-15 Marek Polacek <mpolacek@redhat.com>
5510
5511 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5512
f9d68389
UD
55132011-07-18 Ulrich Drepper <drepper@gmail.com>
5514
5515 * po/nl.po: Update from translation team.
5516 * po/sv.po: Likewise.
5517
db290cf5
RM
55182011-07-16 Roland McGrath <roland@hack.frob.com>
5519
5520 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5521 now disallowed by GCC.
5c550700 5522
fd5e21c7
RM
5523 * configure.in (use-default-link): Default to yes if a test -shared
5524 link meets our qualifications.
5525 * configure: Regenerated.
5526
5c550700
RM
5527 * config.make.in (output-format): New variable.
5528 * configure.in: Check for ld --print-output-format support.
5529 * configure: Regenerated.
5530 * Makerules ($(common-objpfx)format.lds)
5531 [$(output-format) != unknown]: Just use $(output-format),
5532 instead of the linker-script munging.
5533
9fa2c032
RM
55342011-07-14 Roland McGrath <roland@hack.frob.com>
5535
a6928d51
RM
5536 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5537 of $(common-objpfx)shlib.lds.
5538 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5539
661607b3
RM
5540 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5541 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5542
9fa2c032
RM
5543 * configure.in (-z relro check): Adjust test code to add a large
5544 writable data section after it.
5545 * configure: Regenerated.
5546
defe9061
RM
55472011-07-11 Roland McGrath <roland@hack.frob.com>
5548
5549 * configure.in (-z relro check): Fix test code to make the variable
5550 truly const.
5551 * configure: Regenerated.
5552
319b9ad4
UD
55532011-07-11 Ulrich Drepper <drepper@gmail.com>
5554
5555 * nscd/nscd.h (struct traced_file): Define.
5556 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5557 elements. Add traced_files.
5558 (inotify_fd): Declare.
5559 (register_traced_file): Declare.
5560 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5561 (inotify_fd): Export.
5562 (resolv_conf_descr): Remove.
5563 (nscd_init): Move inotify descriptor creation to main.
5564 Don't register files for notification here.
5565 (register_traced_file): New function.
5566 (invalidate_cache): Don't use reset_res to determine whether to call
5567 res_init, go through the list of registered files.
5568 (main_loop_poll): The inotify descriptors are now stored in the
5569 structures for the traced files.
5570 (main_loop_epoll): Likewise
5571 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5572 to __nss_disable_nscd.
5573 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5574 for a database anymore. Check the records for all the registered
5575 files instead.
5576 * nss/Makefile (libnss_files-routines): Add files-init.
5577 (libnss_db-routines): Add db-init.
5578 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5579 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5580 * nss/nss_db/db-init.c: New file.
5581 * nss/nss_files/files-init.c: New file.
5582 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5583 __nss_lookup_function.
5584 (__nss_lookup_function): Call nss_load_library.
5585 (nss_load_all_libraries): New function.
5586 (__nss_disable_nscd): Take parameter with callback function for files
5587 to register. Set is_nscd. Load all the DSOs for the NSS modules
5588 used for the cached services.
5589 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5590 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5591 options for features to all the files in nscd.
5592
5593 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5594
23bee3e8
RM
55952011-07-10 Roland McGrath <roland@hack.frob.com>
5596
5597 * csu/elf-init.c (__libc_csu_init): Comment typo.
5598
46a5b7f0
UD
55992011-07-09 Ulrich Drepper <drepper@gmail.com>
5600
5601 * po/pl.po: Update from translation team.
5602 * po/ja.po: Likewise.
5603 * po/ru.po: Likewise.
5604 * po/ko.po: Likewise.
5605 * po/fr.po: Likewise.
5606
d30cf5bb
RM
56072011-07-09 Roland McGrath <roland@hack.frob.com>
5608
113ddea4
RM
5609 * configure.in (.ctors/.dtors header and trailer check):
5610 Use an empirical test on a built program.
5611 * configure: Regenerated.
5612
574920b4
RM
5613 * configure.in (-z relro check): Use an empirical test on a built DSO.
5614 Detect, but do not require, on ia64.
5615 * configure: Regenerated.
5616
d30cf5bb
RM
5617 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5618 Update tests that use readelf to use $READELF instead.
5619 * configure: Regenerated.
5620
8538fdb3
UD
56212011-07-08 Ulrich Drepper <drepper@gmail.com>
5622
5623 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5624 if the result is not used.
5625
04d08991
AJ
56262011-07-05 Andreas Jaeger <aj@suse.de>
5627
5628 [BZ#9696]
5629 * stdlib/tst-strtod.c: Add testcase.
5630
de283087
AD
56312011-07-07 Ulrich Drepper <drepper@gmail.com>
5632
4e5f31c8 5633 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5634 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5635 The latter has a higher limit. Take additional parameter to pass to
5636 the new function.
5637 (__pathconf): Pass file to __statfs_link_max.
5638 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5639 __statfs_link_max.
5640 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5641 __statfs_link_max.
5642
de283087
AD
5643 [BZ #12868]
5644 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5645 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5646 Handle Lustre.
5647 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5648 (__statfs_filesize_max): Likewise.
5649 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5650
c75fa153
AJ
56512011-07-05 Andreas Jaeger <aj@suse.de>
5652
5653 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5654
1a544854
UD
56552011-07-06 Marek Polacek <mpolacek@redhat.com>
5656
5657 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5658 `status' variable.
5659 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5660 Likewise.
5661
6f0eec67
UD
56622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5663
5664 * Makefile (strop-tests): Add strncat.
5665 * string/test-strncat.c: New file.
5666
aae30307
UD
56672011-06-30 Marek Polacek <mpolacek@redhat.com>
5668
5669 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5670
c0cfb5eb
UD
56712011-06-21 Andreas Jaeger <aj@suse.de>
5672
5673 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5674 Copy rule from iconvdata/Makefile.
5675
01636b21
UD
56762011-07-06 Ulrich Drepper <drepper@gmail.com>
5677
5678 [BZ #12922]
5679 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5680 but no long options are defined, just return 'W'.
5681
9895c8bc
UD
56822011-06-22 Marek Polacek <mpolacek@redhat.com>
5683
5684 [BZ #9696]
5685 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5686
5d4cf042
UD
56872011-07-06 Ulrich Drepper <drepper@gmail.com>
5688
5689 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5690 netgroups to read.
960e5535 5691 (innetgr): Likewise.
5d4cf042 5692
751eb97e
RM
56932011-07-05 Roland McGrath <roland@hack.frob.com>
5694
5695 * config.make.in (install_root): Default to $(DESTDIR).
5696
f15f1e45
UD
56972011-07-05 Ulrich Drepper <drepper@gmail.com>
5698
5699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5700
4e34ac6a
RM
57012011-07-02 Roland McGrath <roland@hack.frob.com>
5702
5e9b6af4
RM
5703 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5704
84f9ea0f
RM
5705 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5706 containing directory rather than embedding absolute directory names.
5707
ea5ee9f7
RM
5708 * scripts/check-local-headers.sh: Rewritten using awk.
5709 Match by word, not by line. Print error messages for matches.
5710 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5711
1b74661a
RM
5712 * Makerules [shlib-lds-flags empty]:
5713 ($(common-objpfx)libc_pic.opts): New target.
5714 ($(common-objpfx)libc_pic.os.clean): New target.
5715 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5716
5717 * config.make.in (OBJCOPY): New variable.
5718 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5719 * configure: Regenerated.
5720
f781ef40
RM
5721 * config.make.in (use-default-link): New variable.
5722 * configure.in (use_default_link): Grok --with-default-link to set it.
5723 * configure: Regenerated.
5724 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5725 (shlib-lds, shlib-lds-flags): Define to empty.
5726
2d4fa81e
RM
5727 * Makerules (shlib-lds): New variable.
5728 (shlib-lds-flags): New variable.
5729 (build-shlib, build-moduile, build-module-asneeded): Use it.
5730 ($(common-objpfx)libc.so): Use $(shlib-lds).
5731 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5732 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5733
31fffa6b
RM
5734 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5735 DT_FLAGS/DT_FLAGS_1 with zero flags.
5736
4e34ac6a
RM
5737 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5738 linker script munging.
5739
fcfc776b
UD
57402011-07-02 Ulrich Drepper <drepper@gmail.com>
5741
5742 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5743 as 128-bit value.
5744 * crypt/sha512.c (sha512_process_block): Perform total addition using
5745 128-bit if possible.
5746 (__sha512_finish_ctx): Likewise.
5747 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5748 as 64-bit value.
5749 * crypt/sha256.c (SWAP64): Define.
5750 (sha256_process_block): Perform total addition using 64-bit if
5751 possible.
5752 (__sha256_finish_ctx): Likewise.
5753
99231d9a
UD
57542011-07-01 Ulrich Drepper <drepper@gmail.com>
5755
5756 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5758 * nscd/hstcache.c (cache_addhst): Likewise.
5759 * nscd/grpcache.c (cache_addgr): Likewise.
5760 * nscd/aicache.c (addhstaiX): Likewise
5761 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5762
445b4a53
TK
57632011-07-01 Thorsten Kukuk <kukuk@suse.de>
5764
5765 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5766 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5767 * nscd/hstcache.c (cache_addhst): Likewise.
5768 * nscd/grpcache.c (cache_addgr): Likewise.
5769 * nscd/aicache.c (addhstaiX): Likewise
5770
6d4d8e8e
AS
57712011-07-01 Andreas Schwab <schwab@redhat.com>
5772
5773 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5774 domain only when needed.
5775
89f654c5
AS
57762011-06-30 Andreas Schwab <schwab@redhat.com>
5777
5778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5779 is always restored.
5780
cf3b23ff
UD
57812011-06-29 Ulrich Drepper <drepper@gmail.com>
5782
5783 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5784 are re-adding the entry.
5785 * nscd/servicescache.c (cache_addserv): Likewise.
5786
751626f9
AJ
57872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5788
5789 * sysdeps/generic/dl-irel.h: fix protection against multiple
5790 inclusions.
5791 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5792
9113ea1f
UD
57932011-06-28 Ulrich Drepper <drepper@gmail.com>
5794
5c0b8d90
UD
5795 [BZ #12935]
5796 * malloc/memusage.sh: Fix quoting in message.
5797 * debug/xtrace.sh: Likewise.
5798
9113ea1f
UD
5799 * configure.in: Remove support for --experimental-malloc option, make
5800 it the default.
5801 * config.make.in: Likewise.
5802 * malloc/Makefile: Likewise.
5803
a4172181
AS
58042011-06-27 Andreas Schwab <schwab@redhat.com>
5805
5806 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5807 two-byte characters.
5808
78a7eee7
RM
58092011-06-27 Roland McGrath <roland@hack.frob.com>
5810
62bede13
RM
5811 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5812 AC_CACHE_CHECK invocation.
5813 * configure: Regenerated.
5814
78a7eee7
RM
5815 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5816
5ce33a62
UD
58172011-06-27 Ulrich Drepper <drepper@gmail.com>
5818
034807a9
UD
5819 [BZ #12350]
5820 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5821 bit from old_res_options.
5822
4902da17
UD
5823 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5824
5ce33a62
UD
5825 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5826 value type for setfct.
5827
c2344f56
L
58282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5829
5830 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5831 __gettimeofday instead of gettimeofday.
5832
68468076
UD
58332011-06-26 Ulrich Drepper <drepper@gmail.com>
5834
5835 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5836
acb0d739
L
58372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5838
5839 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5840
5841 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5842 info.
5843
8912479f
L
58442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5845
5846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5847 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5848 strcpy-sse2-unaligned strncpy-sse2-unaligned
5849 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5850 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5851 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5852 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5853 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5854 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5855 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5856 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5857 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5858 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5859 (STRCPY): Support SSE2 and SSSE3 versions.
5860
d5495a11
UD
58612011-06-24 Ulrich Drepper <drepper@gmail.com>
5862
5863 [BZ #12874]
5864 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5865 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5866 kernels which artificially limit size of requests.
5867
0b1cbaae
L
58682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5869
5870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5871 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5872 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5873 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5874 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5875 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5876 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5877 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5880 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5881 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5882 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5883 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5884 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5886 Enable unaligned load optimization for Intel Core i3, i5 and i7
5887 processors.
5888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5889 Define.
5890 (index_Fast_Unaligned_Load): Define.
5891 (HAS_FAST_UNALIGNED_LOAD): Define.
5892
07f494a0
MP
58932011-06-23 Marek Polacek <mpolacek@redhat.com>
5894
5895 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5896
fa3fc0fe
UD
58972011-06-22 Ulrich Drepper <drepper@gmail.com>
5898
5899 [BZ #12907]
5900 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5901 until it is clear that the information is realy needed.
5902 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5903
e12df166
AS
59042011-06-22 Andreas Schwab <schwab@redhat.com>
5905
5906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5907
852eb34d
UD
59082011-06-22 Ulrich Drepper <drepper@gmail.com>
5909
84e2a551
UD
5910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5911 /sys/devices/system/cpu/online if it is usable.
5912
852eb34d
UD
5913 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5914 reading the information from the /proc filesystem to once a second.
5915
6e502e19
UD
59162011-06-21 Andreas Jaeger <aj@suse.de>
5917
5918 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5919 NULL after inclusion of kernel headers.
5920
75d39ff2
UD
59212011-06-21 Ulrich Drepper <drepper@gmail.com>
5922
51f9aa6a
UD
5923 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5924 calls to internal_setent.
5925
c0244a9d
UD
5926 [BZ #12885]
5927 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5928 addresses using gethostbyname4_r ignore IPv4 addresses.
5929
c5e3c2ae
UD
5930 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5931 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5932
75d39ff2
UD
5933 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5934
42675c6f
DM
59352011-06-20 David S. Miller <davem@davemloft.net>
5936
5937 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5938 inclusions.
5939 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5940
5941 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5942 (elf_irel): Use it.
5943 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5944 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5945 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5946 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5947 * sysdeps/x86_64/dl-irel.h: Likewise.
5948
5949 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5950 * elf/dl-sym.c: Likewise.
5951
57912a71
UD
59522011-06-15 Ulrich Drepper <drepper@gmail.com>
5953
5954 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5955 need to dereference resplen2.
5956
ee22793d
AS
59572011-06-14 Andreas Schwab <schwab@redhat.com>
5958
5959 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5960
a9e836b0
UD
59612011-06-15 Ulrich Drepper <drepper@gmail.com>
5962
77fb9117
UD
5963 * Makeconfig: Define vardbdir and inst_vardbdir.
5964 * nss/Makefile: Add rules to install db-Makefile.
5965
40c1b22c
UD
5966 * nss/nss_db/db-XXX.c: Cleanup.
5967
9f2da732
UD
5968 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5969 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5970 GLIBC_PRIVATE.
5971 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5972 * nss/makedb.c: Implement -g option to specify that value strings
5973 are generated and should not be added to table iterated over for
5974 get*ent calls.
5975 * nss/nss_db/db-initgroups.c: New file.
5976
82e9a1f7
UD
5977 * nss/getent.c: Add support for initgroups lookups through getgrouplist
5978 interface.
5979
c41af17e
UD
5980 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5981 (internal_getgrouplist): Adjust to name change.
5982 Update use_initgroups_entry if this is not the first call.
5983 * nss/databases.def: Add initgroups entry.
5984
a9e836b0
UD
5985 * nss/makedb.c (compute_tables): Check result of multiple hash table
5986 sizes to minimize maximum chain length.
5987
2666d441
UD
59882011-06-14 Ulrich Drepper <drepper@gmail.com>
5989
5990 * Versions.def: Add entry for libnss_db.
5991 * shlib-versions: Likewise.
5992 * nss/Makefile: Add rules to build libnss_db.
5993 * nss/Versions: Add libnss_db information. Organize libnss_files
5994 entries better.
5995 * nss/db-Makefile: Add gshadow support. Change rules for the new
5996 makedb progra. Some minor improvements to generate smaller files.
5997 * nss/nss_db/nss_db.h: Move NSS database header data structures to
5998 here from...
5999 * nss/makedb.c: ...here.
6000 Improve database format to be smaller and require less memory at
6001 runtime.
6002 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6003 db anymore.
6004 * nss/nss_db/db-netgrp.c: Likewise.
6005 * nss/nss_db/db-open.c: Likewise.
6006 * nss/nss_files/flies-XXX.x: Adjust comments.
6007 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6008 * nss/nss_files/files-grp.c: Likewise.
6009 * nss/nss_files/files-hosts.c: Likewise.
6010 * nss/nss_files/files-network.c: Likewise.
6011 * nss/nss_files/files-proto.c: Likewise.
6012 * nss/nss_files/files-pwd.c: Likewise.
6013 * nss/nss_files/files-rpc.c: Likewise.
6014 * nss/nss_files/files-service.c: Likewise.
6015 * nss/nss_files/files-sgrp.c: Likewise.
6016 * nss/nss_files/files-spwd.c: Likewise.
6017 * nss/nss_db/db-alias.c: Removed.
6018 * nss/nss_db/dummy-db.h: Removed.
6019
9ee76b5a
UD
60202011-06-02 Ulrich Drepper <drepper@gmail.com>
6021
6022 * nss/makedb.c: Rewritten to not use database library.
6023 * nss/Makefile: Update to build new makedb program.
6024
c71ca1f8
AJ
60252011-06-14 Andreas Jaeger <aj@suse.de>
6026
6027 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6028 memset declaration.
6029
3154bfb8
UD
60302011-06-10 Andreas Schwab <schwab@redhat.com>
6031
6032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6033 tmpbuf.
6034
b350afab
RM
60352011-06-10 Roland McGrath <roland@hack.frob.com>
6036
decd4e50
RM
6037 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6038 * elf/Makefile ($(objpfx)ld.so): Likewise.
6039
5615eaf2
RM
6040 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6041 Don't list ld.so twice in dependencies.
6042
6043 * posix/bug-regex31.c: Include <stdlib.h>.
6044
6045 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6046
6047 * nis/nss_compat/compat-spwd.c
6048 (getspent_next_nss_netgr): Remove unused variable.
6049 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6050
6051 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6052 nonmembers" output to use the right array.
6053
6054 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6055
6056 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6057
6058 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6059 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6060 * catgets/gencat.c (read_input_file): Likewise.
6061 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6062
6063 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6064 variable definition inside #if's controlling its use.
6065
6066 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6067
6068 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6069
6070 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6071
6072 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6073 unreachable code.
6074
6075 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6076
b68e08db
RM
6077 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6078 * configure: Regenerated.
6079
b350afab
RM
6080 * Makerules: Revert last change.
6081 * elf/Makefile: Likewise.
6082
28368601
RM
60832011-06-09 Roland McGrath <roland@hack.frob.com>
6084
6085 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6086 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6087 (reloc-link): Likewise.
6088
11988f8f
UD
60892011-06-09 Ulrich Drepper <drepper@gmail.com>
6090
6091 * elf/Makefile: Add rules to build pldd.
6092 * elf/pldd.c: New file.
6093 * elf/pldd-xx.c: New file.
6094
e80fab37
UD
60952011-06-07 Ulrich Drepper <drepper@gmail.com>
6096
6097 * version.h: Update for 2.15 development version.
6098
9b849836
DM
60992011-06-07 David S. Miller <davem@davemloft.net>
6100
6101 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6102 ifuncs.
6103 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6104 elf_machine_lazy_rel): Likewise.
6105 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6107 elf_machine_lazy_rel): Likewise.
6108 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6109 dl_hwcap via passed in argument.
6110 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6111 Likewise.
6112
5a31b283
AK
61132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6114
6115 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6116
069e52f8
RM
61172011-06-06 Roland McGrath <roland@hack.frob.com>
6118
6119 [BZ #12849]
6120 * manual/fdl-1.1.texi: New file, verbatim from:
6121 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6122 * manual/lgpl-2.1.texi: New file, verbatim from:
6123 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6124 * manual/Makefile (licenses): New variable, list those new file names.
6125 (texis): Use it.
6126 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6127
6128 * manual/fdl.texi: File removed.
6129 * manual/lesser.texi: File removed.
6130 * manual/libc.texinfo (Copying, Documentation License):
6131 Use new @include file names, put @appendix directive before @include.
6132
f16846a5
JJ
61332011-06-04 Jakub Jelinek <jakub@redhat.com>
6134
6135 [BZ #12841]
6136 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6137 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6138 (mq_open): Add __NTH.
6139
3d29045b
L
61402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6141
6142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6143 Assume Intel Core i3/i5/i7 processor if AVX is available.
6144
8c297311
UD
61452011-05-31 Ulrich Drepper <drepper@gmail.com>
6146
6147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6148 typo.
6149
c8fc0c91
UD
61502011-05-31 Andreas Schwab <schwab@redhat.com>
6151
6152 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6153 memory. Use alloca_account. Fix memory leak when retrying.
6154
5b27a807
UD
61552011-05-31 Ulrich Drepper <drepper@gmail.com>
6156
356f8bc6
UD
6157 * version.h (RELEASE): Bump for 2.14 release.
6158 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6159
5b27a807
UD
6160 * config.make.in (RANLIB): Remove entry.
6161
01f16ab0
UD
61622011-05-30 Ulrich Drepper <drepper@gmail.com>
6163
41fce8bd
UD
6164 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6165 (libc.pot): Work around missing support for .ksh extension in xgettext.
6166
4769ae77
UD
6167 [BZ #12684]
6168 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6169 if both request failed.
6170 (send_dg): In case of server errors clear resplen or *resplen2.
6171
6b1e7d19
UD
6172 [BZ #12454]
6173 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6174 when there are multiple maps.
6175 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6176 (_dl_fini): Remove test here.
6177
01f16ab0
UD
6178 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6179
b1ebd700
UD
61802011-05-29 Ulrich Drepper <drepper@gmail.com>
6181
7ae22829
UD
6182 [BZ #12350]
6183 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6184 bit from old_res_options.
6185 (gaih_inet): Likewise.
6186
553149f6 6187 [BZ #11099]
18a84741 6188 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6189 as signed.
6190
652ffab1
UD
6191 * resolv/res_init.c (res_setoptions): Make the code more compact.
6192
16985fd0
UD
6193 [BZ #11558]
6194 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6195 set RES_USEVC.
6196
0464f746
UD
6197 [BZ #11634]
6198 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6199
7d17596c
UD
6200 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6201
cf6bbbd7
UD
6202 [BZ #11781]
6203 * malloc/malloc.h: Declare malloc hook variables as volatile.
6204
13f1ab36
UD
6205 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6206 in last patch.
6207
b1ebd700
UD
6208 [BZ #11799]
6209 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6210 raise in the comment.
80e2212d
UD
6211 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6213 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6214
ce67228d
UD
62152011-05-28 Ulrich Drepper <drepper@gmail.com>
6216
8887a920
UD
6217 [BZ #12811]
6218 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6219 grow the buffers more if it already has to be sufficient.
6220 (build_wcs_upper_buffer): Likewise.
6221 * posix/regexec.c (check_matching): Likewise.
6222 (clean_state_log_if_needed): Likewise.
6223 (extend_buffers): Don't enlarge buffers beyond size of the input
6224 buffer.
6225 Patches mostly by Emil Wojak <emil@wojak.eu>.
6226 * posix/bug-regex32.c: New file.
6227 * posix/Makefile (tests): Add bug-regex32.
6228
4f031072
UD
6229 * locale/findlocale.c (_nl_find_locale): Return right away if
6230 _nl_explode_name failed.
6231 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6232
d0478f0c
UD
6233 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6234
de81b246
UD
6235 * debug/xtrace.sh: Unify messages.
6236 * malloc/memusage.sh: Likewise.
6237
c738465a
UD
6238 [BZ #12813]
6239 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6240 time symbol from vDSO. Substitute with vsyscall if not available.
6241 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6242 __vdso_time.
6243
f1f929d7
UD
6244 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6245 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6246 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6247 Add sendmmsg and internal_sendmmsg.
6248 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6249 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6250 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6251
ce67228d
UD
6252 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6253 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6255
e57420c6
UD
62562011-05-27 Ulrich Drepper <drepper@gmail.com>
6257
a8509ca5
UD
6258 [BZ #12813]
6259 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6260 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6261 available.
6262 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6263 __vdso_getcpu.
6264
e57420c6
UD
6265 [BZ #12814]
6266 * iconvdata/Makefile (tests): Add bug-iconv9.
6267 * iconvdata/bug-iconv9.c: New file.
6268
4d07db15
AS
62692011-05-27 Andreas Schwab <schwab@redhat.com>
6270
6271 [BZ #12814]
6272 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6273
ea486f69
JJ
62742011-05-25 Jakub Jelinek <jakub@redhat.com>
6275
6276 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6277 (struct user_regs_struct): Change intcs field back to cs.
6278
6f038433
UD
62792011-05-25 Ulrich Drepper <drepper@gmail.com>
6280
6281 * po/ja.po: Update from translation team.
6282
67f86a25
UD
62832011-05-23 Ulrich Drepper <drepper@gmail.com>
6284
6285 [BZ #12795]
6286 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6287 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6288
def7fbd6
AS
62892011-05-20 Andreas Schwab <schwab@redhat.com>
6290
6291 * stdlib/longlong.h: Update from GCC.
6292
f50ef8f1
AS
62932011-05-23 Andreas Schwab <schwab@redhat.com>
6294
6295 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6296 parameter name.
6297 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6298 Add parameter name.
6299 (__sysconf): Pass it down.
6300
de7ce8f1
UD
63012011-05-22 Ulrich Drepper <drepper@gmail.com>
6302
f2962a71
UD
6303 [BZ #12671]
6304 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6305 some situations.
6306 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6307 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6308 add in in __libc_use_alloca calls. Adjust callers.
6309 (glob): Use malloc in some situations.
6310
de7ce8f1
UD
6311 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6312 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6313 pltexit.
6314
aec84f53
UD
63152011-05-21 Ulrich Drepper <drepper@gmail.com>
6316
05bb4a68
UD
6317 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6318 and CLOCK_BOOTTIME_ALARM.
6319
7ea72f99
UD
6320 [BZ #12782]
6321 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6322 is returned.
6323
7e4afad5
UD
6324 * string/_strerror.c (__strerror_r): Print negative errors as signed
6325 numbers.
6326
8e211fec
UD
6327 [BZ #12777]
6328 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6329 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6330 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6331
f7d82dc9
UD
6332 * configure.in: Fix typo in redirection and correct removal of test
6333 files in two cases.
6334
cc9e536d
UD
6335 [BZ #12788]
6336 * locale/setlocale.c (new_composite_name): Fix test to check for
6337 identical name of all categories.
6338
aec84f53
UD
6339 [BZ #12792]
6340 * libio/filedoalloc.c (local_isatty): New function.
6341 (_IO_file_doallocate): Use local_isatty.
6342 * stdio-common/perror.c (perror): In case a new stream is used
6343 forward the stream error.
6344 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6345 error flag.
6346
78e64fdc
RT
63472011-05-20 Ulrich Drepper <drepper@gmail.com>
6348
34a9094f
UD
6349 [BZ #11869]
6350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6351 alloca.
6352 * include/alloca.h (extend_alloca_account): Define.
6353
78e64fdc
RT
6354 [BZ #11857]
6355 * posix/regex.h: Fix comments with documentation of user-accessible
6356 fields after compilation and describe correct free'ing of pattern
6357 after re_compile_pattern.
6358 Patch by Reuben Thomas <rrt@sc3d.org>.
6359
457bddfc
RA
63602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6361
6362 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6363 and -mno-altivec to prevent the compiler from using Altivec and/or
6364 VSX instructions when the corresponding registers are not available.
6365
a4527b51
AS
63662011-05-19 Andreas Schwab <schwab@redhat.com>
6367
6368 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6369
ed690b2f
UD
63702011-05-19 Ulrich Drepper <drepper@gmail.com>
6371
6372 * libio/freopen.c (freopen): Use __dup2, not dup2.
6373 * libio/freopen64.c (freopen64): Likewise.
6374
8db73634
L
63752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6376
6377 [BZ #12775]
6378 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6379 * math/Makefile (tests): Add test-powl.
6380 (CFLAGS-test-powl.c): Define.
6381 * math/test-powl.c: New file.
6382
0a197a9d
L
63832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6384
6385 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6386
ee30c380
UD
63872011-05-17 Ulrich Drepper <drepper@gmail.com>
6388
6389 [BZ #11837]
6390 * iconvdata/gb18030.c: Update to GB18020-2005.
6391
6ce75379
UD
63922011-05-16 Ulrich Drepper <drepper@gmail.com>
6393
a4b89fd8
AR
6394 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6395 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6396 Patch by Aharon Robbins <arnold@skeeve.com>.
6397
ea389b12
UD
6398 [BZ #11892]
6399 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6400 on the stack.
6401
68a3f91f
UD
6402 [BZ #11895]
6403 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6404 through underflows.
6405
15cc7dd1
UD
6406 [BZ #12766]
6407 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6408 point to strings before performing equality test for error_one_per_line
6409 mode.
6410
f3799213
UD
6411 [BZ #11697]
6412 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6413
d79a9c94
UD
6414 [BZ #11820]
6415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6416 (struct user_fpregs_struct): Avoid __uint*_t types.
6417
56e5eb46
UD
6418 [BZ #6420]
6419 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6420 symbol info. Use it instead of calling _dl_addr locally.
6421 (lock_and_info): New function.
6422 (tr_freehook): Call lock_and_info and pass symbol info as additional
6423 parameter to tr_where.
6424 (tr_mallochook): Likewise.
6425 (tr_reallochook): Likewise.
6426 (tr_memalignhook): Likewise.
6427
6ce75379
UD
6428 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6429 used and couldn't be at all thread-safe.
6430
f8a3b5bf
UD
64312011-05-15 Ulrich Drepper <drepper@gmail.com>
6432
94b7cc37
UD
6433 * libio/freopen.c (freopen): Don't close old file descriptor
6434 before the new one is opened. Instead dup the new file descriptor
6435 to the old one after the new stream is created.
6436 * libio/freopen64.c (freopen64): Likewise.
6437 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6438 * libio/fileops.c (_IO_new_file_close_it): Handle new
6439 _IO_FLAGS2_NOCLOSE flag.
6440 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6441 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6442 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6443 _IO_FLAGS2_NOCLOSE flag.
6444 * include/unistd.h: Add hidden_proto for dup3.
6445 Define __have_dup3.
6446 * io/dup3.c: Define hidden symbol.
6447 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6448
bd25564e
UD
6449 [BZ #7101]
6450 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6451 when an incomplete long option is used.
6452 * posix/tst-getopt_long1.c: New file.
6453 * posix/Makefile (tests): Add tst-getopt_long1.
6454
c84cfef4
UD
6455 [BZ #10138]
6456 * scripts/config.guess: Update from autoconf-2.68.
6457 * scripts/config.sub: Likewise.
6458
3b85df27
UD
6459 [BZ #10157]
6460 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6461 tests into ...
6462 (has_cpuclock): ...this. New function.
6463 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6464 macro here based on has_cpuclock code.
6465
15a856b1
UD
6466 [BZ #10149]
6467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6468 First byte (not low byte) is now always NUL.
6469 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6470
05f399e6
UD
6471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6472 Use non-cancelable interfaces.
6473
10a52685 6474 [BZ #9809]
94ecc67d
UD
6475 * locale/iso-639.def: Add entry for Sorani.
6476
f8a3b5bf
UD
6477 [BZ #11901]
6478 * include/stdlib.h: Move include protection to the right place.
6479 Define abort_msg_s. Declare __abort_msg with it.
6480 * stdlib/abort.c (__abort_msg): Adjust type.
6481 * assert/assert.c (__assert_fail_base): New function. Majority
6482 of code from __assert_fail. Allocate memory for __abort_msg with
6483 mmap.
6484 (__assert_fail): Now call __assert_fail_base.
6485 * assert/assert-perr.c: Remove bulk of implementation. Use
6486 __assert_fail_base.
6487 * include/assert.hL Declare __assert_fail_base.
6488 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6489 mmap.
6490 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6491
1af4e298
UD
64922011-05-14 Ulrich Drepper <drepper@gmail.com>
6493
f8a3b5bf 6494 [BZ #11952]
d26dfc60
MG
6495 [BZ #12453]
6496 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6497 until all modules are registered in the DTV.
6498 * elf/Makefile: Add rules to build and run tst-tls19.
6499 * elf/tst-tls19.c: New file.
6500 * elf/tst-tls19mod1.c: New file.
6501 * elf/tst-tls19mod2.c: New file.
6502 * elf/tst-tls19mod3.c: New file.
6503 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6504
2fc54d6f
UD
6505 [BZ #12083]
6506 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6507 correctly.
6508
98d76b46
UD
6509 [BZ #12601]
6510 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6511 two-byte sequence errors.
6512 * iconvdata/Makefile (tests): Add bug-iconv8.
6513 * iconvdata/bug-iconv8.c: New file.
6514
da3c19ef
UD
6515 [BZ #12626]
6516 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6517 buf2 definition.
6518
ca408c15
UD
6519 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6520
d6f67f7d
UD
6521 [BZ #12432]
6522 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6523 (dummy_getcfa): New function.
6524 (init): Get _Unwind_GetCFA address, use dummy if not found.
6525 (backtrace_helper): In recursion check, also check whether CFA changes.
6526 (__backtrace): Completely initialize arg.
6527
1af4e298 6528 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6529 storing incomplete byte sequence in state object. Avoid testing for
6530 guaranteed too small input if we know there is enough data available.
1af4e298 6531
da62f81b
AS
65322011-05-11 Andreas Schwab <schwab@redhat.com>
6533
6534 * Makeconfig (+link-pie): Indent.
6535 * Rules (binaries-pie): Define if $(have-fpie) and
6536 $(build-shared).
6537 (binaries-shared): Also filter out $(binaries-pie).
6538 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6539 * nscd/Makefile (others-pie): Add nscd.
6540 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6541 ($(objpfx)nscd): Remove command override.
6542 * login/Makefile (others-pie): Add pt_chown.
6543 ($(objpfx)pt_chown): Remove command override.
6544 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6545 remove command overrides.
6546
fcabc0f8
UD
65472011-05-13 Ulrich Drepper <drepper@gmail.com>
6548
20030ae6
UD
6549 * libio/tst_putwc.c: Fix error messages.
6550
fcabc0f8
UD
6551 [BZ #12724]
6552 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6553 currently writing and seek to current position when not.
6554 * libio/Makefile (tests): Add bug-fclose1.
6555 * libio/bug-fclose1.c: New file.
6556
320a5dc0
PB
65572011-05-12 Ulrich Drepper <drepper@gmail.com>
6558
6559 [BZ #12511]
6560 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6561 don't set DF_1_NODELETE here.
6562 (do_lookup_x): When entering new entry test for copy relocation
6563 and if necessary set DF_1_NODELETE flag.
6564 * elf/tst-unique4.cc: New file.
6565 * elf/tst-unique4.h: New file.
6566 * elf/tst-unique4lib.cc: New file.
6567 * elf/Makefile: Add rules to build and run tst-unique4.
6568 Patch by Piotr Bury <pbury@goahead.com>.
6569
22836f52
UD
65702011-05-11 Ulrich Drepper <drepper@gmail.com>
6571
f574184a
UD
6572 [BZ #12052]
6573 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6574
e1fb097f
UD
6575 [BZ #12625]
6576 * misc/mntent_r.c (addmntent): Flush the stream after the output
6577
22836f52
UD
6578 [BZ #12393]
6579 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6580 (is_trusted_path_normalize): Skip initial colon. Append slash
6581 to empty buffer. Duplicate is_trusted_path code but allow
6582 constructed patch to be prefix.
6583 (is_dst): Allow $ORIGIN followed by /.
6584 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6585 Correct testing of result of is_trusted_path_normalize
6586 (decompose_rpath): Fix warning.
6587
7b3b0b2a
UD
65882011-05-10 Ulrich Drepper <drepper@gmail.com>
6589
6590 [BZ #11257]
6591 * grp/initgroups.c (internal_getgrouplist): When we found the service
6592 list through the initgroups entry in nsswitch.conf do not always
6593 continue on a successful lookup. Don't always use the
eac80ce2 6594 __nss_group_database value if it is set.
7b3b0b2a
UD
6595 * nss/nsswitch.conf (initgroups): Change action for successful db
6596 lookup to continue for compatibility.
6597
2a81eaa5
UD
65982011-05-09 Ulrich Drepper <drepper@gmail.com>
6599
be97a69e
UD
6600 [BZ #11532]
6601 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6602 and CP774 modules.
6603 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6604 and CP774 modules.
6605 * iconvdata/tst-tables.sh: Likewise.
6606 * iconvdata/cp770.c: New file.
6607 * iconvdata/cp771.c: New file.
6608 * iconvdata/cp772.c: New file.
6609 * iconvdata/cp773.c: New file.
6610 * iconvdata/cp774.c: New file.
6611 * iconvdata/testdata/CP770: New file.
6612 * iconvdata/testdata/CP770..UTF8: New file.
6613 * iconvdata/testdata/CP771: New file.
6614 * iconvdata/testdata/CP771..UTF8: New file.
6615 * iconvdata/testdata/CP772: New file.
6616 * iconvdata/testdata/CP772..UTF8: New file.
6617 * iconvdata/testdata/CP773: New file.
6618 * iconvdata/testdata/CP773..UTF8: New file.
6619 * iconvdata/testdata/CP774: New file.
6620 * iconvdata/testdata/CP774..UTF8: New file.
6621
6622 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6623 END CHARMAP line.
6624 * iconvdata/gen-8bit-gap.sh: Likewise.
6625 * iconvdata/gen-8bit.sh: Likewise.
6626
c1e9e399
UD
6627 * locale/iso-639.def: Add ary entry.
6628
24c55fb3 6629 [BZ #11258]
96b4b1b0
UD
6630 * locale/C-translit.h.in: Add U20A1 transliteration.
6631
bdc2f971
KB
6632 [BZ #12178]
6633 * locale/iso-639.def: Add wae entry.
6634 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6635
2952b117
UD
6636 [BZ #12545]
6637 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6638 for n.
6639
2a81eaa5
UD
6640 [BZ #12711]
6641 * locale/C-translit.h.in: Add entry for U20B9.
6642 Patch by pravin.d.s@gmail.com.
6643
28377d1b
UD
66442011-05-08 Ulrich Drepper <drepper@gmail.com>
6645
7fb90fb8
UD
6646 [BZ #12713]
6647 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6648 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6649 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6650 in rtld. Use *stat64.
7fb90fb8 6651 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6652 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6653 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6654 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6655 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6656 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6657 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6658 __fstatat64 macros.
7fb90fb8
UD
6659 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6660 * dirent/rewinddir.c: Add libc_hidden_def.
6661 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6662 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6663
28377d1b
UD
6664 * include/dirent.h (__alloc_dir): Add flags parameter.
6665 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6666 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6667 __alloc_dir.
6668 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6669 from fdopendir if O_CLOEXEC is already set.
6670
66bdbaa4
AM
66712011-03-15 Alan Modra <amodra@gmail.com>
6672
6673 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6674 l_tls_firstbyte_offset non-zero. Save padding offset in
6675 l_tls_firstbyte_offset for later use.
6676 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6677 freeing static tls block.
6678
95721191
JN
66792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6680
6681 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6682 where #ifdef was intended. The intent is to prevent ARG_MAX from
6683 being defined by the kernel headers.
6684
f87dfb1f
UD
66852011-05-07 Ulrich Drepper <drepper@gmail.com>
6686
6687 [BZ #12734]
6688 * resolv/resolv.h: Define RES_NOTLDQUERY.
6689 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6690 no-tld-query and set RES_NOTLDQUERY.
6691 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6692 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6693 modern BIND to search name as TLD unless forbidden.
6694
47c3cd7a
UD
66952011-05-07 Petr Baudis <pasky@suse.cz>
6696 Ulrich Drepper <drepper@gmail.com>
6697
6698 [BZ #12393]
6699 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6700 (is_trusted_path): ...to here.
c1e9ea35 6701 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6702 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6703 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6704
8a35c912
PP
67052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6706
6707 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6708 __BEGIN/__END_DECLS.
6709
acd41f47
UD
67102011-05-06 Ulrich Drepper <drepper@gmail.com>
6711
6712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6713 NSS_STATUS_NOTFOUND if no record was found.
6714
597df647
AS
67152011-05-05 Andreas Schwab <schwab@redhat.com>
6716
6717 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6718 (headers-not-in-tirpc): Remove rpc/netdb.h
6719 * resolv/netdb.h: Revert last change.
6720
b9af1301
PP
67212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6722
6723 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6724 circular dependency between libgcc.a and libc.a.
6725
4e34d5f5
AS
67262011-05-05 Andreas Schwab <schwab@redhat.com>
6727
6728 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6729 * nis/Makefile: Don't install rpcsvc/*.
6730 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6731 instead of <rpc/types.h>.
6732 (MAXHOSTNAMELEN): Define.
6733
00ee369c
AS
67342011-05-03 Andreas Schwab <schwab@redhat.com>
6735
6736 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6737
0b592a30
MB
67382011-04-28 Maciej Babinski <mbabinski@google.com>
6739
6740 [BZ #12714]
6741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6742 gethostbyname4_r when IPv6 results are possible.
6743
6e04cbbe
UD
67442011-05-02 Ulrich Drepper <drepper@gmail.com>
6745
6746 [BZ #12723]
6747 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6748 _PC_PIPE_BUF handling.
6749
e4ecafe0
BH
67502011-04-30 Bruno Haible <bruno@clisp.org>
6751
6752 [BZ #12717]
6753 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6754 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6755 to 'int'.
6756 * inet/getnameinfo.c (getnameinfo): Likewise.
6757
125ee683
UD
67582011-04-29 Ulrich Drepper <drepper@gmail.com>
6759
6760 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6761 to groups setting in database lookup.
6762 * nss/nsswitch.conf: Add initgroups entry.
6763
b722481a
EB
67642011-04-22 Ulrich Drepper <drepper@gmail.com>
6765
6766 [BZ #12685]
6767 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6768 mode string.
6769 Patch by Eric Blake <eblake@redhat.com>.
6770
4df46dbd
L
67712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6772
6773 * sunrpc/Makefile (need-export-routines): Add svc_run.
6774 (routines): Remove svc_run.
6775 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6776 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6777 * sunrpc/svc_run.c (svc_run): Likewise.
6778 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6779
e84142d2
UD
67802011-04-21 Ulrich Drepper <drepper@gmail.com>
6781
6782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6783 problem in reallocation in last patch.
6784
877175d8
UD
67852011-04-20 Ulrich Drepper <drepper@gmail.com>
6786
6787 * sunrpc/Makefile: Move inclusion of Rules.
6788
ab8eed78
UD
67892011-04-19 Ulrich Drepper <drepper@gmail.com>
6790
6791 * nss/nss_files/files-initgroups.c: New file.
6792 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6793 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6794 _nss_files_initgroups_dyn.
6795
e3d8f584
RS
67962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6797
6798 * elf/elf.h (R_ARM_IRELATIVE): Define.
6799
af190f45
UD
68002011-04-19 Ulrich Drepper <drepper@gmail.com>
6801
6802 * po/ru.po: Update from translation team.
6803
53cf59ef
UD
68042011-04-17 Ulrich Drepper <drepper@gmail.com>
6805
6806 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6807 dependencies.
6808
4c559bcd
MF
68092011-02-06 Mike Frysinger <vapier@gentoo.org>
6810
6811 [BZ #12653]
6812 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6813 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6814 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6816 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6817
4420675c
AS
68182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6819
6820 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6821 differing bytes.
6822 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6823 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6824 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6825
75ea32ab
UD
68262011-04-17 Ulrich Drepper <drepper@gmail.com>
6827
6828 [BZ #12420]
6829 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6830 storing it.
6831 * stdlib/bug-getcontext.c: New file.
6832 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6833
27390476
AK
68342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6835
6836 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6837 instructions into .machine "z9-109".
6838 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6839 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6840
10442705
AK
68412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6842
6843 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6844 between environment variables and auxiliary vector.
6845
7b57bfe5
UD
68462011-04-16 Ulrich Drepper <drepper@gmail.com>
6847
6848 * Makefile: Add rules to build linkobj/libc.so.
6849 * include/libc-symbols.h: Define libc_hidden_nolink.
6850 * include/rpc/auth.h: Mark functions which are to be hidden.
6851 * include/rpc/auth_des.h: Likewise.
6852 * include/rpc/auth_unix.h: Likewise.
6853 * include/rpc/clnt.h: Likewise.
6854 * include/rpc/des_crypt.h: Likewise.
6855 * include/rpc/key_prot.h: Likewise.
6856 * include/rpc/pmap_clnt.h: Likewise.
6857 * include/rpc/pmap_prot.h: Likewise.
6858 * include/rpc/pmap_rmt.h: Likewise.
6859 * include/rpc/rpc_msg.h: Likewise.
6860 * include/rpc/svc.h: Likewise.
6861 * include/rpc/svc_auth.h: Likewise.
6862 * include/rpc/xdr.h: Likewise.
6863 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6864 * nss/Makefile: Likewise.
6865 * sunrpc/Makefile: Don't install headers. Build library with normal
6866 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6867 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6868 for the compat linking library. Remove use of INTDEF/INTUSE.
6869 * sunrpc/auth_none.c: Likewise.
6870 * sunrpc/auth_unix.c: Likewise.
6871 * sunrpc/authdes_prot.c: Likewise.
6872 * sunrpc/authuxprot.c: Likewise.
6873 * sunrpc/clnt_gen.c: Likewise.
6874 * sunrpc/clnt_perr.c: Likewise.
6875 * sunrpc/clnt_raw.c: Likewise.
6876 * sunrpc/clnt_simp.c: Likewise.
6877 * sunrpc/clnt_tcp.c: Likewise.
6878 * sunrpc/clnt_udp.c: Likewise.
6879 * sunrpc/clnt_unix.c: Likewise.
6880 * sunrpc/des_crypt.c: Likewise.
6881 * sunrpc/des_soft.c: Likewise.
6882 * sunrpc/get_myaddr.c: Likewise.
6883 * sunrpc/key_call.c: Likewise.
6884 * sunrpc/key_prot.c: Likewise.
6885 * sunrpc/netname.c: Likewise.
6886 * sunrpc/pm_getmaps.c: Likewise.
6887 * sunrpc/pm_getport.c: Likewise.
6888 * sunrpc/pmap_clnt.c: Likewise.
6889 * sunrpc/pmap_prot.c: Likewise.
6890 * sunrpc/pmap_prot2.c: Likewise.
6891 * sunrpc/pmap_rmt.c: Likewise.
6892 * sunrpc/publickey.c: Likewise.
6893 * sunrpc/rpc_cmsg.c: Likewise.
6894 * sunrpc/rpc_common.c: Likewise.
6895 * sunrpc/rpc_dtable.c: Likewise.
6896 * sunrpc/rpc_prot.c: Likewise.
6897 * sunrpc/rpc_thread.c: Likewise.
6898 * sunrpc/rtime.c: Likewise.
6899 * sunrpc/svc.c: Likewise.
6900 * sunrpc/svc_auth.c: Likewise.
6901 * sunrpc/svc_authux.c: Likewise.
6902 * sunrpc/svc_raw.c: Likewise.
6903 * sunrpc/svc_run.c: Likewise.
6904 * sunrpc/svc_simple.c: Likewise.
6905 * sunrpc/svc_tcp.c: Likewise.
6906 * sunrpc/svc_udp.c: Likewise.
6907 * sunrpc/svc_unix.c: Likewise.
6908 * sunrpc/svcauth_des.c: Likewise.
6909 * sunrpc/xcrypt.c: Likewise.
6910 * sunrpc/xdr.c: Likewise.
6911 * sunrpc/xdr_array.c: Likewise.
6912 * sunrpc/xdr_float.c: Likewise.
6913 * sunrpc/xdr_intXX_t.c: Likewise.
6914 * sunrpc/xdr_mem.c: Likewise.
6915 * sunrpc/xdr_rec.c: Likewise.
6916 * sunrpc/xdr_ref.c: Likewise.
6917 * sunrpc/xdr_sizeof.c: Likewise.
6918 * sunrpc/xdr_stdio.c: Likewise.
6919
e6c61494
UD
69202011-04-10 Ulrich Drepper <drepper@gmail.com>
6921
6922 [BZ #12650]
6923 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6924 * sysdeps/ia64/dl-tls.h: Likewise.
6925 * sysdeps/powerpc/dl-tls.h: Likewise.
6926 * sysdeps/s390/dl-tls.h: Likewise.
6927 * sysdeps/sh/dl-tls.h: Likewise.
6928 * sysdeps/sparc/dl-tls.h: Likewise.
6929 * sysdeps/x86_64/dl-tls.h: Likewise.
6930 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6931
34fe483e
AS
69322011-03-14 Andreas Schwab <schwab@redhat.com>
6933
6934 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6935 rpath element also skip the following colon.
6936 (expand_dynamic_string_token): Add is_path parameter and pass
6937 down to DL_DST_REQUIRED and _dl_dst_substitute.
6938 (decompose_rpath): Call expand_dynamic_string_token with
6939 non-zero is_path. Ignore empty rpaths.
6940 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6941 with zero is_path.
6942
f12a32e6
AS
69432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6944
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6946 Make cancelable.
6947
38a7d692
UD
69482011-04-09 Ulrich Drepper <drepper@gmail.com>
6949
6950 [BZ #12655]
6951 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6952 Patch by Filipe David Manana <fdmanana@apache.org>.
6953
e451d22b
AS
69542011-04-07 Andreas Schwab <schwab@redhat.com>
6955
6956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6957 Maintain aligned stack.
6958 (CHECK_RSP): Remove unused macro.
6959
dedc7c7b
UD
69602011-04-03 Ulrich Drepper <drepper@gmail.com>
6961
6962 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6963 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6964
94521213
UD
69652011-04-02 Ulrich Drepper <drepper@gmail.com>
6966
6967 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6968
8cb700c0 6969 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 6970
0354e355
L
69712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
6972
6973 [BZ #12518]
6974 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6975 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6976 * sysdeps/x86_64/memmove.c: New file.
6977 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6978 (memcpy): Renamed to ...
6979 (__new_memcpy): This.
6980 (memcpy): Provide GLIBC_2_14 memcpy.
6981 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6982 (memcpy): Provide GLIBC_2_2_5 memcpy.
6983
8593482f
UD
69842011-04-01 Ulrich Drepper <drepper@gmail.com>
6985
6986 [BZ #12631]
6987 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6988
81a5726b
AS
69892011-03-30 Andreas Schwab <schwab@redhat.com>
6990
6991 * misc/syncfs.c: New file.
6992 * misc/Makefile (routines): Add syncfs.
6993 * posix/unistd.h: Declare syncfs.
6994 * sysdeps/unix/syscalls.list: Add syncfs.
6995
00e5419f
AS
69962011-04-01 Andreas Schwab <schwab@redhat.com>
6997
6998 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6999 open_by_handle_at.
7000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7003 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7005 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7007
748876bf
UD
70082011-04-01 Ulrich Drepper <drepper@gmail.com>
7009
658e451d
UD
7010 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7011 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7012 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7014 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7016 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7017
748876bf
UD
7018 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7019 sync_file_range.c with -fexceptions.
7020 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7021 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7022 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7023 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7024 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7025 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7026 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7027 sync_file_range as cancellation point
7028 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7029 now a wrapper around __call_sync_file_range with cancellation handling.
7030 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7031 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7032 function name to __call_sync_file_range.
7033 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7034 Add call_sync_file_range.
748876bf 7035
6e63d5e1
AS
70362011-04-01 Andreas Schwab <schwab@redhat.com>
7037
7038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7039 bits/timex.h.
6e63d5e1 7040
46998f74
UD
70412011-04-01 Ulrich Drepper <drepper@gmail.com>
7042
4c1423ed
UD
7043 * iconv/iconv.h: Fix typo in comment.
7044 * io/fcntl.h: Likewise.
7045 * libio/stdio.h: Likewise.
7046 * posix/spawn.h: Likewise.
7047 * posix/unistd.h: Likewise.
7048 * stdlib/stdlib.h: Likewise.
7049 * time/time.h: Likewise.
7050 * wcsmbs/wchar.h: Likewise.
7051
158648c0
UD
7052 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7053 open_by_handle): Add.
7054 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7055 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7056 Augment a few comments.
7057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7059 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7062 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7063 open_by_handle.
7064
46998f74
UD
7065 * io/fcntl.h (AT_EMPTY_PATH): Define.
7066
83fe108b
UD
70672011-03-30 Ulrich Drepper <drepper@gmail.com>
7068
7069 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7070 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7071 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7072 to...
7073 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7074 * Versions.def: Add GLIBC_2.14.
7075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7076 Export.
83fe108b 7077
bb242059
UD
70782011-03-22 Ulrich Drepper <drepper@gmail.com>
7079
7080 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7081 round counter.
7082 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7083
c97a1282
L
70842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7085
7086 [BZ #12597]
7087 * string/test-strncmp.c (do_page_test): New function.
7088 (check2): Likewise.
7089 (test_main): Call check2.
7090 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7091
2a115601
UD
70922011-03-20 Ulrich Drepper <drepper@gmail.com>
7093
7094 [BZ #12587]
7095 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7096 Handle cache information in CPU leaf 4.
7097 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7098
8126d904
UD
70992011-03-18 Ulrich Drepper <drepper@gmail.com>
7100
042c49c6 7101 [BZ #12583]
8126d904
UD
7102 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7103 character representation.
7104 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7105
ccfe366e
RA
71062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7107
7108 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7109 END(__isnan) to END(__isnanf) to match function entry point/label
7110 EALIGN(__isnanf,...).
7111
c6e13027
JJ
71122011-03-10 Jakub Jelinek <jakub@redhat.com>
7113
7114 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7115
33f85a3f
UD
71162011-03-10 Ulrich Drepper <drepper@gmail.com>
7117
028478fa
UD
7118 [BZ #12510]
7119 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7120 copy from the symbol referenced in the relocation to initialize the
7121 used variable.
7122 Patch by Piotr Bury <pbury@goahead.com>.
7123 * elf/Makefile: Add rules to build and tst-unique3.
7124 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7125 * elf/tst-unique3.cc: New file.
7126 * elf/tst-unique3.h: New file.
7127 * elf/tst-unique3lib.cc: New file.
7128 * elf/tst-unique3lib2.cc: New file.
7129
33f85a3f
UD
7130 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7131
03592fc7
MF
71322011-03-10 Mike Frysinger <vapier@gentoo.org>
7133
7134 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7135 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7136 to _start.
03592fc7 7137
6a5ee102
UD
71382011-03-06 Ulrich Drepper <drepper@gmail.com>
7139
7140 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7141 to-be-loaded object along a path to loader is ld.so.
7142
7e4ba49c
HJ
71432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7144 Ulrich Drepper <drepper@gmail.com>
7145
7146 * sysdeps/x86_64/memset.S: After aligning destination, code
7147 branches to different locations depending on the value of
7148 misalignment, when multiarch is enabled. Fix this.
7149
71502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7151
7152 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7153 Set _x86_64_preferred_memory_instruction for AMD processsors.
7154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7155 Set bit_Prefer_SSE_for_memop for AMD processors.
7156
13a804de
UD
71572011-03-04 Ulrich Drepper <drepper@gmail.com>
7158
7159 * libio/fmemopen.c (fmemopen): Optimize a bit.
7160
9d25c392
AS
71612011-03-03 Andreas Schwab <schwab@redhat.com>
7162
7163 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7164
a5543c6a
RM
71652011-03-03 Roland McGrath <roland@redhat.com>
7166
7167 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7168
012d35f7
DM
71692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7170
7e4ba49c 7171 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7172 __bzero_ultra1 instead of __memset_ultra1.
7173
4bff6e01
AS
71742011-02-23 Andreas Schwab <schwab@redhat.com>
7175 Ulrich Drepper <drepper@gmail.com>
7176
7177 [BZ #12509]
7178 * include/link.h (struct link_map): Add l_orig_initfini.
7179 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7180 returning unsuccessfully.
7181 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7182 close of a file loaded at startup, restore the original l_initfini
7183 list.
7184 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7185 list, store the pointer.
7186 * elf/Makefile ($(objpfx)noload-mem): New rule.
7187 (noload-ENV): Define.
7188 (tests): Add $(objpfx)noload-mem.
7189 * elf/noload.c: Include <memcheck.h>.
7190 (main): Call mtrace. Close all opened handles.
7191
f2092faf
AS
71922011-02-17 Andreas Schwab <schwab@redhat.com>
7193
7194 [BZ #12454]
7195 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7196 dependencies are missing.
7197
6c8a2e88
ST
71982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7199
f2092faf 7200 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7201 Hurd needs munmap.
7202 * sysdeps/mach/hurd/ifreq.h: New file.
7203
84a42118
PB
72042011-01-27 Petr Baudis <pasky@suse.cz>
7205 Ulrich Drepper <drepper@gmail.com>
7206
071f805e 7207 [BZ 12445]#
84a42118
PB
7208 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7209 to extend_alloca().
7210 * stdio-common/bug23.c: New file.
7211 * stdio-common/Makefile (tests): Add bug23.
7212
e23fe25b
AS
72132010-09-28 Andreas Schwab <schwab@redhat.com>
7214 Ulrich Drepper <drepper@gmail.com>
7215
7216 [BZ #12489]
7217 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7218 before performing relro protection. At old place add assertion
7219 to make sure nothing changed.
7220
d3f02e10
NS
72212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7222 Glauber de Oliveira Costa <glommer@gmail.com>
7223
7224 * elf/elf.h: Add new ARM TLS relocs.
7225
d55fd7a5
RA
72262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7227
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7229 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7230 cast from r3.
7231 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7232 'tests' variable.
7233 * sysdeps/wordsize-64/tst-writev.c: New file.
7234
2206397e
RA
72352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7236
7237 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7238 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7239 insns in _dl_start to prevent a TOC reference before relocs are
7240 resolved.
7241
e9433893
UD
72422011-02-15 Ulrich Drepper <drepper@gmail.com>
7243
7244 [BZ #12469]
7245 * Makeconfig: Remove RANLIB definition.
7246 * Makerules: Don't use RANLIB.
7247 * aclocal.m4: Remove ranlib test.
7248 * configure.in: No need to check for ranlib.
7249 * elf/rtld-Rules: Don't use RANLIB.
7250
f75286c6
ST
72512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7252
8e31c82d
ST
7253 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7254 protection macro.
7255 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7256 inclusion protection macro.
7257
f75286c6
ST
7258 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7259 SIGRTMIN and SIGRTMAX and print information in that case only when
7260 SIGRTMIN is defined.
7261
c1d0e639
JJ
72622011-02-11 Jakub Jelinek <jakub@redhat.com>
7263
7264 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7265 arginfo fn returning -1.
7266
7267 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7268 and thousands string is zero terminated.
7269
edf9294e
AS
72702011-02-03 Andreas Schwab <schwab@redhat.com>
7271
7272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7273 sysdeps/unix/sysv/linux/bits/socket.h.
7274
2b7e92df
ST
72752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7276
edf9294e
AS
7277 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7278 (__CPU_COUNT): Remove old macros.
7279 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7280 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7281 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7282 (__sched_cpualloc, __sched_cpufree): Add declarations.
7283
a4c7ea7b
UD
72842011-02-05 Ulrich Drepper <drepper@gmail.com>
7285
7286 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7287 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7288 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7289 (readdhstai): Return value of addhstaiX call.
7290 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7291 (addgrbyX): Return value returned by cache_addgr.
7292 (readdgrbyname): Return value returned by addgrbyX.
7293 (readdgrbygid): Likewise.
7294 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7295 (addpwbyX): Return value returned by cache_addpw.
7296 (readdpwbyname): Return value returned by addhstbyX.
7297 (readdpwbyuid): Likewise.
7298 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7299 (addservbyX): Return value returned by cache_addserv.
7300 (readdservbyname): Return value returned by addservbyX:
7301 (readdservbyport): Likewise.
7302 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7303 (addhstbyX): Return value returned by cache_addhst.
7304 (readdhstbyname): Return value returned by addhstbyX.
7305 (readdhstbyaddr): Likewise.
7306 (readdhstbynamev6): Likewise.
7307 (readdhstbyaddrv6): Likewise.
7308 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7309 (readdinitgroups): Return value returned by addinitgroupsX.
7310 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7311 (prune_cache): Keep track of timeout value of re-added entries.
7312 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7313 * nscd/nscd.h: Adjust prototypes of readd* functions.
7314
a0bf67cc
RM
73152011-02-04 Roland McGrath <roland@redhat.com>
7316
7317 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7318 (nis_stats): Likewise.
7319 * nis/nis_modify.c (nis_modify): Likewise.
7320 * nis/nis_remove.c (nis_remove): Likewise.
7321 * nis/nis_add.c (nis_add): Likewise.
7322
7323 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7324
7325 * posix/fnmatch_loop.c: Add some consts.
7326
7327 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7328
435b95eb
L
73292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7330
7331 [BZ #12460]
7332 * config.make.in (config-cflags-novzeroupper): Define.
7333 * configure.in: Substitute libc_cv_cc_novzeroupper.
7334 * elf/Makefile (AVX-CFLAGS): Define.
7335 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7336 (CFLAGS-tst-auditmod4a.c): Likewise.
7337 (CFLAGS-tst-auditmod4b.c): Likewise.
7338 (CFLAGS-tst-auditmod6b.c): Likewise.
7339 (CFLAGS-tst-auditmod6c.c): Likewise.
7340 (CFLAGS-tst-auditmod7b.c): Likewise.
7341 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7342
8517b15e
UD
73432011-02-02 Ulrich Drepper <drepper@gmail.com>
7344
7345 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7346 function to the callback.
7347 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7348
10a656fe
AS
73492011-02-02 Andreas Schwab <schwab@redhat.com>
7350
7351 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7352 of errno.
7353
968dad0a
UD
73542011-01-19 Ulrich Drepper <drepper@gmail.com>
7355
9f94d2ea 7356 [BZ #11724]
968dad0a
UD
7357 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7358 of constructors.
7359 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7360 of destructors.
7361 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7362
7363 [BZ #11724]
7364 * elf/Makefile: Add rules to build and run new test.
7365 * elf/tst-initorder.c: New file.
7366 * elf/tst-initorder.exp: New file.
7367 * elf/tst-initordera1.c: New file.
7368 * elf/tst-initordera2.c: New file.
7369 * elf/tst-initordera3.c: New file.
7370 * elf/tst-initordera4.c: New file.
7371 * elf/tst-initorderb1.c: New file.
7372 * elf/tst-initorderb2.c: New file.
7373 * elf/tst-order-a1.c: New file.
7374 * elf/tst-order-a2.c: New file.
7375 * elf/tst-order-a3.c: New file.
7376 * elf/tst-order-a4.c: New file.
7377 * elf/tst-order-b1.c: New file.
7378 * elf/tst-order-b2.c: New file.
7379 * elf/tst-order-main.c: New file.
7380 New test case by George Gensure <werkt0@gmail.com>.
7381
86e92359
UD
73822010-10-01 Andreas Schwab <schwab@redhat.com>
7383
7384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7385 decoding ACE if AI_CANONIDN.
7386
5d5732b0
UD
73872011-01-18 Ulrich Drepper <drepper@gmail.com>
7388
7389 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7390
a77e8cbc
UD
73912011-01-17 Ulrich Drepper <drepper@gmail.com>
7392
6392473f
UD
7393 * version.h (RELEASE): Bump for 2.13 release.
7394 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7395
620a0529
UD
7396 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7397
18ba70a5
UD
7398 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7399 MADV_NOHUGEPAGE.
32465c3e
UD
7400 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7402 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7403 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7404 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7405 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7406
c0dafcf1
UD
7407 * posix/getconf.c: Update copyright year.
7408 * catgets/gencat.c: Likewise.
7409 * csu/version.c: Likewise.
7410 * debug/catchsegv.sh: Likewise.
7411 * debug/xtrace.sh: Likewise.
7412 * elf/ldconfig.c: Likewise.
7413 * elf/ldd.bash.in: Likewise.
7414 * elf/sprof.c (print_version): Likewise.
7415 * iconv/iconv_prog.c: Likewise.
7416 * iconv/iconvconfig.c: Likewise.
7417 * locale/programs/locale.c: Likewise.
7418 * locale/programs/localedef.c: Likewise.
7419 * malloc/memusage.sh: Likewise.
7420 * malloc/mtrace.pl: Likewise.
7421 * nscd/nscd.c (print_version): Likewise.
7422 * nss/getent.c: Likewise.
7423
a77e8cbc
UD
7424 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7425 PF_CAIF, and PF_ALG.
7426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7427
77e8bddf
AS
74282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7429
1f20b93a
AS
7430 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7431 (modules-names): Use them.
7432 (ifunc-test-modules, ifunc-pie-tests): Define.
7433 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7434 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7435 (test-extras): Likewise.
7436 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7437 $(compile-command.c).
7438 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7439 (all-built-dso): Define.
7440 (check-textrel.out, check-execstack.out): Depend on it.
7441
77e8bddf
AS
7442 * configure.in: Don't override --enable-multi-arch.
7443
bc425b33
UD
74442011-01-15 Ulrich Drepper <drepper@gmail.com>
7445
7446 [BZ #6812]
7447 * nscd/hstcache.c (tryagain): Define.
7448 (cache_addhst): Return tryagain not notfound for temporary errors.
7449 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7450 failed.
7451
794c3ad3
UD
74522011-01-14 Ulrich Drepper <drepper@gmail.com>
7453
70181fdd
UD
7454 [BZ #10563]
7455 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7456 to make the syscall.
7457 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7458
794c3ad3
UD
7459 [BZ #12378]
7460 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7461 and fall back to matching as normal character if the string ends before
7462 the matching ']' is found. This is what POSIX requires.
7463 * posix/testfnm.c: Adjust test result.
7464 * posix/globtest.sh: Adjust test result. Add new test.
7465 * posix/tst-fnmatch.input: Likewise.
7466 * posix/tst-fnmatch2.c: Add new test.
7467
68dc9497
AS
74682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7469
7470 * elf/Makefile (check-execstack): Revert last change. Depend on
7471 check-execstack.h.
7472 (check-execstack.h): New target.
7473 (generated): Add check-execstack.h.
7474 * elf/check-execstack.c: Include "check-execstack.h".
7475 (main): Revert last change.
7476 (handle_file): Return zero if GNU_STACK is absent and
7477 DEFAULT_STACK_PERMS doesn't include PF_X.
7478
451f001b
UD
74792011-01-13 Ulrich Drepper <drepper@gmail.com>
7480
cfa28e56
UD
7481 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7482 in child fails because the descriptor is already closed.
8cf8ce17
UD
7483 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7484 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7485 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7486
1086d70d
UD
7487 [BZ #12397]
7488 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7489 syscall.
7490
451f001b
UD
7491 [BZ #10484]
7492 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7493 temporary buffer used to handle multi lookups locally.
a85b5cb4 7494 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7495
08769175
UD
74962011-01-12 Ulrich Drepper <drepper@gmail.com>
7497
7498 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7499 loader is ld.so.
7500
5e49c52e
UD
75012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7502
7503 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7504 alignment for SSE2.
7505
60522a5f
UD
75062011-01-12 Ulrich Drepper <drepper@gmail.com>
7507
7508 [BZ #12394]
7509 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7510 characters. When rounding increased number of integer digits recompute
7511 number of groups.
7512 * stdio-common/tst-grouping.c: New file.
7513 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7514
f257bbd7
UD
75152011-01-09 Ulrich Drepper <drepper@gmail.com>
7516
7517 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7518 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7519
7520 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7521 void.
7522 * bits/select.h: Likewise.
7523
fa9c15cb
UD
75242011-01-08 Ulrich Drepper <drepper@gmail.com>
7525
7526 * po/ja.po: Update from translation team.
7527
16c2895f
DM
75282011-01-04 David S. Miller <davem@sunset.davemloft.net>
7529
7530 [BZ #11155]
7531 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7532 implementation just like for lxstat, fxstatat, et al.
7533
2543fef2
JM
75342010-12-27 Jim Meyering <meyering@redhat.com>
7535
7536 [BZ #12348]
7537 * posix/regexec.c (build_trtable): Return failure indication upon
7538 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7539
98727dbe
UD
75402010-12-25 Ulrich Drepper <drepper@gmail.com>
7541
5bd6dc5c
UD
7542 [BZ #12201]
7543 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7544 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7545 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7547
97983464
UD
7548 [BZ #12207]
7549 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7550
98727dbe
UD
7551 [BZ #12204]
7552 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7553 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7554
4a531bb0
L
75552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7556
7557 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7558 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7559 script has SORT_BY_INIT_PRIORITY.
7560 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7561 NO_CTORS_DTORS_SECTIONS is defined.
7562 * elf/soinit.c: Likewise.
7563 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7564 NO_CTORS_DTORS_SECTIONS is defined.
7565 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7566 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7567 * sysdeps/sh/init-first.c: Likewise.
7568 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7569
07eb4b71
UD
75702010-12-24 Ulrich Drepper <drepper@gmail.com>
7571
7572 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7573 always use the slow path.
7574
30950a5f
RA
75752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7576
7577 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7578 similar rule which adds the sysdep directories to the header search in
7579 order to pick up the correct platform stackinfo.h.
7580 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7581 perform test if it is, otherwise return successfully without testing.
7582 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7583 DEFAULT_STACK_PERMS define in stackinfo.h.
7584 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7585 defined in stackinfo.h.
7586 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7587 DEFAULT_STACK_PERMS defined in stackinfo.h.
7588 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7589 * sysdeps/ia64/stackinfo.h: Likewise.
7590 * sysdeps/s390/stackinfo.h: Likewise.
7591 * sysdeps/sh/stackinfo.h: Likewise.
7592 * sysdeps/sparc/stackinfo.h: Likewise.
7593 * sysdeps/x86_64/stackinfo.h: Likewise.
7594 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7595 PF_X for powerpc64. Retain PF_X for powerpc32.
7596
db753e2c
UD
75972010-12-19 Ulrich Drepper <drepper@gmail.com>
7598
14b697f7
UD
7599 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7600 accurately.
db753e2c
UD
7601 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7602 GETDENTS_64BIT_ALIGNED.
7603
28300719
UD
76042010-12-14 Ulrich Drepper <dreper@gmail.com>
7605
14b697f7 7606 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7607
4f197237
AS
76082010-12-10 Andreas Schwab <schwab@redhat.com>
7609
dbb0472f
AS
7610 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7611 _GNU_SOURCE.
7612
4f197237
AS
7613 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7614 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7615 Remove __restrict.
7616 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7617 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7618
fb88ac72
UD
76192010-12-09 Ulrich Drepper <drepper@gmail.com>
7620
7621 [BZ #11655]
7622 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7623 are initialized.
7624
42acbb92
JJ
76252010-12-09 Jakub Jelinek <jakub@redhat.com>
7626
7627 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7628
c038d98d
UD
76292010-12-03 Ulrich Drepper <drepper@gmail.com>
7630
7631 * po/it.po: Update from translation team.
7632
3a4a2499
L
76332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7634
7635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7636 unused codes.
7637
1e24cf6e
UD
76382010-11-30 Ulrich Drepper <drepper@gmail.com>
7639
7640 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7641
a7690819
AS
76422010-11-24 Andreas Schwab <schwab@redhat.com>
7643
7644 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7645 specially.
7646 (gaih_getanswer_slice): Likewise.
7647
3bf8d1b1
JJ
76482010-10-20 Jakub Jelinek <jakub@redhat.com>
7649
7650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7651
6db52fbb
PB
76522010-05-31 Petr Baudis <pasky@suse.cz>
7653
7654 [BZ #11149]
7655 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7656 silently even in the chroot mode.
7657
eaca7569
UD
76582010-11-22 Ulrich Drepper <drepper@gmail.com>
7659
7660 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7661 last patch a bit. Pretty printing
7662
3056dcdb
UD
76632010-05-31 Petr Baudis <pasky@suse.cz>
7664
7665 [BZ #10085]
7666 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7667 initialization of skip_initgroups_dyn.
7668
cf7c9078
UD
76692010-11-19 Ulrich Drepper <drepper@gmail.com>
7670
7671 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7672 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7673
a1fb5e3e
UD
76742010-11-16 Ulrich Drepper <drepper@gmail.com>
7675
7676 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7677
3540d66b
AS
76782010-11-11 Andreas Schwab <schwab@redhat.com>
7679
7680 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7681 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7682 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7683 ($(objpfx)tst-fnmatch-mem): New rule.
7684 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7685 * posix/tst-fnmatch.c (main): Call mtrace.
7686
13b69574
L
76872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7688
7689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7690 Support Intel processor model 6 and model 0x2c.
7691
da93d214
LM
76922010-11-10 Luis Machado <luisgpm@br.ibm.com>
7693
7694 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7695 signed comparison.
7696
8ca52c6e
L
76972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7698
7699 [BZ #12205]
7700 * string/test-strncasecmp.c (check_result): New function.
7701 (do_one_test): Use it.
7702 (check1): New function.
7703 (test_main): Use it.
7704 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7705 Support strcasecmp and strncasecmp.
7706
69da074d
UD
77072010-11-08 Ulrich Drepper <drepper@gmail.com>
7708
7709 [BZ #12194]
7710 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7711 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7712
ff02d528
L
77132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7714
7715 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7716 IFUNC support.
7717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7718 memset-x86-64.
7719 * sysdeps/x86_64/multiarch/bzero.S: New file.
7720 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7721 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7722 * sysdeps/x86_64/multiarch/memset.S: New file.
7723 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7725 Set bit_Prefer_SSE_for_memop for Intel processors.
7726 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7727 Define.
7728 (index_Prefer_SSE_for_memop): Define.
7729 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7730
344d0b54
LM
77312010-11-04 Luis Machado <luisgpm@br.ibm.com>
7732
7733 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7734 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7735
c0dde15b
UD
77362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 [BZ #12191]
7739 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7740 (__x86_64_raw_data_cache_size_half): Likewise.
7741 (__x86_64_raw_shared_cache_size): Likewise.
7742 (__x86_64_raw_shared_cache_size_half): Likewise.
7743
7744 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7745 (__x86_64_raw_data_cache_size_half): Likewise.
7746 (__x86_64_raw_shared_cache_size): Likewise.
7747 (__x86_64_raw_shared_cache_size_half): Likewise.
7748 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7749 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7750 and __x86_64_raw_shared_cache_size_half. Round
7751 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7752 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7753 to multiple of 256 bytes.
7754
0e516e0e
MS
77552010-11-03 Ulrich Drepper <drepper@gmail.com>
7756
7757 [BZ #12167]
7758 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7759 of inacessible symlinks. Verify result of symlink before returning it.
7760 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7761 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7762
0e012e87
ER
77632010-10-28 Erich Ritz <erichritz@gmail.com>
7764
7765 * math/math.h (isinf): Fix typo in comment.
7766
de0ff7bc
UD
77672010-11-01 Ulrich Drepper <drepper@gmail.com>
7768
7769 * po/da.po: Update from translation team.
7770
fa41c84d
UD
77712010-10-26 Ulrich Drepper <drepper@gmail.com>
7772
7773 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7774 is added to the list.
7775
f0967738
AK
77762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7777 Ulrich Drepper <drepper@gmail.com>
7778
7779 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7780 the global list here. Move code to...
7781 (_dl_add_to_namespace_list): ...here. New function.
7782 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7783 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7784 * elf/dl-load.c (lose): Don't remove the element from the list.
7785 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7786 (_dl_map_object): Likewise.
7787
77882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7789
7790 [BZ #12159]
7791 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7792 into all bytes of SSE register.
7793 Patch by Richard Li <richardpku@gmail.com>.
7794
f0967738 77952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
7796
7797 [BZ #12140]
7798 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7799 perturbing.
7800
d0b9e94f
MB
78012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7802
7803 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7804 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7805 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7806 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7808 submachine.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7810
8e9f92e9
AS
78112010-10-22 Andreas Schwab <schwab@redhat.com>
7812
7813 * include/dlfcn.h (__RTLD_SECURE): Define.
7814 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7815 mode & __RTLD_SECURE instead.
7816 (open_path): Rename preloaded parameter to secure.
7817 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7818 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7819 * elf/dl-deps.c (openaux): Likewise.
7820 * elf/rtld.c (struct map_args): Remove is_preloaded.
7821 (map_doit): Don't use it.
7822 (dl_main): Likewise.
7823 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7824 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7825
bc96fbda
AS
78262010-09-09 Andreas Schwab <schwab@redhat.com>
7827
7828 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7829 (sysd-rules-targets): Remove duplicates.
7830 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7831 rtld-%.$o dependency.
7832
22cd1c9b
AS
78332010-10-18 Andreas Schwab <schwab@redhat.com>
7834
7835 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7836 _dl_map_object do it.
7837
18edac48
UD
78382010-10-19 Ulrich Drepper <drepper@gmail.com>
7839
7840 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7841 fast fma builtins, define the macros in the C99 standard.
7842 (FP_FAST_FMAF): Likewise.
7843 (FP_FAST_FMAL): Likewise.
7844 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7845
7846 * bits/mathdef.h: Update copyright year.
7847 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7848
d2050124
MM
78492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7850
7851 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7852 builtins, define the macros in the C99 standard.
7853 (FP_FAST_FMAF): Likewise.
7854 (FP_FAST_FMAL): Likewise.
7855 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7856 multiply/add.
7857 (FP_FAST_FMAF): Likewise.
7858
475facd1
JJ
78592010-10-15 Jakub Jelinek <jakub@redhat.com>
7860
7861 [BZ #3268]
7862 * math/libm-test.inc (fma_test): Some new testcases.
7863 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7864 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7865 y and infinite z. Do multiplication by C already in long double.
7866 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7868 y and infinite z. Do bitwise or of inexact bit into u.d.
7869 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7870 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7871 * sysdeps/i386/fpu/s_fma.S: Removed.
7872 * sysdeps/i386/fpu/s_fmal.S: Removed.
7873
7c08a05c
JJ
78742010-10-16 Jakub Jelinek <jakub@redhat.com>
7875
7876 [BZ #3268]
7877 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7879 computation is not scheduled after fetestexcept. Fix value
7880 of minimum denormal long double.
7881
f3f7372d
JJ
78822010-10-14 Jakub Jelinek <jakub@redhat.com>
7883
7884 [BZ #3268]
7885 * math/libm-test.inc (fma_test): Add some more tests.
7886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7887 correctly.
7888
14d43591
AS
78892010-10-15 Andreas Schwab <schwab@redhat.com>
7890
7891 * scripts/data/localplt-s390-linux-gnu.data: New file.
7892 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7893
5e908464
JJ
78942010-10-13 Jakub Jelinek <jakub@redhat.com>
7895
7896 [BZ #3268]
7897 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7898 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7899 instead of dbl-64.
7900 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7901 inlines.
7902 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7904 if one of x and y is very large and the other is subnormal.
7905 * sysdeps/s390/fpu/s_fmaf.c: New file.
7906 * sysdeps/s390/fpu/s_fma.c: New file.
7907 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7908 * sysdeps/powerpc/fpu/s_fma.S: New file.
7909 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7910 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7911 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7912
79132010-10-12 Jakub Jelinek <jakub@redhat.com>
7914
7915 [BZ #3268]
7916 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7917 fma tests.
7918 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7919 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7920 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7921 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7922 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7923 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7924 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7925
b833d51f
UD
79262010-10-12 Ulrich Drepper <drepper@redhat.com>
7927
7928 [BZ #12078]
7929 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7930 * posix/bug-regex31.input: Add test case.
7931
1751705d
UD
79322010-10-11 Ulrich Drepper <drepper@gmail.com>
7933
e9b9cbf5
UD
7934 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7935 * posix/bug-regex31.input: New file.
7936
7937 [BZ #12078]
7938 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7939 (parse_sub_exp): Fix last change, use postorder.
7940
ef06edbe
UD
7941 * posix/bug-regex31.c: New file.
7942 * posix/Makefile: Add rules to build and run bug-regex31.
7943
a129c80d
UD
7944 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7945
7946 [BZ #12078]
7947 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7948
b76b818e
UD
7949 [BZ #12108]
7950 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7951 to have entries in sys_siglist.
7952
1751705d
UD
7953 [BZ #12093]
7954 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7955 be NULL.
7956
9ff8d36f
JJ
79572010-10-07 Jakub Jelinek <jakub@redhat.com>
7958
7959 [BZ #3268]
7960 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7961 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7962 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7963 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7964 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7965 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7966 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7967 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7968 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7969 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7970 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7971 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7972 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7973 * math/ftestexcept.c (fetestexcept): Likewise.
7974 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7975 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7976 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7977 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7978 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7979 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7980 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7981
af325969
UD
79822010-10-11 Ulrich Drepper <drepper@gmail.com>
7983
c579b202 7984 [BZ #12107]
af325969
UD
7985 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7986 newline.
7987
67a67b95
UD
79882010-10-06 Ulrich Drepper <drepper@gmail.com>
7989
7990 * string/bug-strstr1.c: New file.
7991 * string/Makefile: Add rules to build and run bug-strstr1.
7992
5fb308bc
EB
79932010-10-05 Eric Blake <eblake@redhat.com>
7994
7995 [BZ #12092]
7996 * string/str-two-way.h (two_way_long_needle): Always clear memory
7997 when skipping input due to the shift table.
7998
45db99c7
UD
79992010-10-03 Ulrich Drepper <drepper@gmail.com>
8000
3b111893
UD
8001 [BZ #12005]
8002 * malloc/mcheck.c: Handle large requests.
8003
45db99c7
UD
8004 [BZ #12077]
8005 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8006 for strncmp and strncasecmp.
8007 * string/stratcliff.c: Add tests for strcmp and strncmp.
8008 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8009
cf7a1eb8
NI
80102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8011
8012 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8013 __set_fpscr.
8014
6484ba5e
AJ
80152010-09-30 Andreas Jaeger <aj@suse.de>
8016
8017 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8018 (CGROUP_SUPER_MAGIC): Define.
8019 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8020 Handle btrfs and cgroup file systems.
8021 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8022 Likewise.
8023
91c42559
LM
80242010-09-27 Luis Machado <luisgpm@br.ibm.com>
8025
8026 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8027 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8028
87a97932
AK
80292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8030
8031 [BZ #12067]
8032 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8033 trying to locate the ELF header.
8034
c21cc9bc
AS
80352010-09-27 Andreas Schwab <schwab@redhat.com>
8036
8037 [BZ #11611]
8038 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8039 Mask out sign-bit copies when constructing f_fsid.
8040
315970f6
PB
80412010-09-24 Petr Baudis <pasky@suse.cz>
8042
8043 * debug/stack_chk_fail_local.c: Add missing licence exception.
8044 * debug/warning-nop.c: Likewise.
8045
1ac7a2c7
JM
80462010-09-15 Joseph Myers <joseph@codesourcery.com>
8047
8048 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8049 implementing getdents64 using getdents syscall, set d_type if
8050 __ASSUME_GETDENTS32_D_TYPE.
8051
56801c50
AS
80522010-09-16 Andreas Schwab <schwab@redhat.com>
8053
8054 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8055 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8056
dda51327
UD
80572010-09-21 Ulrich Drepper <drepper@redhat.com>
8058
8059 [BZ #12037]
8060 * posix/unistd.h: Undo change of feature selection for ftruncate from
8061 2010-01-11.
8062
8ffcee4a
UD
80632010-09-20 Ulrich Drepper <drepper@redhat.com>
8064
a545ecd9 8065 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8066 detection.
8067
e24f0a8b
AS
80682010-09-20 Andreas Schwab <schwab@redhat.com>
8069
8070 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8071 fanotify_mark.
8072 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8073
7291c56f
AS
80742010-09-14 Andreas Schwab <schwab@redhat.com>
8075
8076 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8077 variables after CHECK_SP call.
8078 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8079
bc5fb037
AS
80802010-09-13 Andreas Schwab <schwab@redhat.com>
8081 Ulrich Drepper <drepper@redhat.com>
8082
8083 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8084 re-relocationg ld.so.
8085 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8086 _dl_init_paths call.
8087 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8088 here anymore.
8089
e66e7419
UD
80902010-09-14 Ulrich Drepper <drepper@redhat.com>
8091
8092 * resolv/res_init.c (__res_vinit): Count the default server we added.
8093
c044aa75
CLT
80942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8095 Ulrich Drepper <drepper@redhat.com>
8096
8097 [BZ #11968]
8098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8099 (____longjmp_chk): Use %ebx for saving value across system call.
8100 Add unwind info.
8101
32cf4069
AS
81022010-09-06 Andreas Schwab <schwab@redhat.com>
8103
8104 * manual/Makefile: Don't mix pattern rules with normal rules.
8105
817328ee
AS
81062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8107
8108 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8109 operation.
8110 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8111 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8112 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8113 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8114 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8115 Likewise.
8116
29fddf61
UD
81172010-09-04 Ulrich Drepper <drepper@redhat.com>
8118
8119 [BZ #11979]
8120 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8121 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8122
0959ffc9
UD
81232010-09-02 Ulrich Drepper <drepper@redhat.com>
8124
8125 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8126 * sysdeps/x86_64/addmul_1.S: Likewise.
8127 * sysdeps/x86_64/lshift.S: Likewise.
8128 * sysdeps/x86_64/mul_1.S: Likewise.
8129 * sysdeps/x86_64/rshift.S: Likewise.
8130 * sysdeps/x86_64/sub_n.S: Likewise.
8131 * sysdeps/x86_64/submul_1.S: Likewise.
8132
ece29840
ST
81332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8134
0959ffc9
UD
8135 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8136 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8137 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8138 * bits/sched.h [__need_schedparam]
ece29840 8139 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8140 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8141 (__defined_schedparam): Define to 1.
ece29840
ST
8142 (__sched_param): New structure, identical to sched_param.
8143 (__need_schedparam): Undefine.
8144
e53a31fe
MF
81452010-08-31 Mike Frysinger <vapier@gentoo.org>
8146
fdc0c10d
MF
8147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8148 (epoll_create1): Declare.
8149
e53a31fe
MF
8150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8151
a726d796
AS
81522010-08-31 Andreas Schwab <schwab@redhat.com>
8153
8154 [BZ #7066]
8155 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8156 shifting retval into place.
8157
2f3e3dc7
UD
81582010-09-01 Ulrich Drepper <drepper@redhat.com>
8159
f2933da9
UD
8160 * nis/rpcsvc/nis.h: Update copyright notice.
8161 * nis/rpcsvc/nis.x: Likewise.
8162 * nis/rpcsvc/nis_callback.h: Likewise.
8163 * nis/rpcsvc/nis_callback.x: Likewise.
8164 * nis/rpcsvc/nis_object.x: Likewise.
8165 * nis/rpcsvc/nis_tags.h: Likewise.
8166 * nis/rpcsvc/yp.h: Likewise.
8167 * nis/rpcsvc/yp.x: Likewise.
8168 * nis/rpcsvc/ypupd.h: Likewise.
8169 * nis/yp_xdr.c: Likewise.
8170 * nis/ypupdate_xdr.c: Likewise.
8171
2f3e3dc7
UD
8172 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8173 mainly the body of pmap_getport. Add parameters to specify timeouts.
8174 (pmap_getport): Use __libc_rpc_getport.
8175 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8176 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8177 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8178
f3dcc2f9
AS
81792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8180
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8182 fanotify_mark.
8183
6d34eb5b
RM
81842010-08-27 Roland McGrath <roland@redhat.com>
8185
8186 * sysdeps/i386/i686/multiarch/Makefile
8187 (CFLAGS-varshift.c): New variable.
8188
9ea3de11
UD
81892010-08-27 Ulrich Drepper <drepper@redhat.com>
8190
c96d23fc
UD
8191 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8192 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8193
9ea3de11
UD
8194 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8195
8196 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8197
623aac7f
L
81982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8199
8200 * sysdeps/x86_64/strlen.S: Unroll the loop.
8201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8202 strlen-sse2 strlen-sse2-bsf.
8203 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8204 __strlen_no_bsf if bit_Slow_BSF is set.
8205 (__strlen_sse42): Removed.
8206 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8207 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8208
8b2b7715
RM
82092010-08-25 Roland McGrath <roland@redhat.com>
8210
8211 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8212 * sysdeps/x86_64/multiarch/varshift.c: New file.
8213 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8214 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8215 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8216 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8217
e73015f2
L
82182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8219
8220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8221 strlen-sse2 strlen-sse2-bsf.
8222 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8223 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8224 (__strlen_sse2): Removed.
8225 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8226 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8228 bit_Slow_BSF for Atom.
8229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8230 (index_Slow_BSF): Define.
8231 (HAS_SLOW_BSF): Define.
8232
df24a73e
UD
82332010-08-25 Ulrich Drepper <drepper@redhat.com>
8234
8235 [BZ #10851]
8236 * resolv/res_init.c (__res_vinit): When no server address at all
8237 is given default to loopback.
8238
f2ac4868
RM
82392010-08-24 Roland McGrath <roland@redhat.com>
8240
09055553
RM
8241 * configure.in: Remove config-name.h generation.
8242 * configure: Regenerated.
8243 * config-name.in: File removed.
8244 * scripts/config-uname.sh: New file.
8245 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8246 ($(objdir)config-name.h): New target.
8247
f2ac4868
RM
8248 * sunrpc/rpc_parse.h: Avoid nested comment.
8249
73f27d5e
RH
82502010-08-24 Richard Henderson <rth@redhat.com>
8251 Ulrich Drepper <drepper@redhat.com>
8252 H.J. Lu <hongjiu.lu@intel.com>
8253
8254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8256 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8257 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8258 _mm_alignr_epi8 with _mm_loadu_si128.
8259 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8260 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8261 (__m128i_shift_right): Removed.
8262 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8263 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8264 * sysdeps/x86_64/multiarch/varshift.h: New file.
8265 * sysdeps/x86_64/multiarch/varshift.S: New file.
8266
84b9230c
MF
82672010-08-21 Mike Frysinger <vapier@gentoo.org>
8268
8269 * configure.in: Move assembler checks to before sysdep dir checking.
8270
9bbd0ddc
PB
82712010-08-20 Petr Baudis <pasky@suse.cz>
8272
8273 * LICENSES: Sync the sunrpc license.
8274
9da4bb31
UD
82752010-08-19 Ulrich Drepper <drepper@redhat.com>
8276
a7ab6ec8
UD
8277 * sunrpc/auth_des.c: Update copyright notice once again.
8278 * sunrpc/auth_none.c: Likewise.
8279 * sunrpc/auth_unix.c: Likewise.
8280 * sunrpc/authdes_prot.c: Likewise.
8281 * sunrpc/authuxprot.c: Likewise.
8282 * sunrpc/bindrsvprt.c: Likewise.
8283 * sunrpc/clnt_gen.c: Likewise.
8284 * sunrpc/clnt_perr.c: Likewise.
8285 * sunrpc/clnt_raw.c: Likewise.
8286 * sunrpc/clnt_simp.c: Likewise.
8287 * sunrpc/clnt_tcp.c: Likewise.
8288 * sunrpc/clnt_udp.c: Likewise.
8289 * sunrpc/clnt_unix.c: Likewise.
8290 * sunrpc/des_crypt.c: Likewise.
8291 * sunrpc/des_soft.c: Likewise.
8292 * sunrpc/get_myaddr.c: Likewise.
8293 * sunrpc/getrpcport.c: Likewise.
8294 * sunrpc/key_call.c: Likewise.
8295 * sunrpc/key_prot.c: Likewise.
8296 * sunrpc/openchild.c: Likewise.
8297 * sunrpc/pm_getmaps.c: Likewise.
8298 * sunrpc/pm_getport.c: Likewise.
8299 * sunrpc/pmap_clnt.c: Likewise.
8300 * sunrpc/pmap_prot.c: Likewise.
8301 * sunrpc/pmap_prot2.c: Likewise.
8302 * sunrpc/pmap_rmt.c: Likewise.
8303 * sunrpc/rpc/auth.h: Likewise.
8304 * sunrpc/rpc/auth_unix.h: Likewise.
8305 * sunrpc/rpc/clnt.h: Likewise.
8306 * sunrpc/rpc/des_crypt.h: Likewise.
8307 * sunrpc/rpc/key_prot.h: Likewise.
8308 * sunrpc/rpc/netdb.h: Likewise.
8309 * sunrpc/rpc/pmap_clnt.h: Likewise.
8310 * sunrpc/rpc/pmap_prot.h: Likewise.
8311 * sunrpc/rpc/pmap_rmt.h: Likewise.
8312 * sunrpc/rpc/rpc.h: Likewise.
8313 * sunrpc/rpc/rpc_des.h: Likewise.
8314 * sunrpc/rpc/rpc_msg.h: Likewise.
8315 * sunrpc/rpc/svc.h: Likewise.
8316 * sunrpc/rpc/svc_auth.h: Likewise.
8317 * sunrpc/rpc/types.h: Likewise.
8318 * sunrpc/rpc/xdr.h: Likewise.
8319 * sunrpc/rpc_clntout.c: Likewise.
8320 * sunrpc/rpc_cmsg.c: Likewise.
8321 * sunrpc/rpc_common.c: Likewise.
8322 * sunrpc/rpc_cout.c: Likewise.
8323 * sunrpc/rpc_dtable.c: Likewise.
8324 * sunrpc/rpc_hout.c: Likewise.
8325 * sunrpc/rpc_main.c: Likewise.
8326 * sunrpc/rpc_parse.c: Likewise.
8327 * sunrpc/rpc_parse.h: Likewise.
8328 * sunrpc/rpc_prot.c: Likewise.
8329 * sunrpc/rpc_sample.c: Likewise.
8330 * sunrpc/rpc_scan.c: Likewise.
8331 * sunrpc/rpc_scan.h: Likewise.
8332 * sunrpc/rpc_svcout.c: Likewise.
8333 * sunrpc/rpc_tblout.c: Likewise.
8334 * sunrpc/rpc_util.c: Likewise.
8335 * sunrpc/rpc_util.h: Likewise.
8336 * sunrpc/rpcinfo.c: Likewise.
8337 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8338 * sunrpc/rpcsvc/key_prot.x: Likewise.
8339 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8340 * sunrpc/rpcsvc/mount.x: Likewise.
8341 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8342 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8343 * sunrpc/rpcsvc/rex.x: Likewise.
8344 * sunrpc/rpcsvc/rstat.x: Likewise.
8345 * sunrpc/rpcsvc/rusers.x: Likewise.
8346 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8347 * sunrpc/rpcsvc/spray.x: Likewise.
8348 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8349 * sunrpc/rtime.c: Likewise.
8350 * sunrpc/svc.c: Likewise.
8351 * sunrpc/svc_auth.c: Likewise.
8352 * sunrpc/svc_authux.c: Likewise.
8353 * sunrpc/svc_raw.c: Likewise.
8354 * sunrpc/svc_run.c: Likewise.
8355 * sunrpc/svc_simple.c: Likewise.
8356 * sunrpc/svc_tcp.c: Likewise.
8357 * sunrpc/svc_udp.c: Likewise.
8358 * sunrpc/svc_unix.c: Likewise.
8359 * sunrpc/svcauth_des.c: Likewise.
8360 * sunrpc/xcrypt.c: Likewise.
8361 * sunrpc/xdr.c: Likewise.
8362 * sunrpc/xdr_array.c: Likewise.
8363 * sunrpc/xdr_float.c: Likewise.
8364 * sunrpc/xdr_mem.c: Likewise.
8365 * sunrpc/xdr_rec.c: Likewise.
8366 * sunrpc/xdr_ref.c: Likewise.
8367 * sunrpc/xdr_sizeof.c: Likewise.
8368 * sunrpc/xdr_stdio.c: Likewise.
8369
9da4bb31
UD
8370 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8371 handling.
8372
bdaa77bc
AS
83732010-08-19 Andreas Schwab <schwab@redhat.com>
8374
8375 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8376
fe2f79db
LM
83772010-08-19 Luis Machado <luisgpm@br.ibm.com>
8378
8379 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8380 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8381 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8382 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8383 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8384 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8385 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8386 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8387 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8388 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8389 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8390 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8391 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8392 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8393
b9b42ee0
AB
83942010-07-26 Anton Blanchard <anton@samba.org>
8395
8396 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8397 * malloc/arena.c (heap_trim): Likewise.
8398
1c06ba31
UD
83992010-08-16 Ulrich Drepper <drepper@redhat.com>
8400
8401 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8402 here. Not...
8403 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8404 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8405
f8392f40
L
84062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8407
8408 * sysdeps/i386/elf/Makefile: New file.
8409
3162f12e
AS
84102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8411
8412 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8413 from fanotify_init.
8414 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8415 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8416
28c90b2c
UD
84172010-08-15 Ulrich Drepper <drepper@redhat.com>
8418
8419 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8420 of strncasecmp_l.
1feccb6c 8421 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8422
ca6bb004
UD
84232010-08-14 Ulrich Drepper <drepper@redhat.com>
8424
e9f82e0d
UD
8425 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8426 strncase_l-nonascii.
8427 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8428 Add strncase_l-ssse3.
8429 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8430 * sysdeps/x86_64/strcmp.S: Likewise.
8431 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8432 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8433 * sysdeps/x86_64/strncase.S: New file.
8434 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8435 * sysdeps/x86_64/strncase_l.S: New file.
8436 * string/Makefile (strop-tests): Add strncasecmp.
8437 * string/test-strncasecmp.c: New file.
8438
8439 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8440 warning.
8441
ca6bb004
UD
8442 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8443 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8444
052fa7b3
AS
84452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8446
8447 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8448
962dba78
UD
84492010-08-12 Ulrich Drepper <drepper@redhat.com>
8450
8451 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8452 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8453 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8454
bebff237
AM
84552010-05-01 Alan Modra <amodra@gmail.com>
8456
8457 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8458 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8459 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8460 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8461 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8462 tidying. Don't tail-call __sigjmp_save for static lib.
8463 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8464 save location.
8465 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8466 (CALL_MCOUNT): Add eh info, and nop after bl.
8467 (TAIL_CALL_SYSCALL_ERROR): New macro.
8468 (PSEUDO_RET): Use it.
8469 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8470 Correct save location of integer regs and cr.
8471 (_dl_profile_resolve): Correct cr save location. Delete nops
8472 after bl when SHARED. Reduce cfi size a little by better
8473 placement of cfi directives.
8474 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8475 make a stack frame. Instead use parm save area as a temp.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8477 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8479 Don't make a stack frame for parent, use parm save area.
8480 Increase child stack frame to 112 bytes. Don't save unused reg,
8481 and adjust reg usage. Set up cfi on error recovery and
8482 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8484 (__makecontext): Add dummy nop after jump to exit.
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8486 Use correct parm save area and cr save, reduce stack frame.
8487 Correct cfi for possible PSEUDO_RET frame setup.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8489 Branch to local label emitted by PSEUDO_RET rather than
8490 __syscall_error.
8491
02637374
AS
84922010-08-12 Andreas Schwab <schwab@redhat.com>
8493
8494 [BZ #11904]
8495 * locale/programs/locale.c (print_assignment): New function.
8496 (show_locale_vars): Use it.
8497
c3e2f19b
UD
84982010-08-11 Ulrich Drepper <drepper@redhat.com>
8499
3cdaa6ad
UD
8500 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8501 field.
8502 (struct statfs64): Likewise.
8503 (_STATFS_F_FLAGS): Define.
8504 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8505 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8506 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8507 (ST_VALID): Define locally.
8508 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8509 __statvfs_getflags, use the provided value.
8510 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8511 __ASSUME_STATFS_F_FLAGS.
8512
754f7da3
UD
8513 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8514
10b3bedc
UD
8515 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8516 Add sys/fanotify.h.
8517 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8518 fanotify_mask for GLIBC_2.13.
8519 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8520 fanotify_init and fanotify_mark.
8521 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8522 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8523
c08fb0d7
UD
8524 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8525 Add prlimit.
8526 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8527 prlimit64 for GLIBC_2.13.
8528 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8529 prlimit64.
8530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8531 syscall.
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8533 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8534 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8535 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8537 add prlimit alias.
8538 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8539
15bac72b
UD
8540 [BZ #11903]
8541 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8542 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8543
c3e2f19b
UD
8544 * nss/Makefile: Add rules to build and run tst-nss-test1.
8545 * shlib-versions: Add entry for libnss_test1.
8546 * nss/nss_test1.c: New file.
8547 * nss/tst-nss-test1.c: New file.
8548
8549 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8550 (__nss_configure_lookup): Set appropriate entry in
8551 __nss_configure_lookup to true.
8552 * nss/nsswitch.h: Define enum with indeces of databases in
8553 databases and __nss_database_custom arrays. Declare
8554 __nss_database_custom.
8555 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8556 to avoid using nscd when custom rules are installed.
8557 * nss/getXXbyYY_r.c: Likewise.
8558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8559
8560 * nss/nss_files/files-parse.c: Whitespace fixes.
8561
f15ce4d8
UD
85622010-08-09 Ulrich Drepper <drepper@redhat.com>
8563
8564 [BZ #11883]
8565 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8566 * posix/fnmatch_loop.c: Likewise.
8567
d22e4cc9
AK
85682010-07-17 Andi Kleen <ak@linux.intel.com>
8569
8570 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8571 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8572 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8573 * Versions.def [GLIBC_2.13]: Add.
8574
805bc17d
UD
85752010-08-06 Ulrich Drepper <drepper@redhat.com>
8576
8577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8578 Also fail if tpwd after pwuid call is NULL.
8579
5a42321d
ST
85802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8581
8582 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8583 when converting to ms.
8584
fd3ebeda
ST
85852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8586
8587 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8588 EOPNOTSUPP errors with ENOTTY.
8589 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8590 EOPNOTSUPP errors with ENOTTY.
8591
73507d3a
UD
85922010-07-31 Ulrich Drepper <drepper@redhat.com>
8593
8594 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8595 Add strcasecmp_l-ssse3.
8596 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8597 strcasecmp.
8598 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8599 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8600 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8601
fe36dd02
UD
86022010-07-30 Ulrich Drepper <drepper@redhat.com>
8603
66f6765a
UD
8604 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8605
42e08a54
UD
8606 * string/Makefile (strop-tests): Add strcasecmp.
8607 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8608 strcasecmp_l-nonascii.
8609 (gen-as-const-headers): Add locale-defines.sym.
8610 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8611 * sysdeps/x86_64/strcasecmp.S: New file.
8612 * sysdeps/x86_64/strcasecmp_l.S: New file.
8613 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8614 * sysdeps/x86_64/locale-defines.sym: New file.
8615 * string/test-strcasecmp.c: New file.
8616
fe36dd02
UD
8617 * string/test-strcasestr.c: Test both ends of the range of characters.
8618 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8619
48cbc0d6
RM
86202010-07-29 Roland McGrath <roland@redhat.com>
8621
76e6d6bc 8622 [BZ #11856]
48cbc0d6
RM
8623 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8624
880113d9
UD
86252010-07-27 Ulrich Drepper <drepper@redhat.com>
8626
8627 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8628 for ld.so.
8629
deb9cabb
AS
86302010-07-27 Andreas Schwab <schwab@redhat.com>
8631
8632 * manual/memory.texi (Malloc Tunable Parameters): Document
8633 M_PERTURB.
8634
1c7570ff
RM
86352010-07-26 Roland McGrath <roland@redhat.com>
8636
8637 [BZ #11840]
8638 * configure.in (-fgnu89-inline check): Set and substitute
8639 gnu89_inline, not libc_cv_gnu89_inline.
8640 * configure: Regenerated.
8641 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8642
24fb0f88
UD
86432010-07-26 Ulrich Drepper <drepper@redhat.com>
8644
8645 * string/test-strnlen.c: New file.
8646 * string/Makefile (strop-tests): Add strnlen.
8647 * string/tester.c (test_strnlen): Add a few more test cases.
8648 * string/tst-strlen.c: Better error reporting.
8649
8650 * sysdeps/x86_64/strnlen.S: New file.
8651
8e96b93a
UD
86522010-07-24 Ulrich Drepper <drepper@redhat.com>
8653
8654 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8655 lower-latency instructions.
8656
dbc676d4
UD
86572010-07-23 Ulrich Drepper <drepper@redhat.com>
8658
8659 * string/test-strcasestr.c: New file.
8660 * string/test-strstr.c: New file.
8661 * string/Makefile (strop-tests): Add strstr and strcasestr.
8662 * string/str-two-way.h: Don't undefine MAX.
8663 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8664
f6a31e0e
AS
86652010-07-21 Andreas Schwab <schwab@redhat.com>
8666
8667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8668 strcasestr-nonascii.
8669 (CFLAGS-strcasestr-nonascii.c): Define.
8670 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8671 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8672 Remove unused attribute.
8673
5dbc3b6c
RM
86742010-07-20 Roland McGrath <roland@redhat.com>
8675
8676 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8677 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8678 ld.so.cache was broken. With it, there is no way to disable dsocaps
8679 like LD_HWCAP_MASK can disable hwcaps.
8680
23d101d8
EPM
86812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8682
8683 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8684
cc9f2e47
UD
86852010-07-16 Ulrich Drepper <drepper@redhat.com>
8686
8687 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8688 call in strcasestr.
8689 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8690 __strcasestr_sse42_nonascii.
8691 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8692 strcasestr-nonascii.c.
8693 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8694
77c1b069
LM
86952010-06-15 Luis Machado <luisgpm@br.ibm.com>
8696
8697 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8698 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8699 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8700 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8701
440566c3
UD
87022010-07-09 Ulrich Drepper <drepper@redhat.com>
8703
8704 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8705 fcntl.
8706
5be9d05d
AS
87072010-07-06 Andreas Schwab <schwab@redhat.com>
8708
c30b7ee2 8709 [BZ #11577]
5be9d05d
AS
8710 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8711 dl_signal_cerror.
8712
8a492a67
UD
87132010-07-06 Ulrich Drepper <drepper@redhat.com>
8714
8715 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8716 _PC_PIPE_BUF using F_GETPIPE_SZ.
8717
713df3d5
RM
87182010-07-05 Roland McGrath <roland@redhat.com>
8719
8720 * manual/arith.texi (Rounding Functions): Fix rint description
8721 implicit in round description.
8722
702e8f14
UD
87232010-07-02 Ulrich Drepper <drepper@redhat.com>
8724
8725 * elf/Makefile: Fix linking for a few tests to make recent linker
8726 happy.
8727
52ed8be9
AS
87282010-06-30 Andreas Schwab <schwab@redhat.com>
8729
8730 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8731 $(common-objpfx)libc_nonshared.a.
8732
f47c9a11
LM
87332010-06-21 Luis Machado <luisgpm@br.ibm.com>
8734
8735 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8736 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8737 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8738 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8739 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8740 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8741 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8742 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8757 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8758 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8759 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8760 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8761 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8762 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8763 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8764 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8765 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8766 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8767 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8768 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8783
6fb8cbcb
L
87842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8785
8786 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8787 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8788 * string/memmove.c (memmove): Renamed to ...
8789 (MEMMOVE): ...this. Default to memmove.
8790 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8791 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8792 (END_CHK): Define.
8793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8794 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8795 mempcpy-ssse3-back memmove-ssse3-back.
8796 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8797 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8798 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8799 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8800 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8801 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8802 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8803 * sysdeps/x86_64/multiarch/memmove.c: New file.
8804 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8805 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8806 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8807 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8808 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8810 Define.
8811 (index_Fast_Copy_Backward): Define.
8812 (HAS_ARCH_FEATURE): Define.
8813 (HAS_FAST_REP_STRING): Define.
8814 (HAS_FAST_COPY_BACKWARD): Define.
8815
4e733bac 88162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
8817
8818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8819 Restore proper fallback handling.
8820
63c4ed22
UD
88212010-06-19 Ulrich Drepper <drepper@redhat.com>
8822
ac2b484c
UD
8823 [BZ #11701]
8824 * posix/group_member.c (__group_member): Correct checking loop.
8825
63c4ed22
UD
8826 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8827 OOM in getpwuid_r correctly. Return error number when the caller
8828 should return, otherwise -1.
8829 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8830 call returning > 0 value.
8831 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8832
765ade4b
AS
88332010-06-07 Andreas Schwab <schwab@redhat.com>
8834
8835 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8836 libc_nonshared.a from targets in modules-names.
8837
80da2e09
KS
88382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8839
8840 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8841 requires it.
8842
158db122
LM
88432010-06-10 Luis Machado <luisgpm@br.ibm.com>
8844
8845 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8846 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8849
caa78cf8
AS
88502010-06-02 Andreas Schwab <schwab@redhat.com>
8851
8852 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8853
b2ef2c01
UD
88542010-06-14 Ulrich Drepper <drepper@redhat.com>
8855
8856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8857 and F_GETPIPE_SZ.
8858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8859 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8864
fbd643b6
RM
88652010-06-14 Roland McGrath <roland@redhat.com>
8866
8867 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8868
f32f2869
JJ
88692010-06-07 Jakub Jelinek <jakub@redhat.com>
8870
8871 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8872 __REDIRECT followed by __THROW.
8873 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8874 * posix/getopt.h (getopt): Likewise.
8875
2a50c078
EPM
88762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8877
8878 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8879 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8880 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8881 in AT_FLAGS.
8882 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8883 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8884
eb5ad2eb
LM
88852010-05-28 Luis Machado <luisgpm@br.ibm.com>
8886
8887 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8888
3c88fe1e
L
88892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8890
8891 [BZ #11640]
8892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8893 Properly check family and model.
8894
d2f73151
TY
88952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8896
8897 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8898
ebd2e13d
LM
88992010-05-24 Luis Machado <luisgpm@br.ibm.com>
8900
8901 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8902
b32b8b45
UD
89032010-05-21 Ulrich Drepper <drepper@redhat.com>
8904
8905 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8906 symbol reference.
8907
9acbe24d
AS
89082010-05-19 Andreas Schwab <schwab@redhat.com>
8909
8910 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8911 symbol reference.
8912
f0ccf6ea
AS
89132010-05-21 Andreas Schwab <schwab@redhat.com>
8914
3d04ff3a
AS
8915 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8916 and internal_recvmmsg.
8917 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8918 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8919 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8920 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8921
f0ccf6ea
AS
8922 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8923 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8924 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8925
5b08ac57
AS
89262010-05-20 Andreas Schwab <schwab@redhat.com>
8927
8928 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8929
4828935d
LM
89302010-05-17 Luis Machado <luisgpm@br.ibm.com>
8931
8932 POWER7 optimizations.
8933 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8934 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8935
373d545e
UD
89362010-05-19 Ulrich Drepper <drepper@redhat.com>
8937
8938 * version.h: Update for 2.13 development version.
8939
21a2b1ae
AS
89402010-05-12 Andrew Stubbs <ams@codesourcery.com>
8941
8942 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8943 exceptions. Return 0.
8944
3f7dcb2b
RM
89452010-05-07 Roland McGrath <roland@redhat.com>
8946
8947 * elf/ldconfig.c (main): Add a const.
8948
5f24d53a 89492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 8950
a160f8d8
UD
8951 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8952 (args_options): Add no-idn option.
8953 (ahosts_keys_int): Add idn_flags to ai_flags.
8954 (parse_option): Handle 'i' option to clear idn_flags.
8955
5f24d53a
UD
8956 * malloc/malloc.c (_int_free): Possible race in the most recently
8957 added check. Only act on the data if no current modification
8958 happened.
265bb1ce
UD
8959
8960See ChangeLog.17 for earlier changes.