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