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