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