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