1 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3 * conform/GlibcConform.pm: New file.
4 * conform/conformtest.pl: Use GlibcConform module.
5 * conform/linknamespace.pl: New file.
6 * conform/list-header-symbols.pl: Likewise.
7 * conform/Makefile (linknamespace-symlists-base): New variable.
8 (linknamespace-symlists-tests): Likewise.
9 (linknamespace-header-base): Likewise.
10 (linknamespace-header-tests): Likewise.
11 (tests-special): Add new tests.
12 ($(linknamespace-symlists-tests)): New rule.
13 (linknamespace-libs): New variable.
14 ($(objpfx)symlist-stdlibs): New rule.
15 ($(linknamespace-header-tests)): Likewise.
16 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
17 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
20 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23 (test-xfail-ISO/math.h/linknamespace): Likewise.
24 (test-xfail-ISO/signal.h/linknamespace): Likewise.
25 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26 (test-xfail-ISO/time.h/linknamespace): Likewise.
27 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29 (test-xfail-ISO99/math.h/linknamespace): Likewise.
30 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
34 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35 (test-xfail-ISO11/math.h/linknamespace): Likewise.
36 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
39 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
41 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44 (test-xfail-XPG3/search.h/linknamespace): Likewise.
45 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
46 (test-xfail-XPG3/time.h/linknamespace): Likewise.
47 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
48 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
49 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
50 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
51 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
52 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
53 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
54 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
55 (test-xfail-XPG4/math.h/linknamespace): Likewise.
56 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
57 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
58 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
59 (test-xfail-XPG4/search.h/linknamespace): Likewise.
60 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
61 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
62 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
63 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
64 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
65 (test-xfail-XPG4/time.h/linknamespace): Likewise.
66 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
67 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
68 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
69 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
70 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
71 (test-xfail-POSIX/math.h/linknamespace): Likewise.
72 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
73 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
74 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
75 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
76 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
77 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
78 (test-xfail-POSIX/time.h/linknamespace): Likewise.
79 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
80 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
81 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
82 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
83 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
84 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
85 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
86 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
87 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
88 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
89 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
90 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
91 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
92 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
93 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
94 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
95 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
96 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
97 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
98 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
99 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
100 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
101 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
102 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
103 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
104 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
105 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
106 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
107 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
108 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
109 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
110 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
111 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
112 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
113 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
114 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
115 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
116 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
117 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
118 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
119 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
120 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
121 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
122 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
123 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
124 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
125 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
126 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
127 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
128 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
129 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
130 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
131 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
132 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
133 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
134 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
135 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
136 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
137 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
138 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
139 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
140 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
141 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
142 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
143 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
144 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
145 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
146 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
147 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
148 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
149 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
150 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
151 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
152 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
153 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
154 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
155 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
156 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
157 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
158 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
159 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
160 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
161 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
162 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
163 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
164 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
165 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
166 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
167 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
168 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
169 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
170 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
171 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
172 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
173 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
174 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
175 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
176 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
179 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
183 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
184 (memmem): Rename to __memmem and define as weak alias of
185 __memmem. Use libc_hidden_weak.
186 (__memmem): Use libc_hidden_def.
187 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
188 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
192 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
193 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
194 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
195 and define as weak alias of __fgets_unlocked. Use
197 (__fgets_unlocked): Use libc_hidden_def.
198 * include/stdio.h (__fgets_unlocked): Declare. Use
200 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
201 __fgets_unlocked instead of fgets_unlocked.
202 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
203 (GET_NPROCS_CONF_PARSER): Likewise.
204 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
205 (GET_NPROCS_CONF_PARSER): Likewise.
208 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
209 weak alias of __wmemset. Use libc_hidden_weak.
210 (__wmemset): Use libc_hidden_def.
211 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
212 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
216 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
217 with asm name __mempcpy.
218 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
221 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
222 and define as weak alias of __rawmemchr.
223 (__rawmemchr): Do not define as strong alias of rawmemchr.
226 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
228 (qsort): Call __qsort_r instead of qsort_r.
229 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
230 (__qsort_r): Declare. Call libc_hidden_proto.
231 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
233 * nscd/gai.c (__qsort_r): Define to qsort_r.
234 * posix/tst-rfc3484.c (__qsort_r): Likewise.
235 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
236 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
239 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
240 define as weak alias of __malloc_info.
243 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
244 as weak alias of __rewinddir. Don't use libc_hidden_def.
245 (__rewinddir): Use libc_hidden_def.
246 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
247 as weak alias of __rewinddir. Don't use libc_hidden_def.
248 (__rewinddir): Use libc_hidden_def.
249 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
250 weak alias of __rewinddir. Don't use libc_hidden_def.
251 (__rewinddir): Use libc_hidden_def.
252 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
253 (__rewinddir): Use libc_hidden_proto.
254 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
256 (__getcwd): Use __rewinddir instead of rewinddir.
259 * libio/fileno.c (fileno): Rename to __fileno and define as weak
260 alias of __fileno. Use libc_hidden_weak.
261 (__fileno): Use libc_hidden_def.
262 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
263 * libio/ftello.c (ftello): Rename to __ftello and define as weak
265 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
267 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
268 (__fread_unlocked): Define as strong alias of _IO_fread. Use
270 (fread_unlocked): Don't use libc_hidden_ver.
271 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
272 and define as weak alias of __fread_unlocked. Don't use
274 (__fread_unlocked): Use libc_hidden_def.
275 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
276 (ftello): Don't use libc_hidden_proto.
277 (__ftello): Declare. Use libc_hidden_proto.
278 (fread_unlocked): Don't use libc_hidden_proto.
279 (__fread_unlocked): Declare. Use libc_hidden_proto.
280 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
281 and __ftello instead of fileno, fread_unlocked and ftello.
283 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
285 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
287 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
289 (_dl_start_user): Likewise.
290 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
292 2014-11-12 Carlos O'Donell <carlos@redhat.com>
293 Siddhesh Poyarekar <siddhesh@redhat.com>
295 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
296 Move argv and envp down instead of moving argc up.
297 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
299 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
302 * test-skeleton.c (main): Return successful if one of
303 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
304 * string/tst-strcoll-overflow.c: Define expected status.
306 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
309 * locale/iso-639.def: Define Bhili and Tulu language codes.
311 2014-11-11 Alan Hayward <alan.hayward@arm.com>
313 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
315 2014-11-10 Renlin Li <Renlin.Li@arm.com>
318 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
320 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
322 * configure.ac: Updated check of minimal required version to
324 * manual/install.texi (Tools for Compilation): Updated version
326 * configure: Regenerated.
329 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
331 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
334 2014-11-07 Joseph Myers <joseph@codesourcery.com>
336 * include/sys/wait.h (__libc_waitpid): Remove declaration.
337 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
338 (__waitpid): Don't define as alias. Use libc_hidden_def not
340 (waitpid): Define as alias of __waitpid.
341 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
343 (__waitpid): Don't define as alias. Use libc_hidden_def not
345 (waitpid): Define as alias of __waitpid.
346 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
347 __libc_waitpid alias.
348 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
349 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
351 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
352 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
353 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
355 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
357 (__waitpid): Don't define as alias. Use libc_hidden_def not
359 (waitpid): Define as alias of __waitpid.
361 2014-11-06 Carlos O'Donell <carlos@redhat.com>
363 * manual/llio.texi: Add comment that write safety has been
366 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
367 (localplt-build-dso): Add elf/ld.so.
368 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
369 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
372 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
377 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
378 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
379 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
380 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
381 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
382 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
383 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
384 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
385 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
386 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
387 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
389 2014-11-05 Joseph Myers <joseph@codesourcery.com>
392 * include/libc-symbols.h (INTUSE): Remove macro.
394 (INTVARDEF): Likewise.
395 (_INTVARDEF): Likewise.
397 (INTVARDEF2): Likewise.
398 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
399 rtld_hidden_def instead of INTVARDEF.
400 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
401 (_dl_starting_up_internal): Remove declaration.
402 (_dl_starting_up): Use rtld_hidden_proto.
403 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
405 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
406 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
408 * elf/dl-writev.h (_dl_writev): Likewise.
409 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
410 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
411 _dl_starting_up_internal.
413 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
415 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
418 2014-11-05 Will Newton <will.newton@linaro.org>
420 * benchtests/Makefile: (bench-malloc): Add malloc thread
421 scalability benchmark.
422 * benchtests/bench-malloc-threads.c: New file.
424 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
426 * sysdeps/aarch64/strchrnul.S: New file.
428 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
430 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
432 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
434 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
436 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
438 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
440 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
443 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
445 * catgets/test-gencat.c: Use test-skeleton.c.
446 * catgets/tst-catgets.c: Likewise.
447 * csu/tst-empty.c: Likewise.
448 * elf/tst-audit2.c: Likewise.
449 * elf/tst-global1.c: Likewise.
450 * elf/tst-pathopt.c: Likewise.
451 * elf/tst-piemod1.c: Likewise.
452 * elf/tst-tls10.c: Likewise.
453 * elf/tst-tls11.c: Likewise.
454 * elf/tst-tls12.c: Likewise.
455 * gnulib/tst-gcc.c: Likewise.
456 * iconvdata/tst-e2big.c: Likewise.
457 * iconvdata/tst-loading.c: Likewise.
458 * iconv/tst-iconv1.c: Likewise.
459 * iconv/tst-iconv2.c: Likewise.
460 * inet/test-inet6_opt.c: Likewise.
461 * inet/tst-gethnm.c: Likewise.
462 * inet/tst-network.c: Likewise.
463 * inet/tst-ntoa.c: Likewise.
464 * intl/tst-codeset.c: Likewise.
465 * intl/tst-gettext2.c: Likewise.
466 * intl/tst-gettext3.c: Likewise.
467 * intl/tst-ngettext.c: Likewise.
468 * intl/tst-translit.c: Likewise.
469 * io/test-stat.c: Likewise.
470 * libio/test-fmemopen.c: Likewise.
471 * libio/tst-freopen.c: Likewise.
472 * libio/tst-sscanf.c: Likewise.
473 * libio/tst-ungetwc1.c: Likewise.
474 * libio/tst-ungetwc2.c: Likewise.
475 * libio/tst-widetext.c: Likewise.
476 * localedata/tst-ctype.c: Likewise.
477 * localedata/tst-digits.c: Likewise.
478 * localedata/tst-leaks.c: Likewise.
479 * localedata/tst-mbswcs1.c: Likewise.
480 * localedata/tst-mbswcs2.c: Likewise.
481 * localedata/tst-mbswcs3.c: Likewise.
482 * localedata/tst-mbswcs4.c: Likewise.
483 * localedata/tst-mbswcs5.c: Likewise.
484 * localedata/tst-setlocale.c: Likewise.
485 * localedata/tst-trans.c: Likewise.
486 * localedata/tst-wctype.c: Likewise.
487 * localedata/tst-xlocale1.c: Likewise.
488 * login/tst-grantpt.c: Likewise.
489 * malloc/tst-calloc.c: Likewise.
490 * malloc/tst-malloc.c: Likewise.
491 * malloc/tst-mallocstate.c: Likewise.
492 * malloc/tst-mcheck.c: Likewise.
493 * malloc/tst-mtrace.c: Likewise.
494 * malloc/tst-obstack.c: Likewise.
495 * math/atest-exp2.c: Likewise.
496 * math/atest-exp.c: Likewise.
497 * math/atest-sincos.c: Likewise.
498 * math/test-matherr.c: Likewise.
499 * math/test-misc.c: Likewise.
500 * math/test-powl.c: Likewise.
501 * math/tst-definitions.c: Likewise.
502 * misc/tst-dirname.c: Likewise.
503 * misc/tst-efgcvt.c: Likewise.
504 * misc/tst-fdset.c: Likewise.
505 * misc/tst-hsearch.c: Likewise.
506 * misc/tst-mntent2.c: Likewise.
507 * nptl/tst-sem7.c: Likewise.
508 * nptl/tst-sem8.c: Likewise.
509 * nptl/tst-sem9.c: Likewise.
510 * nss/test-netdb.c: Likewise.
511 * posix/tst-fnmatch.c: Likewise.
512 * posix/tst-getlogin.c: Likewise.
513 * posix/tst-gnuglob.c: Likewise.
514 * posix/tst-mmap.c: Likewise.
515 * pwd/tst-getpw.c: Likewise.
516 * resolv/tst-inet_ntop.c: Likewise.
517 * rt/tst-timer.c: Likewise.
518 * stdio-common/test-fseek.c: Likewise.
519 * stdio-common/test-popen.c: Likewise.
520 * stdio-common/test-vfprintf.c: Likewise.
521 * stdio-common/tst-cookie.c: Likewise.
522 * stdio-common/tst-fileno.c: Likewise.
523 * stdio-common/tst-gets.c: Likewise.
524 * stdio-common/tst-obprintf.c: Likewise.
525 * stdio-common/tst-perror.c: Likewise.
526 * stdio-common/tst-sprintf2.c: Likewise.
527 * stdio-common/tst-sprintf3.c: Likewise.
528 * stdio-common/tst-sprintf.c: Likewise.
529 * stdio-common/tst-swprintf.c: Likewise.
530 * stdio-common/tst-tmpnam.c: Likewise.
531 * stdio-common/tst-unbputc.c: Likewise.
532 * stdio-common/tst-wc-printf.c: Likewise.
533 * stdlib/tst-environ.c: Likewise.
534 * stdlib/tst-fmtmsg.c: Likewise.
535 * stdlib/tst-limits.c: Likewise.
536 * stdlib/tst-rand48-2.c: Likewise.
537 * stdlib/tst-rand48.c: Likewise.
538 * stdlib/tst-random2.c: Likewise.
539 * stdlib/tst-random.c: Likewise.
540 * stdlib/tst-strtol.c: Likewise.
541 * stdlib/tst-strtoll.c: Likewise.
542 * stdlib/tst-tls-atexit.c: Likewise.
543 * stdlib/tst-xpg-basename.c: Likewise.
544 * string/test-ffs.c: Likewise.
545 * string/tst-bswap.c: Likewise.
546 * string/tst-inlcall.c: Likewise.
547 * string/tst-strtok.c: Likewise.
548 * string/tst-strxfrm.c: Likewise.
549 * sysdeps/x86_64/tst-audit10.c: Likewise.
550 * sysdeps/x86_64/tst-audit3.c: Likewise.
551 * sysdeps/x86_64/tst-audit4.c: Likewise.
552 * sysdeps/x86_64/tst-audit5.c: Likewise.
553 * time/tst-ftime_l.c: Likewise.
554 * time/tst-getdate.c: Likewise.
555 * time/tst-mktime3.c: Likewise.
556 * time/tst-mktime.c: Likewise.
557 * time/tst-posixtz.c: Likewise.
558 * time/tst-strptime2.c: Likewise.
559 * time/tst-strptime3.c: Likewise.
560 * wcsmbs/tst-btowc.c: Likewise.
561 * wcsmbs/tst-mbrtowc.c: Likewise.
562 * wcsmbs/tst-mbsrtowcs.c: Likewise.
563 * wcsmbs/tst-wchar-h.c: Likewise.
564 * wcsmbs/tst-wcpncpy.c: Likewise.
565 * wcsmbs/tst-wcrtomb.c: Likewise.
566 * wcsmbs/tst-wcsnlen.c: Likewise.
567 * wcsmbs/tst-wcstof.c: Likewise.
569 2014-11-04 Joseph Myers <joseph@codesourcery.com>
572 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
574 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
576 (_dl_mcount): Use rtld_hidden_proto.
577 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
579 * elf/rtld.c (_rtld_global_ro): Likewise.
582 * elf/dl-init.c (_dl_init): Don't use INTDEF.
583 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
584 of _dl_init_internal.
585 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
586 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
587 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
588 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
589 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
590 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
591 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
592 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
593 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
594 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
595 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
596 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
597 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
598 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
599 * sysdeps/tile/dl-start.S (_start): Likewise.
600 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
601 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
604 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
605 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
606 (rtld_progname): Make macro definition unconditional.
607 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
609 (dlmopen_doit): Do not use INTUSE with _dl_argv.
611 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
612 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
613 instead of _dl_argv_internal.
614 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
615 __GI__dl_argv instead of INTUSE(_dl_argv).
616 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
617 __GI__dl_argv instead of _dl_argv_internal.
619 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
620 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
622 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
623 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
625 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
626 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
628 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
629 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
631 2014-11-04 Andreas Schwab <schwab@suse.de>
633 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
635 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
637 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
638 mtvsrd instruction in binary form.
640 2014-11-03 Andreas Schwab <schwab@suse.de>
643 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
644 for less than MB_LEN_MAX use a local buffer of that size.
645 * libio/tst-fputws.c: New file.
646 * libio/Makefile (tests): Add tst-fputws.
648 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
650 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
651 the size of the fpu_fr.fpu_dregs[] array.
653 2014-11-01 Joseph Myers <joseph@codesourcery.com>
655 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
656 (__nanosleep): Do not define as alias.
657 (nanosleep): Define as alias of __nanosleep.
658 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
659 __libc_nanosleep name.
661 2014-10-31 Joseph Myers <joseph@codesourcery.com>
663 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
664 install.texi in comment.
666 2014-10-31 Torvald Riegel <triegel@redhat.com>
668 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
669 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
670 ... add here and use lwsync or sync ...
671 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
672 ... and add here using lwsync.
674 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
676 * elf/dl-machine-reject-phdr.h: New file.
677 * elf/dl-load.c: #include that.
678 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
679 if that returned true.
681 2014-10-31 Roland McGrath <roland@hack.frob.com>
684 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
685 gen-as-const-headers chunk. Add a big scare comment after the last
686 safe place to touch before-compile.
688 2014-10-31 Joseph Myers <joseph@codesourcery.com>
690 * manual/install.texi (Tools for Compilation): Update autoconf
691 version requirements.
692 * INSTALL: Regenerated.
694 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
695 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
696 (__libc_pselect): Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
704 2014-10-31 Torvald Riegel <triegel@redhat.com>
706 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
707 correct barrier instruction.
708 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
710 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
713 2014-10-30 Roland McGrath <roland@hack.frob.com>
715 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
716 after defining inlines. Instead, just use parens to defeat macro
717 expansion of __isctype in its declaration.
719 2014-10-30 Joseph Myers <joseph@codesourcery.com>
721 * include/sys/uio.h (__libc_readv): Remove declaration.
722 (__libc_writev): Likewise.
723 * misc/readv.c (__libc_readv): Rename to __readv.
724 (__readv): Do not define as alias.
725 (readv): Define as alias of __readv.
726 * misc/writev.c (__libc_writev): Rename to __writev.
727 (__writev): Do not define as alias.
728 (writev): Define as alias of __writev.
729 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
730 (__readv): Do not define as alias.
731 (readv): Define unconditionally as alias of __readv.
732 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
733 (__writev): Do not define as alias.
734 (writev): Define unconditionally as alias of __writev.
735 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
737 (writev): Do not define __libc_writev name.
739 2014-10-30 Roland McGrath <roland@hack.frob.com>
741 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
742 (convert_charseq): New function, broken out of ...
743 (use_from_charmap): ... here. Call it.
744 (use_to_charmap): Use convert_charseq and free instead of duplicating
745 its code with a variable-length stack struct.
747 2014-10-30 Joseph Myers <joseph@codesourcery.com>
749 * include/fcntl.h (__libc_creat): Remove declaration.
750 * io/creat.c (__libc_creat): Rename to creat.
751 (creat): Do not define as alias.
752 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
753 of creat instead of __libc_creat.
754 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
756 (creat): Do not define as alias.
757 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
759 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
761 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
764 2014-10-29 Carlos O'Donell <carlos@redhat.com>
766 * manual/llio.texi: Add comments discussing why write() may be
767 considered MT-unsafe on Linux.
769 2014-10-28 Carlos O'Donell <carlos@redhat.com>
771 * dl-load.c (local_strdup): Remove.
772 (expand_dynamic_string_token): Use __strdup.
773 (decompose_rpath): Likewise.
774 (_dl_map_object): Likewise.
776 2014-10-28 Joseph Myers <joseph@codesourcery.com>
779 * sysdeps/generic/unwind-dw2-fde.c
780 (__register_frame_info_bases_internal): Do not declare.
781 (__register_frame_info_table_bases_internal): Likewise.
782 (__deregister_frame_info_bases_internal): Likewise.
783 (__register_frame_info_bases): Declare and use hidden_proto before
784 definition. Use hidden_def instead of INTDEF.
785 (__register_frame_info_table_bases): Likewise.
786 (__deregister_frame_info_bases): Likewise.
787 (__register_frame_info): Do not use INTUSE.
788 (__register_frame): Likewise.
789 (__register_frame_info_table): Likewise.
790 (__register_frame_table): Likewise.
791 (__deregister_frame_info): Likewise.
792 (__deregister_frame): Likewise.
794 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
796 * sysdeps/unix/sysv/linux/arm/kernel-features.h
797 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
799 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
801 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
804 2014-10-27 Joseph Myers <joseph@codesourcery.com>
807 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
808 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
809 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
810 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
811 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
812 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
813 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
814 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
815 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
816 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
817 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
818 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
819 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
821 (setfsuid): Likewise.
822 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
823 (setfsuid): Likewise.
824 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
825 (setfsuid): Likewise.
826 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
828 (setfsuid): Likewise.
829 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
830 (setfsuid): Likewise.
831 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
833 (setfsuid): Likewise.
835 2014-10-27 Andreas Schwab <schwab@suse.de>
838 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
839 check for Slow_SSE4_2 feature bit.
840 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
841 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
842 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
843 Likewise. Fix check for Fast_Unaligned_Load feature bit.
845 2014-10-24 Roland McGrath <roland@hack.frob.com>
847 * configure.ac: Validate compiler version with a empirical test of
848 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
850 * configure: Regenerated.
852 * inet/htons.c (htons): Prototypify.
853 * inet/htonl.c (htonl): Likewise.
855 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
857 * string/strncat.c (strncat): Improve performance by using strlen.
859 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
861 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
863 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
865 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
866 Call libc_fetestexcept_aarch64.
868 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
870 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
871 Call libc_feholdexcept_aarch64.
873 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
875 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
876 Call get_rounding_mode.
878 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
880 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
883 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
885 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
888 2014-10-24 Joseph Myers <joseph@codesourcery.com>
891 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
892 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
893 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
894 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
895 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
896 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
897 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
898 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
899 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
900 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
901 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
902 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
903 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
904 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
905 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
906 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
907 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
908 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
909 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
910 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
911 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
912 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
913 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
914 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
915 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
916 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
917 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
918 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
919 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
920 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
921 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
922 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
923 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
924 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
925 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
926 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
927 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
928 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
930 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
931 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
936 (getresgid): Likewise.
937 (getresuid): Likewise.
938 (getgroups): Likewise.
939 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
943 (getresgid): Likewise.
944 (getresuid): Likewise.
945 (getgroups): Likewise.
946 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
950 (getresgid): Likewise.
951 (getresuid): Likewise.
952 (getgroups): Likewise.
953 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
958 (getresgid): Likewise.
959 (getresuid): Likewise.
960 (getgroups): Likewise.
961 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
965 (getresgid): Likewise.
966 (getresuid): Likewise.
967 (getgroups): Likewise.
968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
973 (getgroups): Likewise.
976 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
977 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
978 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
979 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
980 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
981 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
982 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
983 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
984 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
985 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
986 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
987 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
988 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
990 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
993 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
997 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1005 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1007 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1010 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1012 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1015 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1017 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1018 Remove unused include.
1020 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1022 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1023 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1024 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1025 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1027 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1028 Helge Deller <deller@gmx.de>
1031 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1032 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1033 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1035 2014-10-23 Joseph Myers <joseph@codesourcery.com>
1038 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1039 Remove macro definition.
1040 (__ashrdi3_v_glibc20): Likewise.
1041 (__lshrdi3_v_glibc20): Likewise.
1042 (__cmpdi2_v_glibc20): Likewise.
1043 (__ucmpdi2_v_glibc20): Likewise.
1044 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1045 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1046 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1047 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1048 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1049 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1051 2014-10-22 Roland McGrath <roland@hack.frob.com>
1053 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1054 old GNU extension [0] syntax.
1055 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1056 alloca rather than an array member with variable length.
1057 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1058 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1059 (parse_opt): ... here. Likewise use alloca there.
1060 Validate the -i argument before checking for rootness.
1061 (send_shutdown): New function, broken out of ...
1062 (parse_opt): ... here.
1064 2014-10-22 Roland McGrath <roland@hack.frob.com>
1066 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1067 macro to get at the _rt_local_ro field.
1068 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1069 ([PIC] case) or _dl_hwcap ([!PIC] case).
1070 * sysdeps/arm/setjmp.S: Likewise.
1072 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1073 * sysdeps/arm/configure.ac: New check to define it.
1074 * sysdeps/arm/configure: Regenerated.
1075 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1076 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1077 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1078 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1079 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1080 Use move/movt pair instead of a load.
1081 (LDST_GLOBAL): Macro removed.
1082 (LDR_GLOBAL): New macro replaces it.
1083 (LDR_HIDDEN): New macro.
1084 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1085 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1087 * setjmp/tst-setjmp-static.c: New file.
1088 * setjmp/Makefile (tests): Add it.
1089 (tests-static): New variable.
1091 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1094 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1096 2014-10-21 Joseph Myers <joseph@codesourcery.com>
1099 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1101 2014-10-21 Roland McGrath <roland@hack.frob.com>
1103 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1105 2014-10-20 Roland McGrath <roland@hack.frob.com>
1107 * io/fts.c (dirent_not_directory): New function.
1108 (fts_build): Call it.
1110 2014-10-20 Roland McGrath <roland@hack.frob.com>
1112 * nptl/version.c (__nptl_main): Use normal __write rather than
1114 (banner): Update copyright years.
1116 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1118 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1119 * nptl/pthread_cond_timedwait.c: Likewise.
1120 * nptl/pthread_mutex_timedlock.c: Likewise.
1121 * nptl/sem_timedwait.c: Likewise.
1123 * sysdeps/nptl/bits/libc-lock.h
1124 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1125 (__libc_lock_init_recursive): Return void, not 0.
1126 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1127 (__libc_rwlock_init): Likewise.
1128 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1130 2014-10-20 Torvald Riegel <triegel@redhat.com>
1133 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1134 (__pthread_once_slow): ... here.
1135 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1136 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1138 2014-10-20 Torvald Riegel <triegel@redhat.com>
1141 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1142 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1143 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1144 * nptl/pthread_once.c (__pthread_once): Likewise.
1147 2014-10-20 Joseph Myers <joseph@codesourcery.com>
1150 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1152 (writev): Use __libc_writev as strong name.
1153 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1154 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1156 2014-10-17 Roland McGrath <roland@hack.frob.com>
1158 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1160 * sysdeps/i386/nptl/tls.h
1161 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1162 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1164 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1165 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1166 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1167 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1168 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1169 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1171 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1172 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1174 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1176 (__pthread_mutex_init): ... here. Call it.
1177 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1178 Conditionalize PI cases on [__NR_futex].
1179 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1180 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1181 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1183 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1184 conditional on [SIGSETXID].
1185 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1186 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1187 is defined. Likewise for SIGSETXID.
1188 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1189 Conditionalize definitions on [SIGSETXID].
1190 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1191 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1192 unblocking on [SIGCANCEL].
1194 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1195 [__NR_set_robust_list].
1197 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1199 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1200 (do_compare): Likewise.
1202 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
1205 * string/strcoll_l.c: Don't include stdio.h.
1206 (coll_seq): Remove members idxarr and rulearr.
1207 (get_next_seq_cached): Remove function.
1208 (get_next_seq): Likewise.
1209 (get_next_seq_nocache): Rename to get_next_seq.
1210 (do_compare): Remove function.
1211 (do_compare_nocache): Rename to do_compare.
1212 (STRCOLL): Remove weight and rules cache.
1214 2014-10-16 Roland McGrath <roland@hack.frob.com>
1216 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1217 * sysdeps/arm/sfp-machine.h: ... to here.
1218 * sysdeps/arm/Implies: Remove arm/soft-fp.
1220 2014-10-14 Joseph Myers <joseph@codesourcery.com>
1222 * conform/data/sys/utsname.h-data (*_t): Allow.
1223 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1224 [POSIX] (WEXITED): Do not expect constant.
1225 [POSIX] (WSTOPPED): Likewise.
1226 [POSIX] (WNOHANG): Likewise.
1227 [POSIX] (WNOWAIT): Likewise.
1228 [POSIX] (siginfo_t): Do not expect type or elements.
1229 [POSIX] (pid_t): Do not expect type.
1230 [POSIX] (signal.h): Do not allow header.
1231 [POSIX] (sys/resource.h): Likewise.
1232 [POSIX] (si_*): Do not allow pattern.
1233 [POSIX] (W*): Likewise.
1234 [POSIX] (P_*): Likewise.
1235 [POSIX] (BUS_*): Likewise.
1236 [POSIX] (CLD_*): Likewise.
1237 [POSIX] (FPE_*): Likewise.
1238 [POSIX] (ILL_*): Likewise.
1239 [POSIX] (POLL_*): Likewise.
1240 [POSIX] (SEGV_*): Likewise.
1241 [POSIX] (SI_*): Likewise.
1242 [POSIX] (TRAP_*): Likewise.
1243 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1246 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1249 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1250 infinite loop when __recvmsg returns 0.
1252 2014-10-10 Joseph Myers <joseph@codesourcery.com>
1254 * CANCEL-FCT-WAIVE: Remove file.
1255 * CANCEL-FILE-WAIVE: Likewise.
1258 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1259 instead of INTVARDEF.
1260 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1261 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1262 rtld_hidden_data_def instead of INTVARDEF.
1263 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1264 * elf/dl-deps.c (expand_dst): Likewise.
1265 * elf/dl-load.c (_dl_dst_count): Likewise.
1266 (_dl_dst_substitute): Likewise.
1267 (decompose_rpath): Likewise.
1268 (_dl_init_paths): Likewise.
1269 (open_path): Likewise.
1270 (_dl_map_object): Likewise.
1271 * elf/rtld.c (dl_main): Likewise.
1272 (process_dl_audit): Likewise.
1273 (process_envvars): Likewise.
1274 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1276 (__libc_enable_secure): Use rtld_hidden_proto.
1278 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1281 (add_path): New function broken out of _dl_rtld_di_serinfo.
1282 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1284 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1286 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1287 parentheses around macro arguments.
1288 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1289 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1290 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1291 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1292 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1293 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1294 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1295 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1296 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1297 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1298 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1299 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1300 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1301 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1302 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1303 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1304 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1305 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1306 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1307 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1308 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1309 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1310 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1313 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1317 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1318 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1319 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1320 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1321 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1322 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1323 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1325 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1326 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1327 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1328 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1329 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1332 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1333 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1334 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1335 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1336 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1337 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1338 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1339 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1340 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1342 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1343 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1344 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1346 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1347 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1348 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1349 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1350 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1351 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1352 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1353 (_FP_FRAC_SRS_1): Likewise.
1354 (_FP_FRAC_CLZ_1): Likewise.
1355 (_FP_MUL_MEAT_1_imm): Likewise.
1356 (_FP_MUL_MEAT_1_wide): Likewise.
1357 (_FP_MUL_MEAT_1_hard): Likewise.
1358 (_FP_SQRT_MEAT_1): Likewise.
1359 (_FP_FRAC_ASSEMBLE_1): Likewise.
1360 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1361 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1362 (__FP_CLZ_2): Likewise.
1363 (_FP_MUL_MEAT_2_wide): Likewise.
1364 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1365 (_FP_MUL_MEAT_2_gmp): Likewise.
1366 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1367 (_FP_SQRT_MEAT_2): Likewise.
1368 (_FP_FRAC_ASSEMBLE_2): Likewise.
1369 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1370 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1371 (_FP_FRAC_CLZ_4): Likewise.
1372 (_FP_MUL_MEAT_4_wide): Likewise.
1373 (_FP_MUL_MEAT_4_gmp): Likewise.
1374 (_FP_SQRT_MEAT_4): Likewise.
1375 (_FP_FRAC_ASSEMBLE_4): Likewise.
1376 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1377 * soft-fp/op-common.h (_FP_CMP): Likewise.
1378 (_FP_CMP_EQ): Likewise.
1379 (_FP_CMP_UNORD): Likewise.
1380 (_FP_TO_INT): Likewise.
1381 (_FP_FROM_INT): Likewise.
1382 [!__FP_CLZ] (__FP_CLZ): Likewise.
1383 (_FP_DIV_HELP_imm): Likewise.
1384 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1386 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1387 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1389 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1392 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1393 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1397 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1398 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1399 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1400 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1401 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1402 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1405 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1407 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1409 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1411 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1412 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1415 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1416 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1417 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1418 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1419 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1420 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1421 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1422 (FP_UNPACK_RAW_SP): Likewise.
1423 (FP_PACK_RAW_S): Likewise.
1424 (FP_PACK_RAW_SP): Likewise.
1425 (FP_UNPACK_S): Likewise.
1426 (FP_UNPACK_SP): Likewise.
1427 (FP_UNPACK_SEMIRAW_S): Likewise.
1428 (FP_UNPACK_SEMIRAW_SP): Likewise.
1429 (FP_PACK_S): Likewise.
1430 (FP_PACK_SP): Likewise.
1431 (FP_PACK_SEMIRAW_S): Likewise.
1432 (FP_PACK_SEMIRAW_SP): Likewise.
1433 (_FP_SQRT_MEAT_S): Likewise.
1434 (FP_CMP_S): Likewise.
1435 (FP_CMP_EQ_S): Likewise.
1436 (FP_CMP_UNORD_S): Likewise.
1437 (FP_TO_INT_S): Likewise.
1438 (FP_FROM_INT_S): Likewise.
1440 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1442 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1443 (FP_EX_INVALID_IMZ): Likewise.
1444 (FP_EX_INVALID_IMZ_FMA): Likewise.
1445 (FP_EX_INVALID_ISI): Likewise.
1446 (FP_EX_INVALID_ZDZ): Likewise.
1447 (FP_EX_INVALID_IDI): Likewise.
1448 (FP_EX_INVALID_SQRT): Likewise.
1449 (FP_EX_INVALID_CVI): Likewise.
1450 (FP_EX_INVALID_VC): Likewise.
1451 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1452 "invalid" exceptions.
1453 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1454 (_FP_ADD_INTERNAL): Likewise.
1455 (_FP_MUL): Likewise.
1456 (_FP_FMA): Likewise.
1457 (_FP_DIV): Likewise.
1458 (_FP_CMP_CHECK_NAN): Likewise.
1459 (_FP_SQRT): Likewise.
1460 (_FP_TO_INT): Likewise.
1461 (FP_EXTEND): Likewise.
1463 2014-10-09 Allan McRae <allan@archlinux.org>
1465 * po/fr.po: Update French translation from translation project.
1467 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1470 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1472 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1473 (__cxa_atexit): Use libc_hidden_proto.
1474 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1477 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1479 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1480 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1481 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1482 [!_ISOMAC] (__iswctype_internal): Likewise.
1483 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1484 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1486 (fcntl): Remove __fcntl_internal alias.
1487 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1488 __connect_internal alias.
1489 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1492 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1493 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1495 (_FP_CHECK_FLUSH_ZERO): New macro.
1496 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1497 (_FP_CMP): Likewise.
1498 (_FP_CMP_EQ): Likewise.
1499 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1501 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1502 (FP_TRUNC): Likewise.
1504 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1505 treated as invalid conversion, not as normal exponent.
1507 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1508 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1509 (_FP_CMP_EQ): Likewise.
1510 (_FP_CMP_UNORD): Likewise.
1511 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1512 (FP_CMP_EQ_D): Likewise.
1513 (FP_CMP_UNORD_D): Likewise.
1514 * soft-fp/extended.h (FP_CMP_E): Likewise.
1515 (FP_CMP_EQ_E): Likewise.
1516 (FP_CMP_UNORD_E): Likewise.
1517 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1518 (FP_CMP_EQ_Q): Likewise.
1519 (FP_CMP_UNORD_Q): Likewise.
1520 * soft-fp/single.h (FP_CMP_S): Likewise.
1521 (FP_CMP_EQ_S): Likewise.
1522 (FP_CMP_UNORD_S): Likewise.
1523 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1524 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1525 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1526 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1527 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1528 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1529 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1530 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1531 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1532 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1533 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1534 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1535 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1537 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1539 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1540 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1542 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1544 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1545 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1546 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1547 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1549 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1551 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1552 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1554 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1556 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1557 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1558 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1559 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1562 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1563 a subnormal result, set the underflow exception if trapping on
1564 underflow is enabled.
1565 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1566 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1567 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1569 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1570 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1571 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1572 * soft-fp/extendxftf2.c (__extendxftf2): Use
1573 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1575 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1576 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1577 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1578 FP_HANDLE_EXCEPTIONS.
1579 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1580 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1581 FP_HANDLE_EXCEPTIONS.
1582 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1583 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1584 FP_HANDLE_EXCEPTIONS.
1585 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1586 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1587 FP_HANDLE_EXCEPTIONS.
1589 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1592 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1593 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1595 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1596 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1598 (__adjtimex): Define using libc_hidden_ver.
1599 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1601 (ntp_gettime): Call __adjtimex directly.
1602 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1604 (ntp_gettimex): Call __adjtimex directly.
1605 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1606 __adjtimex_internal alias.
1608 2014-10-08 Roland McGrath <roland@hack.frob.com>
1611 * nscd/nscd.c (more_help): Rewrite list of tables collection
1612 using xstrdup and asprintf.
1614 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1616 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1617 Roland McGrath <roland@hack.frob.com>
1619 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1620 (do_lookup_unique): ... local function 'enter' here; update callers.
1622 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1624 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1625 compat_symbol calls on [SHARED].
1626 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1627 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1629 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1630 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1631 (oldsetrlimit): Remove.
1632 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1634 (lchown): New syscall entry.
1635 (oldsetrlimit): Remove.
1636 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1637 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1638 (oldsetrlimit): Remove.
1639 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1642 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1643 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1644 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1645 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1646 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1647 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1649 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1654 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1657 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1658 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1659 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1660 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1662 (__old_sem_post): Likewise.
1664 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1666 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1667 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1668 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1669 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1670 Use INLINE_VSYSCALL macro.
1671 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1672 __vdso_clock_gettime.
1673 * sysdeps/unix/sysv/linux/tile/init-first.c
1674 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1675 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1676 __vdso_clock_gettime.
1678 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1679 to set up frame more cleanly.
1681 * sysdeps/tile/memcmp.c: New file.
1683 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1685 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1686 * sysdeps/tile/tilegx/strcasestr.c: New file.
1687 * sysdeps/tile/tilegx/strnlen.c: New file.
1688 * sysdeps/tile/tilegx/strstr.c: New file.
1690 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1692 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1694 * nptl/tst-setuid3.c: Write errors to stdout.
1696 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1699 (preload): New functions broken out of _dl_map_object_deps.
1700 (_dl_map_object_deps): Remove a nested function. Update call sites.
1702 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1705 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1706 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1708 2014-10-01 Steve Ellcey <sellcey@mips.com>
1710 * sysdeps/mips/strcmp.S: New.
1712 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1715 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1717 (mkdirat): Likewise.
1718 (readlinkat): Likewise.
1719 (renameat): Likewise.
1720 (symlinkat): Likewise.
1721 (unlinkat): Likewise.
1722 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1723 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1724 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1725 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1726 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1727 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1728 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1730 2014-09-30 Will Newton <will.newton@linaro.org>
1732 * math/math.h: Define long double math functions if
1733 _LIBC_TEST is defined.
1734 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1736 * localedata/Makefile: Move assignment to tests-special
1737 into an ifdef testing run-built-tests.
1738 * timezone/Makefile: Likewise.
1740 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1742 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1743 with $(BASH) not $(SHELL).
1745 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1746 Matthew LeGendre <legendre1@llnl.gov>
1749 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1752 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1754 * stdio-common/printf_fp.c
1755 (hack_digit): New function, broken out of ...
1756 (__printf_fp): ... local function here. Update call sites.
1757 hack_digit now takes an additional parameter that is a pointer
1758 to a struct of the referenced locals. Those locals moved inside
1759 the struct and references updated.
1761 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1763 * aclocal.m4: Require autoconf 2.69.
1764 * configure: Regenerated.
1765 * sysdeps/aarch64/configure: Likewise.
1766 * sysdeps/alpha/configure: Likewise.
1767 * sysdeps/arm/armv7/configure: Likewise.
1768 * sysdeps/arm/configure: Likewise.
1769 * sysdeps/ia64/configure: Likewise.
1770 * sysdeps/mach/configure: Likewise.
1771 * sysdeps/mips/configure: Likewise.
1772 * sysdeps/s390/configure: Likewise.
1773 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1776 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1778 * sysdeps/ia64/configure.ac: Likewise.
1780 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1783 specify symbol version for ld.so. Do not include entry for
1785 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1786 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1790 * Makeconfig [$(build-shared) = yes]
1791 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1793 [$(build-shared) = yes && $(soversions.mk-done) = t]
1794 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1795 [$(build-shared) = yes && $(soversions.mk-done) = t]
1796 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1798 [$(build-shared) = yes && $(soversions.mk-done) = t]
1799 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1801 [$(build-shared) = yes && $(soversions.mk-done) = t]
1802 (common-generated): Don't append gnu/lib-names.h and
1803 gnu/lib-names.stmp here.
1804 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1805 (lib-names-h-abi): New variable.
1806 [$(build-shared) = yes && $(soversions.mk-done) = t]
1807 (lib-names-stmp-abi): Likewise.
1808 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1809 abi-variants] (before-compile): Append
1810 $(common-objpfx)$(lib-names-h-abi).
1811 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1812 abi-variants] (common-generated): Append gnu/lib-names.h.
1813 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1814 abi-variants] (install-others-nosubdir): Depend on
1815 $(inst_includedir)/$(lib-names-h-abi).
1816 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1817 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1818 [$(build-shared) = yes && $(soversions.mk-done) = t]
1819 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1820 [$(build-shared) = yes && $(soversions.mk-done) = t]
1821 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1822 [$(build-shared) = yes && $(soversions.mk-done) = t]
1823 (common-generated): Append $(lib-names-h-abi) and
1824 $(lib-names-stmp-abi).
1825 * scripts/lib-names.awk: Do not handle multi being set.
1826 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1828 (abi-lp64_be-ld-soname): Likewise.
1829 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1831 (abi-hard-ld-soname): Likewise.
1832 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1833 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1835 (abi-o32_hard-ld-soname): Likewise.
1836 (abi-o32_soft_2008-ld-soname): Likewise.
1837 (abi-o32_hard_2008-ld-soname): Likewise.
1838 (abi-n32_soft-ld-soname): Likewise.
1839 (abi-n32_hard-ld-soname): Likewise.
1840 (abi-n32_soft_2008-ld-soname): Likewise.
1841 (abi-n32_hard_2008-ld-soname): Likewise.
1842 (abi-n64_soft-ld-soname): Likewise.
1843 (abi-n64_hard-ld-soname): Likewise.
1844 (abi-n64_soft_2008-ld-soname): Likewise.
1845 (abi-n64_hard_2008-ld-soname): Likewise.
1846 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1848 (abi-64-v2-ld-soname): Likewise.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1851 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1853 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1855 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1857 (abi-64-ld-soname): Likewise.
1858 (abi-x32-ld-soname): Likewise.
1859 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1861 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1863 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1866 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1867 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1868 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1869 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1870 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1871 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1872 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1873 syscall entry for GLIBC_2.2 symbol version.
1874 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1877 (setrlimit): Likewise.
1878 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1881 2014-09-23 Will Newton <will.newton@linaro.org>
1883 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1884 _LINUX_ARM_SYSDEP_H include guard too.
1885 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1888 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1890 * sysdeps/unix/sysv/linux/eventfd.c:
1891 Make first argument unsigned.
1892 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1893 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1895 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1897 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1898 * socket/sys/socket.h: Likewise
1899 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1901 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1903 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1905 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1907 * time/tst-ftime.c: New test.
1908 * time/Makefile (tests): Add tst-ftime.
1910 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1912 * soft-fp/extended.h: Fix comment formatting.
1913 * soft-fp/op-1.h: Likewise.
1914 * soft-fp/op-2.h: Likewise.
1915 * soft-fp/op-4.h: Likewise.
1916 * soft-fp/op-8.h: Likewise.
1917 * soft-fp/op-common.h: Likewise.
1918 * soft-fp/soft-fp.h: Likewise.
1920 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1922 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1925 * Makeconfig (soversions-default-setname): Remove variable.
1926 ($(common-objpfx)soversions.i): Don't pass default_setname to
1928 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1929 oldest_abi to abi-versions.awk.
1930 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1931 * config.make.in (oldest-abi): Remove variable.
1932 * configure.ac (--enable-oldest-abi): Remove configure option.
1933 * configure: Regenerated.
1934 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1936 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1937 * scripts/soversions.awk: Do not handle default_setname variable.
1938 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1940 * sysdeps/mach/hurd/configure: Regenerated.
1941 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1943 * sysdeps/unix/sysv/linux/configure: Regenerated.
1945 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1947 * elf/Makefile (CFLAGS-interp.c): Remove.
1948 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1950 * elf/interp.c: Include generated runtime-linker.h
1952 * Makerules (lib%.so): Don't include $(+interp) in
1954 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1955 * dlfcn/eval.c: Remove file.
1957 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1961 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1965 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1967 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1968 Jakub Jelinek <jakub@redhat.com>
1971 * libio/stdio.h: Check definition of __fortify_function
1972 instead of __extern_always_inline to include bits/stdio2.h.
1973 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1974 check if __extern_always_inline is defined.
1975 [__USE_MISC || __USE_XOPEN]: Likewise.
1976 [__USE_ISOC99] Likewise.
1977 * misc/sys/cdefs.h (__fortify_function): Define only if
1978 __extern_always_inline is defined.
1979 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1980 __extern_always_inline and __extern_inline only for g++-4.3
1981 and newer or a compatible gcc.
1983 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1986 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1987 last change to handle zero prefix length.
1989 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1991 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1994 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1997 2014-09-13 Allan McRae <allan@archlinux.org>
1999 * po/ru.po: Update Russian translation from translation project.
2001 2014-09-12 Roland McGrath <roland@hack.frob.com>
2003 * locale/programs/locale.c (show_locale_vars): Inline local function
2004 into its sole call site. Clean up some style nits.
2005 (print_item): New function, broken out of ...
2006 (show_info): ... local function here. Clean up style nits.
2008 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2010 (set_class_defaults): ... local function set_default here.
2011 Define set_default as a macro locally to pass constant parameters.
2012 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2013 rather than a shared local.
2015 * stdlib/rpmatch.c (try): New function, broken out of ...
2016 (rpmatch): ... local function here. Also, prototypify definition.
2018 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2020 * scripts/soversions.awk: Do not handle configuration names.
2021 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2022 vendor and os variables to soversions.awk.
2023 * configure.ac: Do not modify gnu-* host_os.
2024 * configure: Regenerated
2025 * shlib-versions: Remove first column with configuration names.
2026 * nptl/shlib-versions: Likewise.
2027 * nptl_db/shlib-versions: Likewise.
2028 * sysdeps/hppa/shlib-versions: Likewise.
2029 * sysdeps/m68k/shlib-versions: Likewise.
2030 * sysdeps/mach/hurd/shlib-versions: Likewise.
2031 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2032 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2033 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2034 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2035 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2036 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2037 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2038 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2041 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2042 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2043 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2044 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2046 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2047 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2048 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2051 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2054 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2056 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2058 * shlib-versions: Remove OS-specific entries. Moved to files in
2060 * sysdeps/mach/hurd/shlib-versions: New file.
2061 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2063 * nptl/shlib-versions: Remove architecture-specific entries.
2064 Moved to files in sysdeps.
2065 * shlib-versions: Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2068 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2069 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2071 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2073 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2074 (UDP_NO_CHECK6_RX): Likewise.
2076 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2078 * sysdeps/posix/sysconf.c (__sysconf): Spell
2079 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2081 2014-08-12 Florian Weimer <fweimer@redhat.com>
2083 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2085 * iconv/Versions (__gconv_transliterate): Export for use from
2087 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2088 (struct __gconv_trans_data, __gconv_trans_fct,
2089 __gconv_trans_context_fct, __gconv_trans_query_fct,
2090 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2092 (struct __gconv_step_data): Remove __trans member.
2093 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2094 longer hidden. Remove unused trans_data argument.
2095 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2096 (__gconv_translit_find): Remove declaration.
2097 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2099 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2100 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2101 trans_data argument. Add hidden definition.
2102 (__gconv_translit_find): Remove.
2103 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2104 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2105 * iconv/skeleton.c: Remove transliteration initialization.
2106 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2107 __gconv_step_data initialization.
2108 * libio/iofwide.c (__libio_translit_): Remove.
2109 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2110 * wcsmbs/btowc.c (__btowc): Likewise.
2111 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2112 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2113 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2114 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2115 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2116 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2117 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2118 * wcsmbs/wctob.c (wctob): Likewise.
2120 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2123 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2124 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2126 * sysdeps/x86/Makefile: Adjust.
2128 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2129 Roland McGrath <roland@hack.frob.com>
2131 * locale/weight.h: Add include guard.
2132 (findidx): Make static rather than auto; take new parameters
2133 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2134 * locale/weightwc.h: Likewise.
2135 * posix/fnmatch_loop.c
2136 (FCT): Change type of EXTRA from int32_t to wint_t.
2137 Don't include either header inside the function.
2138 Call FINDIDX rather than findidx, and pass new arguments.
2139 #undef FINDIDX at the end of the file.
2140 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2141 FINDIDX before including fnmatch_loop.c for the non-wide version.
2142 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2143 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2144 for the wide version.
2145 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2146 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2147 Pass new arguments to findidx.
2148 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2149 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2150 Don't #include it inside the function. Pass new arguments to findidx.
2151 * posix/regex_internal.h
2152 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2153 (re_string_elem_size_at): Don't #include it inside the function.
2154 Pass new arguments to findidx.
2155 * string/strcoll_l.c: #include WEIGHT_H at top level.
2156 (get_next_seq): Don't #include it inside the function.
2157 Pass new arguments to findidx.
2158 (get_next_seq_nocache): Likewise.
2159 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2160 (STRXFRM): Don't #include it inside the function.
2161 Pass new arguments to findidx.
2163 2014-09-11 Florian Weimer <fweimer@redhat.com>
2166 * malloc/malloc.c (unlink): Turn asserts into a call to
2169 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
2172 * libio/wfileops (do_ftell_wide): Free OUT.
2174 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2176 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2178 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2181 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2182 group if the current group is empty.
2184 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186 * benchtests/bench-memset.c (test_main): Add more test from size
2187 from 32 to 512 bytes.
2188 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2189 Add POWER8 memset object.
2190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2191 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2192 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2194 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2196 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2197 multiarch POWER8 memset optimization.
2198 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2199 POWER8 memset optimization.
2201 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2202 Remove bzero multiarch objects.
2203 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2204 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2206 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2208 [__bzero]: Redefine to specific name.
2209 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2210 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2211 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2213 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2214 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2216 2014-09-10 Florian Weimer <fweimer@redhat.com>
2218 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2219 warnings into errors.
2221 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2222 __cxa_thread_atexit_impl prototype.
2224 2014-09-09 Steve Ellcey <sellcey@mips.com>
2226 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2227 Fix capitalization of error message.
2229 2014-09-09 Steve Ellcey <sellcey@mips.com>
2231 * sysdeps/mips/preconfigure: Modify ABI tests.
2233 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2235 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2237 2014-09-07 Roland McGrath <roland@hack.frob.com>
2238 Carlos O'Donell <carlos@systemhalted.org>
2240 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2241 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2242 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2243 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2244 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2245 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2246 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2247 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2248 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2249 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2250 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2251 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2252 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2253 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2254 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2255 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2256 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2257 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2258 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2259 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2260 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2261 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2262 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2263 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2264 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2265 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2266 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2267 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2268 Deconditionalize the code that was previously under [RESET_PID].
2269 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2270 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2271 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2272 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2275 2014-09-08 Allan McRae <allan@archlinux.org>
2277 * version.h (RELEASE): Set to "development".
2278 (VERSION): Set to "2.20.90"
2280 2014-09-07 Allan McRae <allan@archlinux.org
2282 * version.h (RELEASE): Set to "stable".
2283 (VERSION): Set to "2.20"
2284 * include/features.h (__GLIBC_MINOR__): Set to 20.
2286 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2289 * po/ko.po: Update Korean translation from translation project.
2291 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2294 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2295 macro for handling signed relocations.
2297 2014-09-03 Florian Weimer <fweimer@redhat.com>
2300 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2301 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2303 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2304 * iconvdata/ibm935.c (BODY): Likewise.
2305 * iconvdata/ibm937.c (BODY): Likewise.
2306 * iconvdata/ibm939.c (BODY): Likewise.
2307 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2309 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2311 * iconvdata/run-iconv-test.sh: New test loop for checking for
2314 2014-09-02 Khem Raj <raj.khem@gmail.com>
2316 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2319 2014-09-01 Allan McRae <allan@archlinux.org>
2321 * po/eo.po: Update Esperanto translation from translation project.
2323 * po/ca.po: Update Catalan translation from translation project.
2325 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2327 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2330 2014-08-27 Mark Wielaard <mjw@redhat.com>
2333 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2334 to call set_thread_area instead of hand written asm.
2335 (__NR_set_thread_area): Removed define.
2336 (TLS_FLAG_WRITABLE): Likewise.
2337 (__ASSUME_SET_THREAD_AREA): Remove check.
2338 (TLS_EBX_ARG): Remove define.
2339 (TLS_LOAD_EBX): Likewise.
2341 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2343 Simplify atomicity of socket creation in bind.
2345 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2346 looking up the name after linking the file.
2348 2014-08-27 Allan McRae <allan@archlinux.org>
2350 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2352 2014-08-26 Florian Weimer <fweimer@redhat.com>
2355 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2356 trans_compare, open_translit, __gconv_translit_find):
2357 Remove module loading code.
2359 2014-08-26 Allan McRae <allan@archlinux.org>
2361 * po/vi.po: Update Vietnamese translation from translation project.
2363 * po/uk.po: Update Ukrainian translation from translation project.
2365 * po/fr.po: Update French translation from translation project.
2367 * po/ru.po: Update Russian translation from translation project.
2369 * po/pl.po: Update Polish translation from translation project.
2371 * po/cs.po: Update Czech translation from translation project.
2373 * po/de.po: Update German translation from translation project.
2375 * po/bg.po: Update Bulgarian translation from translation project.
2377 * po/sv.po: Update Sweedish translation from translation project.
2379 * po/nl.po: Update Dutch translation from translation project.
2381 * po/es.po: Update Spanish translation from translation project.
2383 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2385 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2387 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2388 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2389 (CPPFLAGS-iconvconfig): Likewise.
2390 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2392 * include/libc-symbols.h: Remove unnecessary check for
2394 * nptl/pthreadP.h: Likewise.
2395 * sysdeps/aarch64/setjmp.S: Likewise.
2396 * sysdeps/alpha/setjmp.S: Likewise.
2397 * sysdeps/arm/sysdep.h: Likewise.
2398 * sysdeps/i386/setjmp.S: Likewise.
2399 * sysdeps/m68k/setjmp.c: Likewise.
2400 * sysdeps/posix/getcwd.c: Likewise.
2401 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2402 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2403 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2404 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2405 * sysdeps/sh/sh3/setjmp.S: Likewise.
2406 * sysdeps/sh/sh4/setjmp.S: Likewise.
2407 * sysdeps/unix/alpha/sysdep.h: Likewise.
2408 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2409 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2410 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2411 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2414 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2416 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2419 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2421 * sysdeps/x86_64/setjmp.S: Likewise.
2423 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2426 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2428 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2429 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2431 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2433 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2436 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2437 and __x86_64__ when disabling x87 inline functions.
2439 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2442 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2443 asm statement with __cpuid_count.
2445 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2447 * configure.ac: Change __ehdr_start code to dereference the struct.
2448 Run readelf on the output to look for relocations.
2449 * configure: Regenerated.
2451 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2454 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2456 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2458 2014-08-12 Roland McGrath <roland@hack.frob.com>
2460 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2462 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2465 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2466 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2468 2014-08-12 Sean Anderson <seanga2@gmail.com>
2470 * malloc/malloc.c: Fix typo in comment.
2472 2014-08-09 Allan McRae <allan@archlinux.org>
2474 * Regenerate libc.po.
2476 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2478 * intl/tst-gettext2.sh: Check every lang file for creation.
2480 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2482 * sysdeps/aarch64/fpu/math_private.h
2483 (libc_feholdsetround_noex_aarch64_ctx): New function.
2485 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2487 * sysdeps/arm/armv6/strcpy.S (strcpy):
2488 Fix performance issue in misaligned cases.
2490 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2493 Move definition from termios.h.
2494 (struct termio): Likewise.
2495 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2496 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2497 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2498 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2500 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2501 Move definition to ioctl-types.h
2502 (struct termio): Likewise.
2503 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2504 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2505 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2506 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2509 2014-08-05 Richard Henderson <rth@redhat.com>
2511 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2513 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2515 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2516 Use __feraiseexcept.
2517 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2518 Protect libm symbols with IS_IN_libm.
2520 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2522 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2524 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2526 2014-08-04 Will Newton <will.newton@linaro.org>
2528 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2531 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2533 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2534 variants for each function.
2536 2014-08-04 Roland McGrath <roland@hack.frob.com>
2538 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2540 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2541 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2543 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2544 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2545 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2546 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2547 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2548 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2549 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2550 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2551 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2552 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2553 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2555 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2556 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2557 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2558 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2559 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2560 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2561 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2562 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2563 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2564 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2565 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2566 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2567 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2568 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2569 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2570 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2571 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2572 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2573 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2574 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2575 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2576 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2577 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2578 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2579 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2580 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2581 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2582 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2583 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2584 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2585 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2586 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2587 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2588 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2589 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2591 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2593 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2594 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2595 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2597 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2598 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2600 2014-08-04 Roland McGrath <roland@hack.frob.com>
2602 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2603 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2604 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2605 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2606 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2607 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2609 2014-08-04 Roland McGrath <roland@hack.frob.com>
2611 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2612 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2613 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2614 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2616 2014-08-04 Roland McGrath <roland@hack.frob.com>
2618 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2619 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2620 (__libc_vfork): Define function under this name.
2621 (__vfork): Define as an alias.
2622 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2623 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2625 2014-08-04 Roland McGrath <roland@hack.frob.com>
2627 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2628 that was previously under [RESET_PID].
2629 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2631 2014-08-04 Andreas Schwab <schwab@suse.de>
2633 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2635 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2637 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2640 2014-08-01 Roland McGrath <roland@hack.frob.com>
2642 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2644 2014-08-01 Richard Henderon <rth@redhat.com>
2646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2647 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2648 typo in exact zero test.
2649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2650 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2651 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2653 2014-08-01 Roland McGrath <roland@hack.frob.com>
2655 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2656 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2657 * sysdeps/arm/sysdep.h: ... here.
2658 [!__ASSEMBLER__]: Include <stdint.h>.
2660 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2662 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2663 (HAVE_WCTYPE_H): Likewise.
2664 (HAVE_ISWCTYPE): Likewise.
2665 (ENABLE_NLS): Likewise.
2666 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2667 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2669 * posix/regex_internal.c: Check if DEBUG is defined and is
2672 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2673 (HAVE_MBSRTOWCS): Likewise.
2674 * posix/fnmatch.c: Include string.h unconditionally.
2676 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2678 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2681 2014-07-31 Roland McGrath <roland@hack.frob.com>
2683 * sysdeps/generic/safe-fatal.h: New file.
2684 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2685 * nptl/forward.c: Include it.
2686 (__pthread_unwind): Use __safe_fatal as default action, rather
2687 than a bogus use of INTERNAL_SYSCALL that could never work.
2689 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2690 * configure.ac (libc_cv_builtin_trap): New test.
2691 * configure: Regenerated.
2692 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2693 (ABORT_INSTRUCTION): Define using __builtin_trap.
2695 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2696 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2697 * sysdeps/nptl/nptl-signals.h: New file.
2698 * nptl/pthreadP.h: Include <nptl-signals.h>.
2700 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2702 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2703 (ONE_DIRECTION): Define.
2704 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2705 (ONE_DIRECTION): Define.
2706 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2707 (ONE_DIRECTION): Define.
2709 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2711 * sysdeps/s390/Makefile: Delete file.
2712 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2713 * sysdeps/s390/__longjmp.c: Delete file.
2714 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2715 Remove fields __flags and __reserved.
2716 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2718 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2719 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2720 * sysdeps/s390/rtld-setjmp.S: Likewise.
2721 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2722 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2723 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2724 * sysdeps/s390/s390-32/setjmp.S: ... here.
2726 (__sigsetjmp): Remove setting __flags field.
2727 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2728 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2729 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2730 * sysdeps/s390/s390-64/setjmp.S: ... here.
2732 (__sigsetjmp): Remove setting __flags field.
2733 * sysdeps/s390/setjmp.S: Delete file.
2734 * sysdeps/s390/sigjmp.c: Likewise.
2735 * sysdeps/s390/v1-longjmp.c: Likewise.
2736 * sysdeps/s390/v1-setjmp.h: Likewise.
2737 * sysdeps/s390/v1-sigjmp.c: Likewise.
2738 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2739 Remove v1-longjmp_chk.
2740 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2741 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2742 Include debug/longjmp_chk.c and add versioning.
2743 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2744 Include nptl/pt-longjmp.c and add versioning.
2745 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2746 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2747 Include __longjmp.c.
2748 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2750 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2751 (__getcontext): Remove setting __flags field.
2753 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2754 Don't restore upper high grps.
2755 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2757 (__swapcontext): Remove setting uc_flags field.
2758 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2760 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2761 Include __longjmp.c.
2762 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2764 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2765 (__getcontext): Remove setting __flags field.
2767 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2768 (__swapcontext): Remove setting uc_flags field.
2769 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2770 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2771 Remove fields uc_high_gprs and __reserved.
2772 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2773 New file with reverted content.
2774 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2775 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2777 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2780 2014-07-31 Andreas Schwab <schwab@suse.de>
2782 * config.h.in (HAVE_IFUNC): Define to 0.
2783 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2786 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2789 memmove-avx-unaligned, memcpy-avx-unaligned and
2790 mempcpy-avx-unaligned.
2791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2792 Add tests for AVX memcpy functions.
2793 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2794 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2796 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2797 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2799 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2800 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2802 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2803 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2804 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2806 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2809 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2812 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2815 * manual/llio.texi: Add section about open file description locks.
2816 * manual/examples/ofdlocks.c: Example of open file description
2818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2819 F_OFD_SETLK, and F_OFD_SETLKW.
2821 2014-07-23 Allan McRae <allan@archlinux.org>
2823 * po/es.po: Update Spanish translation from translation project.
2825 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2827 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2829 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2832 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2833 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2834 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2836 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2839 * math/fesetenv.c (__fesetenv)
2840 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2841 * math/feupdateenv.c (__feupdateenv)
2842 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2844 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2845 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2846 (__ASSUME_SOCKETCALL): Do not define.
2848 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2849 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2850 (__ASSUME_SOCKETCALL): Do not define.
2851 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2852 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2853 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2854 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2855 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2856 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2857 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2858 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2860 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2861 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2862 (__ASSUME_SOCKETCALL): Do not define.
2863 (__ASSUME_IPC64): Define unconditionally.
2864 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2865 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2866 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2867 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2868 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2869 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2870 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2873 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2874 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2875 (__ASSUME_SOCKETCALL): Do not define.
2876 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2877 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2878 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2879 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2880 (__ASSUME_REQUEUE_PI): Define unconditionally.
2881 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2882 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2883 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2884 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2885 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2886 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2888 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2889 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2890 (__ASSUME_SOCKETCALL): Do not define.
2891 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2892 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2893 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2894 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2895 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2896 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2898 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2899 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2900 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2901 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2902 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2903 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2904 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2905 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2906 (__ASSUME_GETCPU_SYSCALL): Likewise.
2908 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2909 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2910 cases for individual architectures.
2911 * sysdeps/gnu/configure: Regenerated.
2912 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2913 LIBC_SLIBDIR_RTLDDIR.
2914 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2915 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2916 LIBC_SLIBDIR_RTLDDIR.
2917 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2919 LIBC_SLIBDIR_RTLDDIR.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2922 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2923 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2925 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2926 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2928 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2929 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2930 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2931 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2933 * sysdeps/aarch64/shlib-versions: Move to ...
2934 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2935 * sysdeps/alpha/shlib-versions: Move to ...
2936 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2937 * sysdeps/arm/shlib-versions: Move to ...
2938 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2939 * sysdeps/hppa/shlib-versions: Move all contents except for
2940 libgcc_s entry to ...
2941 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2943 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2944 * sysdeps/ia64/shlib-versions: Move to ...
2945 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2947 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2948 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2949 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2950 * sysdeps/microblaze/shlib-versions: Move to ...
2951 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2952 * sysdeps/mips/shlib-versions: Move to ...
2953 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2955 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2956 * sysdeps/tile/shlib-versions: Move to ...
2957 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2958 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2960 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2961 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2963 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2965 2014-07-17 Will Newton <will.newton@linaro.org>
2967 * sysdeps/arm/bits/atomic.h
2968 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2969 (__arch_compare_and_exchange_bool_16_int): Likewise.
2970 (__arch_compare_and_exchange_bool_64_int): Likewise.
2972 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2973 into an #else block.
2975 2014-07-16 Roland McGrath <roland@hack.frob.com>
2977 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2978 just Linux configurations. Test empirically that the compiler sets
2979 __ARM_EABI__, rather than using the tuple to decide.
2980 * sysdeps/arm/preconfigure: Regenerated.
2981 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2982 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2983 contents appended ...
2984 * sysdeps/arm/configure.ac: ... here.
2985 * sysdeps/arm/configure: Regenerated.
2987 2014-07-15 Roland McGrath <roland@hack.frob.com>
2989 * nptl/pthread_kill.c: New file.
2990 * nptl/pthread_sigmask.c: New file.
2991 * nptl/pthread_sigqueue.c: New file.
2993 * sysdeps/nptl/lowlevellock.h: New file.
2994 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2995 * sysdeps/nptl/lowlevellock-futex.h: New file.
2997 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2998 Remove dead declarations.
3000 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3002 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3003 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3005 * sysdeps/x86_64/configure.ac: Likewise.
3006 * sysdeps/i386/configure: Regenerated.
3007 * sysdeps/x86_64/configure: Likewise.
3008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3009 memset-avx2 only if config-cflags-avx2 is yes.
3010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3011 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3013 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3014 only if HAVE_AVX2_SUPPORT is defined.
3015 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3017 2014-07-14 Alan Modra <amodra@gmail.com>
3020 * elf/elf.h (DT_PPC64_NUM): Correct value.
3021 * NEWS: Add to fixed bug list.
3023 2014-07-13 Jim Meyering <meyering@fb.com>
3026 regex: don't deref NULL upon heap allocation failure
3027 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3028 failure in one more place.
3029 To trigger the segfault, configure grep -with-included-regex,
3030 build it, and run these commands:
3031 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3033 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3035 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3037 2014-07-11 Richard Henderson <rth@redhat.com>
3039 * sysdeps/aarch64/libm-test-ulps: Update.
3041 2014-07-10 Florian Weimer <fweimer@redhat.com>
3044 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3045 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3046 (__nptl_setxid): Initialize error member. Call
3047 __nptl_setxid_error.
3048 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3049 * nptl/descr.h (struct xid_command): Add error member.
3050 * nptl/tst-setuid3.c: New file.
3051 * nptl/Makefile (tests): Add it.
3053 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3057 (__lll_trylock): Use __lll_base_trylock.
3058 (__lll_cond_trylock): Likewise.
3060 2014-07-10 Roland McGrath <roland@hack.frob.com>
3062 * nptl/pthread_create.c (start_thread): Use atomic_or and
3063 lll_futex_wake directly rather than lll_robust_dead.
3064 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3065 (lll_robust_dead): Macro removed.
3066 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3067 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3068 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3069 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3070 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3071 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3072 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3073 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3074 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3075 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3076 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3077 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3078 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3079 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3080 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3082 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3083 Use atomic_compare_and_exchange_val_acq directly rather than
3085 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3086 (__lll_robust_trylock, lll_robust_trylock): Removed.
3087 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3088 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3089 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3090 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3091 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3092 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3093 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3094 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3095 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3096 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3097 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3098 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3099 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3100 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3102 2014-07-02 Florian Weimer <fweimer@redhat.com>
3104 * manual/locale.texi (Locale Names): New section documenting
3105 locale name syntax. Adjust menu and node chaining accordingly.
3106 (Choosing Locale): Reference Locale Names, Locale Categories.
3107 Mention setting LC_ALL=C. Reflect that name syntax is now
3109 (Locale Categories): New section title. Reference Locale Names.
3110 LC_ALL is an environment variable, but not a category.
3111 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3112 description, now in Locale Name. Reference that section. Locale
3113 name syntax is now documented.
3115 2014-07-02 Florian Weimer <fweimer@redhat.com>
3118 * locale/findlocale.c (name_present, valid_locale_name): New
3120 (_nl_find_locale): Use the loc_name variable to store name
3121 candidates. Call name_present and valid_locale_name to check and
3122 validate locale names. Return an error if the locale is invalid.
3124 2014-07-02 Florian Weimer <fweimer@redhat.com>
3126 * locale/setlocale.c (setlocale): Use strdup for allocating
3127 composite name copy.
3129 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3131 Sync up with gnulib.
3132 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3133 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3134 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3135 and _GL_ARG_NONNULL.
3136 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3137 [!_LIBC]: Include code for Windows and Cygwin.
3138 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3139 Include prototype for int strerror_r.
3140 [!_LIBC] (is_open): New function.
3141 (flush_stdout): New function.
3142 (print_errno_message): Use it.
3144 (error_at_line): Likewise.
3145 (error_tail) Add function attribute macros. Use
3148 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3150 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3152 * io/ftw.c: Include sys/param.h unconditionally.
3154 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3157 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3159 (freecache): New function to free CACHE on exit.
3161 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3164 2014-07-09 David S. Miller <davem@davemloft.net>
3166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3168 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3169 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3170 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3171 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3172 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3173 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3174 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3175 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3176 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3177 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3178 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3179 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3180 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3182 2014-07-09 Andreas Schwab <schwab@suse.de>
3184 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3186 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3187 (do_test): Likewise.
3189 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3191 2014-07-09 Will Newton <will.newton@linaro.org>
3193 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3194 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3195 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3196 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3197 * sysdeps/hppa/start.S (_start): Likewise.
3199 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3201 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3203 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3206 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3208 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3209 after checking that it is non-NULL.
3211 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3213 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3215 * sysdeps/powerpc/memmove.c: Remove file.
3216 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3217 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3218 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3219 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3220 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3221 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3222 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3223 string memmove instead of removed powerpc one.
3225 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3226 [weak_alias]: Fix compiler warning due trailing data.
3227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3228 [weak_alias]: Likewise.
3229 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3230 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3233 (__libc_ifunc_impl_list): Add memmove functions.
3235 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3237 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3239 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3241 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3243 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3245 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3247 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3249 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3251 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3253 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3255 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3257 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3259 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3261 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3263 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3265 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3267 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3269 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3272 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3274 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3275 to avoid alignment traps in non-cacheable memory.
3276 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3280 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3281 file: multiarch power7 memmove.
3282 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3283 multiarch default memmove.
3284 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3285 multiarch memove for powerpc32/power4.
3287 * string/bcopy.c: Use full path to include memmove.c.
3288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3290 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3291 bcopy for powerpc64.
3292 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3293 bcopy for powerpc64.
3294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3295 and memmove implementations.
3296 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3297 optimized multiarch memmove for POWER7/powerpc64.
3298 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3299 default multiarch memmove for powerpc64.
3300 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3301 multiarch for powerpc64.
3302 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3303 for POWER7/powerpc64.
3304 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3305 memmove for POWER7/powerpc64.
3307 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3310 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3311 __ELF_NATIVE_CLASS equal to 64.
3313 2014-07-07 Roland McGrath <roland@hack.frob.com>
3315 * sysdeps/nptl/lowlevellock.h: File removed.
3317 * NEWS: NPTL is no longer an add-on!
3318 * nptl/internaltypes.h: Moved ...
3319 * sysdeps/nptl/internaltypes.h: ... here.
3320 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3321 * sysdeps/nptl/fork.c: Likewise.
3322 * sysdeps/nptl/gai_misc.h: Likewise.
3323 * sysdeps/nptl/librt-cancellation.c: Likewise.
3324 * sysdeps/nptl/jmp-unwind.c: Likewise.
3325 * sysdeps/nptl/setxid.h: Likewise.
3326 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3327 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3328 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3329 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3330 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3331 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3332 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3333 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3334 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3335 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3336 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3337 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3338 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3339 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3340 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3341 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3342 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3343 * nptl/Makeconfig: Moved ...
3344 * sysdeps/nptl/Makeconfig: ... here.
3345 * nptl/configure: File removed.
3346 * nptl/ANNOUNCE: File removed.
3347 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3348 * sysdeps/unix/sysv/linux/configure: Regenerated.
3350 * nptl/Makefile (routines): Add libc_pthread_init,
3351 libc_multiple_threads, register-atfork and unregister-atfork.
3352 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3353 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3354 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3355 pthread-pi-defines.sym, structsem.sym.
3356 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3357 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3358 [$(subdir) = nptl] (tests): Add tst-setgetname.
3359 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3360 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3361 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3362 [!LIBC_SIGACTION]: Remove aliases.
3363 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3364 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3365 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3366 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3367 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3368 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3369 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3371 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3372 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3373 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3374 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3375 __libc_allocate_rtsig_private.
3376 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3377 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3378 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3379 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3380 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3381 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3382 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3383 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3384 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3385 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3386 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3387 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3388 * nptl/internaltypes.h: ... here.
3389 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3390 * sysdeps/nptl/jmp-unwind.c: ... here.
3391 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3392 * nptl/libc-lowlevellock.c: ... here.
3393 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3394 * nptl/libc_multiple_threads.c: ... here.
3395 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3396 * nptl/libc_pthread_init.c: ... here.
3397 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3398 * nptl/lowlevelbarrier.sym: ... here.
3399 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3400 * nptl/lowlevelcond.sym: ... here.
3401 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3402 * nptl/lowlevellock.c: ... here.
3403 * nptl/lowlevellock.h: Moved ...
3404 * sysdeps/nptl/lowlevellock.h: ... here.
3405 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3406 * nptl/lowlevelrobustlock.c: ... here.
3407 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3408 * nptl/lowlevelrobustlock.sym: ... here.
3409 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3410 * nptl/lowlevelrwlock.sym: ... here.
3411 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3412 * nptl/pt-fork.c: ... here.
3413 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3414 * nptl/pthread-pi-defines.sym: ... here.
3415 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3416 * nptl/pthread_attr_getaffinity.c: ... here.
3417 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3418 * nptl/pthread_attr_setaffinity.c: ... here.
3419 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3420 * nptl/pthread_mutex_cond_lock.c: ... here.
3421 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3423 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3424 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3425 * nptl/pthread_once.c: ... here, replacing old file.
3426 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3427 * nptl/pthread_yield.c: ... here.
3428 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3429 * nptl/register-atfork.c: ... here.
3430 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3431 * nptl/sem_post.c: ... here.
3432 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3433 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3434 * nptl/sem_timedwait.c: ... here.
3435 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3436 * nptl/sem_trywait.c: ... here.
3437 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3438 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3439 * nptl/sem_wait.c: ... here.
3440 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3441 * nptl/structsem.sym: ... here.
3442 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3443 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3444 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3445 * nptl/unregister-atfork.c: ... here.
3446 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3447 * nptl/unwindbuf.sym: ... here.
3448 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3449 * sysdeps/nptl/fork.c: ... here.
3450 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3451 * sysdeps/nptl/fork.h: ... here.
3452 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3453 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3454 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3455 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3456 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3457 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3458 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3459 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3460 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3461 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3462 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3463 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3464 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3465 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3466 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3467 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3468 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3469 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3470 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3471 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3472 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3473 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3474 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3476 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3477 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3478 * sysdeps/unix/sysv/linux/raise.c: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3480 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3482 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3484 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3486 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3488 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3490 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3492 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3493 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3495 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3497 * sysdeps/generic/memcopy.h: Add comment for
3498 MEMCPY_OK_FOR_FWD_MEMMOVE.
3500 2014-07-04 Will Newton <will.newton@linaro.org>
3502 * string/memchr.c: Merge from gnulib.
3503 [_LIBC]: Remove conditionals.
3504 (__ptr_t): Remove define.
3505 (LONG_MAX_32_BITS): Likewise.
3506 (LONG_MAX): Likewise.
3507 (MEMCHR): Use ANSI prototype and optimize algorithm.
3509 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3511 2014-07-03 Roland McGrath <roland@hack.frob.com>
3513 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3514 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3516 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3517 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3518 in a bare environment with no <stdlib.h> installed.
3519 * sysdeps/nptl/configure: Regenerated.
3521 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3523 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3524 AC_EGREP_CPP for kernel header checks, so they only succeed if
3525 including <linux/version.h> actually works right.
3526 * sysdeps/unix/sysv/linux/configure: Regenerated.
3528 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3529 value so it's not diagnosed as unused.
3531 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3532 thing) with "ifeq ($(subdir),rt)".
3534 2014-07-03 Richard Henderson <rth@redhat.com>
3536 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3537 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3538 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3540 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3541 (math_force_eval): New.
3543 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3544 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3546 * sysdeps/alpha/fpu/s_round.c: Remove file.
3547 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3549 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3550 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3551 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3552 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3553 (_dl_start, print_statistics): Likewise.
3554 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3555 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3557 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3558 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3559 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3560 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3561 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3562 (HP_SMALL_TIMING_AVAIL): Define.
3563 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3564 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3565 (HP_SMALL_TIMING_AVAIL): Define.
3566 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3567 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3569 * sysdeps/aarch64/hp-timing.h: New file.
3571 * sysdeps/generic/hp-timing.h: Remove dead comment.
3572 * sysdeps/generic/hp-timing-common.h: New file.
3573 * sysdeps/alpha/hp-timing.h: Include it.
3574 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3575 * sysdeps/i386/i686/hp-timing.h: Likewise.
3576 * sysdeps/ia64/hp-timing.h: Likewise.
3577 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3578 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3579 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3580 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3581 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3582 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3585 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3586 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3587 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3588 * elf/rtld.c (_dl_start_final): Likewise.
3589 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3590 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3591 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3592 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3593 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3595 (HP_TIMING_DIFF_INIT): Remove.
3596 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3597 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3598 (HP_TIMING_DIFF_INIT): Remove.
3599 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3600 * sysdeps/i386/i686/hp-timing.c: Remove file.
3601 * sysdeps/x86_64/hp-timing.c: Remove file.
3602 * sysdeps/ia64/hp-timing.c: Remove file.
3603 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3604 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3605 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3606 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3608 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3609 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3610 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3611 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3612 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3613 (HP_TIMING_ACCUM): Remove.
3614 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3615 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3616 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3618 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3619 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3620 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3621 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3622 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3623 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3624 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3625 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3627 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3629 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3631 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3633 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3635 Sync up with gettext.
3636 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3637 [_MSC_VER]: Include malloc.h
3638 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3639 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3640 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3641 TEMP_FAILURE_RETRY. Cast return of alloca.
3642 [!_LIBC] Call gl_rwlock_init.
3643 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3645 2014-07-02 Roland McGrath <roland@hack.frob.com>
3647 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3648 before checking its value.
3650 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3652 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3654 * debug/memcpy_chk.c: Don't include pagecopy.h.
3655 * debug/mempcpy_chk.c: Likewise.
3656 * string/memcpy.c: Likewise.
3657 * string/memmove.c: Likewise.
3658 * sysdeps/powerpc/memmove.c: Likewise.
3659 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3660 definition of PAGE_COPY_FWD_MAYBE here...
3661 * sysdeps/generic/pagecopy.h: ... from here.
3662 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3664 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3665 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3667 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3671 (__libc_ifunc_impl_list): Likewise.
3672 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3673 multiarch strcat for PPC64.
3674 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3675 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3677 2014-07-02 Roland McGrath <roland@hack.frob.com>
3679 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3681 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3683 * intl/loadmsgcat.c: Remove declaration of
3684 get_sysdep_segment_value.
3685 (get_sysdep_segment_value): Use ISO C style.
3686 (_nl_load_domain): Use ISO C style. Get rid of redundant
3687 semicolon. Fix typo and formatting in comment.
3688 (_nl_unload_domain): Use ISO C style.
3690 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3692 2014-07-02 Will Newton <will.newton@linaro.org>
3694 * malloc/obstack.c: Merge from gnulib master.
3695 [HAVE_CONFIG_H]: Remove conditional code.
3696 [!_LIBC]: Include config.h.
3697 [!ELIDE_CODE]: Don't include inttypes.h, include
3698 stdint.h unconditionally.
3699 (print_and_abort): Mark as _Noreturn.
3700 (_obstack_allocated_p): Mark as __attribute_pure__.
3701 (obstack_free): Rename to __obstack_free.
3702 [!__attribute__]: Remove conditional code.
3703 * malloc/obstack.h: Merge from gnulib master.
3704 [__cplusplus]: Move conditional down.
3705 [!__attribute_pure__]: Define __attribute_pure__ here
3706 if it is not already defined.
3707 (_obstack_memory_used): Mark as __attribute_pure__.
3708 [!__obstack_free]: Define as obstack_free.
3709 [__GNUC__]: Remove check for ancient NeXT gcc.
3711 2014-07-02 Will Newton <will.newton@linaro.org>
3712 Paul Eggert <eggert@cs.ucla.edu>
3714 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3716 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3718 * resolv/gethnamaddr.c: Add comment warning that the file is
3721 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3723 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3726 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3727 entry for aio_cancel and aio_cancel64.
3728 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3729 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3730 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3731 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3732 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3733 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3734 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3735 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3736 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3737 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3738 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3739 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3740 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3742 2014-07-01 Roland McGrath <roland@hack.frob.com>
3744 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3745 * nptl/pthread_mutex_lock.c: Likewise.
3746 * nptl/pthread_mutex_timedlock.c: Likewise.
3747 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3749 2014-07-01 Richard henderson <rth@redhat.com>
3751 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3752 (__isnan, __isnanl): Remove.
3753 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3755 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3757 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3759 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3761 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3763 * resolv/nss_dns/dns-host.c (getanswer_r)
3764 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3766 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3768 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3769 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3771 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3772 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3774 2014-07-01 Roland McGrath <roland@hack.frob.com>
3776 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3777 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3779 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3780 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3782 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3783 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3785 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3786 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3788 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3789 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3790 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3791 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3793 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3794 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3795 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3796 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3797 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3799 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3801 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3802 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3803 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3804 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3805 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3806 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3807 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3808 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3809 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3810 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3811 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3812 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3813 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3814 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3815 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3816 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3817 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3818 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3819 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3820 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3822 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3823 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3824 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3825 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3826 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3827 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3828 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3829 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3831 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3833 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3834 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3835 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3838 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3842 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3844 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3845 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3847 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3849 * sysdeps/arm/libm-test-ulps: Regenerated.
3851 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3852 Roland McGrath <roland@hack.frob.com>
3854 * test-skeleton.c (signal_handler): Kill the whole process group
3855 before killing the child individually.
3856 (main): Report any failure on `setpgid'.
3858 2014-06-30 Roland McGrath <roland@hack.frob.com>
3860 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3861 from _TLS_H to _ARM_NPTL_TLS_H.
3862 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3863 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3865 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3869 (__expm1l): Return argument unchanged when small but not
3872 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3874 (_FP_UNPACK_RAW_1_P): Likewise.
3875 (_FP_PACK_RAW_1): Likewise.
3876 (_FP_PACK_RAW_1_P): Likewise.
3877 (_FP_MUL_MEAT_1_wide): Likewise.
3878 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3879 (_FP_MUL_MEAT_1_hard): Likewise.
3880 (_FP_DIV_MEAT_1_imm): Likewise.
3881 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3882 (_FP_DIV_MEAT_1_udiv): Likewise.
3883 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3884 (_FP_UNPACK_RAW_2): Likewise.
3885 (_FP_UNPACK_RAW_2_P): Likewise.
3886 (_FP_PACK_RAW_2): Likewise.
3887 (_FP_PACK_RAW_2_P): Likewise.
3888 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3889 (_FP_MUL_MEAT_2_wide): Likewise.
3890 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3891 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3892 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3893 (_FP_MUL_MEAT_2_gmp): Likewise.
3894 (_FP_DIV_MEAT_2_udiv): Likewise.
3895 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3896 (_FP_FRAC_SRL_4): Likewise.
3897 (_FP_FRAC_SRST_4): Likewise.
3898 (_FP_FRAC_SRS_4): Likewise.
3899 (_FP_UNPACK_RAW_4): Likewise.
3900 (_FP_UNPACK_RAW_4_P): Likewise.
3901 (_FP_PACK_RAW_4): Likewise.
3902 (_FP_PACK_RAW_4_P): Likewise.
3903 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3904 (_FP_MUL_MEAT_4_wide): Likewise.
3905 (_FP_MUL_MEAT_4_gmp): Likewise.
3906 (umul_ppppmnnn): Likewise.
3907 (_FP_DIV_MEAT_4_udiv): Likewise.
3908 (__FP_FRAC_ADD_4): Likewise.
3909 (__FP_FRAC_SUB_3): Likewise.
3910 (__FP_FRAC_SUB_4): Likewise.
3911 (__FP_FRAC_DEC_3): Likewise.
3912 (__FP_FRAC_DEC_4): Likewise.
3913 (__FP_FRAC_ADDI_4): Likewise.
3914 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3915 (_FP_FRAC_SRL_8): Likewise.
3916 (_FP_FRAC_SRS_8): Likewise.
3918 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3920 (FP_UNPACK_RAW_EP): Likewise.
3921 (FP_PACK_RAW_E): Likewise.
3922 (FP_PACK_RAW_EP): Likewise.
3923 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3924 (_FP_ISSIGNAN): Likewise.
3925 (_FP_ADD_INTERNAL): Likewise.
3926 (_FP_FMA): Likewise.
3927 (_FP_CMP): Likewise.
3928 (_FP_SQRT): Likewise.
3929 (_FP_TO_INT): Likewise.
3930 (_FP_FROM_INT): Likewise.
3931 (FP_EXTEND): Likewise.
3932 (_FP_DIV_MEAT_N_loop): Likewise.
3934 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3936 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3939 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3942 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3943 result with correct sign in case of exponents that produce
3944 overflow except for X very close to 1.
3946 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3948 mktime: merge #if/#ifdef usage from glibc
3949 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3950 as that works with both Glibc's and Gnulib's style.
3951 See thread starting at Siddhesh Poyarekar's bug report at:
3952 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3954 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3956 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3957 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3958 * sysdeps/tile/tilegx/memmove.c: Remove file.
3960 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3962 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3963 abi-name definition.
3964 * scripts/soversions.awk: Do not handle or generate ABI lines.
3965 * shlib-versions: Remove ABI entries.
3966 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3967 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3969 2014-06-27 Roland McGrath <roland@hack.frob.com>
3971 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3972 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3973 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3974 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3975 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3976 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3979 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3982 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3984 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3986 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3988 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3990 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3992 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3993 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3995 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3996 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3997 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3999 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4002 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4003 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4005 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4006 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4007 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4008 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4010 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4011 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4012 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4014 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4016 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4019 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4021 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4022 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4024 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4025 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4027 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4029 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4030 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4032 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4034 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4035 Identical file removed.
4036 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4038 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4040 Identical file removed.
4041 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4042 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4043 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4045 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4047 Identical file removed.
4048 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4049 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4050 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4051 Identical file removed.
4052 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4053 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4055 Identical file removed.
4056 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4057 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4058 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4059 Identical file removed.
4060 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4062 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4064 Identical file removed.
4065 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4067 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4071 Identical file removed.
4072 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4074 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4076 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4077 Identical file removed.
4078 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4080 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4082 Identical file removed.
4083 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4085 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4086 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4092 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4094 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4096 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4097 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4098 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4099 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4100 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4102 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4105 * nscd/nscd.c (monitor_child): Return exit status of child
4106 instead of return value from wait syscall.
4108 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4110 * configure.ac (libc_commonpagesize): Remove variable.
4111 (libc_relro_required): Likewise.
4112 (libc_cv_z_relro): Remove configure test.
4113 * configure: Regenerated.
4114 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4116 (libc_relro_required): Likewise.
4117 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4118 (libc_relro_required): Likewise.
4119 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4120 (libc_relro_required): Likewise.
4121 * sysdeps/arm/preconfigure: Regenerated.
4122 * sysdeps/ia64/preconfigure: Remove file.
4123 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4125 (libc_relro_required): Likewise.
4129 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4130 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4131 recompute overflowing results in original rounding mode.
4132 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4133 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4134 recompute overflowing results in original rounding mode.
4135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4136 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4137 recompute overflowing results in original rounding mode.
4138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4139 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4140 recompute overflowing results in original rounding mode.
4141 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4142 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4143 recompute overflowing results in original rounding mode.
4144 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4145 (libc_feholdsetround_ctx): New macro.
4146 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4147 * sysdeps/i386/fpu/libm-test-ulps: Update.
4148 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4150 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4152 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4153 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4154 corresponding .cpsetup call.
4156 2014-06-26 Roland McGrath <roland@hack.frob.com>
4158 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4159 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4160 * sysdeps/arm/Makefile [$(subdir) = csu]
4161 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4162 (static-only-routines): Add aeabi_read_tp here.
4163 (shared-only-routines): Add libc-aeabi_read_tp here.
4164 (CFLAGS-libc-start.c): Add -fexceptions here.
4165 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4166 (sysdep_routines, static-only-routines, shared-only-routines):
4167 Don't add to these here.
4168 (CFLAGS-libc-start.c): Likewise.
4170 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4171 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4172 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4173 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4174 * sysdeps/arm/Makefile [$(subdir) = rt]
4175 (librt-sysdep_routines, librt-shared-only-routines):
4176 Append rt-aeabi_unwind_cpp_pr1 here.
4177 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4178 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4179 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4180 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4181 Append nptl-aeabi_unwind_cpp_pr1 here.
4182 (tests): Filter out tst-cleanupx4 here.
4183 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4184 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4185 Don't do those here.
4187 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4189 * scripts/list-sources.sh: Do not handle ports specially.
4191 2014-06-26 Roland McGrath <roland@hack.frob.com>
4193 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4194 * sysdeps/arm/feupdateenv.c: Likewise.
4196 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4198 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4200 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4201 trailing whitespace removed.
4202 * scripts/config.guess: Update to version 2014-03-23.
4203 * scripts/config.sub: Update to version 2014-05-01
4204 * scripts/install-sh: Update to version 2013-12-25.23.
4205 * scripts/move-if-change: Update from gnulib.
4207 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4209 * debug/memmove_chk.c: Remove pagecopy.h include.
4211 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4213 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4214 identical to gnulib mktime.
4216 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4218 * configure.ac: Do not test for machine being rs6000. Do not test
4220 * configure: Regenerated.
4222 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4224 * configure: Regenerated.
4225 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4226 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4227 Remove configure test.
4228 * sysdeps/arm/configure: Regenerated.
4229 * sysdeps/nptl/configure.ac: Do not check
4230 libc_cv_asm_cfi_directives.
4231 * sysdeps/nptl/configure: Regenerated.
4232 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4233 * sysdeps/x86_64/nptl/configure: Remove generated file.
4234 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4236 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4238 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4240 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4241 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4242 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4245 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4246 instead of whether it is defined.
4247 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4248 * sysdeps/hppa/dl-machine.h: Likewise.
4249 * sysdeps/ia64/dl-machine.h: Likewise.
4250 * sysdeps/m68k/dl-machine.h: Likewise.
4251 * sysdeps/microblaze/dl-machine.h: Likewise.
4252 * sysdeps/mips/dl-machine.: Likewise.
4253 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4254 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4255 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4256 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4257 * sysdeps/sh/dl-machine.h: Likewise.
4258 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4259 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4260 * sysdeps/tile/dl-machine.h: Likewise.
4261 * sysdeps/x86_64/dl-machine.h: Likewise.
4263 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4265 (verify_persistent_db): Likewise.
4267 2014-06-26 Roland McGrath <roland@hack.frob.com>
4269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4270 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4272 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4275 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4278 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4280 Identical file removed.
4281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4282 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4284 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4286 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4288 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4290 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4293 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4295 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4297 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4300 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4304 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4306 Identical file removed.
4307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4308 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4310 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4313 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4316 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4318 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4320 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4322 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4324 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4327 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4330 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4332 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4335 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4337 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4339 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4341 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4342 * sysdeps/unix/sysv/linux/s390/Versions
4343 (libpthread: GLIBC_2.19): New version set.
4344 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4345 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4346 (librt: GLIBC_2.3.3): New version set.
4347 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4348 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4349 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4350 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4351 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4352 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4353 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4354 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4355 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4356 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4357 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4359 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4361 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4362 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4363 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4365 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4366 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4367 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4369 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4370 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4371 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4372 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4373 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4374 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4375 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4376 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4377 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4378 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4380 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4381 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4382 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4383 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4385 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4387 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4389 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4391 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4393 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4394 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4395 (__libc_vfork): Define the function under this name.
4396 [!NOT_IN_libc] (__vfork): Make this an alias.
4397 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4399 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4400 (__libc_vfork): Define the function under this name.
4401 [!NOT_IN_libc] (__vfork): Make this an alias.
4402 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4403 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4404 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4406 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4407 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4409 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4410 code that was previously under [RESET_PID].
4411 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4412 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4413 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4415 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4416 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4417 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4418 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4419 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4420 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4421 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4422 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4423 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4424 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4425 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4427 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4428 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4429 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4430 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4431 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4432 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4433 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4434 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4435 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4436 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4437 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4438 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4439 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4440 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4441 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4443 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4444 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4445 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4446 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4447 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4448 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4449 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4450 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4451 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4452 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4453 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4454 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4455 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4457 2014-06-25 Roland McGrath <roland@hack.frob.com>
4459 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4460 that was previously under [RESET_PID].
4461 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4463 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4465 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4466 not undefine and redefine.
4467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4468 [O_CLOEXEC]: Make code unconditional.
4469 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4470 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4471 <kernel-features.h>.
4472 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4473 conditional variable definition.
4474 (shm_open) [O_CLOEXEC]: Make code unconditional.
4475 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4478 * configure.ac (USE_REGPARMS): Don't define here.
4479 * configure: Regenerated.
4480 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4481 * sysdeps/i386/configure: Regenerated.
4483 * nptl/createthread.c: Don't include kernel-features.h.
4484 * nptl/pthread_cancel.c: Likewise.
4485 * nptl/pthread_condattr_setclock.c: Likewise.
4486 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4487 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4488 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4489 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4490 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4491 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4492 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4494 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4495 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4496 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4497 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4498 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4499 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4500 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4501 * nscd/gai.c: Likewise.
4502 * nss/nss_db/db-open.c: Likewise.
4503 * sysdeps/generic/ldsodefs.h: Likewise.
4504 * sysdeps/sh/nptl/tls.h: Likewise.
4505 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4506 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4507 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4508 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4509 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4510 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4511 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4512 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4513 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4514 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4515 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4516 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4517 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4518 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4519 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4520 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4521 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4522 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4523 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4524 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4525 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4526 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4527 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4528 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4529 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4530 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4531 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4532 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4533 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4534 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4535 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4536 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4537 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4538 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4539 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4540 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4541 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4542 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4543 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4544 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4545 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4546 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4547 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4548 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4549 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4550 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4551 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4552 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4553 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4554 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4555 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4556 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4557 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4558 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4559 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4560 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4561 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4562 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4585 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4586 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4587 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4588 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4589 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4590 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4591 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4592 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4593 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4594 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4595 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4596 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4597 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4598 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4599 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4600 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4601 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4602 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4603 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4604 * sysdeps/unix/sysv/linux/system.c: Likewise.
4605 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4606 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4607 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4608 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4609 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4610 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4611 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4613 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4614 * configure: Regenerated.
4615 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4617 * configure.ac (base_machine): Do not set specially for particular
4619 * configure: Regenerated.
4620 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4621 settings from configure.ac.
4622 * sysdeps/i386/preconfigure: New file.
4623 * sysdeps/s390/preconfigure: Likewise.
4624 * sysdeps/sh/preconfigure: Likewise.
4625 * sysdeps/sparc/preconfigure: Likewise.
4627 2014-06-25 Roland McGrath <roland@hack.frob.com>
4629 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4630 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4631 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4632 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4633 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4634 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4635 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4636 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4637 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4638 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4639 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4640 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4641 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4642 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4643 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4644 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4645 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4646 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4647 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4649 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4650 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4651 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4652 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4653 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4654 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4655 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4656 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4657 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4658 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4659 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4660 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4661 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4662 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4663 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4664 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4665 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4666 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4667 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4668 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4669 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4670 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4671 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4672 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4673 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4674 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4675 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4676 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4677 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4678 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4679 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4680 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4681 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4682 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4683 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4684 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4685 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4686 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4689 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4691 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4694 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4697 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4699 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4702 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4706 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4711 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4714 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4719 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4721 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4723 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4725 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4730 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4738 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4740 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4742 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4744 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4747 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4750 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4752 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4755 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4757 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4759 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4761 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4763 * timezone/checktab.awk: Update from tzcode 2014e.
4764 * timezone/private.h: Likewise.
4765 * timezone/tzfile.h: Likewise.
4766 * timezone/zdump.c: Likewise.
4767 * timezone/zic.c: Likewise.
4769 * sysdeps/unix/sysv/linux/kernel-features.h
4770 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4771 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4772 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4773 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4774 Remove conditional code.
4776 2014-06-25 Will Newton <will.newton@linaro.org>
4778 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4779 (_dl_arm_cap_flags): Add HWCAP2 values.
4780 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4781 (_DL_HWCAP_COUNT): Increase to 37.
4782 (_DL_HWCAP_LAST): New define.
4783 (_DL_HWCAP2_LAST): New define.
4784 (_dl_procinfo): Add support for printing
4786 (_dl_string_hwcap): Use _dl_hwcap_string.
4788 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4792 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4794 * README: Do not mention ports directory.
4796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4798 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4799 <kernel-features.h>.
4800 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4801 conditional variable definition.
4802 (__futimes): Update comment.
4803 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4804 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4807 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4808 arguments close to 0.
4809 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4811 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4813 * math/auto-libm-test-in: Add more tests of exp10.
4814 * math/auto-libm-test-out: Regenerated.
4815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4817 * sysdeps/unix/sysv/linux/kernel-features.h
4818 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4819 * sysdeps/unix/sysv/linux/readv.c: Do not include
4820 <kernel-features.h>.
4821 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4822 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4823 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4825 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4827 * sysdeps/unix/sysv/linux/writev.c: Do not include
4828 <kernel-features.h>.
4829 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4830 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4831 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4833 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4836 2014-06-25 Will Newton <will.newton@linaro.org>
4838 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4839 comment changes throughout the file. Remove checks
4840 for HAVE_*_H definitions that are not required.
4841 (__gen_tempname): Call abort if an unknown kind value is
4844 2014-06-25 Andreas Schwab <schwab@suse.de>
4847 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4848 scalbln, scalblnf, scalblnl in libc.
4850 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4853 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4854 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4855 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4857 2014-06-24 Roland McGrath <roland@hack.frob.com>
4859 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4860 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4861 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4862 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4864 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4865 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4867 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4868 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4869 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4870 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4871 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4872 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4873 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4874 * sysdeps/x86/bits/semaphore.h: ... here.
4875 * sysdeps/x86/nptl/elide.h: Moved ...
4876 * sysdeps/x86/elide.h: ... here.
4877 * sysdeps/x86_64/nptl/Implies: File removed.
4878 * sysdeps/i386/nptl/Implies: File removed.
4880 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4883 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4884 return the argument for normal arguments with exponent below -64.
4885 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4887 * math/auto-libm-test-in: Add another test of expm1.
4888 * math/auto-libm-test-out: Regenerated.
4891 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4892 calling __erfcl for arguments at least 16.
4893 * math/auto-libm-test-in: Add more tests of erf.
4894 * math/auto-libm-test-out: Regenerated.
4896 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4897 individual architectures.
4898 * sysdeps/unix/sysv/linux/configure: Regenerated.
4899 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4900 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4901 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4902 (ldd_rewrite_script): Define variable.
4903 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4908 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4909 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4910 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4911 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4912 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4913 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4914 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4915 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4917 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4920 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4921 Rename member __data.d to __data.__elision_data.
4923 2014-06-24 Wilco <wdijkstr@arm.com>
4925 * NEWS: Add 16918 to fixed bug list.
4927 2014-06-24 Wilco <wdijkstr@arm.com>
4929 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4931 2014-06-24 Wilco <wdijkstr@arm.com>
4933 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4934 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4935 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4936 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4937 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4938 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4939 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4942 2014-06-24 Wilco <wdijkstr@arm.com>
4944 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4946 2014-06-24 Wilco <wdijkstr@arm.com>
4948 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4949 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4950 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4951 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4953 2014-06-24 Wilco <wdijkstr@arm.com>
4956 * sysdeps/arm/feupdateenv.c (feupdateenv):
4957 Rewrite to reduce FPSCR accesses and fix return value.
4959 2014-06-24 Wilco <wdijkstr@arm.com>
4961 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4962 Optimize to avoid unnecessary FPSCR writes.
4963 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4964 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4965 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4966 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4968 2014-06-24 Wilco <wdijkstr@arm.com>
4970 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4971 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4972 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4973 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4974 Call libc_fetestexcept_vfp.
4975 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4976 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4977 __SOFTFP__ ifdef so that they can be built for softfp.
4979 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4981 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4982 argument type signed char.
4984 * Makerules (check-abi): Dump diff of symlist if the test
4987 2014-06-23 Roland McGrath <roland@hack.frob.com>
4989 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4992 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4993 Remove unused variable ST.
4995 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4999 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5000 small arguments before calling __expm1.
5001 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5002 small arguments before calling __expm1f.
5003 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5004 small arguments before calling __expm1l.
5005 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5007 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5008 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5009 spurious underflow for some cosh tests.
5010 * math/auto-libm-test-out: Regenerated.
5011 * sysdeps/i386/fpu/libm-test-ulps: Update.
5014 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5015 (__ieee754_y1): Set errno if return value overflows.
5016 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5017 (__ieee754_y1f): Set errno if return value overflows.
5018 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5019 (__ieee754_y1l): Set errno if return value overflows.
5020 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5021 (__ieee754_y1l): Set errno if return value overflows.
5022 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5023 * math/auto-libm-test-out: Regenerated.
5025 * math/gen-auto-libm-tests.c: Document use of
5026 ignore-zero-inf-sign.
5027 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5028 (input_flags): Add ignore-zero-inf-sign.
5029 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5030 * math/gen-libm-test.pl (generate_testfile): Handle
5031 ignore-zero-inf-sign.
5032 * math/auto-libm-test-in: Mark some cpow tests with
5033 ignore-zero-inf-sign and some with xfail-rounding.
5034 * math/auto-libm-test-out: Regenerated.
5035 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5036 * sysdeps/i386/fpu/libm-test-ulps: Update.
5037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5040 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5041 overflowing or underflowing operations take place with sign of
5043 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5044 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5045 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5046 (__ieee754_pow): Recompute overflowing and underflowing results in
5047 original rounding mode.
5048 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5049 (__powl_helper): Allow negative argument X and scale negated value
5050 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5051 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5052 overflowing or underflowing operations take place with sign of
5054 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5056 * math/auto-libm-test-in: Add more tests of pow.
5057 * math/auto-libm-test-out: Regenerated.
5058 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5059 (pow_tonearest_test_data): Remove.
5060 (pow_test_tonearest): Likewise.
5061 (pow_towardzero_test_data): Likewise.
5062 (pow_test_towardzero): Likewise.
5063 (pow_downward_test_data): Likewise.
5064 (pow_test_downward): Likewise.
5065 (pow_upward_test_data): Likewise.
5066 (pow_test_upward): Likewise.
5067 (main): Don't call removed functions.
5068 * sysdeps/i386/fpu/libm-test-ulps: Update.
5069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5071 2014-06-23 Roland McGrath <roland@hack.frob.com>
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5247 2014-06-23 Will Newton <will.newton@linaro.org>
5248 Wilco <wdijkstr@arm.com>
5250 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5251 implementation. Include get-rounding-mode.h.
5252 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5253 [!libc_feholdsetround_noex_ctx]: Define
5254 libc_feholdsetround_noex_ctx.
5255 [!libc_feholdsetround_noexf_ctx]: Define
5256 libc_feholdsetround_noexf_ctx.
5257 [!libc_feholdsetround_noexl_ctx]: Define
5258 libc_feholdsetround_noexl_ctx.
5259 (libc_feholdsetround_ctx): New function.
5260 (libc_feresetround_ctx): New function.
5261 (libc_feholdsetround_noex_ctx): New function.
5262 (libc_feresetround_noex_ctx): New function.
5264 2014-06-23 Roland McGrath <roland@hack.frob.com>
5266 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5267 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5268 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5269 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5270 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5271 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5273 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5274 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5275 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5276 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5277 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5278 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5279 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5280 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5281 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5285 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5287 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5288 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5290 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5293 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5295 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5296 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5297 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5298 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5299 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5302 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5303 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5305 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5307 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5308 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5310 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5312 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5314 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5315 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5316 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5317 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5318 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5321 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5323 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5324 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5325 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5326 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5328 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5329 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5330 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5331 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5332 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5333 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5334 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5335 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5337 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5338 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5339 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5340 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5341 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5342 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5344 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5345 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5346 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5347 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5348 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5350 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5351 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5352 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5353 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5354 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5355 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5356 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5357 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5359 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5360 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5361 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5362 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5363 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5364 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5365 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5366 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5367 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5368 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5369 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5370 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5371 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5372 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5373 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5375 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5376 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5377 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5379 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5382 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5383 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5384 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5385 (IPV6_PMTUDISC_INTERFACE): Likewise.
5386 (IPV6_PMTUDISC_OMIT): Likewise.
5388 2014-06-23 Andreas Schwab <schwab@suse.de>
5390 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5391 Remove unused errout label.
5393 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5396 macro: hardware supports Vector Crypto instructions.
5398 2014-06-23 Will Newton <will.newton@linaro.org>
5400 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5401 rather than __builtin_expect.
5403 * elf/dl-lookup.c (undefined_msg): Remove variable.
5404 (_dl_lookup_symbol_x): Replace undefined_msg with string
5407 * elf/dl-lookup.c (do_lookup_unique): New function.
5408 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5409 to a separate function.
5411 2014-06-23 Andreas Schwab <schwab@suse.de>
5414 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5415 before reading the next line.
5417 2014-06-23 Will Newton <will.newton@linaro.org>
5419 * test-skeleton.c (signal_handler): Use printf and %m
5420 rather than perror. Use printf rather than fprintf to
5421 stderr. Use puts rather than fputs to stderr.
5424 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5426 * nscd/nscd.c (thread_info_t): Remove typedef.
5427 (thread_info): Remove variable.
5429 2014-06-21 Allan McRae <allan@archlinux.org>
5431 * NEWS: Mention CVE-2014-4043.
5433 2014-06-20 Roland McGrath <roland@hack.frob.com>
5435 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5436 * nptl/smp.h: ... here.
5438 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5440 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5441 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5442 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5443 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5445 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5446 * nptl/stack-aliasing.h: New file.
5447 * sysdeps/i386/i686/stack-aliasing.h: New file.
5448 * sysdeps/i386/i686/nptl/Makefile: File removed.
5449 * sysdeps/x86_64/stack-aliasing.h: New file.
5450 * sysdeps/x86_64/nptl/Makefile
5451 (CFLAGS-pthread_create.c): Variable removed.
5453 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5454 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5456 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5457 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5460 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5462 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5463 (__ASSUME_SIGFRAME_V2): Remove macro.
5464 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5465 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5466 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5467 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5468 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5469 Declare as function. Remove conditional macro definitions.
5470 (__default_rt_sa_restorer): Likewise.
5471 (__default_sa_restorer_v1): Remove declaration.
5472 (__default_sa_restorer_v2): Likewise.
5473 (__default_rt_sa_restorer_v1): Likewise.
5474 (__default_rt_sa_restorer_v2): Likewise.
5475 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5476 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5477 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5479 2014-06-20 Roland McGrath <roland@hack.frob.com>
5481 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5482 (libpthread-routines): Add sysdep.
5483 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5484 * sysdeps/unix/sysv/linux/sparc/Versions
5485 (libpthread: GLIBC_2.3.3): New version set.
5486 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5487 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5488 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5489 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5490 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5491 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5493 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5494 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5495 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5497 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5499 * sysdeps/sparc/nptl/sem_init.c: ... here.
5500 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5501 * sysdeps/sparc/nptl/sem_post.c: ... here.
5502 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5503 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5504 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5505 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5506 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5507 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5508 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5509 (libpthread-routines): Add cpu_relax.
5510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5512 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5513 (librt: GLIBC_2.3.3): New version set.
5514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5515 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5516 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5517 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5520 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5523 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5525 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5527 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5529 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5531 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5534 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5538 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5542 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5546 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5550 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5554 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5557 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5563 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5565 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5568 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5570 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5572 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5574 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5576 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5577 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5578 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5579 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5580 * nscd/nscd.c: Likewise.
5581 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5582 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5583 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5584 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5586 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5587 <kernel-features.h>.
5588 (init_mq_netlink): Remove conditional have_sock_cloexec
5589 definitions. Remove code conditional on have_sock_cloexec < 0.
5590 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5591 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5592 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5593 <kernel-features.h>.
5594 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5595 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5597 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5600 Add tests for memset_chk and memset.
5602 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5605 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5608 * elf/tst-dl-iter-static.c: New file.
5609 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5611 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5614 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5616 * sysdeps/unix/sysv/linux/kernel-features.h
5617 (__ASSUME_F_GETOWN_EX): Remove macro.
5618 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5619 <kernel-features.h>.
5620 (miss_F_GETOWN_EX): Remove variable or macro.
5621 (do_fcntl): Do not check miss_F_GETOWN_EX.
5622 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5624 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5627 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5628 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5630 * sysdeps/unix/sysv/linux/kernel-features.h
5631 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5632 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5633 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5634 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5636 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5639 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5640 Fix calculation of the symbol's value.
5641 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5642 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5643 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5644 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5645 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5646 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5647 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5648 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5649 (modules-names): Add `tst-armtlsdescmod',
5650 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5651 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5652 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5653 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5654 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5655 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5656 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5657 ($(objpfx)tst-armtlsdescloc): New dependency.
5658 ($(objpfx)tst-armtlsdescextnow): Likewise.
5659 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5660 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5662 * sysdeps/arm/configure: Regenerate.
5664 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5666 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5667 (__atfct_seterrno_2): Likewise.
5668 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5669 <kernel-features.h>.
5670 (__ASSUME_ATFCTS): Do not undefine and redefine.
5671 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5672 (__have_atfcts): Remove conditional definition.
5673 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5674 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5675 unreachable if [__ASSUME_ATFCTS].
5676 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5677 not undefine and redefine.
5678 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5679 <kernel-features.h>.
5680 (faccessat) [__NR_faccessat]: Make code unconditional.
5681 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5682 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5683 <kernel-features.h>.
5684 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5685 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5686 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5687 <kernel-features.h>.
5688 (fchownat) [__NR_fchownat]: Make code unconditional.
5689 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5690 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5691 <kernel-features.h>.
5692 (futimesat) [__NR_futimesat]: Make code unconditional.
5693 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5694 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5695 <kernel-features.h>.
5696 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5697 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5698 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5699 <kernel-features.h>.
5700 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5701 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5702 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5703 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5704 <kernel-features.h>.
5705 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5706 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5707 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5708 <kernel-features.h>.
5709 (linkat) [__NR_linkat]: Make code unconditional.
5710 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5711 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5712 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5713 <kernel-features.h>.
5714 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5715 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5716 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5717 <kernel-features.h>.
5718 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5719 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5720 * sysdeps/unix/sysv/linux/openat.c: Do not include
5721 <kernel-features.h>.
5722 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5723 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5724 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5725 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5726 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5727 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5728 <kernel-features.h>.
5729 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5730 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5731 result of INLINE_SYSCALL directly, not via int variable.
5732 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5733 <kernel-features.h>.
5734 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5735 (renameat) [__NR_renameat]: Make code unconditional.
5736 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5737 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5738 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5739 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5740 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5741 (__ASSUME_ATFCTS): Do not undefine and redefine.
5742 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5743 <kernel-features.h>.
5744 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5745 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5746 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5747 <kernel-features.h>.
5748 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5749 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5750 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5751 (__ASSUME_ATFCTS): Do not undefine and redefine.
5752 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5753 <kernel-features.h>.
5754 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5755 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5756 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5757 <kernel-features.h>.
5758 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5759 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5761 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5763 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5765 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5768 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5769 constructed tree before returning error.
5770 * posix/bug-regexp36.c: Expand test case.
5772 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5775 * math/libm-test.inc (scalbln_test_date):
5776 Add errno expectations.
5777 * math/w_scalblnf.c: New File.
5778 Add wrapper which checks for setting errno to ERANGE.
5779 Add weak_alias for corresponding scalbln function.
5780 * math/w_scalbln.c: Likewise.
5781 * math/w_scalblnl.c: Likewise.
5782 * math/Makefile (libm-calls): Add w_scalbln.
5783 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5784 Remove weak_alias for corresponding scalbln function.
5785 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5787 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5789 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5790 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5791 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5792 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5793 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5794 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5795 Remove long_double_symbol for scalblnl function in libm, libc.
5796 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5797 Add wrapper which checks for setting errno to ERANGE.
5798 Add long_double_symbol for scalblnl function in libm, libc.
5799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5800 Remove long_double_symbol for scalblnl in libm.
5801 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5802 Add wrapper which checks for setting errno to ERANGE.
5803 Add long_double_symbol for scalblnl function in libm.
5804 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5805 Do not use wrapper because of own implementation.
5807 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5809 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5810 3 bytes for __pad1 for x32.
5811 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5813 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5814 H.J. Lu <hongjiu.lu@intel.com>
5816 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5817 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5818 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5819 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5820 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5822 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5825 * posix/regcomp.c (parse_expression): Deallocate partially
5826 constructed tree before returning error.
5827 * posix/Makefile.c (tests): Add bug-regex36.
5828 (generated): Add bug-regex36.mtrace.
5829 (tests-special): Add $(objpfx)bug-regex36-mem.out
5830 (bug-regex36-ENV): New variable.
5831 ($(objpfx)bug-regex36-mem.out): New rule.
5832 * posix/bug-regex36.c: New file.
5834 2014-06-19 Will Newton <will.newton@linaro.org>
5836 * malloc/malloc.c (systrim): If extra is zero then return
5839 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5841 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5843 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5845 * sysdeps/aarch64/strchr.S: New file.
5847 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5850 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5851 from arguments -2 or below.
5852 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5853 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5855 2014-06-18 Andreas Schwab <schwab@suse.de>
5858 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5859 of a bracket expr not to run off the end of the string.
5860 * posix/Makefile (tests): Add tst-fnmatch3.
5861 * posix/tst-fnmatch3.c: New file.
5863 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5865 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5866 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5867 [$(cross-compiling) = no]: Likewise.
5868 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5869 [$(cross-compiling) = no]: Likewise.
5871 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5874 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5875 double, adjusted for any remainder from the high double.
5876 * math/libm-test.inc (nearbyint): Add tests.
5879 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5881 * nptl/sysdeps/powerpc/Makefile: Moved ...
5882 * sysdeps/powerpc/nptl/Makefile: ... here.
5883 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5884 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5885 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5886 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5887 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5888 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5889 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5890 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5891 * nptl/sysdeps/powerpc/tls.h: Moved ...
5892 * sysdeps/powerpc/nptl/tls.h: ... here.
5894 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5897 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5898 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5899 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5900 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5901 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5902 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5903 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5904 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5905 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5907 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5909 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5911 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5913 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5916 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5919 2014-06-16 Florian Weimer <fweimer@redhat.com>
5922 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5923 non-executed part of the test.
5925 2014-06-16 Andreas Schwab <schwab@suse.de>
5927 * string/bits/string2.h (strdup, strndup): Update feature guard.
5929 2014-06-14 David S. Miller <davem@davemloft.net>
5931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5933 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5935 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5936 that was previously under [RESET_PID].
5937 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5939 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5940 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5941 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5942 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5943 (__libc_vfork): New strong alias.
5944 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5946 2014-06-14 Andi Kleen <ak@linux.intel.com>
5948 * sysdeps/generic/elide.h: New file.
5950 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5952 * Makefile (installed-headers): Adjust path of pthread.h header.
5954 2014-06-13 Roland McGrath <roland@hack.frob.com>
5956 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5957 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5958 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5959 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5961 * nptl/sysdeps/s390/Makefile: Moved ...
5962 * sysdeps/s390/nptl/Makefile: ... here.
5963 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5964 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5965 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5966 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5967 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5968 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5969 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5970 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5971 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5972 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5973 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5974 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5975 * nptl/sysdeps/s390/tls.h: Moved ...
5976 * sysdeps/s390/nptl/tls.h: ... here.
5978 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5979 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5981 2014-06-13 David S. Miller <davem@davemloft.net>
5983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5986 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5990 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5991 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5992 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5993 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5994 Remove RESET_PID cpp guards.
5995 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5996 Remove RESET_PID cpp guards.
5997 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5999 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6001 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6004 2014-06-13 Andi Kleen <ak@linux.intel.com>
6006 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6007 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6008 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6009 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6010 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6011 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6012 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6013 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6014 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6015 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6016 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6017 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6018 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6019 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6020 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6021 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6022 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6023 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6024 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6027 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6028 (pthread_rwlock_rdlock): Add elision.
6029 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6030 (pthread_rwlock_wrlock): Add elision.
6031 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6032 (pthread_rwlock_trywrlock): Add elision.
6033 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6034 (pthread_rwlock_tryrdlock): Add elision.
6035 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6036 (pthread_rwlock_tryrdlock): Add elision unlock.
6037 * nptl/sysdeps/pthread/pthread.h:
6038 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6039 (PTHREAD_RWLOCK_INITIALIZER,
6040 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6041 Handle new elision field.
6042 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6043 * sysdeps/arm/nptl/bits/pthreadtypes.h
6044 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6045 * sysdeps/sh/nptl/bits/pthreadtypes.h
6046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6047 * sysdeps/tile/nptl/bits/pthreadtypes.h
6048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6049 * sysdeps/a/nptl/bits/pthreadtypes.h
6050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6051 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6053 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6055 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6056 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6057 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6058 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6059 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6061 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6062 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6063 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6065 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6066 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6067 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6068 (elision_init): Set try_xbegin to zero when no RTM.
6069 * sysdeps/x86/nptl/bits/pthreadtypes.h
6070 (pthread_rwlock_t): Change __pad1 to __rwelision.
6071 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6073 2014-06-13 Andi Kleen <ak@linux.intel.com>
6075 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6076 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6077 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6078 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6080 2014-06-13 Meador Inge <meadori@codesourcery.com>
6083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6084 that the cached result has been set before returning it.
6086 2014-06-12 Roland McGrath <roland@hack.frob.com>
6088 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6089 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6090 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6091 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6092 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6093 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6095 * nptl/sysdeps/sparc/Makefile: Moved ...
6096 * sysdeps/sparc/nptl/Makefile: ... here.
6097 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6098 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6099 * nptl/sysdeps/sparc/tls.h: Moved ...
6100 * sysdeps/sparc/nptl/tls.h: ... here.
6101 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6102 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6103 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6104 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6105 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6106 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6107 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6108 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6109 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6110 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6111 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6112 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6113 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6114 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6115 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6116 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6117 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6118 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6120 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6121 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6123 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6124 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6126 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6127 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6130 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6132 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6133 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6135 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6136 (struct list_links): Type removed.
6137 (struct thread_node, struct timer_node): Replace struct list_links
6138 with struct list_head.
6139 (list_unlink_ip): Likewise.
6140 * sysdeps/pthread/timer_routines.c
6141 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6142 (list_append, list_insbefore): Likewise.
6143 (list_init): Function removed.
6144 (thread_init, init_module): Use INIT_LIST_HEAD instead.
6145 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6146 * sysdeps/pthread/Makefile: ... here, new file.
6148 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6149 * sysdeps/nptl/Implies: ... here.
6150 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6151 * nptl/sysdeps/pthread/list.h: Moved ...
6152 * include/list.h: ... here.
6153 * nptl/sysdeps/pthread/createthread.c: Moved ...
6154 * nptl/createthread.c: ... here.
6155 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6156 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6157 * nptl/pt-longjmp.c: ... here.
6158 * nptl/sysdeps/pthread/Makefile: Moved ...
6159 * sysdeps/nptl/Makefile: ... here.
6160 * nptl/sysdeps/pthread/Subdirs: Moved ...
6161 * sysdeps/nptl/Subdirs: ... here.
6162 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6163 * sysdeps/nptl/aio_misc.h: ... here.
6164 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6165 * sysdeps/nptl/bits/libc-lock.h: ... here.
6166 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6167 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6168 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6169 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6170 * nptl/sysdeps/pthread/configure: Moved ...
6171 * sysdeps/nptl/configure: ... here.
6172 * nptl/sysdeps/pthread/configure.ac: Moved ...
6173 * sysdeps/nptl/configure.ac: ... here.
6174 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6175 * sysdeps/nptl/gai_misc.h: ... here.
6176 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6177 * sysdeps/nptl/librt-cancellation.c: ... here.
6178 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6179 * sysdeps/nptl/malloc-machine.h: ... here.
6180 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6181 * sysdeps/nptl/pthread-functions.h: ... here.
6182 * nptl/sysdeps/pthread/pthread.h: Moved ...
6183 * sysdeps/nptl/pthread.h: ... here.
6184 * nptl/sysdeps/pthread/setxid.h: Moved ...
6185 * sysdeps/nptl/setxid.h: ... here.
6186 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6187 * sysdeps/nptl/sigfillset.c: ... here.
6188 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6189 * sysdeps/nptl/tcb-offsets.h: ... here.
6190 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6191 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6192 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6193 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6194 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6195 * sysdeps/pthread/allocalim.h: ... here.
6196 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6197 * sysdeps/pthread/bits/sigthread.h: ... here.
6198 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6199 * sysdeps/pthread/flockfile.c: ... here.
6200 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6201 * sysdeps/pthread/ftrylockfile.c: ... here.
6202 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6203 * sysdeps/pthread/funlockfile.c: ... here.
6204 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6205 * sysdeps/pthread/posix-timer.h: ... here.
6206 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6207 * sysdeps/pthread/timer_create.c: ... here.
6208 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6209 * sysdeps/pthread/timer_delete.c: ... here.
6210 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6211 * sysdeps/pthread/timer_getoverr.c: ... here.
6212 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6213 * sysdeps/pthread/timer_gettime.c: ... here.
6214 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6215 * sysdeps/pthread/timer_routines.c: ... here.
6216 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6217 * sysdeps/pthread/timer_settime.c: ... here.
6218 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6219 * sysdeps/pthread/tst-timer.c: ... here.
6220 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6221 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6223 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6224 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6226 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6227 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6228 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6229 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6230 Update #include target.
6231 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6232 * sysdeps/i386/i686/nptl/Makefile: ... here.
6233 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6234 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6235 Update #include target.
6236 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6237 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6238 * nptl/sysdeps/i386/Makefile: Moved ...
6239 * sysdeps/i386/nptl/Makefile: ... here.
6240 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6241 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6242 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6243 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6244 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6245 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6246 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6247 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6248 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6249 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6250 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6251 * nptl/sysdeps/i386/tls.h: Moved ...
6252 * sysdeps/i386/nptl/tls.h: ... here.
6254 * sysdeps/sh/Makefile [$(subdir) = csu]
6255 (gen-as-const-headers): Add tcb-offsets.sym.
6256 * nptl/sysdeps/sh/Makefile: File removed.
6257 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6258 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6259 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6260 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6261 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6262 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6263 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6264 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6265 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6266 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6267 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6268 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6269 * nptl/sysdeps/sh/tls.h: Moved ...
6270 * sysdeps/sh/nptl/tls.h: ... here.
6271 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6272 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6273 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6274 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6275 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6276 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6277 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6278 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6279 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6280 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6281 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6282 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6283 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6284 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6285 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6286 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6287 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6288 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6289 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6290 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6291 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6292 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6293 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6294 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6295 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6297 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6298 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6300 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6301 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6302 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6303 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6305 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6306 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6307 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6308 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6309 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6310 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6312 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6313 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6314 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6315 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6316 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6317 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6318 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6320 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6322 * posix/spawn_faction_addopen.c: Include string.h.
6324 2014-06-11 Roland McGrath <roland@hack.frob.com>
6326 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6327 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6328 * nptl/sysdeps/x86_64/Makefile: Moved ...
6329 * sysdeps/x86_64/nptl/Makefile: ... here.
6330 * nptl/sysdeps/x86_64/configure: Moved ...
6331 * sysdeps/x86_64/nptl/configure: ... here.
6332 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6333 * sysdeps/x86_64/nptl/configure.ac: ... here.
6334 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6335 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6336 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6337 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6338 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6339 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6340 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6341 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6342 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6343 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6344 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6345 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6346 * nptl/sysdeps/x86_64/tls.h: Moved ...
6347 * sysdeps/x86_64/nptl/tls.h: ... here.
6348 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6349 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6350 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6351 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6353 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6355 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6359 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6361 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6363 [POSIX] (off_t): Likewise.
6364 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6365 [POSIX] (S_ISBLK): Require macro.
6366 [POSIX] (S_ISCHR): Likewise.
6367 [POSIX] (S_ISDIR): Likewise.
6368 [POSIX] (S_ISFIFO): Likewise.
6369 [POSIX] (S_ISREG): Likewise.
6370 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6372 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6374 [POSIX] (time_t): Likewise.
6375 [POSIX] (timer_t): Likewise.
6377 2014-06-11 Florian Weimer <fweimer@redhat.com>
6380 * posix/spawn_int.h (struct __spawn_action): Make the path string
6381 non-const to support deallocation.
6382 * posix/spawn_faction_addopen.c
6383 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6384 * posix/spawn_faction_destroy.c
6385 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6386 path in all spawn_do_open actions.
6387 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6388 posix_spawn_file_actions_addopen.
6390 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6392 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6393 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6394 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6395 conditional code always true.
6396 (__libc_vfork): New alias.
6398 2014-06-11 Roland McGrath <roland@hack.frob.com>
6400 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6401 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6403 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6405 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6406 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6408 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6409 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6411 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6412 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6414 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6416 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6417 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6418 multiarch strcmp for PPC64.
6419 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6420 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6422 multiarch optimizations.
6423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6424 (__libc_ifunc_impl_list): Likewise.
6426 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6428 * benchtests/scripts/validate_benchout.py: New script.
6429 * benchtests/Makefile (bench-func): Call it.
6430 * benchtests/scripts/benchout.schema.json: New file.
6432 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6434 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6435 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6436 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6437 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6438 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6439 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6440 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6441 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6442 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6443 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6444 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6445 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6446 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6447 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6448 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6449 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6553 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6554 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6556 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6559 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6561 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6562 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6564 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6566 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6568 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6569 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6570 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6572 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6575 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6578 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6579 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6580 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6581 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6583 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6584 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6585 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6586 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6587 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6588 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6589 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6591 2014-06-10 Wilco <wdijkstr@arm.com>
6593 * math/test-fenv-return.c: New file.
6594 * math/Makefile: Add new test test-fenv-return.
6596 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6599 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6601 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6602 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6603 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6604 0.0L for an argument of 1.0L.
6605 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6607 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6608 value when x - 1 is zero.
6609 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6610 * sysdeps/i386/fpu/libm-test-ulps: Update.
6611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6613 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6616 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6618 2014-06-09 Roland McGrath <roland@hack.frob.com>
6620 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6621 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6623 2014-06-09 Roland McGrath <roland@hack.frob.com>
6625 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6626 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6628 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6629 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6631 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6632 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6634 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6635 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6637 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6638 if not already defined.
6639 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6640 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6641 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6642 (TLS_INIT_TP): Use it.
6643 (TLS_DEFINE_INIT_TP): New macro.
6644 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6646 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6648 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6650 [POSIX] (IXANY): Likewise.
6651 [POSIX] (OLCUC): Likewise.
6652 [POSIX || POSIX2008] (CBAUD): Do not allow.
6653 [POSIX || POSIX2008] (DEFECHO): Likewise.
6654 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6655 [POSIX || POSIX2008] (ECHOKE): Likewise.
6656 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6657 [POSIX || POSIX2008] (EXTA): Likewise.
6658 [POSIX || POSIX2008] (EXTB): Likewise.
6659 [POSIX || POSIX2008] (FLUSHO): Likewise.
6660 [POSIX || POSIX2008] (LOBLK): Likewise.
6661 [POSIX || POSIX2008] (PENDIN): Likewise.
6662 [POSIX || POSIX2008] (SWTCH): Likewise.
6663 [POSIX || POSIX2008] (VDISCARD): Likewise.
6664 [POSIX || POSIX2008] (VDSUSP): Likewise.
6665 [POSIX || POSIX2008] (VLNEXT): Likewise.
6666 [POSIX || POSIX2008] (VREPRINT): Likewise.
6667 [POSIX || POSIX2008] (VSTATUS): Likewise.
6668 [POSIX || POSIX2008] (VWERASE): Likewise.
6669 (B*): Change to B[0123456789]*.
6670 * conform/data/time.h-data [POSIX || UNIX98]
6671 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6672 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6673 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6674 [POSIX] (tm_*): Do not allow.
6676 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6678 * Makefile (install): Don't set LANGUAGE.
6679 * Makefile.in (install): Likewise.
6680 * assert/Makefile (test-assert-ENV): Remove variable.
6681 (test-assert-perr-ENV): Likewise.
6682 * elf/Makefile (neededtest4-ENV): Likewise.
6683 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6684 [$(cross-compiling) = no]: Don't set LANGUAGE.
6685 * io/ftwtest-sh (LANG): Remove variable.
6686 * libio/Makefile (tst-widetext-ENV): Likewise.
6687 * manual/install.texi (Running make install): Don't refer to
6688 environment settings for make install.
6689 * INSTALL: Regenerated.
6690 * nptl/tst-tls6.sh: Don't set LANG.
6691 * posix/globtest.sh (LANG): Remove variable.
6692 * string/Makefile (tester-ENV): Likewise.
6693 (inl-tester-ENV): Likewise.
6694 (noinl-tester-ENV): Likewise.
6695 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6696 [$(cross-compiling) = no]: Don't set LANGUAGE.
6697 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6698 without explicit environment settings.
6700 2014-06-06 Roland McGrath <roland@hack.frob.com>
6702 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6703 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6705 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6707 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6709 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6710 other files in the crypt directory.
6711 * crypt/crypt.c: Remove duplicate includes.
6712 * crypt/crypt-entry.c: Likewise.
6713 * crypt/crypt_util.c: Likewise.
6715 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6717 * Makeconfig (run-program-env): New variable.
6718 (run-program-prefix-before-env): Likewise.
6719 (run-program-prefix-after-env): Likewise.
6720 (run-program-prefix): Define in terms of new variables.
6721 (built-program-cmd-before-env): New variable.
6722 (built-program-cmd-after-env): Likewise.
6723 (built-program-cmd): Define in terms of new variables.
6724 (test-program-prefix-before-env): New variable.
6725 (test-program-prefix-after-env): Likewise.
6726 (test-program-prefix): Define in terms of new variables.
6727 (test-program-cmd-before-env): New variable.
6728 (test-program-cmd-after-env): Likewise.
6729 (test-program-cmd): Define in terms of new variables.
6730 * Rules (make-test-out): Use $(run-program-env).
6731 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6732 (help): Do not mention environment variables. Mention
6733 --timeoutfactor option.
6734 (timeoutfactor): New variable.
6735 (blacklist_exports): Remove function.
6736 (exports): Remove variable.
6737 (command): Do not include ${exports}.
6738 * manual/install.texi (Configuring and compiling): Do not mention
6739 test wrappers preserving environment variables. Mention that last
6740 assignment to a variable must take precedence.
6741 * INSTALL: Regenerated.
6742 * benchtests/Makefile (run-bench): Use $(run-program-env).
6743 * catgets/Makefile ($(objpfx)test1.cat): Use
6744 $(built-program-cmd-before-env), $(run-program-env) and
6745 $(built-program-cmd-after-env).
6746 ($(objpfx)test2.cat): Do not specify environment variables
6748 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6749 $(run-program-env) and $(built-program-cmd-after-env).
6750 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6751 $(run-program-env) and $(test-program-cmd-after-env).
6752 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6754 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6755 run_program_env and test_program_cmd_after_env arguments.
6756 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6757 * elf/tst-pathopt.sh: Use run_program_env argument.
6758 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6759 $(test-wrapper-env) and $(run-program-env).
6760 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6761 run_program_env arguments.
6762 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6763 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6764 $(test-program-prefix-before-env), $(run-program-env) and
6765 $(test-program-prefix-after-env).
6766 ($(objpfx)tst-gettext2.out): Likewise.
6767 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6768 run_program_env and test_program_prefix_after_env arguments.
6769 * intl/tst-gettext2.sh: Likewise.
6770 * intl/tst-gettext4.sh: Do not set environment variables
6772 * intl/tst-gettext6.sh: Likewise.
6773 * intl/tst-translit.sh: Likewise.
6774 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6775 $(test-program-prefix-before-env), $(run-program-env) and
6776 $(test-program-prefix-after-env).
6777 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6778 run_program_env and test_program_prefix_after_env arguments.
6779 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6780 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6781 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6782 explicitly with each use of ${test_wrapper_env}.
6783 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6784 $(test-program-prefix-before-env), $(run-program-env) and
6785 $(test-program-prefix-after-env).
6786 * posix/tst-getconf.sh: Do not set environment variables
6788 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6789 run_program_env and test_program_prefix_after_env arguments.
6790 * stdio-common/tst-printf.sh: Do not set environment variables
6792 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6793 $(test-program-prefix-before-env), $(run-program-env) and
6794 $(test-program-prefix-after-env).
6795 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6796 run_program_env and test_program_prefix_after_env arguments.
6797 Split $test calls into $test_pre and $test.
6798 * timezone/Makefile (build-testdata): Use
6799 $(built-program-cmd-before-env), $(run-program-env) and
6800 $(built-program-cmd-after-env).
6802 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6805 strlen for non SHARED builds.
6807 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6809 * nptl/allocatestack.c (check_list): Inlined function...
6810 (__reclaim_stacks): ... here.
6812 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6815 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6818 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6820 * Rules (make-test-out): Include
6821 LOCPATH=$(common-objpfx)localedata in default environment.
6822 * debug/Makefile (tst-chk1-ENV): Remove variable.
6823 (tst-chk2-ENV): Likewise.
6824 (tst-chk3-ENV): Likewise.
6825 (tst-chk4-ENV): Likewise.
6826 (tst-chk5-ENV): Likewise.
6827 (tst-chk6-ENV): Likewise.
6828 (tst-lfschk1-ENV): Likewise.
6829 (tst-lfschk2-ENV): Likewise.
6830 (tst-lfschk3-ENV): Likewise.
6831 (tst-lfschk4-ENV): Likewise.
6832 (tst-lfschk5-ENV): Likewise.
6833 (tst-lfschk6-ENV): Likewise.
6834 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6835 (tst-iconv7-ENV): Likewise.
6836 * intl/Makefile (LOCPATH-ENV): Likewise.
6837 (tst-codeset-ENV): Likewise.
6838 (tst-gettext3-ENV): Likewise.
6839 (tst-gettext5-ENV): Likewise.
6840 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6841 (tst-fopenloc-ENV): Likewise.
6842 (tst-fgetws-ENV): Remove variable.
6843 (tst-ungetwc1-ENV): Likewise.
6844 (tst-ungetwc2-ENV): Likewise.
6845 (bug-ungetwc2-ENV): Likewise.
6846 (tst-swscanf-ENV): Likewise.
6847 (bug-ftell-ENV): Likewise.
6848 (tst-fgetwc-ENV): Likewise.
6849 (tst-fseek-ENV): Likewise.
6850 (tst-ftell-partial-wide-ENV): Likewise.
6851 (tst-ftell-active-handler-ENV): Likewise.
6852 (tst-ftell-append-ENV): Likewise.
6853 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6854 (tst-regexloc-ENV): Likewise.
6855 (bug-regex1-ENV): Likewise.
6856 (tst-regex-ENV): Likewise.
6857 (tst-regex2-ENV): Likewise.
6858 (bug-regex5-ENV): Likewise.
6859 (bug-regex6-ENV): Likewise.
6860 (bug-regex17-ENV): Likewise.
6861 (bug-regex18-ENV): Likewise.
6862 (bug-regex19-ENV): Likewise.
6863 (bug-regex20-ENV): Likewise.
6864 (bug-regex22-ENV): Likewise.
6865 (bug-regex23-ENV): Likewise.
6866 (bug-regex25-ENV): Likewise.
6867 (bug-regex26-ENV): Likewise.
6868 (bug-regex30-ENV): Likewise.
6869 (bug-regex32-ENV): Likewise.
6870 (bug-regex33-ENV): Likewise.
6871 (bug-regex34-ENV): Likewise.
6872 (bug-regex35-ENV): Likewise.
6873 (tst-rxspencer-ENV): Likewise.
6874 (tst-rxspencer-no-utf8-ENV): Likewise.
6875 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6876 (tst-sscanf-ENV): Likewise.
6877 (tst-swprintf-ENV): Likewise.
6878 (tst-swscanf-ENV): Likewise.
6879 (test-vfprintf-ENV): Likewise.
6880 (scanf13-ENV): Likewise.
6881 (bug14-ENV): Likewise.
6882 (tst-grouping-ENV): Likewise.
6883 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6884 (tst-strtod3-ENV): Likewise.
6885 (tst-strtod4-ENV): Likewise.
6886 (tst-strtod5-ENV): Likewise.
6887 (testmb2-ENV): Likewise./
6888 * string/Makefile (tst-strxfrm-ENV): Likewise.
6889 (tst-strxfrm2-ENV): Likewise.
6890 (bug-strcoll1-ENV): Likewise.
6891 (test-strcasecmp-ENV): Likewise.
6892 (test-strncasecmp-ENV): Likewise.
6893 * time/Makefile (tst-strptime-ENV): Likewise.
6894 (tst-ftime_l-ENV): Likewise.
6895 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6896 (tst-mbrtowc-ENV): Likewise.
6897 (tst-wcrtomb-ENV): Likewise.
6898 (tst-mbrtowc2-ENV): Likewise.
6899 (tst-c16c32-1-ENV): Likewise.
6900 (tst-mbsnrtowcs-ENV): Likewise.
6902 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6904 * manual/resource.texi (How to get information about the memory
6905 subsystem?): Fix typo.
6906 Reported by Peon de la Parra Ivan <peon@keba.com>
6908 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6911 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6912 (pthread_spin_lock): Branch out of spin loop to proper location.
6913 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6914 (pthread_spin_lock): Likewise.
6916 * nptl/tst-spin4.c: New test.
6917 * nptl/Makefile (tests): Add tst-spin4.
6919 2014-06-03 Andreas Schwab <schwab@suse.de>
6922 * resolv/res_send.c (send_dg): Reload file descriptor after
6925 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6927 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6929 2014-06-03 Richard Henderson <rth@redhat.com>
6931 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6932 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6933 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6934 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6935 in the SAVE_PID block.
6936 (__libc_vfork): New alias.
6937 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6939 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6940 child in registers, not on the stack. Remove RESET_PID conditionals.
6941 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6943 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6945 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6947 2014-06-03 Wilco <wdijkstr@arm.com>
6949 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6950 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6951 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6952 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6953 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6956 2014-06-03 Wilco <wdijkstr@arm.com>
6958 * sysdeps/aarch64/fpu/math_private.h
6959 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6960 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6961 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6962 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6965 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6967 * crypt/crypt-private.h: Include ufc-crypt.h.
6968 (__b64_from_24bit): Declare extern.
6969 * crypt/crypt_util.c(__b64_from_24bit): New function.
6970 (b64t): New static const variable.
6971 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6972 (b64t): Remove variable.
6973 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6974 * crypt/sha256-crypt.c: Include crypt-private.h.
6975 (b64t): Remove variable.
6976 (__sha256_crypt_r): Remove b64_from_24bit and replace
6977 with __b64_from_24bit.
6978 * crypt/sha512-crypt.c: Likewise.
6980 2014-06-02 Roland McGrath <roland@hack.frob.com>
6982 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6983 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6984 Label the code __libc_vfork rather than __vfork.
6985 [!NOT_IN_libc] (vfork): Define as weak alias.
6986 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6987 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6988 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6990 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6992 * malloc/malloc.c (malloc_info): Fix format specifier for
6995 2014-06-02 Wilco <wdijkstr@arm.com>
6997 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7000 2014-06-02 Wilco <wdijkstr@arm.com>
7003 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7004 Rewrite to reduce FPCR/FPSR accesses.
7006 2014-06-01 David S. Miller <davem@davemloft.net>
7008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7010 2014-05-31 David S. Miller <davem@davemloft.net>
7012 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7013 to occur in round to nearest mode when |x| >= 2.0
7015 2014-05-30 Richard Henderson <rth@twiddle.net>
7017 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7018 (PSEUDO_RET_NOERRNO): Remove.
7019 (ret): Don't redefine.
7020 (ret_NOERRNO): Define in terms of ret.
7021 (ret_ERRVAL): Likewise.
7023 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7024 use of PSEUDO_RET; perform the error check directly.
7026 2014-05-30 Marko Myllynen <myllynen@redhat.com>
7028 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7031 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7033 * malloc/malloc (malloc_info): Fix formatting.
7035 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7036 Roland McGrath <roland@hack.frob.com>
7038 * malloc/malloc (malloc_info): Also print mmapped statistics.
7040 2014-05-30 Roland McGrath <roland@hack.frob.com>
7042 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7043 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7045 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
7047 * malloc/malloc.c (malloc_info): Inline mi_arena.
7049 2014-05-29 Richard Henderson <rth@twiddle.net>
7051 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7052 Remove comma before expanding ASM_ARGS_##nr.
7053 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7054 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7056 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7057 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7058 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7059 (ASM_ARGS_1): Add leading comma.
7061 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7062 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7063 to __errno_location.
7064 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7065 Remove the expected plt for __errno_location.
7067 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7068 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7071 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7072 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7073 it and break it down.
7074 (DOCARGS_0, DOCARGS_1): Do nothing.
7075 (DOCARGS_2): Update to store into the new stack frame.
7076 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7077 (UNDOCARGS_1): Update to restore from the new stack frame.
7078 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7079 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7081 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7082 (SINGLE_THREAD_P): New parameter for result regno.
7083 (PSEUDO): Update to match; use cbz instead of beq.
7085 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7086 Use ENTRY to define the _nocancel entry point. Share the syscall
7087 and syscall error check paths with the cancel path.
7090 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7091 whitespace; tabs before and after asm mnemonics.
7093 2014-05-29 Eric Wong <normalperson@yhbt.net>
7096 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7097 Call fstat64 or stat64 internally, depending on arguments passed.
7098 Replace stat buffer argument with file descriptor argument.
7099 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7100 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7101 Pass fd to __internal_statvfs instead of calling fstat64.
7102 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7103 Pass fd to __internal_statvfs64 instead of calling fstat64.
7104 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7105 Pass -1 to __internal_statvfs instead of calling stat64.
7106 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7107 Pass -1 to __internal_statvfs64 instead of calling stat64.
7109 2014-05-28 Roland McGrath <roland@hack.frob.com>
7111 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7112 that was previously under [RESET_PID].
7113 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7115 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7116 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7118 2014-05-27 Roland McGrath <roland@hack.frob.com>
7120 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7122 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7123 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7125 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
7127 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7129 2014-05-27 Andreas Schwab <schwab@suse.de>
7131 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7133 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7134 * elf/rtld.c (init_tls, dl_main): Likewise.
7135 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7136 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7137 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7138 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7139 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7140 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7141 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7142 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7143 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7144 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7145 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7146 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7147 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7148 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7149 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7150 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7151 * sysdeps/generic/tls.h: Update description.
7153 2014-05-27 Will Newton <will.newton@linaro.org>
7156 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7157 and restore r2 rather than just restoring.
7159 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7162 * libio/tst-ftell-append.c: New test case.
7163 * libio/Makefile (tests): Add test case.
7164 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7166 * libio/wfileops.c (do_ftell_wide): Likewise.
7168 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7172 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7176 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7177 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7178 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7179 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7180 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7181 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7182 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7185 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7188 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7189 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7190 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7191 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7192 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7194 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7195 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7197 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7199 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7201 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7202 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7203 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7205 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7206 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7207 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7208 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7210 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7219 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7226 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7231 conditional [RESET_PID].
7232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7240 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7241 (__libc_vfork): New strong alias.
7242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7249 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7250 (__libc_vfork): New strong alias.
7251 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7256 2014-05-26 Carlos O'Donell <carlos@redhat.com>
7258 * malloc/malloc.c (mi_arena): New function.
7259 (malloc_info): Remove nested function mi_arena. Call non-nosted
7262 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7264 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7266 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7267 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7268 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7269 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7270 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7271 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7272 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7274 2014-05-26 Andreas Schwab <schwab@suse.de>
7277 * locale/programs/repertoire.c (repertoire_read): Add slash
7278 between I18NPATH element and file name.
7279 * locale/programs/locfile.c (locfile_read): Likewise.
7281 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7283 * nptl/pthread_mutexattr_settype.c
7284 (__pthread_mutexattr_settype):
7285 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7287 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7289 * nptl/tst-mutex5 (do_test):
7290 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7292 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7294 * benchtests/README: Document 'init' directive.
7295 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7297 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7298 (parse_file): Recognize 'init' directive.
7300 2014-05-26 Kyle McMartin <kyle@redhat.com>
7303 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7304 alignment of struct pthread.
7306 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7309 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7310 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7311 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7312 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7314 2014-05-25 Richard Henderson <rth@twiddle.net>
7316 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7317 (SINGLE_THREAD_P_PIC): Remove.
7318 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7319 (SINGLE_THREAD_P_PIC): Remove.
7321 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7322 branch to syscall error ...
7324 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7325 from __local_syscall_error to .Lsyscall_error.
7326 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7327 (SYSCALL_ERROR): Update label name.
7329 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7330 Do not use DOARGS/UNDOARGS.
7331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7332 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7333 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7334 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7335 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7337 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7340 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7341 define if !NOT_IN_libc.
7342 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7343 define with non-default symbol versions.
7345 2014-05-23 Richard Henderson <rth@twiddle.net>
7347 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7348 (vfork, __vfork): Define via compat_symbol.
7350 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7351 [!HAVE_IFUNC] (vfork_compat): Remove.
7352 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7354 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7357 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7358 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7361 2014-05-23 Richard Henderson <rth@twiddle.net>
7363 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7364 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7365 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7366 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7368 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7369 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7370 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7371 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7372 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7373 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7375 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7376 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7377 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7378 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7379 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7380 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7381 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7382 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7383 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7384 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7385 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7386 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7387 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7388 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7389 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7390 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7391 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7392 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7393 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7394 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7395 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7396 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7397 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7398 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7399 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7400 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7401 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7402 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7403 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7404 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7405 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7406 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7407 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7408 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7409 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7410 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7411 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7412 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7413 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7414 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7415 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7416 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7417 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7418 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7419 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7420 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7421 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7422 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7423 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7425 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7426 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7427 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7428 before exiting on error.
7429 (__libc_vfork): New strong alias.
7430 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7431 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7433 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7434 that was previously under [RESET_PID].
7435 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7437 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7439 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7442 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7443 value when x - 1 is zero.
7444 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7445 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7446 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7447 0.0L for an argument of 1.0L.
7448 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7450 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7451 value when x - 1 is zero.
7452 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7453 * sysdeps/i386/fpu/libm-test-ulps: Update.
7454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7456 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7458 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7459 alphasort and versionsort.
7461 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7463 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7465 [copysignf]: Likewise.
7467 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7469 * crypt/md5-crypt.c: Fix formatting.
7471 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7473 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7474 (b64_from_24bit): New function.
7476 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7478 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7479 libc_hidden_builtin_def to ifunc.
7480 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7481 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7483 2014-05-21 Roland McGrath <roland@hack.frob.com>
7485 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7486 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7488 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7490 * nscd/Depend (linuxthreads): Remove.
7492 * resolv/Depend (linuxthreads): Remove.
7493 * rt/Depend (linuxthreads): Remove.
7495 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7496 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7497 $(common-objpfx)elf/.
7498 (link-libc-before-gnulib): Likewise.
7499 (elfobjdir): Remove variable.
7500 * Makefile (install): Use $(elf-objpfx) instead of
7501 $(common-objpfx)elf/.
7502 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7504 (link-libc-deps): Likewise.
7505 ($(common-objpfx)libc.so): Likewise.
7506 ($(common-objpfx)linkobj/libc.so): Likewise.
7507 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7508 instead of $(common-objpfx)elf/.
7509 (symbolic-link-list): Likewise.
7510 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7511 [$(cross-compiling) = no]: Likewise.
7512 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7514 (static-gnulib-arch): Likewise.
7515 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7516 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7517 $(common-objpfx)elf/.
7519 2014-05-21 Richard Henderson <rth@redhat.com>
7521 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7522 (SINGLE_THREAD_P): Use the correct width load. Fold
7523 into the ldr offset.
7525 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7526 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7528 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7530 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7531 (libgcc_s_resume): Use __attribute_used__.
7532 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7535 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7537 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7538 optimization when used with float constants.
7540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7542 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7545 * locale/nl_langinfo_l.c: Make direct reference to every
7546 _nl_current_CATEGORY symbol.
7547 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7548 (tests-static): Add tst-langinfo-static.
7549 (tests-special): Add tst-langinfo-static.out.
7550 ($(objpfx)tst-langinfo.out): Redirect output.
7551 ($(objpfx)tst-langinfo-static.out): New.
7552 * localedata/tst-langinfo.sh: Send output to stdout.
7553 * localedata/tst-langinfo-static.c: New file.
7556 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7557 when the shift amount is modulo the limb size.
7559 2014-05-20 Richard Henderson <rth@redhat.com>
7562 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7563 Change type of sa_flags from unsigned int to int.
7566 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7568 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7570 2014-05-20 Will Newton <will.newton@linaro.org>
7572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7573 Test the return value of the system call in the nocancel case.
7575 2014-05-20 Will Newton <will.newton@linaro.org>
7576 Yvan Roux <yvan.roux@linaro.org>
7578 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7579 #include of asm/ptrace.h.
7580 (PTRACE_GET_THREAD_AREA): Remove #undef.
7581 (PTRACE_GETHBPREGS): Likewise.
7582 (PTRACE_SETHBPREGS): Likewise.
7583 (struct user_regs_struct): New structure.
7584 (struct user_fpsimd_struct): New structure.
7585 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7586 #include of asm/ptrace.h and second #include of sys/user.h.
7587 (PTRACE_GET_THREAD_AREA): Remove #undef.
7588 (PTRACE_GETHBPREGS): Likewise.
7589 (PTRACE_SETHBPREGS): Likewise.
7590 (ELF_NGREG): Use new struct user_regs_struct.
7591 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7593 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7598 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7602 membar to avoid block loads/stores to overlap previous stores.
7604 2014-05-17 Richard Henderson <rth@redhat.com>
7606 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7607 Create the __##syscall_name##_nocancel entry point.
7608 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7609 Remove; let the sysdep-cancel.h code create it.
7611 2014-05-17 David S. Miller <davem@davemloft.net>
7613 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7614 Protect with __USE_GNU.
7615 (TIOCSET_TEMPT): Likewise.
7616 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7617 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7618 these are already provided in bits/ioctl-types.h
7620 2014-05-16 Roland McGrath <roland@hack.frob.com>
7622 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7623 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7625 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7626 Use wait4 regardless of [__NR_waitpid].
7628 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7631 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7632 (_FP_NANSIGN_Q): Set the quiet bit.
7634 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7636 * benchtests/Makefile
7637 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7638 not $(common-objpfx)math/libm.so.
7639 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7640 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7641 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7642 $(common-objpfx)dlfcn/libdl.so.
7643 ($(objpfx)tst-audit8): Depend on $(libm), not
7644 $(common-objpfx)math/libm.so.
7645 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7646 not $(common-objpfx)dlfcn/libdl.so.
7648 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7649 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7650 [$(build-shared) = yes].
7651 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7652 $(common-objpfx)nptl/libpthread.so.
7653 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7654 $(common-objpfx)math/libm.so$(libm.so-version) or
7655 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7656 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7657 $(common-objpfx)dlfcn/libdl.so.
7658 * setjmp/Makefile (link-libm): Remove variable.
7659 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7660 * stdio-common/Makefile (link-libm): Remove variable.
7661 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7662 * stdlib/Makefile (link-libm): Remove variable.
7663 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7664 ($(objpfx)tst-strtod-round): Likewise.
7665 ($(objpfx)tst-tininess): Likewise.
7666 ($(objpfx)tst-strtod-underflow): Likewise.
7667 ($(objpfx)tst-strtod6): Likewise.
7668 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7669 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7670 $(common-objpfx)dlfcn/libdl.so.
7672 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7675 BSD terminal modes definitions.
7677 2014-05-16 Roland McGrath <roland@hack.frob.com>
7679 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7680 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7682 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7683 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7684 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7685 Don't do #include_next.
7686 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7687 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7688 Don't do #include_next.
7689 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7690 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7691 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7692 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7694 2014-05-16 Allan McRae <allan@archlinux.org>
7696 * po/sv.po: Update Swedish translation from translation project.
7698 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7701 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7704 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7705 errno if the TIOCGPTN ioctl fails with an error different than
7707 * login/tst-ptsname.c: New file.
7708 * login/Makefile (tests): Add tst-ptsname.
7711 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7714 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7718 herrno to return EAI_AGAIN.
7720 2014-05-14 Roland McGrath <roland@hack.frob.com>
7722 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7723 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7724 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7725 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7726 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7727 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7728 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7729 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7730 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7731 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7732 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7733 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7735 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7736 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7737 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7741 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7742 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7743 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7751 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7753 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7755 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7758 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7760 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7762 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7764 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7766 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7768 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7770 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7772 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7774 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7776 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7778 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7780 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7782 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7784 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7787 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7789 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7791 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7793 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7795 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7797 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7799 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7801 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7803 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7805 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7808 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7810 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7812 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7813 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7814 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7815 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7816 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7817 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7818 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7819 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7820 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7821 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7822 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7823 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7824 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7825 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7826 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7827 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7828 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7829 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7830 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7831 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7832 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7833 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7834 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7835 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7836 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7837 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7838 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7839 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7840 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7841 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7842 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7844 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7845 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7847 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7848 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7849 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7850 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7851 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7852 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7854 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7855 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7857 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7858 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7860 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7863 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7864 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7865 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7866 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7868 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7869 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7870 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7871 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7872 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7873 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7874 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7875 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7877 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7878 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7880 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7882 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7883 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7884 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7885 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7886 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7888 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7890 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7892 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7893 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7894 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7895 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7896 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7897 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7899 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7900 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7902 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7903 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7905 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7908 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7909 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7910 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7911 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7913 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7915 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7917 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7919 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7922 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7923 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7925 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7927 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7928 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7929 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7930 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7931 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7935 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7937 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7938 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7939 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7940 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7941 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7942 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7943 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7944 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7945 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7946 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7948 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7949 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7951 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7952 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7954 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7955 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7957 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7958 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7959 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7960 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7961 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7962 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7964 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7965 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7966 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7967 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7968 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7969 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7970 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7971 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7973 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7974 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7976 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7978 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7979 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7980 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7981 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7982 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7984 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7986 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7988 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7989 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7990 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7991 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7992 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7993 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7994 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7995 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7996 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7997 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7998 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8000 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8001 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8003 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8004 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8006 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8007 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8008 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8009 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8010 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8011 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8012 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8013 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8014 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8015 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8016 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8017 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8018 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8019 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8020 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8022 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8025 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8027 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8028 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8030 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8031 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8032 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8034 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8036 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8039 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8040 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8042 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8043 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8044 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8045 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8046 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8047 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8048 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8049 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8050 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8051 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8052 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8053 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8054 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8055 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8056 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8057 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8058 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8061 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8062 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8063 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8064 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8066 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8067 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8068 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8069 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8070 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8071 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8072 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8073 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8074 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8075 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8080 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8081 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8082 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8083 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8084 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8085 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8086 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8087 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8088 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8089 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8090 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8091 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8092 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8093 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8094 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8116 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8118 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8119 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8120 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8121 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8122 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8123 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8124 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8125 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8126 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8128 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
8130 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8131 that was previously under [RESET_PID].
8132 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8133 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8134 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8136 * sysdeps/i386/nptl/Implies: New file.
8137 * sysdeps/x86_64/nptl/Implies: New file.
8138 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8139 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8140 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8141 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8143 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8144 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8145 (__libc_vfork): New strong alias.
8146 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8147 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8149 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8150 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8151 (__libc_vfork): New strong alias.
8152 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8153 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8155 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8156 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8157 (__libc_vfork): New strong alias.
8158 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8159 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8160 * nptl/pt-vfork.c: New file.
8161 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8162 (libpthread: GLIBC_2.20): New version set (empty).
8164 2014-05-14 Will Newton <will.newton@linaro.org>
8166 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8169 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8172 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8173 arguments with exponent 65 or above.
8174 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8175 arguments 0x1p113L or above.
8176 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8177 to arguments 0x1p107L or above.
8178 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8179 positive arguments with exponent 65 or above.
8180 * math/auto-libm-test-in: Add more tests of log1p.
8181 * math/auto-libm-test-out: Regenerated.
8184 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8185 non-finite arguments is +0.
8186 * math/s_cacosf.c (__cacosf): Likewise.
8187 * math/s_cacosl.c (__cacosl): Likewise.
8188 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8189 * sysdeps/i386/fpu/libm-test-ulps: Update.
8190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8193 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8195 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8196 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8197 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8198 for explicit high bit of mantissa when testing for argument equal
8200 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8201 * sysdeps/i386/fpu/libm-test-ulps: Update.
8202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8205 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8206 (__erf): Scale by 16 instead of 8 in potentially underflowing
8207 case. Ensure exception if result actually underflows.
8208 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8209 (__erff): Scale by 16 instead of 8 in potentially underflowing
8210 case. Ensure exception if result actually underflows.
8211 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8212 (efx8): Remove variable.
8213 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8214 case. Ensure exception if result actually underflows.
8215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8216 (efx8): Remove variable.
8217 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8218 case. Ensure exception if result actually underflows.
8219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8220 (efx8): Remove variable.
8221 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8222 case. Ensure exception if result actually underflows.
8223 * math/auto-libm-test-in: Add more tests of erf.
8224 * math/auto-libm-test-out: Regenerated.
8226 2014-05-14 Andreas Schwab <schwab@suse.de>
8228 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8229 Remove code conditionalized on USE___THREAD.
8231 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8232 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8235 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8238 Define unconditionally.
8239 (__ASSUME_O_CLOEXEC): Likewise.
8240 (__ASSUME_SOCK_CLOEXEC): Likewise.
8241 (__ASSUME_IN_NONBLOCK): Likewise.
8242 (__ASSUME_PIPE2): Likewise.
8243 (__ASSUME_EVENTFD2): Likewise.
8244 (__ASSUME_SIGNALFD4): Likewise.
8245 (__ASSUME_DUP3): Likewise.
8246 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8247 (__ASSUME_DUP3): Do not define.
8248 (__ASSUME_EVENTFD2): Likewise.
8249 (__ASSUME_IN_NONBLOCK): Likewise.
8250 (__ASSUME_O_CLOEXEC): Likewise.
8251 (__ASSUME_PIPE2): Likewise.
8252 (__ASSUME_SIGNALFD4): Likewise.
8253 (__ASSUME_SOCK_CLOEXEC): Likewise.
8254 (__ASSUME_UTIMES): Undefine.
8255 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8256 (__ASSUME_UTIMES): Do not define.
8257 (__ASSUME_O_CLOEXEC): Likewise.
8258 (__ASSUME_SOCK_CLOEXEC): Likewise.
8259 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8260 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8262 (__ASSUME_PIPE2): Likewise.
8263 (__ASSUME_EVENTFD2): Likewise.
8264 (__ASSUME_SIGNALFD4): Likewise.
8265 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8266 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8268 (__ASSUME_EVENTFD2): Likewise.
8269 (__ASSUME_SIGNALFD4): Likewise.
8270 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8271 (__ASSUME_32BITUIDS): Likewise.
8272 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8273 (__ASSUME_IPC64): Likewise.
8274 (__ASSUME_ST_INO_64_BIT): Likewise.
8275 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8276 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8277 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8278 (__ASSUME_UTIMES): Do not define.
8279 (__ASSUME_PSELECT): Likewise.
8280 (__ASSUME_PPOLL): Likewise.
8281 (__ASSUME_O_CLOEXEC): Likewise.
8282 (__ASSUME_SOCK_CLOEXEC): Likewise.
8283 (__ASSUME_IN_NONBLOCK): Likewise.
8284 (__ASSUME_PIPE2): Likewise.
8285 (__ASSUME_EVENTFD2): Likewise.
8286 (__ASSUME_SIGNALFD4): Likewise.
8287 (__ASSUME_DUP3): Likewise.
8288 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8289 (__ASSUME_UTIMES): Likewise.
8290 (__ASSUME_O_CLOEXEC): Likewise.
8291 (__ASSUME_SOCK_CLOEXEC): Likewise.
8292 (__ASSUME_IN_NONBLOCK): Likewise.
8293 (__ASSUME_PIPE2): Likewise.
8294 (__ASSUME_EVENTFD2): Likewise.
8295 (__ASSUME_SIGNALFD4): Likewise.
8296 (__ASSUME_DUP3): Likewise.
8297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8298 (__ASSUME_UTIMES): Likewise.
8299 (__ASSUME_O_CLOEXEC): Likewise.
8300 (__ASSUME_SOCK_CLOEXEC): Likewise.
8301 (__ASSUME_IN_NONBLOCK): Likewise.
8302 (__ASSUME_PIPE2): Likewise.
8303 (__ASSUME_EVENTFD2): Likewise.
8304 (__ASSUME_SIGNALFD4): Likewise.
8305 (__ASSUME_DUP3): Likewise.
8306 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8308 (__ASSUME_UTIMES): Likewise.
8309 (__ASSUME_EVENTFD2): Likewise.
8310 (__ASSUME_SIGNALFD4): Likewise.
8311 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8312 (__ASSUME_O_CLOEXEC): Likewise.
8313 (__ASSUME_SOCK_CLOEXEC): Likewise.
8314 (__ASSUME_IN_NONBLOCK): Likewise.
8315 (__ASSUME_PIPE2): Likewise.
8316 (__ASSUME_EVENTFD2): Likewise.
8317 (__ASSUME_SIGNALFD4): Likewise.
8318 (__ASSUME_DUP3): Likewise.
8319 (__ASSUME_UTIMES): Undefine.
8321 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8322 feclearexcept. Remove symbol versioning code.
8323 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8324 symbol versioning code.
8325 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8326 symbol versioning code.
8327 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8328 feupdateenv. Remove symbol versioning code.
8329 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8330 fegetexceptflag. Remove symbol versioning code.
8331 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8332 fesetexceptflag. Remove symbol versioning code.
8333 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8334 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8335 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8336 (__posix_fadvise64_l32): Remove prototype.
8337 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8340 2014-05-13 Roland McGrath <roland@hack.frob.com>
8342 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8343 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8344 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8345 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8347 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8349 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8350 current working directory
8352 2014-05-13 Roland McGrath <roland@hack.frob.com>
8354 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8355 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8356 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8357 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8358 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8359 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8360 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8361 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8363 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8364 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8365 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8366 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8367 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8368 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8369 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8370 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8371 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8373 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8375 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8376 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8377 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8378 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8379 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8380 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8381 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8382 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8383 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8384 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8385 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8386 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8387 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8388 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8389 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8390 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8391 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8392 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8393 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8394 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8395 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8397 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8398 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8400 * sysdeps/unix/sysv/linux/arm/Makefile
8401 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8402 Add rt-aeabi_unwind_cpp_pr1.
8403 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8404 Add nptl-aeabi_unwind_cpp_pr1.
8405 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8406 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8407 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8408 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8409 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8410 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8412 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8413 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8414 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8415 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8417 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8418 Deconditionalize the code that was previously under [RESET_PID].
8419 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8421 * sysdeps/generic/exit-thread.h: New file.
8422 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8423 * include/unistd.h (__exit_thread): Remove declaration.
8424 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8425 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8426 * csu/libc-start.c: Include <exit-thread.h>.
8427 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8428 * nptl/pthread_create.c: Include <exit-thread.h>.
8429 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8430 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8431 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8432 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8433 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8434 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8435 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8436 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8437 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8438 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8439 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8440 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8441 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8442 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8443 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8444 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8445 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8447 2014-05-13 Andreas Schwab <schwab@suse.de>
8449 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8451 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8453 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8454 (__ASSUME_UTIMES): Do not condition on kernel version.
8455 (__ASSUME_PSELECT): Define unconditionally.
8456 (__ASSUME_PPOLL): Likewise.
8457 (__ASSUME_ATFCTS): Likewise.
8458 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8459 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8460 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8461 (__ASSUME_UTIMENSAT): Define unconditionally.
8462 (__ASSUME_PRIVATE_FUTEX): Likewise.
8463 (__ASSUME_FALLOCATE): Likewise.
8464 (__ASSUME_O_CLOEXEC): Likewise.
8465 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8466 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8467 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8468 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8469 (__ASSUME_IN_NONBLOCK): Likewise.
8470 (__ASSUME_PIPE2): Likewise.
8471 (__ASSUME_EVENTFD2): Likewise.
8472 (__ASSUME_SIGNALFD4): Likewise.
8473 (__ASSUME_DUP3): Likewise.
8474 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8475 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8476 (__ASSUME_AT_RANDOM): Likewise.
8477 (__ASSUME_PREADV): Likewise.
8478 (__ASSUME_PWRITEV): Likewise.
8479 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8480 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8481 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8482 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8483 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8484 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8485 (__ASSUME_O_CLOEXEC): Define unconditionally.
8486 (__ASSUME_PSELECT): Do not undefine conditionally.
8487 (__ASSUME_PPOLL): Likewise.
8488 (__ASSUME_ATFCTS): Likewise.
8489 (__ASSUME_SET_ROBUST_LIST): Likewise.
8490 (__ASSUME_UTIMENSAT): Likewise.
8491 (__ASSUME_FDATASYNC): Define unconditionally.
8492 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8493 (__ASSUME_SIGFRAME_V2): Likewise.
8494 )__ASSUME_EVENTFD2): Likewise.
8495 (__ASSUME_SIGNALFD4): Likewise.
8496 (__ASSUME_PSELECT): Do not undefine conditionally.
8497 (__ASSUME_PPOLL): Likewise.
8498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8499 (__ASSUME_PSELECT): Define unconditionally.
8500 (__ASSUME_PPOLL): Likewise.
8501 (__ASSUME_O_CLOEXEC): Likewise.
8502 (__ASSUME_SOCK_CLOEXEC): Likewise.
8503 (__ASSUME_IN_NONBLOCK): Likewise.
8504 (__ASSUME_PIPE2): Likewise.
8505 (__ASSUME_EVENTFD2): Likewise.
8506 (__ASSUME_SIGNALFD4): Likewise.
8507 (__ASSUME_DUP3): Likewise.
8508 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8509 (__ASSUME_O_CLOEXEC): Likewise.
8510 (__ASSUME_SOCK_CLOEXEC): Likewise.
8511 (__ASSUME_IN_NONBLOCK): Likewise.
8512 (__ASSUME_PIPE2): Likewise.
8513 (__ASSUME_EVENTFD2): Likewise.
8514 (__ASSUME_SIGNALFD4): Likewise.
8515 (__ASSUME_DUP3): Likewise.
8516 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8517 (__ASSUME_EVENTFD2): Likewise.
8518 (__ASSUME_SIGNALFD4): Likewise.
8519 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8521 2014-05-12 Andreas Schwab <schwab@suse.de>
8524 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8525 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8526 than maximum RPC packet size.
8527 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8528 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8529 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8530 (_nss_nis_getservbyport_r): Likewise.
8532 2014-05-12 Will Newton <will.newton@linaro.org>
8534 * malloc/Makefile (tests): Add tst-mallopt.
8535 * malloc/tst-mallopt.c: New file.
8537 2014-05-09 Roland McGrath <roland@hack.frob.com>
8539 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8540 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8542 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8544 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8545 (tst-tlsmod6.so): Likewise.
8547 2014-05-09 Roland McGrath <roland@hack.frob.com>
8549 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8551 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8554 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8555 and <dl-procinfo.h>.
8556 (__fegetenv): Save SSE state in envp->__eip if supported.
8557 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8558 envp->__eip if supported.
8559 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8560 and <dl-procinfo.h>.
8561 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8562 __data_offset and __data_selector in environment to 0. Set SSE
8564 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8566 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8568 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8570 2014-05-09 Will Newton <will.newton@linaro.org>
8572 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8573 and libc_relro_required for ARM.
8574 * sysdeps/arm/preconfigure: Regenerate.
8576 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8577 Stefan Liebler <stli@linux.vnet.ibm.com>
8579 * config.make.in (enable-lock-elision): New Makefile variable.
8580 * configure.ac: Likewise.
8581 * configure: Regenerate.
8582 * sysdeps/s390/configure.ac:
8583 Add check for gcc transactions support.
8584 * sysdeps/s390/configure: Regenerate.
8585 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8586 Build elision files if enabled.
8587 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8588 Add lock elision support for s390.
8589 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8590 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8591 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8592 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8593 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8594 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8595 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8597 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8599 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8601 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8603 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8604 (__lll_timedlock_elision, __lll_lock_elision)
8605 (__lll_unlock_elision, __lll_trylock_elision)
8606 (lll_timedlock_elision, lll_lock_elision)
8607 (lll_unlock_elision, lll_trylock_elision): Add.
8608 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8609 (pthread_mutex_t): Add lock elision support for s390.
8611 2014-05-14 Wilco <wdijkstr@arm.com>
8613 * sysdeps/arm/fclrexcpt.c: Cleanup.
8614 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8615 * sysdeps/arm/feenablxcpt.c: Cleanup.
8616 * sysdeps/arm/fegetenv.c: Cleanup.
8617 * sysdeps/arm/fegetexcept.c: Cleanup.
8618 * sysdeps/arm/fegetround.c: Cleanup.
8619 * sysdeps/arm/feholdexcpt.c: Cleanup.
8620 * sysdeps/arm/fesetenv.c: Cleanup.
8621 * sysdeps/arm/fesetround.c: Cleanup.
8622 * sysdeps/arm/feupdateenv.c: Cleanup.
8623 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8624 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8625 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8626 * sysdeps/arm/ftestexcept.c: Cleanup.
8627 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8628 * sysdeps/arm/setfpucw.c: Cleanup.
8630 2014-05-09 Will Newton <will.newton@linaro.org>
8632 * sysdeps/arm/armv7/strcmp.S: New file.
8633 * NEWS: Mention addition of ARMv7 optimized strcmp.
8635 2014-05-08 Roland McGrath <roland@hack.frob.com>
8637 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8638 look for %.ac rather than %.in.
8640 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8641 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8642 * sysdeps/mach/hurd/configure: Regenerated.
8643 * sysdeps/unix/sysv/linux/configure: Regenerated.
8645 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8647 2014-05-07 Steve Ellcey <sellcey@mips.com>
8650 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8654 2014-05-07 Andreas Schwab <schwab@suse.de>
8656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8657 when skipping over non-matching result from nscd.
8659 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8662 * nptl/sockperf.c (client): Check socket return value.
8665 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8666 nscd security class.
8668 2014-05-06 Roland McGrath <roland@hack.frob.com>
8670 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8671 * sysdeps/arm/unwind.h: ... here.
8673 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8676 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8679 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8681 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8682 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8683 multiarch strncpy for PPC64.
8684 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8685 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8687 multiarch optimizations.
8688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8689 (__libc_ifunc_impl_list): Likewise.
8690 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8691 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8692 multiarch stpncpy for PPC64.
8693 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8694 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8696 2014-05-06 Andreas Schwab <schwab@suse.de>
8699 * gmon/mcount.c (_MCOUNT_DECL): Use
8700 atomic_compare_and_exchange_bool_acq instead of
8701 catomic_compare_and_exchange_bool_acq.
8703 2014-05-05 Roland McGrath <roland@hack.frob.com>
8705 * elf/Makefile (others, install-bin): Remove pldd.
8706 (pldd-modules): Variable removed.
8707 ($(objpfx)pldd): Target removed.
8708 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8709 (others, install-bin): Append pldd here.
8710 ($(objpfx)pldd): New target.
8712 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8713 to 0, so the first #if test emitted later doesn't see it undefined.
8714 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8715 * sysdeps/gnu/errlist.c: Regenerated.
8717 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8719 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8720 [libc_hidden_builtin_def]: Define to empty value.
8721 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8722 [libc_hidden_builtin_def]: Likewise.
8723 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8724 [libc_hidden_builtin_def]: Likewise.
8725 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8726 [libc_hidden_builtin_def]: Likewise.
8727 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8728 __redirect_memcpy and define ifunc as default hidden symbol.
8729 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8730 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8732 2014-05-04 Adam Conrad <adconrad@0c3.net>
8734 * locale/iso-4217.def: Reintroduce XDR currency.
8736 2014-05-04 Allan McRae <allan@archlinux.org>
8738 * po/eo.po: Update Esperanto translation from translation project.
8740 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8742 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8743 and FEATURE_INDEX_MAX to 1.
8744 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8746 2014-05-01 Steve Ellcey <sellcey@mips.com>
8748 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8749 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8750 * iconvdata/big5.c (ONE_DIRECTION): Define.
8751 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8752 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8753 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8754 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8755 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8756 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8757 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8758 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8759 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8760 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8761 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8762 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8763 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8764 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8765 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8766 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8767 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8768 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8769 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8770 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8771 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8772 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8773 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8774 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8775 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8776 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8777 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8778 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8779 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8780 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8781 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8782 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8783 * iconvdata/johab.c (ONE_DIRECTION): Define.
8784 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8785 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8786 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8787 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8788 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8789 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8790 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8791 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8792 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8793 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8795 2014-05-01 Roland McGrath <roland@hack.frob.com>
8797 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8798 (_IO_JUMPS_OFFSET): Define to 0.
8800 * nptl/sysdeps/pthread/bits/libc-lock.h
8801 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8802 (__libc_lock_define_initialized_recursive): Always define using
8803 initializer. Modern compilers treat uninitialized (implicit zero) and
8804 explicit zero initializers the same (i.e. put the datum in bss).
8806 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8808 * nscd/nscd-client.h: Include <string.h>.
8810 2014-05-01 David S. Miller <davem@davemloft.net>
8813 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8814 multiple zero bytes exist at the end of a string.
8815 Reported by Aurelien Jarno <aurelien@aurel32.net>
8817 * string/test-strcmp.c (check): Add explicit test for situations where
8818 there are multiple zero bytes after the first.
8820 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8823 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8824 when compiling wprintf.
8825 * stdio-common/tstdiomisc.c (t3): New function.
8828 2014-05-01 Steve Ellcey <sellcey@mips.com>
8830 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8831 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8832 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8833 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8835 2014-05-01 Steve Ellcey <sellcey@mips.com>
8837 * stdlib/longlong.h: Updated from GCC.
8839 2014-05-01 Will Newton <will.newton@linaro.org>
8840 Bernard Ogden <bernie.ogden@linaro.org>
8842 * NEWS: Update fixed bug list.
8845 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8847 2014-04-30 David S. Miller <davem@davemloft.net>
8849 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8850 (libc_feholdexcept_setround_sparc_ctx): New function.
8851 (libc_fesetenv_sparc_ctx): Likewise.
8852 (libc_feupdateenv_sparc_ctx): Likewise.
8853 (libc_feholdsetround_sparc_ctx): Likewise.
8854 (libc_feholdexcept_setround_ctx): Define.
8855 (libc_feholdexcept_setroundf_ctx): Likewise.
8856 (libc_feholdexcept_setroundl_ctx): Likewise.
8857 (libc_fesetenv_ctx): Likewise.
8858 (libc_fesetenvf_ctx): Likewise.
8859 (libc_fesetenvl_ctx): Likewise.
8860 (libc_feupdateenv_ctx): Likewise.
8861 (libc_feupdateenvf_ctx): Likewise.
8862 (libc_feupdateenvl_ctx): Likewise.
8863 (libc_feresetround_ctx): Likewise.
8864 (libc_feresetroundf_ctx): Likewise.
8865 (libc_feresetroundl_ctx): Likewise.
8866 (libc_feholdsetround_ctx): Likewise.
8867 (libc_feholdsetroundf_ctx): Likewise.
8868 (libc_feholdsetroundl_ctx): Likewise.
8870 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8871 with __USE_GNU instead of XOPEN cpp guards.
8873 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8876 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8877 with XOPEN cpp guards.
8879 2014-04-30 Julian Brown <julian@codesourcery.com>
8882 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8885 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8888 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8890 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8891 * sysdeps/unix/sysv/linux/configure: Regenerated.
8892 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8893 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8894 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8895 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8896 * README: Update reference to required Linux kernel version.
8897 * manual/install.texi (Linux): Update reference to required Linux
8898 kernel headers version.
8899 * INSTALL: Regenerated.
8901 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8903 [POSIX] (limits.h): Likewise.
8904 [POSIX] (math.h): Likewise.
8905 [POSIX] (sys/wait.h): Likewise.
8906 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8908 [POSIX] (stddef.h): Do not allow header inclusion.
8910 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8912 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8914 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8916 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8917 Return immediately after lll_futex_wake.
8919 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8922 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8924 (datahead_init_pos): Call datahead_init_common early.
8925 (datahead_init_neg): Likewise.
8927 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8928 datahead_init_neg): New functions.
8929 * nscd/aicache.c (addhstaiX): Use them.
8930 * nscd/grpcache.c (cache_addgr): Likewise.
8931 * nscd/hstcache.c (cache_addhst): Likewise.
8932 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8933 * nscd/netgroupcache.c (do_notfound): Likewise.
8934 (addgetnetgrentX): Likewise.
8935 (addinnetgrX): Likewise.
8936 * nscd/pwdcache.c (cache_addpw): Likewise.
8937 * nscd/servicescache.c (cache_addserv): Likewise.
8939 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8940 Atsushi Onoe <atsushi@onoe.org>
8945 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8946 one response is valid.
8947 * resolv/res_send.c (send_dg): Check for validity of other
8948 response if the current response is a referral.
8950 2014-04-29 Steve Ellcey <sellcey@mips.com>
8952 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8954 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8957 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8958 Always divide by positive zero when computing -Inf result.
8959 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8960 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8962 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8964 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8965 FPSCR if value do not change.
8966 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8967 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8968 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8969 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8970 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8971 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8974 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8976 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8977 * sysdeps/unix/sysv/linux/hppa: Move directory from
8978 ports/systeps/unix/sysv/linux/hppa.
8979 * README: Update listing for hppa-*-linux-gnu.
8981 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8984 * manual/stdio.texi (Hook functions): Fix types of stream hook
8987 * socket/sys/socket.h: Fix typo in comment.
8989 2014-04-28 Wilco <wdijkstr@arm.com>
8991 * sysdeps/arm/fenv_private.h: New file.
8992 * sysdeps/arm/math_private.h: New file.
8993 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8995 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8997 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8999 (La_x86_64_retval): Likewise.
9001 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9003 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9004 fpsr if value didn't change.
9005 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9006 to fpcr if value didn't change.
9007 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9008 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9009 fpsr or fpcr if value didn't change.
9010 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9011 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9012 fpcr if value didn't change.
9013 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9014 to fpsr if value didn't change.
9016 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9018 * nptl/tst-sem3.c: Use test-skeleton.c
9019 (main): Rename to do_test. Use return instead of
9021 * nptl/tst-sem4.c: Use test-skeleton.c
9022 (main): Rename to do_test.
9024 2014-04-22 David S. Miller <davem@davemloft.net>
9026 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9027 (struct sigaction): New struct member __glibc_reserved0, change
9028 type of sa_flags to int.
9030 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9032 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9033 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9035 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9037 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9038 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9040 2014-04-22 Will Newton <will.newton@linaro.org>
9041 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9043 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9044 (__longjmp): Add longjmp and longjmp_target SystemTap
9046 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9047 (__sigsetjmp): Add setjmp SystemTap probe.
9049 2014-04-17 Carlos O'Donell <carlos@redhat.com>
9051 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9054 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9056 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9058 * sysdeps/powerpc/fpu/fenv_private.h
9059 (libc_feholdexcept_setroundl_ctx): Define to
9060 libc_feholdexcept_setround_ppc_ctx.
9061 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9062 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9063 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9064 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9066 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9068 * sysdeps/aarch64/math-tests.h: New file.
9070 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9072 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9075 Check and set bit_AVX2_Usable.
9076 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9078 (bit_AVX2): Likewise.
9079 (index_AVX2_Usable): Likewise.
9080 (CPUID_AVX2): Likewise.
9081 (HAS_AVX2): Likewise.
9083 2014-04-17 Will Newton <will.newton@linaro.org>
9085 * manual/setjmp.texi (System V contexts): Add note that
9086 calling setcontext on a context created by a call to a
9087 signal handler is undefined. Update text to note that
9088 setcontext from a signal handler is possible but not
9092 * stdlib/tst-setcontext.c: Include signal.h.
9093 (main): Check that the signal stack before and
9094 after swapcontext is the same.
9096 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9097 Re-implement to restore registers in user code and avoid
9098 rt_sigreturn system call.
9100 2014-04-17 Wilco <wdijkstr@arm.com>
9102 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9103 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9104 * math/test-fenv.c: Skip exception trap tests on targets which only
9105 support non-stop mode.
9107 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9108 Wilco Dijkstra <wilco.dijkstra@arm.com>
9110 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9111 (libc_feholdsetround_aarch64_ctx)
9112 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9113 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9114 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9115 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9116 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9117 (libc_feresetround_noexl_ctx): Define.
9119 2014-04-16 Richard Henderson <rth@redhat.com>
9121 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9123 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9126 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9127 const from the non-libc, non-ldso copy.
9129 * sysdeps/alpha/libm-test-ulps: Regenerate.
9131 2014-04-16 Ian Bolton <ian.bolton@arm.com>
9132 Wilco Dijkstra <wilco.dijkstra@arm.com>
9134 * sysdeps/aarch64/fpu/math_private.h: New file.
9136 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9138 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9140 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9143 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9144 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9146 Intel MPX bound registers before _dl_profile_fixup.
9147 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9148 registers after _dl_profile_fixup. Save and restore bound
9149 registers bnd0/bnd1 when calling _dl_call_pltexit.
9150 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9151 (LR_BND_OFFSET): Likewise.
9152 (LRV_BND0_OFFSET): Likewise.
9153 (LRV_BND1_OFFSET): Likewise.
9155 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9157 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9159 * sysdeps/mach/hurd/i386/tls.h: ... here.
9160 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9161 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9164 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9166 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9168 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9170 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9172 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9175 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9176 * sysdeps/s390/configure: Regenerate.
9179 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9180 Set round-to-nearest internally to reduce error accumulation.
9182 2014-04-16 Alan Modra <amodra@gmail.com>
9186 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9187 * math/libm-test.inc (frexp_test_data): Add tests.
9188 * NEWS: Update fixed bug list.
9190 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9192 * benchtests/Makefile: Depend on libraries in build directory.
9193 (bench-math): Separate out math tests.
9194 (bench-pthread): Separate out pthread tests.
9195 (bench): Include math and pthread tests.
9197 2014-04-14 Carlos O'Donell <carlos@redhat.com>
9200 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9201 _dl_debug_initialize.
9203 * configure.ac: Remove SELinux header check.
9204 * configure: Regenerate.
9205 * nscd/selinux.c (perms): Array of const char* to permission names.
9206 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9207 default policy. Call string_to_security_class and string_to_av_perm to
9208 translate strings. Enforce default policy and call avs_has_perm with
9209 results of translated strings.
9211 2014-04-13 David S. Miller <davem@davemloft.net>
9213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9215 2014-04-12 Allan McRae <allan@archlinux.org>
9218 * manual/string.texi (Collation Functions): Fix qsort argument
9220 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9222 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9224 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9225 Make the test a no-op if there are no exceptions defined.
9227 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9229 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9230 enable-hardcoded-path-in-tests
9232 2014-04-11 Will Newton <will.newton@linaro.org>
9234 * benchtests/Makefile (extra-objs): Add json-lib.o.
9235 (bench-func): Tidy up JSON output.
9236 * benchtests/bench-skeleton.c: Include json-lib.h.
9237 (main): Use JSON library functions to do output of
9239 * benchtests/bench-timing-type.c (main): Output the
9240 timing type simply, leaving formatting to the user.
9241 * benchtests/json-lib.c: New file.
9242 * benchtests/json-lib.h: Likewise.
9244 2014-04-11 Torvald Riegel <triegel@redhat.com>
9247 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9248 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9249 memory barriers. Add comments.
9250 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9251 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9252 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9253 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9254 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9255 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9257 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9259 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9260 * sysdeps/s390/s390-64/configure.ac: ... this ...
9261 * sysdeps/s390/configure.ac: ... to here.
9262 * sysdeps/s390/s390-32/configure: Delete file.
9263 * sysdeps/s390/s390-64/configure: Delete file.
9264 * sysdeps/s390/configure: Regenerate.
9266 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9268 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9270 2014-04-11 Will Newton <will.newton@linaro.org>
9272 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9273 to zero if it is not defined elsewhere. (mtrim): Test
9274 the value of MALLOC_DEBUG with #if rather than #ifdef.
9276 2014-04-10 Torvald Riegel <triegel@redhat.com>
9278 * benchtests/pthread_once-inputs: New file.
9279 * benchtests/pthread_once-source.c: New file.
9280 * benchtests/README: Update documentation.
9282 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9283 H.J. Lu <hongjiu.lu@intel.com>
9286 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9287 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9288 * sysdeps/x86_64/configure: Regenerated.
9289 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9291 (REGISTER_SAVE_RAX): Likewise.
9292 (REGISTER_SAVE_RCX): Likewise.
9293 (REGISTER_SAVE_RDX): Likewise.
9294 (REGISTER_SAVE_RSI): Likewise.
9295 (REGISTER_SAVE_RDI): Likewise.
9296 (REGISTER_SAVE_R8): Likewise.
9297 (REGISTER_SAVE_R9): Likewise.
9298 (REGISTER_SAVE_BND0): Likewise.
9299 (REGISTER_SAVE_BND1): Likewise.
9300 (REGISTER_SAVE_BND2): Likewise.
9301 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9302 bound registers when calling _dl_fixup.
9304 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9306 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9307 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9309 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9310 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9311 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9312 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9313 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9314 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9315 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9317 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9320 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9321 pathconf(_PC_NAME_MAX).
9323 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9325 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9327 (__PTHREAD_SPINS): Move definition to ...
9328 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9329 (__PTHREAD_SPINS): ... here.
9330 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9331 (__PTHREAD_SPIN): Likewise.
9332 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9333 (__PTHREAD_SPIN): Likewise.
9334 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9335 (__PTHREAD_SPIN): Likewise.
9336 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9337 (__PTHREAD_SPIN): Likewise.
9338 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9339 (__PTHREAD_SPIN): Likewise.
9340 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9341 (__PTHREAD_SPIN): Likewise.
9342 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9343 (__PTHREAD_SPIN): Likewise.
9344 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9345 (__PTHREAD_SPIN): Likewise.
9346 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9347 (__PTHREAD_SPIN): Likewise.
9348 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9349 (__PTHREAD_SPIN): Likewise.
9350 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9351 (__PTHREAD_SPIN): Likewise.
9352 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9353 (__PTHREAD_SPIN): Likewise.
9355 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9356 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9357 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9358 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9360 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9361 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9362 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9363 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9365 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9366 strlen symbol for non multi-arch builds.
9367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9368 missing hidden_def and weak_alias.
9370 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9372 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9374 2014-04-07 Will Newton <will.newton@linaro.org>
9376 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9377 and contents. [!_LIBC] Remove #ifndef and contents.
9378 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9379 * string/memccpy.c (__memccpy): Use ANSI prototype.
9380 * string/memfrob.c (memfrob): Likewise.
9381 * string/strcoll.c (STRCOLL): Likewise.
9382 * string/strlen.c (strlen): Likewise.
9383 * string/strtok.c (STRTOK): Likewise.
9384 * string/strcat.c: Remove unused #include of memcopy.h.
9385 (strcat): Use ANSI prototype.
9386 * string/strchr.c: Remove unused #include of memcopy.h.
9387 (strchr): Use ANSI prototype.
9388 * string/strcmp.c: Remove unused #include of memcopy.h.
9389 (strcmp): Use ANSI prototype.
9390 * string/strcpy.c: Remove unused #include of memcopy.h.
9391 (strcpy): Use ANSI prototype.
9393 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9395 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9396 * config.make.in (config-extra-cppflags): Set it from
9397 libc_extra_cppflags.
9398 * configure.ac (libc_extra_cflags): Make it accumulate over
9399 configure fragments.
9400 (libc_extra_cppflags): New flag.
9401 * configure. Regenerate.
9402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9403 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9404 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9408 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9409 result for FE_DOWNWARD rounding mode.
9410 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9414 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9416 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9417 in function argument name.
9419 2014-04-03 David Svoboda <svoboda@cert.org>
9422 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9425 2014-04-03 Roland McGrath <roland@hack.frob.com>
9427 * elf/dl-unmap-segments.h: New file.
9428 * sysdeps/generic/ldsodefs.h
9429 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9430 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9431 * elf/dl-fptr.c: Likewise.
9432 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9433 * sysdeps/aarch64/tlsdesc.c: Likewise.
9434 * sysdeps/arm/tlsdesc.c: Likewise.
9435 * sysdeps/i386/tlsdesc.c: Likewise.
9436 * sysdeps/tile/dl-runtime.c: Likewise.
9437 * sysdeps/x86_64/tlsdesc.c: Likewise.
9438 * elf/dl-load.h: New file.
9439 * elf/dl-load.c: Include it.
9440 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9441 Macros moved to dl-load.h.
9442 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9443 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9444 Use _dl_unmap_segments in place of __munmap.
9445 Break out segment-mapping loop into ...
9446 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9448 2014-04-03 Will Newton <will.newton@linaro.org>
9450 * elf/dl-lookup.c (do_lookup_x): Remove comment
9451 referring to nested function and move variable
9452 declarations down to before first use.
9454 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9458 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9460 * math/s_catanf.c (__catanf): Likewise.
9461 * math/s_catanh.c (__catanh): Likewise.
9462 * math/s_catanhf.c (__catanhf): Likewise.
9463 * math/s_catanhl.c (__catanhl): Likewise.
9464 * math/s_catanl.c (__catanl): Likewise.
9465 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9466 by positive zero when computing -Inf result.
9467 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9468 (catanh_test): Likewise.
9469 * sysdeps/i386/fpu/libm-test-ulps: Update.
9470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9473 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9474 instead of using underflowing value in computing result.
9475 * math/s_clog10.c (__clog10): Likewise.
9476 * math/s_clog10f.c (__clog10f): Likewise.
9477 * math/s_clog10l.c (__clog10l): Likewise.
9478 * math/s_clogf.c (__clogf): Likewise.
9479 * math/s_clogl.c (__clogl): Likewise.
9480 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9481 (clog10_test): Likewise.
9482 * sysdeps/i386/fpu/libm-test-ulps: Update.
9483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9485 2014-04-02 Alan Modra <amodra@gmail.com>
9488 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9489 output when value is near a power of two. Use int64_t for lx and
9490 remove casts. Use decimal rather than hex exponent constants.
9491 Don't use long double multiplication when double will suffice.
9492 * math/libm-test.inc (nextafter_test_data): Add tests.
9493 * NEWS: Add 16739 and 16786 to bug list.
9495 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9497 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9499 2014-04-01 Will Newton <will.newton@linaro.org>
9501 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9502 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9504 2014-04-01 Florian Weimer <fweimer@redhat.com>
9507 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9508 * nptl/tst-setuid2.c: New file.
9509 * nptl/Makefile (xtests): Add tst-setuid2.
9511 2014-04-01 Alan Modra <amodra@gmail.com>
9514 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9516 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9520 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9521 set errno as appropriate.
9522 * math/w_scalbf.c (__scalbf): Likewise.
9523 * math/w_scalbl.c (__scalbl): Likewise.
9524 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9525 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9526 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9530 * math/w_atan2.c: Include <errno.h>.
9531 (__atan2): Set errno for result underflowing to zero.
9532 * math/w_atan2f.c: Include <errno.h>.
9533 (__atan2f): Set errno for result underflowing to zero.
9534 * math/w_atan2l.c: Include <errno.h>.
9535 (__atan2l): Set errno for result underflowing to zero.
9536 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9538 * math/auto-libm-test-out: Regenerated.
9540 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9542 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9543 Encode instruction correctly in little endian.
9544 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9548 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9550 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9553 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9556 * sysdeps/unix/sysv/linux/kernel-features.h
9557 [__sparc__ && !__arch64__ && !__sparc_v9__]
9558 (__ASSUME_SET_ROBUST_LIST): Do not define.
9559 [__sparc__ && !__arch64__ && !__sparc_v9__]
9560 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9561 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9563 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9564 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9565 (__ASSUME_REQUEUE_PI): Likewise.
9566 (__ASSUME_SET_ROBUST_LIST): Likewise.
9567 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9568 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9570 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9571 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9573 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9577 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9578 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9580 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9581 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9585 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9586 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9587 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9589 2014-03-31 Will Newton <will.newton@linaro.org>
9591 * benchtests/Makefile (bench): Add ffs and ffsll to list
9593 * benchtests/ffs-inputs: New file.
9594 * benchtests/ffsll-inputs: Likewise.
9596 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9599 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9600 too large before casting to int.
9601 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9602 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9603 * math/libm-test.inc (scalb_test_data): Add more tests.
9605 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9607 * benchtests/Makefile (DETAILED_OPT): New make option.
9608 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9610 * benchtests/bench-skeleton.c: Include stdbool.h.
9611 (main): Store and print timings per input.
9612 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9613 member to each argument value.
9614 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9615 (_print_arg_data): Initialize per-input timing to 0.
9617 * benchtests/Makefile (timing-type): New binary.
9618 (bench-clean): Also remove bench-timing-type.
9619 (bench): New target for timing-type.
9620 (bench-func): Print output in JSON format.
9621 * benchtests/bench-skeleton.c (main): Print output in JSON
9623 * benchtests/bench-timing-type.c: New file.
9624 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9625 (TIMING_PRINT_STATS): Remove.
9626 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9629 * benchtests/bench-modf.c: Remove.
9630 * benchtests/modf-inputs: New inputs file.
9632 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9635 * math/s_clog10.c (M_PI_LOG10E): New macro.
9636 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9637 imaginary parts are 0.
9638 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9639 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9640 imaginary parts are 0.
9641 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9642 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9643 imaginary parts are 0.
9644 * math/libm-test.inc (clog10_test_data): Update expected results
9645 for when real and imaginary parts are 0.
9647 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9649 * elf/dl-load.c: Finish conversion of __builtin_expect into
9652 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9655 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9656 1+x for argument with exponent below -67.
9657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9659 * math/auto-libm-test-in: Add more tests of exp.
9660 * math/auto-libm-test-out: Regenerated.
9662 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9665 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9666 (nscd_getnetgrent): Use it.
9669 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9672 2014-03-27 Andi Kleen <ak@linux.intel.com>
9674 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9675 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9676 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9677 (lll_robust_unlock): Remove out of line section. Use cfi
9679 (LLL_STUB_UNWIND_INFO*): Remove.
9680 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9681 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9682 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9683 (lll_robust_unlock): Remove out of line section. Use cfi
9685 (LLL_STUB_UNWIND_INFO*): Remove.
9687 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9690 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9693 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9695 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9697 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9700 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9702 * math/test-fenv-preserve.c: New file.
9703 * math/Makefile (tests): Add test-fenv-preserve.
9705 2014-03-26 Will Newton <will.newton@linaro.org>
9707 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9709 2014-03-25 Roland McGrath <roland@hack.frob.com>
9711 * scripts/versionlist.awk: Partition the version sets and emit all
9712 GLIBC_* (sorted) before all others (sorted).
9714 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9716 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9717 GLIBC_2.2.5 version.
9719 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9721 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9724 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9729 2014-03-25 Andreas Schwab <schwab@suse.de>
9731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9732 label to be used after in6ailist is initialized.
9734 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9736 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9737 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9739 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9743 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9745 (fp_formats): Update initializers.
9746 (init_fp_formats): Initialize new field.
9747 (output_for_one_input_case): Allow underflow for results up to
9749 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9750 * math/auto-libm-test-in: Don't mark some underflows from asin and
9752 * math/auto-libm-test-out: Regenerated.
9753 * sysdeps/i386/fpu/libm-test-ulps: Update.
9754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9756 2014-03-25 Andreas Schwab <schwab@suse.de>
9758 * libio/Makefile (tst-ftell-partial-wide-ENV)
9759 (tst-ftell-active-handler-ENV): Define.
9761 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9763 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9765 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9767 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9769 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9771 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9772 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9773 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9775 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9778 * elf/dl-load.c (open_verify): Add mode parameter.
9779 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9780 (open_path): Change from boolean 'secure' to complete flag 'mode'
9781 (_dl_map_object): Adjust.
9782 * elf/Makefile (tests): Add tst-dlopen-aout.
9783 * elf/tst-dlopen-aout.c: New test.
9785 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9788 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9789 (struct stat): Rename member pad0 to __glibc_reserved0.
9792 * sysdeps/s390/s390-32/bits/wordsize.h
9793 (__WORDSIZE32_SIZE_ULONG): New define.
9794 * sysdeps/s390/s390-64/bits/wordsize.h
9795 (__WORDSIZE32_SIZE_ULONG): Likewise.
9796 * sysdeps/generic/stdint.h (SIZE_MAX):
9797 Define as UL if __WORDSIZE32_SIZE_ULONG.
9800 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9801 (__glibc_reserved0): New variable.
9802 (sa_flags): Change type to int.
9804 * posix/Makefile (before-compile): Use += before-compile instead
9807 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9808 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9810 2014-03-20 Andreas Schwab <schwab@suse.de>
9813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9814 non-matching result from nscd.
9816 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9818 * scripts/bench.py: Moved to ...
9819 * benchtests/scripts/bench.py: ... here.
9820 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9822 2014-03-24 Andreas Schwab <schwab@suse.de>
9825 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9826 alloca_account and account alloca use for struct in6ailist.
9828 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9831 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9832 rounding mode to recompute results that overflow to infinity or
9834 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9836 * math/auto-libm-test-out: Regenerated.
9837 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9838 (ccosh_test): Likewise.
9839 (csin_test_data): Use plus_oflow.
9840 (csin_test): Use ALL_RM_TEST.
9841 (csinh_test_data): Use plus_oflow.
9842 (csinh_test): Use ALL_RM_TEST.
9843 * sysdeps/i386/fpu/libm-test-ulps: Update.
9844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9846 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9848 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9849 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9850 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9853 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9855 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9856 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9857 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9860 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9861 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9863 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9864 * sysdeps/i386/fpu/libm-test-ulps: Update.
9865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9867 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9869 * scripts/bench.pl: Remove file.
9870 * scripts/bench.py: New benchmark script.
9871 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9872 * benchtests/README: Mention python dependency.
9873 * scripts/pylintrc: New file.
9874 * scripts/pylint: New file.
9876 * bits/mathdef.h: Use #ifdef instead of #if.
9877 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9878 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9879 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9880 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9881 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9882 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9884 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9885 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9887 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9889 and strpbrk-ppc64 objects.
9890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9891 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9892 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9893 multiarch strpbrk for POWER7.
9894 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9895 multiarch strpbrk for PPC64.
9896 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9898 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9901 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9903 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9904 (atan_test): Likewise.
9905 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9906 (atanh_test): Use ALL_RM_TEST.
9907 (atan2_test_data): Likewise.
9908 (cabs_test): Likewise.
9909 (cacosh_test): Likewise.
9910 (carg_test): Likewise.
9911 (casin_test): Likewise.
9912 (casinh_test): Likewise.
9913 (cbrt_test): Likewise.
9914 (csqrt_test): Likewise.
9915 (erf_test): Likewise.
9916 (erfc_test): Likewise.
9917 (pow10_test): Likewise.
9918 (exp2_test): Likewise.
9919 (hypot_test): Likewise.
9920 (j0_test): Likewise.
9921 (j1_test): Likewise.
9922 (lgamma_test): Likewise.
9923 (gamma_test): Likewise.
9924 (sincos_test): Likewise.
9925 (tanh_test): Likewise.
9926 (y0_test): Likewise.
9927 (y1_test): Likewise.
9928 * sysdeps/i386/fpu/libm-test-ulps: Update.
9929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9931 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9933 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9935 and strcspn-ppc64 objects.
9936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9937 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9938 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9939 multiarch strcspn for POWER7.
9940 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9941 multiarch strcspn for PPC64.
9942 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9944 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9947 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9949 * math/gen-libm-test.pl (generate_testfile): Expect only function
9950 name as argument to AUTO_TESTS_* and pass results for all rounding
9951 modes to parse_args.
9952 (parse_auto_input): Separate inputs of automatic tests from
9953 outputs before storing in %auto_tests.
9954 * math/libm-test.inc (acos_test_data): Update call to
9956 (acos_test): Use ALL_RM_TEST.
9957 (acos_tonearest_test_data): Remove.
9958 (acos_test_tonearest): Likewise.
9959 (acos_towardzero_test_data): Likewise.
9960 (acos_test_towardzero): Likewise.
9961 (acos_downward_test_data): Likewise.
9962 (acos_test_downward): Likewise.
9963 (acos_upward_test_data): Likewise.
9964 (acos_test_upward): Likewise.
9965 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9966 (asin_test_data): Likewise.
9967 (asin_test): Use ALL_RM_TEST.
9968 (asin_tonearest_test_data): Remove.
9969 (asin_test_tonearest): Likewise.
9970 (asin_towardzero_test_data): Likewise.
9971 (asin_test_towardzero): Likewise.
9972 (asin_downward_test_data): Likewise.
9973 (asin_test_downward): Likewise.
9974 (asin_upward_test_data): Likewise.
9975 (asin_test_upward): Likewise.
9976 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9977 (atan_test_data): Likewise.
9978 (atanh_test_data): Likewise.
9979 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9980 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9981 (carg_test_data): Likewise.
9982 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9983 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9984 (ccosh_test_data): Likewise.
9985 (cexp_test_data): Likewise.
9986 (clog_test_data): Likewise.
9987 (clog10_test_data): Likewise.
9988 (cos_test_data): Update call to AUTO_TESTS_f_f.
9989 (cos_test): Use ALL_RM_TEST.
9990 (cos_tonearest_test_data): Remove.
9991 (cos_test_tonearest): Likewise.
9992 (cos_towardzero_test_data): Likewise.
9993 (cos_test_towardzero): Likewise.
9994 (cos_downward_test_data): Likewise.
9995 (cos_test_downward): Likewise.
9996 (cos_upward_test_data): Likewise.
9997 (cos_test_upward): Likewise.
9998 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9999 (cosh_test): Use ALL_RM_TEST.
10000 (cosh_tonearest_test_data): Remove.
10001 (cosh_test_tonearest): Likewise.
10002 (cosh_towardzero_test_data): Likewise.
10003 (cosh_test_towardzero): Likewise.
10004 (cosh_downward_test_data): Likewise.
10005 (cosh_test_downward): Likewise.
10006 (cosh_upward_test_data): Likewise.
10007 (cosh_test_upward): Likewise.
10008 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10009 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10010 (ctan_test_data): Likewise.
10011 (ctan_test): Use ALL_RM_TEST.
10012 (ctan_tonearest_test_data): Remove.
10013 (ctan_test_tonearest): Likewise.
10014 (ctan_towardzero_test_data): Likewise.
10015 (ctan_test_towardzero): Likewise.
10016 (ctan_downward_test_data): Likewise.
10017 (ctan_test_downward): Likewise.
10018 (ctan_upward_test_data): Likewise.
10019 (ctan_test_upward): Likewise.
10020 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10021 (ctanh_test): Use ALL_RM_TEST.
10022 (ctanh_tonearest_test_data): Remove.
10023 (ctanh_test_tonearest): Likewise.
10024 (ctanh_towardzero_test_data): Likewise.
10025 (ctanh_test_towardzero): Likewise.
10026 (ctanh_downward_test_data): Likewise.
10027 (ctanh_test_downward): Likewise.
10028 (ctanh_upward_test_data): Likewise.
10029 (ctanh_test_upward): Likewise.
10030 (erf_test_data): Update call to AUTO_TESTS_f_f.
10031 (erfc_test_data): Likewise.
10032 (exp_test_data): Likewise.
10033 (exp_test): Use ALL_RM_TEST.
10034 (exp_tonearest_test_data): Remove.
10035 (exp_test_tonearest): Likewise.
10036 (exp_towardzero_test_data): Likewise.
10037 (exp_test_towardzero): Likewise.
10038 (exp_downward_test_data): Likewise.
10039 (exp_test_downward): Likewise.
10040 (exp_upward_test_data): Likewise.
10041 (exp_test_upward): Likewise.
10042 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10043 (exp10_test): Use ALL_RM_TEST.
10044 (exp10_tonearest_test_data): Remove.
10045 (exp10_test_tonearest): Likewise.
10046 (exp10_towardzero_test_data): Likewise.
10047 (exp10_test_towardzero): Likewise.
10048 (exp10_downward_test_data): Likewise.
10049 (exp10_test_downward): Likewise.
10050 (exp10_upward_test_data): Likewise.
10051 (exp10_test_upward): Likewise.
10052 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10053 (expm1_test_data): Likewise.
10054 (expm1_test): Use ALL_RM_TEST.
10055 (expm1_tonearest_test_data): Remove.
10056 (expm1_test_tonearest): Likewise.
10057 (expm1_towardzero_test_data): Likewise.
10058 (expm1_test_towardzero): Likewise.
10059 (expm1_downward_test_data): Likewise.
10060 (expm1_test_downward): Likewise.
10061 (expm1_upward_test_data): Likewise.
10062 (expm1_test_upward): Likewise.
10063 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10064 (fma_test): Use ALL_RM_TEST.
10065 (fma_towardzero_test_data): Remove.
10066 (fma_test_towardzero): Likewise.
10067 (fma_downward_test_data): Likewise.
10068 (fma_test_downward): Likewise.
10069 (fma_upward_test_data): Likewise.
10070 (fma_test_upward): Likewise.
10071 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10072 (j0_test_data): Update call to AUTO_TESTS_f_f.
10073 (j1_test_data): Likewise.
10074 (jn_test_data): Update call to AUTO_TESTS_if_f.
10075 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10076 (log_test_data): Update call to AUTO_TESTS_f_f.
10077 (log10_test_data): Likewise.
10078 (log1p_test_data): Likewise.
10079 (log2_test_data): Likewise.
10080 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10081 (pow_tonearest_test_data): Likewise.
10082 (sin_test_data): Update call to AUTO_TESTS_f_f.
10083 (sin_test): Use ALL_RM_TEST.
10084 (sin_tonearest_test_data): Remove.
10085 (sin_test_tonearest): Likewise.
10086 (sin_towardzero_test_data): Likewise.
10087 (sin_test_towardzero): Likewise.
10088 (sin_downward_test_data): Likewise.
10089 (sin_test_downward): Likewise.
10090 (sin_upward_test_data): Likewise.
10091 (sin_test_upward): Likewise.
10092 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10093 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10094 (sinh_test): Use ALL_RM_TEST.
10095 (sinh_tonearest_test_data): Remove.
10096 (sinh_test_tonearest): Likewise.
10097 (sinh_towardzero_test_data): Likewise.
10098 (sinh_test_towardzero): Likewise.
10099 (sinh_downward_test_data): Likewise.
10100 (sinh_test_downward): Likewise.
10101 (sinh_upward_test_data): Likewise.
10102 (sinh_test_upward): Likewise.
10103 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10104 (sqrt_test): Use ALL_RM_TEST.
10105 (sqrt_tonearest_test_data): Remove.
10106 (sqrt_test_tonearest): Likewise.
10107 (sqrt_towardzero_test_data): Likewise.
10108 (sqrt_test_towardzero): Likewise.
10109 (sqrt_downward_test_data): Likewise.
10110 (sqrt_test_downward): Likewise.
10111 (sqrt_upward_test_data): Likewise.
10112 (sqrt_test_upward): Likewise.
10113 (tan_test_data): Update call to AUTO_TESTS_f_f.
10114 (tan_test): Use ALL_RM_TEST.
10115 (tan_tonearest_test_data): Remove.
10116 (tan_test_tonearest): Likewise.
10117 (tan_towardzero_test_data): Likewise.
10118 (tan_test_towardzero): Likewise.
10119 (tan_downward_test_data): Likewise.
10120 (tan_test_downward): Likewise.
10121 (tan_upward_test_data): Likewise.
10122 (tan_test_upward): Likewise.
10123 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10124 (tgamma_test_data): Likewise.
10125 (y0_test_data): Likewise.
10126 (y1_test_data): Likewise.
10127 (yn_test_data): Update call to AUTO_TESTS_if_f.
10128 (main): Do not call removed functions.
10130 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10132 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10133 (ldexp_test_data): Remove.
10134 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10136 (scalb_test): Use ALL_RM_TEST.
10138 2014-03-19 Andreas Schwab <schwab@suse.de>
10140 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10142 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10145 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10146 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10147 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10148 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10149 (__ASSUME_PREADV): Undefine.
10150 (__ASSUME_PWRITEV): Likewise.
10152 2014-03-18 Roland McGrath <roland@hack.frob.com>
10154 * bits/mman-linux.h: Add comment about non-Linux use.
10155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10156 bits/mman-linux.h resting place.
10158 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10159 * bits/mman-linux.h: ... here.
10161 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10163 * conform/conformtest.pl: Add standard definition when calling C
10164 preprocessor on data files.
10165 (checknamespace): Remove unused variable.
10167 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10169 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10170 minus_oflow, plus_uflow and minus_uflow in expected results.
10171 * math/libm-test.inc (scalbn_test_data): Add more tests of
10172 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10174 (scalbn_test): Use ALL_RM_TEST.
10175 (scalbln_test_data): Add more tests of negative arguments. Use
10176 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10177 (scalbln_test): Use ALL_RM_TEST.
10179 2014-03-18 Roland McGrath <roland@hack.frob.com>
10181 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10183 2014-03-18 Will Newton <will.newton@linaro.org>
10185 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10186 inaccurate comment.
10188 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10190 * Makerules [!subdir] (check-abi): Exit with error status if a
10193 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10195 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10196 for rint. Include results for all rounding modes.
10197 (nearbyint_test): Use ALL_RM_TEST.
10198 (rint_test_data): Include all tests used for nearbyint.
10200 2014-03-17 Will Newton <will.newton@linaro.org>
10202 * nptl/sysdeps/pthread/pthread.h: Revert previous
10205 * sysdeps/generic/ldsodefs.h: Revert previous
10208 * libio/genops.c: Revert previous change.
10209 * libio/libioP.h: Likewise.
10210 * stdio-common/vfprintf.c: Likewise.
10212 * sysdeps/generic/math_private.h: Revert previous
10215 * sysdeps/generic/math_private.h: Check whether
10216 HAVE_RM_CTX is defined with #ifdef rather
10219 * argp/argp-fmtstream.h: Check whether
10220 __STRICT_ANSI__ is defined with #ifdef rather
10222 * argp/argp.h: Likewise.
10224 * libio/genops.c: Check whether
10225 _IO_JUMPS_OFFSET is defined with #ifdef rather
10227 * libio/libioP.h: Likewise.
10228 * stdio-common/vfprintf.c: Likewise.
10230 * sysdeps/generic/ldsodefs.h: Check whether
10231 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10234 * nptl/sysdeps/pthread/pthread.h: Check
10235 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10238 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10240 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10242 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10246 * libio/fileops.c (_IO_file_open): Seek to end of file but
10247 don't cache the offset.
10248 (get_file_offset): Remove function.
10249 (do_ftell): Use cached offset when available.
10250 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10251 don't cache the offset.
10252 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10254 (do_one_test): Call it.
10255 (do_ftell_test): Fix up expected old offset for a+ mode.
10256 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10259 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10260 up test status with function return status.
10261 (do_write_test): Likewise.
10262 (do_append_test): Likewise.
10264 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10265 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10268 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10270 * math/gen-libm-test.pl (parse_args): Handle results specified for
10271 each rounding mode separately.
10272 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10273 tests and results from lrint_tonearest_test_data,
10274 lrint_towardzero_test_data, lrint_downward_test_data and
10275 lrint_upward_test_data.
10276 (lrint_test): Use ALL_RM_TEST.
10277 (lrint_tonearest_test_data): Remove.
10278 (lrint_test_tonearest): Likewise.
10279 (lrint_towardzero_test_data): Likewise.
10280 (lrint_test_towardzero): Likewise.
10281 (lrint_downward_test_data): Likewise.
10282 (lrint_test_downward): Likewise.
10283 (lrint_upward_test_data): Likewise.
10284 (lrint_test_upward): Likewise.
10285 (llrint_test_data): Merge in per-rounding-mode tests and results
10286 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10287 llrint_downward_test_data and llrint_upward_test_data.
10288 (llrint_test): Use ALL_RM_TEST.
10289 (llrint_tonearest_test_data): Remove.
10290 (llrint_test_tonearest): Likewise.
10291 (llrint_towardzero_test_data): Likewise.
10292 (llrint_test_towardzero): Likewise.
10293 (llrint_downward_test_data): Likewise.
10294 (llrint_test_downward): Likewise.
10295 (llrint_upward_test_data): Likewise.
10296 (llrint_test_upward): Likewise.
10297 (rint_test_data): Merge in per-rounding-mode tests and results
10298 from rint_tonearest_test_data, rint_towardzero_test_data,
10299 rint_downward_test_data and rint_upward_test_data. Add
10300 per-rounding-mode results for tests not in those arrays.
10301 (rint_test): Use ALL_RM_TEST.
10302 (rint_tonearest_test_data): Remove.
10303 (rint_test_tonearest): Likewise.
10304 (rint_towardzero_test_data): Likewise.
10305 (rint_test_towardzero): Likewise.
10306 (rint_downward_test_data): Likewise.
10307 (rint_test_downward): Likewise.
10308 (rint_upward_test_data): Likewise.
10309 (rint_test_upward): Likewise.
10310 (main): Don't call removed functions.
10312 2014-03-14 Roland McGrath <roland@hack.frob.com>
10314 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10315 "Compiled on ..." crapola. It is anti-useful.
10317 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10319 * scripts/evaluate-test.sh: Handle fourth argument to determine
10320 whether test run should stop on failure.
10321 * Makeconfig (stop-on-test-failure): New variable.
10322 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10323 $(stop-on-test-failure).
10324 * Makefile (tests): Give a summary of results from testing and
10325 exit with failure status if they include an ERROR or FAIL.
10326 (xtests): Likewise.
10327 * manual/install.texi (Configuring and compiling): Mention
10328 stop-on-test-failure=y.
10329 * INSTALL: Regenerated.
10331 2014-03-14 Roland McGrath <roland@hack.frob.com>
10333 * scripts/versionlist.awk: New file.
10334 * Makerules [$(build-shared) = yes]
10335 (postclean-generated): Add Versions.def, not Versions.def.v and
10337 ($(common-objpfx)Versions.def.v.i): Target removed.
10338 ($(common-objpfx)Versions.def): New target.
10339 ($(common-objpfx)Versions.all): Depend on that rather that
10340 $(common-objpfx)Versions.def.v.
10341 * Versions.def: File removed.
10343 * Makeconfig (+gccwarn): Add -Wundef.
10344 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10345 a dl-sysdep.h breaking its contract.
10346 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10347 * include/stackinfo.h: New file.
10348 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10349 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10350 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10351 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10352 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10353 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10354 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10355 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10356 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10357 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10358 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10359 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10360 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10361 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10362 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10364 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10367 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10369 * math/libm-test.inc (round_test_data): Add more tests.
10372 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10374 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10377 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10379 * math/libm-test.inc (ceil_test_data): Add more tests.
10381 * math/libm-test.inc (trunc_test_data): Add more tests related to
10384 2014-03-14 Roland McGrath <roland@hack.frob.com>
10386 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10387 with #if rather than #ifdef.
10388 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10390 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10392 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10393 first. Disable AVX-512 GCC support if assembler doesn't support
10395 * sysdeps/x86_64/configure: Regenerated.
10397 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10399 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10400 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10401 (__old_pthread_attr_setstack): Likewise.
10402 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10403 [!_STACK_GROWS_DOWN]: Likewise.
10405 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10407 * config.make.in (have-bash2): Delete.
10408 * configure.ac (libc_cv_have_bash2): Delete.
10409 * configure: Regenerate.
10410 * elf/Makefile (common-ldd-rewrite): Rename to ...
10411 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10412 (sh-ldd-rewrite): Delete.
10413 (bash-ldd-rewrite): Delete.
10414 (have-bash2): Delete checks.
10415 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10418 * config.make.in (have-ksh): Delete.
10420 * configure.ac (libc_cv_have_ksh): Delete.
10421 * configure: Regenerate.
10423 * elf/Makefile: Delete $(have-ksh) check.
10424 ($(objpfx)sotruss): Change KSH to BASH.
10425 * elf/sotruss.ksh: Rename to ...
10426 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10427 function style to match POSIX. Drop ksh vim mode setting.
10429 * manual/time.texi (Specifying the Time Zone with TZ): Change
10430 Tuesday to Thursday.
10432 * debug/tst-longjmp_chk2.c: Update header comment.
10433 (stackoverflow_handler): Add comment. Call assert on pass value.
10435 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10438 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10439 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10440 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10441 (La_x86_64_vector): Add zmm.
10442 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10443 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10444 ($(objpfx)tst-audit10): New target.
10445 ($(objpfx)tst-audit10.out): Likewise.
10446 (tst-audit10-ENV): New.
10447 (AVX512-CFLAGS): Likewise.
10448 (CFLAGS-tst-audit10.c): Likewise.
10449 (CFLAGS-tst-auditmod10a.c): Likewise.
10450 (CFLAGS-tst-auditmod10b.c): Likewise.
10451 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10452 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10453 * sysdeps/x86_64/configure: Regenerated.
10454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10455 AVX-512 zmm register support.
10456 (_dl_x86_64_save_sse): Likewise.
10457 (_dl_x86_64_restore_sse): Likewise.
10458 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10459 size vector registers.
10460 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10461 (ZMM_SIZE): Likewise.
10462 * sysdeps/x86_64/tst-audit10.c: New file.
10463 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10464 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10466 2014-03-13 Roland McGrath <roland@hack.frob.com>
10468 * configure.ac (HAVE_EHDR_START): New check.
10469 * configure: Regenerated.
10470 * config.h.in (HAVE_EHDR_START): New #undef.
10471 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10472 assuming the lowest-addressed segment maps the start of the file.
10474 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10476 * INSTALL: Regenerated.
10478 2014-03-13 Will Newton <will.newton@linaro.org>
10480 * manual/setjmp.texi (System V contexts): Improve
10481 clarity and grammar of documentation.
10483 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10486 * elf/Makefile (tests): Add tst-pie2.
10487 (tests-pie): Add tst-pie2.
10488 * elf/tst-pie2.c: New file.
10489 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10491 * elf/rtld.c (map_doit): Load executable as lt_executable.
10492 (dl_main): Likewise.
10494 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10498 (__ASSUME_PSELECT): Undefine.
10500 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10503 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10504 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10506 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10507 selector for static builds.
10509 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10512 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10515 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10517 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10518 IFUNC selector for static builds.
10520 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10522 * sysdeps/mips/math_private.h [__mips_hard_float]
10523 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10524 libc_feresetround_mips_ctx.
10525 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10526 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10527 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10530 * math/s_nextafter.c (__nextafter): Do not return value from
10531 overflowing computation.
10532 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10533 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10536 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10538 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10539 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10541 2014-03-11 Roland McGrath <roland@hack.frob.com>
10543 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10544 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10545 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10546 the new mov targetting sp.
10548 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10551 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10552 Define it for static builds as well.
10553 (NO_BZERO_IMPL): Likewise.
10555 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10557 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10558 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10559 multiarch strspn for PPC64.
10560 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10561 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10563 (__libc_ifunc_impl_list): Likewise.
10564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10565 multiarch optimizations
10566 * string/strspn.c (strspn): Using macro to redefine symbol name.
10568 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10569 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10571 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10572 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10573 multiarch strncat for PPC64.
10574 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10575 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10577 (__libc_ifunc_impl_list): Likewise.
10578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10579 multiarch optimizations
10581 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10584 * nscd/nscd.service: Make service type forking.
10586 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10588 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10589 sign in non default rounding modes.
10590 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10592 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10594 * math/libm-test.inc (ALL_RM_TEST): New macro.
10595 (ceil_test): Use ALL_RM_TEST.
10596 (cimag_test): Likewise.
10597 (conj_test): Likewise.
10598 (copysign_test): Likewise.
10599 (cproj_test): Likewise.
10600 (creal_test): Likewise.
10601 (fabs_test): Likewise.
10602 (floor_test): Likewise.
10603 (fmax_test): Likewise.
10604 (fmin_test): Likewise.
10605 (fmod_test): Likewise.
10606 (fpclassify_test): Likewise.
10607 (frexp_test): Likewise.
10608 (ilogb_test): Likewise.
10609 (isfinite_test): Likewise.
10610 (finite_test): Likewise.
10611 (isgreater_test): Likewise.
10612 (isgreaterequal_test): Likewise.
10613 (isinf_test): Likewise.
10614 (isless_test): Likewise.
10615 (islessequal_test): Likewise.
10616 (islessgreater_test): Likewise.
10617 (isnan_test): Likewise.
10618 (isnormal_test): Likewise.
10619 (issignaling_test): Likewise.
10620 (isunordered_test): Likewise.
10621 (logb_test): Likewise.
10622 (logb_downward_test_data): Remove.
10623 (logb_test_downward): Likewise.
10624 (lround_test): Use ALL_RM_TEST.
10625 (llround_test): Likewise.
10626 (modf_test): Likewise.
10627 (nexttoward_test): Likewise.
10628 (remainder_test): Likewise.
10629 (drem_test): Likewise.
10630 (remainder_tonearest_test_data): Likewise.
10631 (remainder_test_tonearest): Likewise.
10632 (drem_test_tonearest): Likewise.
10633 (remainder_towardzero_test_data): Likewise.
10634 (remainder_test_towardzero): Likewise.
10635 (drem_test_towardzero): Likewise.
10636 (remainder_downward_test_data): Likewise.
10637 (remainder_test_downward): Likewise.
10638 (drem_test_downward): Likewise.
10639 (remainder_upward_test_data): Likewise.
10640 (remainder_test_upward): Likewise.
10641 (drem_test_upward): Likewise.
10642 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10643 (round_test): Use ALL_RM_TEST.
10644 (signbit_test): Likewise.
10645 (trunc_test): Likewise.
10646 (significand_test): Likewise.
10647 (main): Don't call removed functions.
10649 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10652 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10653 || __USE_XOPEN2K8].
10654 (ILL_ILLOPN): Likewise.
10655 (ILL_ILLADR): Likewise.
10656 (ILL_ILLTRP): Likewise.
10657 (ILL_PRVOPC): Likewise.
10658 (ILL_PRVREG): Likewise.
10659 (ILL_COPROC): Likewise.
10660 (ILL_BADSTK): Likewise.
10661 (FPE_INTDIV): Likewise.
10662 (FPE_INTOVF): Likewise.
10663 (FPE_FLTDIV): Likewise.
10664 (FPE_FLTOVF): Likewise.
10665 (FPE_FLTUND): Likewise.
10666 (FPE_FLTRES): Likewise.
10667 (FPE_FLTINV): Likewise.
10668 (FPE_FLTSUB): Likewise.
10669 (SEGV_MAPERR): Likewise.
10670 (SEGV_ACCERR): Likewise.
10671 (BUS_ADRALN): Likewise.
10672 (BUS_ADRERR): Likewise.
10673 (BUS_OBJERR): Likewise.
10674 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10675 (TRAP_TRACE): Likewise.
10676 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10678 (CLD_KILLED): Likewise.
10679 (CLD_DUMPED): Likewise.
10680 (CLD_TRAPPED): Likewise.
10681 (CLD_STOPPED): Likewise.
10682 (CLD_CONTINUED): Likewise.
10683 (POLL_IN): Likewise.
10684 (POLL_OUT): Likewise.
10685 (POLL_MSG): Likewise.
10686 (POLL_ERR): Likewise.
10687 (POLL_PRI): Likewise.
10688 (POLL_HUP): Likewise.
10689 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10691 (ILL_ILLOPN): Likewise.
10692 (ILL_ILLADR): Likewise.
10693 (ILL_ILLTRP): Likewise.
10694 (ILL_PRVOPC): Likewise.
10695 (ILL_PRVREG): Likewise.
10696 (ILL_COPROC): Likewise.
10697 (ILL_BADSTK): Likewise.
10698 (FPE_INTDIV): Likewise.
10699 (FPE_INTOVF): Likewise.
10700 (FPE_FLTDIV): Likewise.
10701 (FPE_FLTOVF): Likewise.
10702 (FPE_FLTUND): Likewise.
10703 (FPE_FLTRES): Likewise.
10704 (FPE_FLTINV): Likewise.
10705 (FPE_FLTSUB): Likewise.
10706 (SEGV_MAPERR): Likewise.
10707 (SEGV_ACCERR): Likewise.
10708 (BUS_ADRALN): Likewise.
10709 (BUS_ADRERR): Likewise.
10710 (BUS_OBJERR): Likewise.
10711 (BUS_MCEERR_AR): Likewise.
10712 (BUS_MCEERR_AO): Likewise.
10713 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10714 (TRAP_TRACE): Likewise.
10715 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10717 (CLD_KILLED): Likewise.
10718 (CLD_DUMPED): Likewise.
10719 (CLD_TRAPPED): Likewise.
10720 (CLD_STOPPED): Likewise.
10721 (CLD_CONTINUED): Likewise.
10722 (POLL_IN): Likewise.
10723 (POLL_OUT): Likewise.
10724 (POLL_MSG): Likewise.
10725 (POLL_ERR): Likewise.
10726 (POLL_PRI): Likewise.
10727 (POLL_HUP): Likewise.
10728 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10729 (ILL_ILLOPN): Likewise.
10730 (ILL_ILLADR): Likewise.
10731 (ILL_ILLTRP): Likewise.
10732 (ILL_PRVOPC): Likewise.
10733 (ILL_PRVREG): Likewise.
10734 (ILL_COPROC): Likewise.
10735 (ILL_BADSTK): Likewise.
10736 (FPE_INTDIV): Likewise.
10737 (FPE_INTOVF): Likewise.
10738 (FPE_FLTDIV): Likewise.
10739 (FPE_FLTOVF): Likewise.
10740 (FPE_FLTUND): Likewise.
10741 (FPE_FLTRES): Likewise.
10742 (FPE_FLTINV): Likewise.
10743 (FPE_FLTSUB): Likewise.
10744 (SEGV_MAPERR): Likewise.
10745 (SEGV_ACCERR): Likewise.
10746 (BUS_ADRALN): Likewise.
10747 (BUS_ADRERR): Likewise.
10748 (BUS_OBJERR): Likewise.
10749 (BUS_MCEERR_AR): Likewise.
10750 (BUS_MCEERR_AO): Likewise.
10751 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10752 (TRAP_TRACE): Likewise.
10753 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10755 (CLD_KILLED): Likewise.
10756 (CLD_DUMPED): Likewise.
10757 (CLD_TRAPPED): Likewise.
10758 (CLD_STOPPED): Likewise.
10759 (CLD_CONTINUED): Likewise.
10760 (POLL_IN): Likewise.
10761 (POLL_OUT): Likewise.
10762 (POLL_MSG): Likewise.
10763 (POLL_ERR): Likewise.
10764 (POLL_PRI): Likewise.
10765 (POLL_HUP): Likewise.
10766 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10768 (ILL_ILLOPN): Likewise.
10769 (ILL_ILLADR): Likewise.
10770 (ILL_ILLTRP): Likewise.
10771 (ILL_PRVOPC): Likewise.
10772 (ILL_PRVREG): Likewise.
10773 (ILL_COPROC): Likewise.
10774 (ILL_BADSTK): Likewise.
10775 (ILL_BADIADDR): Likewise.
10776 (ILL_BREAK): Likewise.
10777 (FPE_INTDIV): Likewise.
10778 (FPE_INTOVF): Likewise.
10779 (FPE_FLTDIV): Likewise.
10780 (FPE_FLTOVF): Likewise.
10781 (FPE_FLTUND): Likewise.
10782 (FPE_FLTRES): Likewise.
10783 (FPE_FLTINV): Likewise.
10784 (FPE_FLTSUB): Likewise.
10785 (FPE_DECOVF): Likewise.
10786 (FPE_DECDIV): Likewise.
10787 (FPE_DECERR): Likewise.
10788 (FPE_INVASC): Likewise.
10789 (FPE_INVDEC): Likewise.
10790 (SEGV_MAPERR): Likewise.
10791 (SEGV_ACCERR): Likewise.
10792 (SEGV_PSTKOVF): Likewise.
10793 (BUS_ADRALN): Likewise.
10794 (BUS_ADRERR): Likewise.
10795 (BUS_OBJERR): Likewise.
10796 (BUS_MCEERR_AR): Likewise.
10797 (BUS_MCEERR_AO): Likewise.
10798 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10799 (TRAP_TRACE): Likewise.
10800 (TRAP_BRANCH): Likewise.
10801 (TRAP_HWBKPT): Likewise.
10802 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10804 (CLD_KILLED): Likewise.
10805 (CLD_DUMPED): Likewise.
10806 (CLD_TRAPPED): Likewise.
10807 (CLD_STOPPED): Likewise.
10808 (CLD_CONTINUED): Likewise.
10809 (POLL_IN): Likewise.
10810 (POLL_OUT): Likewise.
10811 (POLL_MSG): Likewise.
10812 (POLL_ERR): Likewise.
10813 (POLL_PRI): Likewise.
10814 (POLL_HUP): Likewise.
10815 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10816 (ILL_ILLOPN): Likewise.
10817 (ILL_ILLADR): Likewise.
10818 (ILL_ILLTRP): Likewise.
10819 (ILL_PRVOPC): Likewise.
10820 (ILL_PRVREG): Likewise.
10821 (ILL_COPROC): Likewise.
10822 (ILL_BADSTK): Likewise.
10823 (FPE_INTDIV): Likewise.
10824 (FPE_INTOVF): Likewise.
10825 (FPE_FLTDIV): Likewise.
10826 (FPE_FLTOVF): Likewise.
10827 (FPE_FLTUND): Likewise.
10828 (FPE_FLTRES): Likewise.
10829 (FPE_FLTINV): Likewise.
10830 (FPE_FLTSUB): Likewise.
10831 (SEGV_MAPERR): Likewise.
10832 (SEGV_ACCERR): Likewise.
10833 (BUS_ADRALN): Likewise.
10834 (BUS_ADRERR): Likewise.
10835 (BUS_OBJERR): Likewise.
10836 (BUS_MCEERR_AR): Likewise.
10837 (BUS_MCEERR_AO): Likewise.
10838 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10839 (TRAP_TRACE): Likewise.
10840 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10842 (CLD_KILLED): Likewise.
10843 (CLD_DUMPED): Likewise.
10844 (CLD_TRAPPED): Likewise.
10845 (CLD_STOPPED): Likewise.
10846 (CLD_CONTINUED): Likewise.
10847 (POLL_IN): Likewise.
10848 (POLL_OUT): Likewise.
10849 (POLL_MSG): Likewise.
10850 (POLL_ERR): Likewise.
10851 (POLL_PRI): Likewise.
10852 (POLL_HUP): Likewise.
10853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10854 (ILL_ILLOPN): Likewise.
10855 (ILL_ILLADR): Likewise.
10856 (ILL_ILLTRP): Likewise.
10857 (ILL_PRVOPC): Likewise.
10858 (ILL_PRVREG): Likewise.
10859 (ILL_COPROC): Likewise.
10860 (ILL_BADSTK): Likewise.
10861 (FPE_INTDIV): Likewise.
10862 (FPE_INTOVF): Likewise.
10863 (FPE_FLTDIV): Likewise.
10864 (FPE_FLTOVF): Likewise.
10865 (FPE_FLTUND): Likewise.
10866 (FPE_FLTRES): Likewise.
10867 (FPE_FLTINV): Likewise.
10868 (FPE_FLTSUB): Likewise.
10869 (SEGV_MAPERR): Likewise.
10870 (SEGV_ACCERR): Likewise.
10871 (BUS_ADRALN): Likewise.
10872 (BUS_ADRERR): Likewise.
10873 (BUS_OBJERR): Likewise.
10874 (BUS_MCEERR_AR): Likewise.
10875 (BUS_MCEERR_AO): Likewise.
10876 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10877 (TRAP_TRACE): Likewise.
10878 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10880 (CLD_KILLED): Likewise.
10881 (CLD_DUMPED): Likewise.
10882 (CLD_TRAPPED): Likewise.
10883 (CLD_STOPPED): Likewise.
10884 (CLD_CONTINUED): Likewise.
10885 (POLL_IN): Likewise.
10886 (POLL_OUT): Likewise.
10887 (POLL_MSG): Likewise.
10888 (POLL_ERR): Likewise.
10889 (POLL_PRI): Likewise.
10890 (POLL_HUP): Likewise.
10891 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10892 (ILL_ILLOPN): Likewise.
10893 (ILL_ILLADR): Likewise.
10894 (ILL_ILLTRP): Likewise.
10895 (ILL_PRVOPC): Likewise.
10896 (ILL_PRVREG): Likewise.
10897 (ILL_COPROC): Likewise.
10898 (ILL_BADSTK): Likewise.
10899 (FPE_INTDIV): Likewise.
10900 (FPE_INTOVF): Likewise.
10901 (FPE_FLTDIV): Likewise.
10902 (FPE_FLTOVF): Likewise.
10903 (FPE_FLTUND): Likewise.
10904 (FPE_FLTRES): Likewise.
10905 (FPE_FLTINV): Likewise.
10906 (FPE_FLTSUB): Likewise.
10907 (SEGV_MAPERR): Likewise.
10908 (SEGV_ACCERR): Likewise.
10909 (BUS_ADRALN): Likewise.
10910 (BUS_ADRERR): Likewise.
10911 (BUS_OBJERR): Likewise.
10912 (BUS_MCEERR_AR): Likewise.
10913 (BUS_MCEERR_AO): Likewise.
10914 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10915 (TRAP_TRACE): Likewise.
10916 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10918 (CLD_KILLED): Likewise.
10919 (CLD_DUMPED): Likewise.
10920 (CLD_TRAPPED): Likewise.
10921 (CLD_STOPPED): Likewise.
10922 (CLD_CONTINUED): Likewise.
10923 (POLL_IN): Likewise.
10924 (POLL_OUT): Likewise.
10925 (POLL_MSG): Likewise.
10926 (POLL_ERR): Likewise.
10927 (POLL_PRI): Likewise.
10928 (POLL_HUP): Likewise.
10929 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10930 (ILL_ILLOPN): Likewise.
10931 (ILL_ILLADR): Likewise.
10932 (ILL_ILLTRP): Likewise.
10933 (ILL_PRVOPC): Likewise.
10934 (ILL_PRVREG): Likewise.
10935 (ILL_COPROC): Likewise.
10936 (ILL_BADSTK): Likewise.
10937 (ILL_DBLFLT): Likewise.
10938 (ILL_HARDWALL): Likewise.
10939 (FPE_INTDIV): Likewise.
10940 (FPE_INTOVF): Likewise.
10941 (FPE_FLTDIV): Likewise.
10942 (FPE_FLTOVF): Likewise.
10943 (FPE_FLTUND): Likewise.
10944 (FPE_FLTRES): Likewise.
10945 (FPE_FLTINV): Likewise.
10946 (FPE_FLTSUB): Likewise.
10947 (SEGV_MAPERR): Likewise.
10948 (SEGV_ACCERR): Likewise.
10949 (BUS_ADRALN): Likewise.
10950 (BUS_ADRERR): Likewise.
10951 (BUS_OBJERR): Likewise.
10952 (BUS_MCEERR_AR): Likewise.
10953 (BUS_MCEERR_AO): Likewise.
10954 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10955 (TRAP_TRACE): Likewise.
10956 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10958 (CLD_KILLED): Likewise.
10959 (CLD_DUMPED): Likewise.
10960 (CLD_TRAPPED): Likewise.
10961 (CLD_STOPPED): Likewise.
10962 (CLD_CONTINUED): Likewise.
10963 (POLL_IN): Likewise.
10964 (POLL_OUT): Likewise.
10965 (POLL_MSG): Likewise.
10966 (POLL_ERR): Likewise.
10967 (POLL_PRI): Likewise.
10968 (POLL_HUP): Likewise.
10969 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10970 (ILL_ILLOPN): Likewise.
10971 (ILL_ILLADR): Likewise.
10972 (ILL_ILLTRP): Likewise.
10973 (ILL_PRVOPC): Likewise.
10974 (ILL_PRVREG): Likewise.
10975 (ILL_COPROC): Likewise.
10976 (ILL_BADSTK): Likewise.
10977 (FPE_INTDIV): Likewise.
10978 (FPE_INTOVF): Likewise.
10979 (FPE_FLTDIV): Likewise.
10980 (FPE_FLTOVF): Likewise.
10981 (FPE_FLTUND): Likewise.
10982 (FPE_FLTRES): Likewise.
10983 (FPE_FLTINV): Likewise.
10984 (FPE_FLTSUB): Likewise.
10985 (SEGV_MAPERR): Likewise.
10986 (SEGV_ACCERR): Likewise.
10987 (BUS_ADRALN): Likewise.
10988 (BUS_ADRERR): Likewise.
10989 (BUS_OBJERR): Likewise.
10990 (BUS_MCEERR_AR): Likewise.
10991 (BUS_MCEERR_AO): Likewise.
10992 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10993 (TRAP_TRACE): Likewise.
10994 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10996 (CLD_KILLED): Likewise.
10997 (CLD_DUMPED): Likewise.
10998 (CLD_TRAPPED): Likewise.
10999 (CLD_STOPPED): Likewise.
11000 (CLD_CONTINUED): Likewise.
11001 (POLL_IN): Likewise.
11002 (POLL_OUT): Likewise.
11003 (POLL_MSG): Likewise.
11004 (POLL_ERR): Likewise.
11005 (POLL_PRI): Likewise.
11006 (POLL_HUP): Likewise.
11007 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11008 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11011 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11012 before #include of <time.h>.
11013 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11014 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11015 (test-xfail-UNIX98/sched.h/conform): Likewise.
11017 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11019 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11020 error absence of trapping exception support.
11021 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11023 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11025 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11026 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11027 * timezone/Makefile (testdata): Move definition above include of
11029 (test-zones): New variable.
11030 (tests-special): Add zone files.
11031 (build-testdata): Use $(evaluate-test).
11033 * elf/Makefile (tests-special): Rename tests to end with .out.
11034 ($(objpfx)noload-mem): Likewise.
11035 ($(objpfx)tst-leaks1-mem): Likewise.
11036 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11037 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11038 $(objpfx)test-iconvconfig.out.
11039 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11040 set -e inside subshell and redirect output to file.
11041 * iconvdata/Makefile (generated): Rename tests to end with .out.
11043 (tests-special): Rename tests to end with .out.
11044 ($(objpfx)mtrace-tst-loading): Likewise.
11045 * intl/Makefile (generated): Likewise.
11046 (tests-special): Likewise.
11047 ($(objpfx)mtrace-tst-gettext): Likewise.
11048 * misc/Makefile (generated): Likewise.
11049 (tests-special): Likewise.
11050 ($(objpfx)tst-error1-mem): Likewise.
11051 * nptl/Makefile (tests-special): Likewise.
11052 ($(objpfx)tst-stack3-mem): Likewise.
11053 (generated): Likewise.
11054 * posix/Makefile (generated): Likewise.
11055 (tests-special): Likewise.
11056 (xtests-special): Likewise.
11057 ($(objpfx)tst-fnmatch-mem): Likewise.
11058 ($(objpfx)bug-regex2-mem): Likewise.
11059 ($(objpfx)bug-regex14-mem): Likewise.
11060 ($(objpfx)bug-regex21-mem): Likewise.
11061 ($(objpfx)bug-regex31-mem): Likewise.
11062 ($(objpfx)tst-vfork3-mem): Likewise.
11063 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11064 ($(objpfx)tst-pcre-mem): Likewise.
11065 ($(objpfx)tst-boost-mem): Likewise.
11066 ($(objpfx)bug-ga2-mem): Likewise.
11067 ($(objpfx)bug-glob2-mem): Likewise.
11068 * resolv/Makefile (generate): Likewise.
11069 (tests-special): Likewise.
11070 (xtests-special): Likewise.
11071 (generated): Likewise.
11072 ($(objpfx)mtrace-tst-leaks): Likewise.
11073 ($(objpfx)mtrace-tst-leaks2): Likewise.
11075 * scripts/merge-test-results.sh: New file.
11076 * Makefile (tests-special-notdir): New variable.
11077 (tests): Run merge-test-results.sh.
11078 (xtests): Likewise.
11079 * Rules (tests-special-notdir): New variable.
11080 (xtests-special-notdir): Likewise.
11081 (tests): Run merge-test-results.sh
11082 (xtests): Likewise.
11084 * Makeconfig (test-xfail-name): New variable.
11085 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11086 compute variable name for expected failures.
11087 * conform/Makefile (conformtest-headers-data): New variable.
11088 (conformtest-standards): Likewise.
11089 (conformtest-headers-ISO): Likewise.
11090 (conformtest-headers-ISO99): Likewise.
11091 (conformtest-headers-ISO11): Likewise.
11092 (conformtest-headers-POSIX): Likewise.
11093 (conformtest-headers-XPG3): Likewise.
11094 (conformtest-headers-XPG4): Likewise.
11095 (conformtest-headers-UNIX98): Likewise.
11096 (conformtest-headers-XOPEN2K): Likewise.
11097 (conformtest-headers-POSIX2008): Likewise.
11098 (conformtest-headers-XOPEN2K8): Likewise.
11099 (conformtest-header-list-base): Likewise.
11100 (conformtest-header-list-tests): Likewise.
11101 (conformtest-header-base): Likewise.
11102 (conformtest-header-tests): Likewise.
11103 (tests-special): Add $(conformtest-header-list-tests). If
11104 [$(fast-check) && !$(cross-compiling)], add
11105 $(conformtest-header-tests) instead of
11106 $(objpfx)run-conformtest.out.
11107 (generated): Add $(conformtest-header-list-base). If
11108 [$(fast-check) && !$(cross-compiling)], add
11109 $(conformtest-header-base). Remove previous setting.
11110 ($(conformtest-header-list-tests)): New target.
11111 (test-xfail-run-conformtest): Remove variable.
11112 ($(objpfx)run-conformtest.out): Remove target.
11113 (test-xfail-ISO11/complex.h/conform): New variable.
11114 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11115 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11116 (test-xfail-XPG3/varargs.h/conform): Likewise.
11117 (test-xfail-XPG4/varargs.h/conform): Likewise.
11118 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11119 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11120 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11121 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11122 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11123 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11124 (test-xfail-XPG3/ftw.h/conform): Likewise.
11125 (test-xfail-XPG3/grp.h/conform): Likewise.
11126 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11127 (test-xfail-XPG3/limits.h/conform): Likewise.
11128 (test-xfail-XPG3/pwd.h/conform): Likewise.
11129 (test-xfail-XPG3/search.h/conform): Likewise.
11130 (test-xfail-XPG3/signal.h/conform): Likewise.
11131 (test-xfail-XPG3/stdio.h/conform): Likewise.
11132 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11133 (test-xfail-XPG3/string.h/conform): Likewise.
11134 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11135 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11136 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11137 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11138 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11139 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11140 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11141 (test-xfail-XPG3/termios.h/conform): Likewise.
11142 (test-xfail-XPG3/time.h/conform): Likewise.
11143 (test-xfail-XPG3/unistd.h/conform): Likewise.
11144 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11145 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11146 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11147 (test-xfail-XPG4/netdb.h/conform): Likewise.
11148 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11149 (test-xfail-XPG4/signal.h/conform): Likewise.
11150 (test-xfail-XPG4/stdio.h/conform): Likewise.
11151 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11152 (test-xfail-XPG4/stropts.h/conform): Likewise.
11153 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11154 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11155 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11156 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11157 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11158 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11159 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11160 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11161 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11162 (test-xfail-XPG4/termios.h/conform): Likewise.
11163 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11164 (test-xfail-XPG4/unistd.h/conform): Likewise.
11165 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11166 (test-xfail-POSIX/sched.h/conform): Likewise.
11167 (test-xfail-POSIX/signal.h/conform): Likewise.
11168 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11169 (test-xfail-POSIX/tar.h/conform): Likewise.
11170 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11171 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11172 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11173 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11174 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11175 (test-xfail-UNIX98/sched.h/conform): Likewise.
11176 (test-xfail-UNIX98/signal.h/conform): Likewise.
11177 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11178 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11179 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11180 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11181 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11182 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11183 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11184 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11185 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11186 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11187 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11188 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11189 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11190 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11191 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11192 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11193 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11194 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11195 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11196 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11197 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11198 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11199 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11200 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11201 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11202 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11203 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11204 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11205 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11206 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11207 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11208 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11209 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11210 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11211 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11212 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11213 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11214 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11215 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11216 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11217 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11218 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11219 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11220 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11221 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11222 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11223 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11224 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11225 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11226 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11227 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11228 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11229 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11230 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11231 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11232 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11233 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11234 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11235 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11236 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11237 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11238 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11239 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11240 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11241 (conformtest-cc-flags): Likewise.
11242 ($(conformtest-header-tests): New target.
11243 * conform/check-header-lists.sh: New file.
11244 * conform/run-conformtest.sh: Remove.
11246 * conform/conformtest.pl: Allow ' and \ in values given for
11248 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11250 [POSIX] (sys/types.h): Likewise.
11251 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11253 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11255 * conform/data/signal.h-data (SIGIO): Remove expectation.
11256 [XPG3] (SIGBUS): Do not expect.
11257 [POSIX || XPG3] (SIGPOLL): Likewise.
11258 [POSIX || XPG3] (SIGPROF): Likewise.
11259 [POSIX || XPG3] (SIGSYS): Likewise.
11260 [XPG3] (SIGTRAP): Likewise.
11261 [POSIX || XPG3] (SIGURG): Likewise.
11262 [POSIX || XPG3] (SIGVTALRM): Likewise.
11263 [POSIX || XPG3] (SIGXCPU): Likewise.
11264 [POSIX || XPG3] (SIGXFSZ): Likewise.
11265 [POSIX] (SA_SIGINFO): Expect.
11266 [XPG3] (siginfo_t): Do not expect type or contents.
11267 [POSIX] (si_pid): Do not expect element.
11268 [POSIX] (si_uid): Likewise.
11269 [POSIX] (si_addr): Likewise.
11270 [POSIX] (si_status): Likewise.
11271 [POSIX] (si_band): Likewise.
11272 [XPG4] (si_value): Likewise.
11273 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11274 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11275 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11276 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11277 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11278 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11279 [POSIX || XPG3] (ILL_COPROC): Likewise.
11280 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11281 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11282 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11283 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11284 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11285 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11286 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11287 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11288 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11289 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11290 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11291 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11292 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11293 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11294 [POSIX || XPG3] (CLD_EXITED): Likewise.
11295 [POSIX || XPG3] (CLD_KILLED): Likewise.
11296 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11297 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11298 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11299 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11300 [POSIX || XPG3] (POLL_IN): Likewise.
11301 [POSIX || XPG3] (POLL_OUT): Likewise.
11302 [POSIX || XPG3] (POLL_MSG): Likewise.
11303 [POSIX || XPG3] (POLL_ERR): Likewise.
11304 [POSIX || XPG3] (POLL_PRI): Likewise.
11305 [POSIX || XPG3] (POLL_HUP): Likewise.
11306 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11307 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11308 (SIG*): Do not allow.
11309 [XPG3] (si_*): Likewise.
11310 [XPG3] (SI_*): Likewise.
11311 [XPG3 || XPG4] (sigev_*): Likewise.
11312 [XPG3 || XPG4] (SIGEV_*): Likewise.
11313 [XPG3 || XPG4] (sival_*): Likewise.
11314 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11315 [POSIX || XPG3] (BUS_*): Likewise.
11316 [POSIX || XPG3] (CLD_*): Likewise.
11317 [POSIX || XPG3] (FPE_*): Likewise.
11318 [POSIX || XPG3] (ILL_*): Likewise.
11319 [POSIX || XPG3] (POLL_*): Likewise.
11320 [POSIX || XPG3] (SEGV_*): Likewise.
11321 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11322 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11323 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11324 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11325 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11326 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11327 Specify type and value.
11328 (TVERSLEN): Likewise.
11329 (REGTYPE): Likewise.
11330 (AREGTYPE): Likewise.
11331 (LNKTYPE): Likewise.
11332 (SYMTYPE): Likewise.
11333 (CHRTYPE): Likewise.
11334 (BLKTYPE): Likewise.
11335 (DIRTYPE): Likewise.
11336 (FIFOTYPE): Likewise.
11337 (CONTTYPE): Likewise.
11341 (TUREAD): Likewise.
11342 (TUWRITE): Likewise.
11343 (TUEXEC): Likewise.
11344 (TGREAD): Likewise.
11345 (TGWRITE): Likewise.
11346 (TGEXEC): Likewise.
11347 (TOREAD): Likewise.
11348 (TOWRITE): Likewise.
11349 (TOEXEC): Likewise.
11350 [POSIX] (TSVTX): Expect constant.
11352 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11354 * Makefile (tests): Change dependencies to ....
11355 (tests-special): ... additions to this variable.
11356 (tests): Depend on $(tests-special).
11357 * Makerules (check-abi-list): New variable.
11358 (check-abi): Depend on $(check-abi-list).
11359 [$(subdir) = elf] (tests-special): Add
11360 $(objpfx)check-abi-libc.out.
11361 [$(build-shared) = yes && subdir] (tests-special): Add
11363 [$(build-shared) = yes && subdir] (tests): Do not depend on
11365 * Rules (tests): Depend on $(tests-special).
11366 (xtests): Depend on $(xtests-special).
11367 * catgets/Makefile (tests): Change dependencies to ....
11368 (tests-special): ... additions to this variable.
11369 * conform/Makefile (tests): Change dependencies to ....
11370 (tests-special): ... additions to this variable.
11371 * elf/Makefile (tests): Change dependencies to ....
11372 (tests-special): ... additions to this variable.
11373 * grp/Makefile (tests): Change dependencies to ....
11374 (tests-special): ... additions to this variable.
11375 * iconv/Makefile (xtests): Change dependencies to ....
11376 (xtests-special): ... additions to this variable.
11377 * iconvdata/Makefile (tests): Change dependencies to ....
11378 (tests-special): ... additions to this variable.
11379 * intl/Makefile (tests): Change dependencies to ....
11380 (tests-special): ... additions to this variable. Also add
11381 $(objpfx)tst-gettext.out.
11382 * io/Makefile (tests): Change dependencies to ....
11383 (tests-special): ... additions to this variable.
11384 * libio/Makefile (tests): Change dependencies to ....
11385 (tests-special): ... additions to this variable.
11386 * malloc/Makefile (tests): Change dependencies to ....
11387 (tests-special): ... additions to this variable.
11388 * misc/Makefile (tests): Change dependencies to ....
11389 (tests-special): ... additions to this variable.
11390 * nptl/Makefile (tests): Change dependencies to ....
11391 (tests-special): ... additions to this variable.
11392 * nptl_db/Makefile (tests): Change dependencies to ....
11393 (tests-special): ... additions to this variable.
11394 * posix/Makefile (tests): Change dependencies to ....
11395 (tests-special): ... additions to this variable.
11396 (xtests): Change dependencies to ....
11397 (xtests-special): ... additions to this variable.
11398 * resolv/Makefile (tests): Change dependencies to ....
11399 (tests-special): ... additions to this variable.
11400 (xtests): Change dependencies to ....
11401 (xtests-special): ... additions to this variable.
11402 * stdio-common/Makefile (tests): Change dependencies to ....
11403 (tests-special): ... additions to this variable.
11404 (do-tst-unbputc): Remove target.
11405 (do-tst-printf): Likewise.
11406 * stdlib/Makefile (tests): Change dependencies to ....
11407 (tests-special): ... additions to this variable.
11408 * string/Makefile (tests): Change dependencies to ....
11409 (tests-special): ... additions to this variable.
11410 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11411 (tests-special): ... additions to this variable.
11413 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11415 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11417 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11418 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11420 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11421 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11422 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11423 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11424 * conform/data/libgen.h-data [XPG3]: Likewise.
11425 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11426 * conform/data/ndbm.h-data [XPG3]: Likewise.
11427 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11428 * conform/data/netdb.h-data [XPG3]: Likewise.
11429 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11430 * conform/data/poll.h-data [XPG3]: Likewise.
11431 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11432 * conform/data/strings.h-data [XPG3]: Likewise.
11433 * conform/data/stropts.h-data [XPG3]: Likewise.
11434 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11435 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11436 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11438 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11439 * conform/data/sys/time.h-data [XPG3]: Likewise.
11440 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11441 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11442 * conform/data/sys/un.h-data [XPG3]: Likewise.
11443 * conform/data/syslog.h-data [XPG3]: Likewise.
11444 * conform/data/ucontext.h-data [XPG3]: Likewise.
11445 * conform/data/utmpx.h-data [XPG3]: Likewise.
11446 * conform/data/varargs.h-data [UNIX98]: Enable file.
11448 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11450 * math/libm-test.inc (struct test_f_f_data): Move expected results
11451 into structure for each rounding mode.
11452 (struct test_ff_f_data): Likewise.
11453 (struct test_ff_f_data_nexttoward): Likewise.
11454 (struct test_fi_f_data): Likewise.
11455 (struct test_fl_f_data): Likewise.
11456 (struct test_if_f_data): Likewise.
11457 (struct test_fff_f_data): Likewise.
11458 (struct test_c_f_data): Likewise.
11459 (struct test_f_f1_data): Likewise.
11460 (struct test_fF_f1_data): Likewise.
11461 (struct test_ffI_f1_data): Likewise.
11462 (struct test_c_c_data): Likewise.
11463 (struct test_cc_c_data): Likewise.
11464 (struct test_f_i_data): Likewise.
11465 (struct test_ff_i_data): Likewise.
11466 (struct test_f_l_data): Likewise.
11467 (struct test_f_L_data): Likewise.
11468 (struct test_fFF_11_data): Likewise.
11470 (RM_FE_DOWNWARD): Likewise.
11471 (RM_FE_TONEAREST): Likewise.
11472 (RM_FE_TOWARDZERO): Likewise.
11473 (RM_FE_UPWARD): Likewise.
11474 (RUN_TEST_LOOP_f_f): Update references to expected results.
11475 (RUN_TEST_LOOP_2_f): Likewise.
11476 (RUN_TEST_LOOP_fff_f): Likewise.
11477 (RUN_TEST_LOOP_c_f): Likewise.
11478 (RUN_TEST_LOOP_f_f1): Likewise.
11479 (RUN_TEST_LOOP_fF_f1): Likewise.
11480 (RUN_TEST_LOOP_fI_f1): Likewise.
11481 (RUN_TEST_LOOP_ffI_f1): Likewise.
11482 (RUN_TEST_LOOP_c_c): Likewise.
11483 (RUN_TEST_LOOP_cc_c): Likewise.
11484 (RUN_TEST_LOOP_f_i): Likewise.
11485 (RUN_TEST_LOOP_f_i_tg): Likewise.
11486 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11487 (RUN_TEST_LOOP_f_b): Likewise.
11488 (RUN_TEST_LOOP_f_b_tg): Likewise.
11489 (RUN_TEST_LOOP_f_l): Likewise.
11490 (RUN_TEST_LOOP_f_L): Likewise.
11491 (RUN_TEST_LOOP_fFF_11): Likewise.
11492 * math/gen-libm-test.pl (parse_args): Output four copies of
11493 expected results for each test.
11495 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11496 (__ASSUME_UTIMES): Remove.
11497 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11498 (__ASSUME_UTIMES): Likewise.
11500 * math/gen-auto-libm-tests.c: Update comment on output format.
11501 (output_for_one_input_case): Generate before-rounding and
11502 after-rounding information as conditions on output flags not
11503 floating-point format.
11504 * math/auto-libm-test-out: Regenerated.
11505 * math/gen-libm-test.pl (cond_value): New function.
11506 (or_cond_value): Use cond_value.
11507 (generate_testfile): Handle conditional exceptions.
11509 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11511 * math/libm-test.inc (max_valid_error): New variable.
11512 (init_max_error): Take new argument specifying whether function
11513 results are exactly determined. Set max_valid_error and bound
11514 other variables for errors based on this argument.
11515 (set_max_error): Do not record results above max_valid_error.
11516 (check_float_internal): Only accept errors of up to 0.5ulps if
11517 also at most max_valid_error.
11518 (START): Take new argument EXACT and pass it to init_max_error.
11519 (acos_test): Update call to START.
11520 (acos_test_tonearest): Likewise.
11521 (acos_test_towardzero): Likewise.
11522 (acos_test_downward): Likewise.
11523 (acos_test_upward): Likewise.
11524 (acosh_test): Likewise.
11525 (asin_test): Likewise.
11526 (asin_test_tonearest): Likewise.
11527 (asin_test_towardzero): Likewise.
11528 (asin_test_downward): Likewise.
11529 (asin_test_upward): Likewise.
11530 (asinh_test): Likewise.
11531 (atan_test): Likewise.
11532 (atanh_test): Likewise.
11533 (atan2_test): Likewise.
11534 (cabs_test): Likewise.
11535 (cacos_test): Likewise.
11536 (cacosh_test): Likewise.
11537 (carg_test): Likewise.
11538 (casin_test): Likewise.
11539 (casinh_test): Likewise.
11540 (catan_test): Likewise.
11541 (catanh_test): Likewise.
11542 (cbrt_test): Likewise.
11543 (ccos_test): Likewise.
11544 (ccosh_test): Likewise.
11545 (ceil_test): Likewise.
11546 (cexp_test): Likewise.
11547 (cimag_test): Likewise.
11548 (clog_test): Likewise.
11549 (clog10_test): Likewise.
11550 (conj_test): Likewise.
11551 (copysign_test): Likewise.
11552 (cos_test): Likewise.
11553 (cos_test_tonearest): Likewise.
11554 (cos_test_towardzero): Likewise.
11555 (cos_test_downward): Likewise.
11556 (cos_test_upward): Likewise.
11557 (cosh_test): Likewise.
11558 (cosh_test_tonearest): Likewise.
11559 (cosh_test_towardzero): Likewise.
11560 (cosh_test_downward): Likewise.
11561 (cosh_test_upward): Likewise.
11562 (cpow_test): Likewise.
11563 (cproj_test): Likewise.
11564 (creal_test): Likewise.
11565 (csin_test): Likewise.
11566 (csinh_test): Likewise.
11567 (csqrt_test): Likewise.
11568 (ctan_test): Likewise.
11569 (ctan_test_tonearest): Likewise.
11570 (ctan_test_towardzero): Likewise.
11571 (ctan_test_downward): Likewise.
11572 (ctan_test_upward): Likewise.
11573 (ctanh_test): Likewise.
11574 (ctanh_test_tonearest): Likewise.
11575 (ctanh_test_towardzero): Likewise.
11576 (ctanh_test_downward): Likewise.
11577 (ctanh_test_upward): Likewise.
11578 (erf_test): Likewise.
11579 (erfc_test): Likewise.
11580 (exp_test): Likewise.
11581 (exp_test_tonearest): Likewise.
11582 (exp_test_towardzero): Likewise.
11583 (exp_test_downward): Likewise.
11584 (exp_test_upward): Likewise.
11585 (exp10_test): Likewise.
11586 (exp10_test_tonearest): Likewise.
11587 (exp10_test_towardzero): Likewise.
11588 (exp10_test_downward): Likewise.
11589 (exp10_test_upward): Likewise.
11590 (pow10_test): Likewise.
11591 (exp2_test): Likewise.
11592 (expm1_test): Likewise.
11593 (expm1_test_tonearest): Likewise.
11594 (expm1_test_towardzero): Likewise.
11595 (expm1_test_downward): Likewise.
11596 (expm1_test_upward): Likewise.
11597 (fabs_test): Likewise.
11598 (fdim_test): Likewise.
11599 (floor_test): Likewise.
11600 (fma_test): Likewise.
11601 (fma_test_towardzero): Likewise.
11602 (fma_test_downward): Likewise.
11603 (fma_test_upward): Likewise.
11604 (fmax_test): Likewise.
11605 (fmin_test): Likewise.
11606 (fmod_test): Likewise.
11607 (fpclassify_test): Likewise.
11608 (frexp_test): Likewise.
11609 (hypot_test): Likewise.
11610 (ilogb_test): Likewise.
11611 (isfinite_test): Likewise.
11612 (finite_test): Likewise.
11613 (isgreater_test): Likewise.
11614 (isgreaterequal_test): Likewise.
11615 (isinf_test): Likewise.
11616 (isless_test): Likewise.
11617 (islessequal_test): Likewise.
11618 (islessgreater_test): Likewise.
11619 (isnan_test): Likewise.
11620 (isnormal_test): Likewise.
11621 (issignaling_test): Likewise.
11622 (isunordered_test): Likewise.
11623 (j0_test): Likewise.
11624 (j1_test): Likewise.
11625 (jn_test): Likewise.
11626 (ldexp_test): Likewise.
11627 (lgamma_test): Likewise.
11628 (gamma_test): Likewise.
11629 (lrint_test): Likewise.
11630 (lrint_test_tonearest): Likewise.
11631 (lrint_test_towardzero): Likewise.
11632 (lrint_test_downward): Likewise.
11633 (lrint_test_upward): Likewise.
11634 (llrint_test): Likewise.
11635 (llrint_test_tonearest): Likewise.
11636 (llrint_test_towardzero): Likewise.
11637 (llrint_test_downward): Likewise.
11638 (llrint_test_upward): Likewise.
11639 (log_test): Likewise.
11640 (log10_test): Likewise.
11641 (log1p_test): Likewise.
11642 (log2_test): Likewise.
11643 (logb_test): Likewise.
11644 (logb_test_downward): Likewise.
11645 (lround_test): Likewise.
11646 (llround_test): Likewise.
11647 (modf_test): Likewise.
11648 (nearbyint_test): Likewise.
11649 (nextafter_test): Likewise.
11650 (nexttoward_test): Likewise.
11651 (pow_test): Likewise.
11652 (pow_test_tonearest): Likewise.
11653 (pow_test_towardzero): Likewise.
11654 (pow_test_downward): Likewise.
11655 (pow_test_upward): Likewise.
11656 (remainder_test): Likewise.
11657 (drem_test): Likewise.
11658 (remainder_test_tonearest): Likewise.
11659 (drem_test_tonearest): Likewise.
11660 (remainder_test_towardzero): Likewise.
11661 (drem_test_towardzero): Likewise.
11662 (remainder_test_downward): Likewise.
11663 (drem_test_downward): Likewise.
11664 (remainder_test_upward): Likewise.
11665 (drem_test_upward): Likewise.
11666 (remquo_test): Likewise.
11667 (rint_test): Likewise.
11668 (rint_test_tonearest): Likewise.
11669 (rint_test_towardzero): Likewise.
11670 (rint_test_downward): Likewise.
11671 (rint_test_upward): Likewise.
11672 (round_test): Likewise.
11673 (scalb_test): Likewise.
11674 (scalbn_test): Likewise.
11675 (scalbln_test): Likewise.
11676 (signbit_test): Likewise.
11677 (sin_test): Likewise.
11678 (sin_test_tonearest): Likewise.
11679 (sin_test_towardzero): Likewise.
11680 (sin_test_downward): Likewise.
11681 (sin_test_upward): Likewise.
11682 (sincos_test): Likewise.
11683 (sinh_test): Likewise.
11684 (sinh_test_tonearest): Likewise.
11685 (sinh_test_towardzero): Likewise.
11686 (sinh_test_downward): Likewise.
11687 (sinh_test_upward): Likewise.
11688 (sqrt_test): Likewise.
11689 (sqrt_test_tonearest): Likewise.
11690 (sqrt_test_towardzero): Likewise.
11691 (sqrt_test_downward): Likewise.
11692 (sqrt_test_upward): Likewise.
11693 (tan_test): Likewise.
11694 (tan_test_tonearest): Likewise.
11695 (tan_test_towardzero): Likewise.
11696 (tan_test_downward): Likewise.
11697 (tan_test_upward): Likewise.
11698 (tanh_test): Likewise.
11699 (tgamma_test): Likewise.
11700 (trunc_test): Likewise.
11701 (y0_test): Likewise.
11702 (y1_test): Likewise.
11703 (yn_test): Likewise.
11704 (significand_test): Likewise.
11706 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11707 individual tests in comment.
11708 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11709 (prev_max_error): New variable.
11710 (prev_real_max_error): Likewise.
11711 (prev_imag_max_error): Likewise.
11712 (compare_ulp_data): Don't refer to test names in comment.
11713 (find_test_ulps): Remove function.
11714 (find_function_ulps): Likewise.
11715 (find_complex_function_ulps): Likewise.
11716 (init_max_error): Take function name as argument. Look up ulps
11718 (print_ulps): Remove function.
11719 (print_max_error): Use prev_max_error instead of calling
11720 find_function_ulps.
11721 (print_complex_max_error): Use prev_real_max_error and
11722 prev_imag_max_error instead of calling find_complex_function_ulps.
11723 (check_float_internal): Take max_ulp parameter instead of calling
11724 find_test_ulps. Don't call print_ulps.
11725 (check_float): Update call to check_float_internal.
11726 (check_complex): Update calls to check_float_internal.
11727 (START): Pass argument to init_max_error.
11728 * math/gen-libm-test.pl (%results): Don't include "kind"
11730 (parse_ulps): Don't handle ulps of individual tests.
11731 (print_ulps_file): Likewise.
11732 (output_ulps): Likewise.
11733 * math/README.libm-test: Update.
11734 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11736 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11737 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11738 * sysdeps/arm/libm-test-ulps: Likewise.
11739 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11740 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11741 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11742 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11743 * sysdeps/microblaze/libm-test-ulps: Likewise.
11744 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11745 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11746 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11747 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11748 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11749 * sysdeps/sh/libm-test-ulps: Likewise.
11750 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11751 * sysdeps/tile/libm-test-ulps: Likewise.
11752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11754 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11756 * math/libm-test.inc (print_complex_max_error): Check separately
11757 whether real and imaginary errors are within allowed range and
11758 pass 0 to print_complex_function_ulps instead of value within
11761 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11763 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11765 (get_handles_fopen): Likewise.
11766 (do_write_test): Likewise.
11768 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11770 * libio/fileops.c (do_ftell): Use cached offset when
11772 * libio/iofwide.c (do_ftell_wide): Likewise.
11773 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11775 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11778 * libio/libioP.h (get_file_offset): New function.
11779 * libio/fileops.c (get_file_offset): Likewise.
11780 (do_ftell): Likewise.
11781 (_IO_new_file_seekoff): Split out ftell logic.
11782 * libio/wfileops.c (do_ftell_wide): Likewise.
11783 (_IO_wfile_seekoff): Split out ftell logic.
11784 * libio/tst-ftell-active-handler.c: New test case.
11785 * libio/Makefile (tests): Add it.
11787 2014-03-03 Roland McGrath <roland@hack.frob.com>
11789 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11790 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11792 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11795 * nscd/connections.c (nscd_init): Call do_exit.
11796 (start_threads): Call do_exit and notify_parent.
11797 (begin_drop_privileges): Call do_exit.
11798 (finish_drop_privileges): Likewise.
11799 * nscd/selinux.c (preserve_capabilities): Likewise.
11800 (install_real_capabilities): Likewise.
11801 (nscd_selinux_enabled): Likewise.
11802 (avc_create_thread): Likewise.
11803 (avc_alloc_lock): Likewise.
11804 (nscd_avc_init): Likewise.
11805 * nscd/nscd.c (parent_fd): New static variable.
11806 (main): Create a pipe between parent and child processes.
11807 Skip closing parent_fd.
11808 (monitor_child): New function.
11809 (do_exit): Likewise.
11810 (notify_parent): Likewise.
11811 * nscd/nscd.h (notify_parent): Likewise.
11812 (do_exit): Likewise.
11814 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11816 * malloc/malloc.c (__libc_calloc): Revert last change.
11818 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11822 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11824 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11828 (__libc_ifunc_impl_list): Likewise.
11829 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11830 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11831 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11832 * string/strrchr.c: Define STRRCHR.
11834 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11836 * benchtest/bench-strtok.c (simple_strtok): Delete.
11837 (strtok_string): Use as benchmark.
11838 * string/strtok (STRTOK): New macro.
11840 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11842 * manual/threads.texi: Add header and standard comments to all
11845 * elf/dl-lookup.c (check_match): New function.
11846 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11847 (do_lookup_x): Remove nested function check_match. Use non-nested
11848 function check_match.
11850 2014-02-28 Roland McGrath <roland@hack.frob.com>
11852 * csu/Makefile (generated, before-compile): Use += rather than =.
11853 * catgets/Makefile (generated, generated-dirs): Likewise.
11854 * debug/Makefile (generated): Likewise.
11855 * dlfcn/Makefile (generated): Likewise.
11856 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11857 * iconvdata/Makefile (before-compile, generated): Likewise.
11858 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11859 * libio/Makefile (generated): Likewise.
11860 * malloc/Makefile (generated): Likewise.
11861 * manual/Makefile (generated, generated-dirs): Likewise.
11862 * misc/Makefile (generated): Likewise.
11863 * posix/Makefile (generated): Likewise.
11864 * resolv/Makefile (generated): Likewise.
11865 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11866 * timezone/Makefile (generated, generated-dirs): Likewise.
11868 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11870 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11873 power8 implementation.
11874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11875 file: POWER8 llround ifunc implementation.
11876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11877 (__lllround): Add POWER8 implementation.
11878 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11879 POWER8 llround implementation.
11881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11882 power8 implementation.
11883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11884 file: POWER8 llrint ifunc implementation.
11885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11886 Add POWER8 implementation.
11887 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11888 POWER8 llrint implementation.
11890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11891 power8 implementation.
11892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11893 file: POWER8 finite ifunc implementation.
11894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11895 Add POWER8 implementation.
11896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11898 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11899 POWER8 finite implementation.
11900 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11903 power8 implementation.
11904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11905 file: POWER8 isinf ifunc implementation.
11906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11907 POWER8 implementation.
11908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11911 isinf implementation.
11912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11914 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11915 (INIT_ARCH): Add hwcap2 initialization.
11916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11917 power8 implementation.
11918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11919 file: POWER8 isnan ifunc implementation.
11920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11921 POWER8 implementation.
11922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11925 isnan implementation.
11926 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11928 2014-02-27 Joey Ye <joey.ye@arm.com>
11930 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11931 (_FP_NANFRAC_Q): Set to zero.
11933 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11936 * math/auto-libm-test-in: New test inputs.
11937 * math/auto-libm-test-out: Regenerate.
11938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11941 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11943 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11945 * scripts/evaluate-test.sh: Take new argument indicating whether
11946 failure is expected.
11947 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11948 indicating whether failure is expected.
11949 * conform/Makefile (test-xfail-run-conformtest): New variable.
11950 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11952 * posix/Makefile (test-xfail-annexc): New variable.
11953 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11955 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11957 * argp/Makefile: Include Makeconfig immediately after defining
11959 * assert/Makefile: Likewise.
11960 * benchtests/Makefile: Likewise.
11961 * catgets/Makefile: Likewise.
11962 * conform/Makefile: Likewise.
11963 * crypt/Makefile: Likewise.
11964 * csu/Makefile: Likewise.
11965 (all): Remove target.
11966 * ctype/Makefile: Include Makeconfig immediately after defining
11968 * debug/Makefile: Likewise.
11969 * dirent/Makefile: Likewise.
11970 * dlfcn/Makefile: Likewise.
11971 * gmon/Makefile: Likewise.
11972 * gnulib/Makefile: Likewise.
11973 * grp/Makefile: Likewise.
11974 * gshadow/Makefile: Likewise.
11975 * hesiod/Makefile: Likewise.
11976 * hurd/Makefile: Likewise.
11977 (all): Remove target.
11978 * iconvdata/Makefile: Include Makeconfig immediately after
11980 * inet/Makefile: Likewise.
11981 * intl/Makefile: Likewise.
11982 * io/Makefile: Likewise.
11983 * libio/Makefile: Likewise.
11984 (all): Remove target.
11985 * locale/Makefile: Include Makeconfig immediately after defining
11987 * login/Makefile: Likewise.
11988 * mach/Makefile: Likewise.
11989 (all): Remove target.
11990 * malloc/Makefile: Include Makeconfig immediately after defining
11992 (all): Remove target.
11993 * manual/Makefile: Include Makeconfig immediately after defining
11995 * math/Makefile: Likewise.
11996 * misc/Makefile: Likewise.
11997 * nis/Makefile: Likewise.
11998 * nss/Makefile: Likewise.
11999 * po/Makefile: Likewise.
12000 (all): Remove target.
12001 * posix/Makefile: Include Makeconfig immediately after defining
12003 * pwd/Makefile: Likewise.
12004 * resolv/Makefile: Likewise.
12005 * resource/Makefile: Likewise.
12006 * rt/Makefile: Likewise.
12007 * setjmp/Makefile: Likewise.
12008 * shadow/Makefile: Likewise.
12009 * signal/Makefile: Likewise.
12010 * socket/Makefile: Likewise.
12011 * soft-fp/Makefile: Likewise.
12012 * stdio-common/Makefile: Likewise.
12013 * stdlib/Makefile: Likewise.
12014 * streams/Makefile: Likewise.
12015 * string/Makefile: Likewise.
12016 * sunrpc/Makefile: Likewise.
12017 (all): Remove target.
12018 * sysvipc/Makefile: Include Makeconfig immediately after defining
12020 * termios/Makefile: Likewise.
12021 * time/Makefile: Likewise.
12022 * timezone/Makefile: Likewise.
12023 (all): Remove target.
12024 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12026 * wctype/Makefile: Likewise.
12028 2014-02-26 Steve Ellcey <sellcey@mips.com>
12030 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12031 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12032 (libc_feholdexcept_setround_mips): Ditto.
12033 (libc_feholdsetround): New.
12034 (libc_feholdsetroundf): New.
12035 (libc_feholdsetroundl): New.
12036 (libc_feupdateenv_test_mips): New.
12037 (libc_feupdateenv_test): New.
12038 (libc_feupdateenv_testf): New.
12039 (libc_feupdateenv_testl): New.
12040 (libc_feresetround): New.
12041 (libc_feresetroundf): New.
12042 (libc_feresetroundl): New.
12043 (libc_fetestexcept_mips): New.
12044 (libc_fetestexcept): New.
12045 (libc_fetestexceptf): New.
12046 (libc_fetestexceptl): New.
12047 (HAVE_RM_CTX): New.
12048 (libc_feholdexcept_setround_mips_ctx): New.
12049 (libc_feholdexcept_setround_ctx): New.
12050 (libc_feholdexcept_setroundf_ctx): New.
12051 (libc_feholdexcept_setroundl_ctx): New.
12052 (libc_fesetenv_mips_ctx): New.
12053 (libc_fesetenv_ctx): New.
12054 (libc_fesetenv_ctxf): New.
12055 (libc_fesetenv_ctxl): New.
12056 (libc_feupdateenv_mips_ctx): New.
12057 (libc_feupdateenv_ctx): New.
12058 (libc_feupdateenvf_ctx): New.
12059 (libc_feupdateenvl_ctx): New.
12060 (libc_feholdsetround_mips_ctx): New.
12061 (libc_feholdsetround_ctx): New.
12062 (libc_feholdsetroundf_ctx): New.
12063 (libc_feholdsetroundl_ctx): New.
12064 (libc_feresetround_mips_ctx): New.
12065 (libc_feresetround_ctx): New.
12066 (libc_feresetroundf_ctx): New.
12067 (libc_feresetroundl_ctx): New.
12069 2014-02-26 Carlos O'Donell <carlos@redhat.com>
12071 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12073 * manual/ipc.texi: New file.
12074 * manual/Makefile (chapters): Add ipc.
12075 * manual/job.texi: Add "Inter-Process Communication" to next.
12076 * manual/process.texi: Add "Inter-Process Communication" to prev.
12078 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12082 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
12084 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12086 * manual/arith.texi: Fix spaces after sentences.
12087 * manual/charset.texi: Likewise.
12088 * manual/errno.texi: Likewise.
12089 * manual/install.texi: Likewise.
12090 * manual/llio.texi: Likewise.
12091 * manual/locale.texi: Likewise.
12092 * manual/maint.texi: Likewise.
12093 * manual/math.texi: Likewise.
12094 * manual/memory.texi: Likewise.
12095 * manual/message.texi: Likewise.
12096 * manual/probes.texi: Likewise.
12097 * manual/resource.texi: Likewise.
12098 * manual/signal.texi: Likewise.
12099 * manual/socket.texi: Likewise.
12100 * manual/stdio.texi: Likewise.
12101 * manual/string.texi: Likewise.
12102 * manual/time.texi: Likewise.
12103 * manual/users.texi: Likewise.
12105 2014-02-25 Carlos O'Donell <carlos@redhat.com>
12108 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12109 _DEFAULT_SOURCE is defined.
12111 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12112 Carlos O'Donell <carlos@redhat.com>
12115 * elf/dl-tls.c (_dl_count_modids): New function.
12116 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12117 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12118 audit library and increment generation counter.
12119 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12120 * elf/tst-audit9.c: New file.
12121 * elf/tst-auditmod9a.c: New file.
12122 * elf/tst-auditmod9b.c: New file.
12123 * elf/Makefile: Add rules to build and run tst-audit9.
12125 2014-02-25 Florian Weimer <fweimer@redhat.com>
12128 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12130 2014-02-25 Will Newton <will.newton@linaro.org>
12132 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12133 (__longjmp): Restore sp and lr before restoring callee
12134 saved registers. Add longjmp and longjmp_target
12135 SystemTap probe point.
12136 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12137 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12138 Define to zero to match jmpbuf layout.
12139 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12140 (__sigsetjmp): Save sp and lr before saving callee
12141 saved registers. Add setjmp SystemTap probe point.
12143 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12145 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12147 2014-02-24 Andreas Schwab <schwab@suse.de>
12150 * elf/pldd.c (wait_for_ptrace_stop): New function.
12151 (main): Call it after attaching.
12153 2014-02-22 Roland McGrath <roland@hack.frob.com>
12155 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12156 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12157 Versions files is now verboten.
12158 * hurd/Versions (libc: GLIBC_2.0):
12159 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12160 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12161 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12162 * mach/Versions: Likewise.
12164 * csu/Versions: Remove unused %include.
12165 * resolv/Versions: Likewise.
12167 2014-02-21 Joseph Myers <joseph@codesourcery.com>
12169 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12170 ($(objpfx)check-local-headers.out): Likewise.
12171 ($(objpfx)begin-end-check.out): Likewise.
12172 * Makerules (check-abi-%.out): Likewise.
12173 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12174 ($(objpfx)test2.cat): Likewise.
12175 ($(objpfx)de/libc.cat): Likewise.
12176 ($(objpfx)test-gencat.out): Likewise.
12177 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12178 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12179 ($(objpfx)noload-mem): Likewise.
12180 ($(objpfx)tst-pathopt.out): Likewise.
12181 ($(objpfx)tst-rtld-load-self.out): Likewise.
12182 ($(objpfx)tst-array1-cmp.out): Likewise.
12183 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12184 ($(objpfx)tst-array2-cmp.out): Likewise.
12185 ($(objpfx)tst-array3-cmp.out): Likewise.
12186 ($(objpfx)tst-array4-cmp.out): Likewise.
12187 ($(objpfx)tst-array5-cmp.out): Likewise.
12188 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12189 ($(objpfx)check-textrel.out): Likewise.
12190 ($(objpfx)check-execstack.out): Likewise.
12191 ($(objpfx)check-localplt.out): Likewise.
12192 ($(objpfx)order2-cmp.out): Likewise.
12193 ($(objpfx)tst-leaks1-mem): Likewise.
12194 ($(objpfx)tst-leaks1-static-mem): Likewise.
12195 ($(objpfx)tst-initorder-cmp.out): Likewise.
12196 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12197 ($(objpfx)tst-unused-dep.out): Likewise.
12198 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12199 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12200 * iconv/Makefile (test-iconvconfig): Likewise.
12201 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12202 ($(objpfx)iconv-test.out): Likewise.
12203 ($(objpfx)tst-tables.out): Likewise.
12204 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12205 ($(objpfx)tst-gettext.out): Likewise.
12206 ($(objpfx)tst-translit.out): Likewise.
12207 ($(objpfx)tst-gettext2.out): Likewise.
12208 ($(objpfx)tst-gettext4.out): Likewise.
12209 ($(objpfx)tst-gettext6.out): Likewise.
12210 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12211 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12212 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12213 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12214 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12215 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12216 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12217 ($(objpfx)wordexp-tst.out): Likewise.
12218 ($(objpfx)annexc.out): Likewise.
12219 ($(objpfx)tst-fnmatch-mem): Likewise.
12220 ($(objpfx)bug-regex2-mem): Likewise.
12221 ($(objpfx)bug-regex14-mem): Likewise.
12222 ($(objpfx)bug-regex21-mem): Likewise.
12223 ($(objpfx)bug-regex31-mem): Likewise.
12224 ($(objpfx)tst-vfork3-mem): Likewise.
12225 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12226 ($(objpfx)tst-pcre-mem): Likewise.
12227 ($(objpfx)tst-boost-mem): Likewise.
12228 ($(objpfx)tst-getconf.out): Likewise.
12229 ($(objpfx)bug-ga2-mem): Likewise.
12230 ($(objpfx)bug-glob2-mem): Likewise.
12231 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12232 ($(objpfx)mtrace-tst-leaks2): Likewise.
12233 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12234 ($(objpfx)tst-printf.out): Likewise.
12235 ($(objpfx)tst-setvbuf1.out): Likewise.
12236 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12237 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12238 ($(objpfx)tst-fmtmsg.out): Likewise.
12239 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12240 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12242 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12243 * bits/sigaction.h [__USE_MISC]: Likewise.
12244 * bits/waitstatus.h: Update #endif comments.
12245 * ctype/ctype.h: Likewise.
12246 * dirent/dirent.h: Likewise.
12247 [__USE_MISC]: Remove redundant conditionals.
12248 * grp/grp.h: Update #endif comments.
12249 [__USE_GNU]: Remove redundant conditionals.
12250 [__USE_MISC]: Likewise.
12251 * inet/netinet/in.h [__USE_GNU]: Likewise.
12252 * io/sys/stat.h [__USE_MISC]: Likewise.
12253 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12254 * libio/bits/stdio.h: Update #endif comments.
12255 [__USE_MISC]: Remove redundant conditionals.
12256 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12257 * libio/stdio.h: Update #endif comments.
12258 [__USE_MISC]: Remove redundant conditionals.
12259 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12260 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12261 * math/math.h: Update #else and #endif comments.
12262 [__USE_MISC]: Remove redundant conditionals.
12263 * misc/sys/uio.h: Update #endif comments.
12264 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12265 * posix/glob.h [__USE_MISC]: Likewise.
12266 * posix/sys/types.h: Update #endif comments.
12267 [__USE_MISC]: Remove redundant conditionals.
12268 * posix/sys/wait.h: Update #endif comments.
12269 [__USE_MISC]: Remove redundant conditionals.
12270 * posix/unistd.h: Update #endif comments.
12271 [__USE_MISC]: Remove redundant conditionals.
12272 * pwd/pwd.h [__USE_GNU]: Likewise.
12273 [__USE_MISC]: Likewise.
12274 * resolv/netdb.h [__USE_GNU]: Likewise.
12275 * signal/signal.h: Update #endif comments.
12276 [__USE_MISC]: Remove redundant conditionals.
12277 * stdlib/stdlib.h: Update #else and #endif comments.
12278 [__USE_MISC]: Remove redundant conditionals.
12279 [__USE_GNU]: Likewise.
12280 * string/bits/string2.h [__USE_MISC]: Likewise.
12281 * string/string.h: Update #endif comments.
12282 [__USE_MISC]: Remove redundant conditionals.
12283 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12285 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12286 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12287 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12289 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12291 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12293 [__USE_MISC]: Remove redundant conditionals.
12294 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12295 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12296 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12297 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12298 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12300 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12301 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12303 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12304 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12306 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12308 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12309 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12311 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12313 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12314 * sysdeps/x86/bits/string.h: Update #endif comments.
12315 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12317 * time/sys/time.h: Update #endif comments.
12318 * time/time.h: Likewise.
12319 [__USE_MISC]: Remove redundant conditionals.
12321 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12324 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12326 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12328 * Versions.def (librt): Add GLIBC_2.17.
12330 2014-02-21 Adam Conrad <adconrad@0c3.net>
12332 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12333 synonym for _SYS_AUXV_H to allow direct inclusion.
12334 * sysdeps/sparc/bits/hwcap.h: Likewise.
12335 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12336 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12337 * sysdeps/sparc/sysdep.h: Likewise.
12339 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12341 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12343 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12345 * benchtests/bench-strrchr.c: Print length instead of position.
12347 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12350 * sysdeps/unix/sysv/linux/kernel-features.h
12351 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12352 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12353 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12354 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12356 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12357 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12358 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12359 (__ASSUME_SENDMMSG): Define instead of using previous
12360 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12361 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12362 (__ASSUME_SENDMMSG_SYSCALL): Define.
12363 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12364 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12366 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12367 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12370 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12372 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12373 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12374 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12375 [__ASSUME_SENDMMSG]: Change conditionals to
12376 [__ASSUME_SENDMMSG_SOCKETCALL].
12377 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12378 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12380 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12381 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12383 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12384 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12385 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12386 [!__ASSUME_SENDMMSG]: Change conditional to
12387 [!__ASSUME_SENDMMSG_SOCKETCALL].
12388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12389 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12393 * sysdeps/unix/sysv/linux/kernel-features.h
12394 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12395 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12396 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12397 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12398 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12399 [__i386__ || __sparc__]
12400 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12401 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12402 (__ASSUME_RECVMMSG): Define instead of using previous
12403 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12404 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12405 (__ASSUME_RECVMMSG_SYSCALL): Define.
12406 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12409 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12410 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12412 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12413 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12415 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12416 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12417 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12418 [__ASSUME_RECVMMSG]: Change condition to
12419 [__ASSUME_RECVMMSG_SOCKETCALL].
12420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12421 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12423 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12425 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12427 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12428 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12429 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12430 [!__ASSUME_RECVMMSG]: Change condition to
12431 [!__ASSUME_RECVMMSG_SOCKETCALL].
12432 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12433 (__ASSUME_RECVMMSG_SYSCALL): Define.
12436 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12437 __powerpc__ || __s390__ || __sh__ || __sparc__]
12438 (__ASSUME_SOCKETCALL): Define.
12439 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12440 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12441 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12442 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12443 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12444 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12445 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12446 (__ASSUME_ACCEPT4): Define instead of using previous
12447 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12448 __powerpc__ || __sparc__ || __s390__)] condition.
12449 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12450 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12451 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12452 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12453 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12454 [!__ASSUME_ACCEPT4]: Change condition to
12455 [!__ASSUME_ACCEPT4_SOCKETCALL].
12456 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12457 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12458 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12459 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12460 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12461 __ASSUME_ACCEPT4_SYSCALL.
12462 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12463 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12464 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12465 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12466 __ASSUME_ACCEPT4_SYSCALL.
12467 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12468 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12469 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12470 [__ASSUME_ACCEPT4]: Change condition to
12471 [__ASSUME_ACCEPT4_SOCKETCALL].
12472 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12473 (__ASSUME_SOCKETCALL): Define.
12474 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12475 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12476 (__ASSUME_SOCKETCALL): Define.
12477 (__ASSUME_ACCEPT4): Remove.
12478 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12480 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12481 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12483 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12484 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12486 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12488 (HWCAP_ARM_LPAE): Likewise.
12489 (HWCAP_ARM_EVTSTRM): Likewise.
12490 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12491 Add vpfd32, lpae and evtstrm.
12492 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12495 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12497 * math/auto-libm-test-in: Add tests of clog10.
12498 * math/auto-libm-test-out: Regenerated.
12499 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12500 * sysdeps/i386/fpu/libm-test-ulps: Update.
12501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12503 2014-02-18 Andreas Schwab <schwab@suse.de>
12506 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12507 Store non-zero if the second buffer was newly allocated.
12508 (send_dg): Likewise.
12509 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12510 to send_vc and send_dg.
12511 (res_nsend): Pass NULL for ansp2_malloced.
12512 * resolv/res_query.c (__libc_res_nquery): Add parameter
12513 answerp2_malloced and pass it down to __libc_res_nsend.
12514 (res_nquery): Pass additional NULL to __libc_res_nquery.
12515 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12516 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12517 second answer buffer if answerp2_malloced was set.
12518 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12519 (__libc_res_nquerydomain): Add parameter
12520 answerp2_malloced and pass it down to __libc_res_nquery.
12521 (res_nquerydomain): Pass additional NULL to
12522 __libc_res_nquerydomain.
12523 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12524 additional NULL to __libc_res_nsend and __libc_res_nquery.
12525 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12526 additional NULL to __libc_res_nsearch.
12527 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12528 parameter of __libc_res_nsearch to check for separately allocated
12530 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12532 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12533 additional NULL to __libc_res_nquery.
12534 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12535 __libc_res_nsearch.
12536 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12537 * include/resolv.h: Update prototypes of __libc_res_nquery,
12538 __libc_res_nsearch, __libc_res_nsend.
12540 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12542 * math/auto-libm-test-in: Add tests of fma.
12543 * math/auto-libm-test-out: Regenerated.
12544 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12545 (fma_towardzero_test_data): Likewise.
12546 (fma_downward_test_data): Likewise.
12547 (fma_upward_test_data): Likewise.
12548 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12550 (rounding_modes): Add values for new field.
12551 (func_calc_method): Add value mpfr_fff_f.
12552 (func_calc_desc): Add mpfr_fff_f union field.
12553 (test_function): Add field exact_args.
12554 (FUNC): Add macro argument EXACT_ARGS.
12555 (FUNC_mpfr_f_f): Update call to FUNC.
12556 (FUNC_mpfr_f_f): Likewise.
12557 (FUNC_mpfr_ff_f): Likewise.
12558 (FUNC_mpfr_if_f): Likewise.
12559 (FUNC_mpc_c_f): Likewise.
12560 (FUNC_mpc_c_c): Likewise.
12561 (test_functions): Add fma. Update calls to FUNC.
12562 (handle_input_arg): Add argument exact_args.
12563 (add_test): Update call to handle_input_arg.
12564 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12565 (output_for_one_input_case): Update call to calc_generic_results.
12566 Recalculate exact zero results in each rounding mode.
12568 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12569 non-negative before setting low bit.
12570 * math/auto-libm-test-in: Mark one asin test possibly having
12571 spurious underflow.
12572 * math/auto-libm-test-out: Regenerated.
12573 * sysdeps/i386/fpu/libm-test-ulps: Update.
12574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12576 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12578 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12579 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12580 ports/sysdeps/unix/sysv/linux/microblaze.
12581 * README: Add missing listing for microblaze*-*-linux-gnu.
12583 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12585 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12588 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12590 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12591 * sysdeps/unix/sysv/linux/ia64: Move directory from
12592 ports/sysdeps/unix/sysv/linux/ia64.
12593 * README: Update listing for ia64-*-linux-gnu.
12595 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12596 Joseph Myers <joseph@codesourcery.com>
12598 * Makeconfig (test-name): New variable.
12599 (evaluate-test): Likewise.
12600 * Makerules (do-test-clean): Remove .test-result files.
12601 (common-mostlyclean): Likewise.
12602 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12603 * scripts/evaluate-test.sh: New file.
12605 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12607 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12608 separate $(objpfx)tst-fopenloc-cmp.out and
12609 $(objpfx)tst-fopenloc-mem.out targets.
12610 (tests): Update dependencies.
12611 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12612 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12613 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12614 (tst-rxspencer-no-utf8-ARGS): New variable.
12615 (tst-rxspencer-no-utf8-ENV): Likewise.
12616 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12617 instead of $(objpfx)tst-rxspencer-mem.
12618 ($(objpfx)tst-rxspencer-mem): Change target to
12619 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12620 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12621 * posix/tst-rxspencer-no-utf8.c: New file.
12623 * elf/Makefile ($(objpfx)order.out): Remove rule.
12624 [$(run-built-tests) = yes] (tests): Depend on
12625 $(objpfx)order-cmp.out.
12626 ($(objpfx)order-cmp.out): New rule.
12627 [$(run-built-tests) = yes] (tests): Depend on
12628 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12629 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12630 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12631 $(objpfx)tst-array5-static-cmp.out.
12632 ($(objpfx)tst-array1.out): Remove rule.
12633 ($(objpfx)tst-array1-cmp.out): New rule.
12634 ($(objpfx)tst-array1-static.out): Remove rule.
12635 ($(objpfx)tst-array1-static-cmp.out): New rule.
12636 ($(objpfx)tst-array2.out): Remove rule.
12637 ($(objpfx)tst-array2-cmp.out): New rule.
12638 ($(objpfx)tst-array3.out): Remove rule.
12639 ($(objpfx)tst-array3-cmp.out): New rule.
12640 ($(objpfx)tst-array4.out): Remove rule.
12641 ($(objpfx)tst-array4-cmp.out): New rule.
12642 ($(objpfx)tst-array5.out): Remove rule.
12643 ($(objpfx)tst-array5-cmp.out): New rule.
12644 ($(objpfx)tst-array5-static.out): Remove rule.
12645 ($(objpfx)tst-array5-static-cmp.out): New rule.
12646 [$(run-built-tests) = yes] (tests): Depend on
12647 $(objpfx)order2-cmp.out.
12648 ($(objpfx)order2.out): Remove rule.
12649 ($(objpfx)order2-cmp.out): New rule.
12650 ($(objpfx)tst-initorder.out): Remove rule.
12651 [$(run-built-tests) = yes] (tests): Depend on
12652 $(objpfx)tst-initorder-cmp.out.
12653 ($(objpfx)tst-initorder-cmp.out): New rule.
12654 ($(objpfx)tst-initorder2.out): Remove rule.
12655 [$(run-built-tests) = yes] (tests): Depend on
12656 $(objpfx)tst-initorder2-cmp.out.
12657 ($(objpfx)tst-initorder2-cmp.out): New rule.
12658 [$(run-built-tests) = yes] (tests): Depend on
12659 $(objpfx)tst-unused-dep-cmp.out.
12660 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12661 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12662 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12663 on $(objpfx)tst-setvbuf1-cmp.out.
12664 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12665 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12666 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12667 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12668 ($(objpfx)tst-svc.out): Remove rule.
12669 ($(objpfx)tst-svc-cmp.out): New rule.
12671 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12673 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12674 * ctype/ctype.h [__USE_MISC]: Likewise.
12675 * dirent/dirent.h [__USE_MISC]: Likewise.
12676 * grp/grp.h [__USE_MISC]: Likewise.
12677 * io/fcntl.h [__USE_MISC]: Likewise.
12678 * io/sys/stat.h [__USE_MISC]: Likewise.
12679 * libio/stdio.h [__USE_MISC]: Likewise.
12680 * posix/unistd.h [__USE_MISC]: Likewise.
12681 * pwd/pwd.h [__USE_MISC]: Likewise.
12682 * stdlib.h [__USE_MISC]: Likewise.
12683 * string/bits/string2.h [__USE_MISC]: Likewise.
12684 * string/string.h [__USE_MISC]: Likewise.
12685 * time/time.h [__USE_MISC]: Likewise.
12687 2014-02-13 Andreas Schwab <schwab@suse.de>
12690 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12691 second answer buffer if it was separately allocated.
12693 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12695 * sysdeps/mips/math-tests.h: Include <features.h>.
12696 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12697 (ROUNDING_TESTS_long_double): Do not define.
12698 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12699 (EXCEPTION_TESTS_long_double): Likewise.
12700 * sysdeps/mips/mips64/libm-test-ulps: Update.
12702 * include/features.h (__USE_BSD): Remove macro definitions.
12703 (__USE_SVID): Likewise.
12704 (_BSD_SOURCE): Likewise.
12705 (_SVID_SOURCE): Likewise.
12706 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12707 from definition of _DEFAULT_SOURCE.
12708 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12710 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12711 * bits/mman.h [__USE_BSD]: Likewise.
12712 * bits/termios.h [__USE_BSD]: Likewise.
12713 * bits/waitstatus.h [__USE_BSD]: Likewise.
12714 * ctype/ctype.h [__USE_SVID]: Likewise.
12715 * dirent/dirent.h [__USE_BSD]: Likewise.
12716 * grp/grp.h [__USE_SVID]: Likewise.
12717 [__USE_BSD]: Likewise.
12718 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12719 * io/fcntl.h [__USE_BSD]: Likewise.
12720 * io/ftw.h [__USE_BSD]: Likewise.
12721 * io/sys/stat.h [__USE_BSD]: Likewise.
12722 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12723 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12724 * libio/stdio.h [__USE_SVID]: Likewise.
12725 [__USE_BSD]: Likewise.
12726 * math/math.h [__USE_SVID]: Likewise.
12727 [__USE_BSD]: Likewise.
12728 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12729 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12730 * misc/search.h [__USE_SVID]: Likewise.
12731 * misc/sys/mman.h [__USE_BSD]: Likewise.
12732 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12733 * misc/sys/uio.h [__USE_BSD]: Likewise.
12734 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12735 * posix/glob.h [__USE_BSD]: Likewise.
12736 * posix/regex.h [__USE_BSD]: Likewise.
12737 * posix/sys/types.h [__USE_BSD]: Likewise.
12738 [__USE_SVID]: Likewise.
12739 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12740 * posix/sys/wait.h [__USE_BSD]: Likewise.
12741 [__USE_SVID]: Likewise.
12742 * posix/unistd.h [__USE_BSD]: Likewise.
12743 [__USE_SVID]: Likewise.
12744 * pwd/pwd.h [__USE_SVID]: Likewise.
12745 * resolv/netdb.h [__USE_BSD]: Likewise.
12746 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12747 * signal/signal.h [__USE_BSD]: Likewise.
12748 [__USE_SVID]: Likewise.
12749 * socket/sys/socket.h [__USE_BSD]: Likewise.
12750 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12751 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12752 [__USE_SVID]: Likewise.
12753 * string/bits/string2.h [__USE_BSD]: Likewise.
12754 [__USE_SVID]: Likewise.
12755 * string/bits/string3.h [__USE_BSD]: Likewise.
12756 * string/endian.h [__USE_BSD]: Likewise.
12757 * string/string.h [__USE_SVID]: Likewise.
12758 [__USE_BSD]: Likewise.
12759 * string/strings.h [__USE_BSD]: Likewise.
12760 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12761 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12762 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12763 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12764 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12765 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12769 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12770 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12772 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12773 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12775 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12777 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12778 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12781 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12783 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12784 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12785 * termios/termios.h [__USE_BSD]: Likewise.
12786 * time/sys/time.h [__USE_BSD]: Likewise.
12787 * time/time.h [__USE_BSD]: Likewise.
12788 [__USE_SVID]: Likewise.
12790 * Makefile (subdir_targets): Remove subdir_lint.out.
12792 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12793 (do-tst-printf): Likewise.
12794 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12795 $(objpfx)tst-printf.out.
12797 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12799 * Makerules (check-abi-%): Change target to
12800 $(objpfx)check-abi-%.out.
12801 (check-abi target): Update dependencies.
12802 (check-abi-pattern variable): Redirect output of diff to $@.
12803 (check-abi variable): Likewise.
12804 * elf/Makefile (check-abi): Update dependencies.
12806 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12808 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12809 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12811 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12812 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12813 value has largest subnormal exponent.
12814 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12815 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12816 * sysdeps/aarch64/soft-fp/sfp-machine.h
12817 (_FP_TININESS_AFTER_ROUNDING): New macro.
12818 * sysdeps/alpha/soft-fp/sfp-machine.h
12819 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12820 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12822 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12823 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12824 * sysdeps/mips/soft-fp/sfp-machine.h
12825 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12826 * sysdeps/powerpc/soft-fp/sfp-machine.h
12827 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12828 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12830 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12831 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12832 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12833 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12834 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12837 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12840 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12843 2014-02-12 Richard Henderson <rth@redhat.com>
12845 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12846 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12847 * sysdeps/unix/sysv/linux/alpha: Move directory from
12848 ports/sysdeps/unix/sysv/linux/alpha.
12849 * README: Update listing for alpha-*-linux-gnu.
12851 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12853 * include/features.h: Update comment documenting feature test
12855 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12857 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12858 (_SVID_SOURCE): Likewise.
12859 (_DEFAULT_SOURCE): Update description of default features.
12860 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12862 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12863 (S_ISVTX): Likewise.
12864 * manual/math.texi (Mathematical Constants): Likewise.
12865 * manual/signal.texi (Interrupted Primitives): Likewise.
12866 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12867 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12868 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12869 Don't refer to _SVID_SOURCE in warning text.
12871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12873 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12875 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12876 * sysdeps/mips/dl-lookup.c: Remove.
12877 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12879 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12882 * math/auto-libm-test-in: Add testcase for expl.
12883 * math/auto-libm-test-out: Regenerate.
12884 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12885 calculation of unsafe.
12886 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12888 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12890 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12891 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12892 ports/sysdeps/unix/sysv/linux/aarch64.
12893 * README: Update listing for aarch64*-*-linux-gnu.
12895 2014-02-11 Will Newton <will.newton@linaro.org>
12897 * manual/probes.texi (Mathematical Function Probes): Use
12898 "triggered" instead of "hit".
12900 * manual/probes.texi (Internal Probes): Add documentation
12901 of setjmp, longjmp and longjmp_target probes.
12903 * include/stap-probe.h: Add comment about probe argument
12906 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12907 definition. (tr_where, tr_freehook, tr_mallochook,
12908 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12910 2014-02-11 David S. Miller <davem@davemloft.net>
12912 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12913 processing int_tests.
12915 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12917 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12918 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12919 * sysdeps/unix/sysv/linux/mips: Move directory from
12920 ports/sysdeps/unix/sysv/linux/mips.
12921 * README: Update listing for mips-*-linux-gnu and
12922 mips64-*-linux-gnu.
12924 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12926 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12927 * sysdeps/unix/sysv/linux/m68k: Move directory from
12928 ports/sysdeps/unix/sysv/linux/m68k.
12929 * README: Update listing for m68k-*-linux-gnu.
12931 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12933 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12934 * sysdeps/unix/sysv/linux/generic: Move directory from
12935 ports/sysdeps/unix/sysv/linux/generic.
12936 * sysdeps/unix/sysv/linux/tile: Move directory from
12937 ports/sysdeps/unix/sysv/linux/tile.
12938 * README: Update listing for tile*-*-linux-gnu.
12940 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12942 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12944 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12945 * catgets/open_catalog.c (__open_catalog): Likewise.
12946 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12947 * debug/confstr_chk.c: Likewise.
12948 * debug/fread_chk.c (__fread_chk): Likewise.
12949 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12950 * debug/getgroups_chk.c: Likewise.
12951 * debug/mbsnrtowcs_chk.c: Likewise.
12952 * debug/mbsrtowcs_chk.c: Likewise.
12953 * debug/mbstowcs_chk.c: Likewise.
12954 * debug/memcpy_chk.c: Likewise.
12955 * debug/memmove_chk.c: Likewise.
12956 * debug/mempcpy_chk.c: Likewise.
12957 * debug/memset_chk.c: Likewise.
12958 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12959 * debug/strcat_chk.c (__strcat_chk): Likewise.
12960 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12961 * debug/strncat_chk.c (__strncat_chk): Likewise.
12962 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12963 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12964 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12965 * debug/wcpncpy_chk.c: Likewise.
12966 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12967 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12968 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12969 * debug/wcsncpy_chk.c: Likewise.
12970 * debug/wcsnrtombs_chk.c: Likewise.
12971 * debug/wcsrtombs_chk.c: Likewise.
12972 * debug/wcstombs_chk.c: Likewise.
12973 * debug/wmemcpy_chk.c: Likewise.
12974 * debug/wmemmove_chk.c: Likewise.
12975 * debug/wmempcpy_chk.c: Likewise.
12976 * debug/wmemset_chk.c: Likewise.
12977 * dirent/scandirat.c (SCANDIRAT): Likewise.
12978 * dlfcn/dladdr1.c (dladdr1): Likewise.
12979 * dlfcn/dladdr.c (dladdr): Likewise.
12980 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12981 * dlfcn/dlerror.c (__dlerror): Likewise.
12982 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12983 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12984 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12985 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12986 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12987 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12988 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12989 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12991 * elf/dl-conflict.c: Likewise.
12992 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12993 * elf/dl-dst.h: Likewise.
12994 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12995 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12996 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12997 * elf/dl-init.c (call_init, _dl_init): Likewise.
12998 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12999 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13000 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13002 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13004 * elf/dl-minimal.c (__libc_memalign): Likewise.
13005 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13006 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13007 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13008 * elf/dl-sym.c (do_sym): Likewise.
13009 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13010 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13011 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13012 * elf/dl-writev.h (_dl_writev): Likewise.
13013 * elf/ldconfig.c (search_dir): Likewise.
13014 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13015 (dl_main): Likewise.
13016 * elf/setup-vdso.h (setup_vdso): Likewise.
13017 * grp/compat-initgroups.c (compat_call): Likewise.
13018 * grp/fgetgrent.c (fgetgrent): Likewise.
13019 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13020 * grp/putgrent.c (putgrent): Likewise.
13021 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13023 * hurd/hurdinit.c: Likewise.
13024 * iconvdata/8bit-gap.c (struct): Likewise.
13025 * iconvdata/ansi_x3.110.c : Likewise.
13026 * iconvdata/big5.c : Likewise.
13027 * iconvdata/big5hkscs.c : Likewise.
13028 * iconvdata/cp1255.c: Likewise.
13029 * iconvdata/cp1258.c : Likewise.
13030 * iconvdata/cp932.c : Likewise.
13031 * iconvdata/euc-cn.c: Likewise.
13032 * iconvdata/euc-jisx0213.c : Likewise.
13033 * iconvdata/euc-jp.c: Likewise.
13034 * iconvdata/euc-jp-ms.c : Likewise.
13035 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13036 * iconvdata/gb18030.c : Likewise.
13037 * iconvdata/gbbig5.c (const): Likewise.
13038 * iconvdata/gbgbk.c: Likewise.
13039 * iconvdata/gbk.c : Likewise.
13040 * iconvdata/ibm1364.c : Likewise.
13041 * iconvdata/ibm930.c : Likewise.
13042 * iconvdata/ibm932.c: Likewise.
13043 * iconvdata/ibm933.c : Likewise.
13044 * iconvdata/ibm935.c : Likewise.
13045 * iconvdata/ibm937.c : Likewise.
13046 * iconvdata/ibm939.c : Likewise.
13047 * iconvdata/ibm943.c: Likewise.
13048 * iconvdata/iso_11548-1.c: Likewise.
13049 * iconvdata/iso-2022-cn.c : Likewise.
13050 * iconvdata/iso-2022-cn-ext.c : Likewise.
13051 * iconvdata/iso-2022-jp-3.c: Likewise.
13052 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13053 * iconvdata/iso-2022-kr.c : Likewise.
13054 * iconvdata/iso646.c (gconv_end): Likewise.
13055 * iconvdata/iso_6937-2.c : Likewise.
13056 * iconvdata/iso_6937.c : Likewise.
13057 * iconvdata/iso8859-1.c: Likewise.
13058 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13059 * iconvdata/shift_jisx0213.c : Likewise.
13060 * iconvdata/sjis.c : Likewise.
13061 * iconvdata/t.61.c : Likewise.
13062 * iconvdata/tcvn5712-1.c : Likewise.
13063 * iconvdata/tscii.c: Likewise.
13064 * iconvdata/uhc.c : Likewise.
13065 * iconvdata/unicode.c (gconv_end): Likewise.
13066 * iconvdata/utf-16.c (gconv_end): Likewise.
13067 * iconvdata/utf-32.c (gconv_end): Likewise.
13068 * iconvdata/utf-7.c (base64): Likewise.
13069 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13070 * iconv/gconv_close.c (__gconv_close): Likewise.
13071 * iconv/gconv_open.c (__gconv_open): Likewise.
13072 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13073 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13074 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13075 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13076 (ucs4le_internal_loop_single): Likewise.
13077 * iconv/iconv.c (iconv): Likewise.
13078 * iconv/iconv_close.c: Likewise.
13079 * iconv/loop.c (SINGLE): Likewise.
13080 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13081 * include/atomic.h: Likewise.
13082 * inet/inet6_option.c (option_alloc): Likewise.
13083 * intl/bindtextdom.c (set_binding_values): Likewise.
13084 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13085 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13086 * intl/localealias.c (read_alias_file): Likewise.
13087 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13088 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13089 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13090 * libio/fmemopen.c (fmemopen): Likewise.
13091 * libio/iofgets.c (_IO_fgets): Likewise.
13092 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13093 * libio/iofgetws.c (fgetws): Likewise.
13094 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13095 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13096 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13097 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13098 * locale/findlocale.c (_nl_find_locale): Likewise.
13099 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13100 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13102 * locale/setlocale.c (setlocale): Likewise.
13103 * login/programs/pt_chown.c (main): Likewise.
13104 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13105 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13106 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13107 (mmap, mmap64, mremap, munmap): Likewise.
13108 * math/e_exp2l.c: Likewise.
13109 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13110 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13111 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13112 * math/s_catan.c (__catan): Likewise.
13113 * math/s_catanf.c (__catanf): Likewise.
13114 * math/s_catanh.c (__catanh): Likewise.
13115 * math/s_catanhf.c (__catanhf): Likewise.
13116 * math/s_catanhl.c (__catanhl): Likewise.
13117 * math/s_catanl.c (__catanl): Likewise.
13118 * math/s_ccosh.c (__ccosh): Likewise.
13119 * math/s_ccoshf.c (__ccoshf): Likewise.
13120 * math/s_ccoshl.c (__ccoshl): Likewise.
13121 * math/s_cexp.c (__cexp): Likewise.
13122 * math/s_cexpf.c (__cexpf): Likewise.
13123 * math/s_cexpl.c (__cexpl): Likewise.
13124 * math/s_clog10.c (__clog10): Likewise.
13125 * math/s_clog10f.c (__clog10f): Likewise.
13126 * math/s_clog10l.c (__clog10l): Likewise.
13127 * math/s_clog.c (__clog): Likewise.
13128 * math/s_clogf.c (__clogf): Likewise.
13129 * math/s_clogl.c (__clogl): Likewise.
13130 * math/s_csin.c (__csin): Likewise.
13131 * math/s_csinf.c (__csinf): Likewise.
13132 * math/s_csinh.c (__csinh): Likewise.
13133 * math/s_csinhf.c (__csinhf): Likewise.
13134 * math/s_csinhl.c (__csinhl): Likewise.
13135 * math/s_csinl.c (__csinl): Likewise.
13136 * math/s_csqrt.c (__csqrt): Likewise.
13137 * math/s_csqrtf.c (__csqrtf): Likewise.
13138 * math/s_csqrtl.c (__csqrtl): Likewise.
13139 * math/s_ctan.c (__ctan): Likewise.
13140 * math/s_ctanf.c (__ctanf): Likewise.
13141 * math/s_ctanh.c (__ctanh): Likewise.
13142 * math/s_ctanhf.c (__ctanhf): Likewise.
13143 * math/s_ctanhl.c (__ctanhl): Likewise.
13144 * math/s_ctanl.c (__ctanl): Likewise.
13145 * math/w_pow.c: Likewise.
13146 * math/w_powf.c: Likewise.
13147 * math/w_powl.c: Likewise.
13148 * math/w_scalb.c (sysv_scalb): Likewise.
13149 * math/w_scalbf.c (sysv_scalbf): Likewise.
13150 * math/w_scalbl.c (sysv_scalbl): Likewise.
13151 * misc/error.c (error_tail): Likewise.
13152 * misc/pselect.c (__pselect): Likewise.
13153 * nis/nis_callback.c (__nis_create_callback): Likewise.
13154 * nis/nis_call.c (__nisfind_server): Likewise.
13155 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13156 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13157 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13158 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13159 * nis/nis_lookup.c (nis_lookup): Likewise.
13160 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13161 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13162 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13163 * nis/nis_xdr.c (xdr_endpoint): Likewise.
13164 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13165 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13166 * nis/nss_compat/compat-initgroups.c (add_group)
13167 (internal_getgrent_r): Likewise.
13168 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13169 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13170 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13171 (internal_getspnam_r): Likewise.
13172 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13173 (_nss_nis_getaliasbyname_r): Likewise.
13174 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13175 (_nss_nis_getntohost_r): Likewise.
13176 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13177 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13178 (_nss_nis_getgrgid_r): Likewise.
13179 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13180 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13181 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13182 (_nss_nis_gethostbyname4_r): Likewise.
13183 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13184 (initgroups_netid): Likewise.
13185 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13186 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13187 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13188 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13189 (_nss_nis_getprotobynumber_r): Likewise.
13190 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13191 (_nss_nis_getsecretkey): Likewise.
13192 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13193 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13194 (_nss_nis_getpwuid_r): Likewise.
13195 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13196 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13197 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13198 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13199 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13200 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13201 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13203 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13204 (_nss_nisplus_getntohost_r): Likewise.
13205 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13206 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13207 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13208 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13210 * nis/nss_nisplus/nisplus-initgroups.c
13211 (_nss_nisplus_initgroups_dyn): Likewise.
13212 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13213 (_nss_nisplus_getnetbyaddr_r): Likewise.
13214 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13215 (_nss_nisplus_getprotobynumber_r): Likewise.
13216 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13217 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13218 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13220 * nis/nss_nisplus/nisplus-service.c
13221 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13222 (_nss_nisplus_getservbyport_r): Likewise.
13223 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13224 (_nss_nisplus_getspnam_r): Likewise.
13225 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13227 * nscd/aicache.c (addhstaiX): Likewise.
13228 * nscd/cache.c (cache_search, prune_cache): Likewise.
13229 * nscd/connections.c (register_traced_file, send_ro_fd)
13230 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13231 (main_loop_epoll): Likewise.
13232 * nscd/grpcache.c (addgrbyX): Likewise.
13233 * nscd/hstcache.c (addhstbyX): Likewise.
13234 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13235 * nscd/mem.c (gc, mempool_alloc): Likewise.
13236 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13237 (addinnetgrX): Likewise.
13238 * nscd/nscd-client.h (__nscd_acquire_maplock)
13239 (__nscd_drop_map_ref): Likewise.
13240 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13241 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13242 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13244 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13245 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13246 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13247 (__nscd_get_map_ref): Likewise.
13248 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13249 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13251 * nscd/pwdcache.c (addpwbyX): Likewise.
13252 * nscd/selinux.c (preserve_capabilities): Likewise.
13253 * nscd/servicescache.c (addservbyX): Likewise.
13254 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13255 * posix/fnmatch.c (fnmatch): Likewise.
13256 * posix/getopt.c (_getopt_internal_r): Likewise.
13257 * posix/glob.c (glob, glob_in_dir): Likewise.
13258 * posix/wordexp.c (exec_comm_child): Likewise.
13259 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13260 (getanswer_r, gaih_getanswer_slice): Likewise.
13261 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13262 * resolv/res_init.c: Likewise.
13263 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13264 * resolv/res_query.c (__libc_res_nquery): Likewise.
13265 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13267 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13268 * stdio-common/perror.c (perror): Likewise.
13269 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13270 * stdio-common/tmpnam.c (tmpnam): Likewise.
13271 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13272 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13273 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13275 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13276 * stdlib/putenv.c (putenv): Likewise.
13277 * stdlib/setenv.c (__add_to_environ): Likewise.
13278 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13279 * stdlib/strtol_l.c (INTERNAL): Likewise.
13280 * string/memmem.c (memmem): Likewise.
13281 * string/strerror.c (strerror): Likewise.
13282 * string/strnlen.c (__strnlen): Likewise.
13283 * string/test-memmem.c (simple_memmem): Likewise.
13284 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13285 * sunrpc/pm_getport.c (__get_socket): Likewise.
13286 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13287 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13288 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13289 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13291 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13292 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13293 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13294 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13295 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13296 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13298 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13300 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13301 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13302 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13303 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13304 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13306 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13307 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13308 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13309 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13310 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13313 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13315 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13317 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13318 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13319 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13320 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13321 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13322 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13323 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13332 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13334 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13336 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13338 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13340 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13342 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13344 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13345 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13346 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13347 * sysdeps/posix/sleep.c: Likewise.
13348 * sysdeps/posix/tempname.c: Likewise.
13349 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13350 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13352 * sysdeps/powerpc/powerpc32/dl-machine.h
13353 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13354 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13356 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13357 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13359 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13360 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13361 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13362 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13363 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13364 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13365 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13366 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13367 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13368 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13370 (elf_machine_lazy_rel): Likewise.
13371 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13373 (elf_machine_lazy_rel): Likewise.
13374 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13375 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13376 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13377 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13378 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13379 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13380 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13383 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13384 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13385 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13386 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13387 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13388 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13389 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13390 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13391 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13392 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13393 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13395 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13396 (__posix_fallocate64_l64): Likewise.
13397 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13398 (posix_fallocate): Likewise.
13399 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13402 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13403 (getifaddrs_internal): Likewise.
13404 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13405 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13406 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13407 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13408 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13409 (__posix_fallocate64_l64): Likewise.
13410 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13412 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13413 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13414 (__get_clockfreq): Likewise.
13415 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13416 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13417 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13418 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13419 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13420 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13421 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13422 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13424 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13425 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13426 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13427 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13428 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13429 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13430 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13432 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13433 (posix_fallocate): Likewise.
13434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13435 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13436 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13437 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13438 (elf_machine_rela, elf_machine_rela_relative)
13439 (elf_machine_lazy_rel): Likewise.
13440 * time/asctime.c (asctime_internal): Likewise.
13441 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13442 * time/tzset.c (__tzset_parse_tz): Likewise.
13443 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13444 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13445 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13446 * wcsmbs/wcsmbsload.h: Likewise.
13449 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13451 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13452 (arena_get2): Remove THREAD_STATS conditionals.
13453 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13454 (__malloc_stats, int): Likewise.
13456 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13458 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13459 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13461 * manual/setjmp.texi: Fix typos/grammar errors.
13463 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13464 Only return early when n is <= 0. Delete unused return statement.
13466 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13467 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13468 * debug/tst-longjmp_chk3.c: New file.
13470 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13471 (test_main): Replace code with set_fortify_handler call.
13472 * debug/test-strcpy_chk.c: Likewise.
13473 * debug/tst-chk1.c: Likewise.
13474 * debug/tst-longjmp_chk.c: Likewise.
13475 * test-skeleton.c: Include fcntl.h & paths.h
13476 (set_fortify_handler): Define.
13478 * debug/tst-longjmp_chk.c: Add header comment and include
13479 ../test-skeleton.c.
13480 (do_test): Mark static.
13481 (TEST_FUNCTION): Define.
13483 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13484 (IP_PMTUDISC_INTERFACE): Likewise.
13485 (IP_MULTICAST_IF): Likewise.
13486 (IP_MULTICAST_TTL): Likewise.
13487 (IP_MULTICAST_LOOP): Likewise.
13488 (IP_ADD_MEMBERSHIP): Likewise.
13489 (IP_DROP_MEMBERSHIP): Likewise.
13490 (IP_UNBLOCK_SOURCE): Likewise.
13491 (IP_BLOCK_SOURCE): Likewise.
13492 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13493 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13494 (IP_MSFILTER): Likewise.
13495 (MCAST_JOIN_GROUP): Likewise.
13496 (MCAST_BLOCK_SOURCE): Likewise.
13497 (MCAST_UNBLOCK_SOURCE): Likewise.
13498 (MCAST_LEAVE_GROUP): Likewise.
13499 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13500 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13501 (MCAST_MSFILTER): Likewise.
13502 (IP_MULTICAST_ALL): Likewise.
13503 (IP_UNICAST_IF): Likewise.
13505 * timezone/Makefile: Delete $(have-ksh) check.
13506 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13507 * timezone/tzselect.ksh: Add +x mode bits.
13509 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13510 (ANON_INODE_FS_MAGIC): Likewise.
13511 (BDEVFS_MAGIC): Likewise.
13512 (BINFMTFS_MAGIC): Likewise.
13513 (BTRFS_TEST_MAGIC): Likewise.
13514 (CRAMFS_MAGIC_WEND): Likewise.
13515 (DEBUGFS_MAGIC): Likewise.
13516 (ECRYPTFS_SUPER_MAGIC): Likewise.
13517 (EXT3_SUPER_MAGIC): Likewise.
13518 (EXT4_SUPER_MAGIC): Likewise.
13519 (FUTEXFS_SUPER_MAGIC): Likewise.
13520 (HOSTFS_SUPER_MAGIC): Likewise.
13521 (HUGETLBFS_MAGIC): Likewise.
13522 (MINIX3_SUPER_MAGIC): Likewise.
13523 (MTD_INODE_FS_MAGIC): Likewise.
13524 (NILFS_SUPER_MAGIC): Likewise.
13525 (OPENPROM_SUPER_MAGIC): Likewise.
13526 (PIPEFS_MAGIC): Likewise.
13527 (PSTOREFS_MAGIC): Likewise.
13528 (QNX6_SUPER_MAGIC): Likewise.
13529 (RAMFS_MAGIC): Likewise.
13530 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13531 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13532 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13533 (SECURITYFS_MAGIC): Likewise.
13534 (SELINUX_MAGIC): Likewise.
13535 (SMACK_MAGIC): Likewise.
13536 (SOCKFS_MAGIC): Likewise.
13537 (SQUASHFS_MAGIC): Likewise.
13538 (STACK_END_MAGIC): Likewise.
13539 (TMPFS_MAGIC): Likewise.
13540 (USBDEVICE_SUPER_MAGIC): Likewise.
13541 (V9FS_MAGIC): Likewise.
13542 (XENFS_SUPER_MAGIC): Likewise.
13543 (CRAMFS_MAGIC): Fix typo in comment.
13544 (EXT2_SUPER_MAGIC): Update comment.
13545 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13547 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13549 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13550 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13551 * sysdeps/unix/sysv/linux/arm: Move directory from
13552 ports/sysdeps/unix/sysv/linux/arm.
13553 * README: Update listing for arm-*-linux-gnueabi.
13555 * README: Remove mention of am33.
13557 2014-02-07 Roland McGrath <roland@hack.frob.com>
13559 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13560 than the comma operator, to avoid "rhs of comma has no effect"
13562 (__sigfillset, __sigandset, __sigorset): Likewise.
13563 * include/signal.h (__sigemptyset): Likewise.
13564 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13566 2014-02-07 Allan McRae <allan@archlinux.org>
13568 * version.h (RELEASE): Set to "development".
13569 (VERSION): Set to "2.19.90"
13570 * NEWS: Add 2.20 section.
13572 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13575 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13577 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13579 * manual/contrib.texi: Update entry for Carlos O'Donell,
13580 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13582 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13584 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13586 * sysdeps/unix/sysv/linux/kernel-features.h
13587 [__LINUX_KERNEL_VERSION >= 0x020621]
13588 (__ASSUME_PROC_PID_TASK_COMM): Define.
13590 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13593 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13594 conversion when destination buffer does not have enough space.
13595 * libio/tst-ftell-partial-wide.c: New test case.
13596 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13598 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13599 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13600 Leonard and Allan McRae.
13602 2014-02-04 David S. Miller <davem@davemloft.net>
13604 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13607 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13636 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13638 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13639 * shlib-versions: Likewise.
13641 2014-02-04 Roland McGrath <roland@hack.frob.com>
13642 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13644 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13645 (abilist-pattern): New variable, set to %-le.abilist.
13647 * Makerules (abilist-pattern): New variable.
13648 (vpath): Use $(abilist-pattern) in place of %.abilist.
13649 (check-abi-% pattern rule): Likewise.
13650 (check-abi, update-abi): Likewise.
13652 2014-02-04 Eric Wong <normalperson@yhbt.net>
13654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13656 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13658 * manual/startup.texi: Add next, previous, and top entries for
13659 the `Program Arguments' and `Environment Variables' nodes.
13661 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13663 * manual/macros.texi: Add comments before MTASC-safety macros.
13665 * manual/users.texi: Document MTASC-safety properties.
13667 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13668 (pthread_getspecific, pthread_setspecific): Format with
13669 @deftypefun, and add @safety note.
13670 * manual/signal.texi: Move comments that analyze the above
13671 functions to their home place.
13673 2014-02-03 Allan McRae <allan@archlinux.org>
13675 * po/sl.po: Update Slovenian translation from translation project.
13677 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13679 * manual/time.texi (timegm): Add missing blank after @c.
13680 Reported by Joseph Myers <joseph@codesourcery.com>.
13682 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13684 * manual/check-safety.sh: New.
13685 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13687 * manual/terminal.texi: Document MTASC-safety properties.
13689 * manual/filesys.texi: Document MTASC-safety properties.
13691 * manual/errno.texi: Document MTASC-safety properties.
13693 * manual/intro.texi: Document safety identifiers and
13696 * manual/string.texi (wcstok): Fix prototype.
13697 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13699 * manual/time.texi: Document MTASC-safety properties.
13701 * manual/string.texi: Document MTASC-safety properties.
13703 * manual/threads.texi: Document MTASC-safety properties.
13705 * manual/stdio.texi: Document MTASC-safety properties.
13707 * manual/syslog.texi: Document MTASC-safety properties.
13709 * manual/sysinfo.texi: Document MTASC-safety properties.
13711 * manual/startup.texi: Document MTASC-safety properties.
13713 * manual/socket.texi: Document MTASC-safety properties.
13715 * manual/signal.texi: Document MTASC-safety properties.
13717 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13719 * manual/setjmp.texi: Document MTASC-safety properties.
13721 * manual/search.texi: Document MTASC-safety properties.
13723 * manual/resource.texi: Document MTASC-safety properties.
13725 * manual/process.texi: Document MTASC-safety properties.
13727 * manual/platform.texi: Document MTASC-safety properties.
13729 * manual/pipe.texi: Document MTASC-safety properties.
13731 * manual/pattern.texi: Document MTASC-safety properties.
13733 * manual/message.texi: Document MTASC-safety properties.
13736 * manual/memory.texi: Document MTASC-safety properties.
13738 * manual/math.texi: Document MTASC-safety properties.
13740 * manual/locale.texi: Document MTASC-safety properties.
13742 * manual/llio.texi: Document MTASC-safety properties.
13744 * manual/libdl.texi: New.
13746 * manual/lang.texi: Document MTASC-safety properties.
13748 * manual/job.texi: Document MTASC-safety properties.
13750 * manual/getopt.texi: Document MTASC-safety properties.
13752 * manual/ctype.texi: Document MTASC-safety properties.
13754 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13757 * csu/libc-tls.c (static_map): Remove variable.
13758 (__libc_setup_tls): Use main executable's link map for TLS data.
13759 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13760 casing for LM_ID_BASE and GL(dl_nns).
13761 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13762 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13763 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13764 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13765 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13767 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13770 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13772 * manual/debug.texi: Document MTASC-safety properties.
13774 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13777 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13778 of __x86_64__ when disabling x87 inline functions.
13780 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13782 * manual/charset.texi: Document MTASC-safety properties.
13784 * manual/crypt.texi: Document MTASC-safety properties.
13786 * manual/conf.texi: Document MTASC-safety properties.
13788 * manual/arith.texi: Document MTASC-safety properties.
13790 * manual/argp.texi: Document MTASC-safety properties.
13792 * manual/macros.texi: Introduce macros to document multi
13793 thread, asynchronous signal and asynchronous cancellation
13795 * manual/intro.texi: Introduce the properties themselves.
13797 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13799 * sysdeps/sh/sh4/Makefile: New file.
13801 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13803 * math/gen-libm-test.pl ($srcdir): New variable.
13804 ($auto_input): Use it.
13806 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13809 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13810 access beyond array bounds when parsing netgroups file.
13812 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13813 the old buffer before realloc.
13815 2014-01-27 Allan McRae <allan@archlinux.org>
13817 * po/fr.po: Update French translation from translation project.
13819 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13821 * sysdeps/sh/libm-test-ulps: Regenerate.
13823 2014-01-24 David S. Miller <davem@davemloft.net>
13825 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13827 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13829 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13830 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13832 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13835 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13836 string pointers after reallocation.
13838 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13840 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13841 __SH4A__ instead of __SH_FPU_ANY__.
13843 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13845 * sysdeps/sh/fpu_control.h: New file.
13846 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13847 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13848 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13849 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13850 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13851 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13852 * sysdeps/sh/sys/ucontext.h: Remove.
13853 * sysdeps/sh/sys: Remove directory.
13855 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13857 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13858 s390/sys/ucontext.h.
13859 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13860 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13862 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13865 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13867 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13870 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13871 Adjust the vDSO correctly for internal calls.
13872 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13874 2014-01-20 Allan McRae <allan@archlinux.org>
13876 * po/ca.po: Update Catalan translation from translation project.
13878 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13880 * sysdeps/s390/sotruss-lib.c: New file.
13882 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13885 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13886 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13887 local calls issues by not having a PLT stub required for IFUNC calls.
13888 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13890 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13892 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13893 * math/test-fpucw-static.c: Likewise.
13895 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13898 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13900 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13902 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13903 implementation for powerpc.
13905 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13908 * sysdeps/posix/system.c (__libc_system): Do not enable
13909 asynchronous cancellation.
13911 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13914 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13915 handling only for numbers special also in the IEEE case.
13917 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13919 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13921 2014-01-11 Allan McRae <allan@archlinux.org>
13923 * po/bg.po: Update Bulgarian translation from translation project.
13925 * po/de.po: Update German translation from translation project.
13927 2014-01-10 Roland McGrath <roland@hack.frob.com>
13929 * sysdeps/generic/gcc-compat.h: New file.
13931 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13933 * benchtests/asin-inputs: Correct slow inputs.
13934 * benchtests/acos-inputs: Likewise.
13936 2014-01-10 Allan McRae <allan@archlinux.org>
13938 * po:sv.po: Update Swedish translation from translation project.
13940 * po/vi.po: Update Vietnamese translation from translation project.
13942 * po/eo.po: Update Esperanto translation from translation project.
13944 * po/cs.po: Update Czech translation from translation project.
13946 * po/nl.po: Update Dutch translation from translation project.
13948 * po/pl.po: Update Polish translation from translation project.
13950 * po/ru.po: Update Russian translation from translation project.
13952 * po/uk.po: Update Ukrainian translation from translation project.
13954 2014-01-08 Brooks Moses <bmoses@google.com>
13956 * elf/dl-load.c: Fix comment typo.
13958 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13960 * po/header.pot: Rename to...
13961 * po/pot.header: ... this.
13962 * po/Makefile: Use pot.header.
13964 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13965 Maxim Kuvyrkov <maxim@kugelworks.com>
13968 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13969 SRC and DEST against LEN.
13971 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13974 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13976 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13978 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13982 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13985 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13986 for large positive arguments.
13988 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13990 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13992 * math/auto-libm-test-in: Mark various tests with
13993 xfail-rounding:ldbl-128ibm.
13994 * math/auto-libm-test-out: Regenerated.
13997 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13998 Increase overflow threshold.
14000 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
14003 * stdio-common/vfprintf.c: Check for integer overflow.
14005 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14007 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14008 the first argument and return value of __tls_get_addr_internal.
14010 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14012 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14013 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14015 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14017 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14018 * sysdeps/s390/rtld-global-offsets.sym: New file.
14019 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14021 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14022 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14023 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14025 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14026 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14032 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14033 halfs of GPRs for high_gprs contexts.
14034 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14035 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14037 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14041 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14042 for high GPRs (uc_high_gprs) and for future extensions
14044 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14045 for future extensions (__reserved).
14046 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14048 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14049 SC_HIGHGPRS offset definition.
14050 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14051 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14053 * Versions.def: Add GLIBC_2.19 for libpthread.
14054 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14055 siglongjmp for libpthread with GLIBC_2.19 symver.
14056 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14057 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14058 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14059 * sysdeps/s390/__longjmp.c: New file.
14060 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14061 * sysdeps/s390/longjmp.c: New file.
14062 * sysdeps/s390/setjmp.S: New file.
14063 * sysdeps/s390/sigjmp.S: New file.
14064 * sysdeps/s390/v1-longjmp.c: New file.
14065 * sysdeps/s390/v1-setjmp.h: New file.
14066 * sysdeps/s390/v1-sigjmp.c: New file.
14067 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14068 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14069 GLIBC_2.19 version.
14070 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14071 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14072 versioned symbols for ____longjmp_chk.
14073 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14083 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14084 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14085 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14086 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14087 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14088 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14089 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14090 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14091 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14092 * sysdeps/s390/rtld-__longjmp.c: New file.
14093 * sysdeps/s390/rtld-setjmp.S: New file.
14095 2014-01-06 Joseph Myers <joseph@codesourcery.com>
14098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14099 Return -__logl (x) for small positive arguments without evaluating
14102 2014-01-06 Mike Frysinger <vapier@gentoo.org>
14104 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14106 (__ptrace_peeksiginfo_args): ... this.
14107 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14108 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14111 2014-01-06 Allan McRae <allan@archlinux.org>
14113 * inet/netinet/in.h: Fix typo in comment.
14115 2014-01-05 Andreas Jaeger <aj@suse.de>
14117 * sysdeps/i386/fpu/libm-test-ulps: Update.
14119 2014-01-05 Allan McRae <allan@archlinux.org>
14121 * po/libc.pot: Regenerated.
14123 * malloc/memusagestat.c: Fix gettext call formatting.
14125 2014-01-04 Sami Kerola <kerolasa@iki.fi>
14127 * nscd/nscd.c: Improve usage() output.
14129 2014-01-04 Mike Frysinger <vapier@gentoo.org>
14131 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14132 * sysdeps/unix/sysv/linux/configure: Regenerated.
14133 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14134 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14136 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14139 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14140 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14142 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14145 extra tokens at end of #undef directive.
14146 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14147 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14148 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14150 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14152 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14154 * math/auto-libm-test-in: Mark various tests with
14155 xfail-rounding:ldbl-128ibm.
14156 * math/auto-libm-test-out: Regenerated.
14158 2014-01-02 Joseph Myers <joseph@codesourcery.com>
14161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14162 numbers with subnormal high part when calculating exponent.
14165 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14171 (__ieee754_acoshl): Use __log1pl not __log1p.
14173 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
14175 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14176 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14177 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14178 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14179 (reused_arena, arena_get2): Convert to GNU style.
14180 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14181 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14182 (memalign_check, __malloc_set_state): Likewise.
14183 * malloc/mallocbug.c (main): Likewise.
14184 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14185 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14186 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14187 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14188 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14189 (__posix_memalign, malloc_info): Likewise.
14190 * malloc/malloc.h: Likewise.
14191 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14192 (mallochook, memalignhook, reallochook, mabort): Likewise.
14193 * malloc/mcheck.h: Likewise.
14194 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14195 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14196 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14197 * malloc/morecore.c (__default_morecore): Likewise.
14198 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14199 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14200 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14201 (print_and_abort): Likewise.
14202 * malloc/obstack.h: Likewise.
14203 * malloc/set-freeres.c (__libc_freeres): Likewise.
14204 * malloc/tst-mallocstate.c (main): Likewise.
14205 * malloc/tst-mtrace.c (main): Likewise.
14206 * malloc/tst-realloc.c (do_test): Likewise.
14208 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14211 * nscd/netgroupcache.c (do_notfound): New function.
14212 (addgetnetgrentX): Use it.
14215 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14216 NSS_STATUS_NOTFOUND.
14218 2014-01-01 Joseph Myers <joseph@codesourcery.com>
14220 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14223 2014-01-01 Allan McRae <allan@archlinux.org>
14225 * scripts/update-copyrights: Update configure input file suffix.
14227 * NEWS: Update copyright year.
14228 * catgets/gencat.c: Likewise.
14229 * csu/version.c: Likewise.
14230 * debug/catchsegv.sh: Likewise.
14231 * debug/pcprofiledump.c: Likewise.
14232 * debug/xtrace.sh: Likewise.
14233 * elf/ldconfig.c: Likewise.
14234 * elf/ldd.bash.in: Likewise.
14235 * elf/pldd.c: Likewise.
14236 * elf/sotruss.ksh: Likewise.
14237 * elf/sprof.c: Likewise.
14238 * iconv/iconv_prog.c: Likewise.
14239 * iconv/iconvconfig.c: Likewise.
14240 * locale/programs/locale.c: Likewise.
14241 * locale/programs/localedef.c: Likewise.
14242 * login/programs/pt_chown.c: Likewise.
14243 * malloc/memusage.sh: Likewise.
14244 * malloc/memusagestat.c: Likewise.
14245 * malloc/mtrace.pl: Likewise.
14246 * manual/libc.texinfo: Likewise.
14247 * nscd/nscd.c: Likewise.
14248 * nss/getent.c: Likewise.
14249 * nss/makedb.c: Likewise.
14250 * posix/getconf.c: Likewise.
14251 * scripts/test-installation.pl: Likewise.
14253 * All files with FSF copyright notices: Update copyright dates
14254 using scripts/update-copyrights.
14255 * intl/plural.c: Regenerated.
14256 * locale/programs/charmap-kw.h: Likewise.
14257 * locale/programs/locfile-kw.h: Likewise.
14259 2013-12-31 Mike Frysinger <vapier@gentoo.org>
14261 * sysdeps/unix/sysv/linux/configure: Regenerated.
14262 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14263 the linux/fanotify.h header.
14264 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14265 HAVE_LINUX_FANOTIFY_H is defined.
14267 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14269 * benchtests/cos-inputs: New inputs.
14270 * benchtests/sin-inputs: Likewise.
14272 * benchtests/atan-inputs: New inputs. Fix name of multiple
14273 precision fallback inputs.
14275 * benchtests/atanh-inputs: New inputs.
14276 * benchtests/tanh-inputs: Likewise.
14278 * benchtests/acosh-inputs: New inputs.
14279 * benchtests/asinh-inputs: Likewise.
14281 * benchtests/cosh-inputs: New inputs.
14282 * benchtests/sinh-inputs: Likewise.
14284 * benchtests/acos-inputs: Add more inputs.
14285 * benchtests/asin-inputs: Likewise.
14287 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14290 * manual/arith.texi: Fix spelling.
14291 * manual/charset.texi: Likewise.
14292 * manual/errno.texi: Likewise.
14293 * manual/filesys.texi: Likewise.
14294 * manual/lang.texi: Likewise.
14295 * manual/llio.texi: Likewise.
14296 * manual/locale.texi: Likewise.
14297 * manual/message.texi: Likewise.
14298 * manual/resource.texi: Likewise.
14299 * manual/search.texi: Likewise.
14300 * manual/setjmp.texi: Likewise.
14301 * manual/stdio.texi: Likewise.
14302 * manual/string.texi: Likewise.
14303 * manual/sysinfo.texi: Likewise.
14304 * manual/time.texi: Likewise.
14306 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14308 * po/sl.po: New file.
14310 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14312 * .gitignore: Add core/.gdbinit/.gdb_history.
14314 2013-12-27 Allan McRae <allan@archlinux.org>
14317 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14318 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14320 2013-12-24 Brooks Moses <bmoses@google.com>
14322 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14323 all compilers that claim C++98 compliance, not just GCC.
14324 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14327 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14329 * NEWS: Restore accidentally deleted bug-fix entries.
14331 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14332 Ondřej Bílka <neleai@seznam.cz>
14335 * malloc/malloc.c (_int_free): Perform sanity check only if we
14338 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14341 * manual/stdio.texi (String Input Conversions): Clarify that character
14342 classes are not supported.
14344 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14348 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14351 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14352 Calculate results for small negative arguments directly rather
14353 than using reflection formula with special underflow handling.
14355 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14356 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14357 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14358 (fchflags): Likewise.
14359 (revoke): Likewise.
14360 (setlogin): Likewise.
14361 (sigaltstack): Likewise.
14363 (sigblock): Remove.
14364 (sigsetmask): Likewise.
14366 (waitpid): Likewise.
14367 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14368 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14370 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14371 * sysdeps/unix/bsd/Makefile: ... here.
14372 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14373 * sysdeps/unix/bsd/Versions: ... here.
14374 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14375 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14376 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14377 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14378 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14379 * sysdeps/unix/bsd/sigblock.c: ... here.
14380 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14381 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14382 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14383 * sysdeps/unix/bsd/sigvec.c: ... here.
14384 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14385 * sysdeps/unix/bsd/tcdrain.c: ... here.
14386 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14387 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14388 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14389 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14390 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14391 * sysdeps/unix/bsd/wait.c: ... here.
14392 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14393 * sysdeps/unix/bsd/wait3.c: ... here.
14394 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14395 * sysdeps/unix/bsd/waitpid.c: ... here.
14397 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14400 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14401 round-to-nearest for [!USE_AS_EXPM1L].
14402 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14403 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14404 more tests of exp and exp10. Expect some exp10 tests to miss
14405 exceptions or fail in directed rounding modes.
14406 * math/auto-libm-test-out: Regenerated.
14407 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14408 (exp10_test_tonearest): New function.
14409 (exp10_towardzero_test_data): New array.
14410 (exp10_test_towardzero): New function.
14411 (exp10_downward_test_data): New array.
14412 (exp10_test_downward): New function.
14413 (exp10_upward_test_data): New array.
14414 (exp10_test_upward): New function.
14415 (main): Call the new functions.
14416 * sysdeps/i386/fpu/libm-test-ulps: Update.
14417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14419 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14421 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14422 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14423 * math/auto-libm-test-out: Regenerated.
14424 * math/libm-test.inc (acosh_test_data): Add more tests.
14425 (atanh_test_data): Likewise.
14426 (ceil_test_data): Likewise.
14427 (copysign_test_data): Likewise.
14428 * sysdeps/i386/fpu/libm-test-ulps: Update.
14429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14431 * timezone/checktab.awk: Update from tzcode 2013i.
14432 * timezone/private.h: Likewise.
14433 * timezone/scheck.c: Likewise.
14434 * timezone/tzfile.h: Likewise.
14435 * timezone/tzselect.ksh: Likewise.
14436 * timezone/zdump.c: Likewise.
14437 * timezone/zic.c: Likewise.
14439 * math/auto-libm-test-in: Add tests of cpow.
14440 * math/auto-libm-test-out: Regenerated.
14441 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14442 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14444 (func_calc_desc): Add mpc_cc_c union field.
14445 (test_functions): Add cpow.
14446 (special_fill_2pi): New function.
14447 (special_real_inputs): Add 2pi.
14448 (calc_generic_results): Handle mpc_cc_c.
14449 * sysdeps/i386/fpu/libm-test-ulps: Update.
14450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14452 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14453 csqrt, ctan and ctanh.
14454 * math/auto-libm-test-out: Regenerated.
14455 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14456 (TEST_COND_x86): Likewise.
14457 (ccos_test_data): Use AUTO_TESTS_c_c.
14458 (ccosh_test_data): Likewise.
14459 (cexp_test_data): Likewise.
14460 (clog_test_data): Likewise.
14461 (csqrt_test_data): Likewise.
14462 (ctan_test_data): Likewise.
14463 (ctan_tonearest_test_data): Likewise.
14464 (ctan_towardzero_test_data): Likewise.
14465 (ctan_downward_test_data): Likewise.
14466 (ctan_upward_test_data): Likewise.
14467 (ctanh_test_data): Likewise.
14468 (ctanh_tonearest_test_data): Likewise.
14469 (ctanh_towardzero_test_data): Likewise.
14470 (ctanh_downward_test_data): Likewise.
14471 (ctanh_upward_test_data): Likewise.
14472 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14474 (func_calc_desc): Add mpc_c_c union field.
14475 (FUNC_mpc_c_c): New macro.
14476 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14477 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14479 (special_fill_min_subnorm_p120): New function.
14480 (special_real_inputs): Add min_subnorm_p120.
14481 (calc_generic_results): Handle mpc_c_c.
14482 * sysdeps/i386/fpu/libm-test-ulps: Update.
14483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14485 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14487 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14488 (do_sin_slow): New functions.
14489 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14490 (cslow2, csloww1, csloww2): Use the new functions.
14492 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14493 Use M to change sign of result instead of X. Assume X is
14495 (csloww1): Likewise.
14499 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14500 arguments A and DA.
14504 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14506 (sloww1): Don't adjust sign of DX.
14507 (csloww1): Likewise.
14508 (sloww2): Use X directly and don't adjust sign of DX.
14509 (csloww2): Likewise.
14511 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14513 * math/auto-libm-test-in: Add tests of cabs and carg.
14514 * math/auto-libm-test-out: Regenerated.
14515 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14516 (carg_test_data): Likewise.
14517 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14519 (func_calc_desc): Add mpc_c_f union field.
14520 (test_functions): Add cabs and carg.
14521 (calc_generic_results): Handle mpc_c_f.
14523 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14524 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14525 as a macro and a compat symbol.
14526 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14527 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14528 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14529 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14530 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14531 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14533 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14535 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14537 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14539 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14541 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14543 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14544 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14547 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14551 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14553 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14554 trailing whitespace removed.
14555 * scripts/config.guess: Update to version 2013-11-29.
14556 * scripts/config.sub: Update to version 2013-10-01.
14558 * math/auto-libm-test-in: Add tests of sincos.
14559 * math/auto-libm-test-out: Regenerated.
14560 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14561 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14563 (func_calc_desc): Add mpfr_f_11 union field.
14564 (test_functions): Add sincos.
14565 (calc_generic_results): Handle mpfr_f_11.
14566 * sysdeps/i386/fpu/libm-test-ulps: Update.
14567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14569 2013-12-19 Andreas Schwab <schwab@suse.de>
14571 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14573 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14574 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14575 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14577 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14579 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14580 * sysdeps/i386/fpu/libm-test-ulps: Update.
14581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14584 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14585 round-to-nearest mode when using frndint.
14586 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14587 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14588 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14590 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14592 * math/auto-libm-test-out: Regenerated.
14593 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14594 (TEST_COND_x86): Likewise.
14595 (expm1_tonearest_test_data): New array.
14596 (expm1_test_tonearest): New function.
14597 (expm1_towardzero_test_data): New array.
14598 (expm1_test_towardzero): New function.
14599 (expm1_downward_test_data): New array.
14600 (expm1_test_downward): New function.
14601 (expm1_upward_test_data): New array.
14602 (expm1_test_upward): New function.
14603 (main): Run the new test functions.
14604 * sysdeps/i386/fpu/libm-test-ulps: Update.
14605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14607 * include/features.h: Update comment documenting feature test
14608 macros. Mention _DEFAULT_SOURCE in comment.
14609 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14610 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14611 _BSD_SOURCE and _SVID_SOURCE.
14612 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14613 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14614 !_SVID_SOURCE]: Likewise.
14615 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14616 (__USE_POSIX_IMPLICITLY): Define.
14617 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14618 (_POSIX_SOURCE): Undefine and redefine.
14619 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14620 (_POSIX_C_SOURCE): Likewise.
14621 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14622 (Feature Test Macros): Update documentation of default features.
14624 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14626 * benchtests/Makefile: Add bench-strtok.
14627 * benchtests/bench-strtok.c: New file: strtok benchtest.
14629 2013-12-19 Allan McRae <allan@archlinux.org>
14631 * manual/install.texi: Suppress menu for plain text output.
14632 * INSTALL: Regenerated.
14634 2013-12-18 Brooks Moses <bmoses@google.com>
14637 * misc/getauxval.c: Include errno.h.
14638 (__getauxval): Set errno to ENOENT if the requested type is not
14640 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14641 don't declare with __attribute_const__.
14642 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14643 * manual/startup.texi: Document that getauxval sets errno.
14645 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14647 * math/auto-libm-test-in: Add tests of jn and yn.
14648 * math/auto-libm-test-out: Regenerated.
14649 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14650 (yn_test_data): Likewise.
14651 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14653 (func_calc_desc): Add mpfr_if_f union field.
14654 (FUNC_mpfr_if_f): New macro.
14655 (test_functions): Add jn and yn.
14656 (calc_generic_results): Assert type of second input for
14657 mpfr_ff_f. Handle mpfr_if_f.
14658 (output_for_one_input_case): Disable all checking for arguments
14659 fitting floating-point types in case of an integer argument.
14660 * sysdeps/i386/fpu/libm-test-ulps: Update.
14661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14664 Don't expect fegetround reference in libm.so.
14666 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14668 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14669 $(config-cflags-nofma).
14671 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14673 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14674 * math/auto-libm-test-out: Regenerated.
14677 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14678 to determine exponent and adjust argument to have exponent of -1.
14679 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14681 * math/auto-libm-test-out: Regenerated.
14682 * sysdeps/i386/fpu/libm-test-ulps: Update.
14683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14685 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14687 * manual/probes.texi: Remove cases when per-thread arenas are
14690 2013-12-18 Andreas Schwab <schwab@suse.de>
14692 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14693 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14694 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14695 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14696 * sysdeps/i386/i686/multiarch/Makefile: Update.
14697 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14699 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14701 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14702 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14704 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14707 Support TZ transition times < 00:00:00.
14708 This is needed for version-3 tz-format files; it supports time
14709 stamps past 2037 for America/Godthab (the only entry in the tz
14710 database for which this change is relevant).
14711 * manual/time.texi (TZ Variable): Document transition times
14712 from -167:59:59 through -00:00:01.
14713 * time/tzset.c (tz_rule): Time of day is now signed.
14714 (__tzset_parse_tz): Parse negative time of day.
14716 Document TZ transition times >= 25:00:00.
14717 * manual/time.texi (TZ Variable): Document transition times from
14718 25:00:00 through 167:59:59. These are already supported, and this
14719 support will help with version-3 tz-format files.
14721 * manual/time.texi (TZ Variable): Modernize North America example
14722 to reflect current (i.e., 2007-and-later) daylight saving rules.
14724 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14726 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14728 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14729 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14732 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14733 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14734 * sysdeps/unix/bsd/clock.c: Likewise.
14735 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14736 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14737 * sysdeps/unix/bsd/init-posix.c: Likewise.
14738 * sysdeps/unix/bsd/poll.c: Likewise.
14739 * sysdeps/unix/bsd/ptsname.c: Likewise.
14740 * sysdeps/unix/bsd/seekdir.c: Likewise.
14741 * sysdeps/unix/bsd/setegid.c: Likewise.
14742 * sysdeps/unix/bsd/seteuid.c: Likewise.
14743 * sysdeps/unix/bsd/setgid.c: Likewise.
14744 * sysdeps/unix/bsd/setrgid.c: Likewise.
14745 * sysdeps/unix/bsd/setruid.c: Likewise.
14746 * sysdeps/unix/bsd/setsid.c: Likewise.
14747 * sysdeps/unix/bsd/setuid.c: Likewise.
14748 * sysdeps/unix/bsd/sigaction.c: Likewise.
14749 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14750 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14751 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14752 * sysdeps/unix/bsd/telldir.c: Likewise.
14753 * sysdeps/unix/bsd/times.c: Likewise.
14754 * sysdeps/unix/bsd/usleep.c: Likewise.
14756 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14757 ($(objpfx)libbsd-compat.a): Remove rule.
14759 * include/features.h (__FAVOR_BSD): Do not define.
14760 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14761 features conflicting with POSIX.
14762 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14763 (_BSD_SOURCE): Remove description of not being a subset of other
14764 feature test macros.
14765 * manual/job.texi (getpgrp): Do not document BSD version.
14766 (getpgid): Do not document by reference to BSD getpgrp.
14767 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14768 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14769 * signal/signal.h [__FAVOR_BSD]: Likewise.
14770 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14771 instead of making contents conditional on [__FAVOR_BSD].
14772 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14774 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14778 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14781 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14782 values below 2**-450, not 2**-500.
14783 * math/auto-libm-test-in: Don't allow spurious underflow from
14785 * math/auto-libm-test-out: Regenerated.
14789 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14790 values of ha and hb and sort them after adjusting subnormal
14792 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14794 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14795 values of ea and eb and sort them after adjusting subnormal
14797 * math/auto-libm-test-in: Do not expect some hypot tests of
14798 subnormals to fail. Add more hypot tests.
14799 * math/auto-libm-test-out: Regenerated.
14801 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14804 * sysdeps/sh/s_fma.c: New file.
14805 * sysdeps/sh/s_fmaf.c: New file.
14806 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14808 * sysdeps/sh/Implies: Add sh/soft-fp.
14810 2013-12-16 Roland McGrath <roland@hack.frob.com>
14812 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14813 level of indirection to members `objname', `errstring', `malloced'.
14814 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14815 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14816 it as the __longjmp argument (just pass 1 instead).
14817 (_dl_catch_error): Initialize C with argument pointers and address of
14818 volatile local ERRCODE rather than copying values out of C at return.
14820 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14822 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14823 * math/auto-libm-test-out: Regenerated.
14824 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14825 (hypot_test_data): Likewise.
14826 (pow_test_data): Likewise.
14827 (pow_tonearest_test_data): Likewise.
14828 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14830 (func_calc_desc): Add mpfr_ff_f union field.
14831 (FUNC_mpfr_ff_f): New macro.
14832 (test_functions): Add atan2, hypot and pow.
14833 (special_fill_min): New function.
14834 (special_fill_minus_min): Likewise.
14835 (special_fill_min_subnorm): Likewise.
14836 (special_fill_minus_min_subnorm): Likewise.
14837 (special_real_inputs): Add min, -min, min_subnorm and
14839 (calc_generic_results): Handle mpfr_ff_f.
14840 * sysdeps/i386/fpu/libm-test-ulps: Update.
14841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14843 2013-12-16 Will Newton <will.newton@linaro.org>
14845 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14846 (Aligned Memory Blocks): Add documentation for aligned_alloc
14847 and suggest it as an alternative to posix_memalign.
14848 (Hooks for Malloc): Document __memalign_hook is also called
14849 for aligned_alloc. (Summary of Malloc): Add summary for
14850 aligned alloc. Document __memalign_hook is also called
14853 2013-12-16 Will Newton <will.newton@linaro.org>
14855 * manual/memory.texi (Malloc Examples): Clarify default
14856 alignment documentation. Suggest posix_memalign rather
14857 than memalign or valloc.
14858 (Aligned Memory Blocks): Remove suggestion to use memalign
14859 or valloc. Remove obsolete comment about BSD.
14860 Document memalign errno values and mark the function obsolete.
14861 Document posix_memalign returned error codes. Mark valloc
14862 as obsolete. (Hooks for Malloc): __memalign_hook is also
14863 called for posix_memalign and valloc.
14864 (Summary of Malloc): Add posix_memalign to function summary.
14865 __memalign_hook is also called for posix_memalign and valloc.
14867 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14869 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14873 (sloww): Use mynumber union. Expand ternary operator into
14874 if-else statements.
14875 (cslow): use mynumber union.
14877 2013-12-16 Allan McRae <allan@archlinux.org>
14879 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14880 * configure: Regenerated.
14882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14885 * configure.ac: Added --enable-maintainer-mode. Check for
14886 autoconf when enabled.
14887 * configure: Regenerated.
14889 * nscd/nscd.service: New file.
14890 * nscd/nscd.tmpfiles: New file.
14892 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14895 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14896 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14897 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14898 (strstr): Add __strstr_sse2_unaligned ifunc.
14899 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14900 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14901 (strcasestr): Remove __strcasestr_sse42 ifunc.
14902 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14906 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14908 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14909 * sysdeps/sh/bits/fenv.h: ... here.
14910 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14912 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14914 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14917 hypotf multiarch implementations.
14918 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14919 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14921 multiarch hypot for PPC64.
14922 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14923 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14925 multiarch hypotf for PPC64.
14927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14928 modff multiarch implementations.
14929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14932 multiarch modf for PPC64.
14933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14936 multiarch modff for PPC64.
14938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14939 and logl multiarch implementations.
14940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14943 multiarch logb for PPC64.
14944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14947 multiarch logb for PPC64.
14948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14951 multiarch logb for PPC64.
14953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14954 isinff multiarch implementation.
14955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14959 multiarch isinf for PPC64.
14960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14963 multiarch isinff for PPC64.
14965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14966 finitef multiarch implementation.
14967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14971 multiarch finite for PPC64.
14972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14975 multiarch finitef for PPC64.
14977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14978 lrint multiarch implementation.
14979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14983 multiarch llrint for PPC64.
14984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14985 multiarch lrint for PPC64.
14987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14988 copysignf multiarch implementation.
14989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14994 multiarch copysign for PPC64.
14995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14996 multiarch copysignf for PPC64.
14998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14999 multiarch implementation.
15000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15008 multiarch llround for PPC64.
15009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15010 multiarch trunc for PPC64.
15011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15012 multiarch truncf for PPC64.
15014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15015 multiarch implementation.
15016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15024 multiarch llround for PPC64.
15025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15026 multiarch round for PPC64.
15027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15028 multiarch roundf for PPC64.
15030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15031 multiarch implementation.
15032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15040 multiarch llround for PPC64.
15041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15042 multiarch floor for PPC64.
15043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15044 multiarch floorf for PPC64.
15046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15047 multiarch implementation.
15048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15056 multiarch llround for PPC64.
15057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15058 multiarch ceil for PPC64.
15059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15060 multiarch ceilf for PPC64.
15062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15063 multiarch implementation.
15064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15071 multiarch llround for PPC64.
15072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15073 multiarch lround for PPC64.
15075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15076 multiarch implementation.
15077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15084 multiarch isnan for PPC64.
15085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15086 multiarch isnanf for PPC64.
15088 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15089 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15090 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15091 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15092 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15095 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15096 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15097 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15101 multiarch implementations.
15102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15103 (__libc_ifunc_impl_list): Likewise.
15104 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15105 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15106 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15107 multiarch stpcpy for PPC64.
15109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15110 multiarch implementations.
15111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15112 (__libc_ifunc_impl_list): Likewise.
15113 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15114 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15115 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15116 multiarch strcpy for PPC64.
15118 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15119 redefine function name.
15120 (_wordcopy_fwd_dest_aligned): Likewise.
15121 (_wordcopy_bwd_aligned): Likewise.
15122 (_wordcopy_bwd_dest_aligned): Likewise.
15123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15124 multiarch implementations.
15125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15126 (__libc_ifunc_impl_list): Likewise.
15127 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15128 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15129 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15130 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15131 multiarch wcscpy for PPC64.
15133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15134 multiarch implementations.
15135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15136 (__libc_ifunc_impl_list): Likewise.
15137 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15138 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15139 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15140 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15141 multiarch wcscpy for PPC64.
15143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15144 multiarch implementations.
15145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15146 (__libc_ifunc_impl_list): Likewise.
15147 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15148 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15149 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15150 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15151 multiarch wcsrchr for PPC64.
15153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15154 multiarch implementations.
15155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15156 (__libc_ifunc_impl_list): Likewise.
15157 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15158 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15159 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15160 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15161 multiarch wcschr for PPC64.
15163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15164 multiarch implementations.
15165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15166 (__libc_ifunc_impl_list): Likewise.
15167 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15168 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15169 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15170 multiarch strchrnul for PPC64.
15172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15175 (__libc_ifunc_impl_list): Likewise.
15176 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15177 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15178 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15179 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15185 (__libc_ifunc_impl_list): Likewise.
15186 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15187 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15188 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15189 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15193 multiarch implementations.
15194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15195 (__libc_ifunc_impl_list): Likewise.
15196 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15197 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15198 strncasecmp for PPC64.
15199 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15200 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15201 multiarch strncasecmp_l for PPC64.
15203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15204 multiarch implementations.
15205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15206 (__libc_ifunc_impl_list): Likewise.
15207 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15208 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15209 multiarch strcasecmp for PPC64.
15210 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15212 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15213 multiarch strcasecmp_l for PPC64.
15215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15218 (__libc_ifunc_impl_list): Likewise.
15219 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15220 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15221 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15227 (__libc_ifunc_impl_list): Likewise.
15228 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15229 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15230 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15236 (__libc_ifunc_impl_list): Likewise.
15237 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15238 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15239 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15240 rawmemrchr for PPC64.
15242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15245 (__libc_ifunc_impl_list): Likewise.
15246 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15247 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15248 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15254 (__libc_ifunc_impl_list): Likewise.
15255 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15256 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15257 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15263 (__libc_ifunc_impl_list): Likewise.
15264 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15265 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15266 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15269 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15270 avoid cretion of __bzero symbol.
15271 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15273 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15275 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15278 multiarch implementations.
15279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15280 (__libc_ifunc_impl_list): Likewise.
15281 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15282 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15283 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15284 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15286 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15287 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15288 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15289 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15290 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15292 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15294 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15298 (__libc_ifunc_impl_list): Likewise.
15299 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15300 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15301 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15302 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15306 multiarch for POWER/PPC64.
15307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15308 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15309 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15310 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15315 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15318 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15319 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15320 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15321 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15322 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15323 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15324 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15325 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15326 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15327 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15328 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15329 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15330 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15331 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15332 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15341 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15343 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15345 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15347 * benchtests/Makefile (bench): Add exp2 and log2.
15348 (LDLIBS-bench-exp2): Add -lm.
15349 (LDLIBS-bench-log2): Likewise.
15350 * benchtests/exp2-inputs: New inputs file.
15351 * benchtests/log2-inputs: New inputs file.
15352 * benchtests/log-inputs: Add new inputs.
15353 * benchtests/tan-inputs: Likewise.
15355 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15357 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15359 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15360 (csloww2): ... from here.
15362 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15363 instead of structures.
15364 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15365 (POLYNOMIAL): Likewise.
15366 (TAYLOR_SLOW): Likewise.
15372 (sloww1); Likewise.
15373 (sloww2): Likewise.
15374 (bsloww1): Likewise.
15375 (bsloww2): Likewise.
15376 (cslow2): Likewise.
15377 (csloww): Likewise.
15378 (csloww1): Likewise.
15379 (csloww2): Likewise.
15381 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15383 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15384 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15385 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15386 * malloc/hooks.c (realloc_check): Likewise.
15388 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15389 * malloc/arena.c: Remove PER_THREAD conditional.
15390 [!PER_THREAD]: Remove code.
15391 (ptmalloc_unlock_all2): Likewise.
15392 (ptmalloc_init): Likewise.
15393 (_int_new_arena): Likewise.
15394 (arena_get2): Likewise.
15395 * malloc/hooks.c (__malloc_get_state): Likewise.
15396 (__malloc_set_state): Likewise.
15397 * malloc/malloc.c: Likewise.
15398 (struct malloc_state): Likewise.
15399 (struct malloc_par): Likewise.
15400 (__libc_realloc): Likewise.
15401 (__libc_mallopt): Likewise.
15403 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15405 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15407 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15409 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15410 macro to a function. Check for zero perturb_byte.
15411 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15413 * malloc/malloc.c: (force_reg): Remove.
15414 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15415 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15416 force_reg by atomic_forced_read.
15417 * malloc/arena.c (ptmalloc_init): Likewise.
15418 * malloc/hooks.c (top_check): Likewise.
15420 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15424 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15428 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15430 * math/auto-libm-test-in: Add tests of lgamma.
15431 * math/auto-libm-test-out: Regenerated.
15432 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15433 (M_LOG_2_SQRT_PIl): Likewise.
15434 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15435 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15437 (func_calc_desc): Add mpfr_f_f1 union field.
15438 (ARGS1): New macro.
15446 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15447 (test_functions): Add lgamma.
15448 (calc_generic_results): Handle mpfr_f_f1.
15449 * sysdeps/i386/fpu/libm-test-ulps: Update.
15450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15452 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15454 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15455 __mpn_add_n for PowerPC64/POWER7.
15456 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15457 __mpn_sub_n for PowerPC64/POWER7.
15459 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15460 __mpn_addmul_1 for PowerPC64.
15461 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15462 __mpn_submul_1 for PowerPC64.
15463 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15465 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15468 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15471 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15473 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15475 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15477 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15478 add multiarch folders.
15479 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15480 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15481 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15482 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15483 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15484 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15485 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15486 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15487 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15488 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15489 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15498 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15504 multiarch __ieee754_hypot for PowerPC32.
15505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15510 multiarch __ieee754_hypotf for PowerPC32.
15512 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15513 long_double_symbol only if __logbl is defined.
15514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15515 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15517 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15519 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15520 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15521 path for implementation.
15522 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15523 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15525 logb, and logbl multiarch implementations for PowerPC32.
15526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15531 multiarch logb for PowerPC32.
15532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15537 multiarch logbf for PowerPC32.
15538 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15542 multiarch logbl implementation for PowerPC32.
15544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15545 and modff multiarch implementations.
15546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15551 multiarch modf for PowerPC32.
15552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15557 multiarch modff for PowerPC32.
15559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15560 and lrintf multiarch implementations.
15561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15566 multiarch lrint for PowerPC32.
15567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15568 file: multiarch lrintf for PowerPC32.
15570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15571 and lroundf multiarch implementations.
15572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15579 multiarch lround for PowerPC32.
15580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15581 file: multiarch lroundf for PowerPC32.
15583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15584 copysign and copysignf multiarch implementations.
15585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15590 file: multiarch copysign for PowerPC32.
15591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15592 file: multiarch copysignf for PowerPC32.
15594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15595 and truncf multiarch implementations.
15596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15601 multiarch trunc for PowerPC32.
15602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15607 multiarch truncf for PowerPC32.
15609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15610 and roundf multiarch implementations.
15611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15616 multiarch round for PowerPC32.
15617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15622 multiarch roundf for PowerPC32.
15624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15625 and floorf multiarch implementations.
15626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15631 multiarch floor for PowerPC32.
15632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15637 multiarch floorf for PowerPC32.
15639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15640 and ceilf multiarch implementations.
15641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15646 multiarch ceil for PowerPC32.
15647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15652 multiarch ceilf for PowerPC32.
15654 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15656 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15657 FINITEF is defined.
15658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15659 and finitef multiarch implementations.
15660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15665 multiarch finite for PowerPC32.
15666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15669 file: multiarch finitef for PowerPC32.
15671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15672 and isinff multiarch implementations.
15673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15678 multiarch isinf for PowerPC32.
15679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15682 multiarch isinff for PowerPC32.
15684 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15685 alias when __isnan is defined.
15686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15687 and isnanf multiarch implementations.
15688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15697 multiarch isnan for PowerPC32.
15698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15703 multiarch isnanf for PowerPC32.
15705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15706 and sqrtf multiarch implementations.
15707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15712 multiarch sqrt for PowerPC32.
15713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15718 multiarch sqrtf for PowerPC32.
15720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15721 and llroundf multiarch implementations.
15722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15729 file: multiarch llround for PowerPC32.
15730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15731 file: multiarch llroundf for PowerPC32.
15733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15734 multiarch PowerPC32 fpu implementations.
15735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15740 multiarch llrint for PowerPC32.
15741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15750 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15752 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15754 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15756 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15757 multiarch wordcopy for PPC32.
15758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15761 (__libc_ifunc_impl_list): Likewise.
15762 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15763 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15764 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15765 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15766 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15767 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15769 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15777 multiarch wcscpy for PPC32.
15778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15781 (__libc_ifunc_impl_list): Likewise.
15782 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15783 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15784 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15785 sysdeps/powerpc/power6/wcscpy.c.
15787 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15795 multiarch wcsrchr for PPC32.
15796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15799 (__libc_ifunc_impl_list): Likewise.
15800 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15801 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15802 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15803 sysdeps/powerpc/power6/wcsrchr.c.
15805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15809 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15811 multiarch wcschr for PPc32.
15812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15815 (__libc_ifunc_impl_list): Likewise.
15816 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15817 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15818 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15819 sysdeps/powerpc/power6/wcschr.c.
15821 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15822 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15824 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15825 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15826 file: multiarch strchr for PPC32.
15827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15830 (__libc_ifunc_impl_list): Likewise.
15832 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15834 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15836 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15838 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15839 multiarch strchrnul for PPC32.
15840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15843 (__libc_ifunc_impl_list): Likewise.
15845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15848 multiarch strncasecmp for PPC32.
15849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15852 multiarch strncasecmp_l for PPC32.
15853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15854 strncasecmp multiarch objects.
15855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15856 (__libc_ifunc_impl_list): Likewise.
15858 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15860 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15861 multiarch strncasecmp for PPC32.
15862 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15864 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15865 multiarch strcasecmp_l for PPC32.
15866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15869 (__libc_ifunc_impl_list): Likewise.
15871 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15875 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15876 multiarch strncmp for PPC32.
15877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15880 (__libc_ifunc_impl_list): Likewise.
15882 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15883 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15885 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15886 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15890 (__libc_ifunc_impl_list): Likewise.
15892 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15894 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15896 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15900 (__libc_ifunc_impl_list): Likewise.
15902 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15904 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15906 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15907 multiarch rawmemchr for PPC32.
15908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15911 (__libc_ifunc_impl_list): Likewise.
15913 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15915 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15917 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15918 file: memrchr multiarch for PPC32.
15919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15922 (__libc_ifunc_impl_list): Likewise.
15924 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15925 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15927 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15928 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15929 multiarch memchr for PPC32.
15930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15933 (__libc_ifunc_impl_list): Likewise.
15935 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15936 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15938 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15940 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15941 file: multiarch mempcpy for PPC32.
15942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15945 (__libc_ifunc_impl_list): Likewise.
15947 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15948 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15949 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15950 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15951 multiarch bzero for PPC32.
15952 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15954 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15956 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15957 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15958 file: multiarch memset for PPC32.
15959 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15961 memset multiarch objects.
15962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15963 (__libc_ifunc_impl_list): Likewise.
15965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15970 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15974 (__libc_ifunc_impl_list): Likewise.
15976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15977 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15982 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15985 multiarch memcpy for PPC32.
15986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15989 (__libc_ifunc_impl_list): Likewise.
15991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15992 support multiarch for POWER/PPC32.
15993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15995 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15997 Implies file to make multiarch folder appers before the fpu and
15998 default folder for power4 configuration.
16000 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16002 * scripts/bench.pl: Append volatile keyword to type.
16004 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16006 * sysdeps/sh/sotruss-lib.c: New file.
16007 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16009 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16013 2013-12-05 Joseph Myers <joseph@codesourcery.com>
16016 * math/w_tgamma.c: Include <errno.h>.
16017 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16018 * math/w_tgammaf.c: Include <errno.h>.
16019 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16020 * math/w_tgammal.c: Include <errno.h>.
16021 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16022 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16023 underflow. Add more tgamma tests.
16024 * math/auto-libm-test-out: Regenerated.
16025 * sysdeps/i386/fpu/libm-test-ulps: Update.
16026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16028 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16029 sin, sinh, tan, tanh, tgamma, y0 and y1.
16030 * math/auto-libm-test-out: Regenerated.
16031 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16032 (TEST_COND_x86): Likewise.
16033 (M_E2l): Remove macro.
16035 (M_2_SQRT_PIl): Likewise.
16036 (M_SQRT_PIl): Likewise.
16037 (M_1_DIV_El): Likewise.
16038 (log_test_data): Use AUTO_TESTS_f_f.
16039 (log10_test_data): Likewise.
16040 (log1p_test_data): Likewise.
16041 (log2_test_data): Likewise.
16042 (sin_test_data): Likewise.
16043 (sin_tonearest_test_data): Likewise.
16044 (sin_towardzero_test_data): Likewise.
16045 (sin_downward_test_data): Likewise.
16046 (sin_upward_test_data): Likewise.
16047 (sinh_test_data): Likewise.
16048 (sinh_tonearest_test_data): Likewise.
16049 (sinh_towardzero_test_data): Likewise.
16050 (sinh_downward_test_data): Likewise.
16051 (sinh_upward_test_data): Likewise.
16052 (tan_test_data): Likewise.
16053 (tan_tonearest_test_data): Likewise.
16054 (tan_towardzero_test_data): Likewise.
16055 (tan_downward_test_data): Likewise.
16056 (tan_upward_test_data): Likewise.
16057 (tanh_test_data): Likewise.
16058 (tgamma_test_data): Likewise.
16059 (y0_test_data): Likewise.
16060 (y1_test_data): Likewise.
16061 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16062 (special_real_inputs): Add pi/4.
16063 * sysdeps/i386/fpu/libm-test-ulps: Update.
16064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16066 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16068 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16069 "longjmp_target" static probes.
16070 (__longjmp): Rename to __longjmp_symbol.
16071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16072 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16073 on which longjmp to generate.
16074 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16075 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16077 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16078 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16079 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16080 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16081 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16082 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16084 __longjmp_symbol based on which __longjmp to generate.
16085 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16087 (setjmp): Rename to setjmp_symbol.
16088 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16089 (_setjmp): Rename to _setjmp_symbol.
16090 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16091 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16092 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16093 which setjmp to generate.
16094 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16095 "longjmp_target" static probes.
16097 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16099 * benchtests/README: Add note about output arguments.
16100 * benchtests/bench-sincos.c: Remove file.
16101 * benchtests/sincos-inputs: New file.
16102 * scripts/bench.pl: Identify output arguments and define
16103 static variables for them.
16105 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16108 * Makefile (INSTALL): Add install-plain.texi as the primary
16110 * manual/install-plain.texi: New file.
16111 * manual/install.texi: Include node directive only for
16112 non-plaintext output.
16114 2013-12-04 Joseph Myers <joseph@codesourcery.com>
16116 * stdlib/longlong.h: Update from GCC.
16120 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16121 * math/w_j0f.c (y0f): Likewise.
16122 * math/w_j0l.c (__y0l): Likewise.
16123 * math/w_j1.c (y1): Likewise.
16124 * math/w_j1f.c (y1f): Likewise.
16125 * math/w_j1l.c (__y1l): Likewise
16126 * math/w_jn.c (yn): Likewise.
16127 * math/w_jnf.c (ynf): Likewise.
16128 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16129 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16130 value for Bessel function domain errors outside _SVID_ mode.
16131 Adjust sign of return value for yn (negative integer, 0).
16132 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16133 by zero in return for negative x and set sign appropriately for
16135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16136 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16137 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16138 expectations in error cases.
16139 (y1_test_data): Likewise.
16140 (yn_test_data): Likewise.
16141 * sysdeps/i386/fpu/libm-test-ulps: Update.
16142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16146 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16147 "64" to "64-v1". Add "64-v2".
16148 (abi-64-options): Rename to ...
16149 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16150 (abi-64-condition): Rename to ...
16151 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16152 (abi-64-ld-soname): Rename to ...
16153 (abi-64-v1-ld-soname): ... this.
16154 (abi-64-v2-options): Define.
16155 (abi-64-v2-condition): Likewise.
16156 (abi-64-v2-ld-soname): Likewise.
16157 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16158 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16163 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16164 Alan Modra <amodra@gmail.com>
16166 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16167 New versions for use with the ELFv2 ABI.
16168 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16169 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16171 (struct La_ppc64v2_retval): Likewise.
16172 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16173 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16174 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16175 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16176 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16177 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16178 Do not save or restore CR.
16179 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16180 (_dl_profile_resolve): Do no save or restore CR. Support extended
16181 return values for ELFv2 ABI. Fix location of FPR return registers.
16182 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16183 updated values for _CALL_ELF == 2.
16184 (La_regs, La_retval, int_retval): Likewise.
16186 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16188 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16189 (FRAME_MIN_SIZE_PARM): Likewise.
16190 (FRAME_BACKCHAIN): Likewise.
16191 (FRAME_CR_SAVE): Likewise.
16192 (FRAME_LR_SAVE): Likewise.
16193 (FRAME_TOC_SAVE): Likewise.
16194 (FRAME_PARM_SAVE): Likewise.
16195 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16196 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16197 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16198 (call_mcount_parm_offset): New macro.
16199 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16200 (PROF): Use symbolic stack frame offsets.
16201 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16202 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16203 Redefine in terms of FRAME_MIN_SIZE.
16204 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16205 (_dl_profile_resolve): Likewise. Update comment.
16206 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16207 symbols stack frame offsets.
16208 (__sigsetjmp): Likewise.
16209 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16210 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16211 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16212 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16215 (FRAME_BACKCHAIN): Remove.
16216 (FRAME_CR_SAVE): Likewise.
16217 (FRAME_LR_SAVE): Likewise.
16218 (FRAME_COMPILER_DW): Likewise.
16219 (FRAME_LINKER_DW): Likewise.
16220 (FRAME_TOC_SAVE): Likewise.
16221 (FRAME_PARM_SAVE): Likewise.
16222 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16223 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16224 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16226 (CHECK_SP): Use symbolic stack frame offsets.
16227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16228 zone" instead of caller's parameter save area for temp storage.
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16230 Likewise. Also, use symbolic stack frame offsets.
16231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16232 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16233 our own stack frame instead of the caller's.
16234 (__socket): Use symbolic stack frame offsets.
16236 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16237 Alan Modra <amodra@gmail.com>
16239 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16241 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16242 (PPC64_LOCAL_ENTRY_OFFSET): Define.
16243 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16245 (elf_machine_fixup_plt): Call it.
16246 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16248 (elf_machine_rela): Update call to elf_machine_plt_conflict.
16249 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16250 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16251 r2 before calling target.
16253 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16254 Alan Modra <amodra@gmail.com>
16256 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16257 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16258 versions of macros to support ELFv2 ABI.
16259 (LOCALENTRY): New macro.
16260 (ENTRY, EALIGN): Use it.
16261 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16262 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16263 fall through into ENTRY entry point.
16264 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16265 Only define if _CALL_ELF != 2.
16267 (elf_machine_matches_host): Verify ABI version matches.
16268 (RTLD_START): Use LOCALENTRY.
16269 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16270 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16271 (PLT_ENTRY_WORDS): New macro.
16272 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16273 (elf_machine_runtime_setup): Support ELFv2 ABI.
16274 (elf_machine_fixup_plt): Likewise.
16275 (elf_machine_plt_conflict): Likewise.
16276 (resolve_ifunc): Likewise.
16277 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16278 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16281 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16283 (makecontext): Support ELFv2 ABI.
16284 * elf/elf.h (EF_PPC64_ABI): Define.
16286 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16288 * sysdeps/powerpc/powerpc64/sysdep.h
16289 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16290 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16291 (ENTRY) [ASSEMBLER]: ... but instead here ...
16292 (EALIGN) [ASSEMBLER]: ... and here.
16293 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16294 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16295 (ENTRY_2) [!ASSEMBLER]: Use it.
16296 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16297 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16298 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16299 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16300 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16302 Use PPC64_LOAD_FUNCPTR.
16304 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16306 2013-12-04 Alan Modra <amodra@gmail.com>
16308 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16309 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16310 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16311 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16314 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16315 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16316 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16317 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16318 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16320 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16323 (__makecontext): Fix incorrect CFI when backtracing out of
16324 context created via makecontext.
16325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16326 (__setcontext): Fix incorrect CFI during switch to new context.
16327 (__novec_setcontext): Likewise.
16329 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16332 * time/strptime_l.c (__strptime_internal): Allow modifiers
16334 * time/tst-strptime.c (day_tests): Add testcase.
16336 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16338 * scripts/bench.pl: Skip over blank lines.
16340 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16343 * manual/time.texi (Calendar Time): Clarify what timezone functions
16346 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16350 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16352 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16354 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16355 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16356 * debug/memset_chk.c (__memset_chk): Likewise.
16357 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16358 * debug/strncpy_chk.c: Likewise.
16360 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16364 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16365 (__ieee754_exp): For possibly underflowing results, check size of
16366 result and force underflow exception if required.
16367 * math/auto-libm-test-in: Add more tests of exp.
16368 * math/auto-libm-test-out: Regenerated.
16369 * sysdeps/i386/fpu/libm-test-ulps: Update.
16370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16373 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16374 * math/w_exp2f.c (__exp2f): Likewise.
16375 * math/w_exp2l.c (__exp2l): Likewise.
16376 * math/auto-libm-test-in: Do not allow missing errno on exp2
16378 * math/auto-libm-test-out: Regenerated.
16380 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16383 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16384 handle filename validation.
16385 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16388 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16391 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16392 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16393 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16395 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16396 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16397 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16398 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16399 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16400 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16401 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16402 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16403 Add more erfc tests.
16404 * math/auto-libm-test-out: Regenerated.
16405 * sysdeps/i386/fpu/libm-test-ulps: Update.
16406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16408 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16409 exp2, expm1, j0 and j1.
16410 * math/auto-libm-test-out: Regenerated.
16411 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16412 (erfc_test_data): Likewise.
16413 (exp_test_data): Likewise.
16414 (exp_tonearest_test_data): Likewise.
16415 (exp_towardzero_test_data): Likewise.
16416 (exp_downward_test_data): Likewise.
16417 (exp_upward_test_data): Likewise.
16418 (exp10_test_data): Likewise.
16419 (exp2_test_data): Likewise.
16420 (expm1_test_data): Likewise.
16421 (j0_test_data): Likewise.
16422 (j1_test_data): Likewise.
16423 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16424 (input_flag_type): Add flag_xfail_rounding.
16425 (input_flags): Add xfail-rounding.
16426 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16427 (output_for_one_input_case): Handle flag_xfail_rounding.
16428 * sysdeps/i386/fpu/libm-test-ulps: Update.
16429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16431 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16434 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16437 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16440 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16441 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16442 (STAP_PROBE0): New macro.
16443 (STAP_PROBE1): Likewise.
16444 (STAP_PROBE2): Likewise.
16445 (STAP_PROBE3): Likewise.
16446 (STAP_PROBE4): Likewise.
16448 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16450 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16452 2013-12-02 Steve Ellcey <sellcey@mips.com>
16454 * benchtests/Makefile (bench): Add sqrt.
16455 (LDLIBS-bench-sqrt): New.
16456 * benchtests/sqrt-input: New.
16458 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16460 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16461 (GAIH_EAI): Likewise.
16462 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16463 (gaih_inet): Likewise.
16464 (getaddrinfo): Don't use GAIH_EAI.
16466 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16467 (struct gaih): Remove definition.
16469 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16471 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16472 Use HERRNOP directly.
16474 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16478 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16480 * math/gen-auto-libm-tests.c (test_functions): Add more
16481 single-argument functions.
16482 (special_fill_pi_2): New function.
16483 (special_fill_minus_pi_2): Likewise.
16484 (special_fill_pi_6): Likewise.
16485 (special_fill_minus_pi_6): Likewise.
16486 (special_fill_pi_3): Likewise.
16487 (special_fill_2pi_3): Likewise.
16488 (special_fill_e): Likewise.
16489 (special_fill_1_e): Likewise.
16490 (special_fill_e_minus_1): Likewise.
16491 (special_real_inputs): Add more special inputs.
16492 (output_for_one_input_case): Do not require ERANGE on underflow to
16493 zero if round-to-nearest result does not underflow to zero, unless
16494 exact results required.
16495 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16496 atan, atanh, cbrt, cos and cosh.
16497 * math/auto-libm-test-out: Regenerated.
16498 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16499 (acos_tonearest_test_data): Likewise.
16500 (acos_towardzero_test_data): Likewise.
16501 (acos_downward_test_data): Likewise.
16502 (acos_upward_test_data): Likewise.
16503 (acosh_test_data): Likewise.
16504 (asin_test_data): Likewise.
16505 (asin_tonearest_test_data): Likewise.
16506 (asin_towardzero_test_data): Likewise.
16507 (asin_upward_test_data): Likewise.
16508 (asinh_test_data): Likewise.
16509 (atan_test_data): Likewise.
16510 (atanh_test_data): Likewise.
16511 (cbrt_test_data): Likewise.
16512 (cos_test_data): Likewise.
16513 (cos_tonearest_test_data): Likewise.
16514 (cos_towardzero_test_data): Likewise.
16515 (cos_downward_test_data): Likewise.
16516 (cos_upward_test_data): Likewise.
16517 (cosh_test_data): Likewise.
16518 (cosh_tonearest_test_data): Likewise.
16519 (cosh_towardzero_test_data): Likewise.
16520 (cosh_downward_test_data): Likewise.
16521 (cosh_upward_test_data): Likewise.
16522 * sysdeps/i386/fpu/libm-test-ulps: Update.
16523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16525 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16528 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16529 * math/w_exp10f.c (__exp10f): Likewise.
16530 * math/w_exp10l.c (__exp10l): Likewise.
16531 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16532 errno settings in existing tests.
16535 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16536 precision control set to double precision.
16537 * sysdeps/i386/fpu/w_sqrt.c: New file.
16538 * math/auto-libm-test-in: Add more tests.
16539 * math/auto-libm-test-out: Update.
16541 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16542 (sqrt_test_tonearest): New function.
16543 (sqrt_towardzero_test_data): New variable.
16544 (sqrt_test_towardzero): New function.
16545 (sqrt_downward_test_data): New variable.
16546 (sqrt_test_downward): New function.
16547 (sqrt_upward_test_data): New variable.
16548 (sqrt_test_upward): New function.
16549 (main): Call the new functions.
16551 * math/gen-auto-libm-tests.c: New file.
16552 * math/auto-libm-test-in: Likewise.
16553 * math/auto-libm-test-out: New generated file.
16554 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16556 (%beautify): Add generated representations of zero.
16557 (top level): Set $auto_input and call parse_auto_input.
16558 (beautify): Remove trailing "f" from hex float constants.
16559 (parse_args): Handle XFAIL_TEST.
16560 (convert_condition): New function.
16561 (or_value): Likewise.
16562 (or_cond_value): Likewise.
16563 (generate_testfile): Handle AUTO_TESTS_* lines.
16564 (parse_auto_input): New function.
16565 * math/libm-test.inc (XFAIL_TEST): New macro.
16566 (ERRNO_UNCHANGED): Update value.
16567 (ERRNO_EDOM): Likewise.
16568 (ERRNO_ERANGE): Likewise.
16569 (IGNORE_RESULT): Likewise.
16570 (TEST_COND_flt_32): New macro.
16571 (TEST_COND_dbl_64): Likewise.
16572 (TEST_COND_ldbl_96_intel): Likewise.
16573 (TEST_COND_ldbl_96_m68k): Likewise.
16574 (TEST_COND_ldbl_128): Likewise.
16575 (TEST_COND_ldbl_128ibm): Likewise.
16576 (TEST_COND_long32): Likewise.
16577 (TEST_COND_long64): Likewise.
16578 (TEST_COND_before_rounding): Likewise.
16579 (TEST_COND_after_rounding): Likewise.
16580 (enable_test): Handle XFAIL_TEST flag.
16581 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16582 with finite results.
16583 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16584 auto-libm-test-out.
16586 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16587 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16590 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16591 __tls_get_addr_internal instead of __tls_get_offset in order to
16592 avoid GOT pointer dependency. Make rtld export
16593 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16594 __tls_get_addr since we are a __tls_get_offset platform.
16595 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16596 GOT pointer being set up before.
16597 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16599 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16601 * manual/math.texi (Errors in Math Functions): Document accuracy
16605 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16606 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16607 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16608 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16609 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16610 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16611 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16612 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16613 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16614 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16615 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16616 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16617 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16618 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16619 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16620 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16622 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16623 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16624 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16625 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16626 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16628 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16630 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16632 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16633 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16634 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16635 atomic-feupdateenv and flt-rounds.
16636 * sysdeps/powerpc/nofpu/Versions (libc): Add
16637 __atomic_feholdexcept, __atomic_feclearexcept,
16638 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16639 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16640 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16641 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16642 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16647 * manual/arith.texi (FP Exceptions): Document that exceptions may
16648 not be raised when matherr is used.
16649 (Math Error Reporting): Document overflow in directed rounding
16650 modes. Document that errno may not be set when finite values are
16651 returned on overflow. Document intent to set errno on underflow
16652 only for underflow to zero.
16655 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16656 round-to-nearest then adjust result for other rounding modes.
16657 * include/fenv.h (fegetround): Use libm_hidden_proto.
16658 * math/fegetround.c (fegetround): Use libm_hidden_def.
16659 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16660 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16661 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16662 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16664 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16665 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16666 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16667 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16669 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16672 * nss/Versions (libnss_files): Add
16673 _nss_files_gethostbyname3_r.
16674 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16676 (HOST_DB_LOOKUP): Remove macro.
16677 (_nss_files_gethostbyname_r): Implement function without the
16678 HOST_DB_LOOKUP macro.
16679 (_nss_files_gethostbyname2_r): Likewise.
16681 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16683 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16685 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16687 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16688 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16691 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16693 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16694 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16695 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16696 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16697 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16698 __fe_nomask_env_priv and attribute_hidden.
16699 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16700 (libc_feupdateenv_test_ppc): Likewise.
16701 (libc_feresetround_ppc): Likewise.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16703 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16704 compat_symbol macro.
16705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16706 (__fe_nomask_env): Likewise.
16707 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16709 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16711 * string/Makefile: Remove ifunc tests.
16712 * string/test-string.h: Define TEST_IFUNC.
16713 * string/test-bcopy-ifunc.c: Remove.
16714 * string/test-bzero-ifunc.c: Likewise.
16715 * string/test-memccpy-ifunc.c: Likewise.
16716 * string/test-memchr-ifunc.c: Likewise.
16717 * string/test-memcmp-ifunc.c: Likewise.
16718 * string/test-memcpy-ifunc.c: Likewise.
16719 * string/test-memmem-ifunc.c: Likewise.
16720 * string/test-memmove-ifunc.c: Likewise.
16721 * string/test-mempcpy-ifunc.c: Likewise.
16722 * string/test-memrchr-ifunc.c: Likewise.
16723 * string/test-memset-ifunc.c: Likewise.
16724 * string/test-rawmemchr-ifunc.c: Likewise.
16725 * string/test-stpcpy-ifunc.c: Likewise.
16726 * string/test-stpncpy-ifunc.c: Likewise.
16727 * string/test-strcasecmp-ifunc.c: Likewise.
16728 * string/test-strcasestr-ifunc.c: Likewise.
16729 * string/test-strcat-ifunc.c: Likewise.
16730 * string/test-strchr-ifunc.c: Likewise.
16731 * string/test-strchrnul-ifunc.c: Likewise.
16732 * string/test-strcmp-ifunc.c: Likewise.
16733 * string/test-strcpy-ifunc.c: Likewise.
16734 * string/test-strcspn-ifunc.c: Likewise.
16735 * string/test-strlen-ifunc.c: Likewise.
16736 * string/test-strncasecmp-ifunc.c: Likewise.
16737 * string/test-strncat-ifunc.c: Likewise.
16738 * string/test-strncmp-ifunc.c: Likewise.
16739 * string/test-strncpy-ifunc.c: Likewise.
16740 * string/test-strnlen-ifunc.c: Likewise.
16741 * string/test-strpbrk-ifunc.c: Likewise.
16742 * string/test-strrchr-ifunc.c: Likewise.
16743 * string/test-strspn-ifunc.c: Likewise.
16744 * string/test-strstr-ifunc.c: Likewise.
16746 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16748 * benchtests/Makefile: Remove ifunc tests.
16749 * benchtests/bench-string.h: Define TEST_IFUNC.
16750 * benchtests/bench-bcopy-ifunc.c: Remove.
16751 * benchtests/bench-bzero-ifunc.c: Likewise.
16752 * benchtests/bench-memccpy-ifunc.c: Likewise.
16753 * benchtests/bench-memchr-ifunc.c: Likewise.
16754 * benchtests/bench-memcmp-ifunc.c: Likewise.
16755 * benchtests/bench-memcpy-ifunc.c: Likewise.
16756 * benchtests/bench-memmem-ifunc.c: Likewise.
16757 * benchtests/bench-memmove-ifunc.c: Likewise.
16758 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16759 * benchtests/bench-memrchr-ifunc.c: Likewise.
16760 * benchtests/bench-memset-ifunc.c: Likewise.
16761 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16762 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16763 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16764 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16765 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16766 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16767 * benchtests/bench-strcat-ifunc.c: Likewise.
16768 * benchtests/bench-strchr-ifunc.c: Likewise.
16769 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16770 * benchtests/bench-strcmp-ifunc.c: Likewise.
16771 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16772 * benchtests/bench-strcpy-ifunc.c: Likewise.
16773 * benchtests/bench-strcspn-ifunc.c: Likewise.
16774 * benchtests/bench-strlen-ifunc.c: Likewise.
16775 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16776 * benchtests/bench-strncat-ifunc.c: Likewise.
16777 * benchtests/bench-strncmp-ifunc.c: Likewise.
16778 * benchtests/bench-strncpy-ifunc.c: Likewise.
16779 * benchtests/bench-strnlen-ifunc.c: Likewise.
16780 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16781 * benchtests/bench-strrchr-ifunc.c: Likewise.
16782 * benchtests/bench-strsep-ifunc.c: Likewise.
16783 * benchtests/bench-strspn-ifunc.c: Likewise.
16784 * benchtests/bench-strstr-ifunc.c: Likewise.
16786 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16788 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16790 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16792 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16793 * rt/aio.h: Likewise.
16794 * sysdeps/gnu/bits/utmp.h: Likewise.
16795 * sysdeps/gnu/bits/utmpx.h: Likewise.
16796 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16797 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16798 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16799 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16800 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16801 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16802 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16803 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16804 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16805 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16806 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16807 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16808 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16810 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16811 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16812 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16813 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16814 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16815 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16816 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16817 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16818 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16819 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16820 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16822 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16823 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16824 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16825 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16826 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16827 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16828 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16829 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16830 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16831 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16832 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16833 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16834 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16835 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16836 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16837 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16839 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16842 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16843 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16845 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16847 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16848 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16851 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16854 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16855 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16856 (__fesetround): Remove define.
16857 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16858 rounding and exceptions handling.
16859 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16860 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16861 (__fe_nomask_env): Likewise.
16862 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16863 __fegetround instead of fegetround.
16864 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16865 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16867 2013-11-21 Roland McGrath <roland@hack.frob.com>
16869 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16872 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16874 2013-11-21 Meador Inge <meadori@codesourcery.com>
16877 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16878 (encrypt_r): Likewise.
16879 * malloc/obstack.h (obstack_free): Likewise.
16880 * posix/unistd.h (encrypt): Likewise.
16882 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16884 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16885 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16886 DL_CALL_DT_FINI() that call the functions directly.
16887 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16888 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16889 * elf/dl-fini.c: Likewise.
16891 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16893 * malloc/hooks.c (memalign_check): Add alignment rounding.
16894 * malloc/malloc.c (_mid_memalign): New function.
16895 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16896 Implement by calling _mid_memalign.
16897 * manual/probes.texi (Memory Allocation Probes): Remove
16898 memory_valloc_retry and memory_pvalloc_retry.
16900 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16902 * locale/programs/locarchive.c (open_archive): Add const
16903 qualifier to ARCHIVEFNAME and copy default fname to
16907 * libio/tst-widetext.input: Rename Oriya to Odia.
16908 * locale/iso-639.def: Likewise.
16910 * manual/probes.texi (Mathematical Function Probes): Add
16911 documentation for sin, cos, asin and acos probes.
16912 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16913 (__sin32): Add slowasin probe.
16914 (__cos32): Add slowacos probe.
16915 (__mpsin): Add slowsin probe.
16916 (__mpcos): Add slowcos probe.
16918 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16921 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16922 thread-local __sim_exceptions_thread and global
16923 __sim_exceptions_global.
16924 (__sim_disabled_exceptions): Change to thread-local
16925 __sim_disabled_exceptions_thread and global
16926 __sim_disabled_exceptions_global.
16927 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16928 and global __sim_round_mode_global.
16929 (__simulate_exceptions): Use thread-local floating-point state and
16930 set global state from it as needed.
16931 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16932 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16933 __sim_round_mode_thread.
16934 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16935 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16936 and global __sim_exceptions_global.
16937 (__sim_disabled_exceptions): Change to thread-local
16938 __sim_disabled_exceptions_thread and global
16939 __sim_disabled_exceptions_global.
16940 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16941 and global __sim_round_mode_global.
16942 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16943 (SIM_SET_GLOBAL): Likewise.
16944 * sysdeps/powerpc/soft-fp/sfp-machine.h
16945 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16946 __sim_round_mode_thread.
16947 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16948 __sim_disabled_exceptions_thread.
16949 (__sim_exceptions): Change to __sim_exceptions_thread.
16950 (__sim_disabled_exceptions): Change to
16951 __sim_disabled_exceptions_thread.
16952 (__sim_round_mode): Change to __sim_round_mode_thread.
16953 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16954 thread-local floating-point state and set global state from it as
16956 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16957 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16958 (__sim_disabled_exceptions): Remove extern declaration.
16959 (feenableexcept): Use thread-local floating-point state and set
16960 global state from it as needed.
16961 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16962 extern declaration.
16963 (__sim_disabled_exceptions): Likewise.
16964 (__sim_round_mode): Likewise.
16965 (__fegetenv): Use thread-local floating-point state.
16966 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16967 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16968 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16969 floating-point state and set global state from it as needed.
16970 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16971 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16972 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16974 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16975 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16977 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16978 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16979 Use __sim_round_mode_thread.
16980 * math/test-fenv-tls.c: New file.
16981 * math/Makefile (tests): Add test-fenv-tls.
16982 ($(objpfx)test-fenv-tls): Depend on
16983 $(common-objpfx)nptl/libpthread.so.
16985 2013-11-19 Andreas Schwab <schwab@suse.de>
16987 * locale/programs/locale.c (show_info): Decode wordarray elements.
16988 * locale/categories.def (LC_MONETARY): Add element for
16989 _NL_MONETARY_CRNCYSTR.
16990 * locale/C-monetary.c (conversion_rate): New variable.
16991 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16994 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16996 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16997 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16999 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17001 * elf/Makefile (tst-auxv): New test.
17002 * elf/tst-auxv.c: New
17003 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17005 2013-11-18 Joseph Myers <joseph@codesourcery.com>
17007 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17008 (hidden_proto): Caller changed.
17009 (hidden_tls_proto): New macro.
17010 (libc_hidden_tls_proto): Likewise.
17011 (rtld_hidden_tls_proto): Likewise.
17012 (libm_hidden_tls_proto): Likewise.
17013 (libresolv_hidden_tls_proto): Likewise.
17014 (librt_hidden_tls_proto): Likewise.
17015 (libdl_hidden_tls_proto): Likewise.
17016 (libnss_files_hidden_tls_proto): Likewise.
17017 (libnsl_hidden_tls_proto): Likewise.
17018 (libnss_nisplus_hidden_tls_proto): Likewise.
17019 (libutil_hidden_tls_proto): Likewise.
17021 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
17024 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17025 (decompose_rpath): Defer expansion to fillin_rpath.
17026 (_dl_init_paths): Pass linkmap to fillin_rpath.
17028 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17030 * benchtests/Makefile: Add strsep.
17031 * benchtests/bench-strsep.c: New file: strsep benchtest.
17032 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17034 2013-11-18 Andreas Schwab <schwab@suse.de>
17036 * locale/programs/locale.c (show_info) [case byte]: Check for
17037 '\377' instead of '\177'.
17038 * locale/C-monetary.c (not_available): Always use "\377".
17039 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17040 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17041 detect unavailable sign_posn locale elements.
17042 * locale/localeconv.c (__localeconv): For grouping and
17043 mon_grouping handle "\177" and "\377" like no grouping.
17044 (INT_ELEM): New macro. Use it to set all numeric members.
17045 * locale/programs/ld-monetary.c (monetary_read)
17046 <tok_mon_grouping>: Normalize single -1 to the empty string.
17047 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17050 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17053 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17054 when we match (nil).
17055 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17057 2013-11-16 Joseph Myers <joseph@codesourcery.com>
17059 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17060 (NO_TEST_INLINE): Update value.
17061 (ERRNO_UNCHANGED): Likewise.
17062 (ERRNO_EDOM): Likewise.
17063 (ERRNO_ERANGE): Likewise.
17064 (IGNORE_RESULT): Likewise.
17065 (check_float_internal): Check signs of NaN results if
17066 TEST_NAN_SIGN used.
17067 (check_complex): Pass TEST_NAN_SIGN flag through to second
17068 check_float_internal call.
17069 (copysign_test_data): Add tests with quiet NaNs as second
17070 argument. Use TEST_NAN_SIGN.
17071 (fabs_test_data): Add test of negative quiet NaN argument. Use
17073 (signbit_test_data): Add tests of quiet NaN argument.
17074 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17076 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17078 (parse_args): Handle function results specified as IGNORE.
17079 * math/libm-test.inc (IGNORE_RESULT): New macro.
17080 (check_float_internal): Do not check numerical result if flag
17082 (check_complex): Pass through IGNORE_RESULT to second
17083 check_float_internal call.
17084 (check_int): Do not check numerical result if flag IGNORE_RESULT
17086 (check_long): Likewise.
17087 (check_bool): Likewise.
17088 (check_longlong): Likewise.
17089 (lrint_test_data): Add tests of infinite and NaN arguments.
17090 (lrint_tonearest_test_data): Likewise.
17091 (lrint_towardzero_test_data): Likewise.
17092 (lrint_downward_test_data): Likewise.
17093 (lrint_upward_test_data): Likewise.
17094 (llrint_test_data): Likewise.
17095 (llrint_tonearest_test_data): Likewise.
17096 (llrint_towardzero_test_data): Likewise.
17097 (llrint_downward_test_data): Likewise.
17098 (llrint_upward_test_data): Likewise.
17099 (lround_test_data): Likewise.
17100 (llround_test_data): Likewise.
17102 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17103 (ERRNO_UNCHANGED): Update value.
17104 (ERRNO_EDOM): Likewise.
17105 (ERRNO_ERANGE): Likewise.
17106 (NO_TEST_INLINE_FLOAT): New macro.
17107 (NO_TEST_INLINE_DOUBLE): Likewise.
17108 (enable_test): New function.
17109 (RUN_TEST_f_f): Check enable_test before running test.
17110 (RUN_TEST_2_f): Likewise.
17111 (RUN_TEST_fff_f): Likewise.
17112 (RUN_TEST_c_f): Likewise.
17113 (RUN_TEST_f_f1): Likewise.
17114 (RUN_TEST_fF_f1): Likewise.
17115 (RUN_TEST_fI_f1): Likewise.
17116 (RUN_TEST_ffI_f1): Likewise.
17117 (RUN_TEST_c_c): Likewise.
17118 (RUN_TEST_cc_c): Likewise.
17119 (RUN_TEST_f_i): Likewise.
17120 (RUN_TEST_f_i_tg): Likewise.
17121 (RUN_TEST_ff_i_tg): Likewise.
17122 (RUN_TEST_f_b): Likewise.
17123 (RUN_TEST_f_b_tg): Likewise.
17124 (RUN_TEST_f_l): Likewise.
17125 (RUN_TEST_f_L): Likewise.
17126 (RUN_TEST_fFF_11): Likewise.
17127 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17129 (cosh_test_data): Likewise.
17130 (exp_test_data): Likewise.
17131 (expm1_test_data): Likewise.
17132 (hypot_test_data): Likewise.
17133 (pow_test_data): Likewise.
17134 (sinh_test_data): Likewise.
17135 (tanh_test_data): Likewise.
17136 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17139 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17140 tests with quiet NaN input and output.
17141 (acosh_test_data): Likewise.
17142 (asin_test_data): Likewise.
17143 (asinh_test_data): Likewise.
17144 (atan_test_data): Likewise.
17145 (atanh_test_data): Likewise.
17146 (atan2_test_data): Likewise.
17147 (cbrt_test_data): Likewise.
17148 (cos_test_data): Likewise.
17149 (cosh_test_data): Likewise.
17150 (erf_test_data): Likewise.
17151 (erfc_test_data): Likewise.
17152 (exp_test_data): Likewise.
17153 (exp10_test_data): Likewise.
17154 (exp2_test_data): Likewise.
17155 (expm1_test_data): Likewise.
17156 (hypot_test_data): Likewise.
17157 (j0_test_data): Likewise.
17158 (j1_test_data): Likewise.
17159 (jn_test_data): Likewise.
17160 (lgamma_test_data): Likewise.
17161 (log_test_data): Likewise.
17162 (log10_test_data): Likewise.
17163 (log1p_test_data): Likewise.
17164 (log2_test_data): Likewise.
17165 (pow_test_data): Likewise.
17166 (scalb_test_data): Likewise.
17167 (sin_test_data): Likewise.
17168 (sincos_test_data): Likewise.
17169 (sinh_test_data): Likewise.
17170 (tan_test_data): Likewise.
17171 (tanh_test_data): Likewise.
17172 (tgamma_test_data): Likewise.
17173 (y0_test_data): Likewise.
17174 (y1_test_data): Likewise.
17175 (yn_test_data): Likewise.
17178 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17179 argument being NaN and avoid computations with second argument in
17181 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17182 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17183 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17185 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17187 * locale/iso-639.def: Add Chitwani Tharu (the).
17189 2013-11-14 Andreas Schwab <schwab@suse.de>
17191 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17192 word instead of empty string.
17194 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17197 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17199 (__fe_nomask_env): Likewise.
17201 2013-11-13 Steve Ellcey <sellcey@mips.com>
17203 * benchtests/bench-timing.h: Include time.h.
17205 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17208 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17210 * sysdeps/unix/sysv/linux/configure: Regenerated.
17212 2013-11-13 Joseph Myers <joseph@codesourcery.com>
17215 * stdlib/strtod_l.c (round_and_return): Do not consider
17216 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17217 exponent one less than half the least subnormal exponent.
17218 * stdlib/test-strtod-round-data: Add more tests.
17219 * stdlib/tst-strtod-round.c (tests): Regenerated.
17221 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17224 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17225 (__fe_mask_env): Likewise.
17226 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17227 libm_hidden_proto and add function prototype.
17228 (__fe_mask_env): Add function prototype.
17229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17230 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17232 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17234 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17236 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17238 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17239 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17241 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17243 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17244 of htab_find_slot().
17246 2013-11-11 David S. Miller <davem@davemloft.net>
17249 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17250 symbol in the non-vis3 case in static builds.
17251 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17252 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17253 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17254 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17256 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17259 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17262 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17264 * benchtests/Makefile: Add bench-strtod.
17265 * benchtests/bench-strtod.c: New file: strtod benchtest
17267 2013-11-11 Andreas Schwab <schwab@suse.de>
17270 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17271 terminating NUL in key length.
17273 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17275 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17276 Add artificial ODP entry for vDSO symbol for PPC64.
17277 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17278 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17280 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17283 * nss/getent.c (services_keys): Recognize services starting with digit.
17285 2013-11-06 David S. Miller <davem@davemloft.net>
17288 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17289 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17291 2013-11-06 Will Newton <will.newton@linaro.org>
17293 * manual/memory.texi (Malloc Examples): Remove register
17294 keyword from examples.
17296 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17298 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17300 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17303 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17304 depending on [__GCC_IEC_559 > 0].
17305 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17306 depending on [__GCC_IEC_559_COMPLEX > 0].
17308 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17310 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17313 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17315 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17317 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17320 * malloc/malloc (malloc_info): Do not handle first bin as
17323 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17325 * locale/iso-639.def: Add Central Nahuatl (nhn).
17327 2013-11-01 Bruno Haible <bruno@clisp.org>
17330 * manual/math.texi (BSD Random): Specify range upper bound as
17333 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17335 * locale/iso-639.def: Add Meadow Mari (mhr).
17337 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17339 [BZ #14752], [BZ #15763]
17340 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17342 * rt/tst_shm.c: Add test for escaping directory.
17344 2013-10-31 Andreas Schwab <schwab@suse.de>
17347 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17348 followed by 'x' as part of digit sequence.
17349 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17351 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17354 * configure.ac: allow GNU Make 4.0 and greater.
17355 * configure: Regenerated.
17357 2013-10-30 Will Newton <will.newton@linaro.org>
17360 * malloc/hooks.c (memalign_check): Limit alignment to the
17361 maximum representable power of two.
17362 * malloc/malloc.c (__libc_memalign): Likewise.
17363 * malloc/tst-memalign.c (do_test): Add test for very
17364 large alignment values.
17365 * malloc/tst-posix_memalign.c (do_test): Likewise.
17367 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17370 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17371 (munmap_chunk): Likewise.
17372 (mremap_chunk): Likewise.
17374 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17377 * stdlib/div.c (div): Remove obsolete code.
17378 * stdlib/ldiv.c (ldiv): Likewise.
17379 * stdlib/lldiv.c (lldiv): Likewise.
17381 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17384 * nss/nss_files/files-XXX.c (get_contents_ret): New
17386 (get_contents): New function.
17387 (internal_getent): Use it. Expand size of LINEBUFLEN.
17389 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17391 * configure.in: Moved to ...
17392 * configure.ac: ... here. Change reference to configure.in
17394 * sysdeps/arm/preconfigure.ac: ... here.
17395 configure.in to configure.ac.
17396 * sysdeps/gnu/configure.in: Moved to ...
17397 * sysdeps/gnu/configure.ac: ... here.
17398 * sysdeps/i386/configure.in: Moved to ...
17399 * sysdeps/i386/configure.ac: ... here.
17400 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17401 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17402 * sysdeps/mach/configure.in: Moved to ...
17403 * sysdeps/mach/configure.ac: ... here.
17404 * sysdeps/mach/hurd/configure.in: Moved to ...
17405 * sysdeps/mach/hurd/configure.ac: ... here.
17406 * sysdeps/powerpc/configure.in: Moved to ...
17407 * sysdeps/powerpc/configure.ac: ... here.
17408 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17409 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17410 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17411 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17412 * sysdeps/s390/s390-32/configure.in: Moved to ...
17413 * sysdeps/s390/s390-32/configure.ac: ... here.
17414 * sysdeps/s390/s390-64/configure.in: Moved to ...
17415 * sysdeps/s390/s390-64/configure.ac: ... here.
17416 * sysdeps/sh/configure.in: Moved to ...
17417 * sysdeps/sh/configure.ac: ... here.
17418 * sysdeps/sparc/configure.in: Moved to ...
17419 * sysdeps/sparc/configure.ac: ... here.
17420 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17421 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17422 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17423 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17424 * sysdeps/x86_64/configure.in: Moved to ...
17425 * sysdeps/x86_64/configure.ac: ... here.
17426 * sysdeps/x86_64/preconfigure.in: Moved to ...
17427 * sysdeps/x86_64/preconfigure.ac: ... here.
17428 * aclocal.m4: Change reference to configure.in to configure.ac.
17429 * config.h.in: Likewise.
17430 * manual/install.texi: Likewise.
17431 * manual/maint.texi: Likewise.
17432 * Makefile: Likewise.
17433 * malloc/Makefile: Likewise.
17434 * nscd/Makefile: Likewise.
17435 * Makeconfig: Change reference to configure.in and
17436 preconfigure.in to configure.ac and preconfigure.ac
17438 * INSTALL: Regenerated.
17439 * configure: Likewise.
17440 * sysdeps/gnu/configure: Likewise.
17441 * sysdeps/i386/configure: Likewise.
17442 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17443 * sysdeps/mach/configure: Likewise.
17444 * sysdeps/mach/hurd/configure: Likewise.
17445 * sysdeps/powerpc/configure: Likewise.
17446 * sysdeps/powerpc/powerpc32/configure: Likewise.
17447 * sysdeps/powerpc/powerpc64/configure: Likewise.
17448 * sysdeps/s390/s390-32/configure: Likewise.
17449 * sysdeps/s390/s390-64/configure: Likewise.
17450 * sysdeps/sh/configure: Likewise.
17451 * sysdeps/sparc/configure: Likewise.
17452 * sysdeps/unix/sysv/linux/configure: Likewise.
17453 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17454 * sysdeps/x86_64/configure: Likewise.
17455 * sysdeps/x86_64/preconfigure: Likewise.
17457 2013-10-29 Andreas Schwab <schwab@suse.de>
17459 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17461 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17463 * benchtests/pow-inputs: Add new inputs.
17465 * benchtests/exp-inputs: Add new inputs.
17467 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17468 conditional check for return value.
17469 (__cos32): Likewise.
17471 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17473 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17474 to provide a boost for large inputs with word alignment.
17475 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17476 implementation based on optimized PPC64 strcpy.
17477 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17478 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17479 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17480 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17482 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17485 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17487 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17490 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17491 * time/tst-strptime.c (day_tests): Add testcase.
17493 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17496 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17498 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17501 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17502 MAP_FAILED on error.
17504 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17507 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17508 heap for large requests.
17510 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17513 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17514 result if the result has no associated interface.
17515 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17516 interface for all 127.X.Y.Z addresses.
17518 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17520 * locale/iso-639.def: Add Ligurian (lij)
17522 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17525 * sunrpc/rpc_main.c: Document rpcgen -5.
17527 2013-10-19 Michael Stahl <mstahl@redhat.com>
17529 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17531 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17534 * posix/glob.c: Match only directories when trailing slash is present.
17535 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17536 (main): Add testcase.
17538 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17541 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17543 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17545 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17546 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17547 AUTH_DES and cindex for FIPS 140-2.
17548 (DES Encryption): Add cindex FIPS 46-3.
17550 * locale/locarchive.h (struct locarhandle): Add fname.
17551 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17552 if an optional argument was specified to --list-archive,
17554 * locale/programs/locarchive.c (show_archive_content): Take new
17555 argument fname and pass it via ah.fname to open_archive.
17556 * locale/programs/localedef.h: Update decl.
17557 (open_archive): If AH->fname is non-null, open that file
17558 rather than the default file name, and don't ignore ENOENT.
17559 (create_archive): Set AH.fname to NULL.
17560 (delete_locales_from_archive): Likewise.
17561 (add_locales_to_archive): Likewise.
17562 * locale/programs/locfile.c (write_all_categories): Likewise.
17564 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17565 Aldy Hernandez <aldyh@redhat.com>
17567 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17568 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17569 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17570 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17571 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17572 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17573 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17574 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17575 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17576 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17577 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17578 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17579 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17580 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17581 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17583 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17585 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17587 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17589 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17590 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17592 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17593 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17594 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17595 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17597 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17598 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17599 * sysdeps/powerpc/preconfigure: Likewise.
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17602 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17603 Replace contents of file by #include of <fenv_libc.h>.
17604 * sysdeps/powerpc/soft-fp/sfp-machine.h
17605 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17607 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17616 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17620 Allow copysignl PLT reference to be missing.
17622 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17623 Joseph Myers <joseph@codesourcery.com
17626 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17628 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17630 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17632 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17633 * elf/tst-tls1.c: Likewise.
17634 * elf/tst-tls10.h: Likewise.
17635 * elf/tst-tls14.c: Likewise.
17636 * elf/tst-tls2.c: Likewise.
17637 * elf/tst-tls3.c: Likewise.
17638 * elf/tst-tls4.c: Likewise.
17639 * elf/tst-tls5.c: Likewise.
17640 * elf/tst-tls6.c: Likewise.
17641 * elf/tst-tls7.c: Likewise.
17642 * elf/tst-tls8.c: Likewise.
17643 * elf/tst-tls9.c: Likewise.
17644 * elf/tst-tlsmod1.c: Likewise.
17645 * elf/tst-tlsmod13.c: Likewise.
17646 * elf/tst-tlsmod13a.c: Likewise.
17647 * elf/tst-tlsmod14a.c: Likewise.
17648 * elf/tst-tlsmod16a.c: Likewise.
17649 * elf/tst-tlsmod16b.c: Likewise.
17650 * elf/tst-tlsmod2.c: Likewise.
17651 * elf/tst-tlsmod3.c: Likewise.
17652 * elf/tst-tlsmod4.c: Likewise.
17653 * elf/tst-tlsmod5.c: Likewise.
17654 * elf/tst-tlsmod6.c: Likewise.
17656 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17659 * malloc/malloc.c: remove checks for statistics.
17661 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17664 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17665 * inet/tst-network.c: Add testcase.
17667 2013-10-17 Andreas Schwab <schwab@suse.de>
17670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17671 to determine canonical name.
17673 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17675 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17676 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17682 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17683 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17685 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17687 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17689 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17690 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17692 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17694 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17695 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17698 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17699 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17700 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17701 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17702 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17703 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17704 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17705 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17706 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17707 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17708 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17709 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17710 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17723 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17727 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17728 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17732 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17734 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17737 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17738 make result into a quiet NaN.
17740 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17742 * soft-fp/adddf3.c: Fix horizontal whitespace.
17743 * soft-fp/addsf3.c: Likewise.
17744 * soft-fp/addtf3.c: Likewise.
17745 * soft-fp/divdf3.c: Likewise.
17746 * soft-fp/divsf3.c: Likewise.
17747 * soft-fp/divtf3.c: Likewise.
17748 * soft-fp/double.h: Likewise.
17749 * soft-fp/eqdf2.c: Likewise.
17750 * soft-fp/eqsf2.c: Likewise.
17751 * soft-fp/eqtf2.c: Likewise.
17752 * soft-fp/extenddftf2.c: Likewise.
17753 * soft-fp/extended.h: Likewise.
17754 * soft-fp/extendsfdf2.c: Likewise.
17755 * soft-fp/extendsftf2.c: Likewise.
17756 * soft-fp/extendxftf2.c: Likewise.
17757 * soft-fp/fixdfdi.c: Likewise.
17758 * soft-fp/fixdfsi.c: Likewise.
17759 * soft-fp/fixdfti.c: Likewise.
17760 * soft-fp/fixsfdi.c: Likewise.
17761 * soft-fp/fixsfsi.c: Likewise.
17762 * soft-fp/fixsfti.c: Likewise.
17763 * soft-fp/fixtfdi.c: Likewise.
17764 * soft-fp/fixtfsi.c: Likewise.
17765 * soft-fp/fixtfti.c: Likewise.
17766 * soft-fp/fixunsdfdi.c: Likewise.
17767 * soft-fp/fixunsdfsi.c: Likewise.
17768 * soft-fp/fixunsdfti.c: Likewise.
17769 * soft-fp/fixunssfdi.c: Likewise.
17770 * soft-fp/fixunssfsi.c: Likewise.
17771 * soft-fp/fixunssfti.c: Likewise.
17772 * soft-fp/fixunstfdi.c: Likewise.
17773 * soft-fp/fixunstfsi.c: Likewise.
17774 * soft-fp/fixunstfti.c: Likewise.
17775 * soft-fp/floatdidf.c: Likewise.
17776 * soft-fp/floatdisf.c: Likewise.
17777 * soft-fp/floatditf.c: Likewise.
17778 * soft-fp/floatsidf.c: Likewise.
17779 * soft-fp/floatsisf.c: Likewise.
17780 * soft-fp/floatsitf.c: Likewise.
17781 * soft-fp/floattidf.c: Likewise.
17782 * soft-fp/floattisf.c: Likewise.
17783 * soft-fp/floattitf.c: Likewise.
17784 * soft-fp/floatundidf.c: Likewise.
17785 * soft-fp/floatundisf.c: Likewise.
17786 * soft-fp/floatunditf.c: Likewise.
17787 * soft-fp/floatunsidf.c: Likewise.
17788 * soft-fp/floatunsisf.c: Likewise.
17789 * soft-fp/floatunsitf.c: Likewise.
17790 * soft-fp/floatuntidf.c: Likewise.
17791 * soft-fp/floatuntisf.c: Likewise.
17792 * soft-fp/floatuntitf.c: Likewise.
17793 * soft-fp/fmadf4.c: Likewise.
17794 * soft-fp/fmasf4.c: Likewise.
17795 * soft-fp/fmatf4.c: Likewise.
17796 * soft-fp/gedf2.c: Likewise.
17797 * soft-fp/gesf2.c: Likewise.
17798 * soft-fp/getf2.c: Likewise.
17799 * soft-fp/ledf2.c: Likewise.
17800 * soft-fp/lesf2.c: Likewise.
17801 * soft-fp/letf2.c: Likewise.
17802 * soft-fp/muldf3.c: Likewise.
17803 * soft-fp/mulsf3.c: Likewise.
17804 * soft-fp/multf3.c: Likewise.
17805 * soft-fp/negdf2.c: Likewise.
17806 * soft-fp/negsf2.c: Likewise.
17807 * soft-fp/negtf2.c: Likewise.
17808 * soft-fp/op-1.h: Likewise.
17809 * soft-fp/op-2.h: Likewise.
17810 * soft-fp/op-4.h: Likewise.
17811 * soft-fp/op-8.h: Likewise.
17812 * soft-fp/op-common.h: Likewise.
17813 * soft-fp/quad.h: Likewise.
17814 * soft-fp/single.h: Likewise.
17815 * soft-fp/soft-fp.h: Likewise.
17816 * soft-fp/sqrtdf2.c: Likewise.
17817 * soft-fp/sqrtsf2.c: Likewise.
17818 * soft-fp/sqrttf2.c: Likewise.
17819 * soft-fp/subdf3.c: Likewise.
17820 * soft-fp/subsf3.c: Likewise.
17821 * soft-fp/subtf3.c: Likewise.
17822 * soft-fp/truncdfsf2.c: Likewise.
17823 * soft-fp/trunctfdf2.c: Likewise.
17824 * soft-fp/trunctfsf2.c: Likewise.
17825 * soft-fp/trunctfxf2.c: Likewise.
17826 * soft-fp/unorddf2.c: Likewise.
17827 * soft-fp/unordsf2.c: Likewise.
17828 * soft-fp/unordtf2.c: Likewise.
17830 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17832 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17833 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17835 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17837 * elf/dl-libc.c: Clear initfini list after freeing.
17839 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17841 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17842 * soft-fp/addsf3.c: Likewise.
17843 * soft-fp/addtf3.c: Likewise.
17844 * soft-fp/divdf3.c: Likewise.
17845 * soft-fp/divsf3.c: Likewise.
17846 * soft-fp/divtf3.c: Likewise.
17847 * soft-fp/double.h: Likewise.
17848 * soft-fp/eqdf2.c: Likewise.
17849 * soft-fp/eqsf2.c: Likewise.
17850 * soft-fp/eqtf2.c: Likewise.
17851 * soft-fp/extenddftf2.c: Likewise.
17852 * soft-fp/extended.h: Likewise.
17853 * soft-fp/extendsfdf2.c: Likewise.
17854 * soft-fp/extendsftf2.c: Likewise.
17855 * soft-fp/extendxftf2.c: Likewise.
17856 * soft-fp/fixdfdi.c: Likewise.
17857 * soft-fp/fixdfsi.c: Likewise.
17858 * soft-fp/fixdfti.c: Likewise.
17859 * soft-fp/fixsfdi.c: Likewise.
17860 * soft-fp/fixsfsi.c: Likewise.
17861 * soft-fp/fixsfti.c: Likewise.
17862 * soft-fp/fixtfdi.c: Likewise.
17863 * soft-fp/fixtfsi.c: Likewise.
17864 * soft-fp/fixtfti.c: Likewise.
17865 * soft-fp/fixunsdfdi.c: Likewise.
17866 * soft-fp/fixunsdfsi.c: Likewise.
17867 * soft-fp/fixunsdfti.c: Likewise.
17868 * soft-fp/fixunssfdi.c: Likewise.
17869 * soft-fp/fixunssfsi.c: Likewise.
17870 * soft-fp/fixunssfti.c: Likewise.
17871 * soft-fp/fixunstfdi.c: Likewise.
17872 * soft-fp/fixunstfsi.c: Likewise.
17873 * soft-fp/fixunstfti.c: Likewise.
17874 * soft-fp/floatdidf.c: Likewise.
17875 * soft-fp/floatdisf.c: Likewise.
17876 * soft-fp/floatditf.c: Likewise.
17877 * soft-fp/floatsidf.c: Likewise.
17878 * soft-fp/floatsisf.c: Likewise.
17879 * soft-fp/floatsitf.c: Likewise.
17880 * soft-fp/floattidf.c: Likewise.
17881 * soft-fp/floattisf.c: Likewise.
17882 * soft-fp/floattitf.c: Likewise.
17883 * soft-fp/floatundidf.c: Likewise.
17884 * soft-fp/floatundisf.c: Likewise.
17885 * soft-fp/floatunsidf.c: Likewise.
17886 * soft-fp/floatunsisf.c: Likewise.
17887 * soft-fp/floatuntidf.c: Likewise.
17888 * soft-fp/floatuntisf.c: Likewise.
17889 * soft-fp/floatuntitf.c: Likewise.
17890 * soft-fp/fmadf4.c: Likewise.
17891 * soft-fp/fmasf4.c: Likewise.
17892 * soft-fp/fmatf4.c: Likewise.
17893 * soft-fp/gedf2.c: Likewise.
17894 * soft-fp/gesf2.c: Likewise.
17895 * soft-fp/getf2.c: Likewise.
17896 * soft-fp/ledf2.c: Likewise.
17897 * soft-fp/lesf2.c: Likewise.
17898 * soft-fp/letf2.c: Likewise.
17899 * soft-fp/muldf3.c: Likewise.
17900 * soft-fp/mulsf3.c: Likewise.
17901 * soft-fp/multf3.c: Likewise.
17902 * soft-fp/negdf2.c: Likewise.
17903 * soft-fp/negsf2.c: Likewise.
17904 * soft-fp/negtf2.c: Likewise.
17905 * soft-fp/op-1.h: Likewise.
17906 * soft-fp/op-2.h: Likewise.
17907 * soft-fp/op-4.h: Likewise.
17908 * soft-fp/op-8.h: Likewise.
17909 * soft-fp/op-common.h: Likewise.
17910 * soft-fp/quad.h: Likewise.
17911 * soft-fp/single.h: Likewise.
17912 * soft-fp/soft-fp.h: Likewise.
17913 * soft-fp/sqrtdf2.c: Likewise.
17914 * soft-fp/sqrtsf2.c: Likewise.
17915 * soft-fp/sqrttf2.c: Likewise.
17916 * soft-fp/subdf3.c: Likewise.
17917 * soft-fp/subsf3.c: Likewise.
17918 * soft-fp/subtf3.c: Likewise.
17919 * soft-fp/truncdfsf2.c: Likewise.
17920 * soft-fp/trunctfdf2.c: Likewise.
17921 * soft-fp/trunctfsf2.c: Likewise.
17922 * soft-fp/trunctfxf2.c: Likewise.
17923 * soft-fp/unorddf2.c: Likewise.
17924 * soft-fp/unordsf2.c: Likewise.
17925 * soft-fp/unordtf2.c: Likewise.
17927 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17930 * misc/error.c (error_tail): Fix possible buffer overflow.
17932 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17935 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17938 2013-10-14 P. J. McDermott <pj@pehjota.net>
17941 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17942 testing pipefail option.
17944 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17946 * soft-fp/double.h: Indent preprocessor directives inside #if.
17947 * soft-fp/extended.h: Likewise.
17948 * soft-fp/op-2.h: Likewise.
17949 * soft-fp/op-4.h: Likewise.
17950 * soft-fp/op-common.h: Likewise.
17951 * soft-fp/quad.h: Likewise.
17952 * soft-fp/single.h: Likewise.
17953 * soft-fp/soft-fp.h: Likewise.
17955 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17957 * iconv/iconv_prog.c: Fix typos.
17958 * stdio-common/psiginfo-data.h: Likewise.
17960 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17963 * locale/setlocale.c: Fix typo.
17965 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17968 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17969 signaling NaN arguments.
17970 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17971 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17974 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17975 unordered operands.
17976 * soft-fp/gesf2.c (__gesf2): Likewise.
17977 * soft-fp/getf2.c (__getf2): Likewise.
17978 * soft-fp/ledf2.c (__ledf2): Likewise.
17979 * soft-fp/lesf2.c (__lesf2): Likewise.
17980 * soft-fp/letf2.c (__letf2): Likewise.
17982 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17983 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17984 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17985 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17986 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17987 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17988 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17989 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17990 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17991 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17992 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17993 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17994 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17995 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17996 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17997 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17998 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17999 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18000 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18001 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18002 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18003 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18004 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18005 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18006 * soft-fp/floattidf.c (__floattidf): Likewise.
18007 * soft-fp/floattisf.c (__floattisf): Likewise.
18008 * soft-fp/floattitf.c (__floattitf): Likewise.
18009 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18010 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18011 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18012 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18013 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18014 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18015 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18016 * soft-fp/gesf2.c (__gesf2): Likewise.
18017 * soft-fp/getf2.c (__getf2): Likewise.
18018 * soft-fp/ledf2.c (__ledf2): Likewise.
18019 * soft-fp/lesf2.c (__lesf2): Likewise.
18020 * soft-fp/letf2.c (__letf2): Likewise.
18022 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18023 Undefine and redefine.
18024 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18025 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18026 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18027 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18028 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18029 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18030 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18031 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18032 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18033 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18034 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18035 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18036 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18037 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18038 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18041 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18042 without decrementing exponent if mantissa >= that for the
18043 denominator, not >.
18044 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18045 denominator, not >. Decrement exponent in < case instead of
18046 incrementing in >= case.
18047 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18048 without decrementing exponent if mantissa >= that for the
18049 denominator, not >.
18051 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18052 computing saturated result for unsigned overflow.
18054 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18055 Jeff Law <law@redhat.com>
18057 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18058 (atan2Mp): Add systemtap probe marker.
18059 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18060 (__ieee754_log): Add systemtap probe marker.
18061 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18062 (atanMp): Add systemtap probe marker.
18063 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18064 (tanMp): Add systemtap probe marker.
18065 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18066 (__slowexp): Add systemtap probe marker.
18067 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18068 (__slowpow): Add systemtap probe marker.
18069 * manual/probes.texi: Document probes.
18071 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
18074 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18076 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18078 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18079 written to buffer but not flushed.
18080 * libio/iofwrite_u.c: Likewise.
18081 * libio/iopadn.c: Return bytes returned even if EOF was
18083 * libio/iowpadn.c: Likewise.
18084 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18085 if _IO_padn does not write the whole buffer.
18086 [!COMPILE_WPRINTF] (PAD): Likewise.
18088 2013-10-10 David S. Miller <davem@davemloft.net>
18090 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18093 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18095 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18096 instead of FSF address.
18097 * soft-fp/fixdfti.c: Likewise.
18098 * soft-fp/fixsfti.c: Likewise.
18099 * soft-fp/fixtfti.c: Likewise.
18100 * soft-fp/fixunsdfti.c: Likewise.
18101 * soft-fp/fixunssfti.c: Likewise.
18102 * soft-fp/fixunstfti.c: Likewise.
18103 * soft-fp/floattidf.c: Likewise.
18104 * soft-fp/floattisf.c: Likewise.
18105 * soft-fp/floattitf.c: Likewise.
18106 * soft-fp/floatuntidf.c: Likewise.
18107 * soft-fp/floatuntisf.c: Likewise.
18108 * soft-fp/floatuntitf.c: Likewise.
18109 * soft-fp/trunctfxf2.c: Likewise.
18111 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18112 * soft-fp/fixdfti.c: Likewise.
18113 * soft-fp/fixsfti.c: Likewise.
18114 * soft-fp/fixtfti.c: Likewise.
18115 * soft-fp/fixunsdfti.c: Likewise.
18116 * soft-fp/fixunssfti.c: Likewise.
18117 * soft-fp/fixunstfti.c: Likewise.
18118 * soft-fp/floattidf.c: Likewise.
18119 * soft-fp/floattisf.c: Likewise.
18120 * soft-fp/floattitf.c: Likewise.
18121 * soft-fp/floatuntidf.c: Likewise.
18122 * soft-fp/floatuntisf.c: Likewise.
18123 * soft-fp/floatuntitf.c: Likewise.
18124 * soft-fp/trunctfxf2.c: Likewise.
18126 2013-10-10 David S. Miller <davem@davemloft.net>
18128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18130 2013-10-10 Joseph Myers <joseph@codsourcery.com>
18132 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18133 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18134 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18135 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18136 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18137 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18138 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18141 for NaNs before doing comparisons on argument.
18142 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18145 2013-10-10 Will Newton <will.newton@linaro.org>
18147 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18148 passed to _int_memalign does not overflow.
18150 2013-10-10 Torvald Riegel <triegel@redhat.com>
18152 * scripts/bench.pl: Add include-sources directive.
18153 * benchtests/README: Update documentation.
18155 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18157 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18158 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18159 instead of FP_INIT_ROUNDMODE.
18160 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18161 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18164 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18165 copy class of input value.
18166 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18167 not handle exceptions.
18168 * soft-fp/negsf2.c (__negsf2): Likewise.
18169 * soft-fp/negtf2.c (__negtf2): Likewise.
18170 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18172 2013-10-09 Joseph Myers <joseph@codesourcery.com>
18174 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18175 semicolon. From Linux kernel.
18177 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18179 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18181 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18184 * manual/socket.texi: Added statement about buffer
18185 for gethostbyname2_r.
18187 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
18189 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18190 Use .p2align directive instead, throughout.
18191 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18192 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18193 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18194 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18195 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18196 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18197 * sysdeps/x86_64/strchr.S: Likewise.
18198 * sysdeps/x86_64/strrchr.S: Likewise.
18200 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18202 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18204 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18206 * sysdeps/generic/math_private.h (__mpsin1): Remove
18208 (__mpcos1): Likewise.
18209 (__mpsin): New argument __range_reduce.
18210 (__mpcos): Likewise.
18211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18212 (slow): Use __mpsin and __mpcos.
18216 (sloww1): Likewise.
18217 (sloww2): Likewise.
18218 (bsloww): Likewise.
18219 (bsloww1): Likewise.
18220 (bsloww2): Likewise.
18221 (cslow2): Likewise.
18222 (csloww): Likewise.
18223 (csloww1): Likewise.
18224 (csloww2): Likewise.
18225 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18226 range_reduce. Merge in __mpsin1.
18227 (__mpcos): Likewise.
18228 (__mpsin1): Remove.
18229 (__mpcos1): Likewise.
18231 2013-10-07 Joseph Myers <joseph@codesourcery.com>
18233 * locale/loadlocale.c (_nl_intern_locale_data): Use
18235 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18236 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18237 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18238 obstack data is appropriately aligned.
18239 (obstack_int32_grow_fast): Likewise.
18240 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18241 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18242 (add_locale_uint32_array): Likewise.
18244 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18246 * benchtests/Makefile: Remove ARGLIST and RET variables.
18247 ($(objpfx)bench-%.c): Pass only function name to the script.
18248 * benchtests/README: Update documentation.
18249 * benchtests/acos-inputs: Add new directives.
18250 * benchtests/acosh-inputs: Likewise.
18251 * benchtests/asin-inputs: Likewise.
18252 * benchtests/asinh-inputs: Likewise.
18253 * benchtests/atan-inputs: Likewise.
18254 * benchtests/atanh-inputs: Likewise.
18255 * benchtests/cos-inputs: Likewise.
18256 * benchtests/cosh-inputs: Likewise.
18257 * benchtests/exp-inputs: Likewise.
18258 * benchtests/log-inputs: Likewise.
18259 * benchtests/pow-inputs: Likewise.
18260 * benchtests/rint-inputs: Likewise.
18261 * benchtests/sin-inputs: Likewise.
18262 * benchtests/sinh-inputs: Likewise.
18263 * benchtests/tan-inputs: Likewise.
18264 * benchtests/tanh-inputs: Likewise.
18265 * scripts/bench.pl: Add support for new directives.
18267 2013-10-07 Alan Modra <amodra@gmail.com>
18269 * README: Fix careless merge.
18271 2013-10-05 Alan Modra <amodra@gmail.com>
18273 * NEWS: Mention powerpc64le support and bugs fixed.
18274 * README: Both big-endian and little-endian powerpc64 supported.
18276 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18278 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18279 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18280 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18281 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18283 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18285 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18288 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18290 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18291 Move -mhard-float appending from
18292 ports/sysdeps/powerpc/powerpc32/Makefile.
18293 [$(with-fp) = yes] (ASFLAGS): Likewise.
18294 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18295 * sysdeps/powerpc/nofpu: Move directory from
18296 ports/sysdeps/powerpc/nofpu.
18297 * sysdeps/powerpc/soft-fp: Move directory from
18298 ports/sysdeps/powerpc/soft-fp.
18299 * sysdeps/powerpc/powerpc32/405: Move directory from
18300 ports/sysdeps/powerpc/powerpc32/405.
18301 * sysdeps/powerpc/powerpc32/440: Move directory from
18302 ports/sysdeps/powerpc/powerpc32/440.
18303 * sysdeps/powerpc/powerpc32/464: Move directory from
18304 ports/sysdeps/powerpc/powerpc32/464.
18305 * sysdeps/powerpc/powerpc32/476: Move directory from
18306 ports/sysdeps/powerpc/powerpc32/476.
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18308 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18310 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18312 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18314 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18316 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18317 * README: Update for powerpc-*-linux-gnu software floating point
18320 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18321 case to powerpc/powerpc32*.
18322 * sysdeps/unix/sysv/linux/configure: Regenerated.
18324 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18325 (_FPU_MASK_OM): Define as 0x04.
18326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18334 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18340 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18341 and setcontext_e500.
18343 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18345 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18347 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18349 * manual/threads.texi (Default Thread Attributes): Fix typo.
18351 2013-10-04 Will Newton <will.newton@linaro.org>
18353 * malloc/Makefile: Add tst-memalign.
18354 * malloc/tst-memalign.c: New file.
18356 * malloc/tst-posix_memalign.c: Add comments.
18357 (do_test): Add comments and call free on all potentially
18358 allocated pointers. Add space after cast.
18360 * malloc/tst-pvalloc.c: Add comments.
18361 (do_test): Add comments and call free on all potentially
18362 allocated pointers. Remove duplicate check for NULL pointer.
18363 Add space after cast.
18365 * malloc/tst-valloc.c: Add comments.
18366 (do_test): Add comments and call free on all potentially
18367 allocated pointers. Remove duplicate check for NULL pointer.
18368 Add space after cast.
18370 2013-10-04 Alan Modra <amodra@gmail.com>
18372 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18373 Use stdint types in rather than __attribute__((mode())).
18374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18376 2013-10-04 Alan Modra <amodra@gmail.com>
18378 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18379 Correct handling of unaligned relocs for little-endian.
18380 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18382 2013-10-04 Alan Modra <amodra@gmail.com>
18384 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18385 * configure: Regenerate.
18386 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18387 * shlib-versions: Likewise.
18389 2013-10-04 Alan Modra <amodra@gmail.com>
18391 * string/tester.c (test_memrchr): Increment reported test cycle.
18393 2013-10-04 Alan Modra <amodra@gmail.com>
18395 * string/test-memcpy.c (do_one_test): When reporting errors, print
18396 string address and don't overrun end of string.
18398 2013-10-04 Alan Modra <amodra@gmail.com>
18400 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18401 insrdi. Make better use of reg selection to speed exit slightly.
18402 Schedule entry path a little better. Remove useless "are we done"
18403 checks on entry to main loop. Handle wrapping around zero address.
18404 Correct main loop count. Handle single left-over word from main
18405 loop inline rather than by using loop_small. Remove extra word
18406 case in loop_small caused by wrong loop count. Add little-endian
18408 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18409 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18411 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18412 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18413 support. Avoid rlwimi.
18414 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18416 2013-10-04 Alan Modra <amodra@gmail.com>
18418 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18419 insrdi. Formatting.
18420 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18421 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18422 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18423 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18424 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18425 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18427 2013-10-04 Alan Modra <amodra@gmail.com>
18429 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18430 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18432 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18433 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18434 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18435 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18436 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18437 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18438 use of regs. Use power7 mtocrf. Tidy function tails.
18440 2013-10-04 Alan Modra <amodra@gmail.com>
18442 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18443 Formatting. Consistently use rXXX register defines or rN defines.
18444 Use early exit labels that avoid restoring unused non-volatile regs.
18445 Make cr field use more consistent with rWORDn compares. Rename
18446 regs used as shift registers for unaligned loop, using rN defines
18447 for short lifetime/multiple use regs.
18448 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18450 addi 1,1,64 to pop stack frame. Simplify return value code.
18451 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18453 2013-10-04 Alan Modra <amodra@gmail.com>
18455 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18456 support. Correct typos, formatting. Optimize tail. Use insrdi
18457 rather than rlwimi.
18458 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18459 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18460 little-endian support. Correct typos.
18461 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18462 rather than rlwimi.
18463 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18464 in loop and entry code to keep "and." results.
18465 (strchr): Add little-endian support. Comment. Move cntlzd
18467 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18469 2013-10-04 Alan Modra <amodra@gmail.com>
18471 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18472 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18473 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18474 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18476 2013-10-04 Alan Modra <amodra@gmail.com>
18478 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18479 (rTMP): Define as r11.
18480 (strcmp): Add little-endian support. Optimise tail.
18481 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18482 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18483 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18484 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18489 2013-10-04 Alan Modra <amodra@gmail.com>
18491 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18492 little-endian support. Remove unnecessary "are we done" tests.
18493 Handle "s" wrapping around zero and extremely large "size".
18494 Correct main loop count. Handle single left-over word from main
18495 loop inline rather than by using small_loop. Correct comments.
18496 Delete "zero" tail, use "end_max" instead.
18497 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18499 2013-10-04 Alan Modra <amodra@gmail.com>
18501 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18502 support. Don't branch over align.
18503 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18504 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18505 support. Rearrange tmp reg use to suit. Comment.
18506 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18508 2013-10-04 Alan Modra <amodra@gmail.com>
18510 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18512 2013-10-04 Alan Modra <amodra@gmail.com>
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18515 conditional form of branch and link when obtaining pc.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18518 2013-10-04 Alan Modra <amodra@gmail.com>
18520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18525 2013-10-04 Alan Modra <amodra@gmail.com>
18527 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18528 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18529 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18530 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18531 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18532 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18533 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18534 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18535 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18536 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18538 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18539 Alistair Popple <alistair@ozlabs.au.ibm.com>
18540 Alan Modra <amodra@gmail.com>
18543 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18544 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18545 _dl_hwcap access for little-endian.
18546 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18547 destroy vmx regs when saving unaligned.
18548 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18549 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18550 destroy vmx regs when saving unaligned.
18552 2013-10-04 Alan Modra <amodra@gmail.com>
18554 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18555 Don't use a union to pack hi/low value.
18557 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18559 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18561 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18562 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18563 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18564 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18565 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18567 2013-10-04 Alan Modra <amodra@gmail.com>
18569 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18570 constants to usual value for .cst8 section, and remove redundant
18572 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18573 constant for 0x1p52. Load little-endian words of double from
18574 correct stack offsets.
18576 2013-10-04 Alan Modra <amodra@gmail.com>
18578 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18579 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18580 words of double from correct stack offsets.
18581 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18582 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18583 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18584 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18585 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18586 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18587 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18588 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18589 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18590 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18591 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18593 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18594 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18595 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18596 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18597 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18599 2013-10-04 Alan Modra <amodra@gmail.com>
18601 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18602 64-bit int/double union.
18603 (_FPU_SETCW): Likewise.
18604 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18605 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18607 2013-10-04 Alan Modra <amodra@gmail.com>
18609 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18610 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18612 2013-10-04 Alan Modra <amodra@gmail.com>
18614 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18615 use vector int constants.
18616 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18618 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18620 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18621 array with long long.
18622 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18623 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18624 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18625 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18626 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18627 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18628 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18629 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18630 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18631 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18632 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18633 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18634 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18636 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18638 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18639 (__signbit): Likewise. Correct for little-endian.
18640 (__signbitl): Call __signbit.
18641 (lrint): Correct for little-endian.
18642 (lrintf): Call lrint.
18644 2013-10-04 Alan Modra <amodra@gmail.com>
18646 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18647 union 32-bit int array member with 64-bit int array.
18648 (t515, tm256): Double rather than long double.
18649 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18651 2013-10-04 Alan Modra <amodra@gmail.com>
18653 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18655 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18657 version of math_ldbl.h.
18659 2013-10-04 Alan Modra <amodra@gmail.com>
18661 [BZ #15734], [BZ #15735]
18662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18663 all uses of ieee875 long double macros and unions. Simplify test
18664 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18665 ldbl_extract_mantissa value for ix,iy exponents. Properly
18666 normalize after ldbl_extract_mantissa, and don't add hidden bit
18667 already handled. Don't treat low word of ieee854 mantissa like
18668 low word of IBM long double and mask off bit when testing for
18670 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18671 all uses of ieee875 long double macros and unions. Simplify tests
18672 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18673 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18674 two1022, instead use their values. Recognise that tests for large
18675 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18676 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18677 Rewrite all uses of ieee875 long double macros and unions. Simplify
18678 test for 0.0L and nan. Correct negation.
18679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18680 ieee875 long double macros and unions. Correct output for large
18681 magnitude x. Correct absolute value calculation.
18682 (__erfcl): Likewise.
18683 * math/libm-test.inc: Add tests for errors discovered in IBM long
18684 double versions of fmodl, remainderl, erfl and erfcl.
18686 2013-10-04 Alan Modra <amodra@gmail.com>
18688 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18689 all uses of ieee854 long double macros and unions. Simplify tests
18690 for long doubles that are fully specified by the high double.
18691 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18693 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18694 Remove dead code too.
18695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18696 (__ieee754_ynl): Likewise.
18697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18698 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18699 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18700 Remove dead code too.
18701 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18702 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18703 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18704 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18706 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18708 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18709 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18710 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18711 Comment on variable precision.
18712 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18713 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18715 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18716 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18717 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18718 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18719 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18721 2013-10-04 Alan Modra <amodra@gmail.com>
18723 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18724 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18725 all uses of ieee854 long double macros and unions.
18726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18728 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18730 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18731 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18734 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18739 Simplify sign and nan test too.
18740 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18745 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18752 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18755 2013-10-04 Alan Modra <amodra@gmail.com>
18757 * stdio-common/printf_size.c (__printf_size): Don't use
18758 union ieee854_long_double in fpnum union.
18759 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18760 signbit macro to retrieve sign from long double.
18761 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18762 retrieve sign from long double.
18763 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18764 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18765 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18766 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18767 * math/test-misc.c (main): Don't use union ieee854_long_double.
18769 2013-10-04 Alan Modra <amodra@gmail.com>
18772 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18773 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18774 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18775 calculation. Remove unnecessary test for denormal exponent.
18776 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18777 Correct handling of denormals. Avoid undefined shift behaviour.
18778 Correct normalisation of low mantissa when low double is denormal.
18779 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18780 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18781 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18782 Correct normalisation of low mantissa. Test for overflow of high
18783 mantissa and normalise.
18784 (ldbl_nearbyint): Use more readable constant for two52.
18785 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18786 (__mpn_construct_long_double): Fix test for overflow of high
18787 mantissa and correct normalisation. Avoid undefined shift.
18789 2013-10-04 Alan Modra <amodra@gmail.com>
18791 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18792 (union ibm_extended_long_double): Define as an array of ieee754_double.
18793 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18794 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18795 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18796 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18805 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18807 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18808 page size instead of calling getpagesize.
18810 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18811 (LOCFILE_ALIGN_MASK): Likewise.
18812 (LOCFILE_ALIGN_UP): Likewise.
18813 (LOCFILE_ALIGNED_P): Likewise.
18814 * locale/programs/ld-collate.c (collate_output): Use the new
18815 macros instead of __alignof__ (int32_t).
18816 * locale/weight.h (findidx): Likewise.
18818 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18821 * manual/string.texi: Fix strncat and wcsncat.
18823 2013-10-03 Brooks Moses <bmoses@google.com>
18826 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18827 * Makerules: ...here, and adjust associated comments.
18829 2013-10-02 Will Newton <will.newton@linaro.org>
18831 * malloc/Makefile: Add tst-pvalloc.
18832 * malloc/tst-pvalloc.c: New file.
18834 2013-10-02 Will Newton <will.newton@linaro.org>
18836 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18837 improve test coverage.
18839 2013-10-02 Will Newton <will.newton@linaro.org>
18841 * malloc/Makefile: Add tst-posix_memalign.
18842 * malloc/tst-posix_memalign.c: New file.
18844 2013-10-01 Eric Blake <eblake@redhat.com>
18846 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18847 Use __THROWNL rather than __THROW on static functions.
18849 2013-09-30 Petr Machata <pmachata@redhat.com>
18851 * elf/elf.h (R_AARCH64_ABS16): New macro.
18852 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18853 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18854 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18855 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18856 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18857 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18858 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18859 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18860 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18861 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18862 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18863 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18864 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18865 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18866 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18867 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18868 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18869 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18870 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18871 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18872 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18873 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18874 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18875 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18876 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18877 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18878 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18879 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18880 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18881 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18882 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18883 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18884 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18885 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18886 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18887 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18888 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18889 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18890 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18891 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18892 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18893 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18894 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18895 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18896 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18897 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18898 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18899 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18900 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18901 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18902 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18903 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18904 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18905 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18906 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18907 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18908 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18909 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18910 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18911 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18912 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18913 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18914 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18915 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18916 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18917 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18918 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18919 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18920 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18921 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18922 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18923 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18924 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18925 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18926 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18927 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18928 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18929 (R_AARCH64_TLSDESC_LDR): Likewise.
18930 (R_AARCH64_TLSDESC_ADD): Likewise.
18931 (R_AARCH64_TLSDESC_CALL): Likewise.
18933 2013-09-30 Andreas Schwab <schwab@suse.de>
18936 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18937 the nss database lookup.
18938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18941 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18943 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18945 2013-09-28 P. J. McDermott <pj@pehjota.net>
18947 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18948 ${Bash-specific parameter/pattern/string} parameter expansion.
18949 * sysdeps/unix/make-syscalls.sh: Likewise.
18951 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18953 * sysdeps/sh/stackguard-macros.h: New file.
18955 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18959 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18960 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18961 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18962 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18964 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18966 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18967 Fix thread ID register.
18969 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18971 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18972 [POSIX || UNIX98]: Require rather than permitting all symbols from
18974 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18975 element of struct sched_param.
18976 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18977 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18978 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18979 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18982 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18984 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18985 argument calculation.
18987 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18989 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18991 [POSIX] (pthread_attr_t): Do not require type.
18992 [POSIX] (pthread_cond_t): Likewise.
18993 [POSIX] (pthread_condattr_t): Likewise.
18994 [POSIX] (pthread_key_t): Likewise.
18995 [POSIX] (pthread_mutex_t): Likewise.
18996 [POSIX] (pthread_mutexattr_t): Likewise.
18997 [POSIX] (pthread_once_t): Likewise.
18998 [POSIX] (pthread_t): Likewise.
18999 [POSIX-based standards] (pthread_atfork): Expect function.
19001 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19002 Richard Sandiford <richard@codesourcery.com>
19004 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19005 (swap_endianness_p): New extern variable.
19006 (set_big_endian): New inline function.
19007 (maybe_swap_uint32): Likewise.
19008 (maybe_swap_uint32_array): Likewise.
19009 (maybe_swap_uint32_obstack): Likewise.
19010 * locale/programs/locfile.c: Include <stdbool.h>.
19011 (swap_endianness_p): New variable.
19012 (add_locale_uint32): Call maybe_swap_uint32.
19013 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19014 (write_locale_data): Call maybe_swap_uint32_array.
19015 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19017 (obstack_int32_grow_fast): Likewise.
19018 (output_weightwc): Call maybe_swap_uint32_obstack.
19019 (collate_output): Likewise.
19020 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19021 (OPT_LITTLE_ENDIAN): Likewise.
19022 (options): Add --little-endian and --big-endian options.
19023 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19024 * locale/programs/locarchive.c: Include "locfile.h".
19028 (create_archive): Use the new macros to access fields of
19029 structures directly mapped from or written to locale archives.
19030 (oldlocrecentcmp): Likewise.
19031 (enlarge_archive): Likewise.
19032 (insert_name): Likewise.
19033 (add_alias): Likewise.
19034 (add_locale): Likewise.
19035 (delete_locales_from_archive): Likewise.
19036 (show_archive_content): Likewise.
19037 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19040 2013-09-24 Roland McGrath <roland@hack.frob.com>
19042 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19043 http://www.gnu.org/doc/freemanuals.texi.
19044 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19046 2013-09-24 Will Newton <will.newton@linaro.org>
19048 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19051 2013-09-23 Joseph Myers <joseph@codesourcery.com>
19053 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19056 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19058 * manual/threads.texi (POSIX Threads): Fix a typo.
19060 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19063 * string/tst-strcoll-overflow.c: New test case.
19064 * string/Makefile (xtests): Add tst-strcoll-overflow.
19065 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19066 cache if string sizes may cause integer overflow.
19069 * string/strcoll_l.c (coll_seq): New members rule, idx,
19070 save_idx and back_us.
19071 (get_next_seq_nocache): New function.
19072 (do_compare_nocache): New function.
19073 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19076 2013-09-23 Carlos O'Donell <carlos@redhat.com>
19079 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19080 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19081 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19084 * elf/Makefile (tests): Add tst-ptrguard1.
19085 (tests-static): Add tst-ptrguard1-static.
19086 (tst-ptrguard1-ARGS): Define.
19087 (tst-ptrguard1-static-ARGS): Define.
19088 * elf/tst-ptrguard1.c: New file.
19089 * elf/tst-ptrguard1-static.c: New file.
19090 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19091 * sysdeps/i386/stackguard-macros.h: Likewise.
19092 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19093 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19094 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19095 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19096 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19097 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19099 2013-09-23 Hector Marco <hecmargi@upv.es>
19100 Ismael Ripoll <iripoll@disca.upv.es>
19101 Carlos O'Donell <carlos@redhat.com>
19104 * sysdeps/generic/stackguard-macros.h: Define
19105 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19106 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19107 Define __pointer_chk_guard_local.
19108 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19109 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19111 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19114 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19116 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19118 * include/string.h (__ffs): Declare as hidden.
19119 * string/ffs.c (__ffs): Define as hidden.
19120 * sysdeps/i386/ffs.c (__ffs): Likewise.
19121 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19122 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19123 * sysdeps/s390/ffs.c (__ffs): Likewise.
19124 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19126 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
19128 * NEWS: Mention malloc probes.
19130 * malloc/arena.c (new_heap): New memory_heap_new probe.
19131 (grow_heap): New memory_heap_more probe.
19132 (shrink_heap): New memory_heap_less probe.
19133 (heap_trim): New memory_heap_free probe.
19134 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19135 (systrim): New memory_sbrk_less probe.
19136 * manual/probes.texi: Document them.
19138 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19139 * manual/probes.texi: Document it.
19141 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19142 (__libc_realloc): Add memory_realloc_retry probe.
19143 (__libc_memalign): Add memory_memalign_retry probe.
19144 (__libc_valloc): Add memory_valloc_retry probe.
19145 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19146 (__libc_calloc): Add memory_calloc_retry probe.
19147 * manual/probes.texi: Document them.
19149 * malloc/arena.c (get_free_list): Add probe
19150 memory_arena_reuse_free_list.
19151 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19152 and memory_arena_reuse.
19153 (arena_get2) [!PER_THREAD]: Likewise.
19154 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19155 memory_arena_reuse_realloc.
19156 * manual/probes.texi: Document them.
19158 * malloc/malloc.c (__libc_free): Add
19159 memory_mallopt_free_dyn_thresholds probe.
19160 (__libc_mallopt): Add multiple memory_mallopt probes.
19161 * manual/probes.texi: Document them.
19163 * malloc/malloc.c: Include stap-probe.h.
19164 (__libc_mallopt): Add memory_mallopt probe.
19165 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19166 * manual/probes.texi: New.
19167 * manual/Makefile (chapters): Add probes.
19168 * manual/threads.texi: Set next node.
19170 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
19172 [BZ #15963, #13985]
19173 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19174 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19175 Add `Chinese' to `nan' entry name.
19177 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19179 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19180 (POLYNOMIAL): Likewise.
19181 (TAYLOR_SINCOS): Likewise.
19182 (TAYLOR_SLOW): Likewise.
19183 (__sin): Use TAYLOR_SINCOS.
19185 (slow): Use TAYLOR_SLOW.
19187 (bsloww): Likewise.
19188 (csloww): Likewise.
19190 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19192 * stdlib/strtod_l.c: Fix buffer overrun.
19194 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19196 * benchtests/Makefile (bench): Add sincos.
19197 * benchtests/bench-sincos.c: New file.
19199 * math/libm-test.inc (cos_test_data): New test inputs.
19200 (sin_test_data): Likewise.
19202 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19208 (sloww1): Likewise.
19209 (sloww2): Likewise.
19210 (bsloww1): Likewise.
19211 (bsloww2): Likewise.
19212 (cslow2): Likewise.
19213 (csloww1): Likewise.
19214 (csloww2): Likewise.
19216 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19225 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19227 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19228 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19229 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19230 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19231 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19232 * elf/cache.c (print_entry): Handle the new cache flags.
19234 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19235 Aldy Hernandez <aldyh@redhat.com>
19237 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19238 Change condition to [_SOFT_FLOAT].
19239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19251 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19254 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19257 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19259 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19260 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19261 (__longjmp): Use LOAD_GP to load saved GPRs.
19262 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19263 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19264 (__sigsetjmp): Use SAVE_GP to save GPRs.
19266 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19267 Do not append -msoft-float.
19268 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19270 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19272 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19274 2013-09-17 Joseph Myers <joseph@codesourcery.com>
19277 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19278 (_FPU_GETCW): Use initial "__" on variable and field names but not
19279 on macro parameter name.
19280 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19281 parentheses around reference to macro parameter.
19283 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19285 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19287 (ctype_startup): Use uint32_t in cast and sizeof for
19290 2013-09-11 Jia Liu <proljc@gmail.com>
19292 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19294 [__FreeBSD__]: Likewise.
19296 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19299 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19300 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19301 (strchr): Remove __strchr_sse42 ifunc selection.
19302 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19303 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19305 2013-09-11 Will Newton <will.newton@linaro.org>
19307 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19308 parameter to RES. Remove hardcoded 1000 value.
19309 * benchtests/bench-skeleton.c (main): Pass RES parameter
19310 to TIMING_INIT and multiply result by 1000.
19312 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19316 2013-09-11 Andreas Schwab <schwab@suse.de>
19318 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19320 (O_TMPFILE) [__USE_GNU]: Define.
19321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19324 2013-09-11 Will Newton <will.newton@linaro.org>
19327 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19330 2013-09-11 Will Newton <will.newton@linaro.org>
19333 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19336 2013-09-11 Will Newton <will.newton@linaro.org>
19339 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19342 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19344 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19345 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19350 2013-09-10 Allan McRae <allan@archlinux.org>
19353 * manual/arith.texi (Parsing of Floats): Clarify
19357 * manual/install.texi (Running make install): Mention
19359 * INSTALL: Regenerated.
19361 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19363 * csu/init-first.c (_init): Remove the !SHARED condition around
19364 FPU control word initialization.
19365 * elf/dl-support.c (_dl_fpu_control): New variable.
19366 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19367 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19368 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19369 * math/test-fpucw-static.c: New file.
19370 * math/test-fpucw-ieee.c: New file.
19371 * math/test-fpucw-ieee-static.c: New file.
19372 * math/Makefile (tests): Add `test-fpucw-ieee' and
19374 (tests-static): New variable.
19375 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19377 [($(build-shared),yes)]
19378 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19380 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19383 2013-09-09 Allan McRae <allan@archlinux.org>
19386 * manual/string.texi (Collation Functions): Fix typo in
19388 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19391 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19394 * libio/memstream.c (open_memstream): Fix memory leak.
19395 * libio/wmemstream.c (open_wmemstream): Likewise.
19398 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19400 2013-09-09 Will Newton <will.newton@linaro.org>
19402 * malloc/Makefile: Add tst-realloc to tests.
19403 * malloc/tst-realloc.c: New file.
19405 2013-09-09 Allan McRae <allan@archlinux.org>
19408 * COPYING: Update from GNU website to fix FSF address.
19409 * COPYING.LIB: Likewise.
19411 2013-09-06 David S. Miller <davem@davemloft.net>
19413 * po/zh_TW.po: Update Chinese (traditional) translation from
19414 translation project.
19416 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19417 Joseph Myers <joseph@codesourcery.com>
19419 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19421 (obstack_chunk_alloc): New macro.
19422 (obstack_chunk_free): Likewise.
19423 (record_offset): New function.
19424 (init_locale_data): Likewise.
19425 (align_locale_data): Likewise.
19426 (add_locale_empty): Likewise.
19427 (add_locale_raw_data): Likewise.
19428 (add_locale_raw_obstack): Likewise.
19429 (add_locale_string): Likewise.
19430 (add_locale_wstring): Likewise.
19431 (add_locale_uint32): Likewise.
19432 (add_locale_uint32_array): Likewise.
19433 (add_locale_char): Likewise.
19434 (start_locale_structure): Likewise.
19435 (end_locale_structure): Likewise.
19436 (start_locale_prelude): Likewise.
19437 (end_locale_prelude): Likewise.
19438 (write_locale_data): Take locale_file structure rather than an
19440 * locale/programs/locfile.h: Include "obstack.h".
19441 (struct locale_file): Change to store locale file contents instead
19443 (init_locale_data): New prototype.
19444 (align_locale_data): Likewise.
19445 (add_locale_empty): Likewise.
19446 (add_locale_raw_data): Likewise.
19447 (add_locale_raw_obstack): Likewise.
19448 (add_locale_string): Likewise.
19449 (add_locale_wstring): Likewise.
19450 (add_locale_uint32): Likewise.
19451 (add_locale_uint32_array): Likewise.
19452 (add_locale_char): Likewise.
19453 (start_locale_structure): Likewise.
19454 (end_locale_structure): Likewise.
19455 (start_locale_prelude): Likewise.
19456 (end_locale_prelude): Likewise.
19457 (write_locale_data): Update prototype.
19458 * locale/programs/3level.h (struct TABLE): Remove result field.
19459 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19460 Use new locale_file interface.
19461 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19462 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19463 * locale/programs/ld-address.c (address_output): Use new
19464 locale_file interface.
19465 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19467 (collate_finish): Don't call collseq_table_finalize.
19468 (collate_output): Use new locale_file interface.
19469 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19471 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19472 (TABLE): Move defines earlier in file.
19473 (ELEMENT): Likewise.
19474 (DEFAULT): Likewise.
19475 (wctrans_table_add): Move macro and inline function earlier in
19477 (struct wctype_table): Move type earlier in file.
19478 (add_locale_wctype_table): New static prototype.
19479 (struct locale_ctype_t): Use logical types instead of struct iovec
19480 pointers for members.
19481 (ctype_output): Use new locale_file interface.
19482 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19483 new locale_file interface.
19484 (allocate_arrays): Update for use of new locale_file interface.
19485 * locale/programs/ld-identification.c (identification_output): Use
19486 new locale_file interface.
19487 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19488 * locale/programs/ld-messages.c (messages_output): Likewise.
19489 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19490 * locale/programs/ld-name.c (name_output): Likewise.
19491 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19492 * locale/programs/ld-paper.c (paper_output): Likewise.
19493 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19494 * locale/programs/ld-time.c (time_output): Likewise.
19496 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19498 * benchtests/Makefile: Add memrchr benchmark.
19499 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19500 benchmark as memrchr.
19501 * benchtests/bench-memrchr-ifunc.c: New file.
19502 * benchtests/bench-memrchr.c: New file.
19504 2013-09-06 Will Newton <will.newton@linaro.org>
19506 * benchtests/Makefile (string-bench): Add memcpy.
19508 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19509 Cong Wang <amwang@redhat.com>
19512 * sysdeps/unix/sysv/linux/bits/in.h
19513 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19514 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19515 before __USE_KERNEL_IPV6_DEFS uses.
19516 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19518 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19519 sockaddr_in6, or ipv6_mreq.
19521 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19523 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19524 memory access for final bytes in some large inputs.
19525 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19527 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19529 * string/test-memrchr.c: New file.
19530 * string/test-memrchr-ifunc.c: New file.
19531 * string/Makefile: Add new memrchr testcase.
19533 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19535 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19536 fanotify_init returns EPERM.
19538 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19540 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19542 (top level): Treat second token from macro or constant entries for
19543 allowed headers as allowed.
19544 * include/complex.h: Condition internal declarations on
19546 * include/fenv.h: Condition include of <stdbool.h> and internal
19547 declarations on [!_ISOMAC].
19549 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19552 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19554 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19556 * configure.in (--enable-versioning): Remove configure option.
19557 (libc_cv_asm_symver_directive): Remove configure test.
19558 (libc_cv_ld_version_script_option): Likewise.
19559 (VERSIONING): Remove variable and AC_SUBST.
19560 (DO_VERSIONING): Remove AC_DEFINE.
19561 * configure: Regenerated.
19562 * config.h.in (DO_VERSIONING): Remove macro.
19563 * Makerules [$(versioning) = yes]: Change conditionals to
19564 [$(build-shared) = yes].
19565 * config.make.in (versioning): Remove variable.
19566 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19567 [$(build-shared) = yes].
19568 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19569 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19570 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19571 [$(build-shared) = yes].
19572 * extra-lib.mk [$(versioning) = yes]: Likewise.
19573 * hurd/Makefile [$(versioning) = yes]: Likewise.
19574 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19576 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19578 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19579 [SHARED && !NO_HIDDEN].
19580 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19582 [SHARED && DO_VERSIONING]: Likewise..
19583 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19584 [$(build-shared) = yes].
19585 * manual/install.texi (--disable-versioning): Remove
19587 * INSTALL: Regenerated.
19588 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19590 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19591 [$(build-shared) = yes].
19592 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19593 * sysdeps/i386/i686/multiarch/strstr-c.c
19594 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19595 [SHARED && !NO_HIDDEN].
19596 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19597 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19598 * sysdeps/powerpc/powerpc32/dl-machine.c
19599 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19600 * sysdeps/powerpc/powerpc32/sysdep.h
19601 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19602 to [SHARED && PIC && !NO_HIDDEN].
19603 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19604 conditional to [SHARED].
19606 2013-09-04 Will Newton <will.newton@linaro.org>
19608 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19609 * benchtests/bench-string.h: Include bench-timing.h instead
19610 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19611 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19612 call to HP_TIMING_DIFF_INIT.
19613 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19614 instead of hp-timing.h macros.
19615 * benchtests/bench-memchr.c: Likewise.
19616 * benchtests/bench-memcmp.c: Likewise.
19617 * benchtests/bench-memcpy.c: Likewise.
19618 * benchtests/bench-memmem.c: Likewise.
19619 * benchtests/bench-memmove.c: Likewise.
19620 * benchtests/bench-memset.c: Likewise.
19621 * benchtests/bench-rawmemchr.c: Likewise.
19622 * benchtests/bench-strcasecmp.c: Likewise.
19623 * benchtests/bench-strcasestr.c: Likewise.
19624 * benchtests/bench-strcat.c: Likewise.
19625 * benchtests/bench-strchr.c: Likewise.
19626 * benchtests/bench-strcmp.c: Likewise.
19627 * benchtests/bench-strcpy.c: Likewise.
19628 * benchtests/bench-strcpy_chk.c: Likewise.
19629 * benchtests/bench-strlen.c: Likewise.
19630 * benchtests/bench-strncasecmp.c: Likewise.
19631 * benchtests/bench-strncat.c: Likewise.
19632 * benchtests/bench-strncmp.c: Likewise.
19633 * benchtests/bench-strncpy.c: Likewise.
19634 * benchtests/bench-strnlen.c: Likewise.
19635 * benchtests/bench-strpbrk.c: Likewise.
19636 * benchtests/bench-strrchr.c: Likewise.
19637 * benchtests/bench-strspn.c: Likewise.
19638 * benchtests/bench-strstr.c: Likewise.
19640 2013-09-04 Will Newton <will.newton@linaro.org>
19642 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19644 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19647 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19648 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19649 * math/libm-test.inc (lgamma_test_data): Add more tests.
19650 * sysdeps/i386/fpu/libm-test-ulps: Update.
19651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19653 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19655 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19659 Add strcmp-sse2-unaligned
19660 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19662 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19664 * Versions.def (libc): Add GLIBC_2.19.
19666 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19668 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19669 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19671 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19674 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19675 intermediate calculations in recurrence.
19676 (__ieee754_ynf): Likewise.
19677 * math/libm-test.inc (jn_test_data): Do not allow spurious
19678 underflow exception. Add more tests.
19679 (yn_test_data): Add more tests.
19680 * sysdeps/i386/fpu/libm-test-ulps: Update.
19681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19683 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19685 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19687 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19689 * csu/init-first.c: Fix then/than typos.
19690 * locale/programs/ld-collate.c: Likewise.
19691 * locale/programs/linereader.h: Likewise.
19692 * manual/charset.texi: Likewise.
19693 * manual/filesys.texi: Likewise.
19694 * manual/stdio.texi: Likewise.
19695 * manual/string.texi: Likewise.
19696 * stdlib/fmtmsg.c: Likewise.
19697 * sysdeps/i386/stpncpy.S: Likewise.
19698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19699 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19700 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19701 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19703 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19705 * elf/dl-open.c: Fix typos.
19706 * iconvdata/gbbig5.c: Likewise.
19707 * iconvdata/iso-2022-jp.c: Likewise.
19708 * iconv/gconv_int.h: Likewise.
19709 * iconv/loop.c: Likewise.
19710 * nis/rpcsvc/nis.h: Likewise.
19711 * resolv/ns_name.c: Likewise.
19712 * stdio-common/vfscanf.c: Likewise.
19713 * streams/stropts.h: Likewise.
19714 * sunrpc/rpc_thread.c: Likewise.
19715 * sysdeps/i386/strpbrk.S: Likewise.
19716 * sysdeps/ieee754/k_standard.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19719 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19720 * sysdeps/mach/hurd/profil.c: Likewise.
19721 * sysdeps/s390/dl-procinfo.h: Likewise.
19722 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19723 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19724 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19725 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19726 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19728 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19730 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19733 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19735 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19736 aix specific files.
19737 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19738 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19739 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19740 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19741 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19742 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19743 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19744 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19746 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19747 Roland McGrath <roland@hack.frob.com>
19749 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19750 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19752 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19754 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19755 __executable_start symbol instead of _start.
19757 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19759 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19760 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19762 * sysdeps/gnu/ldsodefs.h: ... this new file.
19764 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19765 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19766 instead of ELFOSABI_LINUX.
19768 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19769 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19770 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19771 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19773 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19774 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19775 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19777 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19778 (ibm_extended_long_double): Add ieee_nan member.
19779 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19780 (do_test): New function.
19782 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19784 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19785 functions, renamed from truncdfsf_test, trunctfsf_test,
19787 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19789 (do_test): Run all these.
19791 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19793 * argp/argp-help.c: Fix typos.
19794 * argp/argp-parse.c: Likewise.
19795 * debug/backtracesyms.c: Likewise.
19796 * elf/elf.h: Likewise.
19797 * malloc/malloc.c: Likewise.
19798 * nis/nis_print.c: Likewise.
19799 * resolv/res_comp.c: Likewise.
19800 * stdlib/stdlib.h: Likewise.
19801 * sunrpc/clnt_tcp.c: Likewise.
19802 * sunrpc/clnt_udp.c: Likewise.
19803 * sunrpc/clnt_unix.c: Likewise.
19804 * sysdeps/unix/bsd/ptsname.c: Likewise.
19805 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19806 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19813 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19815 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19817 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19820 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19823 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19824 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19825 ($(objpfx)bug-dl-leaf): New rule.
19826 ($(objpfx)bug-dl-leaf.so): Likewise.
19827 ($(objpfx)bug-dl-leaf.out): Likewise.
19828 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19829 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19830 * dlfcn/bug-dl-leaf.c: New test.
19831 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19832 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19833 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19834 (dlclose): Likewise.
19835 (dlmopen): Likewise.
19837 2013-08-27 Roland McGrath <roland@hack.frob.com>
19839 * include/netdb.h [!_ISOMAC]:
19840 Don't include <tls.h>.
19841 (h_errno, __libc_h_errno): Move declaration and macros out of
19844 * include/resolv.h [_RESOLV_H_]:
19845 Don't include <tls.h>.
19846 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19847 * resolv/res_libc.c: Don't include <tls.h>.
19848 (_res): Use __attribute__ ((nocommon)) in place of
19849 __attribute__ ((section (".bss"))).
19851 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19852 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19854 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19856 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19857 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19859 * resolv/res_mkquery.c: Include <sys/time.h>.
19861 * inet/ifreq.c: Moved to ...
19862 * sysdeps/unix/ifreq.c: ... here.
19863 * inet/ifreq.c: New file, true stub version.
19865 * socket/sa_len.c: New file.
19866 * socket/Makefile (aux): Add it.
19867 * sysdeps/unix/sysv/linux/Makefile
19868 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19869 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19870 and #include <socket/sa_len.c>.
19871 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19872 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19874 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19875 * bits/socket.h: ... here.
19877 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19878 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19879 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19881 2013-08-27 Andreas Schwab <schwab@suse.de>
19884 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19885 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19886 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19887 * string/test-strcasecmp.c (test_main): Run tests in several
19889 * string/test-strncasecmp.c (test_main): Likewise.
19891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19892 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19893 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19894 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19895 (__strncasecmp_ssse3) [PIC]: Likewise.
19897 2013-08-26 Roland McGrath <roland@hack.frob.com>
19899 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19901 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19902 instead of explicitly declaring xdecrypt.
19903 * nis/nss_nis/nis-publickey.c: Likewise.
19905 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19908 * nscd/aicache.c: Include res_hconf.h.
19909 (addhstaiX): Initialize res_hconf.
19911 2013-08-26 Andreas Schwab <schwab@suse.de>
19913 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19914 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19916 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19918 * nscd/aicache.c (addhstaiX): Fix indentation.
19920 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19922 * configure.ac: Quote $build_pt_chown test.
19923 * configure: Regenerated.
19925 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19928 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19929 * math/s_cexpf.c (__cexpf): Likewise.
19930 * math/s_cexpl.c (__cexpl): Likewise.
19931 * math/libm-test.inc (cexp_test_data): Correct expected return
19932 value for NaN + i0. Add another test.
19934 2013-08-22 David S. Miller <davem@davemloft.net>
19936 * po/ca.po: Update Catalan translation from translation project.
19937 * po/uk.po: Add Ukrainian translations from translation project.
19939 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19942 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19943 is infinite, not alongside NaN test.
19944 * math/s_fdimf.c (__fdimf): Likewise.
19945 * math/s_fdiml.c (__fdiml): Likewise.
19946 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19947 errno is unchanged.
19949 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19951 * argp/argp-help.c: Fix typos.
19952 * crypt/speeds.c: Likewise.
19953 * csu/check_fds.c: Likewise.
19954 * elf/dl-load.c: Likewise.
19955 * elf/dl-open.c: Likewise.
19956 * elf/reldep3.c: Likewise.
19957 * elf/reldep.c: Likewise.
19958 * elf/sprof.c: Likewise.
19959 * iconv/iconv_charmap.c: Likewise.
19960 * iconv/skeleton.c: Likewise.
19961 * iconv/strtab.c: Likewise.
19962 * io/lockf64.c: Likewise.
19963 * libio/libioP.h: Likewise.
19964 * resolv/gai_notify.c: Likewise.
19965 * resolv/ns_name.c: Likewise.
19966 * resolv/ns_samedomain.c: Likewise.
19967 * resolv/res_send.c: Likewise.
19968 * stdlib/random.c: Likewise.
19969 * sunrpc/rpc/xdr.h: Likewise.
19970 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19971 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19972 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19973 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19975 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19978 * sysdeps/mach/hurd/check_fds.c: Likewise.
19979 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19980 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19981 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19982 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19983 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19984 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19985 * sysdeps/pthread/aio_notify.c: Likewise.
19986 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19987 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19988 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19989 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19990 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19992 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19994 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19995 version if bit_Slow_SSE4_2 is set.
19996 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19997 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19999 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20002 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20003 trampoline stack frame information.
20004 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20005 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20006 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20007 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20008 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20009 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20010 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20011 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20013 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20014 interrupting a syscall and set with option SA_SIGINFO.
20016 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20019 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20020 argument is infinite.
20021 * math/s_cprojf.c (__cprojf): Likewise.
20022 * math/s_cprojl.c (__cprojl): Likewise.
20023 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20024 * math/libm-test.inc (cproj_test_data): Add more tests.
20026 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20028 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20029 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20030 size. Use __ffs to determine corresponding shift.
20032 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20033 Roland McGrath <roland@hack.frob.com>
20035 * Makefile (INSTALL): Remove trailing blank lines from output of
20038 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20040 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20041 Align 32 bit compat elf_greg to 8 bytes.
20043 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20045 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20047 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20049 * string/strcoll_l.c (coll_seq): New structure.
20050 (get_next_seq_cached): New function.
20051 (get_next_seq): New function.
20052 (do_compare): New function.
20053 (STRCOLL): Use GNU style definition. Simplify implementation
20054 by using get_next_seq, get_next_seq_cached and do_compare.
20056 2013-08-16 Florian Weimer <fweimer@redhat.com>
20060 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20062 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20064 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20065 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20066 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20068 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20069 GETDENTS_64BIT_ALIGNED.
20070 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20071 * manual/filesys.texi (Reading/Closing Directory): Document
20072 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20074 * manual/conf.texi (Limits for Files): Add portability note to
20075 NAME_MAX, PATH_MAX.
20076 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20078 2013-08-13 Andreas Schwab <schwab@suse.de>
20081 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20083 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20084 LDBL_MAX_EXP >= 16384]: Add tests for it.
20086 2013-08-12 David S. Miller <davem@davemloft.net>
20088 * version.h (RELEASE): Set to "development".
20089 (VERSION): Set to "2.18.90".
20090 * NEWS: Add 2.19 section.
20092 2013-08-03 David S. Miller <davem@davemloft.net>
20094 * po/ko.po: Update Korean translation from translation project.
20096 2013-08-01 David S. Miller <davem@davemloft.net>
20098 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20099 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20102 2013-07-30 David S. Miller <davem@davemloft.net>
20104 * po/fr.po: Update French translation from translation project.
20106 2013-07-28 David S. Miller <davem@davemloft.net>
20108 * po/cs.po: Update Czech translation from translation project.
20110 * po/sv.po: Update Swedish translation from translation project.
20112 2013-07-27 David S. Miller <davem@davemloft.net>
20114 * po/eo.po: Update Esperanto translation from translation project.
20116 * po/vi.po: Update Vietnamese translation from translation project.
20118 * po/de.po: Update German translation from translation project.
20120 2013-07-26 David S. Miller <davem@davemloft.net>
20122 * po/bg.po: Update Bulgarian translation from translation project.
20124 * po/nl.po: Update Dutch translation from translation project.
20125 * po/pl.po: Update Polish translation from translation project.
20126 * po/ru.po: Update Russian translation from translation project.
20128 2013-07-24 David S. Miller <davem@davemloft.net>
20130 * po/libc.pot: Update.
20132 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20134 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20135 variable page size.
20136 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20137 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20138 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20140 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20142 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20144 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20145 Andreas Schwab <schwab@suse.de>
20146 Roland McGrath <roland@hack.frob.com>
20147 Joseph Myers <joseph@codesourcery.com>
20148 Carlos O'Donell <carlos@redhat.com>
20151 * config.h.in: Define HAVE_PT_CHOWN.
20152 * config.make.in (build-pt-chown): New variable.
20153 * configure.in (--enable-pt_chown): New configure option.
20154 * configure: Regenerate.
20155 * login/Makefile: Include Makeconfig. Build pt_chown only if
20156 build-pt-chown is enabled.
20157 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20158 pt_chown to fix pty ownership.
20159 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20161 * manual/install.texi (Configuring and compiling): Mention
20162 --enable-pt_chown. Add @findex for grantpt.
20163 * INSTALL: Regenerate.
20165 2013-07-20 David S. Miller <davem@davemloft.net>
20167 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20168 difference between 32-bit and 64-bit.
20170 2013-07-15 Carlos O'Donell <carlos@redhat.com>
20173 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20174 Avoid system header dependency with -ffreestanding.
20175 ($(objpfx)bits/syscall%d): Likewise.
20177 2013-07-13 David S. Miller <davem@davemloft.net>
20179 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20180 underflows from atanl/atan2l due to bug 15319.
20181 (casinh_test_data): Likewise.
20183 2013-07-07 David S. Miller <davem@davemloft.net>
20185 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20187 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20189 * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20192 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20194 * configure.in (--enable-lock-elision): Fix message text.
20195 * INSTALL: Regenerate.
20196 * configure: Regenerate.
20198 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20202 2013-07-03 Andreas Jaeger <aj@suse.de>
20204 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20206 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20207 (ptrace_peeksiginfo_args): Add.
20208 (__ptrace_peeksiginfo_flags): Add.
20209 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20210 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20211 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20213 2013-07-03 Allan McRae <allan@archlinux.org>
20215 * sysdeps/i386/fpu/libm-test-ulps: Update.
20217 2013-07-02 David S. Miller <davem@davemloft.net>
20219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20221 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20225 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20227 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20230 2013-07-02 Andi Kleen <ak@linux.intel.com>
20232 * config.h.in (ENABLE_LOCK_ELISION): Add.
20233 * configure.in (--enable-lock-elision): Add option.
20234 * manual/install.texi: Document --enable lock elision.
20235 * configure: Regenerate
20236 * INSTALL: Regenerate.
20238 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20240 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20241 SSE4.2 strcasecmp for libc.a.
20242 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20244 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20247 * soft-fp/op-common.h (_FP_FMA): New macro.
20248 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20249 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20250 (_FP_MUL_MEAT_1_imm): ... here.
20251 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20252 (_FP_MUL_MEAT_1_wide): ... here.
20253 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20254 (_FP_MUL_MEAT_1_hard): ... here.
20255 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20256 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20257 (_FP_MUL_MEAT_2_wide): ... here.
20258 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20259 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20260 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20261 (_FP_MUL_MEAT_2_gmp): ... here.
20262 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20263 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20264 (_FP_MUL_MEAT_4_wide): ... here.
20265 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20266 (_FP_MUL_MEAT_4_gmp): ... here.
20267 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20268 (_FP_WFRACBITS_DW_S): Likewise.
20269 (_FP_WFRACXBITS_DW_S): Likewise.
20270 (_FP_HIGHBIT_DW_S): Likewise.
20271 (FP_FMA_S): Likewise.
20272 (_FP_FRAC_HIGH_DW_S): Likewise.
20273 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20274 (_FP_WFRACBITS_DW_D): Likewise.
20275 (_FP_WFRACXBITS_DW_D): Likewise.
20276 (_FP_HIGHBIT_DW_D): Likewise.
20277 (FP_FMA_D): Likewise.
20278 (_FP_FRAC_HIGH_DW_D): Likewise.
20279 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20280 (_FP_WFRACBITS_DW_E): Likewise.
20281 (_FP_WFRACXBITS_DW_E): Likewise.
20282 (_FP_HIGHBIT_DW_E): Likewise.
20283 (FP_FMA_E): Likewise.
20284 (_FP_FRAC_HIGH_DW_E): Likewise.
20285 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20286 (_FP_WFRACBITS_DW_Q): Likewise.
20287 (_FP_WFRACXBITS_DW_Q): Likewise.
20288 (_FP_HIGHBIT_DW_Q): Likewise.
20289 (FP_FMA_Q): Likewise.
20290 (_FP_FRAC_HIGH_DW_Q): Likewise.
20291 * soft-fp/fmasf4.c: New file.
20292 * soft-fp/fmadf4.c: Likewise.
20293 * soft-fp/fmatf4.c: Likewise.
20295 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20298 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20302 (index_Slow_SSE4_2): Likewise.
20303 (index_Prefer_PMINUB_for_stringop): Likewise.
20304 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20305 bit_Slow_SSE4_2 is set.
20306 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20307 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20309 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20311 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20312 rtld_global._dl_hwcap2.
20313 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20315 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20316 POWER8 feature descriptions defined in _dl_hwcap2.
20317 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20318 string handling for POWER8 feature bits.
20319 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20320 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20321 _dl_powerpc_cap_flags.
20322 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20323 * sysdeps/powerpc/rtld-global-offsets.sym
20324 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20325 _dl_hwcap2 in the rtld_global_ro structure.
20327 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20329 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20330 hardware capabilities in support of AT_HWCAP2.
20331 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20332 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20334 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20335 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20336 explicitly the unknown a_type display mechanism is used.
20337 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20338 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20340 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20341 to macro prototype for AT_HWCAP2 support.
20342 * sysdeps/i386/dl-procinfo.h: Likewise.
20343 * sysdeps/s390/dl-procinfo.h: Likewise.
20344 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20345 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20346 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20347 return -1 for unknown a_type display fallback.
20348 * sysdeps/sparc/dl-procinfo.h: Likewise.
20349 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20350 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20352 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20354 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20355 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20357 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20360 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20361 mprotect making __stack_prot writable.
20363 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20364 Joseph Myers <joseph@codesourcery.com>
20366 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20367 as being properly aligned.
20369 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20371 * dlfcn/modstatic5.c: New file.
20372 * dlfcn/tststatic5.c: New file.
20373 * dlfcn/Makefile (tests): Add tststatic5.
20374 (tests-static): Likewise.
20375 (modules-names): Add modstatic5.
20376 (tststatic5-ENV): New variable.
20377 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20380 * elf/dl-support.c (_dl_main_map): New variable.
20381 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20382 (_dl_nns, _dl_load_adds): Set to 1.
20383 (_dl_initial_searchlist): Refer to _dl_main_map.
20384 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20385 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20386 call to _dl_get_origin.
20387 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20389 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20390 * dlfcn/modstatic3.c: New file.
20391 * dlfcn/tststatic3.c: New file.
20392 * dlfcn/tststatic4.c: New file.
20393 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20394 (tests-static): Likewise.
20395 (modules-names): Add modstatic3.
20396 (tststatic3-ENV, tststatic4-ENV): New variables.
20397 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20398 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20400 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20402 * configure.in (CC): Require GCC version 4.4 or later.
20403 * configure: Regenerated.
20404 * manual/install.texi (Tools for Compilation): Update GCC version
20406 * INSTALL: Regenerated.
20408 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20411 * string/test-memcmp.c (check2): New.
20412 (main): Call check2.
20414 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20416 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20419 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20421 (dl_open_worker) [!SHARED]: ... here.
20423 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20425 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20427 2013-06-25 Richard Henderson <rth@redhat.com>
20429 * locale/programs/locarchive.c: Include <libc-internal.h>
20431 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20433 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20434 trailing whitespace removed.
20436 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20439 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20440 * locale/programs/locarchive.c: Include libc-mmap.h.
20441 (prepare_address_space): Take two new outputs (the mmap base and len).
20442 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20444 (create_archive): Declare new mmap base and len values for
20445 prepare_address_space, and store the result in ah.
20446 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20447 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20448 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20449 Declare new mmap base and len values for
20450 prepare_address_space, and store the result in new_ah.
20451 (open_archive): Declare new mmap base and len values for
20452 prepare_address_space, and store the result in ah.
20453 (close_archive): If ah->mmap_base is not NULL, use that and
20454 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20455 * sysdeps/generic/libc-mmap.h: New file.
20457 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20459 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20460 (ALIGN_UP): Likewise.
20461 (PTR_ALIGN_DOWN): Likewise.
20462 (PTR_ALIGN_UP): Likewise.
20464 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20466 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20467 entry mapped to PPC_PLATFORM_POWER8.
20468 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20470 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20471 (_dl_string_platform): Add case for exporting platform position for
20473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20474 search path to sysdeps/powerpc/powerpc32/power8 directory.
20475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20476 search path to sysdeps/powerpc/powerpc64/power8 directory.
20477 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20478 power7 directories.
20479 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20480 power7 directories.
20482 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20484 * INSTALL: Regenerate.
20486 * nscd/connections.c (nscd_init): Fix comment.
20488 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20490 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20493 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20494 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20496 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20498 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20500 (DL_DST_REQ_STATIC): Remove macro.
20502 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20505 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20506 with a shift of 0 bits.
20508 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20510 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20513 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20516 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20518 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20520 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20521 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20522 accepts -fno-tree-loop-distribute-patterns.
20523 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20524 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20526 * string/memset.c (memset): Likewise.
20527 * string/test-memmove.c (simple_memmove): Disable loop transformation
20529 * string/test-memset.c (simple_memset): Likewise.
20530 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20531 * benchtests/bench-memset.c (simple_memset): Likewise.
20532 * configure: Regenerated.
20534 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20536 * math/test-misc.c (main): Ignore fesetround failure when failures
20537 of subsequent rounding tests would be ignored.
20540 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20541 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20542 * math/fegetenv.c (__fegetenv): Return 0.
20543 * math/fegetexcept.c (fegetexcept): Return 0.
20544 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20546 * math/feholdexcpt.c (feholdexcept): Return 0.
20547 * math/fesetenv.c (__fesetenv): Return 0.
20548 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20549 argument FE_TONEAREST.
20550 * math/feupdateenv.c (__feupdateenv): Return 0.
20551 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20553 2013-06-18 Roland McGrath <roland@hack.frob.com>
20555 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20556 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20557 ($(objpfx)rtld-%.os rules): Use them.
20559 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20561 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20564 2013-06-17 Roland McGrath <roland@hack.frob.com>
20566 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20567 length of target pattern, then descending length of dependency pattern.
20568 * configure.in (AWK): Require gawk 3.1.2 or newer.
20569 * manual/install.texi (Tools for Compilation): Say that we do.
20570 * configure: Regenerated.
20572 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20573 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20574 * scripts/sysd-rules.awk: ... this new script.
20575 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20576 than a glob-style pattern.
20578 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20580 * math/test-misc.c (main): Do not treat incorrectly rounded
20581 conversions as failure unless ROUNDING_TESTS passes.
20583 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20586 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20587 restore exception state around main square root computation, then
20588 check for inexactness explicitly.
20590 * math/libm-test.inc (fma_test_data): Add another test.
20592 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20594 * manual/threads.texi (Non-POSIX Extensions): New document
20595 node. Document pthread_getattr_default_np and
20596 pthread_setattr_default_np.
20598 * Versions.def (libpthread): Add GLIBC_2.18.
20599 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20608 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20619 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20622 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20624 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20625 H.J. Lu <hjl.tools@gmail.com>
20628 * sysdeps/x86_64/rtld-memset.c: Remove file.
20629 * sysdeps/x86_64/rtld-memset.S: New file.
20631 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20633 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20634 (test_in_one_mode): Take arguments for whether the rounding mode
20635 is supported for each floating-point type.
20636 (do_test): Pass new arguments to test_in_one_mode using
20639 2013-06-13 Roland McGrath <roland@hack.frob.com>
20641 * posix/tst-waitid.c (do_test): Distinguish different instances of
20642 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20643 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20644 before entering the kernel for waitpid.
20646 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20648 * NEWS: Fix note on clock function precision. Text by Roland
20651 2013-06-13 Roland McGrath <roland@hack.frob.com>
20653 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20654 it into place only when and if the sanity check passes.
20656 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20658 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20659 output for whether conversion result is exact. Take argument
20660 indicating whether type is IBM long double.
20661 (round_for_all): Change need_exact field to ibm_ld.
20662 * stdlib/tst-strtod-round.c (struct exactness): New type.
20663 (struct test): Change bool ld_ok field to struct exactness exact.
20664 (TEST): Update all definitions for change to field.
20665 (tests): Regenerate array contents.
20666 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20667 field value. Check for IBM long double here.
20668 (do_test): Update calls to test_in_one_mode.
20670 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20673 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20674 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20676 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20679 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20680 generated by the compiler on loop optimizations.
20681 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20682 general definitions.
20684 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20686 * math/bug-nextafter.c: Include <math-tests.h>.
20687 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20689 * math/bug-nexttoward.c: Include <math-tests.h>.
20690 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20692 * math/test-misc.c: Include <math-tests.h>.
20693 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20696 2013-06-12 Andreas Jaeger <aj@suse.de>
20698 * po/ia.po: Update Interlingua translation from translation
20701 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20703 * include/fenv.h: Include stdbool.h.
20704 (struct rm_ctx): New structure.
20705 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20707 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20708 (SET_RESTORE_ROUNDF): Likewise.
20709 (SET_RESTORE_ROUNDL): Likewise.
20710 (SET_RESTORE_ROUND_NOEX): Likewise.
20711 (SET_RESTORE_ROUND_NOEXF): Likewise.
20712 (SET_RESTORE_ROUND_NOEXL): Likewise.
20713 (SET_RESTORE_ROUND_53BIT): Likewise.
20714 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20715 (libc_feresetround_noexf_ctx): Likewise.
20716 (libc_feresetround_noexl_ctx): Likewise.
20717 (libc_feholdsetround_53bit_ctx): Likewise.
20718 (libc_feresetround_53bit_ctx): Likewise.
20719 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20720 (libc_feholdexcept_setround_sse_ctx): New function.
20721 (libc_fesetenv_sse_ctx): Likewise.
20722 (libc_feupdateenv_sse_ctx): Likewise.
20723 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20724 (libc_feholdexcept_setround_387_ctx): Likewise.
20725 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20726 (libc_feholdsetround_387_prec_ctx): Likewise.
20727 (libc_feholdsetround_387_ctx): Likewise.
20728 (libc_feholdsetround_387_53bit_ctx): Likewise.
20729 (libc_feholdsetround_sse_ctx): Likewise.
20730 (libc_feresetround_sse_ctx): Likewise.
20731 (libc_feresetround_387_ctx): Likewise.
20732 (libc_feupdateenv_387_ctx): Likewise.
20733 (libc_feholdexcept_setroundf_ctx): Define macro.
20734 (libc_fesetenvf_ctx): Likewise.
20735 (libc_feupdateenvf_ctx): Likewise.
20736 (libc_feholdsetroundf_ctx): Likewise.
20737 (libc_feresetroundf_ctx): Likewise.
20738 (libc_feholdexcept_setround_ctx): Likewise.
20739 (libc_fesetenv_ctx): Likewise.
20740 (libc_feupdateenv_ctx): Likewise.
20741 (libc_feholdsetround_ctx): Likewise.
20742 (libc_feresetround_ctx): Likewise.
20743 (libc_feholdexcept_setroundl_ctx): Likewise.
20744 (libc_feupdateenvl_ctx): Likewise.
20745 (libc_feholdsetroundl_ctx): Likewise.
20746 (libc_feresetroundl_ctx): Likewise.
20747 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20748 (libc_feresetround_53bit_ctx): Likewise.
20750 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20752 * locale/iso-639.def: Convert to UTF-8.
20754 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20756 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20757 (EXCEPTION_TESTS_double): Likewise.
20758 (EXCEPTION_TESTS_long_double): Likewise.
20759 (EXCEPTION_TESTS): Likewise.
20760 * math/libm-test.inc (test_exceptions): Only test exceptions if
20761 EXCEPTION_TESTS (FLOAT).
20763 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20765 * benchtests/Makefile (string-bench): Add strcpy_chk and
20767 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20768 * benchtests/bench-stpcpy_chk.c: New file.
20769 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20770 * benchtests/bench-strcpy_chk.c: New file.
20771 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20773 (do_test): Likewise.
20775 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20777 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20778 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20779 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20780 with tabs where appropriate.
20781 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20783 [PPC_PLATFORM_PPC440]: Likewise.
20784 [PPC_PLATFORM_PPC464]: Likewise.
20785 [PPC_PLATFORM_PPC476]: Likewise.
20786 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20787 ppc464, and ppc476 platform strings merging from ports/
20790 2013-06-11 Andreas Schwab <schwab@suse.de>
20793 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20794 (from_ucs4_idx): Regenerate.
20795 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20796 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20797 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20798 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20799 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20800 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20801 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20802 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20803 from FROM_LOOP and TO_LOOP specific macros.
20804 (BODY): Handle combining characters.
20805 * iconvdata/BIG5HKSCS.irreversible: Update.
20806 * iconvdata/BIG5HKSCS.precomposed: New file.
20807 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20809 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20811 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20813 * include/sys/time.h: Fix indentation and add copyright header.
20815 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20816 (do_test): Likewise.
20817 * string/test-memchr.c (do_one_test): Likewise.
20818 (do_test): Likewise.
20819 * string/test-memcmp.c (do_one_test): Likewise.
20820 (do_test): Likewise.
20821 * string/test-memcpy.c (do_one_test): Likewise.
20822 (do_test): Likewise.
20823 * string/test-memmem.c (do_one_test): Likewise.
20824 (do_test): Likewise.
20825 (do_random_tests): Likewise.
20826 * string/test-memmove.c (do_one_test): Likewise.
20827 (do_test): Likewise.
20828 * string/test-memset.c (do_one_test): Likewise.
20829 (do_test): Likewise.
20830 * string/test-rawmemchr.c (do_one_test): Likewise.
20831 (do_test): Likewise.
20832 * string/test-strcasecmp.c (do_one_test): Likewise.
20833 (do_test): Likewise.
20834 * string/test-strcasestr.c (do_one_test): Likewise.
20835 (do_test): Likewise.
20836 * string/test-strcat.c (do_one_test): Likewise.
20837 (do_test): Likewise.
20838 * string/test-strchr.c (do_one_test): Likewise.
20839 (do_test): Likewise.
20840 * string/test-strcmp.c (do_one_test): Likewise.
20841 (do_test): Likewise.
20842 * string/test-strcpy.c (do_one_test): Likewise.
20843 (do_test): Likewise.
20844 * string/test-string.h: Likewise.
20845 (test_init): Likewise.
20846 * string/test-strlen.c (do_one_test): Likewise.
20847 (do_test): Likewise.
20848 * string/test-strncasecmp.c (do_one_test): Likewise.
20849 (do_test): Likewise.
20850 * string/test-strncat.c (do_one_test): Likewise.
20851 (do_test): Likewise.
20852 * string/test-strncmp.c (do_one_test): Likewise.
20853 (do_test_limit): Likewise.
20854 (do_test): Likewise.
20855 * string/test-strncpy.c (do_one_test): Likewise.
20856 (do_test): Likewise.
20857 * string/test-strnlen.c (do_one_test): Likewise.
20858 (do_test): Likewise.
20859 * string/test-strpbrk.c (do_one_test): Likewise.
20860 (do_test): Likewise.
20861 * string/test-strrchr.c (do_one_test): Likewise.
20862 (do_test): Likewise.
20863 * string/test-strspn.c (do_one_test): Likewise.
20864 (do_test): Likewise.
20865 * string/test-strstr.c (do_one_test): Likewise.
20866 (do_test): Likewise.
20868 * benchtests/Makefile (string-bench): Add string benchmarks.
20869 * benchtests/bench-bcopy-ifunc.c: New file.
20870 * benchtests/bench-bcopy.c: New file.
20871 * benchtests/bench-bzero-ifunc.c: New file.
20872 * benchtests/bench-bzero.c: New file.
20873 * benchtests/bench-memccpy-ifunc.c: New file.
20874 * benchtests/bench-memccpy.c: New file.
20875 * benchtests/bench-memchr-ifunc.c: New file.
20876 * benchtests/bench-memchr.c: New file.
20877 * benchtests/bench-memcmp-ifunc.c: New file.
20878 * benchtests/bench-memcmp.c: New file.
20879 * benchtests/bench-memmem-ifunc.c: New file.
20880 * benchtests/bench-memmem.c: New file.
20881 * benchtests/bench-memmove-ifunc.c: New file.
20882 * benchtests/bench-memmove.c: New file.
20883 * benchtests/bench-mempcpy-ifunc.c: New file.
20884 * benchtests/bench-mempcpy.c: New file.
20885 * benchtests/bench-memset-ifunc.c: New file.
20886 * benchtests/bench-memset.c: New file.
20887 * benchtests/bench-rawmemchr-ifunc.c: New file.
20888 * benchtests/bench-rawmemchr.c: New file.
20889 * benchtests/bench-stpcpy-ifunc.c: New file.
20890 * benchtests/bench-stpcpy.c: New file.
20891 * benchtests/bench-stpncpy-ifunc.c: New file.
20892 * benchtests/bench-stpncpy.c: New file.
20893 * benchtests/bench-strcasecmp-ifunc.c: New file.
20894 * benchtests/bench-strcasecmp.c: New file.
20895 * benchtests/bench-strcasestr-ifunc.c: New file.
20896 * benchtests/bench-strcasestr.c: New file.
20897 * benchtests/bench-strcat-ifunc.c: New file.
20898 * benchtests/bench-strcat.c: New file.
20899 * benchtests/bench-strchr-ifunc.c: New file.
20900 * benchtests/bench-strchr.c: New file.
20901 * benchtests/bench-strchrnul-ifunc.c: New file.
20902 * benchtests/bench-strchrnul.c: New file.
20903 * benchtests/bench-strcmp-ifunc.c: New file.
20904 * benchtests/bench-strcmp.c: New file.
20905 * benchtests/bench-strcpy-ifunc.c: New file.
20906 * benchtests/bench-strcpy.c: New file.
20907 * benchtests/bench-strcspn-ifunc.c: New file.
20908 * benchtests/bench-strcspn.c: New file.
20909 * benchtests/bench-strlen-ifunc.c: New file.
20910 * benchtests/bench-strlen.c: New file.
20911 * benchtests/bench-strncasecmp-ifunc.c: New file.
20912 * benchtests/bench-strncasecmp.c: New file.
20913 * benchtests/bench-strncat-ifunc.c: New file.
20914 * benchtests/bench-strncat.c: New file.
20915 * benchtests/bench-strncmp-ifunc.c: New file.
20916 * benchtests/bench-strncmp.c: New file.
20917 * benchtests/bench-strncpy-ifunc.c: New file.
20918 * benchtests/bench-strncpy.c: New file.
20919 * benchtests/bench-strnlen-ifunc.c: New file.
20920 * benchtests/bench-strnlen.c: New file.
20921 * benchtests/bench-strpbrk-ifunc.c: New file.
20922 * benchtests/bench-strpbrk.c: New file.
20923 * benchtests/bench-strrchr-ifunc.c: New file.
20924 * benchtests/bench-strrchr.c: New file.
20925 * benchtests/bench-strspn-ifunc.c: New file.
20926 * benchtests/bench-strspn.c: New file.
20927 * benchtests/bench-strstr-ifunc.c: New file.
20928 * benchtests/bench-strstr.c: New file.
20930 * benchtests/Makefile: Disable parallel execution of targets.
20931 (string-bench): Add memcpy.
20932 (benchset): New variable to store a list of benchmark sets.
20933 (bench-func): Renamed from bench.
20934 (bench-set): New target.
20935 (bench): Depend on bench-func and bench-set.
20936 * benchtests/README: Add section on benchmark sets.
20937 * benchtests/bench-memcpy-ifunc.c: New file.
20938 * benchtests/bench-memcpy.c: New file.
20939 * benchtests/bench-string.h: New file.
20941 2013-06-11 Andreas Schwab <schwab@suse.de>
20944 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20945 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20946 values in the triple.
20947 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20948 terminator in the group key.
20950 2013-06-11 Andreas Jaeger <aj@suse.de>
20952 * po/zh_TW.po: Update Chinese (traditional) translation from
20953 translation project.
20955 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20957 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20958 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20959 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20960 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20961 (clock_getcpuclockid): Likewise.
20962 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20963 Add weak_alias and libc_hidden_def.
20964 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20965 * rt/clock_gettime.c (clock_gettime): Rename to
20966 __clock_gettime. Add weak_alias and libc_hidden_def.
20967 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20968 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20969 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20970 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20971 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20973 * rt/clock_settime.c (clock_settime): Rename to
20974 __clock_settime. Add weak_alias and libc_hidden_def.
20975 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20977 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20979 * mach/err_boot.sub: Remove trailing whitespace.
20980 * mach/err_ipc.sub: Likewise.
20981 * mach/err_mach.sub: Likewise.
20983 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20984 (ROUNDING_TESTS_double): Likewise.
20985 (ROUNDING_TESTS_long_double): Likewise.
20986 (ROUNDING_TESTS): Likewise.
20987 * math/libm-test.inc: Include <math-tests.h>.
20988 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20989 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20990 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20991 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20993 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20995 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20998 2013-06-08 Joseph Myers <joseph@codesourcery.com>
21000 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21001 otherwise empty TRANS lines.
21002 * sysdeps/gnu/errlist.c: Regenerated.
21004 * catgets/gencat.c (error_print): Use (void) in function
21006 * crypt/crypt_util.c (__init_des): Likewise.
21007 * crypt/speeds.c (Stop): Likewise.
21009 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21010 * inet/ruserpass.c (token): Likewise.
21011 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21012 * intl/localealias.c (extend_alias_table): Likewise.
21013 * intl/plural-exp.c (init_germanic_plural): Likewise.
21014 * libio/fcloseall.c (__fcloseall): Likewise.
21015 * libio/genops.c (_IO_flush_all): Likewise.
21016 (_IO_flush_all_linebuffered): Likewise.
21017 (_IO_cleanup): Likewise.
21018 (_IO_iter_begin): Likewise.
21019 (_IO_iter_end): Likewise.
21020 (_IO_list_lock): Likewise.
21021 (_IO_list_unlock): Likewise.
21022 (_IO_list_resetlock): Likewise.
21023 * libio/getchar.c (getchar): Likewise.
21024 * libio/getchar_u.c (getchar_unlocked): Likewise.
21025 * libio/getwchar.c (getwchar): Likewise.
21026 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21027 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21028 * login/getpt.c (__getpt): Likewise.
21029 * login/tst-utmp.c (main): Likewise.
21030 * malloc/hooks.c (__malloc_check_init): Likewise.
21031 * malloc/malloc.c (__malloc_stats): Likewise.
21032 * malloc/mtrace.c (tr_break): Likewise.
21033 (mtrace): Likewise.
21034 (muntrace): Likewise.
21035 * misc/fstab.c (endfsent): Likewise.
21036 * misc/getclktck.c (__getclktck): Likewise.
21037 * misc/getdtsz.c (__getdtablesize): Likewise.
21038 * misc/gethostid.c (gethostid): Likewise.
21039 * misc/getpagesize.c (__getpagesize): Likewise.
21040 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21041 (__get_nprocs): Likewise.
21042 (__get_phys_pages): Likewise.
21043 (__get_avphys_pages): Likewise.
21044 * misc/getttyent.c (getttyent): Likewise.
21045 (setttyent): Likewise.
21046 (endttyent): Likewise.
21047 * misc/getusershell.c (getusershell): Likewise.
21048 (endusershell): Likewise.
21049 (setusershell): Likewise.
21050 (initshells): Likewise.
21051 * misc/hsearch.c (__hdestroy): Likewise.
21052 * misc/sync.c (sync): Likewise.
21053 * misc/syslog.c (closelog_internal): Likewise.
21054 (closelog): Likewise.
21055 * misc/ttyslot.c (ttyslot): Likewise.
21056 * misc/vhangup.c (vhangup): Likewise.
21057 * posix/fork.c (__fork): Likewise.
21058 * posix/getegid.c (__getegid): Likewise.
21059 * posix/geteuid.c (__geteuid): Likewise.
21060 * posix/getgid.c (__getgid): Likewise.
21061 * posix/getpid.c (__getpid): Likewise.
21062 * posix/getppid.c (__getppid): Likewise.
21063 * posix/getuid.c (__getuid): Likewise.
21064 * posix/pause.c (pause): Likewise.
21065 * posix/setpgrp.c (setpgrp): Likewise.
21066 * posix/setsid.c (__setsid): Likewise.
21067 * posix/test-vfork.c (noop): Likewise.
21068 * resolv/gethnamaddr.c (_endhtent): Likewise.
21069 (_gethtent): Likewise.
21070 (ht_endhostent): Likewise.
21071 (gethostent): Likewise.
21072 (dns_service): Likewise.
21073 * stdlib/drand48.c (drand48): Likewise.
21074 * stdlib/lrand48.c (lrand48): Likewise.
21075 * stdlib/mrand48.c (mrand48): Likewise.
21076 * stdlib/rand.c (rand): Likewise.
21077 * stdlib/random.c (__random): Likewise.
21078 * stdlib/setenv.c (clearenv): Likewise.
21079 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21080 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21081 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21082 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21083 (__get_nprocs): Likewise.
21084 (__get_phys_pages): Likewise.
21085 (__get_avphys_pages): Likewise.
21086 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21087 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21088 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21089 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21090 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21091 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21092 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21093 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21094 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21095 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21096 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21097 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21098 * sysdeps/posix/clock.c (clock): Likewise.
21099 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21100 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21101 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21102 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21103 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21105 (__get_nprocs_conf): Likewise.
21106 (__get_phys_pages): Likewise.
21107 (__get_avphys_pages): Likewise.
21108 * time/clock.c (clock): Likewise.
21109 * time/tzset.c (__tzname_max): Likewise.
21111 2013-06-07 Joseph Myers <joseph@codesourcery.com>
21113 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21114 (__bswap_32): Do not use "register".
21115 * crypt/crypt.c (_ufc_doit_r): Likewise.
21116 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21117 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21118 * gmon/gmon.c (__monstartup): Likewise.
21119 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21120 * hurd/hurdmalloc.c (more_memory): Likewise.
21121 (malloc): Likewise.
21123 (realloc): Likewise.
21124 (malloc_fork_prepare): Likewise.
21125 (malloc_fork_parent): Likewise.
21126 (malloc_fork_child): Likewise.
21127 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21128 (_svcauth_des): Likewise.
21129 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21130 * inet/inet_net.c (inet_network): Likewise.
21131 * inet/inet_netof.c (inet_netof): Likewise.
21132 * inet/rcmd.c (__validuser2_sa): Likewise.
21133 * io/fts.c (fts_open): Likewise.
21134 (fts_load): Likewise.
21135 (fts_close): Likewise.
21136 (fts_read): Likewise.
21137 (fts_children): Likewise.
21138 (fts_build): Likewise.
21139 (fts_stat): Likewise.
21140 (fts_sort): Likewise.
21141 (fts_alloc): Likewise.
21142 (fts_lfree): Likewise.
21143 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21144 (_IO_file_xsgetn): Likewise.
21145 (_IO_file_xsgetn_mmap): Likewise.
21146 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21147 (_IO_cookie_write): Likewise.
21148 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21149 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21150 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21151 * malloc/obstack.c (_obstack_begin): Likewise.
21152 (_obstack_begin_1): Likewise.
21153 (_obstack_newchunk): Likewise.
21154 (_obstack_allocated_p): Likewise.
21155 (obstack_free): Likewise.
21156 (_obstack_memory_used): Likewise.
21157 * misc/getttyent.c (getttynam): Likewise.
21158 (getttyent): Likewise.
21161 * misc/getusershell.c (initshells): Likewise.
21162 * misc/syslog.c (__vsyslog_chk): Likewise.
21163 * misc/ttyslot.c (ttyslot): Likewise.
21164 * nis/nis_hash.c (__nis_hash): Likewise.
21165 * posix/fnmatch_loop.c (FCT): Likewise.
21166 * posix/getconf.c (print_all): Likewise.
21168 * posix/getopt.c (exchange): Likewise.
21169 * posix/glob.c (globfree): Likewise.
21170 (prefix_array): Likewise.
21171 (__glob_pattern_type): Likewise.
21172 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21173 (NS_GET32): Likewise.
21174 (NS_PUT16): Likewise.
21175 (NS_PUT32): Likewise.
21176 * resolv/gethnamaddr.c (getanswer): Likewise.
21177 (gethostbyname2): Likewise.
21178 (gethostbyaddr): Likewise.
21179 (_gethtent): Likewise.
21180 (_gethtbyname2): Likewise.
21181 (_gethtbyaddr): Likewise.
21182 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21183 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21184 * resolv/res_init.c (__res_vinit): Likewise.
21185 (net_mask): Likewise.
21186 * resolv/res_mkquery.c (outchar): Likewise.
21188 * stdio-common/printf_fp.c (outchar): Likewise.
21190 * stdio-common/printf_fphex.c (outchar): Likewise.
21192 * stdio-common/printf_size.c (outchar): Likewise.
21194 * stdio-common/test_rdwr.c (main): Likewise.
21195 * stdio-common/tfformat.c (matches): Likewise.
21196 * stdio-common/vfprintf.c (outchar): Likewise.
21197 (printf_unknown): Likewise.
21198 (buffered_vfprintf): Likewise.
21199 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21200 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21201 (ReadFile): Likewise.
21202 * stdlib/qsort.c (SWAP): Likewise.
21203 (_quicksort): Likewise.
21204 * stdlib/setenv.c (__add_to_environ): Likewise.
21205 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21206 * stdlib/strtol_l.c (__strtol_l): Likewise.
21207 * stdlib/tst-strtod.c (main): Likewise.
21208 * stdlib/tst-strtol.c (main): Likewise.
21209 * stdlib/tst-strtoll.c (main): Likewise.
21210 * string/bits/string2.h (__strcmp_cc): Likewise.
21211 (__strcmp_cg): Likewise.
21212 (__strcspn_c1): Likewise.
21213 (__strcspn_c2): Likewise.
21214 (__strcspn_c3): Likewise.
21215 (__strspn_c1): Likewise.
21216 (__strspn_c2): Likewise.
21217 (__strspn_c3): Likewise.
21218 (__strsep_1c): Likewise.
21219 (__strsep_2c): Likewise.
21220 (__strsep_3c): Likewise.
21221 * string/memccpy.c (__memccpy): Likewise.
21222 * string/stpcpy.c (__stpcpy): Likewise.
21223 * string/strcmp.c (strcmp): Likewise.
21224 * string/strrchr.c (strrchr): Likewise.
21225 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21227 * sysdeps/mach/hurd/getcwd.c
21228 (_hurd_canonicalize_directory_name_internal): Likewise.
21229 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21230 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21231 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21232 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21233 Likewise, in both definitions.
21234 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21236 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21237 64] (__bswap_64): Likewise.
21238 * time/test_time.c (main): Likewise.
21239 * time/tzfile.c (__tzfile_read): Likewise.
21240 (__tzfile_compute): Likewise.
21241 * time/tzset.c (__tzset_parse_tz): Likewise.
21242 (tzset_internal): Likewise.
21243 (compute_change): Likewise.
21244 * wcsmbs/wcscat.c (__wcscat): Likewise.
21245 * wcsmbs/wcschr.c (wcschr): Likewise.
21246 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21247 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21248 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21249 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21250 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21251 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21252 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21253 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21254 * wcsmbs/wmemset.c (wmemset): Likewise.
21256 2013-06-06 Joseph Myers <joseph@codesourcery.com>
21258 * scripts/config.guess: Update to version 2013-05-16.
21259 * scripts/config.sub: Update to version 2013-04-24.
21260 * scripts/install-sh: Update to version 2011-11-20.07.
21261 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21262 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21264 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
21266 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21267 * elf/sln.c: Likewise.
21268 * hurd/hurd/ioctl.h: Likewise.
21269 * hurd/hurdmalloc.c: Likewise.
21270 * hurd/xattr.c: Likewise.
21271 * include/shlib-compat.h: Likewise.
21272 * inet/ruserpass.c: Likewise.
21273 * libio/iofgets_u.c: Likewise.
21274 * libio/iofgetws_u.c: Likewise.
21275 * locale/programs/ld-identification.c: Likewise.
21276 * locale/programs/ld-time.c: Likewise.
21277 * mach/msg-destroy.c: Likewise.
21278 * nss/nss_files/files-netgrp.c: Likewise.
21279 * resolv/res_data.c: Likewise.
21280 * soft-fp/op-1.h: Likewise.
21281 * soft-fp/op-2.h: Likewise.
21282 * soft-fp/op-4.h: Likewise.
21283 * soft-fp/op-common.h: Likewise.
21284 * stdio-common/printf_fphex.c: Likewise.
21285 * stdlib/strtod_l.c: Likewise.
21286 * sunrpc/rpc/clnt.h: Likewise.
21287 * sysdeps/generic/framestate.c: Likewise.
21288 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21289 * sysdeps/i386/bsd-setjmp.S: Likewise.
21290 * sysdeps/i386/__longjmp.S: Likewise.
21291 * sysdeps/i386/setjmp.S: Likewise.
21292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21293 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21294 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21295 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21297 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21298 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21299 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21300 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21301 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21302 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21303 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21304 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21305 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21306 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21307 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21308 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21309 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21310 * sysdeps/ieee754/support.c: Likewise.
21311 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21312 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21313 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21314 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21315 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21316 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21317 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21318 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21319 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21320 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21321 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21322 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21323 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21324 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21325 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21326 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21327 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21330 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21332 * posix/transbug.c: Remove executable mode.
21334 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21336 * crypt/speeds.c: Remove trailing whitespace.
21337 * dlfcn/default.c: Likewise.
21338 * elf/ifuncdep2.c: Likewise.
21339 * elf/ifuncmain1.c: Likewise.
21340 * elf/ifuncmain1vis.c: Likewise.
21341 * elf/testobj.h: Likewise.
21342 * elf/tst-stackguard1.c: Likewise.
21343 * gmon/sys/gmon.h: Likewise.
21344 * hurd/hurdmsg.c: Likewise.
21345 * hurd/new-fd.c: Likewise.
21346 * hurd/ports-get.c: Likewise.
21347 * iconvdata/ibm1008_420.c: Likewise.
21348 * inet/tst-getni1.c: Likewise.
21349 * inet/tst-getni2.c: Likewise.
21350 * libio/ioungetc.c: Likewise.
21351 * libio/wfiledoalloc.c: Likewise.
21352 * manual/libm-err-tab.pl: Likewise.
21353 * math/w_dremf.c: Likewise.
21354 * misc/ftruncate.c: Likewise.
21355 * posix/bug-glob2.c: Likewise.
21356 * posix/tst-pcre.c: Likewise.
21357 * posix/wait4.c: Likewise.
21358 * resolv/README: Likewise.
21359 * resolv/res_debug.h: Likewise.
21360 * resolv/tst-inet_ntop.c: Likewise.
21361 * setjmp/bug269-setjmp.c: Likewise.
21362 * soft-fp/extended.h: Likewise.
21363 * soft-fp/op-1.h: Likewise.
21364 * soft-fp/op-2.h: Likewise.
21365 * soft-fp/op-4.h: Likewise.
21366 * soft-fp/op-8.h: Likewise.
21367 * soft-fp/testit.c: Likewise.
21368 * stdio-common/bug16.c: Likewise.
21369 * stdlib/random.c: Likewise.
21370 * sunrpc/rpcsvc/rquota.x: Likewise.
21371 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21372 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21373 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21374 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21375 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21376 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21377 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21378 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21379 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21380 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21381 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21382 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21383 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21384 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21385 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21387 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21395 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21396 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21398 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21399 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21400 * sysdeps/ieee754/s_lib_version.c: Likewise.
21401 * sysdeps/mach/hurd/check_fds.c: Likewise.
21402 * sysdeps/mach/hurd/getsockname.c: Likewise.
21403 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21404 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21405 * sysdeps/powerpc/bits/link.h: Likewise.
21406 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21407 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21408 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21409 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21410 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21411 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21412 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21413 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21414 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21415 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21416 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21417 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21418 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21419 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21420 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21421 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21423 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21424 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21426 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21427 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21429 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21430 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21431 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21432 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21433 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21434 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21435 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21436 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21438 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21439 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21440 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21441 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21442 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21443 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21444 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21445 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21446 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21447 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21448 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21449 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21450 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21451 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21452 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21453 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21454 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21455 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21457 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21458 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21459 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21460 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21461 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21462 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21463 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21464 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21465 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21466 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21467 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21468 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21469 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21470 * sysdeps/powerpc/sysdep.h: Likewise.
21471 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21472 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21473 * sysdeps/sh/dl-trampoline.S: Likewise.
21474 * sysdeps/sh/memset.S: Likewise.
21475 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21476 * sysdeps/sh/strlen.S: Likewise.
21477 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21478 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21479 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21480 * sysdeps/sparc/sparc32/rem.S: Likewise.
21481 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21482 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21483 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21484 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21485 * sysdeps/sparc/sparc32/urem.S: Likewise.
21486 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21487 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21488 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21489 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21490 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21491 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21492 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21493 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21494 * sysdeps/unix/bsd/times.c: Likewise.
21495 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21496 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21500 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21501 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21502 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21503 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21504 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21505 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21506 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21507 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21508 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21509 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21510 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21511 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21512 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21513 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21514 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21515 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21516 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21517 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21518 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21519 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21520 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21521 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21522 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21523 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21524 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21525 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21526 * sysdeps/x86_64/strcspn.S: Likewise.
21528 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21530 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21531 generated file. Regenerate properly from gen-translit.pl.
21532 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21533 locale/C-translit.h.
21535 2013-06-05 Andreas Schwab <schwab@suse.de>
21538 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21539 week as 6 instead of -1.
21540 * time/tst-strptime.c (day_tests): Add test case.
21542 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21544 * sysdeps/generic/math_private.h
21545 (libc_feholdexcept_setround_53bit): Replace with
21546 libc_feholdsetround_53bit.
21547 (libc_feupdateenv_53bit): Replace with
21548 libc_feresetround_53bit.
21549 (SET_RESTORE_ROUND_53BIT): Adjust.
21551 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21553 * string/test-strchrnul.c: Add copyright header.
21555 * posix/tst-getaddrinfo4.c: Increase test timeout.
21557 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21560 * math/libm-test.inc (MAX_EXP): Remove
21562 (ulp): Use MIN_EXP - MANT_DIG.
21563 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21565 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21567 * po/be.po: Revert last change.
21568 * po/zh_CN.po: Likewise.
21569 * po/header.pot: Likewise.
21571 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21573 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21574 link-libc-deps to empty as target-specific variable.
21575 * Makerules (link-libc-args): New variable.
21576 (libc-for-link): Likewise.
21577 (link-libc-deps): Likewise.
21578 (lib%.so): Depend on $(link-libc-deps). Link with
21580 (build-module): Link with $(link-libc-args).
21581 (build-module-asneeded): Likewise.
21582 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21584 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21585 target-specific variable.
21586 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21587 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21588 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21590 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21592 ($(objpfx)libpcprofile.so): Likewise.
21593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21595 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21596 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21597 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21599 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21600 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21601 * login/Makefile ($(objpfx)libutil.so): Likewise.
21602 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21603 * math/Makefile ($(objpfx)libm.so): Likewise.
21604 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21605 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21606 variable instead of depending directly on libc.
21607 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21608 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21610 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21612 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21613 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21614 ($(objpfx)libanl.so): Likewise.
21615 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21617 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21619 * sysdeps/i386/fpu/Makefile: Remove file.
21620 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21621 ($(objpfx)libm.so): Remove dependency on ld.so.
21623 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21626 * nis/yp_xdr.c (XDRMAXNAME): Define.
21627 (XDRMAXRECORD): Define.
21628 (xdr_domainname): Use XDRMAXNAME.
21629 (xdr_mapname): Likewise.
21630 (xdr_peername): Likewise.
21631 (xdr_keydat): Use XDRMAXRECORD.
21632 (xdr_valdat): Likewise.
21634 2013-05-30 Jeff Law <law@redhat.com>
21637 * manual/errno.texi (ESTALE): Update to account for more than
21638 just NFS file systems.
21639 * sysdeps/gnu/errlist.c: Regenerated.
21641 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21644 * elf/Makefile (tests): Add tst-null-argv.
21645 (modules-names): Add tst-null-argv-lib.
21646 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21647 (tst-null-argv-ENV): Set environment for tst-null-argv.
21648 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21649 (RTLD_PROGNAME): New macro.
21650 * elf/tst-null-argv.c: New test case.
21651 * elf/tst-null-argv-lib.c: Library for test case.
21652 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21653 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21654 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21655 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21656 * elf/dl-init.c (call_init): Likewise.
21657 (_dl_init): Likewise.
21658 * elf/dl-load.c (print_search_path): Likewise.
21659 (_dl_map_object): Likewise.
21660 * elf/dl-lookup.c (do_lookup_x): Likewise.
21661 (add_dependency): Likewise.
21662 (_dl_lookup_symbol_x): Likewise.
21663 (_dl_debug_bindings): Likewise.
21664 * elf/dl-open.c (_dl_show_scope): Likewise.
21665 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21666 * elf/dl-version.c (match_symbol): Likewise.
21667 (_dl_check_map_versions): Likewise.
21668 * elf/rtld.c (dl_main): Likewise.
21669 (print_unresolved): Use RTLD_PROGNAME.
21670 (print_missing_version): Likewise.
21671 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21672 (elf_machine_rela): Likewise.
21673 * sysdeps/powerpc/powerpc32/dl-machine.c
21674 (__process_machine_rela): Likewise.
21675 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21677 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21679 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21681 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21688 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21690 * po/be.po: Add descriptive title.
21691 * po/zh_CN.po: Likewise.
21692 * po/header.pot: Likewise.
21694 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21696 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21698 (enlarge_archive): Likewise.
21700 2013-05-28 Ben North <ben@redfrontdoor.org>
21702 * manual/arith.texi (frexp): It is the magnitude of the return
21703 value which lies in [0.5, 1), not the return value itself.
21705 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21709 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21711 * stdio-common/bug26.c (main): Correct fscanf template.
21713 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21714 declare _dl_skip_args.
21716 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21719 * manual/platform.texi: Add missing @end deftypefun.
21721 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21724 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21725 bit of mantissa of 2^16382.
21726 * math/libm-test.inc (hypot_test_data): Add more tests.
21728 * math/libm-test.inc: Add drem and pow10 to list of tested
21730 (pow10_test): New function.
21731 (drem_test): Likewise.
21732 (drem_test_tonearest): Likewise.
21733 (drem_test_towardzero): Likewise.
21734 (drem_test_downward): Likewise.
21735 (drem_test_upward): Likewise.
21736 (main): Call the new functions.
21738 * math/libm-test.inc (finite_test_data): Remove.
21739 (finite_test): Run tests from isfinite_test_data.
21740 (gamma_test_data): Remove.
21741 (gamma_test): Run tests from lgamma_test_data.
21742 * sysdeps/i386/fpu/libm-test-ulps: Update.
21743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21745 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21747 * manual/platform.texi: Add PowerPC PPR function set documentation.
21748 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21751 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21753 * math/libm-test.inc (MAX_EXP): Define.
21755 (ulp): New function.
21756 (check_float_internal): Use ULPDIFF.
21757 (cpow_test): Disable failing test.
21758 (check_ulp): Test ulp() implemetnation.
21759 (main): Call check_ulp before starting tests.
21761 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21763 * math/gen-libm-test.pl (generate_testfile): Do not handle
21764 START_DATA and END_DATA.
21765 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21767 (acos_tonearest_test_data): Likewise.
21768 (acos_towardzero_test_data): Likewise.
21769 (acos_downward_test_data): Likewise.
21770 (acos_upward_test_data): Likewise.
21771 (acosh_test_data): Likewise.
21772 (asin_test_data): Likewise.
21773 (asin_tonearest_test_data): Likewise.
21774 (asin_towardzero_test_data): Likewise.
21775 (asin_downward_test_data): Likewise.
21776 (asin_upward_test_data): Likewise.
21777 (asinh_test_data): Likewise.
21778 (atan_test_data): Likewise.
21779 (atanh_test_data): Likewise.
21780 (atan2_test_data): Likewise.
21781 (cabs_test_data): Likewise.
21782 (cacos_test_data): Likewise.
21783 (cacosh_test_data): Likewise.
21784 (carg_test_data): Likewise.
21785 (casin_test_data): Likewise.
21786 (casinh_test_data): Likewise.
21787 (catan_test_data): Likewise.
21788 (catanh_test_data): Likewise.
21789 (cbrt_test_data): Likewise.
21790 (ccos_test_data): Likewise.
21791 (ccosh_test_data): Likewise.
21792 (ceil_test_data): Likewise.
21793 (cexp_test_data): Likewise.
21794 (cimag_test_data): Likewise.
21795 (clog_test_data): Likewise.
21796 (clog10_test_data): Likewise.
21797 (conj_test_data): Likewise.
21798 (copysign_test_data): Likewise.
21799 (cos_test_data): Likewise.
21800 (cos_tonearest_test_data): Likewise.
21801 (cos_towardzero_test_data): Likewise.
21802 (cos_downward_test_data): Likewise.
21803 (cos_upward_test_data): Likewise.
21804 (cosh_test_data): Likewise.
21805 (cosh_tonearest_test_data): Likewise.
21806 (cosh_towardzero_test_data): Likewise.
21807 (cosh_downward_test_data): Likewise.
21808 (cosh_upward_test_data): Likewise.
21809 (cpow_test_data): Likewise.
21810 (cproj_test_data): Likewise.
21811 (creal_test_data): Likewise.
21812 (csin_test_data): Likewise.
21813 (csinh_test_data): Likewise.
21814 (csqrt_test_data): Likewise.
21815 (ctan_test_data): Likewise.
21816 (ctan_tonearest_test_data): Likewise.
21817 (ctan_towardzero_test_data): Likewise.
21818 (ctan_downward_test_data): Likewise.
21819 (ctan_upward_test_data): Likewise.
21820 (ctanh_test_data): Likewise.
21821 (ctanh_tonearest_test_data): Likewise.
21822 (ctanh_towardzero_test_data): Likewise.
21823 (ctanh_downward_test_data): Likewise.
21824 (ctanh_upward_test_data): Likewise.
21825 (erf_test_data): Likewise.
21826 (erfc_test_data): Likewise.
21827 (exp_test_data): Likewise.
21828 (exp_tonearest_test_data): Likewise.
21829 (exp_towardzero_test_data): Likewise.
21830 (exp_downward_test_data): Likewise.
21831 (exp_upward_test_data): Likewise.
21832 (exp10_test_data): Likewise.
21833 (exp2_test_data): Likewise.
21834 (expm1_test_data): Likewise.
21835 (fabs_test_data): Likewise.
21836 (fdim_test_data): Likewise.
21837 (finite_test_data): Likewise.
21838 (floor_test_data): Likewise.
21839 (fma_test_data): Likewise.
21840 (fma_towardzero_test_data): Likewise.
21841 (fma_downward_test_data): Likewise.
21842 (fma_upward_test_data): Likewise.
21843 (fmax_test_data): Likewise.
21844 (fmin_test_data): Likewise.
21845 (fmod_test_data): Likewise.
21846 (fpclassify_test_data): Likewise.
21847 (frexp_test_data): Likewise.
21848 (gamma_test_data): Likewise.
21849 (hypot_test_data): Likewise.
21850 (ilogb_test_data): Likewise.
21851 (isfinite_test_data): Likewise.
21852 (isgreater_test_data): Likewise.
21853 (isgreaterequal_test_data): Likewise.
21854 (isinf_test_data): Likewise.
21855 (isless_test_data): Likewise.
21856 (islessequal_test_data): Likewise.
21857 (islessgreater_test_data): Likewise.
21858 (isnan_test_data): Likewise.
21859 (isnormal_test_data): Likewise.
21860 (issignaling_test_data): Likewise.
21861 (isunordered_test_data): Likewise.
21862 (j0_test_data): Likewise.
21863 (j1_test_data): Likewise.
21864 (jn_test_data): Likewise.
21865 (ldexp_test_data): Likewise.
21866 (lgamma_test_data): Likewise.
21867 (lrint_test_data): Likewise.
21868 (lrint_tonearest_test_data): Likewise.
21869 (lrint_towardzero_test_data): Likewise.
21870 (lrint_downward_test_data): Likewise.
21871 (lrint_upward_test_data): Likewise.
21872 (llrint_test_data): Likewise.
21873 (llrint_tonearest_test_data): Likewise.
21874 (llrint_towardzero_test_data): Likewise.
21875 (llrint_downward_test_data): Likewise.
21876 (llrint_upward_test_data): Likewise.
21877 (log_test_data): Likewise.
21878 (log10_test_data): Likewise.
21879 (log1p_test_data): Likewise.
21880 (log2_test_data): Likewise.
21881 (logb_test_data): Likewise.
21882 (logb_downward_test_data): Likewise.
21883 (lround_test_data): Likewise.
21884 (llround_test_data): Likewise.
21885 (modf_test_data): Likewise.
21886 (nearbyint_test_data): Likewise.
21887 (nextafter_test_data): Likewise.
21888 (nexttoward_test_data): Likewise.
21889 (pow_test_data): Likewise.
21890 (pow_tonearest_test_data): Likewise.
21891 (pow_towardzero_test_data): Likewise.
21892 (pow_downward_test_data): Likewise.
21893 (pow_upward_test_data): Likewise.
21894 (remainder_test_data): Likewise.
21895 (remainder_tonearest_test_data): Likewise.
21896 (remainder_towardzero_test_data): Likewise.
21897 (remainder_downward_test_data): Likewise.
21898 (remainder_upward_test_data): Likewise.
21899 (remquo_test_data): Likewise.
21900 (rint_test_data): Likewise.
21901 (rint_tonearest_test_data): Likewise.
21902 (rint_towardzero_test_data): Likewise.
21903 (rint_downward_test_data): Likewise.
21904 (rint_upward_test_data): Likewise.
21905 (round_test_data): Likewise.
21906 (scalb_test_data): Likewise.
21907 (scalbn_test_data): Likewise.
21908 (scalbln_test_data): Likewise.
21909 (signbit_test_data): Likewise.
21910 (sin_test_data): Likewise.
21911 (sin_tonearest_test_data): Likewise.
21912 (sin_towardzero_test_data): Likewise.
21913 (sin_downward_test_data): Likewise.
21914 (sin_upward_test_data): Likewise.
21915 (sincos_test_data): Likewise.
21916 (sinh_test_data): Likewise.
21917 (sinh_tonearest_test_data): Likewise.
21918 (sinh_towardzero_test_data): Likewise.
21919 (sinh_downward_test_data): Likewise.
21920 (sinh_upward_test_data): Likewise.
21921 (sqrt_test_data): Likewise.
21922 (tan_test_data): Likewise.
21923 (tan_tonearest_test_data): Likewise.
21924 (tan_towardzero_test_data): Likewise.
21925 (tan_downward_test_data): Likewise.
21926 (tan_upward_test_data): Likewise.
21927 (tanh_test_data): Likewise.
21928 (tgamma_test_data): Likewise.
21929 (trunc_test_data): Likewise.
21930 (y0_test_data): Likewise.
21931 (y1_test_data): Likewise.
21932 (yn_test_data): Likewise.
21933 (significand_test_data): Likewise.
21935 * math/gen-libm-test.pl (@functions): Remove variable.
21936 (generate_testfile): Don't handle START and END lines.
21937 * math/libm-test.inc (START): New macro.
21939 (END_COMPLEX): Likewise.
21940 (acos_test): Use END macro without arguments.
21941 (acos_test_tonearest): Likewise.
21942 (acos_test_towardzero): Likewise.
21943 (acos_test_downward): Likewise.
21944 (acos_test_upward): Likewise.
21945 (acosh_test): Likewise.
21946 (asin_test): Likewise.
21947 (asin_test_tonearest): Likewise.
21948 (asin_test_towardzero): Likewise.
21949 (asin_test_downward): Likewise.
21950 (asin_test_upward): Likewise.
21951 (asinh_test): Likewise.
21952 (atan_test): Likewise.
21953 (atanh_test): Likewise.
21954 (atan2_test): Likewise.
21955 (cabs_test): Likewise.
21956 (cacos_test): Use END_COMPLEX macro without arguments.
21957 (cacosh_test): Likewise.
21958 (carg_test): Use END macro without arguments.
21959 (casin_test): Use END_COMPLEX macro without arguments.
21960 (casinh_test): Likewise.
21961 (catan_test): Likewise.
21962 (catanh_test): Likewise.
21963 (cbrt_test): Use END macro without arguments.
21964 (ccos_test): Use END_COMPLEX macro without arguments.
21965 (ccosh_test): Likewise.
21966 (ceil_test): Use END macro without arguments.
21967 (cexp_test): Use END_COMPLEX macro without arguments.
21968 (cimag_test): Use END macro without arguments.
21969 (clog_test): Use END_COMPLEX macro without arguments.
21970 (clog10_test): Likewise.
21971 (conj_test): Likewise.
21972 (copysign_test): Use END macro without arguments.
21973 (cos_test): Likewise.
21974 (cos_test_tonearest): Likewise.
21975 (cos_test_towardzero): Likewise.
21976 (cos_test_downward): Likewise.
21977 (cos_test_upward): Likewise.
21978 (cosh_test): Likewise.
21979 (cosh_test_tonearest): Likewise.
21980 (cosh_test_towardzero): Likewise.
21981 (cosh_test_downward): Likewise.
21982 (cosh_test_upward): Likewise.
21983 (cpow_test): Use END_COMPLEX macro without arguments.
21984 (cproj_test): Likewise.
21985 (creal_test): Use END macro without arguments.
21986 (csin_test): Use END_COMPLEX macro without arguments.
21987 (csinh_test): Likewise.
21988 (csqrt_test): Likewise.
21989 (ctan_test): Likewise.
21990 (ctan_test_tonearest): Likewise.
21991 (ctan_test_towardzero): Likewise.
21992 (ctan_test_downward): Likewise.
21993 (ctan_test_upward): Likewise.
21994 (ctanh_test): Likewise.
21995 (ctanh_test_tonearest): Likewise.
21996 (ctanh_test_towardzero): Likewise.
21997 (ctanh_test_downward): Likewise.
21998 (ctanh_test_upward): Likewise.
21999 (erf_test): Use END macro without arguments.
22000 (erfc_test): Likewise.
22001 (exp_test): Likewise.
22002 (exp_test_tonearest): Likewise.
22003 (exp_test_towardzero): Likewise.
22004 (exp_test_downward): Likewise.
22005 (exp_test_upward): Likewise.
22006 (exp10_test): Likewise.
22007 (exp2_test): Likewise.
22008 (expm1_test): Likewise.
22009 (fabs_test): Likewise.
22010 (fdim_test): Likewise.
22011 (finite_test): Likewise.
22012 (floor_test): Likewise.
22013 (fma_test): Likewise.
22014 (fma_test_towardzero): Likewise.
22015 (fma_test_downward): Likewise.
22016 (fma_test_upward): Likewise.
22017 (fmax_test): Likewise.
22018 (fmin_test): Likewise.
22019 (fmod_test): Likewise.
22020 (fpclassify_test): Likewise.
22021 (frexp_test): Likewise.
22022 (gamma_test): Likewise.
22023 (hypot_test): Likewise.
22024 (ilogb_test): Likewise.
22025 (isfinite_test): Likewise.
22026 (isgreater_test): Likewise.
22027 (isgreaterequal_test): Likewise.
22028 (isinf_test): Likewise.
22029 (isless_test): Likewise.
22030 (islessequal_test): Likewise.
22031 (islessgreater_test): Likewise.
22032 (isnan_test): Likewise.
22033 (isnormal_test): Likewise.
22034 (issignaling_test): Likewise.
22035 (isunordered_test): Likewise.
22036 (j0_test): Likewise.
22037 (j1_test): Likewise.
22038 (jn_test): Likewise.
22039 (ldexp_test): Likewise.
22040 (lgamma_test): Likewise.
22041 (lrint_test): Likewise.
22042 (lrint_test_tonearest): Likewise.
22043 (lrint_test_towardzero): Likewise.
22044 (lrint_test_downward): Likewise.
22045 (lrint_test_upward): Likewise.
22046 (llrint_test): Likewise.
22047 (llrint_test_tonearest): Likewise.
22048 (llrint_test_towardzero): Likewise.
22049 (llrint_test_downward): Likewise.
22050 (llrint_test_upward): Likewise.
22051 (log_test): Likewise.
22052 (log10_test): Likewise.
22053 (log1p_test): Likewise.
22054 (log2_test): Likewise.
22055 (logb_test): Likewise.
22056 (logb_test_downward): Likewise.
22057 (lround_test): Likewise.
22058 (llround_test): Likewise.
22059 (modf_test): Likewise.
22060 (nearbyint_test): Likewise.
22061 (nextafter_test): Likewise.
22062 (nexttoward_test): Likewise.
22063 (pow_test): Likewise.
22064 (pow_test_tonearest): Likewise.
22065 (pow_test_towardzero): Likewise.
22066 (pow_test_downward): Likewise.
22067 (pow_test_upward): Likewise.
22068 (remainder_test): Likewise.
22069 (remainder_test_tonearest): Likewise.
22070 (remainder_test_towardzero): Likewise.
22071 (remainder_test_downward): Likewise.
22072 (remainder_test_upward): Likewise.
22073 (remquo_test): Likewise.
22074 (rint_test): Likewise.
22075 (rint_test_tonearest): Likewise.
22076 (rint_test_towardzero): Likewise.
22077 (rint_test_downward): Likewise.
22078 (rint_test_upward): Likewise.
22079 (round_test): Likewise.
22080 (scalb_test): Likewise.
22081 (scalbn_test): Likewise.
22082 (scalbln_test): Likewise.
22083 (signbit_test): Likewise.
22084 (sin_test): Likewise.
22085 (sin_test_tonearest): Likewise.
22086 (sin_test_towardzero): Likewise.
22087 (sin_test_downward): Likewise.
22088 (sin_test_upward): Likewise.
22089 (sincos_test): Likewise.
22090 (sinh_test): Likewise.
22091 (sinh_test_tonearest): Likewise.
22092 (sinh_test_towardzero): Likewise.
22093 (sinh_test_downward): Likewise.
22094 (sinh_test_upward): Likewise.
22095 (sqrt_test): Likewise.
22096 (tan_test): Likewise.
22097 (tan_test_tonearest): Likewise.
22098 (tan_test_towardzero): Likewise.
22099 (tan_test_downward): Likewise.
22100 (tan_test_upward): Likewise.
22101 (tanh_test): Likewise.
22102 (tgamma_test): Likewise.
22103 (trunc_test): Likewise.
22104 (y0_test): Likewise.
22105 (y1_test): Likewise.
22106 (yn_test): Likewise.
22107 (significand_test): Likewise.
22109 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
22112 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22114 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22117 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22118 __ppc_mdoio and __ppc_mdoom.
22119 * manual/platform.texi: Document new functions __ppc_yield,
22120 __ppc_mdoio and __ppc_mdoom.
22122 2013-05-22 Carlos O'Donell <carlos@redhat.com>
22124 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22125 (main): Mention "tls" pseudo-hwcap is legacy.
22126 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22128 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22130 * math/gen-libm-test.pl (parse_args): Output only string of
22131 arguments as text for test name, not full call or descriptions of
22132 tests for extra outputs.
22133 (generate_testfile): Do not pass function name to parse_args.
22134 Generate this_func variable from START.
22135 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22137 (struct test_ff_f_data): Likewise.
22138 (test_ff_f_data_nexttoward): Likewise.
22139 (struct test_fi_f_data): Likewise.
22140 (struct test_fl_f_data): Likewise.
22141 (struct test_if_f_data): Likewise.
22142 (struct test_fff_f_data): Likewise.
22143 (struct test_c_f_data): Likewise.
22144 (struct test_f_f1_data): Likewise. Remove field extra_name.
22145 (struct test_fF_f1_data): Likewise.
22146 (struct test_ffI_f1_data): Likewise.
22147 (struct test_c_c_data): Rename test_name field to arg_str.
22148 (struct test_cc_c_data): Likewise.
22149 (struct test_f_i_data): Likewise.
22150 (struct test_ff_i_data): Likewise.
22151 (struct test_f_l_data): Likewise.
22152 (struct test_f_L_data): Likewise.
22153 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22155 (COMMON_TEST_SETUP): New macro.
22156 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22157 (COMMON_TEST_CLEANUP): Likewise.
22158 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22159 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22161 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22162 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22164 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22165 (RUN_TEST_fff_f): Take argument string. Call new setup and
22167 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22168 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22170 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22171 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22173 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22174 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22176 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22177 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22179 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22180 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22182 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22183 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22185 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22186 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22188 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22189 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22191 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22192 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22194 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22195 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22197 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22198 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22200 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22201 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22203 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22204 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22206 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22207 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22209 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22210 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22212 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22214 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22216 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22217 to _sifields.sigfault.
22218 (si_addr_lsb): Define new macro.
22219 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22220 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22221 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22223 2013-05-03 Carlos O'Donell <carlos at redhat.com>
22226 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22228 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22230 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22231 loading the domain.
22233 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22235 * math/gen-libm-test.pl (parse_args): Do not include expected
22236 result in test name.
22237 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22238 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22239 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22240 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22241 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22244 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22246 * benchtests/Makefile: Sort function entries.
22248 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22249 tanh, asinh, acosh, atanh.
22250 * benchtests/acos-inputs: New file.
22251 * benchtests/acosh-inputs: New file.
22252 * benchtests/asin-inputs: New file.
22253 * benchtests/asinh-inputs: New file.
22254 * benchtests/atanh-inputs: New file.
22255 * benchtests/cosh-inputs: New file.
22256 * benchtests/log-inputs: New file.
22257 * benchtests/sinh-inputs: New file.
22258 * benchtests/tanh-inputs: New file.
22260 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22263 * posix/tst-getaddrinfo4.c: New test.
22264 * posix/Makefile (tests): Add it.
22266 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22269 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22270 when no services were used.
22271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22272 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22274 2013-05-21 Andreas Schwab <schwab@suse.de>
22277 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22278 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22280 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22281 redundant variable declarations and reallocation of buffer when
22282 parsing as IPv6 address. Always set NSS status when called from
22283 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22284 buffer too small. Correct computation of needed size.
22285 * nss/Makefile (tests): Add test-digits-dots.
22286 * nss/test-digits-dots.c: New test.
22288 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22290 * benchtests/Makefile: Remove instructions for adding
22292 * benchtests/README: New file to explain how to execute and
22293 enhance the benchmark tests.
22295 2013-05-21 Andreas Schwab <schwab@suse.de>
22298 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22299 * setjmp/tst-sigsetjmp.c: New test.
22301 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22303 * sysdeps/x86_64/memset.S (memset): New implementation.
22304 (__bzero): Likewise.
22305 (__memset_tail): New function.
22307 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22309 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22310 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22311 __memcpy_sse2_unaligned ifunc selection.
22312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22313 Add memcpy-sse2-unaligned.S.
22314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22315 Add: __memcpy_sse2_unaligned.
22317 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22320 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22321 math_force_eval before restoring floating-point envrionment.
22322 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22323 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22325 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22327 (__nearbyintl): Use math_force_eval before restoring
22328 floating-point environment.
22329 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22331 * math/gen-libm-test.pl (special_functions): Remove.
22332 (parse_args): Don't handle TEST_extra. Handle functions with no
22334 * math/libm-test.inc (struct test_sincos_data): Replace with
22335 struct test_fFF_11_data.
22336 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22337 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22338 (sincos_test_data): Change element type to struct
22339 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22340 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22341 RUN_TEST_LOOP_sincos.
22342 * math/README.libm-test: Don't mention special handling of
22343 individual functions.
22344 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22346 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22347 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22348 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22351 * math/gen-libm-test.pl (get_variable): Remove function.
22352 (parse_args): Don't show pointer parameters to call in test
22353 names. Use "extra output N" in test names for extra outputs
22354 rather than naming variables.
22356 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22359 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22360 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22361 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22363 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22365 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22368 * math/gen-libm-test.pl (@tests): Remove variable.
22369 ($count): Likewise.
22370 (new_test): Remove function.
22371 (show_exceptions): New function.
22372 (special_functions): Use show_exceptions instead of new_test.
22373 (parse_args): Likewise.
22374 (generate_testfile): Pass only function name in generated call to
22375 print_max_error or print_complex_max_error.
22376 (get_ulps): Do not handle complex tests specially.
22377 (output_test): Rename to ...
22378 (get_all_ulps_for_test): ... this. Return a string rather than
22379 printing to a file. Require ulps to be present.
22380 (output_ulps): Generate arrays rather than #defines.
22381 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22382 (struct ulp_data): New type.
22383 (BUILD_COMPLEX_ULP): Remove macro.
22384 (compare_ulp_data): New function.
22385 (find_ulps): Likewise.
22386 (find_test_ulps): Likewise.
22387 (find_function_ulps): Likewise.
22388 (find_complex_function_ulps): Likewise.
22389 (print_max_error): Determine allowed ulps using
22390 find_function_ulps.
22391 (print_complex_max_error): Determine allowed ulps using
22392 find_complex_function_ulps.
22393 (check_float_internal): Determine max ulps using find_test_ulps.
22394 (check_float): Do not take max_ulp parameter. Update call to
22395 check_float_internal.
22396 (check_complex): Likewise.
22397 (check_int): Do not take max_ulp parameter.
22398 (check_long): Likewise.
22399 (check_bool): Likewise.
22400 (check_longlong): Likewise.
22401 (struct test_f_f_data): Remove max_ulp field.
22402 (struct test_ff_f_data): Likewise.
22403 (struct test_ff_f_data_nexttoward): Likewise.
22404 (struct test_fi_f_data): Likewise.
22405 (struct test_fl_f_data): Likewise.
22406 (struct test_if_f_data): Likewise.
22407 (struct test_fff_f_data): Likewise.
22408 (struct test_c_f_data): Likewise.
22409 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22410 (struct test_fF_f1_data): Likewise.
22411 (struct test_ffI_f1_data): Likewise.
22412 (struct test_c_c_data): Remove max_ulp field.
22413 (struct test_cc_c_data): Likewise.
22414 (struct test_f_i_data): Likewise.
22415 (struct test_ff_i_data): Likewise.
22416 (struct test_f_l_data): Likewise.
22417 (struct test_f_L_data): Likewise.
22418 (struct test_sincos_data): Likewise.
22419 (RUN_TEST_f_f): Do not handle ulps.
22420 (RUN_TEST_LOOP_f_f): Likewise.
22421 (RUN_TEST_2_f): Likewise.
22422 (RUN_TEST_LOOP_2_f): Likewise.
22423 (RUN_TEST_fff_f): Likewise.
22424 (RUN_TEST_LOOP_fff_f): Likewise.
22425 (RUN_TEST_c_f): Likewise.
22426 (RUN_TEST_LOOP_c_f): Likewise.
22427 (RUN_TEST_f_f1): Likewise.
22428 (RUN_TEST_LOOP_f_f1): Likewise.
22429 (RUN_TEST_fF_f1): Likewise.
22430 (RUN_TEST_LOOP_fF_f1): Likewise.
22431 (RUN_TEST_fI_f1): Likewise.
22432 (RUN_TEST_LOOP_fI_f1): Likewise.
22433 (RUN_TEST_ffI_f1): Likewise.
22434 (RUN_TEST_LOOP_ffI_f1): Likewise.
22435 (RUN_TEST_c_c): Likewise.
22436 (RUN_TEST_LOOP_c_c): Likewise.
22437 (RUN_TEST_cc_c): Likewise.
22438 (RUN_TEST_LOOP_cc_c): Likewise.
22439 (RUN_TEST_f_i): Likewise.
22440 (RUN_TEST_LOOP_f_i): Likewise.
22441 (RUN_TEST_f_i_tg): Likewise.
22442 (RUN_TEST_LOOP_f_i_tg): Likewise.
22443 (RUN_TEST_ff_i_tg): Likewise.
22444 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22445 (RUN_TEST_f_b): Likewise.
22446 (RUN_TEST_LOOP_f_b): Likewise.
22447 (RUN_TEST_f_b_tg): Likewise.
22448 (RUN_TEST_LOOP_f_b_tg): Likewise.
22449 (RUN_TEST_f_l): Likewise.
22450 (RUN_TEST_LOOP_f_l): Likewise.
22451 (RUN_TEST_f_L): Likewise.
22452 (RUN_TEST_LOOP_f_L): Likewise.
22453 (RUN_TEST_sincos): Likewise.
22454 (RUN_TEST_LOOP_sincos): Likewise.
22456 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22460 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22461 main case of finite arguments, set rounding mode to FE_TONEAREST
22462 and discard exceptions.
22463 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22465 (remainder_tonearest_test_data): New variable.
22466 (remainder_test_tonearest): New function.
22467 (remainder_towardzero_test_data): New variable.
22468 (remainder_test_towardzero): New function.
22469 (remainder_downward_test_data): New variable.
22470 (remainder_test_downward): New function.
22471 (remainder_upward_test_data): New variable.
22472 (remainder_test_upward): New function.
22473 (main): Call the new test functions.
22475 * math/libm-test.inc (struct test_f_f1_data): Remove field
22477 (struct test_fF_f1_data): Likewise.
22478 (struct test_ffI_f1_data): Likewise.
22479 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22480 based on value of EXTRA_EXPECTED.
22481 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22482 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22483 EXTRA_VAR based on value of EXTRA_EXPECTED.
22484 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22485 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22486 EXTRA_VAR based on value of EXTRA_EXPECTED.
22487 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22488 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22489 EXTRA_VAR based on value of EXTRA_EXPECTED.
22490 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22491 * math/gen-libm-test.pl (parse_args): Don't output initializers
22492 for extra output values.
22494 * math/libm-test.inc (check_int): Expect result to be exactly
22495 equal to expected value and do not handle ulps.
22496 (check_long): Likewise.
22497 (check_longlong): Likewise.
22499 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22501 (cimag_test_data): Likewise.
22502 (conj_test_data): Likewise.
22503 (copysign_test_data): Likewise.
22504 (cproj_test_data): Likewise.
22505 (creal_test_data): Likewise.
22506 (fabs_test_data): Likewise.
22507 (fdim_test_data): Likewise.
22508 (finite_test_data): Likewise.
22509 (floor_test_data): Likewise.
22510 (fmax_test_data): Likewise.
22511 (fmin_test_data): Likewise.
22512 (fmod_test_data): Likewise.
22513 (fpclassify_test_data): Likewise.
22514 (frexp_test_data): Likewise.
22515 (ilogb_test_data): Likewise.
22516 (isfinite_test_data): Likewise.
22517 (isgreater_test_data): Likewise.
22518 (isgreaterequal_test_data): Likewise.
22519 (isinf_test_data): Likewise.
22520 (isless_test_data): Likewise.
22521 (islessequal_test_data): Likewise.
22522 (islessgreater_test_data): Likewise.
22523 (isnan_test_data): Likewise.
22524 (isnormal_test_data): Likewise.
22525 (issignaling_test_data): Likewise.
22526 (isunordered_test_data): Likewise.
22527 (ldexp_test_data): Likewise.
22528 (lrint_test_data): Likewise.
22529 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22530 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22531 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22532 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22533 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22534 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22536 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22537 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22538 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22539 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22541 (lrint_downward_test_data): Test for "inexact" exceptions.
22542 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22543 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22544 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22546 (lrint_upward_test_data): Test for "inexact" exceptions.
22547 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22549 (llrint_test_data): Test for "inexact" exceptions.
22550 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22551 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22552 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22553 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22554 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22555 (llrint_downward_test_data): Test for "inexact" exceptions.
22556 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22557 (llrint_upward_test_data): Test for "inexact" exceptions.
22558 (logb_test_data): Likewise.
22559 (logb_downward_test_data): Likewise.
22560 (nextafter_test_data): Likewise.
22561 (nexttoward_test_data): Likewise.
22562 (remainder_test_data): Likewise.
22563 (remquo_test_data): Likewise.
22564 (scalbn_test_data): Likewise.
22565 (scalbln_test_data): Likewise.
22566 (signbit_test_data): Likewise.
22567 (sqrt_test_data): Likewise.
22568 (significand_test_data): Likewise.
22570 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22573 * benchtests/bench-modf.c (struct args): Mark arg0 as
22575 * scripts/bench.pl: Mark members of struct args as volatile.
22577 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22580 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22581 negative infinity on POWER6 or lower.
22582 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22584 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22587 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22588 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22589 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22590 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22591 (_FP_SETQNAN): New macro.
22592 (_FP_SETQNAN_SEMIRAW): Likewise.
22593 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22594 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22595 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22596 (FP_EXTEND): Use _FP_FRAC_SNANP.
22597 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22598 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22600 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22602 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22605 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22607 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22608 with DIVIDE_BY_ZERO_EXCEPTION.
22609 (gamma_test_data): Likewise.
22610 (lgamma_test_data): Likewise.
22611 (log_test_data): Likewise.
22612 (log10_test_data): Likewise.
22613 (log2_test_data): Likewise.
22614 (tgamma_test_data): Likewise.
22616 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22617 (acos_test_tonearest): Likewise.
22618 (acos_test_towardzero): Likewise.
22619 (acos_test_downward): Likewise.
22620 (acos_test_upward): Likewise.
22621 (acosh_test): Likewise.
22622 (asin_test): Likewise.
22623 (asin_test_tonearest): Likewise.
22624 (asin_test_towardzero): Likewise.
22625 (asin_test_downward): Likewise.
22626 (asin_test_upward): Likewise.
22627 (asinh_test): Likewise.
22628 (atan_test): Likewise.
22629 (atanh_test): Likewise.
22630 (atan2_test): Likewise.
22631 (cabs_test): Likewise.
22632 (cacos_test): Likewise.
22633 (cacosh_test): Likewise.
22634 (casin_test): Likewise.
22635 (casinh_test): Likewise.
22636 (catan_test): Likewise.
22637 (catanh_test): Likewise.
22638 (cbrt_test): Likewise.
22639 (ccos_test): Likewise.
22640 (ccosh_test): Likewise.
22641 (cexp_test): Likewise.
22642 (clog_test): Likewise.
22643 (clog10_test): Likewise.
22644 (cos_test): Likewise.
22645 (cos_test_tonearest): Likewise.
22646 (cos_test_towardzero): Likewise.
22647 (cos_test_downward): Likewise.
22648 (cos_test_upward): Likewise.
22649 (cosh_test): Likewise.
22650 (cosh_test_tonearest): Likewise.
22651 (cosh_test_towardzero): Likewise.
22652 (cosh_test_downward): Likewise.
22653 (cosh_test_upward): Likewise.
22654 (cpow_test): Likewise.
22655 (csin_test): Likewise.
22656 (csinh_test): Likewise.
22657 (csqrt_test): Likewise.
22658 (ctan_test): Likewise.
22659 (ctan_test_tonearest): Likewise.
22660 (ctan_test_towardzero): Likewise.
22661 (ctan_test_downward): Likewise.
22662 (ctan_test_upward): Likewise.
22663 (ctanh_test): Likewise.
22664 (ctanh_test_tonearest): Likewise.
22665 (ctanh_test_towardzero): Likewise.
22666 (ctanh_test_downward): Likewise.
22667 (ctanh_test_upward): Likewise.
22668 (erf_test): Likewise.
22669 (erfc_test): Likewise.
22670 (exp_test): Likewise.
22671 (exp_test_tonearest): Likewise.
22672 (exp_test_towardzero): Likewise.
22673 (exp_test_downward): Likewise.
22674 (exp_test_upward): Likewise.
22675 (exp10_test): Likewise.
22676 (exp2_test): Likewise.
22677 (expm1_test): Likewise.
22678 (fmod_test): Likewise.
22679 (gamma_test): Likewise.
22680 (hypot_test): Likewise.
22681 (j0_test): Likewise.
22682 (j1_test): Likewise.
22683 (jn_test): Likewise.
22684 (lgamma_test): Likewise.
22685 (log_test): Likewise.
22686 (log10_test): Likewise.
22687 (log1p_test): Likewise.
22688 (log2_test): Likewise.
22689 (logb_test_downward): Likewise.
22690 (pow_test): Likewise.
22691 (pow_test_tonearest): Likewise.
22692 (pow_test_towardzero): Likewise.
22693 (pow_test_downward): Likewise.
22694 (pow_test_upward): Likewise.
22695 (remainder_test): Likewise.
22696 (remquo_test): Likewise.
22697 (sin_test): Likewise.
22698 (sin_test_tonearest): Likewise.
22699 (sin_test_towardzero): Likewise.
22700 (sin_test_downward): Likewise.
22701 (sin_test_upward): Likewise.
22702 (sincos_test): Likewise.
22703 (sinh_test): Likewise.
22704 (sinh_test_tonearest): Likewise.
22705 (sinh_test_towardzero): Likewise.
22706 (sinh_test_downward): Likewise.
22707 (sinh_test_upward): Likewise.
22708 (sqrt_test): Likewise.
22709 (tan_test): Likewise.
22710 (tan_test_tonearest): Likewise.
22711 (tan_test_towardzero): Likewise.
22712 (tan_test_downward): Likewise.
22713 (tan_test_upward): Likewise.
22714 (tanh_test): Likewise.
22715 (tgamma_test): Likewise.
22716 (y0_test): Likewise.
22717 (y1_test): Likewise.
22718 (yn_test): Likewise.
22720 * math/gen-libm-test.pl (adjust_arg): Remove function.
22721 (special_function): Remove argument $in_func. Only handle
22722 generating output for tables of tests, not inside functions.
22723 (parse_args): Likewise.
22724 (generate_testfile): Remove variable $in_func. Update call to
22726 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22727 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22728 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22729 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22730 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22731 (MAX_VALUE_INIT): Rename macro to max_value.
22732 (MIN_VALUE_INIT): Rename macro to min_value.
22733 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22734 (plus_zero): Remove variable.
22735 (minus_zero): Likewise.
22736 (plus_infty): Likewise.
22737 (minus_infty): Likewise.
22738 (qnan_value): Likewise.
22739 (max_value): Likewise.
22740 (min_value): Likewise.
22741 (min_subnorm_value): Likewise.
22743 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22745 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22746 uint64_t or uint32_t usage.
22747 * crypt/sha256-block.c: Likewise.
22748 * crypt/sha256-crypt.c: Likewise.
22749 * crypt/sha256.c: Likewise.
22750 * crypt/sha512-block.c: Likewise.
22751 * crypt/sha512-crypt.c: Likewise.
22752 * crypt/sha512.c: Likewise.
22753 * debug/backtrace-tst.c: Likewise.
22754 * debug/pcprofiledump.c: Likewise.
22755 * elf/cache.c: Likewise.
22756 * elf/dl-cache.c: Likewise.
22757 * elf/dl-misc.c: Likewise.
22758 * elf/dl-profile.c: Likewise.
22759 * elf/dl-support.c: Likewise.
22760 * elf/ldconfig.c: Likewise.
22761 * elf/sprof.c: Likewise.
22762 * iconv/dummy-repertoire.c: Likewise.
22763 * iconv/iconv_charmap.c: Likewise.
22764 * iconv/skeleton.c: Likewise.
22765 * iconvdata/8bit-generic.c: Likewise.
22766 * iconvdata/cp737.h: Likewise.
22767 * iconvdata/cp775.h: Likewise.
22768 * iconvdata/ibm1008.h: Likewise.
22769 * iconvdata/ibm1025.h: Likewise.
22770 * iconvdata/ibm1046.h: Likewise.
22771 * iconvdata/ibm1097.h: Likewise.
22772 * iconvdata/ibm1112.h: Likewise.
22773 * iconvdata/ibm1122.h: Likewise.
22774 * iconvdata/ibm1123.h: Likewise.
22775 * iconvdata/ibm1124.h: Likewise.
22776 * iconvdata/ibm1129.h: Likewise.
22777 * iconvdata/ibm1130.h: Likewise.
22778 * iconvdata/ibm1132.h: Likewise.
22779 * iconvdata/ibm1133.h: Likewise.
22780 * iconvdata/ibm1137.h: Likewise.
22781 * iconvdata/ibm1140.h: Likewise.
22782 * iconvdata/ibm1141.h: Likewise.
22783 * iconvdata/ibm1142.h: Likewise.
22784 * iconvdata/ibm1143.h: Likewise.
22785 * iconvdata/ibm1144.h: Likewise.
22786 * iconvdata/ibm1145.h: Likewise.
22787 * iconvdata/ibm1146.h: Likewise.
22788 * iconvdata/ibm1147.h: Likewise.
22789 * iconvdata/ibm1148.h: Likewise.
22790 * iconvdata/ibm1149.h: Likewise.
22791 * iconvdata/ibm1153.h: Likewise.
22792 * iconvdata/ibm1154.h: Likewise.
22793 * iconvdata/ibm1155.h: Likewise.
22794 * iconvdata/ibm1156.h: Likewise.
22795 * iconvdata/ibm1157.h: Likewise.
22796 * iconvdata/ibm1158.h: Likewise.
22797 * iconvdata/ibm1160.h: Likewise.
22798 * iconvdata/ibm1161.h: Likewise.
22799 * iconvdata/ibm1162.h: Likewise.
22800 * iconvdata/ibm1163.h: Likewise.
22801 * iconvdata/ibm1164.h: Likewise.
22802 * iconvdata/ibm1166.h: Likewise.
22803 * iconvdata/ibm1167.h: Likewise.
22804 * iconvdata/ibm12712.h: Likewise.
22805 * iconvdata/ibm1390.h: Likewise.
22806 * iconvdata/ibm1399.h: Likewise.
22807 * iconvdata/ibm16804.h: Likewise.
22808 * iconvdata/ibm4517.h: Likewise.
22809 * iconvdata/ibm4899.h: Likewise.
22810 * iconvdata/ibm4909.h: Likewise.
22811 * iconvdata/ibm4971.h: Likewise.
22812 * iconvdata/ibm5347.h: Likewise.
22813 * iconvdata/ibm803.h: Likewise.
22814 * iconvdata/ibm856.h: Likewise.
22815 * iconvdata/ibm901.h: Likewise.
22816 * iconvdata/ibm902.h: Likewise.
22817 * iconvdata/ibm9030.h: Likewise.
22818 * iconvdata/ibm9066.h: Likewise.
22819 * iconvdata/ibm921.h: Likewise.
22820 * iconvdata/ibm922.h: Likewise.
22821 * iconvdata/ibm9448.h: Likewise.
22822 * iconvdata/isiri-3342.h: Likewise.
22823 * iconvdata/jis0201.h: Likewise.
22824 * include/link.h: Likewise.
22825 * include/netdb.h: Likewise.
22826 * inet/check_native.c: Likewise.
22827 * inet/check_pf.c: Likewise.
22828 * inet/getipv4sourcefilter.c: Likewise.
22829 * inet/getnameinfo.c: Likewise.
22830 * inet/getsourcefilter.c: Likewise.
22831 * inet/htonl.c: Likewise.
22832 * inet/setipv4sourcefilter.c: Likewise.
22833 * inet/setsourcefilter.c: Likewise.
22834 * inet/test-inet6_opt.c: Likewise.
22835 * inet/tst-network.c: Likewise.
22836 * locale/C-collate.c: Likewise.
22837 * locale/C-ctype.c: Likewise.
22838 * locale/C-time.c: Likewise.
22839 * locale/C-translit.h: Likewise.
22840 * locale/loadarchive.c: Likewise.
22841 * locale/programs/3level.h: Likewise.
22842 * locale/programs/charmap.c: Likewise.
22843 * locale/programs/charmap.h: Likewise.
22844 * locale/programs/ld-address.c: Likewise.
22845 * locale/programs/ld-collate.c: Likewise.
22846 * locale/programs/ld-ctype.c: Likewise.
22847 * locale/programs/ld-identification.c: Likewise.
22848 * locale/programs/ld-measurement.c: Likewise.
22849 * locale/programs/ld-messages.c: Likewise.
22850 * locale/programs/ld-monetary.c: Likewise.
22851 * locale/programs/ld-name.c: Likewise.
22852 * locale/programs/ld-numeric.c: Likewise.
22853 * locale/programs/ld-paper.c: Likewise.
22854 * locale/programs/ld-telephone.c: Likewise.
22855 * locale/programs/ld-time.c: Likewise.
22856 * locale/programs/linereader.c: Likewise.
22857 * locale/programs/locale.c: Likewise.
22858 * locale/programs/locarchive.c: Likewise.
22859 * locale/programs/locfile.h: Likewise.
22860 * locale/programs/repertoire.c: Likewise.
22861 * locale/programs/simple-hash.c: Likewise.
22862 * locale/programs/simple-hash.h: Likewise.
22863 * malloc/memusage.c: Likewise.
22864 * malloc/memusagestat.c: Likewise.
22865 * nis/nis_defaults.c: Likewise.
22866 * nis/nis_hash.c: Likewise.
22867 * nis/nis_print.c: Likewise.
22868 * nis/nis_xdr.c: Likewise.
22869 * nscd/connections.c: Likewise.
22870 * nscd/hstcache.c: Likewise.
22871 * nscd/nscd_gethst_r.c: Likewise.
22872 * nscd/nscd_getserv_r.c: Likewise.
22873 * nscd/nscd_helper.c: Likewise.
22874 * nscd/servicescache.c: Likewise.
22875 * nss/makedb.c: Likewise.
22876 * nss/nss_db/db-XXX.c: Likewise.
22877 * nss/nss_db/db-initgroups.c: Likewise.
22878 * nss/nss_db/db-netgrp.c: Likewise.
22879 * nss/nss_files/files-network.c: Likewise.
22880 * nss/nss_files/files-parse.c: Likewise.
22881 * posix/bug-regex5.c: Likewise.
22882 * posix/fnmatch_loop.c: Likewise.
22883 * posix/regcomp.c: Likewise.
22884 * posix/regexec.c: Likewise.
22885 * posix/tst-rfc3484-2.c: Likewise.
22886 * posix/tst-rfc3484-3.c: Likewise.
22887 * posix/tst-rfc3484.c: Likewise.
22888 * resolv/nss_dns/dns-canon.c: Likewise.
22889 * resolv/nss_dns/dns-network.c: Likewise.
22890 * resolv/res_init.c: Likewise.
22891 * resolv/res_mkquery.c: Likewise.
22892 * resolv/tst-aton.c: Likewise.
22893 * stdlib/cxa_atexit.c: Likewise.
22894 * stdlib/cxa_finalize.c: Likewise.
22895 * stdlib/gen-fpioconst.c: Likewise.
22896 * stdlib/strtol_l.c: Likewise.
22897 * string/tst-endian.c: Likewise.
22898 * sunrpc/auth_des.c: Likewise.
22899 * sunrpc/clnt_udp.c: Likewise.
22900 * sunrpc/rtime.c: Likewise.
22901 * sunrpc/svcauth_des.c: Likewise.
22902 * sunrpc/xdr.c: Likewise.
22903 * sunrpc/xdr_intXX_t.c: Likewise.
22904 * sunrpc/xdr_rec.c: Likewise.
22905 * sysdeps/generic/ldconfig.h: Likewise.
22906 * sysdeps/generic/ldsodefs.h: Likewise.
22907 * sysdeps/generic/memusage.h: Likewise.
22908 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22909 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22910 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22911 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22915 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22916 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22917 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22918 * sysdeps/posix/getaddrinfo.c: Likewise.
22919 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22920 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22921 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22922 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22923 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22924 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22925 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22926 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22927 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22928 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22929 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22930 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22931 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22932 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22933 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22934 * sysdeps/x86_64/dl-tls.h: Likewise.
22935 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22936 * time/alt_digit.c: Likewise.
22937 * time/era.c: Likewise.
22938 * wcsmbs/tst-c16c32-1.c: Likewise.
22940 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22942 * math/libm-test.inc (struct test_sincos_data): New type.
22943 (RUN_TEST_LOOP_sincos): New macro.
22944 (sincos_test_data): New variable.
22945 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22947 2013-05-16 Richard Henderson <rth@redhat.com>
22949 * math/atest-exp2.c (LIMB64): New macro.
22950 (CONSTSZ): New macro.
22951 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22953 (print_mpn_fp): ... to function scope.
22954 (read_mpn_hex): Remove.
22955 (get_log2): Remove.
22956 (exp2_mpn): Use mp_log2.
22957 (main): Use mp_exp1.
22959 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22961 * math/libm-test.inc: Remove comment about not testing "inexact"
22963 (INEXACT_EXCEPTION): New macro.
22964 (NO_INEXACT_EXCEPTION): Likewise.
22965 (INVALID_EXCEPTION_OK): Update value.
22966 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22967 (OVERFLOW_EXCEPTION_OK): Likewise.
22968 (UNDERFLOW_EXCEPTION_OK): Likewise.
22969 (IGNORE_ZERO_INF_SIGN): Likewise.
22970 (ERRNO_UNCHANGED): Likewise.
22971 (ERRNO_EDOM): Likewise.
22972 (ERRNO_ERANGE): Likewise.
22973 (test_exceptions): Handle testing "inexact" exceptions.
22974 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22975 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22976 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22977 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22979 (rint_towardzero_test_data): Likewise.
22980 (rint_downward_test_data): Likewise.
22981 (rint_upward_test_data): Likewise.
22983 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22984 with OVERFLOW_EXCEPTION.
22985 (exp10_test_data): Likewise.
22986 (exp2_test_data): Likewise.
22987 (expm1_test_data): Likewise.
22988 (lgamma_test_data): Likewise.
22989 (pow_test_data): Likewise.
22990 (tgamma_test_data): Likewise.
22991 (yn_test_data): Remove duplicate test of overflow.
22993 * math/libm-test.inc (struct test_cc_c_data): New type.
22994 (RUN_TEST_LOOP_cc_c): New macro.
22995 (cpow_test_data): New variable.
22996 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22998 * math/libm-test.inc (struct test_f_L_data): New type.
22999 (RUN_TEST_LOOP_f_L): New macro.
23000 (llrint_test_data): New variable.
23001 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23002 (llrint_tonearest_test_data): New variable.
23003 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23004 (llrint_towardzero_test_data): New variable.
23005 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23006 (llrint_downward_test_data): New variable.
23007 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23008 (llrint_upward_test_data): New variable.
23009 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23010 (llround_test_data): New variable.
23011 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23013 2013-05-13 Peter Collingbourne <pcc@google.com>
23015 * math/atest-exp2.c (get_log2): Remove const attribute.
23017 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23019 * math/libm-test.inc (struct test_f_l_data): New type.
23020 (RUN_TEST_LOOP_f_l): New macro.
23021 (lrint_test_data): New variable.
23022 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23023 (lrint_tonearest_test_data): New variable.
23024 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23025 (lrint_towardzero_test_data): New variable.
23026 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23027 (lrint_downward_test_data): New variable.
23028 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23029 (lrint_upward_test_data): New variable.
23030 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23031 (lround_test_data): New variable.
23032 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23034 2013-05-15 Peter Collingbourne <pcc@google.com>
23036 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23037 (EXTRACT_WORDS64) Use where appropriate.
23038 (INSERT_WORDS64) Likewise.
23040 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23041 constraints with x constraints.
23042 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23044 * malloc/obstack.c (_obstack_compat): Add initializer.
23046 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23049 si_trapno and add si_addr_lsb to _sifields.sigfault.
23050 (si_trapno): Remove macro.
23051 (si_addr_lsb): Define new macro.
23052 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23054 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23056 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23057 instead of TEST_f_l.
23058 (llrint_test_tonearest): Likewise.
23059 (llrint_test_towardzero): Likewise.
23060 (llrint_test_downward): Likewise.
23061 (llrint_test_upward): Likewise.
23062 (llround_test): Likewise.
23064 * math/libm-test.inc (struct test_f_i_data): Add comment.
23065 (RUN_TEST_LOOP_f_b): New macro.
23066 (RUN_TEST_LOOP_f_b_tg): Likewise.
23067 (finite_test_data): New variable.
23068 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23069 (isfinite_test_data): New variable.
23070 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23071 (isinf_test_data): New variable.
23072 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23073 (isnan_test_data): New variable.
23074 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23075 (isnormal_test_data): New variable.
23076 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23077 (issignaling_test_data): New variable.
23078 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23079 (signbit_test_data): New variable.
23080 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23082 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23083 with INVALID_EXCEPTION.
23084 (acosh_test_data): Likewise.
23085 (asin_test_data): Likewise.
23086 (atanh_test_data): Likewise.
23087 (fmod_test_data): Likewise.
23088 (log_test_data): Likewise.
23089 (log10_test_data): Likewise.
23090 (log2_test_data): Likewise.
23091 (pow_test_data): Likewise.
23092 (sqrt_test_data): Likewise.
23093 (y0_test_data): Likewise.
23094 (y1_test_data): Likewise.
23095 (yn_test_data): Likewise.
23097 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23100 * math/libm-test.inc (struct test_ff_i_data): New type.
23101 (RUN_TEST_LOOP_ff_i_tg): New macro.
23102 (isgreater_test_data): New variable.
23103 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23104 (isgreaterequal_test_data): New variable.
23105 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23106 (isless_test_data): New variable.
23107 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23108 (islessequal_test_data): New variable.
23109 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23110 (islessgreater_test_data): New variable.
23111 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23112 (isunordered_test_data): New variable.
23113 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23115 2013-05-14 David S. Miller <davem@davemloft.net>
23117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23119 2013-05-14 Joseph Myers <joseph@codesourcery.com>
23121 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23123 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23125 (struct test_f_i_data): Change type of max_ulp to int.
23127 * math/libm-test.inc (test_ffI_f1_data): New type.
23128 (RUN_TEST_LOOP_ffI_f1): New macro.
23129 (remquo_test_data): New variable.
23130 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23132 * setjmp/tst-setjmp-fp.c: New file.
23133 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23134 (link-libm): New variable.
23135 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23137 * math/libm-test.inc (struct test_f_i_data): New type.
23138 (RUN_TEST_LOOP_f_i): New macro.
23139 (RUN_TEST_LOOP_f_i_tg): Likewise.
23140 (fpclassify_test_data): New variable.
23141 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23142 (ilogb_test_data): New variable.
23143 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23145 * math/libm-test.inc (scalbln_test): Correct function name in END
23148 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23149 (RUN_TEST_LOOP_fI_f1): New macro.
23150 (frexp_test_data): New variable.
23151 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23153 * math/libm-test.inc (struct test_fF_f1_data): New type.
23154 (RUN_TEST_LOOP_fF_f1): New macro.
23155 (modf_test_data): New variable.
23156 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23158 * math/libm-test.inc (struct test_f_f1_data): New type.
23159 (RUN_TEST_LOOP_f_f1): New macro.
23160 (gamma_test_data): New variable.
23161 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23162 (lgamma_test_data): New variable.
23163 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23165 2013-05-13 Carlos O'Donell <carlos@redhat.com>
23167 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23168 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23169 (main): Comment "tls" pseudo-hwcap.
23171 2013-05-13 Joseph Myers <joseph@codesourcery.com>
23173 * math/libm-test.inc (struct test_fl_f_data): New type.
23174 (RUN_TEST_LOOP_fl_f): New variable.
23175 (scalbln_test_data): New variable.
23176 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23178 * math/libm-test.inc (struct test_fi_f_data): New type.
23179 (RUN_TEST_LOOP_fi_f): New macro.
23180 (ldexp_test_data): New variable.
23181 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23182 (scalbn_test_data): New variable.
23183 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23185 * math/libm-test.inc (struct test_c_f_data): New type.
23186 (RUN_TEST_LOOP_c_f): New macro.
23187 (cabs_test_data): New variable.
23188 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23189 (carg_test_data): New variable.
23190 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23191 (cimag_test_data): New variable.
23192 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23193 (creal_test_data): New variable.
23194 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23196 * math/libm-test.inc (struct test_if_f_data): New type.
23197 (RUN_TEST_LOOP_if_f): New macro.
23198 (jn_test_data): New variable.
23199 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23200 (yn_test_data): New variable.
23201 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23203 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23205 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23207 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23208 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23210 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23212 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23213 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23214 (bench-deps): Add bench-timing.h.
23215 * benchtests-bench-skeleton.c: Include bench-timing.h.
23216 (main): Use TIMING_* macros instead of clock_gettime.
23217 * benchtests/bench-timing.h: New file.
23220 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23221 Renamed from _LIB_VERSION.
23222 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23224 2013-05-12 Joseph Myers <joseph@codesourcery.com>
23226 * math/libm-test.inc (struct test_fff_f_data): New type.
23227 (RUN_TEST_LOOP_fff_f): New macro.
23228 (fma_test_data): New variable.
23229 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23230 (fma_towardzero_test_data): New variable.
23231 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23232 (fma_downward_test_data): New variable.
23233 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23234 (fma_upward_test_data): New variable.
23235 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23237 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23238 (struct test_c_c_data): New type.
23239 (RUN_TEST_LOOP_c_c): New macro.
23240 (cacos_test_data): New variable.
23241 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23242 (cacosh_test_data): New variable.
23243 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23244 (casin_test_data): New variable.
23245 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23246 (casinh_test_data): New variable.
23247 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23248 (catan_test_data): New variable.
23249 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23250 (catanh_test_data): New variable.
23251 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23252 (ccos_test_data): New variable.
23253 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23254 (ccosh_test_data): New variable.
23255 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23256 (cexp_test_data): New variable.
23257 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23258 (clog_test_data): New variable.
23259 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23260 (clog10_test_data): New variable.
23261 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23262 (conj_test_data): New variable.
23263 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23264 (cproj_test_data): New variable.
23265 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23266 (csin_test_data): New variable.
23267 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23268 (csinh_test_data): New variable.
23269 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23270 (csqrt_test_data): New variable.
23271 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23272 (ctan_test_data): New variable.
23273 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23274 (ctan_tonearest_test_data): New variable.
23275 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23276 (ctan_towardzero_test_data): New variable.
23277 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23278 (ctan_downward_test_data): New variable.
23279 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23280 (ctan_upward_test_data): New variable.
23281 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23282 (ctanh_test_data): New variable.
23283 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23284 (ctanh_tonearest_test_data): New variable.
23285 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23286 (ctanh_towardzero_test_data): New variable.
23287 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23288 (ctanh_downward_test_data): New variable.
23289 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23290 (ctanh_upward_test_data): New variable.
23291 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23292 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23295 * math/libm-test.inc (struct test_ff_f_data): New type.
23296 (struct test_ff_f_data_nexttoward): Likewise.
23297 (RUN_TEST_LOOP_2_f): New macro.
23298 (RUN_TEST_LOOP_ff_f): Likewise.
23299 (atan2_test_data): New variable.
23300 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23301 (copysign_test_data): New variable.
23302 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23303 (fdim_test_data): New variable.
23304 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23305 (fmax_test_data): New variable.
23306 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23307 (fmin_test_data): New variable.
23308 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23309 (fmod_test_data): New variable.
23310 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23311 (hypot_test_data): New variable.
23312 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23313 (nextafter_test_data): New variable.
23314 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23315 (nexttoward_test_data): New variable.
23316 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23317 (pow_test_data): New variable.
23318 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23319 (pow_tonearest_test_data): New variable.
23320 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23321 (pow_towardzero_test_data): New variable.
23322 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23323 (pow_downward_test_data): New variable.
23324 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23325 (pow_upward_test_data): New variable.
23326 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23327 (remainder_test_data): New variable.
23328 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23329 (scalb_test_data): New variable.
23330 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23331 * sysdeps/i386/fpu/libm-test-ulps: Update.
23333 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23335 * math/libm-test.inc (fma_test): Use max_value instead of local
23337 (nextafter_test): Likewise.
23339 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23340 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23341 (acos_downward_test_data): New variable.
23342 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23343 (acos_upward_test_data): New variable.
23344 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23345 (acosh_test_data): New variable.
23346 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23347 (asin_test_data): New variable.
23348 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23349 (asin_tonearest_test_data): New variable.
23350 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23351 (asin_towardzero_test_data): New variable.
23352 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23353 (asin_downward_test_data): New variable.
23354 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23355 (asin_upward_test_data): New variable.
23356 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23357 (asinh_test_data): New variable.
23358 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23359 (atan_test_data): New variable.
23360 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23361 (atanh_test_data): New variable.
23362 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23363 (cbrt_test_data): New variable.
23364 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23365 (ceil_test_data): New variable.
23366 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23367 (cos_test_data): New variable.
23368 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23369 (cos_tonearest_test_data): New variable.
23370 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23371 (cos_towardzero_test_data): New variable.
23372 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23373 (cos_downward_test_data): New variable.
23374 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23375 (cos_upward_test_data): New variable.
23376 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23377 (cosh_test_data): New variable.
23378 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23379 (cosh_tonearest_test_data): New variable.
23380 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23381 (cosh_towardzero_test_data): New variable.
23382 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23383 (cosh_downward_test_data): New variable.
23384 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23385 (cosh_upward_test_data): New variable.
23386 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23387 (erf_test_data): New variable.
23388 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23389 (erfc_test_data): New variable.
23390 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23391 (exp_test_data): New variable.
23392 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23393 (exp_tonearest_test_data): New variable.
23394 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23395 (exp_towardzero_test_data): New variable.
23396 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23397 (exp_downward_test_data): New variable.
23398 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23399 (exp_upward_test_data): New variable.
23400 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23401 (exp10_test_data): New variable.
23402 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23403 (exp2_test_data): New variable.
23404 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23405 (expm1_test_data): New variable.
23406 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23407 (fabs_test_data): New variable.
23408 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23409 (floor_test_data): New variable.
23410 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23411 (j0_test_data): New variable.
23412 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23413 (j1_test_data): New variable.
23414 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23415 (log_test_data): New variable.
23416 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23417 (log10_test_data): New variable.
23418 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23419 (log1p_test_data): New variable.
23420 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23421 (log2_test_data): New variable.
23422 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23423 (logb_test_data): New variable.
23424 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23425 (logb_downward_test_data): New variable.
23426 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23427 (nearbyint_test_data): New variable.
23428 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23429 (rint_test_data): New variable.
23430 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23431 (rint_tonearest_test_data): New variable.
23432 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23433 (rint_towardzero_test_data): New variable.
23434 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23435 (rint_downward_test_data): New variable.
23436 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23437 (rint_upward_test_data): New variable.
23438 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23439 (round_test_data): New variable.
23440 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23441 (sin_test_data): New variable.
23442 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23443 (sin_tonearest_test_data): New variable.
23444 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23445 (sin_towardzero_test_data): New variable.
23446 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23447 (sin_downward_test_data): New variable.
23448 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23449 (sin_upward_test_data): New variable.
23450 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23451 (sinh_test_data): New variable.
23452 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23453 (sinh_tonearest_test_data): New variable.
23454 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23455 (sinh_towardzero_test_data): New variable.
23456 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23457 (sinh_downward_test_data): New variable.
23458 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23459 (sinh_upward_test_data): New variable.
23460 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23461 (sqrt_test_data): New variable.
23462 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23463 (tan_test_data): New variable.
23464 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23465 (tan_tonearest_test_data): New variable.
23466 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23467 (tan_towardzero_test_data): New variable.
23468 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23469 (tan_downward_test_data): New variable.
23470 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23471 (tan_upward_test_data): New variable.
23472 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23473 (tanh_test_data): New variable.
23474 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23475 (tgamma_test_data): New variable.
23476 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23477 (trunc_test_data): New variable.
23478 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23479 (y0_test_data): New variable.
23480 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23481 (y1_test_data): New variable.
23482 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23483 (significand_test_data): New variable.
23484 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23486 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23489 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23491 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23493 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23495 2013-05-10 Andreas Jaeger <aj@suse.de>
23498 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23499 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23501 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23503 * math/gen-libm-test.pl (adjust_arg): New function.
23504 (special_functions): Handle generating output in both functions
23506 (parse_args): Likewise.
23507 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23508 $in_func argument to parse_args.
23509 * math/libm-test.inc (struct test_f_f_data): New type.
23510 (IF_ROUND_INIT_): New macro.
23511 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23512 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23513 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23514 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23515 (ROUND_RESTORE_): Likewise.
23516 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23517 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23518 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23519 (ROUND_RESTORE_FE_UPWARD): Likewise.
23520 (RUN_TEST_LOOP_f_f): New macro.
23521 (acos_test_data): New variable.
23522 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23523 (acos_tonearest_test_data): New variable.
23524 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23526 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23528 * benchtests/bench-skeleton.c (startup): Fix coding style.
23530 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23533 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23534 negative infinity argument.
23535 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23536 negative infinity argument.
23537 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23538 negative infinity argument.
23539 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23542 2013-05-10 Florian Weimer <fweimer@redhat.com>
23544 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23545 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23546 * iconv/iconv_prog.c (main): Likewise.
23547 * locale/programs/charmap-dir.c (charmap_readdir)
23548 (fopen_uncompressed): Likewise.
23549 * locale/programs/locfile.c (siblings_uncached)
23550 (write_locale_data): Use lstat64 instead of lstat.
23551 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23554 2013-05-10 Andreas Jaeger <aj@suse.de>
23557 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23559 Include <locale.h>.
23561 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23563 * elf/dl-close.c (_dl_close_worker): Add comments.
23565 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23568 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23570 (__ieee754_rem_pio2l): Update comments.
23573 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23575 (__ieee754_rem_pio2l): Update comments.
23577 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23578 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23580 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23583 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23584 (M_PI_34_LOG10El): Likewise.
23585 (M_PI2_LOG10El): Likewise.
23586 (M_PI4_LOG10El): Likewise.
23587 (M_PI_LOG10El): Likewise.
23589 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23593 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23595 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23596 (MINUS_ZERO_INIT): Likewise.
23597 (PLUS_INFTY_INIT): Likewise.
23598 (MINUS_INFTY_INIT): Likewise.
23599 (QNAN_VALUE_INIT): Likewise.
23600 (MAX_VALUE_INIT): Likewise.
23601 (MIN_VALUE_INIT): Likewise.
23602 (MIN_SUBNORM_VALUE_INIT): Likewise.
23603 (plus_zero): Initialize with PLUS_ZERO_INIT.
23604 (minus_zero): Initialize with MINUS_ZERO_INIT.
23605 (plus_infty): Initialize with PLUS_INFTY_INIT.
23606 (minus_infty): Initialize with MINUS_INFTY_INIT.
23607 (qnan_value): Initialize with QNAN_VALUE_INIT.
23608 (max_value): Initialize with MAX_VALUE_INIT.
23609 (min_value): Initialize with MIN_VALUE_INIT.
23610 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23612 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23613 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23614 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23615 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23617 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23618 (RUN_TEST_2_f): Likewise.
23619 (RUN_TEST_ff_f): Likewise.
23620 (RUN_TEST_fi_f): Likewise.
23621 (RUN_TEST_fl_f): Likewise.
23622 (RUN_TEST_fff_f): Likewise.
23623 (RUN_TEST_c_f): Likewise.
23624 (RUN_TEST_f_f1): Likewise.
23625 (RUN_TEST_fF_f1): Likewise.
23626 (RUN_TEST_fI_f1): Likewise.
23627 (RUN_TEST_ffI_f1): Likewise.
23628 (RUN_TEST_c_c): Likewise.
23629 (RUN_TEST_cc_c): Likewise.
23630 (RUN_TEST_f_i): Likewise.
23631 (RUN_TEST_f_i_tg): Likewise.
23632 (RUN_TEST_ff_i_tg): Likewise.
23633 (RUN_TEST_f_b): Likewise.
23634 (RUN_TEST_f_b_tg): Likewise.
23635 (RUN_TEST_f_l): Likewise.
23636 (RUN_TEST_f_L): Likewise.
23637 (RUN_TEST_sincos): Likewise.
23638 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23639 whether to show exceptions. Do not include ");\n" in return
23641 (special_functions): Output call to RUN_TEST_sincos instead of
23642 check_float calls. Update calls to new_test.
23643 (parse_args): Output call to single RUN_TEST_* macro instead of
23644 check_* calls and other assignments. Update calls to new_test.
23650 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23651 input to result for tgamma overflow.
23652 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23653 (gamma_coeff): New variable.
23654 (NCOEFF): New macro.
23655 (gamma_positive): New function.
23656 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23657 underflow here. Use gamma_positive instead of exp (lgamma) for
23659 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23660 (gamma_coeff): New variable.
23661 (NCOEFF): New macro.
23662 (gammaf_positive): New function.
23663 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23664 underflow here. Use gamma_positive instead of exp (lgamma) for
23666 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23667 (gamma_coeff): New variable.
23668 (NCOEFF): New macro.
23669 (gammal_positive): New function.
23670 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23671 underflow here. Use gamma_positive instead of exp (lgamma) for
23673 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23674 (gamma_coeff): New variable.
23675 (NCOEFF): New macro.
23676 (gammal_positive): New function.
23677 (__ieee754_gammal_r): Handle positive infinity, overflow and
23678 underflow here. Handle NaN the same as positive infinity. Remove
23679 check x < 0xffffffff for negative integers. Use gamma_positive
23680 instead of exp (lgamma) for other arguments.
23681 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23682 (gamma_coeff): New variable.
23683 (NCOEFF): New macro.
23684 (gammal_positive): New function.
23685 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23686 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23687 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23688 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23689 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23690 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23691 * sysdeps/generic/math_private.h (__gamma_productf): New
23693 (__gamma_product): Likewise.
23694 (__gamma_productl): Likewise.
23695 * math/Makefile (libm-calls): Add gamma_product.
23696 * math/libm-test.inc (tgamma_test): Add more tests.
23697 * sysdeps/i386/fpu/libm-test-ulps: Update.
23698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23700 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23702 * benchtests/bench-skeleton.c (main): Preheat CPU.
23704 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23706 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23708 2013-05-07 Roland McGrath <roland@hack.frob.com>
23710 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23711 and _dl_skip_args_internal.
23713 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23715 * manual/message.texi (Message Translation): Talk about users.
23716 Message to key mapping impacts design.
23718 2013-05-06 Roland McGrath <roland@hack.frob.com>
23720 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23722 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23724 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23725 * sysdeps/wordsize-64/glob64.c: ... here.
23727 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23728 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23731 * debug/getlogin_r_chk.c: Moved to ...
23732 * login/getlogin_r_chk.c: ... here.
23733 * debug/Makefile (routines): Move getlogin_r_chk to ...
23734 * login/Makefile (routines): ... here.
23735 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23736 * login/Versions (libc: GLIBC_2.4): ... here.
23738 * io/poll.c (__poll): Renamed from poll.
23739 Add libc_hidden_def.
23740 (poll): Define as weak alias.
23742 * debug/ptsname_r_chk.c: Moved to ...
23743 * login/ptsname_r_chk.c: ... here.
23744 * debug/Makefile (routines): Move ptsname_r_chk to ...
23745 * login/Makefile (routines): ... here.
23746 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23747 * login/Versions (libc: GLIBC_2.4): ... here.
23749 * posix/getlogin.c: Moved to ...
23750 * login/getlogin.c: ... here.
23751 * posix/getlogin_r.c: Moved to ...
23752 * login/getlogin_r.c: ... here.
23753 * posix/getlogin_r.c: Moved to ...
23754 * login/getlogin_r.c: ... here.
23755 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23756 * login/Makefile (routines): ... here.
23757 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23758 * login/Versions (libc: GLIBC_2.0): ... here.
23760 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23761 (setrlimit): Define as weak alias.
23763 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23764 Call __ names for open, ftruncate, and close.
23765 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23766 (truncate): Define as weak alias.
23768 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23770 * math/gen-libm-test.pl (parse_args): Initialize x before each
23771 test of frexp, modf and remquo.
23773 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23774 test signgam value.
23776 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23780 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23782 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23784 2013-05-06 Roland McGrath <roland@hack.frob.com>
23786 * elf/dl-writev.h: New file.
23787 * elf/dl-misc.c: Include it.
23788 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23789 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23791 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23793 * math/libm-test.inc (noXFails): Remove variable.
23794 (noXPasses): Likewise.
23795 (BUILD_COMPLEX_INT): Remove macro.
23796 (print_screen): Remove xfail argument.
23797 (print_screen_max_error): Likewise.
23798 (update_stats): Likewise.
23799 (print_max_error): Likewise. Update calls to other affected
23801 (print_complex_max_error): Likewise.
23802 (test_single_exception): Update calls to print_screen.
23803 (test_single_errno): Likewise.
23804 (check_float_internal): Remove xfail argument. Update calls to
23805 other affected functions.
23806 (check_float): Likewise.
23807 (check_complex): Likewise.
23808 (check_int): Likewise.
23809 (check_long): Likewise.
23810 (check_bool): Likewise.
23811 (check_longlong): Likewise.
23812 (main): Don't print noXFails and noXPasses.
23813 * math/gen-libm-test.pl (top level): Don't mention expected
23814 failure handling in comment.
23815 (new_test): Don't handle expected failures.
23816 (parse_args): Don't mention expected failure handling in comment.
23817 (generate_testfile): Don't handle expected failures.
23818 (parse_ulps): Likewise.
23819 (print_ulps_file): Likewise.
23820 (get_failure): Remove function.
23821 (output_test): Don't handle expected failures.
23822 * make/README.libm-test: Don't mention expected failure handling.
23824 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23825 (minus_zero): Likewise.
23826 (plus_infty): Likewise.
23827 (minus_infty): Likewise.
23828 (qnan_value): Likewise.
23829 (max_value): Likewise.
23830 (min_value): Likewise.
23831 (min_subnorm_value): Likewise.
23832 (initialize): Do not initialize those variables dynamically.
23834 2013-05-03 Roland McGrath <roland@hack.frob.com>
23836 * io/open.c (__open_2): Moved to ...
23837 * io/open_2.c: ... this new file.
23838 * io/open64.c (__open64_2): Moved to ...
23839 * io/open64_2.c: ... this new file.
23840 * io/openat.c (__openat_2): Moved to ...
23841 * io/openat_2.c: ... this new file.
23842 * io/openat64.c (__openat64_2): Moved to ...
23843 * io/openat64_2.c: ... this new file.
23844 * io/Makefile (routines): Add them.
23845 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23846 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23847 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23848 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23849 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23850 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23851 (__openat64): Add hidden_ver.
23852 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23853 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23855 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23856 Separately conditionalize setting of GLRO(dl_sysinfo) so
23857 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23858 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23860 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23862 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23863 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23865 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23866 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23867 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23868 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23869 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23871 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23873 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23874 test signgam value.
23876 * math/libm-test.inc (hypot_test): Do not use
23877 IGNORE_ZERO_INF_SIGN.
23879 2013-05-03 Andreas Jaeger <aj@suse.de>
23881 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23883 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23884 (PF_MAX): Adjust for VSOCK change.
23886 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23890 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23893 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23894 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23895 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23897 2013-05-02 David S. Miller <davem@davemloft.net>
23899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23901 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23903 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23905 2013-05-01 Roland McGrath <roland@hack.frob.com>
23907 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23909 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23912 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23913 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23914 Use __attribute__ ((__gnu_inline__)).
23915 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23916 Don't use __attribute__ ((__gnu_inline__)).
23918 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23921 * math/s_catan.c (__catan): Handle small real or imaginary part of
23922 input specially to avoid spurious underflow.
23923 * math/s_catanf.c (__catanf): Likewise.
23924 * math/s_catanh.c (__catanh): Likewise.
23925 * math/s_catanhf.c (__catanhf): Likewise.
23926 * math/s_catanhl.c (__catanhl): Likewise.
23927 * math/s_catanl.c (__catanl): Likewise.
23928 * math/libm-test.inc (catan_test): Add more tests.
23929 (catanh_test): Likewise.
23930 * sysdeps/i386/fpu/libm-test-ulps: Update.
23931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23933 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23937 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23940 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23941 accurately for denominator in atan2.
23942 * math/s_catanf.c (__catanf): Likewise.
23943 * math/s_catanh.c (__catanh): Likewise.
23944 * math/s_catanhf.c (__catanhf): Likewise.
23945 * math/s_catanhl.c (__catanhl): Likewise.
23946 * math/s_catanl.c (__catanl): Likewise.
23947 * math/libm-test.inc (catan_test): Add more tests.
23948 (catanh_test): Likewise.
23949 * sysdeps/i386/fpu/libm-test-ulps: Update.
23950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23952 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23954 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23956 * benchtests/Makefile (bench): Remove slow benchmarks.
23957 * benchtests/atan-inputs: Add slow benchmark inputs.
23958 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23959 (BENCH_FUNC): Accept variant offset.
23961 * benchtests/bench-skeleton.c (main): Run benchmark for each
23963 * benchtests/cos-inputs: Add slow benchmark inputs.
23964 * benchtests/exp-inputs: Likewise.
23965 * benchtests/pow-inputs: Likewise.
23966 * benchtests/sin-inputs: Likewise.
23967 * benchtests/slowatan-inputs: Remove.
23968 * benchtests/slowatan.c: Remove.
23969 * benchtests/slowcos-inputs: Remove.
23970 * benchtests/slowcos.c: Remove.
23971 * benchtests/slowexp-inputs: Remove.
23972 * benchtests/slowexp.c: Remove.
23973 * benchtests/slowpow-inputs: Remove.
23974 * benchtests/slowpow.c: Remove.
23975 * benchtests/slowsin-inputs: Remove.
23976 * benchtests/slowsin.c: Remove.
23977 * benchtests/slowtan-inputs: Remove.
23978 * benchtests/slowtan.c: Remove.
23979 * benchtests/tan-inputs: Add slow benchmark inputs.
23980 * scripts/bench.pl: Parse comments and directives.
23982 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23984 ($(objpfx)bench-%.c): Remove *-ITER.
23985 * benchtests/bench-modf.c: Remove definition of ITER.
23986 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23987 (main): Loop for DURATION seconds instead of fixed number of
23989 * scripts/bench.pl: Don't expect iterations in parameters.
23991 2013-04-29 Roland McGrath <roland@hack.frob.com>
23993 * io/fchdir.c (__fchdir): Renamed from fchdir.
23994 (fchdir): Define as weak alias.
23996 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23998 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23999 (ERRNO_EDOM): Likewise.
24000 (ERRNO_ERANGE): Likewise.
24001 (noErrnoTests): New variable.
24002 (init_max_error): Set errno to 0.
24003 (test_single_errno): New function.
24004 (test_errno): Likewise.
24005 (check_float_internal): Call test_errno. Set errno to 0.
24006 (check_complex): Refer to errno tests in comment.
24007 (check_int): Call test_errno. Set errno to 0.
24008 (check_long): Likewise.
24009 (check_bool): Likewise.
24010 (check_longlong): Likewise.
24011 (cos_test): Use ERRNO_* flags for errno tests instead of
24013 (expm1_test): Likewise.
24014 (fmod_test): Likewise.
24015 (ilogb_test): Likewise.
24016 (lgamma_test): Likewise.
24017 (pow_test): Likewise.
24018 (remainder_test): Likewise.
24019 (sin_test): Likewise.
24020 (tan_test): Likewise.
24021 (yn_test): Likewise.
24022 (initialize): Set errno to 0.
24023 (main): Print number of errno tests.
24024 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24026 2013-04-29 Andreas Jaeger <aj@suse.de>
24029 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24033 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24034 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24038 * stdlib/random.c (__initstate): Return NULL if
24042 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24043 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24046 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24050 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24052 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24053 of individual tests.
24054 (casin_test): Likewise.
24055 (casinh_test): Likewise.
24057 2013-04-27 Joseph Myers <joseph@codesourcery.com>
24060 * math/s_catan.c (__catan): Handle arguments with large real or
24061 imaginary part separately without squaring.
24062 * math/s_catanf.c (__catanf): Likewise.
24063 * math/s_catanh.c (__catanh): Likewise.
24064 * math/s_catanhf.c (__catanhf): Likewise.
24065 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24067 (__catanhl): Handle arguments with large real or imaginary part
24068 separately without squaring.
24069 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24071 (__catanl): Handle arguments with large real or imaginary part
24072 separately without squaring.
24073 * math/libm-test.inc (catan_test): Add more tests.
24074 (catanh_test): Likewise.
24075 * sysdeps/i386/fpu/libm-test-ulps: Update.
24076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24078 2013-04-27 Andreas Jaeger <aj@suse.de>
24081 * stdlib/stdlib.h: Update guards for qecvt.
24082 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24085 2013-04-27 Allan McRae <allan@archlinux.org>
24087 * sysdeps/i386/fpu/libm-test-ulps: Update.
24089 2013-04-26 Joseph Myers <joseph@codesourcery.com>
24092 * math/s_catan.c: Include <float.h>.
24093 (__catan): Ensure underflow exception occurs for underflowed
24095 * math/s_catanf.c: Include <float.h>.
24096 (__catanf): Ensure underflow exception occurs for underflowed
24098 * math/s_catanh.c: Include <float.h>.
24099 (__catanh): Ensure underflow exception occurs for underflowed
24101 * math/s_catanhf.c: Include <float.h>.
24102 (__catanhf): Ensure underflow exception occurs for underflowed
24104 * math/s_catanhl.c: Include <float.h>.
24105 (__catanhl): Ensure underflow exception occurs for underflowed
24107 * math/s_catanl.c: Include <float.h>.
24108 (__catanl): Ensure underflow exception occurs for underflowed
24110 * math/libm-test.inc (catan_test): Add more tests.
24111 (catanh_test): Likewise.
24114 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24115 underflowed result.
24116 * math/s_ccoshf.c (__ccoshf): Likewise.
24117 * math/s_ccoshl.c (__ccoshl): Likewise.
24118 * math/s_csin.c (__csin): Likewise.
24119 * math/s_csinf.c (__csinf): Likewise.
24120 * math/s_csinh.c (__csinh): Likewise.
24121 * math/s_csinhf.c (__csinhf): Likewise.
24122 * math/s_csinhl.c (__csinhl): Likewise.
24123 * math/s_csinl.c (__csinl): Likewise.
24124 * math/libm-test.inc (ccos_test): Add more tests.
24125 (ccosh_test): Likewise.
24126 (csin_test): Likewise.
24127 (csinh_test): Likewise.
24129 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24131 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24132 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24133 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24134 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24135 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24136 powerpc/power5+/fpu folders.
24137 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24140 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24144 2013-04-25 Joseph Myers <joseph@codesourcery.com>
24146 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24147 additions to variable.
24148 [$(config-machine) = x86_64] (modules-names): Likewise.
24149 ($(objpfx)tst-audit3): Remove dependency.
24150 ($(objpfx)tst-audit3.out): Likewise.
24151 ($(objpfx)tst-audit4): Likewise.
24152 ($(objpfx)tst-audit4.out): Likewise.
24153 ($(objpfx)tst-audit5): Likewise.
24154 ($(objpfx)tst-audit5.out): Likewise.
24155 ($(objpfx)tst-audit6): Likewise.
24156 ($(objpfx)tst-audit6.out): Likewise.
24157 ($(objpfx)tst-audit7): Likewise.
24158 ($(objpfx)tst-audit7.out): Likewise.
24159 (tst-audit3-ENV): Remove variable.
24160 (tst-audit4-ENV): Likewise.
24161 (tst-audit5-ENV): Likewise.
24162 (tst-audit6-ENV): Likewise.
24163 (tst-audit7-ENV): Likewise.
24164 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24165 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24166 addition to variable.
24167 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24168 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24169 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24172 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24173 tst-audit3, tst-audit4 and tst-audit5.
24174 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24175 tst-audit6 and tst-audit7.
24176 [$(subdir) = elf] (modules-names): Add audit modules for those
24178 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24179 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24180 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24181 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24182 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24183 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24184 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24185 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24186 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24187 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24188 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24189 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24190 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24191 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24192 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24193 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24195 [$(subdir) = elf && $(config-cflags-avx) = yes]
24196 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24197 [$(subdir) = elf && $(config-cflags-avx) = yes]
24198 (CFLAGS-tst-auditmod4a.c): Likewise.
24199 [$(subdir) = elf && $(config-cflags-avx) = yes]
24200 (CFLAGS-tst-auditmod4b.c): Likewise.
24201 [$(subdir) = elf && $(config-cflags-avx) = yes]
24202 (CFLAGS-tst-auditmod6b.c): Likewise.
24203 [$(subdir) = elf && $(config-cflags-avx) = yes]
24204 (CFLAGS-tst-auditmod6c.c): Likewise.
24205 [$(subdir) = elf && $(config-cflags-avx) = yes]
24206 (CFLAGS-tst-auditmod7b.c): Likewise.
24207 * elf/tst-audit3.c: Move to ...
24208 * sysdeps/x86_64/tst-audit3.c: ... here.
24209 * elf/tst-audit4.c: Move to ...
24210 * sysdeps/x86_64/tst-audit4.c: ... here.
24211 * elf/tst-audit5.c: Move to ...
24212 * sysdeps/x86_64/tst-audit5.c: ... here.
24213 * elf/tst-audit6.c: Move to ...
24214 * sysdeps/x86_64/tst-audit6.c: ... here.
24215 * elf/tst-audit7.c: Move to ...
24216 * sysdeps/x86_64/tst-audit7.c: ... here.
24217 * elf/tst-auditmod3a.c: Move to ...
24218 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24219 * elf/tst-auditmod3b.c: Move to ...
24220 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24221 * elf/tst-auditmod4a.c: Move to ...
24222 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24223 * elf/tst-auditmod4b.c: Move to ...
24224 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24225 * elf/tst-auditmod5a.c: Move to ...
24226 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24227 * elf/tst-auditmod5b.c: Move to ...
24228 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24229 * elf/tst-auditmod6a.c: Move to ...
24230 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24231 * elf/tst-auditmod6b.c: Move to ...
24232 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24233 * elf/tst-auditmod6c.c: Move to ...
24234 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24235 * elf/tst-auditmod7a.c: Move to ...
24236 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24237 * elf/tst-auditmod7b.c: Move to ...
24238 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24240 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24243 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24244 define unconditionally.
24245 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24246 define unconditionally.
24247 (INT8_C, INT16_C, etc.): Likewise.
24249 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24251 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24252 __ehdr_start with hidden visibility.
24254 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24256 2013-04-24 Carlos O'Donell <carlos@redhat.com>
24258 * math/libm-test.inc (cos_test): Use accurate hex constants.
24259 (sincost_test): Likewise.
24261 2013-04-24 Joseph Myers <joseph@codesourcery.com>
24263 * math/libm-test.inc (catan_test): Add more tests.
24264 (catanh_test): Likewise.
24266 * math/s_catanf.c (__catanf): Use suffixed floating-point
24268 * math/s_catanhf.c (__catanhf): Likewise.
24269 * math/s_catanhl.c (__catanhl): Likewise.
24270 * math/s_catanl.c (__catanl): Likewise.
24273 * math/s_catan.c (__catan): Calculate imaginary part of result
24274 with log1p not log unless computing log of number close to 0.
24275 * math/s_catanf.c (__catanf): Likewise.
24276 * math/s_catanl.c (__catanl): Likewise.
24277 * math/s_catanh.c (__catanh): Calculate real part of result with
24278 log1p not log unless computing log of number close to 0.
24279 * math/s_catanhf.c (__catanhf): Likewise.
24280 * math/s_catanhl.c (__catanhl): Likewise.
24281 * math/libm-test.inc (catan_test): Add more tests.
24282 (catanh_test): Likewise.
24283 * sysdeps/i386/fpu/libm-test-ulps: Update.
24284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24286 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24288 * benchtests/Makefile: Mention files in which fast and slow
24289 paths of math functions are implemented.
24291 2013-04-23 Roland McGrath <roland@hack.frob.com>
24293 * sysdeps/posix/timespec_get.c: New file.
24295 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24297 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24299 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24301 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24302 powerpc/power5/fpu folders.
24303 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24304 * benchtests/Makefile: Add modf testcase.
24305 * benchtests/bench-modf.c: New file: Benchmark test for mo
24307 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24310 * time/Makefile (tests): Add tst-strptime-whitespace.
24311 * time/strptime_l.c (get_number): Use ISSPACE.
24312 (__strptime_internal): Likewise.
24313 * time/tst-strptime-whitespace.c: New test case.
24315 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24317 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24319 (_nss_files_init): Set it here.
24321 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24323 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24324 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24327 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24329 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24331 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24336 2013-04-21 David S. Miller <davem@davemloft.net>
24338 * po/ru.po: Update Russion translation from translation project.
24340 2013-04-17 Adam Conrad <adconrad@0c3.net>
24342 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24345 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24347 * configure.in: Remove i386 configure warning. Remove i386 case.
24348 * configure: Regenerate.
24349 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24350 Add example to error message.
24351 * sysdeps/i386/configure: Regenerate.
24353 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24355 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24357 * benchtests/cos-inputs: New file.
24358 * benchtests/slowcos-inputs: New file.
24359 * benchtests/slowcos.c: New file.
24360 * benchtests/slowtan-inputs: New file.
24361 * benchtests/slowtan.c: New file.
24362 * benchtests/tan-inputs: New file.
24364 2013-04-16 Roland McGrath <roland@hack.frob.com>
24366 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24369 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24371 * benchtests/Makefile: Include cppflags-iterator.mk to add
24372 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24374 * Makefile.in (bench-clean): New target.
24375 * benchtests/Makefile (bench-clean): Likewise.
24377 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24379 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24381 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24383 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24385 2013-04-15 Andreas Schwab <schwab@suse.de>
24387 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24389 * nscd/pwdcache.c (cache_addpw): Likewise.
24390 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24393 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24395 * benchtests/Makefile (bench): Write all output to
24396 bench-out.tmp together.
24398 2013-04-15 Andreas Schwab <schwab@suse.de>
24400 * nscd/nscd.c (main): Don't fork again after closing files.
24402 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24404 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24406 * benchtests/Rules (bench-deps): Collect dependencies into a
24407 single variable. Add Makefile to dependencies.
24408 ($(objpfx)bench-%.c): Depend on bench-deps.
24410 2013-04-12 Roland McGrath <roland@hack.frob.com>
24411 Xavier Roche <roche+kml2@exalead.com>
24414 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24415 just that it's a file descriptor.
24416 * manual/llio.texi (Synchronizing AIO Operations): Update description
24417 for EBADF error from aio_fsync.
24419 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24421 * Rules (bench): Move target definition...
24422 * benchtests/Makefile: ... here.
24424 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24426 * math/libm-test.inc (cos_test): Fix PI/2 test.
24427 (sincos_test): Likewise.
24428 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24429 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24431 2013-04-11 Andreas Schwab <schwab@suse.de>
24434 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24435 accept exponent character only when digits were seen.
24436 * stdio-common/Makefile (tests): Add bug26.
24437 * stdio-common/bug26.c: New file.
24440 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24443 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24445 * Makeconfig (rtld-prefix): Define built linker prefix.
24446 * Rules (run-bench): Use it.
24447 * math/Makefile (run-regen-ulps): Likewise.
24449 * Rules (bench): Remove eval.
24451 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24452 Roland McGrath <roland@hack.frob.com>
24453 Ondrej Bilka <neleai@seznam.cz>
24456 * time/getdate.c: Include ctype.h and alloca.h.
24457 (__getdate_r): Trim leading and trailing spaces of input.
24458 * time/tst-getdate.c (tests): Add tests with leading and
24461 2013-04-08 Roland McGrath <roland@hack.frob.com>
24464 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24465 when computing value.
24467 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24469 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24470 Use testrun.sh to run libm tests.
24473 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24475 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24478 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24480 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24482 * Makefile.in (regen-ulps): New target.
24483 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24484 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24485 [ifneq (no,$(PERL)] (regen-ulps): New target.
24486 [ifeq (no,$(PERL)] (regen-ulps): New target.
24487 * math/libm-test.inc (ulps_file_name): Define.
24488 (output_dir): New variable.
24489 (options): Add "output-dir" option.
24490 (parse_opt): Handle 'o' case.
24491 (main): If output_dir is non-NULL use it as a prefix
24493 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24495 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24497 [BZ #10060, #10062]
24498 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24499 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24500 fail configure if __sync_val_compare_and_swap is not inlined.
24501 * sysdeps/i386/configure: Regenerate.
24502 * configure.in: Build for i686 when configured for i386.
24503 * configure: Regenerate.
24504 * README: Remove i386 reference.
24506 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24508 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24511 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24513 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24514 (lmsnanval): New variables.
24515 (F): Add conversion tests.
24516 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24517 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24519 * stdio-common/tstdiomisc.c (F): Properly collect individual
24522 [BZ #14686, #15336]
24523 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24524 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24525 Instead, use input NaN values or generate a qNaN by arithmetic
24526 operation. Also fix bugs to comply with the standard.
24527 * math/libm-test.inc (remainder_test): Add more tests.
24529 [BZ #15335, #15342]
24530 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24532 input NaN values or generate a qNaN by arithmetic operation.
24534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24537 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24540 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24543 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24544 underflowed result.
24545 * math/s_cexpf.c (__cexpf): Likewise.
24546 * math/s_cexpl.c (__cexpl): Likewise.
24547 * math/libm-test.inc (cexp_test): Add more tests.
24549 2013-04-03 Andreas Schwab <schwab@suse.de>
24552 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24553 order arrays from heap if bigger than alloca cutoff.
24555 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24557 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24558 (SNAN_TESTS_double): Refer to GCC PR56831.
24559 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24562 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24564 * Rules (bench): Move bench.out after the run is complete.
24566 * Rules (bench): Echo currently running benchmark.
24568 * benchtests/Makefile (bench): Add atan and slowatan.
24569 * benchtests/atan-inputs: New file.
24570 * benchtests/slowatan-inputs: New file.
24571 * benchtests/slowatan.c: New file.
24573 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24574 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24578 * sysdeps/unix/sysv/linux/kernel-features.h
24579 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24580 __ASSUME_XFS_RESTRICTED_CHOWN.
24581 * sysdeps/unix/sysv/linux/pathconf.c
24582 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24583 Save and restore errno.
24585 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24588 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24589 arguments using __kernel_casinh.
24590 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24591 arguments using __kernel_casinhf.
24592 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24593 arguments using __kernel_casinhl.
24594 * math/libm-test.inc (cacosh_test): Add more tests.
24595 * sysdeps/i386/fpu/libm-test-ulps: Update.
24596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24598 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24600 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24603 * bench/Makefile (bench): Add sin and slowsin.
24604 * benchtests/sin-inputs: New file.
24605 * benchtests/slowsin-inputs: New file.
24606 * benchtests/slowsin.c: New file.
24608 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24609 (bench): Add slowexp and slowpow.
24610 (exp-ITER): Increase iterations.
24611 (pow-ITER): Likewise.
24612 * benchtests/exp-inputs: Change input.
24613 * benchtests/pow-inputs: Likewise.
24614 * benchtests/slowexp-inputs: New file.
24615 * benchtests/slowexp.c: New file.
24616 * benchtests/slowpow-inputs: New file.
24617 * benchtests/slowpow.c: New file.
24619 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24621 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24623 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24624 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24625 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24626 * benchtests/Makefile: Add rint benchtest.
24627 * benchtests/rint-inputs: Input for rint benchtest.
24629 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24631 * Versions.def (libm): Add GLIBC_2.18.
24632 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24633 hidden libm prototypes.
24634 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24635 * math/Makefile (libm-calls): Add s_issignaling.
24636 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24637 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24638 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24640 * math/math.h [__USE_GNU] (issignaling): New macro.
24641 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24642 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24643 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24644 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24647 * manual/arith.texi (issignaling): New section.
24648 * manual/libm-err-tab.pl (@all_functions): Update comment.
24649 * math/gen-libm-test.pl (parse_args): Apply special handling for
24651 * math/libm-test.inc (print_float, issignaling_test): New
24653 (check_float_internal): Add issignaling checks.
24654 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24655 default definition.
24656 * sysdeps/powerpc/math-tests.h: New file.
24657 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24659 * math/test-snan.c (TEST_FUNC): Likewise.
24661 2013-03-30 David S. Miller <davem@davemloft.net>
24663 * po/de.po: Update from translation team.
24665 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24668 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24669 imaginary part less than 1.0 and real part less than 0.5
24671 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24672 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24673 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24674 (cacos_test): Add more tests.
24675 (casin_test): Likewise.
24676 (casinh_test): Likewise.
24677 * sysdeps/i386/fpu/libm-test-ulps: Update.
24678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24680 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24682 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24683 ONE with its value.
24685 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24686 (__pow_mp): Replace ONE and MONE with their values.
24687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24688 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24689 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24690 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24691 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24692 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24694 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24696 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24697 (__pow_mp): Replace ZERO and MZERO with their values.
24698 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24700 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24702 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24703 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24706 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24708 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24710 2013-03-28 Roland McGrath <roland@hack.frob.com>
24712 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24713 Declare with __attribute__ ((weak)).
24714 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24715 Call __call_tls_dtors only if it's not NULL.
24717 2013-03-28 Roland McGrath <roland@hack.frob.com>
24719 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24720 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24721 magic __ehdr_start linker symbol if it's defined.
24722 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24723 them up here if it was already done.
24725 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24726 (_dl_aux_init): Use const in cast when setting it.
24727 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24728 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24729 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24731 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24733 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24734 * csu/libc-tls.c: Nor here.
24735 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24737 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24738 (__libc_message): Never call vsyslog.
24740 2013-03-28 Alan Modra <amodra@gmail.com>
24742 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24744 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24747 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24750 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24754 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24757 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24758 Don't add gid passed as argument.
24760 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24762 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24765 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24766 imaginary part between 1.0 and 1.5 and real part less than 0.5
24768 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24769 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24770 * math/libm-test.inc (cacos_test): Add more tests.
24771 (casin_test): Likewise.
24772 (casinh_test): Likewise.
24773 * sysdeps/i386/fpu/libm-test-ulps: Update.
24774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24776 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24778 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24781 (denorm): Likewise.
24782 (__dbl_mp): Likewise.
24783 (add_magnitudes): Likewise.
24784 (sub_magnitudes): Likewise.
24792 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24794 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24795 (__dubcos): Likewise.
24796 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24797 (__ieee754_acos): Likewise.
24798 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24799 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24800 (__exp1): Likewise.
24801 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24804 (my_log2): Likewise.
24805 (checkint): Likewise.
24806 * sysdeps/ieee754/dbl-64/e_remainder.c
24807 (__ieee754_remainder): Likewise.
24808 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24809 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24810 (bsloww): Likewise.
24811 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24813 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24814 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24815 MANTISSA_STORE_T to store computations on mantissa. Use
24816 macros for rounding and division.
24817 (denorm): Likewise.
24818 (__dbl_mp): Likewise.
24819 (add_magnitudes): Likewise.
24820 (sub_magnitudes): Likewise.
24823 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24824 powers of two in terms of TWOPOW macro.
24825 (mp_no): Make type of mantissa as MANTISSA_T.
24826 [!RADIXI]: Define RADIXI.
24827 [!TWO52]: Define TWO52.
24828 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24830 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24832 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24833 llroundl symbol when building for PPC32.
24835 2013-03-24 Mark H Weaver <mhw@netris.org>
24837 * manual/arith.texi (Normalization Functions): Fix prototypes for
24838 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24840 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24844 high value to check if expl overflow.
24845 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24846 to check for underflow and overflow.
24847 * math/libm-test.inc: Add exp test.
24849 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24852 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24855 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24857 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24860 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24862 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24863 wrap blocks consisting of several statements.
24865 * sysdeps/generic/math-tests.h: New file.
24866 * sysdeps/i386/fpu/math-tests.h: Likewise.
24867 * math/test-snan.c: Include it.
24868 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24870 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24873 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24874 (__ieee754_j0l): Do not improve calculations using cos of twice
24875 input for inputs above LDBL_MAX / 2.0L.
24876 (__ieee754_y0l): Likewise.
24877 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24878 (__ieee754_j1l): Do not improve calculations using cos of twice
24879 input for inputs above LDBL_MAX / 2.0L.
24880 (__ieee754_y1l): Likewise.
24881 * math/libm-test.inc (j0_test): Add another test.
24882 (j1_test): Likewise.
24883 (y0_test): Likewise.
24884 (y1_test): Likewise.
24885 * sysdeps/i386/fpu/libm-test-ulps: Update.
24887 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24889 * Rules ($(objpfx)bench-%.c): Include code from a C source
24892 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24895 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24896 imaginary part 1.0 and real part less than 0.5 specially.
24897 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24898 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24899 * math/libm-test.inc (cacos_test): Add more tests.
24900 (casin_test): Likewise.
24901 (casinh_test): Likewise.
24902 * sysdeps/i386/fpu/libm-test-ulps: Update.
24903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24905 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24908 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24910 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24912 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24913 * config.make.in (config-cflags-sse4): Remove variable.
24914 (config-cflags-avx): Likewise.
24915 (config-cflags-sse2avx): Likewise.
24916 (config-cflags-novzeroupper): Likewise.
24917 (config-asflags-i686): Likewise.
24918 (have-mfma4): Likewise.
24919 (have-as-vis3): Likewise.
24921 * configure.in (MIG): Do not AC_SUBST.
24922 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24923 (libc_cv_cc_sse4): Do not AC_SUBST.
24924 (libc_cv_cc_avx): Likewise.
24925 (libc_cv_cc_sse2avx): Likewise.
24926 (libc_cv_cc_novzeroupper): Likewise.
24927 (libc_cv_cc_fma4): Likewise.
24928 (libc_cv_as_i686): Likewise.
24929 (libc_cv_sparc_as_vis3): Likewise.
24930 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24932 (config-asflags-i686): Likewise.
24933 (config-cflags-avx): Likewise.
24934 (config-cflags-sse2avx): Likewise.
24935 (have-mfma4): Likewise.
24936 (config-cflags-novzeroupper): Likewise.
24937 * sysdeps/mach/configure.in (MIG): Likewise.
24938 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24939 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24941 (config-cflags-avx): Likewise.
24942 (config-cflags-sse2avx): Likewise.
24943 (have-mfma4): Likewise.
24944 (config-cflags-novzeroupper): Likewise.
24945 * configure: Regenerated.
24946 * sysdeps/i386/configure: Likewise.
24947 * sysdeps/mach/configure: Likewise.
24948 * sysdeps/sparc/configure: Likewise.
24949 * sysdeps/x86_64/configure: Likewise.
24951 2013-03-20 Roland McGrath <roland@hack.frob.com>
24954 * locale/programs/localedef.c (options): Put N_ translation marker
24955 on argument names, not just descriptions.
24957 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24959 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24961 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24964 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24966 2013-03-19 Roland McGrath <roland@hack.frob.com>
24968 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24969 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24970 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24971 [!BEFORE_ABORT] (before_abort): New function.
24972 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24973 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24974 (writev_for_fatal): New function.
24975 (WRITEV_FOR_FATAL): New macro; call that.
24976 (backtrace_and_maps): New function.
24977 (BEFORE_ABORT): New macro; call that.
24978 (struct str_list): Type removed.
24979 (__libc_message, __libc_fatal): Functions removed.
24980 Include <sysdeps/posix/libc_fatal.c> instead.
24982 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24984 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24986 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24989 2013-03-19 Andreas Schwab <schwab@suse.de>
24991 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24992 * sysdeps/gnu/configure: Regenerate.
24994 * configure.in: Substitute libc_cv_rtlddir.
24995 * configure: Regenerate.
24996 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24997 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24998 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24999 * elf/Makefile (install-others, CFLAGS-interp.c)
25000 (ldso_install, common-ldd-rewrite): Likewise.
25001 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25002 $(inst_slibdir)/$(rtld-installed-name).
25003 * scripts/rellns-sh: Add -p option.
25004 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25007 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25009 * manual/nptl.texi: Renamed to ...
25010 * manual/threads.texi: ... this.
25011 * manual/Makefile (chapters): Update.
25013 2013-03-18 Roland McGrath <roland@hack.frob.com>
25016 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25017 on argument names, not just descriptions.
25018 * malloc/memusagestat.c (options): Likewise.
25019 * nss/getent.c (options): Likewise.
25021 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
25024 * iconv/iconv_prog.c (options): Put N_ translation marker
25025 on argument names, not just descriptions.
25026 * iconv/iconvconfig.c (options): Likewise.
25028 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
25030 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25031 implementation which is faster on all x86_64 architectures.
25032 Tested on AMD, Intel Nehalem, SNB, IVB.
25033 * sysdeps/x86_64/strnlen.S: Likewise.
25035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25036 Remove all multiarch strlen and strnlen versions.
25037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25038 Remove strlen and strnlen related parts.
25040 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25041 Inline strlen part.
25042 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25044 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25045 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25046 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25047 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25048 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25049 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25051 2013-03-17 Carlos O'Donell <carlos@redhat.com>
25053 * manual/memory.texi (Malloc Tunable Parameters):
25054 Sort parameters alphabetically. Add comments for missing entries.
25056 2013-03-17 David S. Miller <davem@davemloft.net>
25058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25060 2013-03-16 Joseph Myers <joseph@codesourcery.com>
25063 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25064 for arguments at most half maximum finite value.
25065 * math/libm-test.inc (j0_test): Add more tests.
25066 (j1_test): Likewise.
25067 (y0_test): Likewise.
25068 (y1_test): Likewise.
25069 * sysdeps/i386/fpu/libm-test-ulps: Update.
25070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25073 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25074 1 / x and functions P and Q for arguments above 0x1p256L.
25075 (__ieee754_y0l): Likewise.
25076 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25077 (__ieee754_y1l): Likewise.
25078 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25079 (j1_test): Likewise.
25080 (y0_test): Likewise.
25081 (y1_test): Likewise.
25083 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25085 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25088 2013-03-15 Roland McGrath <roland@hack.frob.com>
25090 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25091 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25092 zero since it's initialized to EXEC_PAGESIZE.
25094 * sysdeps/unix/sysv/linux/ldsodefs.h
25095 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25096 * sysdeps/generic/ldsodefs.h: ... here.
25098 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25100 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25102 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25104 * math/test-snan.c: Renamed from
25105 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25106 * math/Makefile (tests): Add test-snan.
25107 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25110 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25111 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25113 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25114 __builtin_nan family of functions.
25115 * math/libm-test.inc (initialize): Initialize qnan_value with
25116 __builtin_nan family of functions.
25117 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25119 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25121 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25122 storage class. Initialize qNaN_var and sNaN_var with
25123 __builtin_nan and __builtin_nans families of functions,
25126 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25127 (sqrt_test): Remove duplicate test with qNaN input.
25128 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25129 (round_test, signbit_test, significand_test): Note missing +/-Inf
25130 as well as qNaN tests.
25132 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25133 qNaN_var. Fix a few strings, too.
25134 * math/libm-test.inc (nan_value): Rename to qnan_value.
25135 * math/gen-libm-test.pl (%beautify): Adjust to that.
25136 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25137 * math/test-misc.c (main): Likewise.
25138 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25139 to __qnan_bytes, and __qnan_union, respectively.
25140 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25142 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25143 and lqnanval, respectively.
25144 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25145 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25146 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25147 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25149 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25150 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25153 * math/test-misc.c (main): Fix copy'n'pastos.
25154 * misc/tst-efgcvt.c (special): Likewise.
25156 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25157 Remove declarations.
25159 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25161 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25162 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25163 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25164 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25166 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25168 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25169 macro to return vdso values correctly in IFUNC implementations.
25170 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25171 Optimization by using IFUNC.
25173 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25174 Richard Henderson <rth@redhat.com>
25175 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25177 * Makefile.in (bench): New target.
25178 * NEWS: Mention the benchmark framework.
25179 * Rules (bench): Likewise.
25180 (binaries-bench): Generate binaries for functions to
25182 * benchtests/Makefile: New makefile for benchmark tests.
25183 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25185 * benchtests/exp-inputs: New input file for EXP function.
25186 * benchtests/pow-inputs: New input file for POW function.
25187 * scripts/bench.pl: New script to generate source files for
25188 benchmark programs.
25190 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25192 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25193 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25194 computations on mantissa. Use macros for rounding and
25196 (denorm): Likewise.
25197 (__dbl_mp): Likewise.
25198 (add_magnitudes): Likewise.
25199 (sub_magnitudes): Likewise.
25202 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25203 powers of two in terms of TWOPOW macro.
25204 (mp_no): Make type of mantissa as MANTISSA_T.
25205 [!RADIXI]: Define RADIXI.
25206 [!TWO52]: Define TWO52.
25207 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25209 * manual/nptl.texi (cindex): Modify threads to pthreads.
25211 2013-03-15 Joseph Myers <joseph@codesourcery.com>
25213 * sysdeps/x86_64/preconfigure: Regenerated.
25215 2013-03-14 Joseph Myers <joseph@codesourcery.com>
25218 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25220 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25221 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25223 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25224 * math/libm-test.inc (j0_test): Do not allow one spurious
25225 underflow exception.
25226 (y1_test): Likewise.
25228 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25230 * manual/Makefile (chapters): Add nptl.
25231 * manual/debug.texi (Debugging Support): Add link to Threads
25233 * manual/nptl.texi: New file.
25235 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25237 2013-03-14 Petr Baudis <pasky@ucw.cz>
25239 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25240 for non-NULL pointer before the memory validity test. Pointed
25241 out by Holger Brunck <holger.brunck@keymile.com>.
25243 2013-03-13 Andreas Schwab <schwab@suse.de>
25245 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25248 2013-03-13 Joseph Myers <joseph@codesourcery.com>
25250 * timezone/zic.c: Update from tzcode 2013b.
25252 2013-03-12 Carlos O'Donell <carlos@redhat.com>
25254 * manual/install.texi (Configuring and compiling):
25255 Mention i686 and i586.
25256 * INSTALL: Regenerate.
25258 2013-03-12 Roland McGrath <roland@hack.frob.com>
25260 * sysdeps/init_array/elf-init.c: New file.
25262 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25263 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25265 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25266 __gmon_start__ as global, but as static with a .preinit_array pointer.
25267 * sysdeps/init_array/gmon-start.c: New file. Use that.
25268 * sysdeps/init_array/crti.S: New file, empty except for comments.
25269 * sysdeps/init_array/crtn.S: Likewise.
25271 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
25273 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25276 Remove Prefer_SSE_for_memop.
25277 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25278 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25279 HAS_PREFER_SSE_FOR_MEMOP.
25280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25283 Remove bzero, memset ifunc support.
25284 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25285 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25286 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25287 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25289 2013-03-11 Andreas Schwab <schwab@suse.de>
25292 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25295 (GLIBC_2.16): Remove pthread_atfork.
25297 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25299 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25300 (ptestcases.h): Likewise.
25302 2013-03-08 Roland McGrath <roland@hack.frob.com>
25304 * Makeconfig ($(common-objpfx)config.status): Depend on
25305 sysdeps/*/preconfigure{,.in} too.
25307 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25309 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25310 (__free_hook): Use void * instead of __malloc_ptr_t.
25311 (__malloc_hook): Likewise.
25312 (__realloc_hook): Likewise.
25313 (__memalign_hook): Likewise.
25314 (__after_morecore_hook): Likewise.
25315 * malloc/arena.c (save_malloc_hook): Likewise.
25316 (save_free_hook): Likewise.
25317 * malloc/hooks.c (malloc_hook_ini): Likewise.
25318 (realloc_hook_ini): Likewise.
25319 (memalign_hook_ini): Likewise.
25320 * malloc/malloc.c (malloc_hook_ini): Likewise.
25321 (realloc_hook_ini): Likewise.
25322 (memalign_hook_ini): Likewise.
25323 (__free_hook): Likewise.
25324 (__malloc_hook): Likewise.
25325 (__realloc_hook): Likewise.
25326 (__memalign_hook): Likewise.
25327 (__libc_malloc): Likewise.
25328 (__libc_free): Likewise.
25329 (__libc_realloc): Likewise.
25330 (__libc_memalign): Likewise.
25331 (__libc_valloc): Likewise.
25332 (__libc_pvalloc): Likewise.
25333 (__libc_calloc): Likewise.
25334 (__posix_memalign): Likewise.
25335 * malloc/morecore.c (__sbrk): Likewise.
25336 (__default_morecore): Likewise.
25338 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25340 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25341 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25342 __malloc_ptrdiff_t.
25344 * malloc/malloc.h (__malloc_size_t): Remove macro.
25345 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25347 (old_memalign_hook): Likewise.
25348 (old_realloc_hook): Likewise.
25349 (struct hdr): Likewise.
25351 (mallochook): Likewise.
25352 (memalignhook): Likewise.
25353 (reallochook): Likewise.
25354 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25355 (tr_old_realloc_hook): Likewise.
25356 (tr_old_memalign_hook): Likewise.
25357 (tr_mallochook): Likewise.
25358 (tr_reallochook): Likewise.
25359 (tr_memalignhook): Likewise.
25361 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25364 default_ldbl_pack and using as default implementation.
25365 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25367 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25368 redundant definition.
25369 (ldbl_insert_mantissa): Likewise.
25370 (ldbl_canonicalize): Likewise.
25371 (ldbl_nearbyint): Likewise.
25372 (ldbl_pack): Rename to ldbl_pack_ppc.
25373 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25374 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25375 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25377 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25380 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25381 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25382 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25384 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25385 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25386 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25388 2013-03-07 Andreas Jaeger <aj@suse.de>
25390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25393 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25395 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25396 Include mpa.h and declare __MPEXP.
25397 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25398 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25399 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25400 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25401 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25402 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25403 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25405 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25406 (__slowpow): Use long double EXPL and LOGL functions to
25408 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25409 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25410 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25411 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25412 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25413 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25416 intermediate variable to calculate exponent.
25418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25422 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25423 [!NO__SQR]: Define __sqr.
25424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25425 and NO__SQR. Remove all code except __mul and __sqr. Include
25426 sysdeps/ieee754/dbl-64/mpa.c.
25427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25430 * posix/Makefile (tests): Add tst-pathconf.
25431 * posix/tst-pathconf.c: New test case.
25432 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25434 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25436 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25438 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25440 2013-03-06 Andreas Jaeger <aj@suse.de>
25442 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25443 definition via __MAP_ANONYMOUS.
25445 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25446 it's not part of Linux headers.
25448 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25449 (MAP_HUGE_MASK): Define.
25451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25453 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25457 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25459 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25460 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25462 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25464 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25465 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25466 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25467 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25468 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25469 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25471 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25474 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25475 Handle f2fs and efivarfs.
25477 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25480 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25481 (EFIVARFS_MAGIC): Add.
25482 (F2FS_LINK_MAX): Add.
25484 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25486 * stdio-common/vfprintf.c: Replace __builtin_expect with
25489 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25492 * sysdeps/generic/bp-sym.h: Remove file.
25493 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25494 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25495 <bp-sym.h> and <bp-asm.h>.
25496 (__longjmp): Don't use BP_SYM.
25497 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25499 (memcpy): Don't use BP_SYM.
25500 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25501 <bp-sym.h> and <bp-asm.h>.
25502 (memcpy): Don't use BP_SYM.
25503 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25505 (memcpy): Don't use BP_SYM.
25506 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25508 (memset): Don't use BP_SYM.
25509 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25510 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25511 (__bzero): Don't use BP_SYM.
25512 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25513 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25514 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25515 <bp-sym.h> and <bp-asm.h>.
25516 (memcmp): Don't use BP_SYM. Remove comment about bounded
25518 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25519 <bp-sym.h> and <bp-asm.h>.
25520 (memcpy): Don't use BP_SYM.
25521 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25522 <bp-sym.h> and <bp-asm.h>.
25523 (memset): Don't use BP_SYM.
25524 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25525 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25526 (__bzero): Don't use BP_SYM.
25527 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25528 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25529 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25530 <bp-sym.h> and <bp-asm.h>.
25531 (strncmp): Don't use BP_SYM. Remove comment about bounded
25533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25534 <bp-sym.h> and <bp-asm.h>.
25535 (memcpy): Don't use BP_SYM.
25536 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25537 <bp-sym.h> and <bp-asm.h>.
25538 (memset): Don't use BP_SYM.
25539 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25540 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25541 (__bzero): Don't use BP_SYM.
25542 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25543 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25544 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25545 <bp-sym.h> and <bp-asm.h>.
25546 (__memchr): Don't use BP_SYM.
25547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25548 <bp-sym.h> and <bp-asm.h>.
25549 (memcmp): Don't use BP_SYM. Remove comment about bounded
25551 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25552 <bp-sym.h> and <bp-asm.h>.
25553 (memcpy): Don't use BP_SYM.
25554 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25555 <bp-sym.h> and <bp-asm.h>.
25556 (__mempcpy): Don't use BP_SYM.
25557 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25558 <bp-sym.h> and <bp-asm.h>.
25559 (__memrchr): Don't use BP_SYM.
25560 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25561 <bp-sym.h> and <bp-asm.h>.
25562 (memset): Don't use BP_SYM.
25563 (__bzero): Likewise.
25564 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25565 <bp-sym.h> and <bp-asm.h>.
25566 (__rawmemchr): Don't use BP_SYM.
25567 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25568 <bp-sym.h> and <bp-asm.h>.
25569 (__STRCMP): Don't use BP_SYM.
25570 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25571 <bp-sym.h> and <bp-asm.h>.
25572 (strchr): Don't use BP_SYM.
25573 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25574 <bp-sym.h> and <bp-asm.h>.
25575 (__strchrnul): Don't use BP_SYM.
25576 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25577 <bp-sym.h> and <bp-asm.h>.
25578 (strlen): Don't use BP_SYM.
25579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25580 <bp-sym.h> and <bp-asm.h>.
25581 (strncmp): Don't use BP_SYM. Remove comment about bounded
25583 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25584 <bp-sym.h> and <bp-asm.h>.
25585 (__strnlen): Don't use BP_SYM.
25586 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25587 <bp-sym.h> and <bp-asm.h>.
25588 (__GI__setjmp): Don't use BP_SYM.
25589 (_setjmp): Likewise.
25590 (__sigsetjmp): Likewise.
25591 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25592 (L(start_addresses)): Don't use BP_SYM.
25593 (_start): Likewise.
25594 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25596 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25597 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25598 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25599 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25600 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25602 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25603 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25604 about bounded pointers.
25605 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25606 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25607 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25609 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25610 about bounded pointers. Remove GKM FIXME comments.
25611 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25612 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25614 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25615 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25616 Remove GKM FIXME comments.
25617 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25618 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25619 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25621 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25622 about bounded pointers. Remove GKM FIXME comment.
25623 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25625 (strncmp): Don't use BP_SYM. Remove comment about bounded
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25628 <bp-sym.h> and <bp-asm.h>.
25629 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25631 <bp-sym.h> and <bp-asm.h>.
25632 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25635 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25637 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25640 2013-03-05 David S. Miller <davem@davemloft.net>
25642 * po/es.po: Update from translation team.
25644 2013-03-05 Andreas Jaeger <aj@suse.de>
25646 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25647 <bits/mman-linux.h>.
25648 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25650 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25651 <bits/mman-linux.h> to end of file.
25652 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25654 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25655 <bits/mman-linux.h> to end of file.
25656 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25658 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25659 <bits/mman-linux.h> to end of file.
25661 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25662 (MCL_CURRENT, MCL_FUTURE): Define here.
25664 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25667 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25669 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25671 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25673 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25674 fourth parameter needed for rt_sigprocmask syscall.
25675 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25676 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25677 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25678 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25679 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25680 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25682 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25685 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25686 comment about bounded pointers.
25687 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25688 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25690 2013-03-04 Andreas Jaeger <aj@suse.de>
25692 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25693 common definitions.
25695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25696 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25697 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25702 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25705 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25706 __ieee754_sqrl instead of __sqrl.
25708 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25710 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25711 * sysdeps/powerpc/fpu_control.h: ... here.
25712 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25713 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25714 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25715 * sysdeps/powerpc/bits/mathinline.h: ... here.
25717 2013-03-01 Roland McGrath <roland@hack.frob.com>
25719 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25720 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25721 to just [NEED_DL_SYSINFO_DSO].
25722 * elf/dl-support.c: Likewise.
25723 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25724 * elf/rtld.c (dl_main): Likewise.
25725 * elf/setup-vdso.h (setup_vdso): Likewise.
25726 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25727 * sysdeps/unix/sysv/linux/dl-sysdep.c
25728 (_dl_discover_osversion): Likewise.
25730 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25732 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25733 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25735 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25737 * NEWS: Mention libm performance improvements and non-x86 PI
25740 * csu/libc-start.c (__pthread_initialize_minimal): Change
25741 function arguments.
25742 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25744 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25747 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25748 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25749 <bp-sym.h> and <bp-asm.h>.
25750 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25751 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25753 (memcpy): Don't use BP_SYM.
25754 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25756 (__mpn_add_n): Don't use BP_SYM.
25757 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25758 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25760 (__mpn_addmul_1): Don't use BP_SYM.
25761 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25762 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25764 (_setjmp): Don't use BP_SYM.
25765 (__novmx_setjmp): Likewise.
25766 (__GI__setjmp): Likewise.
25767 (__vmx_setjmp): Likewise.
25768 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25770 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25771 (__bzero): Don't use BP_SYM.
25772 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25773 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25774 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25775 <bp-sym.h> and <bp-asm.h>.
25776 (memcpy): Don't use BP_SYM.
25777 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25778 <bp-sym.h> and <bp-asm.h>.
25779 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25780 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25781 <bp-sym.h> and <bp-asm.h>.
25782 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25783 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25785 (__mpn_lshift): Don't use BP_SYM.
25786 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25787 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25789 (memset): Don't use BP_SYM.
25790 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25791 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25792 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25794 (__mpn_mul_1): Don't use BP_SYM.
25795 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25797 <bp-sym.h> and <bp-asm.h>.
25798 (memcmp): Don't use BP_SYM.
25799 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25800 <bp-sym.h> and <bp-asm.h>.
25801 (memcpy): Don't use BP_SYM.
25802 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25803 <bp-sym.h> and <bp-asm.h>.
25804 (memset): Don't use BP_SYM.
25805 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25806 <bp-sym.h> and <bp-asm.h>.
25807 (strncmp): Don't use BP_SYM.
25808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25809 <bp-sym.h> and <bp-asm.h>.
25810 (memcpy): Don't use BP_SYM.
25811 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25812 <bp-sym.h> and <bp-asm.h>.
25813 (memset): Don't use BP_SYM.
25814 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25815 <bp-sym.h> and <bp-asm.h>.
25816 (__memchr): Don't use BP_SYM.
25817 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25818 <bp-sym.h> and <bp-asm.h>.
25819 (memcmp): Don't use BP_SYM.
25820 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25821 <bp-sym.h> and <bp-asm.h>.
25822 (memcpy): Don't use BP_SYM.
25823 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25824 <bp-sym.h> and <bp-asm.h>.
25825 (__mempcpy): Don't use BP_SYM.
25826 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25827 <bp-sym.h> and <bp-asm.h>.
25828 (__memrchr): Don't use BP_SYM.
25829 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25830 <bp-sym.h> and <bp-asm.h>.
25831 (memset): Don't use BP_SYM.
25832 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25833 <bp-sym.h> and <bp-asm.h>.
25834 (__rawmemchr): Don't use BP_SYM.
25835 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25836 <bp-sym.h> and <bp-asm.h>.
25837 (__STRCMP): Don't use BP_SYM.
25838 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25839 <bp-sym.h> and <bp-asm.h>.
25840 (strchr): Don't use BP_SYM.
25841 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25842 <bp-sym.h> and <bp-asm.h>.
25843 (__strchrnul): Don't use BP_SYM.
25844 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25845 <bp-sym.h> and <bp-asm.h>.
25846 (strlen): Don't use BP_SYM.
25847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25848 <bp-sym.h> and <bp-asm.h>.
25849 (strncmp): Don't use BP_SYM.
25850 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25851 <bp-sym.h> and <bp-asm.h>.
25852 (__strnlen): Don't use BP_SYM.
25853 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25855 (__mpn_rshift): Don't use BP_SYM.
25856 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25857 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25858 <bp-sym.h> and <bp-asm.h>.
25859 (__sigsetjmp): Don't use BP_SYM.
25860 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25861 (L(start_addresses)): Don't use BP_SYM.
25862 (_start): Likewise.
25863 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25865 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25866 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25867 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25868 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25870 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25871 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25872 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25873 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25875 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25877 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25878 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25880 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25882 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25883 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25884 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25886 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25888 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25890 (strncmp): Don't use BP_SYM,
25891 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25893 (__mpn_sub_n): Don't use BP_SYM.
25894 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25895 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25897 (__mpn_submul_1): Don't use BP_SYM.
25898 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25900 <bp-sym.h> and <bp-asm.h>.
25901 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25903 <bp-sym.h> and <bp-asm.h>.
25904 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25907 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25910 Use ZK to minimize writes to Z.
25911 (sub_magnitudes): Simplify code a bit.
25912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25913 Use ZK to minimize writes to Z.
25914 (sub_magnitudes): Simplify code a bit.
25916 2013-02-27 Roland McGrath <roland@hack.frob.com>
25918 * csu/gmon-start.c: Add special exception to license text.
25920 2013-02-27 Richard Henderson <rth@redhat.com>
25922 * scripts/config.guess: Update from config.git.
25923 * scripts/config.sub: Likewise.
25925 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25927 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25929 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25931 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25933 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25935 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25937 2013-02-26 Roland McGrath <roland@hack.frob.com>
25939 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25940 [$(build-shared = yes].
25942 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25944 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25945 (__mul): Reduce iterations for calculating mantissa.
25947 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25949 (__mpranred): Likewise.
25952 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25953 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25955 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25957 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25958 Define __attribute__.
25960 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25962 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25964 * posix/regex_internal.h (__attribute): Remove.
25965 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25966 (re_string_context_at): Likewise.
25967 (bitset_not): Use __attribute__ and mark function as possibly
25969 (bitset_merge): Likewise.
25970 (bitset_mask): Likewise.
25971 (re_string_char_size_at): Likewise.
25972 (re_string_wchar_at): Likewise.
25973 (re_string_elem_size_at): Likewise.
25975 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25977 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25981 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25985 (denorm): Likewise.
25986 (__dbl_mp): Likewise.
25987 (add_magnitudes): Likewise.
25988 (sub_magnitudes): Likewise.
25992 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25995 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25998 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26002 up changes with default code.
26003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26006 2013-02-24 Allan McRae <allan@archlinux.org>
26008 * manual/socket.texi (The Internet Namespace): Order menu items
26009 to match that in the file.
26011 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26012 node listing of the info page menu.
26014 2013-02-21 Joseph Myers <joseph@codesourcery.com>
26017 * sysdeps/i386/bp-asm.h: Remove file.
26018 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26019 (PARMS): Do not use macros from bp-asm.h.
26023 (__mpn_add_n): Do not use BP_SYM
26024 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26026 (PARMS): Do not use macros from bp-asm.h.
26029 (__mpn_addmul_1): Do not use BP_SYM
26030 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26032 (PARMS): Do not use macros from bp-asm.h.
26033 (SIGMSK): Likewise.
26034 (_setjmp): Likewise. Do not use BP_SYM.
26035 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26037 (PARMS): Do not use macros from bp-asm.h.
26038 (SIGMSK): Likewise.
26039 (setjmp): Likewise. Do not use BP_SYM.
26040 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26042 (PARMS): Do not use macros from bp-asm.h.
26043 (__frexp): Do not use BP_SYM.
26045 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26047 (PARMS): Do not use macros from bp-asm.h.
26048 (__frexpf): Do not use BP_SYM.
26049 (frexpf): Likewise.
26050 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26052 (PARMS): Do not use macros from bp-asm.h.
26053 (__frexpl): Do not use BP_SYM.
26054 (frexpl): Likewise.
26055 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26057 (PARMS): Do not use macros from bp-asm.h.
26058 (__remquo): Do not use BP_SYM.
26059 (remquo): Likewise.
26060 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26062 (PARMS): Do not use macros from bp-asm.h.
26063 (__remquof): Do not use BP_SYM.
26064 (remquof): Likewise.
26065 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26067 (PARMS): Do not use macros from bp-asm.h.
26068 (__remquol): Do not use BP_SYM.
26069 (remquol): Likewise.
26070 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26072 (PARMS): Do not use macros from bp-asm.h.
26075 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26076 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26078 (PARMS): Do not use macros from bp-asm.h.
26079 (strlen): Do not use BP_SYM.
26080 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26082 (PARMS): Do not use macros from bp-asm.h.
26086 (__mpn_add_n): Do not use BP_SYM.
26087 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26089 (PARMS): Do not use macros from bp-asm.h.
26092 (__mpn_addmul_1): Do not use BP_SYM.
26093 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26096 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26098 (PARMS): Do not use macros from bp-asm.h.
26101 (__mpn_lshift): Do not use BP_SYM.
26102 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26104 (PARMS): Do not use macros from bp-asm.h.
26108 (memcpy): Likewise. Do not use BP_SYM.
26109 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26110 libc_hidden_def and weak_alias.
26111 (mempcpy): Do not use BP_SYM in weak_alias.
26112 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26114 (PARMS): Do not use macros from bp-asm.h.
26117 [!BZERO_P] (CHR): Likewise.
26118 (memset): Likewise. Do not use BP_SYM.
26119 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26121 (PARMS): Do not use macros from bp-asm.h.
26124 (__mpn_mul_1): Do not use BP_SYM.
26125 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26127 (PARMS): Do not use macros from bp-asm.h.
26130 (__mpn_rshift): Do not use BP_SYM.
26131 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26133 (PARMS): Do not use macros from bp-asm.h.
26136 (strchr): Likewise. Do not use BP_SYM.
26137 (index): Do not use BP_SYM in weak_alias.
26138 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26140 (PARMS): Do not use macros from bp-asm.h.
26143 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26144 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26146 (PARMS): Do not use macros from bp-asm.h.
26147 (strlen): Do not use BP_SYM.
26148 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26150 (PARMS): Do not use macros from bp-asm.h.
26154 (__mpn_sub_n): Do not use BP_SYM.
26155 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26157 (PARMS): Do not use macros from bp-asm.h.
26160 (__mpn_submul_1): Do not use BP_SYM.
26161 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26163 (PARMS): Do not use macros from bp-asm.h.
26167 (__mpn_add_n): Do not use BP_SYM.
26168 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26171 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26173 (PARMS): Do not use macros from bp-asm.h.
26176 (memcmp): Do not use BP_SYM.
26177 (bcmp): Do not use BP_SYM in weak_alias.
26178 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26180 (PARMS): Do not use macros from bp-asm.h.
26184 (memcpy): Likewise. Do not use BP_SYM.
26185 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26187 (PARMS): Do not use macros from bp-asm.h.
26191 (memmove): Likewise. Do not use BP_SYM.
26192 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26194 (PARMS): Do not use macros from bp-asm.h.
26198 (__mempcpy): Likewise. Do not use BP_SYM.
26199 (mempcpy): Do not use BP_SYM in weak_alias.
26200 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26202 (PARMS): Do not use macros from bp-asm.h.
26205 [!BZERO_P] (CHR): Likewise.
26206 (memset): Likewise. Do not use BP_SYM.
26207 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26209 (PARMS): Do not use macros from bp-asm.h.
26211 (strcmp): Do not use BP_SYM.
26212 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26214 (PARMS): Do not use macros from bp-asm.h.
26217 [USE_AS_STRTOK_R] (SAVE): Likewise.
26218 (FUNCTION): Likewise. Do not use BP_SYM.
26219 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26221 (strtok_r): Likewise.
26222 (__GI___strtok_r): Likewise.
26223 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26224 (PARMS): Do not use macros from bp-asm.h.
26227 (__mpn_lshift): Do not use BP_SYM.
26228 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26229 (PARMS): Do not use macros from bp-asm.h.
26232 (__memchr): Do not use BP_SYM.
26233 (memchr): Do not use BP_SYM in weak_alias.
26234 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26235 (PARMS): Do not use macros from bp-asm.h.
26238 (memcmp): Do not use BP_SYM.
26239 (bcmp): Do not use BP_SYM in weak_alias.
26240 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26241 (PARMS): Do not use macros from bp-asm.h.
26244 (__mpn_mul_1): Do not use BP_SYM.
26245 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26247 (PARMS): Do not use macros from bp-asm.h.
26250 (__rawmemchr): Do not use BP_SYM.
26251 (rawmemchr): Do not use BP_SYM in weak_alias.
26252 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26253 (PARMS): Do not use macros from bp-asm.h.
26256 (__mpn_rshift): Do not use BP_SYM.
26257 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26258 (PARMS): Do not use macros from bp-asm.h.
26259 (SIGMSK): Likewise.
26260 (__sigsetjmp): Likewise. Do not use BP_SYM.
26261 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26262 (_start): Do not use BP_SYM.
26263 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26264 (PARMS): Do not use macros from bp-asm.h.
26267 (__stpcpy): Likewise. Do not use BP_SYM.
26268 (stpcpy): Do not use BP_SYM in weak_alias.
26269 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26271 (PARMS): Do not use macros from bp-asm.h.
26275 (__stpncpy): Likewise. Do not use BP_SYM.
26276 (stpncpy): Do not use BP_SYM in weak_alias.
26277 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26278 (PARMS): Do not use macros from bp-asm.h.
26281 (strchr): Likewise. Do not use BP_SYM.
26282 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26284 (PARMS): Do not use macros from bp-asm.h.
26287 (__strchrnul): Likewise. Do not use BP_SYM.
26288 (strchrnul): Do not use BP_SYM in weak_alias.
26289 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26291 (PARMS): Do not use macros from bp-asm.h.
26293 (strcspn): Do not use BP_SYM.
26294 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26296 (PARMS): Do not use macros from bp-asm.h.
26299 (strpbrk): Likewise. Do not use BP_SYM.
26300 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26302 (PARMS): Do not use macros from bp-asm.h.
26305 (strrchr): Likewise. Do not use BP_SYM.
26306 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26307 (PARMS): Do not use macros from bp-asm.h.
26309 (strspn): Do not use BP_SYM.
26310 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26311 (PARMS): Do not use macros from bp-asm.h.
26315 (FUNCTION): Likewise. Do not use BP_SYM.
26316 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26318 (strtok_r): Likewise.
26319 (__GI___strtok_r): Likewise.
26320 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26321 (PARMS): Do not use macros from bp-asm.h.
26325 (__mpn_sub_n): Do not use BP_SYM.
26326 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26328 (PARMS): Do not use macros from bp-asm.h.
26331 (__mpn_submul_1): Do not use BP_SYM.
26332 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26334 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26336 (PARMS): Do not use macros from bp-asm.h.
26341 (__clone): Do not use BP_SYM.
26342 (clone): Do not use BP_SYM in weak_alias.
26343 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26345 (PARMS): Do not use macros from bp-asm.h.
26347 (__mmap64): Do not use BP_SYM.
26348 (mmap64): Do not use BP_SYM in weak_alias.
26349 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26350 <bp-sym.h> and <bp-asm.h>.
26351 (PARMS): Do not use macros from bp-asm.h.
26352 (__posix_fadvise64_l64): Do not use BP_SYM.
26353 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26354 (PARMS): Do not use macros from bp-asm.h.
26356 (semtimedop): Do not use BP_SYM.
26357 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26360 2013-02-21 Allan McRae <allan@archlinux.org>
26362 * manual/message.texi (Charset conversion in gettext):
26363 Move @end statement to beginning of line.
26365 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26372 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26373 (denorm): Likewise.
26374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26377 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26379 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26380 tail-call to the resolved function if pltexit isn't needed.
26382 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26385 or Y being zero as being unlikely.
26386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26389 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26391 * manual/nss.texi (System Databases and Name Service Switch):
26392 Remove frobnicate @pxref.
26394 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26396 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26397 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26399 2013-02-20 Petr Machata <pmachata@redhat.com>
26401 * elf/elf.h (R_ARM_TARGET1): New macro.
26402 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26403 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26404 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26405 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26406 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26407 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26408 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26409 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26410 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26411 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26412 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26413 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26414 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26415 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26416 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26417 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26418 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26419 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26420 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26421 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26422 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26423 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26424 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26425 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26426 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26427 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26428 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26429 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26430 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26431 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26432 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26433 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26434 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26435 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26436 (R_ARM_THM_GOT_BREL12): Likewise.
26437 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26438 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26439 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26440 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26441 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26442 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26443 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26444 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26445 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26447 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26449 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26450 __attribute_used__ to __attribute__ ((unused)).
26452 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26454 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26457 comment formatting.
26458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26460 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26463 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26465 (ENTER): Remove both macro definitions.
26467 (CHECK_BOUNDS_LOW): Likewise.
26468 (CHECK_BOUNDS_HIGH): Likewise.
26469 (CHECK_BOUNDS_BOTH): Likewise.
26470 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26471 (RETURN_BOUNDED_POINTER): Likewise.
26472 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26473 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26474 (POP_ERRNO_LOCATION_RETURN): Likewise.
26475 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26476 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26477 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26479 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26480 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26481 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26482 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26483 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26484 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26485 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26486 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26487 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26488 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26489 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26490 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26491 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26492 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26494 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26495 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26497 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26498 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26499 * sysdeps/i386/i586/memset.S (memset): Likewise.
26500 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26501 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26502 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26504 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26505 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26506 Change uses of L(2) to L(out).
26507 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26508 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26509 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26510 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26511 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26513 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26514 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26516 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26517 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26518 (RETURN): Do not use macro LEAVE.
26519 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26520 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26521 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26522 * sysdeps/i386/i686/memset.S (memset): Likewise.
26523 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26524 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26525 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26526 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26528 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26529 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26530 L(1_2) and L(1_3) into L(1).
26531 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26532 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26533 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26534 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26535 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26536 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26537 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26538 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26539 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26541 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26542 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26543 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26544 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26545 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26546 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26547 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26548 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26549 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26550 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26551 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26552 * sysdeps/i386/strspn.S (strspn): Likewise.
26553 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26555 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26556 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26557 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26558 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26559 L(1_3) into L(1_1).
26560 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26561 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26562 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26564 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26566 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26568 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26571 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26573 * math/atest-exp.c (exp_mpn): Remove ROUND.
26574 * math/atest-exp2.c (exp_mpn): Likewise.
26575 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26577 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26578 * stdlib/tst-tls-atexit-lib.c: Likewise.
26579 * stdlib/tst-tls-atexit.c: Likewise.
26581 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26583 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26584 and __attribute_alloc_size__.
26586 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26588 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26589 __attribute_alloc_size__.
26590 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26591 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26593 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26595 * include/programs/xmalloc.h: New file.
26596 * catgets/gencat.c: Include it.
26597 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26598 * elf/pldd.c: Likewise.
26599 * iconv/iconv_charmap.c: Likewise.
26600 * iconv/iconvconfig.c: Likewise.
26601 * iconv/strtab.c: Likewise.
26602 * locale/programs/locale.c: Likewise.
26603 * locale/programs/localedef.h: Likewise.
26604 * locale/programs/simple-hash.c: Likewise.
26605 * nscd/nscd.h: Likewise.
26606 * nss/makedb.c: Likewise.
26607 * sysdeps/generic/ldconfig.h: Likewise.
26609 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26611 * Versions.def: Add GLIBC_2.18.
26612 * include/link.h (struct link_map): New member l_tls_dtor_count.
26613 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26614 (__call_tls_dtors): Likewise.
26615 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26616 __cxa_thread_atexit_impl.
26617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26633 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26634 (tests): Add test case tst-tls-atexit.
26635 (modules-names): Add shared library for tst-tls-atexit.
26636 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26637 (GLIBC_PRIVATE): Add __call_tls_dtors.
26638 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26640 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26641 * stdlib/tst-tls-atexit.c: New test case.
26642 * stdlib/tst-tls-atexit-lib.c: New test case.
26644 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26646 * elf/Versions (ld): Add _dl_find_dso_for_object.
26647 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26648 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26649 (dl_open_worker): Use _dl_find_dso_for_object.
26650 * elf/dl-sym.c (do_sym): Likewise.
26651 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26653 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26655 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26656 Syntactic changes only.
26657 (_dl_runtime_profile): Do a tail-call to the resolved function.
26659 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26662 * sysdeps/x86_64/bp-asm.h: Remove file.
26663 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26664 <bp-sym.h> and <bp-asm.h>.
26665 (__clone): Do not use BP_SYM.
26666 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26667 <bp-sym.h> and <bp-asm.h>.
26668 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26669 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26671 (_setjmp): Do not use BP_SYM.
26672 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26674 (setjmp): Do not use BP_SYM.
26675 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26677 (mempcpy): Do not use BP_SYM in weak_alias.
26678 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26680 (strchr): Do not use BP_SYM.
26681 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26683 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26684 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26685 (_start): Do not use BP_SYM.
26686 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26688 (strcat): Do not use BP_SYM.
26689 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26691 (STRCMP): Do not use BP_SYM.
26692 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26694 (STRCPY): Do not use BP_SYM.
26695 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26697 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26699 (FUNCTION): Do not use BP_SYM.
26700 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26702 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26704 2013-02-17 Andreas Jaeger <aj@suse.de>
26706 * time/Versions: Sort entries.
26707 * string/Versions: Likewise.
26708 * resolv/Versions: Likewise.
26709 * posix/Versions: Likewise.
26710 * iconv/Versions: Likewise.
26711 * elf/Versions: Likewise.
26712 * wcsmbs/Versions: Likewise.
26714 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26716 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26717 loop termination condition.
26719 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26720 variable to calculate EZ.
26723 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26724 the lower precision input.
26726 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26729 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26730 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26731 (run-via-rtld-prefix): Do not handle %-bp tests.
26732 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26733 (all-object-suffixes): Remove .ob.
26734 (bppfx): Remove variable.
26735 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26736 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26737 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26738 [$(build-bounded) = yes] (libtype.ob): Likewise.
26739 * Makerules (elide-routines.ob): Remove variable.
26740 (do-tests-clean): Do not handle *-bp.out.
26741 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26742 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26743 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26744 (tests): Do not include $(tests-bp.out).
26745 (xtests): Do not include $(xtests-bp.out).
26746 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26747 [$(build-bounded) = yes] ($(addprefix
26748 $(objpfx),$(binaries-bounded))): Remove rule.
26749 ($(objpfx)%-bp.out): Remove rule.
26750 * config.make.in (build-bounded): Remove variable.
26751 * crypt/Makefile [$(build-bounded) = yes]
26752 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26753 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26754 append to variable.
26755 [$(build-bounded) = yes] (install-lib): Likewise.
26756 [$(build-bounded) = yes] (generated): Likewise.
26757 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26759 * intl/Makefile [$(build-bounded) = yes]
26760 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26761 * math/Makefile [$(build-bounded) = yes]
26762 ($(tests:%=$(objpfx)%-bp): Likewise.
26763 * misc/Makefile [$(build-bounded) = yes]
26764 ($(objpfx)tst-tsearch-bp): Likewise.
26765 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26766 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26768 * string/Makefile (o-objects.ob): Remove variable.
26769 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26770 (CFLAGS-.ob): Remove variable.
26771 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26772 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26773 both definitions of variable.
26774 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26775 (ASFLAGS-.ob): Remove variable.
26777 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26780 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26781 Remove __BOUNDED_POINTERS__ from condition.
26782 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26783 * string/bits/string2.h [!__NO_STRING_INLINES &&
26784 !__BOUNDED_POINTERS__]: Likewise.
26785 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26787 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26788 Remove conditional code.
26789 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26790 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26791 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26795 * csu/libc-start.c: Do not include <bp-sym.h>.
26796 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26797 * elf/dl-open.c: Do not include <bp-sym.h>.
26798 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26799 * math/fegetenv.c: Do not include <bp-sym.h>.
26800 (fegetenv): Do not use BP_SYM in versioned symbols.
26801 * nptl/sysdeps/pthread/bits/libc-lockP.h
26802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26805 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26807 (__pthread_mutex_destroy): Likewise.
26808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26809 (__pthread_mutex_lock): Likewise.
26810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26811 (__pthread_mutex_trylock): Likewise.
26812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26813 (__pthread_mutex_unlock): Likewise.
26814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26815 (__pthread_mutexattr_init): Likewise.
26816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26817 (__pthread_mutexattr_destroy): Likewise.
26818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26819 (__pthread_mutexattr_settype): Likewise.
26820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26821 (__pthread_rwlock_init): Likewise.
26822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26823 (__pthread_rwlock_destroy): Likewise.
26824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26825 (__pthread_rwlock_rdlock): Likewise.
26826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26827 (__pthread_rwlock_tryrdlock): Likewise.
26828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26829 (__pthread_rwlock_wrlock): Likewise.
26830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26831 (__pthread_rwlock_trywrlock): Likewise.
26832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26833 (__pthread_rwlock_unlock): Likewise.
26834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26835 (__pthread_key_create): Likewise.
26836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26837 (__pthread_setspecific): Likewise.
26838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26839 (__pthread_getspecific): Likewise.
26840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26843 (_pthread_cleanup_push_defer): Likewise.
26844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26845 (_pthread_cleanup_pop_restore): Likewise.
26846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26847 (pthread_setcancelstate): Likewise.
26848 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26850 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26851 (memchr): Do not use BP_SYM in weak_alias.
26852 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26853 (fegetenv): Do not use BP_SYM in versioned symbols.
26854 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26855 (fesetenv): Do not use BP_SYM in versioned symbols.
26856 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26857 (feupdateenv): Do not use BP_SYM in versioned symbols.
26858 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26859 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26860 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26861 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26862 (open64): Do not use BP_SYM in weak_alias.
26863 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26864 (fegetenv): Do not use BP_SYM in versioned symbols.
26865 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26866 (fesetenv): Do not use BP_SYM in versioned symbols.
26867 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26868 (feupdateenv): Do not use BP_SYM in versioned symbols.
26869 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26870 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26871 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26872 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26873 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26874 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26875 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26877 (__libc_start_main): Do not use BP_SYM.
26879 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26882 redundant return line.
26884 (denorm): Likewise.
26885 (dbl_mp): Likewise.
26886 (sub_magnitudes): Likewise.
26892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26894 (denorm): Likewise.
26895 (dbl_mp): Likewise.
26896 (sub_magnitudes): Likewise.
26903 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26905 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26906 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26909 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26910 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26912 of __mul for squares.
26913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26917 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26918 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26920 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26923 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26925 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26926 prototype or function definition. Rename ubp_* variables and
26927 parameters. Remove argv definitions conditional on
26928 [__BOUNDED_POINTERS__].
26929 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26930 * elf/dl-runtime.c (_dl_fixup): Likewise.
26931 * include/set-hooks.h (RUN_HOOK): Likewise.
26932 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26934 * string/strcpy.c (strcpy): Do not use __unbounded.
26935 * sysdeps/generic/frame.h (struct layout): Likewise.
26936 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26937 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26938 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26939 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26940 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26941 (__backtrace): Likewise.
26942 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26944 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26945 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26946 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26948 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26949 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26950 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26951 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26952 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26953 Do not use __unbounded.
26954 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26955 Rename __unboundedrlimits parameter to rlimits in prototype.
26956 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26957 Do not use __unbounded.
26958 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26959 not use __ptrvalue.
26960 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26961 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26962 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26963 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26964 __ptrvalue or __unbounded.
26965 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26966 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26968 (__new_msgctl): Do not use __ptrvalue.
26969 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26971 (__libc_msgrcv): Do not use __ptrvalue.
26972 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26973 startup_info): Do not use __unbounded.
26974 (__libc_start_main): Likewise. Rename ubp_* variables and
26975 parameters. Remove argv definitions conditional on
26976 [__BOUNDED_POINTERS__].
26977 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26979 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26981 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26983 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26985 (__new_shmctl): Do not use __ptrvalue.
26986 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26987 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26989 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26991 (__libc_sigaction): Likewise.
26992 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26993 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26995 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26997 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26999 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27001 * string/mempcpy.c: Implement by calling memcpy.
27003 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27010 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27011 values in the mantissa.
27013 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27014 minimize writes to Z.
27015 (sub_magnitudes): Simplify code a bit.
27017 2013-02-12 Roland McGrath <roland@hack.frob.com>
27019 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27020 from the message. The linker prefixes all warnings with that already.
27022 2013-02-12 Andreas Schwab <schwab@suse.de>
27025 * posix/regexec.c (extend_buffers): Add parameter min_len.
27026 (check_matching): Pass minimum needed length.
27027 (clean_state_log_if_needed): Likewise.
27028 (get_subexp): Likewise.
27029 * posix/Makefile (tests): Add bug-regex34.
27030 (bug-regex34-ENV): Define.
27031 * posix/bug-regex34.c: New file.
27034 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27035 elements compare against the byte sequence of it, not its name.
27036 * posix/Makefile (tests): Add bug-regex35.
27037 (bug-regex35-ENV): Define.
27038 * posix/bug-regex35.c: New file.
27040 2013-02-11 Tom de Vries <tom@codesourcery.com>
27042 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27044 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27045 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27046 (CHECK_EOL): Add undef.
27048 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
27050 * bits/stdlib-bsearch.h: New file.
27051 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27052 * stdlib/stdlib.h: Likewise.
27054 2013-02-11 Roland McGrath <roland@hack.frob.com>
27056 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27057 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27059 * manual/search.texi (Array Search Function): Add missing const in
27061 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27062 declaration to use rlim_t.
27063 (Basic Scheduling Functions): Remove erroneous const from
27064 sched_getparam prototype. Remove erroneous * from
27065 sched_get_priority_max and sched_get_priority_min prototypes.
27066 (Resource Usage): Fix summary @comment on vtimes to refer to
27067 sys/vtimes.h rather than vtimes.h.
27068 Add missing *s in vtimes prototype.
27069 (Limits on Resources): Fix ulimit prototype to return long int.
27070 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27071 prototypes to use long int rather than double.
27072 (BSD Random): Fix initstate and setstate to use char *, not void *.
27073 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27074 prototype to make second argument 'struct aiocb64 *const[]'.
27075 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27076 (Status of AIO Operations): Remove erroneous const in aio_return and
27077 aio_return64 prototypes.
27078 (Synchronizing I/O): Fix sync prototype to return void.
27079 * manual/startup.texi (Suboptions): Remove an erroneous const in
27080 getsubopt prototype.
27081 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27082 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27083 use size_t rather than int.
27084 (Scanning All Users): Likewise for getpwent_r.
27085 (Setting Groups): Add missing const to setgroups prototype.
27086 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27087 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27088 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27089 'const void *' rather than 'const char *'.
27090 (Host Address Functions): Likewise for inet_ntop.
27091 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27092 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27093 ssize_t for return value.
27094 (Sending Data): Likewise for send, sendto, sendmsg.
27095 (Socket Option Functions): Add a missing const in setsockopt prototype.
27096 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27097 use wchar_t for the argument.
27098 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27099 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27101 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27102 double/float/long double for second argument.
27103 Fix return types of significand, significandf, significandl.
27104 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27105 argument in fchmod prototype.
27106 (File Owner): Use uid_t and gid_t in fchown prototype.
27107 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27108 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27109 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27110 use 'const struct dirent **' as argument types to CMP function pointer
27112 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27113 (File Times): Fix summary magic @comment for struct utimbuf and utime
27114 to refer to utime.h, not time.h.
27115 * manual/string.texi (Argz Functions): Add missing const in
27116 argz_extract and argz_next prototypes.
27117 (Finding Tokens in a String): Likewise for basename.
27118 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27119 (Copying and Concatenation): Fix typo in wmemmove prototype.
27120 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27121 (Signal Stack): Remove erroneous const in sigstack prototype.
27122 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27124 (Simple Calendar Time): Likewise for stime.
27125 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27127 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27128 say sys/sysctl.h instead.
27129 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27130 and vsyslog prototypes.
27132 2013-02-11 Tom de Vries <tom@codesourcery.com>
27134 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27137 2013-02-11 Roland McGrath <roland@hack.frob.com>
27139 * misc/sys/mman.h: Fix typo in mremap comment.
27141 2013-02-08 Roland McGrath <roland@hack.frob.com>
27143 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27144 the '\0' terminator.
27146 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27149 * debug/segfault.c: Don't include <bp-checks.h>.
27150 * sysdeps/generic/bp-checks.h: Remove file.
27151 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27152 (__GETDENTS): Don't use CHECK_N.
27153 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27154 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27155 (__getgroups): Don't use CHECK_N.
27156 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27157 (setgroups): Don't use CHECK_N.
27158 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27159 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27160 (__libc_msgrcv): Don't use CHECK_N.
27161 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27162 (__libc_msgsnd): Don't use CHECK_N.
27163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27165 (__libc_pread): Don't use CHECK_N.
27166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27167 include <bp-checks.h>.
27168 (__libc_pread64): Don't use CHECK_N.
27169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27170 include <bp-checks.h>.
27171 (__libc_pwrite): Don't use CHECK_N.
27172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27173 include <bp-checks.h>.
27174 (__libc_pwrite64): Don't use CHECK_N.
27175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27177 (__libc_pread): Don't use CHECK_N.
27178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27179 include <bp-checks.h>.
27180 (__libc_pread64): Don't use CHECK_N.
27181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27182 include <bp-checks.h>.
27183 (__libc_pwrite): Don't use CHECK_N.
27184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27185 include <bp-checks.h>.
27186 (__libc_pwrite64): Don't use CHECK_N.
27187 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27188 (do_pread): Don't use CHECK_N.
27189 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27190 (do_pread64): Don't use CHECK_N.
27191 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27192 (do_pwrite): Don't use CHECK_N.
27193 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27194 (do_pwrite64): Don't use CHECK_N.
27195 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27196 (__libc_readv): Don't use CHECK_N.
27197 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27198 (semop): Don't use CHECK_N.
27199 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27201 (semtimedop): Don't use CHECK_N.
27202 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27203 (__libc_pread): Don't use CHECK_N.
27204 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27206 (__libc_pread64): Don't use CHECK_N.
27207 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27209 (__libc_pwrite): Don't use CHECK_N.
27210 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27212 (__libc_pwrite64): Don't use CHECK_N.
27213 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27215 (__libc_msgrcv): Don't use CHECK_N.
27216 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27217 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27218 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27219 (__libc_writev): Don't use CHECK_N.
27221 2013-02-08 Roland McGrath <roland@hack.frob.com>
27223 * string/strcpy.c: Removed unused variable.
27225 * Makeconfig (+sysdep-includes): Define with := rather than =.
27226 Use an existing include/ subdir of each sysdeps dir before it.
27228 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27230 * nscd/connection.c (register_traced_file): Comment function.
27231 [HAVE_INOTIFY] (union __inev): Define.
27232 [HAVE_INOTIFY] (inotify_check_files): New function.
27233 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27234 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27236 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27238 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27240 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27241 loaded if not already and that a failure is permanent.
27243 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27246 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27247 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27249 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27252 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27253 (CHECK_1_NULL_OK): Likewise.
27254 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27255 (__fxstat): Do not use CHECK_1.
27256 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27258 (___fxstat64): Do not use CHECK_1.
27259 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27261 (__fxstatat): Do not use CHECK_1.
27262 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27264 (__fxstatat64): Do not use CHECK_1.
27265 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27267 (__fxstat): Do not use CHECK_1.
27268 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27270 (__fxstatat): Do not use CHECK_1.
27271 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27273 (__getresgid): Do not use CHECK_1.
27274 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27276 (__getresuid): Do not use CHECK_1.
27277 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27279 (__lxstat): Do not use CHECK_1.
27280 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27282 (__old_msgctl): Do not use CHECK_1.
27283 (__new_msgctl): Likewise.
27284 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27286 (__new_setrlimit): Do not use CHECK_1.
27287 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27289 (__old_shmctl): Do not use CHECK_1.
27290 (__new_shmctl): Likewise.
27291 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27293 (__xstat): Do not use CHECK_1.
27294 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27295 (__lxstat): Do not use CHECK_1.
27296 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27298 (___lxstat64): Do not use CHECK_1.
27299 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27300 (__old_msgctl): Do not use CHECK_1.
27301 (__new_msgctl): Likewise.
27302 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27304 (__gettimeofday): Do not use CHECK_1.
27305 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27306 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27307 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27309 (__gettimeofday): Do not use CHECK_1.
27310 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27311 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27312 (__new_shmctl): Do not use CHECK_1.
27313 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27315 (do_sigtimedwait): Do not use CHECK_1.
27316 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27318 (do_sigwaitinfo): Do not use CHECK_1.
27319 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27321 (msgctl): Do not use CHECK_1.
27322 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27324 (shmctl): Do not use CHECK_1.
27325 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27326 (ustat): Do not use CHECK_1.
27327 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27329 (__fxstat): Do not use CHECK_1.
27330 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27332 (__fxstatat): Do not use CHECK_1.
27333 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27335 (__lxstat): Do not use CHECK_1.
27336 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27338 (__xstat): Do not use CHECK_1.
27339 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27340 (__xstat): Do not use CHECK_1.
27341 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27342 (___xstat64): Do not use CHECK_1.
27345 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27347 (CHECK_BOUNDS_HIGH): Likewise.
27348 * string/strcpy.c: Do not include <bp-checks.h>.
27349 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27351 2013-02-07 Roland McGrath <roland@hack.frob.com>
27353 * nscd/nscd-client.h (__nscd_drop_map_ref):
27354 Add __attribute__ ((unused)).
27355 * nis/nss-nisplus.h (niserr2nss): Likewise.
27357 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27358 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27360 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27361 Remove inline keyword.
27362 * include/rounding-mode.h (round_away): Likewise.
27363 * libio/wfileops.c (adjust_wide_data): Likewise.
27364 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27365 (__m128i_strloadu_tolower): Likewise.
27366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27367 (__m128i_strloadu_tolower): Likewise.
27368 * time/mktime.c (ydhms_diff): Likewise.
27369 * locale/elem-hash.h (elem_hash): Likewise.
27370 * locale/setlocale.c (setdata): Likewise.
27371 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27372 (re_string_wchar_at): Likewise.
27373 (bitset_not, bitset_merge, bitset_mask): Likewise.
27374 [!(__GNUC__ > 3)] (inline): Remove macro.
27375 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27376 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27377 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27378 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27379 * string/memcmp.c (memcmp_bytes): Likewise.
27380 * locale/programs/locarchive.c (compute_hashval): Likewise.
27381 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27382 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27383 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27384 * nss/getent.c (print_rpc, print_protocols): Likewise.
27385 (print_passwd, print_group, print_aliases): Likewise.
27386 * nis/nss-nisplus.h (niserr2nss): Likewise.
27387 * nscd/connections.c (restart_p): Likewise.
27388 Change return type to bool.
27390 2013-02-05 Roland McGrath <roland@hack.frob.com>
27392 * Makeconfig (all-Depend-files): Add existing
27393 $(sorted-subdirs:=/Depend) files.
27394 (all-subdirs): Remove nss.
27395 * sysdeps/unix/inet/Subdirs: Add it here instead.
27396 * hesiod/Depend: New file.
27398 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27399 instead of calling alloca.
27401 * io/lseek.c (__lseek): Rename to __libc_lseek.
27402 Define __lseek as an alias.
27404 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27406 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27408 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27409 else clause and remove check for non-standard endianness.
27411 2013-02-04 David S. Miller <davem@davemloft.net>
27413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27415 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27418 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27419 (__ubp_memchr): Remove prototype.
27420 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27421 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27422 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27423 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27424 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27426 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27427 (__ubp_memchr): Likewise.
27428 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27429 (__ubp_memchr): Likewise.
27430 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27431 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27432 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27433 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27435 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27436 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27437 (__getcwd): Do not use CHECK_STRING.
27438 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27440 (__real_chown): Do not use CHECK_STRING.
27441 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27443 (fchownat): Do not use CHECK_STRING.
27444 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27446 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27448 (__lchown): Do not use CHECK_STRING.
27449 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27450 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27451 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27452 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27454 include <bp-checks.h>.
27455 (truncate64): Do not use CHECK_STRING.
27456 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27458 (__real_chown): Do not use CHECK_STRING.
27459 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27461 (__lchown): Do not use CHECK_STRING.
27462 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27464 (__chown): Do not use CHECK_STRING.
27465 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27467 (truncate64): Do not use CHECK_STRING.
27468 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27470 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27471 (__xmknod): Do not use CHECK_STRING.
27472 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27474 (__xmknodat): Do not use CHECK_STRING.
27475 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27476 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27478 2013-02-04 Andreas Schwab <schwab@suse.de>
27481 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27482 * include/netdb.h: Likewise for h_errno.
27483 * elf/tst-stackguard1.c: Include <tls.h>.
27485 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27487 * elf/link.h (struct link_map): Extend the l_addr comment.
27488 * include/link.h (struct link_map): Likewise.
27490 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27493 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27494 (BOUNDED_1): Remove macro.
27495 * debug/backtrace.c: Don't include <bp-checks.h>.
27496 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27497 (__backtrace): Likewise.
27498 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27500 (__backtrace): Don't use BOUNDED_1.
27501 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27503 (__backtrace): Don't use BOUNDED_1.
27504 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27505 (__backtrace): Don't use BOUNDED_1.
27506 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27507 (shmat): Don't use BOUNDED_N.
27509 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27512 * sysdeps/generic/bp-start.h: Remove file.
27513 * csu/libc-start.c: Don't include <bp-start.h>.
27514 (LIBC_START_MAIN): Set up __environ directly instead of using
27515 INIT_ARGV_and_ENVIRON.
27516 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27520 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27522 (CHECK_FCNTL): Likewise.
27523 (CHECK_N_PAGES): Likewise.
27526 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27528 (CHECK_SIGSET_NULL_OK): Likewise.
27529 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27531 (sigpending): Don't use CHECK_SIGSET.
27532 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27534 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27535 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27537 (do_sigsuspend): Don't use CHECK_SIGSET.
27538 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27540 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27541 (do_sigwait): Don't use CHECK_SIGSET.
27542 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27544 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27545 include <bp-checks.h>.
27546 (sigpending): Don't use CHECK_SIGSET.
27547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27548 include <bp-checks.h>.
27549 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27550 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27552 (sigpending): Don't use CHECK_SIGSET.
27553 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27555 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27558 * sysdeps/generic/bp-semctl.h: Remove file.
27559 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27560 <bp-checks.h> and <bp-semctl.h>.
27561 (__old_semctl): Don't use CHECK_SEMCTL.
27562 (__new_semctl): Likewise.
27563 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27565 (__old_semctl): Don't use CHECK_SEMCTL.
27566 (__new_semctl): Likewise.
27567 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27568 <bp-checks.h> and <bp-semctl.h>.
27569 (__old_semctl): Don't use CHECK_SEMCTL.
27570 (__new_semctl): Likewise.
27571 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27572 <bp-checks.h> and <bp-semctl.h>.
27573 (semctl): Don't use CHECK_SEMCTL.
27576 * Makerules (elide-bp-thunks): Remove variable.
27577 (elide-routines.oS): Don't use $(elide-bp-thunks).
27578 (elide-routines.os): Likewise.
27579 (elide-routines.o): Likewise.
27580 (elide-routines.op): Likewise.
27581 (elide-routines.og): Likewise.
27582 (objects): Don't use $(bp-thunks).
27583 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27585 (common-generated): Do not add s-proto-bp.d.
27586 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27589 Do not generate makefile rules for bounded-pointer thunks.
27590 * sysdeps/generic/bp-thunks.h: Remove file.
27591 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27592 * sysdeps/unix/s-proto-bp.S: Likewise.
27595 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27596 parts of result separately when argument is not close to line from
27597 -i to i and one part of argument is small.
27598 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27599 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27600 * math/libm-test.inc (cacos_test): Add more tests.
27601 (casin_test): Likewise.
27602 (casinh_test): Likewise.
27603 * sysdeps/i386/fpu/libm-test-ulps: Update.
27604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27606 2013-01-31 David S. Miller <davem@davemloft.net>
27608 * po/de.po: Update from translation team.
27610 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27612 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27614 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27616 * configure.in (_AC_PROG_CC_C89): New definition.
27617 * configure: Regenerate.
27619 * configure.in (AC_PROG_CPP): New definition.
27620 * configure: Regenerate.
27622 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27624 * debug/tst-backtrace.h: New file.
27625 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27626 (ret): Remove variable.
27628 (FAIL): Remove macro.
27629 (NO_INLINE): Likewise.
27630 (fn1): Use match function instead of strstr.
27631 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27632 (ret): Remove variable.
27634 (FAIL): Remove macro.
27635 (NO_INLINE): Likewise.
27636 (fn): Use match function instead of strstr.
27637 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27638 (ret): Remove variable.
27640 (FAIL): Remove macro.
27641 (NO_INLINE): Likewise.
27642 (handle_signal): Use match function instead of strstr.
27643 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27644 (ret): Remove variable.
27646 (FAIL): Remove macro.
27647 (NO_INLINE): Likewise.
27648 (handle_signal): Use match function instead of strstr.
27650 2013-01-23 Roland McGrath <roland@hack.frob.com>
27652 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27654 2013-01-23 David S. Miller <davem@davemloft.net>
27656 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27657 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27658 argument of CAS if possible.
27659 * sysdeps/sparc/sparc64/bits/atomic.h
27660 (__arch_compare_and_exchange_val_32_acq): Likewise.
27661 (__arch_compare_and_exchange_val_64_acq): Likewise.
27663 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27665 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27666 * sysdeps/posix/ulimit.c: ... this.
27667 Include <limits.h>.
27668 * sysdeps/unix/bsd/ulimit.c: Remove file.
27670 2013-01-23 Adam Conrad <adconrad@0c3.net>
27672 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27673 (LDFLAGS-tst-array5): Likewise.
27675 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27678 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27679 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27680 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27681 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27683 2013-01-21 David S. Miller <davem@davemloft.net>
27685 * sysdeps/sparc/backtrace.c: New file.
27686 * sysdeps/sparc/sparc32/backtrace.h: New file.
27687 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27688 * sysdeps/sparc/sparc64/backtrace.h: New file.
27689 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27690 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27693 2013-01-21 Andreas Schwab <schwab@suse.de>
27696 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27699 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27705 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27706 Mark Mitchell <mark@codesourcery.com>
27707 Tom de Vries <tom@codesourcery.com>
27708 Paul Pluzhnikov <ppluzhnikov@google.com>
27710 * debug/tst-backtrace2.c: New file.
27711 * debug/tst-backtrace3.c: Likewise.
27712 * debug/tst-backtrace4.c: Likewise.
27713 * debug/tst-backtrace5.c: Likewise.
27714 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27715 (CFLAGS-tst-backtrace3.c): Likewise.
27716 (CFLAGS-tst-backtrace4.c): Likewise.
27717 (CFLAGS-tst-backtrace5.c): Likewise.
27718 (LDFLAGS-tst-backtrace2): Likewise.
27719 (LDFLAGS-tst-backtrace3): Likewise.
27720 (LDFLAGS-tst-backtrace4): Likewise.
27721 (LDFLAGS-tst-backtrace5): Likewise.
27722 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27723 tst-backtrace4 and tst-backtrace5.
27725 2013-01-18 Anton Blanchard <anton@samba.org>
27726 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27728 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27729 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27730 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27731 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27733 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27734 "+r" and remove output regs list as redundant. Add explicit inline
27735 asm to specify register of return val to work around compiler codegen
27736 bug. Remove (int) cast on return value. Add return type parameter to
27737 use in macro so that this macro does not truncate return value for
27739 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27740 pass to INTERNAL_VSYSCALL_NCS.
27741 (INLINE_VSYSCALL): Add 'long int' as return type to
27742 INTERNAL_VSYSCALL_NCS macro invocation.
27743 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27744 INTERNAL_VSYSCALL_NCS macro invocation.
27745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27747 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27750 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27751 Fix application of SIMD FP exception mask.
27753 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27754 mp_no from a power of two.
27755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27756 __mpexp_twomm1. Use __pow_mp.
27758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27761 2013-01-17 David S. Miller <davem@davemloft.net>
27763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27765 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27768 * include/complex.h: Condition contents on [!_COMPLEX_H].
27769 (__kernel_casinhf): New prototype.
27770 (__kernel_casinh): Likewise.
27771 (__kernel_casinhl): Likewise.
27772 * math/Makefile (libm_calls): Add k_casinh.
27773 * math/k_casinh.c: New file.
27774 * math/k_casinhf.c: Likewise.
27775 * math/k_casinhl.c: Likewise.
27776 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27777 finite nonzero arguments.
27778 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27779 finite nonzero arguments.
27780 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27781 finite nonzero arguments.
27782 * math/s_casinh.c: Do not include <float.h>.
27783 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27784 * math/s_casinhf.c: Do not include <float.h>.
27785 (__casinhf): Move code for finite nonzero arguments to
27787 * math/s_casinhl.c: Do not include <float.h>.
27788 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27790 (__casinhl): Move code for finite nonzero arguments to
27792 * math/libm-test.inc (cacos_test): Add more tests.
27793 * sysdeps/i386/fpu/libm-test-ulps: Update.
27794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27796 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27798 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27799 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27800 [!HAVE_MREMAP]: Remove [defined linux] case.
27801 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27803 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27805 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27807 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27809 * elf/elf.h (R_386_SIZE32): New relocation.
27810 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27812 (elf_machine_rela): Likewise.
27813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27814 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27816 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27818 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27819 (FP_FAST_FMA): Do not define.
27820 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27821 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27822 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27823 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27824 !_SOFT_FLOAT]: Likewise.
27825 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27826 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27829 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27830 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27831 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27832 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27833 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27836 2013-01-16 Andreas Schwab <schwab@suse.de>
27839 * include/stdlib.h (__mktemp): Add declaration.
27840 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27841 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27843 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27845 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27847 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27848 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27849 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27851 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27852 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27854 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27856 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27857 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27858 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27860 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27861 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27863 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27865 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27867 2013-01-15 David S. Miller <davem@davemloft.net>
27869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27870 trunc{,f} to libm-sysdep_routes.
27871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27881 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27882 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27883 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27884 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27885 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27886 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27889 nearbyint{,f} to libm-sysdep_routes.
27890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27901 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27904 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27907 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27908 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27910 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27911 libc_feholdexcept and libc_fesetenv.
27913 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27915 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27917 2013-01-14 David S. Miller <davem@davemloft.net>
27919 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27920 (SPARC_ASM_VIS2_IFUNC): Likewise.
27921 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27923 use of 'siam' instruction.
27924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27957 routines to libm-sysdep_routines.
27958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27961 fdim/fdimf to libm-sysdep_routines.
27962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27970 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27971 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27972 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27973 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27975 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27977 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27978 to optimize copies.
27980 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27985 local variable MPTWO.
27986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27989 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27991 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27994 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27996 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27998 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28000 * manual/pattern.texi (glob_t): Document gl_flags.
28001 (glob64_t): Likewise.
28003 2013-01-11 David S. Miller <davem@davemloft.net>
28005 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28006 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28007 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
28008 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28009 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28010 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28011 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28012 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28013 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28014 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28015 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28016 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28017 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28019 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28020 sparc V9 rather than using V8 code.
28021 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28022 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28024 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28026 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28029 2013-01-11 Roland McGrath <roland@hack.frob.com>
28031 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28032 not in the main loop.
28033 * configure: Regenerated.
28035 2013-01-11 Joseph Myers <joseph@codesourcery.com>
28037 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28038 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28040 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28041 [!__GLIBC_HAVE_LONG_LONG] case.
28042 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28043 condition to just #else.
28044 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28045 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28046 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28047 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28049 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28050 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28051 #elif condition to just #else.
28052 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28053 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28054 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28055 #elif condition to just #else.
28057 2013-01-11 Steve Ellcey <sellcey@mips.com>
28059 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28060 (EF_MIPS_ARCH_64): Fix value.
28061 (EF_MIPS_ARCH_32R2): New.
28062 (EF_MIPS_ARCH_64R2): New.
28064 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28066 * Makeconfig (+link-pie-before-libc): New.
28067 (+link-pie-after-libc): Likewise.
28068 (+link-pie-tests): Likewise.
28069 (+link-pie): Rewritten.
28070 (link-before-libc): Remove $(config-LDFLAGS).
28071 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28072 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28073 (config-LDFLAGS): Renamed to ...
28074 (rtld-LDFLAGS): This.
28075 (rtld-tests-LDFLAGS): New macro.
28076 (link-libc-rpath-link): Likewise.
28077 (link-libc-tests-rpath-link): Likewise.
28078 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28079 (link-libc): Prepand $(link-libc-rpath-link).
28080 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28081 (test-program-prefix): New macro.
28082 (test-via-rtld-prefix): Likewise.
28083 (test-program-cmd): Likewise.
28084 (host-test-program-cmd): Likewise.
28085 * Makefile ($(common-objpfx)testrun.sh): Replace
28086 $(run-program-prefix) with $(test-program-prefix).
28087 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28089 ($(common-objpfx)shlib.lds): Likewise.
28090 (build-module-helper): Likewise.
28091 ($(common-objpfx)format.lds): Likewise.
28092 * Rules (binaries-pie-tests): New.
28093 (binaries-pie-notests): Likewise.
28094 (binaries-pie): Rewritten.
28095 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28096 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28097 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28098 (make-test-out): Replace $(host-built-program-cmd) with
28099 $(host-test-program-cmd).
28100 * config.make.in (build-hardcoded-path-in-tests): New variable.
28101 * configure.in (--enable-hardcoded-path-in-tests): New configure
28103 (hardcoded_path_in_tests): New AC_SUBST.
28104 * configure: Regenerated.
28105 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28106 $(built-program-cmd) with $(test-program-cmd).
28107 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28108 (test_program_cmd): This.
28109 * elf/Makefile ($(objpfx)order.out): Run test with
28110 $(test-program-prefix).
28111 ($(objpfx)order2.out): Likewise.
28112 ($(objpfx)tst-initorder.out): Likewise.
28113 ($(objpfx)tst-initorder2.out): Likewise.
28114 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28115 $(test-program-cmd).
28116 ($(objpfx)tst-array1-static.out): Likewise.
28117 ($(objpfx)tst-array2.out): Likewise.
28118 ($(objpfx)tst-array3.out): Likewise.
28119 ($(objpfx)tst-array4.out): Likewise.
28120 ($(objpfx)tst-array5.out): Likewise.
28121 ($(objpfx)tst-array5-static.out): Likewise.
28122 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28123 $(test-program-cmd).
28124 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28125 $(run-program-prefix) with $(test-program-prefix).
28126 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28127 (test_program_prefix): This.
28128 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28129 $(run-program-prefix) with $(test-program-prefix).
28130 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28131 (test_program_prefix): This.
28132 * iconvdata/tst-tables.sh: Likewise.
28133 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28134 $(run-program-prefix) with $(test-program-prefix).
28135 ($(objpfx)tst-translit.out): Likewise.
28136 ($(objpfx)tst-gettext2.out): Likewise.
28137 ($(objpfx)tst-gettext4.out): Likewise.
28138 ($(objpfx)tst-gettext6.out): Likewise.
28139 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28140 (test_program_prefix): This.
28141 * intl/tst-gettext2.sh: Likewise.
28142 * intl/tst-gettext4.sh Likewise.
28143 * intl/tst-gettext6.sh: Likewise.
28144 * intl/tst-translit.sh: Likewise.
28145 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28146 with $(test-program-cmd).
28147 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28148 $(run-program-prefix) with $(test-program-prefix).
28149 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28150 (test_program_prefix): This.
28151 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28152 $(run-program-prefix) with $(test-program-prefix).
28153 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28154 (test_program_prefix): This.
28155 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28156 * posix/Makefile ($(objpfx)globtest.out): Replace
28157 $(run-via-rtld-prefix) and $(test-wrapper) with
28158 $(test-program-prefix) and $(test-via-rtld-prefix).
28159 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28160 $(test-program-prefix).
28161 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28162 $(host-test-program-cmd).
28163 (tst-spawn-ARGS): Likewise.
28164 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28165 $(test-program-prefix).
28166 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28167 (test_via_rtld_prefix): This.
28168 (test_wrapper): Renamed to ...
28169 (test_program_prefix): This.
28170 (run_program_prefix): Replaced by test_program_prefix.
28171 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28172 (test_program_prefix): This.
28173 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28174 with $(host-test-program-cmd).
28175 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28176 $(run-program-prefix) with $(test-program-prefix).
28177 ($(objpfx)tst-printf.out): Likewise.
28178 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28179 $(test-program-cmd).
28180 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28181 (test_program_prefix): This.
28182 * stdio-common/tst-unbputc.sh: Likewise.
28183 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28184 $(run-program-prefix) with $(test-program-prefix).
28185 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28186 (test_program_prefix): This.
28187 * string/Makefile ($(objpfx)tst-svc.out): Replace
28188 $(built-program-cmd) with $(test-program-cmd).
28190 2013-01-11 Andreas Jaeger <aj@suse.de>
28193 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28194 value. Sync with Linux 3.7.
28196 2013-01-10 David S. Miller <davem@davemloft.net>
28198 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28199 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28200 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28202 2013-01-10 Roland McGrath <roland@hack.frob.com>
28204 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28206 * configure: Regenerated.
28208 2013-01-10 David S. Miller <davem@davemloft.net>
28210 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28211 sparc V9 rather than using V8 code.
28212 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28213 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28215 2013-01-10 Roland McGrath <roland@hack.frob.com>
28217 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28218 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28219 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28220 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28221 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28222 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28223 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28224 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28225 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28226 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28227 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28228 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28229 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28230 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28231 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28232 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28233 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28234 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28235 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28236 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28237 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28238 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28239 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28240 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28241 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28242 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28243 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28245 2013-01-10 David S. Miller <davem@davemloft.net>
28247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28249 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28251 * posix/Makefile (tests-static): New variable.
28252 (tests): Add $(tests-static).
28253 (tst-exec-static-ARGS): New variable.
28254 (tst-spawn-static-ARGS): Likewise.
28255 * posix/tst-exec-static.c: New file.
28256 * posix/tst-spawn-static.c: Likewise.
28257 * posix/tst-exec.c: Support run directly.
28258 * posix/tst-spawn.c: Likewise.
28260 2013-01-10 Joseph Myers <joseph@codesourcery.com>
28262 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28264 * math/bits/mathcalls.h (llrint): Likewise.
28265 (llround): Likewise.
28266 * stdlib/stdlib.h (struct drand48_data): Likewise.
28267 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28268 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28269 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28271 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28273 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28274 (elf_greg_t): Likewise.
28275 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28276 (__jmp_buf): Likewise.
28277 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28279 (llrint): Likewise, for all definitions.
28280 (llrintl): Likewise.
28282 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28283 Remove [__GNUC__] condition.
28284 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28285 condition to just [__USE_ISOC99].
28286 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28288 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28291 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28292 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28294 (_POSIX_V6_ILP32_OFF32): Likewise.
28295 (_XBS5_ILP32_OFF32): Likewise.
28296 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28297 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28299 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28301 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28304 doubles __mpexp_twomm1. Adjust usage.
28305 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28308 2013-01-10 Andreas Schwab <schwab@suse.de>
28311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28312 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28314 2013-01-09 David S. Miller <davem@davemloft.net>
28317 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28318 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28319 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28320 (TCP_FASTOPEN): Define.
28321 (tcp_repair_opt): New structure.
28322 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28324 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28325 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28326 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28327 (tcp_cookie_transactions): New structure.
28329 2013-01-09 Anton Blanchard <anton@samba.org>
28331 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28332 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28333 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28334 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28336 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28338 * include/features.h (__USE_ANSI): Remove.
28340 2013-01-09 Roland McGrath <roland@hack.frob.com>
28342 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28344 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28346 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28348 * sysdeps/s390/fpu/libm-test-ulps: Update.
28350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28352 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28356 (denorm): Likewise.
28357 (__mp_dbl): Likewise.
28358 (__dbl_mp): Likewise.
28359 (add_magnitudes): Likewise.
28360 (sub_magnitudes): Likewise.
28366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28370 (denorm): Likewise.
28371 (__mp_dbl): Likewise.
28372 (__dbl_mp): Likewise.
28373 (add_magnitudes): Likewise.
28374 (sub_magnitudes): Likewise.
28380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28384 (denorm): Likewise.
28385 (__mp_dbl): Likewise.
28386 (__dbl_mp): Likewise.
28387 (add_magnitudes): Likewise.
28388 (sub_magnitudes): Likewise.
28395 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28397 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28398 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28399 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28400 2 && __USE_EXTERN_INLINES]: Likewise.
28402 2013-01-08 Andreas Jaeger <aj@suse.de>
28405 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28407 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28408 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28410 2013-01-07 Anton Blanchard <anton@samba.org>
28412 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28413 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28414 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28415 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28416 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28417 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28418 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28419 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28421 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28422 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28423 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28424 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28426 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28427 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28428 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28429 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28430 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28431 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28432 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28433 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28434 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28435 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28436 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28437 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28438 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28439 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28441 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28442 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28444 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28445 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28446 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28447 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28448 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28450 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28451 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28452 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28454 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28456 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28458 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28459 (__MALLOC_PMT): Likewise.
28460 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28461 [__GNUC__], only on [_LIBC].
28462 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28463 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28464 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28465 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28466 forward declaration.
28467 (realloc_hook_ini): Likewise.
28468 (memalign_hook_ini): Likewise.
28469 (__libc_memalign): Do not use __MALLOC_PMT in variable
28471 (__libc_valloc): Likewise.
28472 (__libc_pvalloc): Likewise.
28473 (__libc_calloc): Likewise.
28474 (__posix_memalign): Likewise.
28477 * math/s_casinh.c: Include <float.h>.
28478 (__casinh): Do not do computation with squaring and square root
28479 for large arguments.
28480 * math/s_casinhf.c: Include <float.h>.
28481 (__casinhf): Do not do computation with squaring and square root
28482 for large arguments.
28483 * math/s_casinhl.c: Include <float.h>.
28484 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28485 (__casinhl): Do not do computation with squaring and square root
28486 for large arguments.
28487 * math/libm-test.inc (casin_test): Add more tests.
28488 (casinh_test): Likewise.
28489 * sysdeps/i386/fpu/libm-test-ulps: Update.
28490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28492 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28494 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28495 (__x86_64_raw_data_cache_size): Likewise.
28496 (__x86_64_data_cache_size_half): Likewise.
28497 (__x86_64_raw_data_cache_size_half): Likewise.
28498 (__x86_64_shared_cache_size): Likewise.
28499 (__x86_64_raw_shared_cache_size): Likewise.
28500 (__x86_64_shared_cache_size_half): Likewise.
28501 (__x86_64_raw_shared_cache_size_half): Likewise.
28502 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28504 (__x86_data_cache_size): This.
28505 (__x86_64_raw_data_cache_size): Renamed to ...
28506 (__x86_raw_data_cache_size): This.
28507 (__x86_64_data_cache_size_half): Renamed to ...
28508 (__x86_data_cache_size_half): This.
28509 (__x86_64_raw_data_cache_size_half): Renamed to ...
28510 (__x86_raw_data_cache_size_half): This.
28511 (__x86_64_shared_cache_size): Renamed to ...
28512 (__x86_shared_cache_size): This.
28513 (__x86_64_raw_shared_cache_size): Renamed to ...
28514 (__x86_raw_shared_cache_size): This.
28515 (__x86_64_shared_cache_size_half): Renamed to ...
28516 (__x86_shared_cache_size_half): This.
28517 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28518 (__x86_raw_shared_cache_size_half): This.
28519 * sysdeps/x86_64/memcpy.S: Updated.
28520 * sysdeps/x86_64/memset.S: Likewise.
28521 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28523 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28525 2013-01-04 David S. Miller <davem@davemloft.net>
28527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28529 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28531 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28532 1 to avoid redefinition warning.
28533 (__USE_GNU): Don't define.
28534 (init_signaling_nan): Protoize.
28536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28538 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28540 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28542 (__cpymn): Likewise.
28543 (norm): Remove commented code.
28544 (denorm): Likewise.
28545 (__mp_dbl): Likewise.
28547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28548 (__cpymn): Likewise.
28549 (norm): Remove commented code.
28550 (denorm): Likewise.
28551 (__mp_dbl): Likewise.
28554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28555 mp_no value for 1.0 and 2.0.
28556 (norm): Use RADIXI instead of radixi.d.
28557 (denorm): Likewise.
28558 (__mul): Use 0.0 instead of zero.d.
28559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28560 mp_no value for 1.0 and 2.0.
28561 (norm): Use RADIXI instead of radixi.d.
28562 (denorm): Likewise.
28563 (__mul): Use 0.0 instead of zero.d.
28565 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28568 * math/s_casinh.c (__casinh): Reduce finite argument to first
28569 quadrant then set signs of results at the end.
28570 * math/s_casinhf.c (__casinhf): Likewise.
28571 * math/s_casinhl.c (__casinhl): Likewise.
28572 * math/libm-test.inc (casin_test): Add more tests.
28573 (casinh_test): Likewise.
28574 * sysdeps/i386/fpu/libm-test-ulps: Update.
28575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28577 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28579 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28581 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28583 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28585 (denorm): Likewise.
28586 (__mp_dbl): Likewise.
28589 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28590 and adjust the header comment.
28592 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28593 variable name from declaration.
28595 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28598 Initialize COMMON_CPUID_INDEX_7 element.
28599 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28600 (CPUID_RTM): Likewise.
28601 (HAS_RTM): Likewise.
28602 (COMMON_CPUID_INDEX_7): New enum.
28604 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28607 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28608 size is zero, record memory as freed.
28610 2013-01-03 Andreas Jaeger <aj@suse.de>
28612 * po/ia.po: Add new Interlingua translation.
28614 2012-01-03 Allan McRae <allan@archlinux.org>
28616 * locale/programs/localedef.c: Fix description of '--posix' flag.
28618 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28620 * NEWS: Update dates in second copyright notice.
28621 * README: Update copyright dates in example.
28622 * manual/libc.texinfo: Update copyright dates.
28623 * scripts/test-installation.pl: Update copyright date in --version
28626 * hurd/ctty-input.c: Fix copyright notice formatting.
28627 * hurd/ctty-output.c: Likewise.
28628 * hurd/dtable.c: Likewise.
28629 * hurd/hurd-raise.c: Likewise.
28630 * hurd/hurdprio.c: Likewise.
28631 * hurd/msgportdemux.c: Likewise.
28632 * misc/sys/file.h: Likewise.
28633 * misc/sys/ioctl.h: Likewise.
28634 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28635 * sysdeps/mach/hurd/chdir.c: Likewise.
28636 * sysdeps/mach/hurd/fchdir.c: Likewise.
28637 * sysdeps/mach/hurd/rename.c: Likewise.
28638 * sysdeps/mach/hurd/rmdir.c: Likewise.
28639 * sysdeps/mach/hurd/seekdir.c: Likewise.
28640 * sysdeps/mach/hurd/setsid.c: Likewise.
28641 * sysdeps/posix/wait3.c: Likewise.
28643 * All files with FSF copyright notices: Update copyright dates
28644 using scripts/update-copyrights.
28645 * intl/plural.c: Regenerated.
28646 * locale/programs/charmap-kw.h: Likewise.
28647 * locale/programs/locfile-kw.h: Likewise.
28649 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28651 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28654 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28655 calculation loop and add branch prediction.
28657 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28658 check access beyond bounds of m1np.
28660 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28662 (__inv): Remove local variable MPTWO to use the global
28664 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28665 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28667 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28668 MP3HALFS static const.
28670 2013-01-01 David S. Miller <davem@davemloft.net>
28672 * po/ca.po: Update from translation team.
28674 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28676 * scripts/update-copyrights: New file.
28677 * Makeconfig: Reformat copyright notice.
28678 * ctype/ctype.h: Likewise.
28679 * debug/swprintf_chk.c: Likewise.
28680 * elf/dl-cache.c: Likewise.
28681 * elf/dl-debug.c: Likewise.
28682 * elf/dl-object.c: Likewise.
28683 * grp/initgroups.c: Likewise.
28684 * hurd/Makefile: Likewise.
28685 * hurd/hurd/signal.h: Likewise.
28686 * hurd/hurdfault.c: Likewise.
28687 * hurd/hurdioctl.c: Likewise.
28688 * hurd/hurdlookup.c: Likewise.
28689 * hurd/intr-msg.c: Likewise.
28690 * iconv/gconv_open.c: Likewise.
28691 * libio/swprintf.c: Likewise.
28692 * locale/lc-ctype.c: Likewise.
28693 * locale/nl_langinfo.c: Likewise.
28694 * mach/Machrules: Likewise.
28695 * mach/Makefile: Likewise.
28696 * malloc/obstack.h: Likewise.
28697 * manual/Makefile: Likewise.
28698 * manual/tsort.awk: Likewise.
28699 * misc/bits/stab.def: Likewise.
28700 * nis/nis_print_group_entry.c: Likewise.
28701 * nis/nis_table.c: Likewise.
28702 * nis/nss_compat/compat-pwd.c: Likewise.
28703 * nis/nss_compat/compat-spwd.c: Likewise.
28704 * po/Makefile: Likewise.
28705 * posix/fnmatch.c: Likewise.
28706 * posix/regex.h: Likewise.
28707 * resolv/Makefile: Likewise.
28708 * resolv/nss_dns/dns-network.c: Likewise.
28709 * resolv/res_hconf.c: Likewise.
28710 * scripts/gen-sorted.awk: Likewise.
28711 * soft-fp/soft-fp.h: Likewise.
28712 * stdio-common/printf.h: Likewise.
28713 * stdlib/monetary.h: Likewise.
28714 * stdlib/random.c: Likewise.
28715 * stdlib/random_r.c: Likewise.
28716 * sysdeps/generic/Makefile: Likewise.
28717 * sysdeps/gnu/Makefile: Likewise.
28718 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28720 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28722 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28724 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28725 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28726 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28728 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28729 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28730 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28731 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28732 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28733 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28734 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28735 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28736 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28738 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28739 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28740 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28746 * sysdeps/mach/hurd/errnos.awk: Likewise.
28747 * sysdeps/mach/hurd/fork.c: Likewise.
28748 * sysdeps/mach/hurd/getcwd.c: Likewise.
28749 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28750 * sysdeps/mach/hurd/mmap.c: Likewise.
28751 * sysdeps/mach/hurd/utimes.c: Likewise.
28752 * sysdeps/mach/hurd/xmknod.c: Likewise.
28753 * sysdeps/posix/profil.c: Likewise.
28754 * sysdeps/posix/readdir_r.c: Likewise.
28755 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28756 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28757 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28758 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28760 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28761 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28762 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28764 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28765 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28766 * sysdeps/pthread/lio_listio.c: Likewise.
28767 * sysdeps/sparc/dl-procinfo.h: Likewise.
28768 * sysdeps/unix/i386/sysdep.S: Likewise.
28769 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28770 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28771 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28772 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28774 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28775 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28776 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28777 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28778 * sysdeps/wordsize-32/divdi3.c: Likewise.
28779 * time/sys/time.h: Likewise.
28780 * wcsmbs/Makefile: Likewise.
28782 2013-01-01 David S. Miller <davem@davemloft.net>
28784 * po/fr.po: Update from translation team.
28786 * catgets/gencat.c: Update copyright year.
28787 * csu/version.c: Likewise.
28788 * debug/catchsegv.sh: Likewise.
28789 * debug/pcprofiledump.c: Likewise.
28790 * debug/xtrace.sh: Likewise.
28791 * elf/ldconfig.c: Likewise.
28792 * elf/ldd.bash.in: Likewise.
28793 * elf/pldd.c: Likewise.
28794 * elf/sotruss.ksh: Likewise.
28795 * elf/sprof.c: Likewise.
28796 * iconv/iconv_prog.c: Likewise.
28797 * iconv/iconvconfig.c: Likewise.
28798 * locale/programs/locale.c: Likewise.
28799 * locale/programs/localedef.c: Likewise.
28800 * login/programs/pt_chown.c: Likewise.
28801 * malloc/memusage.sh: Likewise.
28802 * malloc/memusagestat.c: Likewise.
28803 * malloc/mtrace.pl: Likewise.
28804 * nscd/nscd.c: Likewise.
28805 * nss/getent.c: Likewise.
28806 * nss/makedb.c: Likewise.
28807 * posix/getconf.c: Likewise.
28809 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28811 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28814 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28816 * math/bits/mathcalls.h (modf): Use __nonnull.
28818 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28820 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28821 (split): Use macro CN instead of the bare value.
28822 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28825 instead of the bare value.
28826 (power1): Likewise.
28828 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28830 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28832 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28834 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28836 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28837 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28838 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28839 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28841 2012-12-28 Andreas Jaeger <aj@suse.de>
28843 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28844 values are from Linux 3.7.
28846 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28847 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28849 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28851 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28856 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28857 variables with preprocessor constants.
28858 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28859 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28862 2012-12-27 Bruno Haible <bruno@clisp.org>
28865 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28868 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28871 and use variable directly.
28872 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28874 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28876 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28877 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28879 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28881 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28882 include directive. Remove local variable MPONE.
28883 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28884 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28885 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28887 2012-12-25 David S. Miller <davem@davemloft.net>
28889 * version.h (RELEASE): Set to "development".
28890 (VERSION): Set to "2.17.90".
28891 * NEWS: Add 2.18 section.
28893 2012-12-21 David S. Miller <davem@davemloft.net>
28895 * po/hr.po: Update from translation team.
28897 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28899 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28901 2012-12-19 Steve Ellcey <sellcey@mips.com>
28903 * NEWS: Mention new memcpy for MIPS.
28905 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28907 * manual/contrib.texi (Contributors): Spelling correction.
28909 2012-12-15 David S. Miller <davem@davemloft.net>
28911 * po/ru.po: Update from translation team.
28913 2012-12-13 David S. Miller <davem@davemloft.net>
28915 * NEWS: Mention IFUNC testsuite enhancements.
28917 * po/pl.po: Update from translation team.
28918 * po/bg.po: Likewise.
28920 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28921 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28923 2012-12-11 David S. Miller <davem@davemloft.net>
28925 * po/sv.po: Update from translation team.
28927 * po/vi.po: Update from translation team.
28929 * po/cs.po: Update from translation team.
28931 * po/de.po: Update from translation team.
28932 * po/eo.po: Likewise.
28933 * po/nl.po: Likewise.
28935 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28938 * manual/argp.texi (Argp Helper Functions): Move node to follow
28939 Argp Parsing State.
28942 * manual/conf.texi (Limits on File System Capacity): Mention if
28943 terminating null is included in the max size.
28945 2012-12-10 Andreas Jaeger <aj@suse.de>
28947 * po/cs.po: Update from translation team.
28949 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28951 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28952 void pointer and cast to uintptr_t.
28953 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28955 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28956 * sysdeps/s390/s390-64/memset.S: Likewise.
28958 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28961 * menual/message.texi (Message Translation): Fix typos.
28962 (Helper programs for gettext): Likewise.
28964 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28967 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28970 2012-12-07 David S. Miller <davem@davemloft.net>
28972 * po/libc.pot: Update.
28974 2012-12-07 Richard Henderson <rth@redhat.com>
28977 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28978 normal/normal case to before the switch.
28979 (_FP_DIV): Likewise.
28981 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28982 Mike Frysinger <vapier@gentoo.org>
28984 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28985 check for __NR_fadvise64_64.
28987 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28989 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28990 0, not just to plain "0" as a statement.
28991 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28994 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28996 * NEWS: Use sourceware.org in Bugzilla URL.
28998 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29001 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29003 * stdio-common/tst-put-error.c (do_test): Add newline to the
29004 padded test to ensure flush.
29006 2012-12-05 Jeff Law <law@redhat.com>
29008 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29010 2012-12-05 Joseph Myers <joseph@codesourcery.com>
29012 * README: Don't refer to ports add-on as distributed separately.
29013 Mention AArch64 in list of systems supported in the ports add-on.
29015 * LICENSES: Add more non-FSF copyright and license notices.
29017 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29020 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29022 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29023 10000 as width of padded output.
29025 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29027 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29029 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29030 variable LX with __attribute__ ((unused)).
29031 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29033 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29035 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29036 with __attribute__ ((unused)).
29038 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
29040 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29042 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29044 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29045 (CFLAGS-nldbl-acos.c): New variable.
29046 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29047 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29048 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29049 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29050 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29051 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29052 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29053 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29054 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29055 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29056 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29057 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29058 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29059 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29060 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29061 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29062 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29063 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29064 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29065 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29066 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29067 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29068 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29069 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29070 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29071 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29072 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29073 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29074 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29075 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29076 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29077 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29078 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29079 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29080 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29081 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29082 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29083 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29084 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29085 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29086 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29087 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29088 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29089 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29090 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29091 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29092 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29093 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29094 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29095 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29096 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29097 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29098 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29099 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29100 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29101 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29102 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29103 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29104 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29105 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29106 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29107 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29108 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29109 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29110 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29111 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29112 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29113 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29114 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29115 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29116 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29117 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29118 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29119 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29120 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29121 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29122 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29123 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29124 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29125 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29126 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29127 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29128 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29129 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29130 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29131 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29132 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29133 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29134 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29135 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29136 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29137 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29138 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29139 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29140 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29141 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29142 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29145 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29148 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29149 whole low double instead of just low 47 bits when splitting values
29152 2012-12-03 Allan McRae <allan@archlinux.org>
29154 * manual/stdio.texi (Predefined Printf Handlers): Remove
29155 @hsep and @vsep usage.
29157 2012-12-03 Mike Frysinger <vapier@gentoo.org>
29159 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29160 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29162 2012-12-03 Jeff Law <law@redhat.com>
29164 * time/sys/time.h (settimeofday): Do not mark TV argument
29167 2012-12-01 Mike Frysinger <vapier@gentoo.org>
29169 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29170 when currently writing and seek to current position when not.
29171 * libio/Makefile (tests): Remove bug-fclose1.
29172 * libio/bug-fclose1.c: Delete.
29174 2012-12-01 Joseph Myers <joseph@codesourcery.com>
29176 * manual/arith.texi (feenableexcept): Fix typo.
29177 (fedisableexcept): Likewise.
29179 2012-11-30 Roland McGrath <roland@hack.frob.com>
29181 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29182 second, differently-typed declaration, rather than a cast.
29184 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29186 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29187 * include/rpc/svc.h: ... here.
29189 2012-11-30 Aurelien Jarno <aurel32@debian.org>
29192 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29193 depending n and resplen2 to catch cases where answer
29196 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29198 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29199 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29201 2012-11-29 Mike Frysinger <vapier@gentoo.org>
29203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29205 2012-11-29 Roland McGrath <roland@hack.frob.com>
29207 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29209 2012-11-28 Jeff Law <law@redhat.com>
29212 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29213 dataset_temporary. Track alloca usage into alloca_used.
29214 If dataset is large allocate and release it via malloc/free.
29216 2012-06-04 Florian Weimer <fweimer@redhat.com>
29219 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29221 2012-11-28 David S. Miller <davem@davemloft.net>
29223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29225 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29228 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29229 of pi/2 rounded to nearest to 64 bits.
29230 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29231 nearest to 64 bits.
29232 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29235 2012-11-28 Jeff Law <law@redhat.com>
29236 Martin Osvald <mosvald@redhat.com>
29239 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29240 * sunrpc/svc.c: Include time.h.
29241 (__svc_accept_failed): New function.
29242 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29243 any reason other than EINTR, call __svc_accept_failed.
29244 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29245 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29247 2012-11-28 Andreas Schwab <schwab@suse.de>
29249 * scripts/abilist.awk: Also handle indirect functions in .opd
29252 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29255 * sysdeps/x86/fpu/powl_helper.c: New file.
29256 * sysdeps/x86/fpu/Makefile: Likewise.
29257 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29259 (__ieee754_powl): Use __powl_helper for finite arguments except
29260 integer exponents below 8.
29261 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29263 (__ieee754_powl): Use __powl_helper for finite arguments except
29264 integer exponents below 8.
29265 * math/libm-test.inc (pow_test): Add more tests and enable some
29266 previously disabled tests.
29267 * sysdeps/i386/fpu/libm-test-ulps: Update.
29268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29270 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29271 Carlos O'Donell <carlos_odonell@mentor.com>
29273 * nss/makedb.c (is_prime): Assert that input is odd and greater
29274 than 4. Note that fact in a comment too.
29275 (next_prime): Add 4 to input.
29277 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29280 * libio/Makefile (tests): Add test case tst-fwrite-error.
29281 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29282 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29283 * libio/tst-fwrite-error.c: New test case.
29285 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29287 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29288 before casting to void *.
29289 * include/libc-internal.h (__pointer_type): New macro.
29290 (__integer_if_pointer_type_sub): Likewise.
29291 (__integer_if_pointer_type): Likewise.
29292 (cast_to_integer): Likewise.
29293 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29294 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29295 before casting to atomic64_t.
29296 (atomic_exchange_acq): Likewise.
29297 (__arch_exchange_and_add_body): Likewise.
29298 (__arch_add_body): Likewise.
29299 (atomic_add_negative): Likewise.
29300 (atomic_add_zero): Likewise.
29302 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29304 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29305 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29306 (add_fdes): Likewise.
29307 (linear_search_fdes): Likewise.
29308 (binary_search_unencoded_fdes): Likewise.
29310 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29312 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29314 2012-11-24 Adam Conrad <adconrad@0c3.net>
29316 * configure.in: Autodetect C++ header directories.
29317 * configure: Regenerated.
29319 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29321 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29323 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29327 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29329 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29330 LDBL_MANT_DIG == 106]: Disable some tests.
29331 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29333 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29337 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29338 input for small inputs. Return +/- pi/2 for large inputs.
29339 * math/libm-test.inc (atan_test): Add more tests.
29341 * sysdeps/generic/unwind-dw2-fde-glibc.c
29342 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29343 __attribute__ ((unused)).
29346 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29347 x * y if x and y are nonzero and z is zero.
29350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29351 nonzero exponents with absolute value below 0x1p-117 to +/-
29355 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29356 up arguments below 2**-450, not just those below 2**-500.
29357 * math/libm-test.inc (hypot_test): Add another test.
29360 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29361 Return a+b for ratio over 2**120, not 2**60.
29362 * math/libm-test.inc (hypot_test): Add another test.
29364 * math/libm-test.inc (clog_test): Use
29365 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29366 (clog10_test): Likewise.
29369 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29371 2012-11-22 Andreas Schwab <schwab@suse.de>
29373 * sysdeps/i386/fpu/libm-test-ulps: Update.
29375 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29377 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29378 printf output with newline.
29380 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29383 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29384 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29385 -z nodlopen, -z initfirst and -z execstack support.
29386 * configure: Regenerated.
29388 * elf/elf.h (DF_1_NODIRECT): New macro.
29389 (DF_1_IGNMULDEF): Likewise.
29390 (DF_1_NOKSYMS): Likewise.
29391 (DF_1_NOHDR): Likewise.
29392 (DF_1_EDITED): Likewise.
29393 (DF_1_NORELOC): Likewise.
29394 (DF_1_SYMINTPOSE): Likewise.
29395 (DF_1_GLOBAUDIT): Likewise.
29396 (DF_1_SINGLETON): Likewise.
29397 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29398 DT_1_SUPPORTED_MASK bits.
29399 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29401 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29403 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29405 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29407 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29410 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29411 (sendmmsg): Move declarations...
29412 * socket/sys/socket.h: ... here.
29413 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29414 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29416 * socket/recvmmsg.c: ... this new file.
29417 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29418 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29419 definition of __sendmmsg hidden.
29420 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29421 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29422 Move ENOSYS stub into and include it from...
29423 * socket/sendmmsg.c: ... this new file.
29424 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29425 (sysdep_routines): Move recvmmsg and sendmmsg...
29426 * socket/Makefile (routines): ... here.
29427 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29428 (GLIBC_PRIVATE): Add __sendmmsg.
29429 * include/sys/socket.h (__sendmmsg): Add declarations.
29430 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29433 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29435 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29436 variable I1 with __attribute__ ((unused)).
29437 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29439 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29441 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29442 DUMMY variables with __attribute__ ((unused)).
29444 * bits/byteswap.h: Include <bits/types.h>.
29445 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29447 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29449 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29450 string_t. Do not manually set errno.
29451 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29452 length with __strnlen. Make sure to both set errno and return it on
29455 2012-11-19 David S. Miller <davem@davemloft.net>
29457 With help from Joseph Myers.
29458 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29459 very large arguments properly.
29460 * math/libm-test.inc (atan_test): New tests.
29461 (atan2_test): New tests.
29462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29465 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29468 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29471 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29472 [POSIX] (EADDRNOTAVAIL): Likewise.
29473 [POSIX] (EAFNOSUPPORT): Likewise.
29474 [POSIX] (EALREADY): Likewise.
29475 [POSIX] (ECONNABORTED): Likewise.
29476 [POSIX] (ECONNREFUSED): Likewise.
29477 [POSIX] (ECONNRESET): Likewise.
29478 [POSIX] (EDESTADDRREQ): Likewise.
29479 [POSIX] (EDQUOT): Likewise.
29480 [POSIX] (EHOSTUNREACH): Likewise.
29481 [POSIX] (EIDRM): Likewise.
29482 [POSIX] (EISCONN): Likewise.
29483 [POSIX] (ELOOP): Likewise.
29484 [POSIX] (EMULTIHOP): Likewise.
29485 [POSIX] (ENETDOWN): Likewise.
29486 [POSIX] (ENETUNREACH): Likewise.
29487 [POSIX] (ENOBUFS): Likewise.
29488 [POSIX] (ENODATA): Likewise.
29489 [POSIX] (ENOLINK): Likewise.
29490 [POSIX] (ENOMSG): Likewise.
29491 [POSIX] (ENOPROTOOPT): Likewise.
29492 [POSIX] (ENOSR): Likewise.
29493 [POSIX] (ENOSTR): Likewise.
29494 [POSIX] (ENOTCONN): Likewise.
29495 [POSIX] (ENOTSOCK): Likewise.
29496 [POSIX] (EOPNOTSUPP): Likewise.
29497 [POSIX] (EOVERFLOW): Likewise.
29498 [POSIX] (EPROTO): Likewise.
29499 [POSIX] (EPROTONOSUPPORT): Likewise.
29500 [POSIX] (EPROTOTYPE): Likewise.
29501 [POSIX] (ESTALE): Likewise.
29502 [POSIX] (ETIME): Likewise.
29503 [POSIX] (ETXTBSY): Likewise.
29504 [POSIX] (EWOULDBLOCK): Likewise.
29505 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29506 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29507 [POSIX] (SEEK_CUR): Likewise.
29508 [POSIX] (SEEK_END): Likewise.
29509 [POSIX || UNIX98] (mode_t): Do not require.
29510 [POSIX] (off_t): Likewise.
29511 [POSIX] (pid_t): Likewise.
29512 [POSIX] (sys/stat.h): Do not allow header.
29513 [POSIX] (unistd.h): Likewise.
29514 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29515 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29516 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29517 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29519 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29520 sigevent): Specify elements.
29521 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29523 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29524 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29526 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29527 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29528 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29529 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29530 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29531 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29532 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29533 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29534 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29535 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29536 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29537 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29538 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29539 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29547 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29548 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29549 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29550 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29551 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29552 Specify lower bound on value.
29553 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29554 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29555 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29556 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29557 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29558 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29559 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29560 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29562 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29564 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29565 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29566 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29567 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29568 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29569 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29570 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29571 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29572 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29573 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29574 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29575 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29576 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29577 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29578 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29579 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29581 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29583 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29584 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29585 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29586 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29587 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29588 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29590 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29591 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29592 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29593 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29594 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29595 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29596 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29599 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29600 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29601 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29602 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29603 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29604 specify as optional.
29605 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29606 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29607 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29608 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29609 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29610 [XPG3] (NL_LANGMAX): Likewise.
29611 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29612 [POSIX || XPG3] (NL_NMAX): Likewise.
29613 [POSIX || XPG3] (NL_SETMAX): Likewise.
29614 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29615 [XPG3] (NZERO): Likewise.
29616 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29617 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29618 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29619 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29620 (REG_ERANGE): Expect.
29621 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29623 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29624 Use (void) in prototype.
29625 [POSIX] (*_t): Allow.
29626 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29627 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29628 (WRDE_BADVAL): Expect.
29630 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29632 [XPG3 || XPG4] (O_RSYNC): Likewise.
29633 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29635 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29636 [XPG3 || XPG4] (sigqueue): Likewise.
29637 [XPG3 || XPG4] (sigtimedwait): Likewise.
29638 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29639 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29640 [XPG3 || XPG4] (vsnprintf): Likewise.
29641 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29643 [XPG3 || XPG4] (blksize_t): Likewise.
29644 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29646 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29647 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29648 [XPG3 || XPG4] (struct itimerspec): Likewise.
29649 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29650 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29651 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29652 [XPG3 || XPG4] (clockid_t): Likewise.
29653 [XPG3 || XPG4] (timer_t): Likewise.
29654 [XPG3 || XPG4] (clock_getres): Likewise.
29655 [XPG3 || XPG4] (clock_gettime): Likewise.
29656 [XPG3 || XPG4] (clock_settime): Likewise.
29657 [XPG3 || XPG4] (nanosleep): Likewise.
29658 [XPG3 || XPG4] (timer_create): Likewise.
29659 [XPG3 || XPG4] (timer_delete): Likewise.
29660 [XPG3 || XPG4] (timer_gettime): Likewise.
29661 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29662 [XPG3 || XPG4] (timer_settime): Likewise.
29663 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29664 [XPG3 || XPG4] (getlogin_r): Likewise.
29665 [XPG3 || XPG4] (pread): Likewise.
29666 [XPG3 || XPG4] (pthread_atfork): Likewise.
29667 [XPG3 || XPG4] (pwrite): Likewise.
29670 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29673 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29675 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29676 finalizing MALLSTREAM.
29678 * sysdeps/mach/hurd/syncfs.c: New file.
29680 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29683 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29684 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29685 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29686 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29687 (_nss_dns_gethostbyname4_r): Likewise.
29688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29689 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29691 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29694 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29696 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29698 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29699 * elf/cache.c (print_entry): Print ",AArch64" for
29702 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29703 * elf/cache.c (print_entry): Print ",hard-float" for
29706 2012-11-18 David S. Miller <davem@davemloft.net>
29708 With help from Joseph Myers.
29709 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29711 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29713 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29714 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29716 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29717 * math/libm-test.inc (y0_test): New tests.
29718 (y1_test): New tests.
29719 * sysdeps/i386/fpu/libm-test-ulps: Update.
29720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29723 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29725 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29727 * configure: Regenerated.
29729 2012-11-17 David S. Miller <davem@davemloft.net>
29732 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29733 nonzero exponents with absolute value below 0x1p-128 to +/-
29736 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29738 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29740 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29742 * posix/getconf-speclist.c: New file.
29743 * posix/posix-envs.def: Likewise.
29744 * posix/confstr.c (START_ENV_GROUP): New macro.
29745 (END_ENV_GROUP): Likewise.
29746 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29747 (KNOWN_PRESENT_ENV_STRING): Likewise.
29748 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29749 (UNKNOWN_ENVIRONMENT): Likewise.
29750 (confstr): Include posix-envs.def instead of handling
29751 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29752 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29753 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29754 (END_ENV_GROUP): Likewise.
29755 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29756 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29757 (UNKNOWN_ENVIRONMENT): Likewise.
29758 (__sysconf): Include posix-envs.def instead of handling associated
29759 cases directly here.
29760 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29761 preprocessing getconf-speclist.c rather than running getconf or
29762 generating empty file.
29764 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29766 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29768 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29771 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29773 2012-11-16 David S. Miller <davem@davemloft.net>
29775 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29776 smaller than LDBL_EPSILON/2.0L, just return xm1.
29778 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29780 * elf/tst-array1.c (init): Set constructor priority to 1000.
29781 (fini): Set destructor priority to 1000.
29782 * elf/tst-array2dep.c: Likewise.
29784 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29787 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29788 (_IO_new_file_xsputn): Also return EOF if none of the input
29789 data was written when overflow failed.
29790 * libio/iopadn.c (_IO_padn): Likewise.
29791 * libio/iowpadn.c (_IO_wpadn): Likewise.
29792 * stdio-common/tst-put-error.c: Add copyright notice.
29793 (do_test): Add case for printing padded string.
29794 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29795 _IO_padn returned error.
29796 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29797 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29800 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29802 * libio/libioP.h: Add comment note that the references to C++
29803 bits are now obsolete.
29805 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29807 * math/libm-test.inc (check_complex): Use asprintf.
29809 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29811 * debug/pcprofiledump.c (print_version): Update copyright year.
29812 * malloc/memusagestat.c (print_version): Likewise.
29814 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29817 * elf/Makefile (tests): Add tst-audit8.
29818 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29819 ($(objpfx)tst-audit8.out): New target.
29820 (tst-audit8-ENV): New variable.
29821 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29822 audit if l_reloc_result is NULL.
29823 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29824 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29825 * elf/tst-audit8.c: New file.
29827 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29829 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29830 * misc/Makefile (CFLAGS-select.c): Define.
29831 * posix/Makefile (CFLAGS-pause.c): Define.
29833 2012-11-13 David S. Miller <davem@davemloft.net>
29835 * crypt/Makefile: Move test targets after toplevel Rules
29836 inclusion. Grab any necessary sysdep routines when linking.
29837 * crypt/md5.c (md5_process_block): Remove define, we will always
29838 name it __md5_process_block.
29839 (md5_finish_ctx): Update md5_process_block call.
29840 (md5_stream): Likewise.
29841 (md5_process_bytes): Likewise.
29842 (md5_process_block): Rename to __md5_process_block and move to ...
29843 * crypt/md5-block.c: ... here.
29844 * crypt/sha256.c (sha256_process_block): Move to ...
29845 * crypt/sha256-block.c: ... here.
29846 * crypt/sha512.c (sha512_process_block): Move to ...
29847 * crypt/sha512-block.c: ... here.
29848 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29850 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29851 * sysdeps/sparc/sparc64/multiarch/Makefile
29852 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29854 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29855 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29857 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29858 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29859 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29860 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29861 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29862 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29863 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29864 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29865 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29867 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29872 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29874 * timezone/tzselect.ksh: Update from tzcode git revision
29875 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29876 * timezone/zdump.c: Likewise.
29877 * timezone/zic.c: Likewise.
29878 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29879 in TZVERSION setting, not $(PKGVERSION).
29880 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29881 REPORT_BUGS_TO settings.
29884 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29887 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29889 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29890 detection to immediately after _FP_ROUND().
29891 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29894 2012-11-11 David S. Miller <davem@davemloft.net>
29896 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29898 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29899 __close rather than their public counterparts.
29901 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29903 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29905 [UNIX98] (sem_timedwait): Do not expect.
29906 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29907 [XPG4 || UNIX98] (sockatmark): Do not expect.
29908 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29909 (clock_getcpuclockid): Do not expect.
29910 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29911 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29913 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29914 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29915 [UNIX98] (vwscanf): Likewise.
29916 [UNIX98] (vswscanf): Likewise.
29918 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29920 * timezone/version.h: Remove file.
29921 * timezone/README: Do not refer to version.h.
29922 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29923 $(objpfx)version.h.
29924 ($(objpfx)zdump.o): Likewise.
29925 ($(objpfx)version.h): New target.
29927 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29929 * timezone/README: Don't mention modification to tzselect.ksh.
29930 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29931 work on unmodified tzselect.ksh. Substitute version numbers in
29934 * Makefile (format-me): Remove.
29935 (INSTALL): Adjust indentation. Use commands directly instead of
29936 using $(format-me).
29938 * aclocal.m4 (ACX_PKGVERSION): New macro.
29939 (ACX_BUGURL): Likewise.
29940 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29941 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29942 (REPORT_BUGS_TO): Likewise.
29943 * configure: Regenerated.
29944 * config.h.in (PKGVERSION): New macro.
29945 (REPORT_BUGS_TO): Likewise.
29946 * config.make.in (PKGVERSION): New variable.
29947 (PKGVERSION_TEXI): Likewise.
29948 (REPORT_BUGS_TO): Likewise.
29949 (REPORT_BUGS_TEXI): Likewise.
29950 * Makefile (format-me): Use -I$(common-objpfx)manual.
29951 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29952 ($(common-objpfx)manual/%): New target.
29953 (manual/%): Remove target.
29954 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29955 (print_version): Use PKGVERSION.
29956 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29957 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29958 and REPORT_BUGS_TO.
29959 ($(objpfx)xtrace): Likewise.
29960 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29961 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29962 (print_version): Use PKGVERSION.
29963 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29964 (do_version): Use PKGVERSION.
29965 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29967 (common-ldd-rewrite): Likewise.
29968 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29969 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29970 (print_version): Use PKGVERSION.
29971 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29972 * elf/pldd.c (argp_program_bug_address): Remove variable.
29973 (more_help): New function.
29974 (argp): Use more_help.
29975 (print_version): Use PKGVERSION.
29976 * elf/sln.c (main): Use PKGVERSION.
29977 (usage): Use REPORT_BUGS_TO.
29978 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29979 (top level): Use PKGVERSION.
29980 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29981 (print_version): Use PKGVERSION.
29982 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29983 (print_version): Use PKGVERSION.
29984 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29985 (print_version): Use PKGVERSION.
29986 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29987 (print_version): Use PKGVERSION.
29988 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29989 (print_version): Use PKGVERSION.
29990 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29991 (print_version): Use PKGVERSION.
29992 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29994 ($(objpfx)memusage): Likewise.
29995 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29996 (do_version): Use PKGVERSION.
29997 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29998 (print_version): Use PKGVERSION.
29999 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30000 ($PKGVERSION): New variable.
30001 ($REPORT_BUGS_TO): Likewise.
30002 (usage): Use $REPORT_BUGS_TO.
30003 (top level): Use $PKGVERSION.
30004 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30005 ($(objpfx)pkgvers.texi): New rule.
30006 ($(objpfx)stamp-pkgvers): Likewise.
30007 * manual/install.texi: Include pkgvers.texi.
30008 (--with-pkgversion): Document new configure option.
30009 (--with-bugurl): Likewise.
30010 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30011 than necessarily for this particular distribution. Use
30012 REPORT_BUGS_TO for where to report bugs.
30013 * INSTALL: Regenerated.
30014 * manual/libc.texinfo: Include pkgvers.texi.
30015 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30016 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30017 (print_version): Use PKGVERSION.
30018 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30019 (print_version): Use PKGVERSION.
30020 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30021 (print_version): Use PKGVERSION.
30022 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30023 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30025 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30026 (print_version): Use PKGVERSION.
30027 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30028 (print_version): Use PKGVERSION.
30029 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30032 * timezone/checktab.awk: Update from tzcode 2012i.
30033 * timezone/ialloc.c: Likewise.
30034 * timezone/private.h: Likewise.
30035 * timezone/scheck.c: Likewise.
30036 * timezone/tzfile.h: Likewise.
30037 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30038 (TZVERSION): Hardcode tzcode version number.
30039 * timezone/zdump.c: Update from tzcode 2012i.
30040 * timezone/zic.c: Likewise.
30041 * timezone/version.h: New file.
30042 * timezone/README: Describe version.h. Update upstream location.
30045 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30046 (mktemp): Enable declaration.
30047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30064 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30065 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30066 for copies of such integer values.
30067 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30068 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30070 2012-11-09 Andreas Jaeger <aj@suse.de>
30072 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30073 definitions and declarations that are provided by
30074 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30076 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30078 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30079 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30080 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30083 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30085 * elf/elf.h: Update comment before AArch64 relocations.
30087 2012-11-07 David S. Miller <davem@davemloft.net>
30089 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30090 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30091 (__start_context): Declare.
30092 (__makecontext_ret): Delete.
30093 (__makecontext): Hook up __start_context instead of
30095 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30096 (sysdep_routines): Add __start_context when in stdlib.
30098 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30100 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30101 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30102 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30104 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30105 (READELF): New variable. Use it instead of hardcoded "readelf".
30107 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30109 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30110 * sysdeps/x86/Makefile: Here.
30111 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30112 * sysdeps/x86/tst-xmmymm.sh: This.
30114 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30116 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30118 [UNIX98] (pthread_barrier_t): Do not expect.
30119 [UNIX98] (pthread_barrierattr_t): Likewise.
30120 [UNIX98] (pthread_spinlock_t): Likewise.
30121 [UNIX98] (pthread_barrier_destroy): Likewise.
30122 [UNIX98] (pthread_barrier_init): Likewise.
30123 [UNIX98] (pthread_barrier_wait): Likewise.
30124 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30125 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30126 [UNIX98] (pthread_barrierattr_init): Likewise.
30127 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30128 [UNIX98] (pthread_getcpuclockid): Likewise.
30129 [UNIX98] (pthread_mutex_timedlock): Likewise.
30130 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30131 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30132 [UNIX98] (pthread_sigmask): Likewise.
30133 [UNIX98] (pthread_spin_destroy): Likewise.
30134 [UNIX98] (pthread_spin_init): Likewise.
30135 [UNIX98] (pthread_spin_lock): Likewise.
30136 [UNIX98] (pthread_spin_trylock): Likewise.
30137 [UNIX98] (pthread_spin_unlock): Likewise.
30138 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30140 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30141 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30142 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30143 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30144 [XPG3 || XPG4] (pthread_key_t): Likewise.
30145 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30146 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30147 [XPG3 || XPG4] (pthread_once_t): Likewise.
30148 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30149 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30150 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30151 [XPG3 || XPG4] (pthread_t): Likewise.
30153 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30155 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30157 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30158 Change function return type to int.
30160 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30161 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30162 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30163 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30164 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30165 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30166 [!POSIX] (posix_madvise): Likewise.
30167 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30169 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30170 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30171 (mode_t): Likewise.
30172 (posix_mem_offset): Likewise.
30173 (posix_typed_mem_get_info): Likewise.
30174 (posix_typed_mem_open): Likewise.
30176 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30177 Change condition to [XOPEN2K8].
30179 * conform/conformtest.pl: Preprocess allow-header data with -x c
30180 instead of from stdin.
30181 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30182 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30183 [C99-based standards] (cerfc): Likewise.
30184 [C99-based standards] (cexp2): Likewise.
30185 [C99-based standards] (cexpm1): Likewise.
30186 [C99-based standards] (clog10): Likewise.
30187 [C99-based standards] (clog1p): Likewise.
30188 [C99-based standards] (clog2): Likewise.
30189 [C99-based standards] (clgamma): Likewise.
30190 [C99-based standards] (ctgamma): Likewise.
30191 [C99-based standards] (cerff): Likewise.
30192 [C99-based standards] (cerfcf): Likewise.
30193 [C99-based standards] (cexp2f): Likewise.
30194 [C99-based standards] (cexpm1f): Likewise.
30195 [C99-based standards] (clog10f): Likewise.
30196 [C99-based standards] (clog1pf): Likewise.
30197 [C99-based standards] (clog2f): Likewise.
30198 [C99-based standards] (clgammaf): Likewise.
30199 [C99-based standards] (ctgammaf): Likewise.
30200 [C99-based standards] (cerfl): Likewise.
30201 [C99-based standards] (cerfcl): Likewise.
30202 [C99-based standards] (cexp2l): Likewise.
30203 [C99-based standards] (cexpm1l): Likewise.
30204 [C99-based standards] (clog10l): Likewise.
30205 [C99-based standards] (clog1pl): Likewise.
30206 [C99-based standards] (clog2l): Likewise.
30207 [C99-based standards] (clgammal): Likewise.
30208 [C99-based standards] (ctgammal): Likewise.
30209 * conform/data/inttypes.h-data [C99-based standards]: Include
30210 stdint.h-data. Remove all expectations for stdint.h contents.
30211 [C99-based standards] (PRI*): Do not allow.
30212 [C99-based standards] (SCN*): Likewise.
30213 [C99-based standards] (*_t): Likewise.
30214 [C99-based-standards] (PRId8): Expect macro.
30215 [C99-based-standards] (PRIi8): Likewise.
30216 [C99-based-standards] (PRIo8): Likewise.
30217 [C99-based-standards] (PRIu8): Likewise.
30218 [C99-based-standards] (PRIx8): Likewise.
30219 [C99-based-standards] (PRIX8): Likewise.
30220 [C99-based-standards] (SCNd8): Likewise.
30221 [C99-based-standards] (SCNi8): Likewise.
30222 [C99-based-standards] (SCNo8): Likewise.
30223 [C99-based-standards] (SCNu8): Likewise.
30224 [C99-based-standards] (SCNx8): Likewise.
30225 [C99-based-standards] (PRIdLEAST8): Likewise.
30226 [C99-based-standards] (PRIiLEAST8): Likewise.
30227 [C99-based-standards] (PRIoLEAST8): Likewise.
30228 [C99-based-standards] (PRIuLEAST8): Likewise.
30229 [C99-based-standards] (PRIxLEAST8): Likewise.
30230 [C99-based-standards] (PRIXLEAST8): Likewise.
30231 [C99-based-standards] (SCNdLEAST8): Likewise.
30232 [C99-based-standards] (SCNiLEAST8): Likewise.
30233 [C99-based-standards] (SCNoLEAST8): Likewise.
30234 [C99-based-standards] (SCNuLEAST8): Likewise.
30235 [C99-based-standards] (SCNxLEAST8): Likewise.
30236 [C99-based-standards] (PRIdFAST8): Likewise.
30237 [C99-based-standards] (PRIiFAST8): Likewise.
30238 [C99-based-standards] (PRIoFAST8): Likewise.
30239 [C99-based-standards] (PRIuFAST8): Likewise.
30240 [C99-based-standards] (PRIxFAST8): Likewise.
30241 [C99-based-standards] (PRIXFAST8): Likewise.
30242 [C99-based-standards] (SCNdFAST8): Likewise.
30243 [C99-based-standards] (SCNiFAST8): Likewise.
30244 [C99-based-standards] (SCNoFAST8): Likewise.
30245 [C99-based-standards] (SCNuFAST8): Likewise.
30246 [C99-based-standards] (SCNxFAST8): Likewise.
30247 [C99-based-standards] (PRId16): Likewise.
30248 [C99-based-standards] (PRIi16): Likewise.
30249 [C99-based-standards] (PRIo16): Likewise.
30250 [C99-based-standards] (PRIu16): Likewise.
30251 [C99-based-standards] (PRIx16): Likewise.
30252 [C99-based-standards] (PRIX16): Likewise.
30253 [C99-based-standards] (SCNd16): Likewise.
30254 [C99-based-standards] (SCNi16): Likewise.
30255 [C99-based-standards] (SCNo16): Likewise.
30256 [C99-based-standards] (SCNu16): Likewise.
30257 [C99-based-standards] (SCNx16): Likewise.
30258 [C99-based-standards] (PRIdLEAST16): Likewise.
30259 [C99-based-standards] (PRIiLEAST16): Likewise.
30260 [C99-based-standards] (PRIoLEAST16): Likewise.
30261 [C99-based-standards] (PRIuLEAST16): Likewise.
30262 [C99-based-standards] (PRIxLEAST16): Likewise.
30263 [C99-based-standards] (PRIXLEAST16): Likewise.
30264 [C99-based-standards] (SCNdLEAST16): Likewise.
30265 [C99-based-standards] (SCNiLEAST16): Likewise.
30266 [C99-based-standards] (SCNoLEAST16): Likewise.
30267 [C99-based-standards] (SCNuLEAST16): Likewise.
30268 [C99-based-standards] (SCNxLEAST16): Likewise.
30269 [C99-based-standards] (PRIdFAST16): Likewise.
30270 [C99-based-standards] (PRIiFAST16): Likewise.
30271 [C99-based-standards] (PRIoFAST16): Likewise.
30272 [C99-based-standards] (PRIuFAST16): Likewise.
30273 [C99-based-standards] (PRIxFAST16): Likewise.
30274 [C99-based-standards] (PRIXFAST16): Likewise.
30275 [C99-based-standards] (SCNdFAST16): Likewise.
30276 [C99-based-standards] (SCNiFAST16): Likewise.
30277 [C99-based-standards] (SCNoFAST16): Likewise.
30278 [C99-based-standards] (SCNuFAST16): Likewise.
30279 [C99-based-standards] (SCNxFAST16): Likewise.
30280 [C99-based-standards] (PRId32): Likewise.
30281 [C99-based-standards] (PRIi32): Likewise.
30282 [C99-based-standards] (PRIo32): Likewise.
30283 [C99-based-standards] (PRIu32): Likewise.
30284 [C99-based-standards] (PRIx32): Likewise.
30285 [C99-based-standards] (PRIX32): Likewise.
30286 [C99-based-standards] (SCNd32): Likewise.
30287 [C99-based-standards] (SCNi32): Likewise.
30288 [C99-based-standards] (SCNo32): Likewise.
30289 [C99-based-standards] (SCNu32): Likewise.
30290 [C99-based-standards] (SCNx32): Likewise.
30291 [C99-based-standards] (PRIdLEAST32): Likewise.
30292 [C99-based-standards] (PRIiLEAST32): Likewise.
30293 [C99-based-standards] (PRIoLEAST32): Likewise.
30294 [C99-based-standards] (PRIuLEAST32): Likewise.
30295 [C99-based-standards] (PRIxLEAST32): Likewise.
30296 [C99-based-standards] (PRIXLEAST32): Likewise.
30297 [C99-based-standards] (SCNdLEAST32): Likewise.
30298 [C99-based-standards] (SCNiLEAST32): Likewise.
30299 [C99-based-standards] (SCNoLEAST32): Likewise.
30300 [C99-based-standards] (SCNuLEAST32): Likewise.
30301 [C99-based-standards] (SCNxLEAST32): Likewise.
30302 [C99-based-standards] (PRIdFAST32): Likewise.
30303 [C99-based-standards] (PRIiFAST32): Likewise.
30304 [C99-based-standards] (PRIoFAST32): Likewise.
30305 [C99-based-standards] (PRIuFAST32): Likewise.
30306 [C99-based-standards] (PRIxFAST32): Likewise.
30307 [C99-based-standards] (PRIXFAST32): Likewise.
30308 [C99-based-standards] (SCNdFAST32): Likewise.
30309 [C99-based-standards] (SCNiFAST32): Likewise.
30310 [C99-based-standards] (SCNoFAST32): Likewise.
30311 [C99-based-standards] (SCNuFAST32): Likewise.
30312 [C99-based-standards] (SCNxFAST32): Likewise.
30313 [C99-based-standards] (PRId64): Likewise.
30314 [C99-based-standards] (PRIi64): Likewise.
30315 [C99-based-standards] (PRIo64): Likewise.
30316 [C99-based-standards] (PRIu64): Likewise.
30317 [C99-based-standards] (PRIx64): Likewise.
30318 [C99-based-standards] (PRIX64): Likewise.
30319 [C99-based-standards] (SCNd64): Likewise.
30320 [C99-based-standards] (SCNi64): Likewise.
30321 [C99-based-standards] (SCNo64): Likewise.
30322 [C99-based-standards] (SCNu64): Likewise.
30323 [C99-based-standards] (SCNx64): Likewise.
30324 [C99-based-standards] (PRIdLEAST64): Likewise.
30325 [C99-based-standards] (PRIiLEAST64): Likewise.
30326 [C99-based-standards] (PRIoLEAST64): Likewise.
30327 [C99-based-standards] (PRIuLEAST64): Likewise.
30328 [C99-based-standards] (PRIxLEAST64): Likewise.
30329 [C99-based-standards] (PRIXLEAST64): Likewise.
30330 [C99-based-standards] (SCNdLEAST64): Likewise.
30331 [C99-based-standards] (SCNiLEAST64): Likewise.
30332 [C99-based-standards] (SCNoLEAST64): Likewise.
30333 [C99-based-standards] (SCNuLEAST64): Likewise.
30334 [C99-based-standards] (SCNxLEAST64): Likewise.
30335 [C99-based-standards] (PRIdFAST64): Likewise.
30336 [C99-based-standards] (PRIiFAST64): Likewise.
30337 [C99-based-standards] (PRIoFAST64): Likewise.
30338 [C99-based-standards] (PRIuFAST64): Likewise.
30339 [C99-based-standards] (PRIxFAST64): Likewise.
30340 [C99-based-standards] (PRIXFAST64): Likewise.
30341 [C99-based-standards] (SCNdFAST64): Likewise.
30342 [C99-based-standards] (SCNiFAST64): Likewise.
30343 [C99-based-standards] (SCNoFAST64): Likewise.
30344 [C99-based-standards] (SCNuFAST64): Likewise.
30345 [C99-based-standards] (SCNxFAST64): Likewise.
30346 [C99-based-standards] (PRIdMAX): Likewise.
30347 [C99-based-standards] (PRIiMAX): Likewise.
30348 [C99-based-standards] (PRIoMAX): Likewise.
30349 [C99-based-standards] (PRIuMAX): Likewise.
30350 [C99-based-standards] (PRIxMAX): Likewise.
30351 [C99-based-standards] (PRIXMAX): Likewise.
30352 [C99-based-standards] (SCNdMAX): Likewise.
30353 [C99-based-standards] (SCNiMAX): Likewise.
30354 [C99-based-standards] (SCNoMAX): Likewise.
30355 [C99-based-standards] (SCNuMAX): Likewise.
30356 [C99-based-standards] (SCNxMAX): Likewise.
30357 [C99-based-standards] (PRIdPTR): Likewise.
30358 [C99-based-standards] (PRIiPTR): Likewise.
30359 [C99-based-standards] (PRIoPTR): Likewise.
30360 [C99-based-standards] (PRIuPTR): Likewise.
30361 [C99-based-standards] (PRIxPTR): Likewise.
30362 [C99-based-standards] (PRIXPTR): Likewise.
30363 [C99-based-standards] (SCNdPTR): Likewise.
30364 [C99-based-standards] (SCNiPTR): Likewise.
30365 [C99-based-standards] (SCNoPTR): Likewise.
30366 [C99-based-standards] (SCNuPTR): Likewise.
30367 [C99-based-standards] (SCNxPTR): Likewise.
30368 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30370 * conform/data/stdint.h-data: Update comments to clarify
30372 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30374 [C99-based standards] (INT8_MAX): Likewise.
30375 [C99-based standards] (INT16_MIN): Likewise.
30376 [C99-based standards] (INT16_MAX): Likewise.
30377 [C99-based standards] (INT32_MIN): Likewise.
30378 [C99-based standards] (INT32_MAX): Likewise.
30379 [C99-based standards] (INT64_MIN): Likewise.
30380 [C99-based standards] (INT64_MAX): Likewise.
30381 [C99-based standards] (UINT8_MAX): Likewise.
30382 [C99-based standards] (UINT16_MAX): Likewise.
30383 [C99-based standards] (UINT32_MAX): Likewise.
30384 [C99-based standards] (UINT64_MAX): Likewise.
30385 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30386 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30387 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30388 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30389 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30390 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30391 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30392 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30393 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30394 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30395 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30396 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30397 [C99-based standards] (INT_FAST8_MIN): Likewise.
30398 [C99-based standards] (INT_FAST8_MAX): Likewise.
30399 [C99-based standards] (INT_FAST16_MIN): Likewise.
30400 [C99-based standards] (INT_FAST16_MAX): Likewise.
30401 [C99-based standards] (INT_FAST32_MIN): Likewise.
30402 [C99-based standards] (INT_FAST32_MAX): Likewise.
30403 [C99-based standards] (INT_FAST64_MIN): Likewise.
30404 [C99-based standards] (INT_FAST64_MAX): Likewise.
30405 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30406 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30407 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30408 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30409 [C99-based standards] (INTPTR_MIN): Likewise.
30410 [C99-based standards] (INTPTR_MAX): Likewise.
30411 [C99-based standards] (UINTPTR_MAX): Likewise.
30412 [C99-based standards] (INTMAX_MIN): Likewise.
30413 [C99-based standards] (INTMAX_MAX): Likewise.
30414 [C99-based standards] (UINTMAX_MAX): Likewise.
30415 [C99-based standards] (PTRDIFF_MIN): Likewise.
30416 [C99-based standards] (PTRDIFF_MAX): Likewise.
30417 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30418 [C99-based standards] (SIZE_MAX): Likewise.
30419 [C99-based standards] (WCHAR_MAX): Likewise.
30420 [C99-based standards] (WINT_MAX): Likewise.
30421 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30422 constraint on value.
30423 [C99-based standards] (WCHAR_MIN): Likewise.
30424 [C99-based standards] (WINT_MIN): Likewise.
30425 [C99-based standards] (*_t): Allow.
30426 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30427 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30428 Include math.h-data and complex.h-data. Remove all expectations
30429 of math.h and complex.h contents.
30430 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30432 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30433 (struct tm): Expect tag.
30434 [C99-based-standards] (wcstof): Expect function.
30435 [C99-based-standards] (wcstold): Likewise.
30436 [C99-based-standards] (wcstoll): Likewise.
30437 [C99-based-standards] (wcstoull): Likewise.
30438 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30439 macro-int-constant. Specify type.
30440 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30441 constraint on value.
30442 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30444 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30446 [ISO C standards]: Do not allow headers.
30447 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30448 wcs[abcdefghijklmnopqrstuvwxyz]*.
30449 [ISO C standards] (*_t): Do not allow.
30450 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30452 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30453 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30455 [ISO C standards]: Do not allow headers.
30456 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30457 is[abcdefghijklmnopqrstuvwxyz]*.
30458 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30459 to[abcdefghijklmnopqrstuvwxyz]*.
30460 [ISO C standards] (*_t): Do not allow.
30461 * conform/data/stdalign.h-data: New file.
30462 * conform/data/stdbool.h-data: Likewise.
30463 * conform/data/stdnoreturn.h-data: Likewise.
30465 2012-11-07 Roland McGrath <roland@hack.frob.com>
30468 * manual/filesys.texi (Directory Entries): Typo fix.
30469 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30471 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30473 * elf/elf.h (EM_AARCH64): New macro.
30474 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30475 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30476 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30477 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30478 (R_AARCH64_TLSDESC): Likewise.
30479 (NT_ARM_TLS): Likewise.
30480 (NT_ARM_HW_BREAK): Likewise.
30481 (NT_ARM_HW_WATCH): Likewise.
30483 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30486 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30487 (__ieee754_powl): Saturate nonzero exponents with absolute value
30488 below 0x1p-79 to +/- 0x1p-79.
30489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30490 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30491 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30492 nonzero exponents with absolute value below 0x1p-32 to +/-
30494 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30495 (__ieee754_powl): Saturate nonzero exponents with absolute value
30496 below 0x1p-79 to +/- 0x1p-79.
30497 * math/libm-test.inc (pow_test): Add more tests.
30499 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30501 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30502 _dl_s390_cap_flags with kernel. Increase string length.
30503 (_dl_s390_platforms): Add z196 and zEC12.
30505 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30507 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30508 Change XOPEN21K to XOPEN2K.
30510 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30512 * string/memmove.c: Use memcpy when possible.
30514 2012-11-06 Andreas Jaeger <aj@suse.de>
30516 * po/eo.po: Update from translation team.
30518 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30522 exponent and small x and y exponents, scale x or y up. Increase
30523 by 2 the exponent used in scaling up.
30524 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30525 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30526 * math/libm-test.inc (fma_test): Add more tests.
30527 (fma_test_towardzero): Likewise.
30528 (fma_test_downward): Likewise.
30529 (fma_test_upward): Likewise.
30531 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30534 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30538 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30539 namespace for names of struct fields.
30540 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30542 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30543 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30545 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30548 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30550 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30552 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30556 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30559 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30563 definitely overflow as x * y not x * y + z.
30564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30565 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30566 * math/libm-test.inc (fma_test): Add more tests.
30567 (fma_test_towardzero): Likewise.
30568 (fma_test_downward): Likewise.
30569 (fma_test_upward): Likewise.
30571 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30575 * include/stub-tag.h: Remove file.
30576 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30578 * manual/maint.texi (Porting): Don't reference it.
30579 * Makerules ($(objpfx)stubs): Likewise.
30580 * dirent/closedir.c: Don't include <stub-tag.h>.
30581 * dirent/dirfd.c: Likewise.
30582 * dirent/fdopendir.c: Likewise.
30583 * dirent/getdents.c: Likewise.
30584 * dirent/getdents64.c: Likewise.
30585 * dirent/opendir.c: Likewise.
30586 * dirent/readdir.c: Likewise.
30587 * dirent/readdir64.c: Likewise.
30588 * dirent/readdir64_r.c: Likewise.
30589 * dirent/readdir_r.c: Likewise.
30590 * dirent/rewinddir.c: Likewise.
30591 * dirent/seekdir.c: Likewise.
30592 * dirent/telldir.c: Likewise.
30593 * gmon/profil.c: Likewise.
30594 * grp/setgroups.c: Likewise.
30595 * inet/if_index.c: Likewise.
30596 * io/access.c: Likewise.
30597 * io/chdir.c: Likewise.
30598 * io/chmod.c: Likewise.
30599 * io/chown.c: Likewise.
30600 * io/close.c: Likewise.
30601 * io/dup.c: Likewise.
30602 * io/dup2.c: Likewise.
30603 * io/dup3.c: Likewise.
30604 * io/euidaccess.c: Likewise.
30605 * io/faccessat.c: Likewise.
30606 * io/fchdir.c: Likewise.
30607 * io/fchmod.c: Likewise.
30608 * io/fchmodat.c: Likewise.
30609 * io/fchown.c: Likewise.
30610 * io/fchownat.c: Likewise.
30611 * io/fcntl.c: Likewise.
30612 * io/flock.c: Likewise.
30613 * io/fstatfs.c: Likewise.
30614 * io/fstatfs64.c: Likewise.
30615 * io/fstatvfs.c: Likewise.
30616 * io/fstatvfs64.c: Likewise.
30617 * io/futimens.c: Likewise.
30618 * io/fxstat.c: Likewise.
30619 * io/fxstat64.c: Likewise.
30620 * io/fxstatat.c: Likewise.
30621 * io/fxstatat64.c: Likewise.
30622 * io/getcwd.c: Likewise.
30623 * io/isatty.c: Likewise.
30624 * io/lchmod.c: Likewise.
30625 * io/lchown.c: Likewise.
30626 * io/link.c: Likewise.
30627 * io/linkat.c: Likewise.
30628 * io/lseek.c: Likewise.
30629 * io/lseek64.c: Likewise.
30630 * io/lxstat64.c: Likewise.
30631 * io/mkdir.c: Likewise.
30632 * io/mkdirat.c: Likewise.
30633 * io/mkfifo.c: Likewise.
30634 * io/mkfifoat.c: Likewise.
30635 * io/open.c: Likewise.
30636 * io/open64.c: Likewise.
30637 * io/openat.c: Likewise.
30638 * io/openat64.c: Likewise.
30639 * io/pipe.c: Likewise.
30640 * io/pipe2.c: Likewise.
30641 * io/poll.c: Likewise.
30642 * io/posix_fadvise.c: Likewise.
30643 * io/posix_fadvise64.c: Likewise.
30644 * io/posix_fallocate.c: Likewise.
30645 * io/posix_fallocate64.c: Likewise.
30646 * io/read.c: Likewise.
30647 * io/readlink.c: Likewise.
30648 * io/readlinkat.c: Likewise.
30649 * io/rmdir.c: Likewise.
30650 * io/sendfile.c: Likewise.
30651 * io/sendfile64.c: Likewise.
30652 * io/statfs.c: Likewise.
30653 * io/statfs64.c: Likewise.
30654 * io/statvfs.c: Likewise.
30655 * io/statvfs64.c: Likewise.
30656 * io/symlink.c: Likewise.
30657 * io/symlinkat.c: Likewise.
30658 * io/ttyname.c: Likewise.
30659 * io/ttyname_r.c: Likewise.
30660 * io/umask.c: Likewise.
30661 * io/unlink.c: Likewise.
30662 * io/unlinkat.c: Likewise.
30663 * io/utime.c: Likewise.
30664 * io/utimensat.c: Likewise.
30665 * io/write.c: Likewise.
30666 * io/xmknod.c: Likewise.
30667 * io/xmknodat.c: Likewise.
30668 * io/xstat.c: Likewise.
30669 * io/xstat64.c: Likewise.
30670 * login/getpt.c: Likewise.
30671 * login/grantpt.c: Likewise.
30672 * login/unlockpt.c: Likewise.
30673 * math/e_acoshl.c: Likewise.
30674 * math/e_acosl.c: Likewise.
30675 * math/e_asinl.c: Likewise.
30676 * math/e_atan2l.c: Likewise.
30677 * math/e_atanhl.c: Likewise.
30678 * math/e_coshl.c: Likewise.
30679 * math/e_expl.c: Likewise.
30680 * math/e_fmodl.c: Likewise.
30681 * math/e_gammal_r.c: Likewise.
30682 * math/e_hypotl.c: Likewise.
30683 * math/e_j0l.c: Likewise.
30684 * math/e_j1l.c: Likewise.
30685 * math/e_jnl.c: Likewise.
30686 * math/e_lgammal_r.c: Likewise.
30687 * math/e_log10l.c: Likewise.
30688 * math/e_log2l.c: Likewise.
30689 * math/e_logl.c: Likewise.
30690 * math/e_powl.c: Likewise.
30691 * math/e_rem_pio2l.c: Likewise.
30692 * math/e_sinhl.c: Likewise.
30693 * math/e_sqrtl.c: Likewise.
30694 * math/fclrexcpt.c: Likewise.
30695 * math/fedisblxcpt.c: Likewise.
30696 * math/feenablxcpt.c: Likewise.
30697 * math/fegetenv.c: Likewise.
30698 * math/fegetexcept.c: Likewise.
30699 * math/fegetround.c: Likewise.
30700 * math/feholdexcpt.c: Likewise.
30701 * math/fesetenv.c: Likewise.
30702 * math/fesetround.c: Likewise.
30703 * math/feupdateenv.c: Likewise.
30704 * math/fgetexcptflg.c: Likewise.
30705 * math/fraiseexcpt.c: Likewise.
30706 * math/fsetexcptflg.c: Likewise.
30707 * math/ftestexcept.c: Likewise.
30708 * math/k_cosl.c: Likewise.
30709 * math/k_rem_pio2l.c: Likewise.
30710 * math/k_sinl.c: Likewise.
30711 * math/k_tanl.c: Likewise.
30712 * math/s_asinhl.c: Likewise.
30713 * math/s_atanl.c: Likewise.
30714 * math/s_cbrtl.c: Likewise.
30715 * math/s_erfl.c: Likewise.
30716 * math/s_expm1l.c: Likewise.
30717 * math/s_log1pl.c: Likewise.
30718 * math/s_tanhl.c: Likewise.
30719 * misc/acct.c: Likewise.
30720 * misc/brk.c: Likewise.
30721 * misc/chflags.c: Likewise.
30722 * misc/chroot.c: Likewise.
30723 * misc/fchflags.c: Likewise.
30724 * misc/fgetxattr.c: Likewise.
30725 * misc/flistxattr.c: Likewise.
30726 * misc/fremovexattr.c: Likewise.
30727 * misc/fsetxattr.c: Likewise.
30728 * misc/fsync.c: Likewise.
30729 * misc/ftruncate.c: Likewise.
30730 * misc/futimes.c: Likewise.
30731 * misc/futimesat.c: Likewise.
30732 * misc/getdomain.c: Likewise.
30733 * misc/getdtsz.c: Likewise.
30734 * misc/gethostid.c: Likewise.
30735 * misc/gethostname.c: Likewise.
30736 * misc/getloadavg.c: Likewise.
30737 * misc/getpagesize.c: Likewise.
30738 * misc/getsysstats.c: Likewise.
30739 * misc/getxattr.c: Likewise.
30740 * misc/gtty.c: Likewise.
30741 * misc/ioctl.c: Likewise.
30742 * misc/lgetxattr.c: Likewise.
30743 * misc/listxattr.c: Likewise.
30744 * misc/llistxattr.c: Likewise.
30745 * misc/lremovexattr.c: Likewise.
30746 * misc/lsetxattr.c: Likewise.
30747 * misc/lutimes.c: Likewise.
30748 * misc/madvise.c: Likewise.
30749 * misc/mincore.c: Likewise.
30750 * misc/mlock.c: Likewise.
30751 * misc/mlockall.c: Likewise.
30752 * misc/mmap.c: Likewise.
30753 * misc/mprotect.c: Likewise.
30754 * misc/msync.c: Likewise.
30755 * misc/munlock.c: Likewise.
30756 * misc/munlockall.c: Likewise.
30757 * misc/munmap.c: Likewise.
30758 * misc/preadv.c: Likewise.
30759 * misc/preadv64.c: Likewise.
30760 * misc/ptrace.c: Likewise.
30761 * misc/pwritev.c: Likewise.
30762 * misc/pwritev64.c: Likewise.
30763 * misc/readv.c: Likewise.
30764 * misc/reboot.c: Likewise.
30765 * misc/remap_file_pages.c: Likewise.
30766 * misc/removexattr.c: Likewise.
30767 * misc/revoke.c: Likewise.
30768 * misc/select.c: Likewise.
30769 * misc/setdomain.c: Likewise.
30770 * misc/setegid.c: Likewise.
30771 * misc/seteuid.c: Likewise.
30772 * misc/sethostid.c: Likewise.
30773 * misc/sethostname.c: Likewise.
30774 * misc/setregid.c: Likewise.
30775 * misc/setreuid.c: Likewise.
30776 * misc/setxattr.c: Likewise.
30777 * misc/sstk.c: Likewise.
30778 * misc/stty.c: Likewise.
30779 * misc/swapoff.c: Likewise.
30780 * misc/swapon.c: Likewise.
30781 * misc/sync.c: Likewise.
30782 * misc/syncfs.c: Likewise.
30783 * misc/syscall.c: Likewise.
30784 * misc/truncate.c: Likewise.
30785 * misc/ualarm.c: Likewise.
30786 * misc/usleep.c: Likewise.
30787 * misc/ustat.c: Likewise.
30788 * misc/utimes.c: Likewise.
30789 * misc/vhangup.c: Likewise.
30790 * misc/writev.c: Likewise.
30791 * posix/_exit.c: Likewise.
30792 * posix/alarm.c: Likewise.
30793 * posix/execve.c: Likewise.
30794 * posix/fexecve.c: Likewise.
30795 * posix/fork.c: Likewise.
30796 * posix/fpathconf.c: Likewise.
30797 * posix/getaddrinfo.c: Likewise.
30798 * posix/getegid.c: Likewise.
30799 * posix/geteuid.c: Likewise.
30800 * posix/getgid.c: Likewise.
30801 * posix/getgroups.c: Likewise.
30802 * posix/getlogin.c: Likewise.
30803 * posix/getlogin_r.c: Likewise.
30804 * posix/getpgid.c: Likewise.
30805 * posix/getpid.c: Likewise.
30806 * posix/getppid.c: Likewise.
30807 * posix/getresgid.c: Likewise.
30808 * posix/getresuid.c: Likewise.
30809 * posix/getsid.c: Likewise.
30810 * posix/getuid.c: Likewise.
30811 * posix/glob64.c: Likewise.
30812 * posix/nanosleep.c: Likewise.
30813 * posix/pathconf.c: Likewise.
30814 * posix/pause.c: Likewise.
30815 * posix/posix_madvise.c: Likewise.
30816 * posix/pread.c: Likewise.
30817 * posix/pread64.c: Likewise.
30818 * posix/pwrite.c: Likewise.
30819 * posix/pwrite64.c: Likewise.
30820 * posix/sched_getaffinity.c: Likewise.
30821 * posix/sched_getp.c: Likewise.
30822 * posix/sched_gets.c: Likewise.
30823 * posix/sched_primax.c: Likewise.
30824 * posix/sched_primin.c: Likewise.
30825 * posix/sched_rr_gi.c: Likewise.
30826 * posix/sched_setaffinity.c: Likewise.
30827 * posix/sched_setp.c: Likewise.
30828 * posix/sched_sets.c: Likewise.
30829 * posix/sched_yield.c: Likewise.
30830 * posix/setgid.c: Likewise.
30831 * posix/setlogin.c: Likewise.
30832 * posix/setpgid.c: Likewise.
30833 * posix/setresgid.c: Likewise.
30834 * posix/setresuid.c: Likewise.
30835 * posix/setsid.c: Likewise.
30836 * posix/setuid.c: Likewise.
30837 * posix/sleep.c: Likewise.
30838 * posix/spawni.c: Likewise.
30839 * posix/sysconf.c: Likewise.
30840 * posix/times.c: Likewise.
30841 * posix/wait.c: Likewise.
30842 * posix/wait3.c: Likewise.
30843 * posix/wait4.c: Likewise.
30844 * posix/waitpid.c: Likewise.
30845 * resolv/gai_sigqueue.c: Likewise.
30846 * resource/getpriority.c: Likewise.
30847 * resource/getrlimit.c: Likewise.
30848 * resource/getrusage.c: Likewise.
30849 * resource/nice.c: Likewise.
30850 * resource/setpriority.c: Likewise.
30851 * resource/setrlimit.c: Likewise.
30852 * resource/ulimit.c: Likewise.
30853 * rt/aio_cancel.c: Likewise.
30854 * rt/aio_fsync.c: Likewise.
30855 * rt/aio_read.c: Likewise.
30856 * rt/aio_sigqueue.c: Likewise.
30857 * rt/aio_suspend.c: Likewise.
30858 * rt/aio_write.c: Likewise.
30859 * rt/clock_getres.c: Likewise.
30860 * rt/clock_gettime.c: Likewise.
30861 * rt/clock_nanosleep.c: Likewise.
30862 * rt/clock_settime.c: Likewise.
30863 * rt/lio_listio.c: Likewise.
30864 * rt/mq_close.c: Likewise.
30865 * rt/mq_getattr.c: Likewise.
30866 * rt/mq_notify.c: Likewise.
30867 * rt/mq_open.c: Likewise.
30868 * rt/mq_receive.c: Likewise.
30869 * rt/mq_send.c: Likewise.
30870 * rt/mq_setattr.c: Likewise.
30871 * rt/mq_timedreceive.c: Likewise.
30872 * rt/mq_timedsend.c: Likewise.
30873 * rt/mq_unlink.c: Likewise.
30874 * rt/shm_open.c: Likewise.
30875 * rt/shm_unlink.c: Likewise.
30876 * rt/timer_create.c: Likewise.
30877 * rt/timer_delete.c: Likewise.
30878 * rt/timer_getoverr.c: Likewise.
30879 * rt/timer_gettime.c: Likewise.
30880 * rt/timer_settime.c: Likewise.
30881 * setjmp/__longjmp.c: Likewise.
30882 * setjmp/setjmp.c: Likewise.
30883 * signal/kill.c: Likewise.
30884 * signal/killpg.c: Likewise.
30885 * signal/raise.c: Likewise.
30886 * signal/sigaction.c: Likewise.
30887 * signal/sigaltstack.c: Likewise.
30888 * signal/sigblock.c: Likewise.
30889 * signal/sigignore.c: Likewise.
30890 * signal/sigintr.c: Likewise.
30891 * signal/signal.c: Likewise.
30892 * signal/sigpause.c: Likewise.
30893 * signal/sigpending.c: Likewise.
30894 * signal/sigqueue.c: Likewise.
30895 * signal/sigreturn.c: Likewise.
30896 * signal/sigset.c: Likewise.
30897 * signal/sigsetmask.c: Likewise.
30898 * signal/sigstack.c: Likewise.
30899 * signal/sigsuspend.c: Likewise.
30900 * signal/sigtimedwait.c: Likewise.
30901 * signal/sigvec.c: Likewise.
30902 * signal/sigwait.c: Likewise.
30903 * signal/sigwaitinfo.c: Likewise.
30904 * signal/sysv_signal.c: Likewise.
30905 * socket/accept.c: Likewise.
30906 * socket/accept4.c: Likewise.
30907 * socket/bind.c: Likewise.
30908 * socket/connect.c: Likewise.
30909 * socket/getpeername.c: Likewise.
30910 * socket/getsockname.c: Likewise.
30911 * socket/getsockopt.c: Likewise.
30912 * socket/isfdtype.c: Likewise.
30913 * socket/listen.c: Likewise.
30914 * socket/recv.c: Likewise.
30915 * socket/recvfrom.c: Likewise.
30916 * socket/recvmsg.c: Likewise.
30917 * socket/send.c: Likewise.
30918 * socket/sendmsg.c: Likewise.
30919 * socket/sendto.c: Likewise.
30920 * socket/setsockopt.c: Likewise.
30921 * socket/shutdown.c: Likewise.
30922 * socket/sockatmark.c: Likewise.
30923 * socket/socket.c: Likewise.
30924 * socket/socketpair.c: Likewise.
30925 * stdio-common/ctermid.c: Likewise.
30926 * stdio-common/cuserid.c: Likewise.
30927 * stdio-common/remove.c: Likewise.
30928 * stdio-common/rename.c: Likewise.
30929 * stdio-common/renameat.c: Likewise.
30930 * stdio-common/tempname.c: Likewise.
30931 * stdlib/getcontext.c: Likewise.
30932 * stdlib/makecontext.c: Likewise.
30933 * stdlib/setcontext.c: Likewise.
30934 * stdlib/swapcontext.c: Likewise.
30935 * stdlib/system.c: Likewise.
30936 * streams/fattach.c: Likewise.
30937 * streams/fdetach.c: Likewise.
30938 * streams/getmsg.c: Likewise.
30939 * streams/getpmsg.c: Likewise.
30940 * streams/putmsg.c: Likewise.
30941 * streams/putpmsg.c: Likewise.
30942 * sysdeps/unix/bsd/getpt.c: Likewise.
30943 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30944 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30945 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30948 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30949 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30950 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30951 * sysvipc/msgctl.c: Likewise.
30952 * sysvipc/msgget.c: Likewise.
30953 * sysvipc/msgrcv.c: Likewise.
30954 * sysvipc/msgsnd.c: Likewise.
30955 * sysvipc/semctl.c: Likewise.
30956 * sysvipc/semget.c: Likewise.
30957 * sysvipc/semop.c: Likewise.
30958 * sysvipc/semtimedop.c: Likewise.
30959 * sysvipc/shmat.c: Likewise.
30960 * sysvipc/shmctl.c: Likewise.
30961 * sysvipc/shmdt.c: Likewise.
30962 * sysvipc/shmget.c: Likewise.
30963 * termios/tcdrain.c: Likewise.
30964 * termios/tcflow.c: Likewise.
30965 * termios/tcflush.c: Likewise.
30966 * termios/tcgetattr.c: Likewise.
30967 * termios/tcgetpgrp.c: Likewise.
30968 * termios/tcsendbrk.c: Likewise.
30969 * termios/tcsetattr.c: Likewise.
30970 * termios/tcsetpgrp.c: Likewise.
30971 * time/adjtime.c: Likewise.
30972 * time/clock.c: Likewise.
30973 * time/getitimer.c: Likewise.
30974 * time/gettimeofday.c: Likewise.
30975 * time/setitimer.c: Likewise.
30976 * time/settimeofday.c: Likewise.
30977 * time/stime.c: Likewise.
30978 * time/time.c: Likewise.
30980 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30982 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30985 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30987 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30989 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30993 FE_TONEAREST before applying Dekker multiplication and Knuth
30994 addition. Clear inexact exceptions and check for exact zero
30995 results afterwards.
30996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30997 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30999 * math/libm-test.inc (fma_test): Add more tests.
31000 (fma_test_towardzero): Likewise.
31001 (fma_test_downward): Likewise.
31002 (fma_test_upward): Likewise.
31003 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31005 (libc_fesetround): New macro.
31006 (libc_fesetroundf): Likewise.
31007 (libc_fesetroundl): Likewise.
31008 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31010 (libc_fesetround_387): Likewise.
31011 (libc_fesetroundf): New macro.
31012 (libc_fesetround): Likewise.
31013 (libc_fesetroundl): Likewise.
31014 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31016 (libc_fesetroundf): New macro.
31017 (libc_fesetround): Likewise.
31018 (libc_fesetroundl): Likewise.
31019 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31020 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31021 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31023 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31024 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31026 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31027 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31029 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31033 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31034 integer constant usable in #if and use that to give value to enum
31036 (FE_DIVBYZERO): Likewise.
31037 (FE_UNDERFLOW): Likewise.
31038 (FE_OVERFLOW): Likewise.
31039 (FE_INVALID): Likewise.
31040 (FE_INVALID_SNAN): Likewise.
31041 (FE_INVALID_ISI): Likewise.
31042 (FE_INVALID_IDI): Likewise.
31043 (FE_INVALID_ZDZ): Likewise.
31044 (FE_INVALID_IMZ): Likewise.
31045 (FE_INVALID_COMPARE): Likewise.
31046 (FE_INVALID_SOFTWARE): Likewise.
31047 (FE_INVALID_SQRT): Likewise.
31048 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31049 (FE_TONEAREST): Likewise.
31050 (FE_TOWARDZERO): Likewise.
31051 (FE_UPWARD): Likewise.
31052 (FE_DOWNWARD): Likewise.
31053 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31054 (FE_DIVBYZERO): Likewise.
31055 (FE_OVERFLOW): Likewise.
31056 (FE_UNDERFLOW): Likewise.
31057 (FE_INEXACT): Likewise.
31058 (FE_TONEAREST): Likewise.
31059 (FE_DOWNWARD): Likewise.
31060 (FE_UPWARD): Likewise.
31061 (FE_TOWARDZERO): Likewise.
31062 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31063 (FE_UNDERFLOW): Likewise.
31064 (FE_OVERFLOW): Likewise.
31065 (FE_DIVBYZERO): Likewise.
31066 (FE_INVALID): Likewise.
31067 (FE_TONEAREST): Likewise.
31068 (FE_TOWARDZERO): Likewise.
31069 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31070 (FE_OVERFLOW): Likewise.
31071 (FE_UNDERFLOW): Likewise.
31072 (FE_DIVBYZERO): Likewise.
31073 (FE_INEXACT): Likewise.
31074 (FE_TONEAREST): Likewise.
31075 (FE_TOWARDZERO): Likewise.
31076 (FE_UPWARD): Likewise.
31077 (FE_DOWNWARD): Likewise.
31078 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31079 (FE_DIVBYZERO): Likewise.
31080 (FE_OVERFLOW): Likewise.
31081 (FE_UNDERFLOW): Likewise.
31082 (FE_INEXACT): Likewise.
31083 (FE_TONEAREST): Likewise.
31084 (FE_DOWNWARD): Likewise.
31085 (FE_UPWARD): Likewise.
31086 (FE_TOWARDZERO): Likewise.
31088 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31090 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31092 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31094 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31095 commands. Quote $PWD.
31096 (blacklist_exports): Don't use remove_newlines. Replace "declare
31098 (remove_newlines): Remove.
31100 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31102 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31103 * stdlib/stdlib.h (atof): Moved to ...
31104 * include/bits/stdlib-float.h: Here. New file.
31105 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31106 * stdlib/bits/stdlib-float.h: New file.
31107 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31109 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31112 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31114 * conform/conformtest.pl (@headers): Add fenv.h.
31115 * conform/data/fenv.h-data: New file.
31116 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31117 include of <math/fenv.h>.
31119 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31120 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31121 && !UNIX98]. Enables tests for XOPEN2K8.
31122 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31123 POSIX2008]: Likewise.
31125 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31126 (struct rusage): Do not expect type or its members.
31129 * math/math.h (FP_NAN): Define macro to integer constant usable in
31130 #if and use that to give value to enum constant.
31131 (FP_INFINITE): Likewise.
31132 (FP_ZERO): Likewise.
31133 (FP_SUBNORMAL): Likewise.
31134 (FP_NORMAL): Likewise.
31136 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31138 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31139 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31142 2012-11-02 Roland McGrath <roland@hack.frob.com>
31144 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31145 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31146 autoconf-time if not.
31147 * configure.in: Remove AC_PREREQ.
31149 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31151 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31152 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31153 of the internal implementation.
31155 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31157 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31158 except include of <misc/sys/syslog.h>.
31160 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31163 function returns with a NULL context exit with zero.
31165 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31167 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31169 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31171 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31172 (run_program_cmd): This.
31173 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31174 (tst_langinfo): New variable. Use it.
31176 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31178 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31179 floating point opcodes.
31181 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31183 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31186 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31188 * sysdeps/mach/hurd/powerpc: Remove directory.
31189 * sysdeps/mach/powerpc: Likewise.
31191 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31193 * scripts/check-local-headers.sh: Ignore c++ headers.
31195 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31197 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31198 __libc_cleanup_region_start argument.
31200 2012-11-01 Joseph Myers <joseph@codesourcery.com>
31204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31205 x * y using scaling, not as x * y + z.
31206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31207 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31208 * math/libm-test.inc (fma_test): Add more tests.
31209 (fma_test_towardzero): Likewise.
31210 (fma_test_downward): Likewise.
31211 (fma_test_upward): Likewise.
31213 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31215 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31217 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31219 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31222 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31224 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31226 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31233 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31236 Fix the order of the list for glibc 2.17.
31237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31240 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31244 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31247 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31248 for low part of x being zero before using __atanl (y).
31249 * math/libm-test.inc (atan2_test): Add another test.
31251 * manual/install.texi (Configuring and compiling): Document
31252 general use of test-wrapper and test-wrapper-env.
31253 * INSTALL: Regenerated.
31255 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31256 (__fma): Do not extract and scale down low bits on after-rounding
31257 systems when result rounded to normal precision would have normal
31259 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31260 (__fmal): Do not extract and scale down low bits on after-rounding
31261 systems when result rounded to normal precision would have normal
31263 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31264 (__fmal): Do not extract and scale down low bits on after-rounding
31265 systems when result rounded to normal precision would have normal
31267 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31269 (fma_test): Add more tests.
31270 (fma_test_towardzero): Likewise.
31271 (fma_test_downward): Likewise.
31272 (fma_test_upward): Likewise.
31274 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31276 * sysdeps/i386/tininess.h: Renamed to ...
31277 * sysdeps/x86/tininess.h: This.
31278 * sysdeps/x86_64/tininess.h: Removed.
31280 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31282 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31283 input. Use $(build-program-cmd).
31284 ($(objpfx)tst-array1-static.out): Likewise.
31285 ($(objpfx)tst-array2.out): Likewise.
31286 ($(objpfx)tst-array3.out): Likewise.
31287 ($(objpfx)tst-array4.out): Likewise.
31288 ($(objpfx)tst-array5.out): Likewise.
31289 ($(objpfx)tst-array5-static.out): Likewise.
31291 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31293 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31296 * nss/nsswitch.h (nss_interface_function): Provide new
31297 macro for use with NSS functions.
31298 * grp/initgroups.c: Use new macro.
31299 * nss/getXXbyYY.c: Likewise.
31300 * nss/getXXbyYY_r.c: Likewise.
31301 * nss/getXXent.c: Likewise.
31302 * nss/getXXent_r.c: Likewise.
31303 * sysdeps/posix/getaddrinfo.c: Likewise.
31305 2012-10-30 Andreas Jaeger <aj@suse.de>
31307 * po/ru.po: Update Russion translation from translation project.
31309 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31314 result and shift together with sticky bit instead of replicating
31315 round-to-nearest rounding.
31316 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31317 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31318 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31319 missing underflow exceptions.
31320 (fma_test_towardzero): Add more tests.
31321 (fma_test_downward): Likewise.
31322 (fma_test_upward): Likewise.
31325 * sysdeps/generic/tininess.h: New file.
31326 * sysdeps/i386/tininess.h: Likewise.
31327 * sysdeps/sh/tininess.h: Likewise.
31328 * sysdeps/x86_64/tininess.h: Likewise.
31329 * stdlib/tst-strtod-underflow.c: Likewise.
31330 * stdlib/tst-tininess.c: Likewise.
31331 * stdlib/strtod_l.c: Include <tininess.h>.
31332 (round_and_return): Do not set errno for exact underflow cases.
31333 Force an underflow exception when setting errno for underflow.
31334 Determine underflow based on rounding to normal precision if
31335 TININESS_AFTER_ROUNDING.
31336 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31337 ERANGE for exact underflow cases.
31338 * stdlib/Makefile (tests): Add tst-tininess and
31339 tst-strtod-underflow.
31340 ($(objpfx)tst-tininess): Use $(link-libm).
31341 ($(objpfx)tst-strtod-underflow): Likewise.
31343 2012-10-30 Andreas Jaeger <aj@suse.de>
31346 * elf/Makefile (tests): Remove conditional for have-initfini-array
31347 since this is now always required and the variable does not exist
31349 (tests-static): Likewise.
31350 (modules-names): Likewise.
31352 * po/eo.po: Add Esperanto translation from translation project.
31354 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31355 merged with constructor/destructor.
31356 (init_array): Likewise.
31357 * elf/tst-array2dep.c (fini_array): Likewise.
31358 (init_array): Likewise.
31360 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31362 * manual/message.texi: Delete @cartouche tags.
31364 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31366 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31368 * sysdeps/mach/hurd/fsync.c: Likewise.
31370 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31371 [_POSIX_REALTIME_SIGNALS]: Change condition to
31372 [_POSIX_REALTIME_SIGNALS > 0].
31374 2012-10-27 Andreas Jaeger <aj@suse.de>
31376 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31377 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31379 [__WORDSIZE != 64]: Likewise.
31381 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31383 * iconvdata/tst-table.sh: Remove ${SHELL}.
31384 * iconvdata/tst-tables.sh: Likewise.
31386 2012-10-25 David S. Miller <davem@davemloft.net>
31388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31389 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31395 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31396 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31399 2012-10-25 Roland McGrath <roland@hack.frob.com>
31401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31402 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31405 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31406 Jim Blandy <jimb@codesourcery.com>
31408 * scripts/cross-test-ssh.sh: New file.
31409 * manual/install.texi (Configuring and compiling): Document use of
31411 * INSTALL: Regenerated.
31413 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31415 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31418 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31420 * Makeconfig (run-program-prefix): Fix comment.
31422 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31423 Jim Blandy <jimb@codesourcery.com>
31425 * Makeconfig (test-wrapper): New variable,
31426 (test-wrapper-env): Likewise.
31427 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31428 (run-built-tests): Define to yes.
31429 (run-program-prefix): Use $(test-wrapper).
31430 (built-program-cmd): Likewise.
31431 * Rules (make-test-out): Use $(test-wrapper-env) and
31432 $(host-built-program-cmd).
31433 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31434 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31436 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31437 $(test-wrapper-env) to tst-rtld-load-self.sh.
31438 ($(objpfx)order2.out): Use $(test-wrapper).
31439 ($(objpfx)tst-initorder.out): Likewise.
31440 ($(objpfx)tst-initorder2.out): Likewise.
31441 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31442 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31443 (test_wrapper_env): New variable. Use it to run ld.so.
31444 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31445 Use it to run ld.so.
31446 (test_wrapper_env): Likewise.
31447 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31448 $(test-wrapper) to run-iconv-test.sh.
31449 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31450 (ICONV): Use $test_wrapper.
31451 * posix/Makefile ($(objpfx)globtest.out): Pass
31452 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31453 globtest.sh, not $(run-program-prefix).
31454 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31455 (test_wrapper): Likewise.
31456 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31457 set together with run_via_rtld_prefix.
31458 (run_program_prefix): Define in terms of test_wrapper and
31459 run_via_rtld_prefix.
31461 2012-10-24 Roland McGrath <roland@hack.frob.com>
31463 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31464 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31468 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31469 Declare __clock_getres, __clock_gettime, __clock_settime,
31470 __clock_nanosleep, and __clock_getcpuclockid.
31471 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31472 Remove librt_hidden_def (clock_gettime).
31473 * sysdeps/unix/clock_gettime.c: Likewise.
31474 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31475 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31476 * rt/clock_getres.c: Define __clock_getres as an alias.
31477 * sysdeps/posix/clock_getres.c: Likewise.
31478 * rt/clock_settime.c: Define __clock_settime as an alias.
31479 * sysdeps/unix/clock_settime.c: Likewise.
31480 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31481 * sysdeps/unix/clock_nanosleep.c: Likewise.
31482 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31483 * rt/clock-compat.c: New file.
31484 * rt/Makefile (librt-routines): Add clock-compat and move
31485 $(clock-routines) to ...
31486 (routines): ... here, new variable.
31487 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31488 Don't add get_clockfreq here.
31489 * rt/Versions (libc: GLIBC_2.17): New version set.
31490 Add clock_* symbols here.
31491 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31492 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31493 (GLIBC_2.17): Add clock_* symbols.
31494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31496 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31505 * NEWS: Mention the move.
31507 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31508 Use __open, __read, __close rather than their public counterparts.
31509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31510 (__get_clockfreq_via_cpuinfo): Likewise.
31511 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31512 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31514 * config.h.in (HAVE_IFUNC): New #undef.
31515 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31517 * configure: Regenerated.
31519 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31521 * configure.in: Move READELF check to start of file.
31522 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31523 libc_cv_asm_gnu_indirect_function in the process.
31524 * configure: Regenerated.
31526 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31528 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31529 send the output to /dev/null.
31530 (libc_cv_cc_with_libunwind): Likewise.
31531 (libc_cv_as_noexecstack): Likewise.
31532 * configure: Regenerate.
31534 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31536 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31538 * posix/globtest.sh (TMPDIR): Do not set.
31539 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31540 (testout): Likewise.
31542 2012-10-24 Andreas Jaeger <aj@suse.de>
31544 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31545 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31546 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31547 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31548 posix_fadvise64, posix_fallocate64.
31550 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31551 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31552 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31554 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31556 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31559 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31560 <bits/fcntl-linux.h>.
31561 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31563 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31564 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31565 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31566 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31567 [__WORDSIZE != 64]: Likewise.
31569 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31571 * Makeconfig (run-built-tests): New variable.
31572 * Rules [$(cross-compiling) = yes]: Change condition to
31573 [$(run-built-tests) = no].
31574 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31575 to [$(run-built-tests) = yes].
31576 * elf/Makefile [$(cross-compiling) = no]: Likewise
31577 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31578 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31579 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31580 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31581 * io/Makefile [$(cross-compiling) = no]: Likewise.
31582 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31583 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31584 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31585 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31586 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31587 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31588 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31589 * string/Makefile [$(cross-compiling) = no]: Likewise.
31591 * posix/Makefile ($(objpfx)globtest.out): Pass
31592 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31593 $(rtld-installed-name).
31594 * posix/globtest.sh (elf_objpfx): Remove variable.
31595 (rtld_installed_name): Likewise.
31596 (library_path): Likewise.
31597 (run_program_prefix): New variable. Use for running globtest
31600 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31601 Joseph Myers <joseph@codesourcery.com>
31603 * Makeconfig (host-built-program-cmd): New variable.
31604 * elf/Makefile (tst-stackguard1-ARGS): Use
31605 $(host-built-program-cmd).
31606 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31607 (tst-spawn-ARGS): Likewise.
31608 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31610 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31611 Jim Blandy <jimb@codesourcery.com>
31613 * Makeconfig (run-via-rtld-prefix): New variable.
31614 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31615 (built-program-cmd): Likewise.
31617 2012-10-22 Andreas Jaeger <aj@suse.de>
31619 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31620 __O_RSYNC if it exists, otherwise to O_SYNC.
31622 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31623 Joseph Myers <joseph@codesourcery.com>
31625 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31627 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31629 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31632 2012-10-22 Andreas Jaeger <aj@suse.de>
31634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31639 bits/fcntl-linux.h.
31641 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31642 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31649 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31650 Joseph Myers <joseph@codesourcery.com>
31652 * config.make.in (NM): New variable.
31654 2012-10-21 Andreas Jaeger <aj@suse.de>
31656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31657 definitions and declarations that are provided by
31658 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31660 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31663 * elf/Makefile (tests-static): Add tst-leaks1-static.
31664 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31665 ($(objpfx)tst-leaks1-static): New rule.
31666 ($(objpfx)tst-leaks1-static-mem): Likewise.
31667 (tst-leaks1-static-ENV): New macro.
31668 * elf/dl-open.c (dl_open_worker): Check the main application
31669 only if SHARED is defined.
31670 * elf/tst-leaks1-static.c: New file.
31672 2012-10-20 Andreas Jaeger <aj@suse.de>
31674 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31675 generic values for Linux.
31676 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31677 and declarations that are provided by <bits/fcntl-linux.h> and
31678 include <bits/fcntl-linux.h>.
31679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31682 2012-10-20 Roland McGrath <roland@hack.frob.com>
31684 * io/fcntl.h: Move include of <bits/types.h> to the top and
31685 include it unconditionally.
31687 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31689 * wcsmbs/Makefile (tests-ifunc): New variable.
31690 (tests): Add $(tests-ifunc).
31691 * wcsmbs/test-wcschr-ifunc.c: New file.
31692 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31693 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31694 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31695 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31696 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31698 * string/Makefile (tests-ifunc): New variable.
31699 (tests): Add $(tests-ifunc).
31700 * string/test-memccpy.c (TEST_NAME): New macro.
31701 * string/test-memchr.c (TEST_NAME): Likewise.
31702 * string/test-memcmp.c (TEST_NAME): Likewise.
31703 * string/test-memcpy.c (TEST_NAME): Likewise.
31704 * string/test-memmem.c (TEST_NAME): Likewise.
31705 * string/test-memmove.c (TEST_NAME): Likewise.
31706 * string/test-memset.c (TEST_NAME): Likewise.
31707 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31708 * string/test-stpcpy.c (TEST_NAME): Likewise.
31709 * string/test-stpncpy.c (TEST_NAME): Likewise.
31710 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31711 * string/test-strcasestr.c (TEST_NAME): Likewise.
31712 * string/test-strcat.c (TEST_NAME): Likewise.
31713 * string/test-strchr.c (TEST_NAME): Likewise.
31714 * string/test-strcmp.c(TEST_NAME): Likewise.
31715 * string/test-strcpy.c (TEST_NAME): Likewise.
31716 * string/test-strcspn.c (TEST_NAME): Likewise.
31717 * string/test-strlen.c (TEST_NAME): Likewise.
31718 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31719 * string/test-strncmp.c (TEST_NAME): Likewise.
31720 * string/test-strncpy.c (TEST_NAME): Likewise.
31721 * string/test-strnlen.c (TEST_NAME): Likewise.
31722 * string/test-strpbrk.c (TEST_NAME): Likewise.
31723 * string/test-strrchr.c (TEST_NAME): Likewise.
31724 * string/test-strspn.c (TEST_NAME): Likewise.
31725 * string/test-strstr.c (TEST_NAME): Likewise.
31726 * string/test-bcopy-ifunc.c: New file.
31727 * string/test-bzero-ifunc.c: Likewise.
31728 * string/test-memccpy-ifunc.c: Likewise.
31729 * string/test-memchr-ifunc.c: Likewise.
31730 * string/test-memcmp-ifunc.c: Likewise.
31731 * string/test-memcpy-ifunc.c: Likewise.
31732 * string/test-memmem-ifunc.c: Likewise.
31733 * string/test-memmove-ifunc.c: Likewise.
31734 * string/test-mempcpy-ifunc.c: Likewise.
31735 * string/test-memset-ifunc.c: Likewise.
31736 * string/test-rawmemchr-ifunc.c: Likewise.
31737 * string/test-stpcpy-ifunc.c: Likewise.
31738 * string/test-stpncpy-ifunc.c: Likewise.
31739 * string/test-strcasecmp-ifunc.c: Likewise.
31740 * string/test-strcasestr-ifunc.c: Likewise.
31741 * string/test-strcat-ifunc.c: Likewise.
31742 * string/test-strchr-ifunc.c: Likewise.
31743 * string/test-strchrnul-ifunc.c: Likewise.
31744 * string/test-strcmp-ifunc.c: Likewise.
31745 * string/test-strcpy-ifunc.c: Likewise.
31746 * string/test-strcspn-ifunc.c: Likewise.
31747 * string/test-strlen-ifunc.c: Likewise.
31748 * string/test-strncasecmp-ifunc.c: Likewise.
31749 * string/test-strncat-ifunc.c: Likewise.
31750 * string/test-strncmp-ifunc.c: Likewise.
31751 * string/test-strncpy-ifunc.c: Likewise.
31752 * string/test-strnlen-ifunc.c: Likewise.
31753 * string/test-strpbrk-ifunc.c: Likewise.
31754 * string/test-strrchr-ifunc.c: Likewise.
31755 * string/test-strspn-ifunc.c: Likewise.
31756 * string/test-strstr-ifunc.c: Likewise.
31758 * debug/Makefile (tests-ifunc): New variable.
31759 (tests): Add $(tests-ifunc).
31760 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31761 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31762 * debug/test-stpcpy_chk-ifunc.c: New file.
31763 * debug/test-strcpy_chk-ifunc.c: Likewise.
31765 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31768 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31769 header is not read in.
31771 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31773 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31774 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31775 directly. Pass built executable to script as
31776 $(built-program-cmd).
31777 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31778 $testprogram without using LD_LIBRARY_PATH and $ldso.
31780 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31781 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31782 $(rtld-installed-name).
31783 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31784 (rtld_installed_name): Likewise.
31785 (library_path): Likewise.
31786 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31787 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31788 $(run-program-prefix) to tst-tables.sh.
31789 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31790 it to run tst-table-from and tst-table-to.
31791 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31792 Pass it to tst-table.sh.
31793 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31794 $(run-program-prefix) to tst-gettext.sh.
31795 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31797 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31799 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31800 to run tst-gettext.
31801 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31802 to run tst-gettext2.
31803 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31804 to run tst-translit.
31805 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31806 $(run-program-prefix) to tst-mtrace.sh.
31807 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31809 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31810 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31811 $(rtld-installed-name).
31812 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31813 (rtld_installed_name): Likewise.
31814 (run_program_prefix): New variable. Use it to run wordexp-test.
31816 * Makeconfig (ARCH): Remove all definitions.
31817 (machine): Likewise.
31818 [ARCH]: Remove conditional code.
31819 [!objdir]: Give error.
31820 [!objdir] (objpfx): Remove.
31821 [!objdir] (common-objpfx): Likewise.
31822 [!objdir] (common-objdir): Likewise.
31823 * configure.in (config_makefile): Remove. Hardcode Makefile in
31824 AC_CONFIG_FILES call.
31825 * configure: Regenerated.
31828 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31830 (testout): Likewise.
31832 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31833 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31834 $(rtld-installed-name).
31835 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31836 (rtld_installed_name): Likwise.
31837 (runit): Remove function.
31838 (run_getconf): New variable, Use it for running getconf binary.
31840 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31843 * string/test-memmem.c (check_result): New function.
31844 (do_one_test): Use it.
31845 (check1): New function.
31846 (test_main): Use it.
31848 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31850 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31852 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31854 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31855 (_G_LSEEK64): Likewise.
31856 (_G_MMAP64): Likewise.
31857 (_G_FSTAT64): Likewise.
31858 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31859 (_G_LSEEK64): Likewise.
31860 (_G_MMAP64): Likewise.
31861 (_G_FSTAT64): Likewise.
31862 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31863 unconditional. Call __mmap64 directly.
31864 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31865 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31866 __lseek64 directly.
31867 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31868 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31870 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31871 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31872 __lseek64 directly.
31873 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31874 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31875 __lseek64 directly.
31876 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31877 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31878 __lseek64 directly.
31879 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31880 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31881 __fxstat64 directly.
31882 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31883 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31885 (freopen64) [!_G_OPEN64]: Remove conditional code.
31886 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31888 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31889 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31891 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31892 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31894 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31895 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31897 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31898 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31900 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31901 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31903 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31904 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31906 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31908 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31911 * manual/memory.texi (Malloc Tunable Parameters): Add note
31912 about free list pointers overwriting some perturb bytes.
31913 Wording suggested by Roland McGrath.
31915 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31917 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31918 (lgamma_test): Likewise.
31919 (tgamma_test): Likewise.
31921 2012-10-16 Florian Weimer <fweimer@redhat.com>
31924 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31925 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31927 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31929 * NEWS: Mention BZ #14716.
31930 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31931 when removing AVAILABLE1_USES_J macro.
31933 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31935 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31936 (__bswap_64): __uint64_t for unsigned 64-bit int.
31938 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31940 * include/string.h (memmem): Declare libc hidden alias.
31941 * string/memmem.c (memmem): Define libc hidden alias.
31942 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31943 __read, __close instead of open, read, close.
31945 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31948 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31950 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31951 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31952 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31954 (__rawmemchr_sse2): Likewise.
31955 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31956 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31957 (__strchr_sse2): Likewise.
31958 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31959 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31960 (__strcasecmp_sse2): Likewise.
31961 (__strncasecmp_sse2): Likewise.
31962 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31963 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31964 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31965 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31966 (__strrchr_sse2): Likewise.
31967 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31969 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31970 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31971 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31972 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31973 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31974 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31975 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31976 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31977 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31978 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31979 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31980 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31981 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31982 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31983 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31984 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31985 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31986 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31987 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31988 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31989 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31990 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31991 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31992 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31993 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31994 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31995 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31996 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31997 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31998 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32000 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32002 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32003 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32004 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32005 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32007 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32009 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32010 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32011 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32012 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32014 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32015 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32016 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32017 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32018 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32019 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32020 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32021 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32022 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32023 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32024 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32025 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32026 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32027 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32028 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32029 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32030 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32031 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32032 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32033 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32034 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32035 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32036 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32037 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32038 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32039 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32040 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32041 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32042 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32043 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32044 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32045 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32046 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32047 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32048 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32049 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32050 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32051 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32052 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32053 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32054 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32056 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32057 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32058 * include/ifunc-impl-list.h: New file.
32059 * misc/ifunc-impl-list.c: Likewise.
32060 * misc/Makefile (routines): Add ifunc-impl-list.
32061 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32062 * string/test-string.h: Include <ifunc-impl-list.h>.
32063 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32064 TEST_NAME]: New variables.
32065 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32067 (test_init): Call __libc_ifunc_impl_list to initialize
32068 func_list if TEST_IFUNC and TEST_NAME are defined.
32070 * string/Makefile (strop-tests): Add bcopy and bzero.
32071 * string/test-bcopy.c: New file.
32072 * string/test-bzero.c: Likewise.
32073 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32075 * string/test-memset.c: Support bzero test if TEST_BZERO is
32077 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32079 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32081 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32084 2012-10-10 Joseph Myers <joseph@codesourcery.com>
32086 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32087 * configure: Regenerated.
32089 * Makeconfig (+link-static-before-libc): Don't include
32090 $(link-static-libc).
32092 * libio/libio.h (_IO_pos_t): Remove.
32094 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32096 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32099 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32101 * crypt/crypt-entry.c: Include fips-private.h.
32102 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32103 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32104 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32105 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32107 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32109 * crypt/crypt-private.h: Include stdbool.h.
32110 (_ufc_setup_salt_r): Return bool.
32111 * crypt/crypt-entry.c: Include errno.h.
32112 (__crypt_r): Return NULL with EINVAL for bad salt.
32113 * crypt/crypt_util.c (bad_for_salt): New.
32114 (_ufc_setup_salt_r): Check that salt is long enough and within
32115 the specified alphabet.
32116 * crypt/badsalttest.c: New file.
32117 * crypt/Makefile (tests): Add it.
32118 ($(objpfx)badsalttest): New.
32120 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32122 * NEWS: Add entry for BZ #14602.
32124 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32126 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32128 * math/libm-test.inc: Update comment listing what functions and
32130 (isgreater_test): New function.
32131 (isgreaterequal_test): Likewise.
32132 (isless_test): Likewise.
32133 (islessequal_test): Likewise.
32134 (islessgreater_test): Likewise.
32135 (isunordered_test): Likewise.
32136 (main): Call the new functions.
32138 2012-10-09 Roland McGrath <roland@hack.frob.com>
32140 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32141 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32142 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32143 * sysdeps/i386/configure: Regenerated.
32144 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32145 * sysdeps/mach/configure: Regenerated.
32146 * sysdeps/mach/hurd/configure: Regenerated.
32147 * sysdeps/powerpc/configure: Regenerated.
32148 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32149 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32150 * sysdeps/s390/s390-32/configure: Regenerated.
32151 * sysdeps/s390/s390-64/configure: Regenerated.
32152 * sysdeps/sh/configure: Regenerated.
32153 * sysdeps/sparc/configure: Regenerated.
32154 * sysdeps/unix/sysv/linux/configure: Regenerated.
32155 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32156 * sysdeps/x86_64/configure: Regenerated.
32158 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32159 defined. Don't check if MAP is NULL.
32161 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32163 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32164 (_G_stat64): Likewise.
32165 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32166 (_G_stat64): Likewise.
32167 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32168 instead of struct _G_stat64.
32169 * libio/fileops.c (mmap_remap_check): Likewise.
32170 (decide_maybe_mmap): Likewise.
32171 (_IO_new_file_seekoff): Likewise.
32172 (_IO_file_stat): Likewise.
32173 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32175 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32176 instead of struct _G_stat64.
32177 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32179 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32182 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32184 (CHECK_EOL): New macro.
32185 (two_way_short_needle): Check beginning of haystack for EOL. Use
32187 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32188 Replace with CHECK_EOL.
32189 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32190 Replace with CHECK_EOL.
32192 2012-10-08 Joseph Myers <joseph@codesourcery.com>
32194 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32196 * math/libm-test.inc: Update comment listing what functions and
32198 (finite_test): New function.
32199 (isinf_test): Likewise.
32200 (isnan_test): Likewise.
32201 (fpclassify_test): Test subnormal input.
32202 (isfinite_test): Likewise.
32203 (isnormal_test): Likewise.
32204 (main): Call the new functions.
32206 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32209 * Makerules (%.dynsym): Force C locale when running
32210 $(OBJDUMP) --dynamic-syms.
32212 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32214 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32217 2012-10-06 David S. Miller <davem@davemloft.net>
32219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32220 upper 32-bits of the length value in %o2 since we use branch-on-register
32221 tests which consider the entire 64-bit register.
32223 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32225 * string/test-strstr.c (check2): Add a test for page boundary.
32227 2012-10-05 David S. Miller <davem@davemloft.net>
32229 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32230 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32232 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32234 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32235 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32236 and bzero when HWCAP_SPARC_CRYPTO is present.
32238 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32241 * string/test-strstr.c (check2): New function.
32242 (test_main): Call check2.
32244 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32246 * string/bug-strcasestr1.c (do_test): Moved to ...
32247 * string/test-strcasestr.c (check1): Here. New function.
32248 (do_one_test): Break out result checking code into ...
32249 (check_result): This. New function.
32250 (do_one_test): Call check_result.
32251 (test_main): Call check1.
32252 * string/bug-strchr1.c (do_test): Moved to ...
32253 * string/test-strchr.c (check1): Here. New function.
32254 (do_one_test): Break out result checking code into ...
32255 (check_result): This. New function.
32256 (do_one_test): Call check_result.
32257 (test_main): Call check1.
32258 * string/bug-strstr1.c (main): Moved to ...
32259 * string/test-strstr.c (check1): Here. New function.
32260 (do_one_test): Break out result checking code into ...
32261 (check_result): This. New function.
32262 (do_one_test): Call check_result.
32263 (test_main): Call check1.
32264 * string/bug-strcasestr1.c: Removed.
32265 * string/bug-strchr1.c: Likewise.
32266 * string/bug-strstr1.c: Likewise.
32268 * elf/Makefile (dl-routines): Add hwcaps.
32269 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32270 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32271 (_dl_important_hwcaps): Moved to ...
32272 * elf/dl-hwcaps.c: Here. New file.
32273 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32276 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32277 if IS_IN_rtld isn't defined.
32279 * elf/dl-support.c (_dl_sysinfo_map): New.
32280 Include "get-dynamic-info.h" and "setup-vdso.h".
32281 (_dl_non_dynamic_init): Call setup_vdso.
32282 * elf/dynamic-link.h: Don't include <assert.h>.
32283 (elf_get_dynamic_info): Moved to ...
32284 * elf/get-dynamic-info.h: Here. New file.
32285 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32286 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32287 * elf/setup-vdso.h: Here. New file.
32288 * elf/rtld.c: Include "setup-vdso.h".
32289 (dl_main): Call setup_vdso.
32291 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32293 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32294 creal in comment listing functions tested. List finite, isinf,
32295 isnan, isless, islessequal, isgreater, isgreaterequal,
32296 islessgreater, isunordered, lgamma_r and pow10 as functions and
32297 macros not tested. Mention which functions not tested are aliases
32298 for other functions. Fix typo. Note that signs of NaNs are not
32301 * scripts/config.guess: Update from config.git.
32302 * scripts/config.sub: Likewise.
32304 2012-10-04 Roland McGrath <roland@hack.frob.com>
32306 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32307 * misc/madvise.c (madvise): Renamed to __madvise.
32308 Make madvise a weak alias.
32309 * include/sys/mman.h: Declare __madvise.
32310 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32311 * sysdeps/unix/syscalls.list
32312 (madvise): Make __madvise the strong name, and madvise a weak alias.
32313 * sysdeps/unix/sysv/linux/syscalls.list
32314 (madvise, mmap): Remove redundant entries.
32315 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32316 * malloc/malloc.c (mtrim): Likewise.
32317 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32319 2012-10-03 Roland McGrath <roland@hack.frob.com>
32321 * sysdeps/mach/hurd/dl-cache.c: File removed.
32322 * config.h.in (USE_LDCONFIG): New #undef.
32323 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32324 * configure: Regenerated.
32325 * elf/Makefile (dl-routines): Add dl-cache only under
32326 [$(use-ldconfig) = yes].
32327 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32328 cache on [USE_LDCONFIG].
32329 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32331 * elf/rtld.c (dl_main): Likewise.
32333 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32335 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32336 _SC_LEVEL4_CACHE_LINESIZE.
32338 2012-10-03 Roland McGrath <roland@hack.frob.com>
32340 * sysdeps/unix/bsd/confstr.h: File removed.
32342 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32344 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32347 2012-10-02 Roland McGrath <roland@hack.frob.com>
32349 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32350 Make 'mapoff' field ElfW(Off) rather than off_t.
32352 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32354 * nscd/Makefile: Remove nscd-cflags and all its users.
32355 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32356 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32359 * malloc.c (malloc_printerr): Clarify error message.
32361 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32365 Set bit_FMA_Usable if FMA is supported.
32366 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32368 (bit_FMA4_Usable): Updated.
32369 (index_FMA_Usable): New macro.
32370 (CPUID_FMA): Likewise
32371 (HAS_FMA): Defined with bit_FMA_Usable.
32373 2012-10-01 Roland McGrath <roland@hack.frob.com>
32375 * bits/types.h (__swblk_t): Type removed.
32376 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32377 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32379 (__SWBLK_T_TYPE): Likewise.
32380 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32381 (__SWBLK_T_TYPE): Likewise.
32382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32383 (__SWBLK_T_TYPE): Likewise.
32384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32385 (__SWBLK_T_TYPE): Likewise.
32387 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32388 Honza Horak <hhorak@redhat.com>
32390 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32391 (xdr_mapname): Use YPMAXMAP as maxsize.
32392 (xdr_peername): Use YPMAXPEER as maxsize.
32393 (xdr_keydat): Use YPAXRECORD as maxsize.
32394 (xdr_valdat): Use YPMAXRECORD as maxsize.
32396 2012-10-01 Roland McGrath <roland@hack.frob.com>
32398 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32400 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32401 * csu/init-first.c: ... here.
32402 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32403 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32404 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32405 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32406 * sysdeps/i386/init-first.c: File removed.
32407 * sysdeps/sh/init-first.c: File removed.
32409 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32413 if x * y might underflow to zero and z is zero.
32414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32416 * math/libm-test.inc (min_subnorm_value): New variable.
32417 (fma_test): Add more tests.
32418 (fma_test_towardzero): Likewise.
32419 (fma_test_downward): Likewise
32420 (fma_test_upward): Likewise.
32421 (initialize): Set min_subnorm_value.
32423 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32428 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32429 mode for addition resulting in exact zero.
32430 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32431 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32433 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32434 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32435 * math/libm-test.inc (fma_test): Add more tests.
32436 (fma_test_towardzero): New function.
32437 (fma_test_downward): Likewise.
32438 (fma_test_upward): Likewise.
32439 (main): Call the new functions.
32441 2012-09-28 David S. Miller <davem@davemloft.net>
32443 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32445 2012-09-28 Roland McGrath <roland@hack.frob.com>
32447 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32448 instead of SIGALRM.
32450 * sysdeps/gnu/_G_config.h: Moved to ...
32451 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32452 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32453 * sysdeps/generic/_G_config.h: ... here.
32455 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32457 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32459 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32460 Conditionalize target on [libnss_test1.so-version].
32462 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32464 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32465 (elfobjdir): Move out of conditionals.
32467 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32468 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32469 (__nss_lookup_function): Conditionalize label remove_from_tree on
32470 [!DO_STATIC_NSS || SHARED], matching its only use.
32472 2012-09-28 David S. Miller <davem@davemloft.net>
32474 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32475 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32477 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32479 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32481 when HWCAP_SPARC_CRYPTO is present.
32483 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32485 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32487 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32490 * stdio-common/vfprintf.c (process_string_arg): Revert
32493 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32495 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32497 * stdio-common/tst-sprintf.c: Include <locale.h>
32498 (main): Test sprintf's handling of incomplete multibyte
32501 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32503 * elf/dl-runtime.c (VERSYMIDX): Removed.
32504 * elf/dl-version.c (VERSYMIDX): Likewise.
32505 * elf/do-rel.h (VERSYMIDX): Likewise.
32506 (VALIDX): Likewise.
32507 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32508 * elf/rtld.c (VALIDX): Likewise.
32509 (ADDRIDX): Likewise.
32510 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32511 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32512 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32513 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32514 (VALIDX): Likewise.
32515 (ADDRIDX): Likewise.
32517 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32519 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32521 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32524 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32526 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32527 addresses are in the same scope as 192.0.2/24.
32528 * posix/gai.conf: Document new scope table defaults.
32530 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32533 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32534 for ftell. Compute offsets from write pointers instead.
32535 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32537 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32540 * libio/Makefile (tests): New test case tst-fseek.
32541 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32542 combination works in wide mode.
32543 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32544 state when the external buffer state changes.
32546 2012-09-27 David S. Miller <davem@davemloft.net>
32549 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32550 pass reloc->r_addend in as the 'high' argument to
32551 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32555 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32557 * rt/tst-aio2.c: Include <pthread.h>.
32558 * rt/tst-aio3.c: Likewise.
32560 2012-09-27 Steve Ellcey <sellcey@mips.com>
32562 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32564 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32566 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32567 contents on [SHARED].
32569 2012-09-26 Marek Polacek <polacek@redhat.com>
32573 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32574 for C++ and GCC <4.3 as well as for non GCC compilers.
32576 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32580 2012-09-25 Roland McGrath <roland@hack.frob.com>
32582 * Makefile.in (all, install): Declare with .PHONY.
32583 Reported by Michael Hope <michael.hope@linaro.org>.
32585 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32587 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32588 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32590 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32592 (sydep_routines): Add the new and the internal functions.
32593 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32594 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32596 (GLIBC_2.17): Add the new function.
32597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32598 (GLIBC_2.17): Likewise.
32599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32600 (GLIBC_2.17): Likewise.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32602 (GLIBC_2.17): Likewise.
32603 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32605 2012-09-25 Alan Modra <amodra@gmail.com>
32607 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32608 Add release barrier before setting once_control to say
32609 initialisation is done. Add hints on lwarx. Use macro in
32611 (clear_once_control): Add release barrier.
32613 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32616 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32618 * math/s_clog10.c (__clog10): Likewise.
32619 * math/s_clog10f.c (__clog10f): Likewise.
32620 * math/s_clog10l.c (__clog10l): Likewise.
32621 * math/s_clogf.c (__clogf): Likewise.
32622 * math/s_clogl.c (__clogl): Likewise.
32623 * math/Makefile (libm-calls): Add x2y2m1.
32624 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32625 (__x2y2m1): Likewise.
32626 (__x2y2m1l): Likewise.
32627 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32628 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32629 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32630 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32631 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32632 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32633 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32634 * sysdeps/i386/fpu/libm-test-ulps: Update.
32635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32638 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32639 int as type of variable DEPTH.
32640 (glob): Use size_t instead of int as type of variables NEWCOUNT
32643 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32645 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32646 Add s_sincosf-sse2.
32647 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32648 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32649 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32650 macros for using routine as __sincosf_ia32.
32651 Use macro for function declaration and weak_alias.
32652 * sysdeps/i386/fpu/libm-test-ulps: Update.
32654 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32657 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32658 subnormal argument.
32659 * math/s_cexpf.c (__cexpf): Likewise.
32660 * math/s_csinf.c (__csinf): Likewise.
32661 * math/s_csinhf.c (__csinhf): Likewise.
32662 * math/s_ctanf.c (__ctanf): Likewise.
32663 * math/s_ctanhf.c (__ctanhf): Likewise.
32664 * math/s_ccosh.c (__ccoshf): Likewise.
32665 * math/s_cexp.c (__cexpl): Likewise.
32666 * math/s_csin.c (__csin): Likewise.
32667 * math/s_csinh.c (__csinh): Likewise.
32668 * math/s_ctan.c (__ctan): Likewise.
32669 * math/s_ctanh.c (ctanh): Likewise.
32670 * math/s_ccoshl.c (__ccoshl): Likewise.
32671 * math/s_cexpl.c (__cexpl): Likewise.
32672 * math/s_csinl.c (__csinl): Likewise.
32673 * math/s_csinhl.c (__csinhl): Likewise.
32674 * math/s_ctanl.c (__ctanl): Likewise.
32675 * math/s_ctanhl.c (__ctanhl): Likewise.
32677 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32679 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32680 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32681 (_IO_off_t): Define to __off_t, not _G_off_t.
32682 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32683 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32684 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32685 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32686 type of __dummy and __dummy2 fields.
32687 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32688 (_G_ssize_t): Likewise.
32689 (_G_off_t): Likewise.
32690 (_G_pid_t): Likewise.
32691 (_G_uid_t): Likewise.
32692 (_G_wchar_t): Likewise.
32693 (_G_wint_t): Likewise.
32694 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32695 (_G_ssize_t): Likewise.
32696 (_G_off_t): Likewise.
32697 (_G_pid_t): Likewise.
32698 (_G_uid_t): Likewise.
32699 (_G_wchar_t): Likewise.
32700 (_G_wint_t): Likewise.
32701 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32702 (_G_ssize_t): Likewise.
32703 (_G_off_t): Likewise.
32704 (_G_pid_t): Likewise.
32705 (_G_uid_t): Likewise.
32706 (_G_wchar_t): Likewise.
32707 (_G_wint_t): Likewise.
32709 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32711 * malloc/arena.c: Include malloc-sysdep.h.
32712 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32713 is sufficient to shrink the heap or an unmap is needed.
32714 * sysdeps/generic/malloc-sysdep.h: New file. Define
32715 new function check_may_shrink_heap.
32716 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32717 new function check_may_shrink_heap.
32719 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32721 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32724 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32726 * catgets/test-gencat.sh: Add "set -e".
32727 * elf/tst-pathopt.sh: Likewise.
32728 * grp/tst_fgetgrent.sh: Likewise.
32729 * iconvdata/run-iconv-test.sh: Likewise.
32730 * intl/tst-gettext.sh: Likewise.
32731 * intl/tst-gettext2.sh: Likewise.
32732 * intl/tst-gettext4.sh: Likewise.
32733 * intl/tst-gettext6.sh: Likewise.
32734 * intl/tst-translit.sh: Likewise.
32735 * io/ftwtest-sh: Likewise.
32736 * libio/test-freopen.sh: Likewise.
32737 * malloc/tst-mtrace.sh: Likewise.
32738 * posix/globtest.sh: Likewise.
32739 * posix/tst-getconf.sh: Likewise.
32740 * posix/wordexp-tst.sh: Likewise.
32741 * stdio-common/tst-printf.sh: Likewise.
32742 * stdio-common/tst-unbputc.sh: Likewise.
32743 * stdlib/tst-fmtmsg.sh: Likewise.
32744 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32745 * catgets/Makefile: Do not specify -e option when running
32746 testsuite shell scripts.
32747 * elf/Makefile: Likewise.
32748 * grp/Makefile: Likewise.
32749 * iconvdata/Makefile: Likewise.
32750 * intl/Makefile: Likewise.
32751 * io/Makefile: Likewise.
32752 * libio/Makefile: Likewise.
32753 * malloc/Makefile: Likewise.
32754 * posix/Makefile: Likewise.
32755 * stdio-common/Makefile: Likewise.
32756 * stdlib/Makefile: Likewise.
32757 * sysdeps/x86_64/Makefile: Likewise.
32759 * io/ftwtest-sh: Add copyright header.
32760 * posix/globtest.sh: Likewise.
32761 * posix/tst-getconf.sh: Likewise.
32762 * posix/wordexp-tst.sh: Likewise.
32763 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32765 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32768 * Makeconfig (+link): Defined as $(+link-static) if
32769 $(build-shared) isn't yes.
32770 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32772 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32774 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32777 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32778 new chunk size with MALLOC_ALIGN_MASK.
32780 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32783 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32785 (__printf_fphex): Determine rounding using get_rounding_mode and
32787 * stdio-common/tst-printf-round.c (struct hex_test): New
32789 (hex_tests): New variable.
32790 (test_hex_in_one_mode): New function.
32791 (do_test): Also run tests for hex float output.
32793 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32795 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32796 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32797 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32798 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32799 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32800 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32801 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32802 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32804 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32806 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32807 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32808 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32809 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32811 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32814 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32816 * elf/tst-rtld-load-self.sh: New test.
32817 * elf/Makefile: Run it.
32819 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32821 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32822 (tst-writev-ENV): Remove.
32823 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32825 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32827 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32829 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32831 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32833 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32835 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32836 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32837 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32840 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32843 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32844 * config.make.in (have-cpp-asm-debuginfo): Removed.
32845 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32846 * configure: Regenerated.
32848 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32851 * stdio-common/printf_fp.c: Include <stdbool.h> and
32853 (___printf_fp): Determine rounding using get_rounding_mode and
32855 * stdio-common/tst-printf-round.c: New file.
32856 * stdio-common/Makefile (tests): Add tst-printf-round.
32857 (link-libm): New variable.
32858 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32860 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32863 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32864 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32866 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32869 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32871 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32872 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32873 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32874 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32876 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32879 * include/rounding-mode.h: New file.
32880 * sysdeps/generic/get-rounding-mode.h: Likewise.
32881 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32882 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32883 (MAX_VALUE): New macro.
32884 (MIN_VALUE): Likewise.
32885 (overflow_value): New function.
32886 (underflow_value): Likewise.
32887 (round_and_return): Use overflow_value and underflow_value to
32888 determine return values in overflow and underflow cases. Use
32889 round_away to determine rounding depending on rounding mode.
32890 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32891 determine return values in overflow and underflow cases.
32892 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32893 (struct test_results): New structure.
32894 (struct test): Use struct test_results to store expected results
32895 for all rounding modes.
32896 (TEST): Include expected results for all rounding modes.
32897 (test_in_one_mode): New function.
32898 (do_test): Use test_in_one_mode to compute and check results.
32899 Check results for all rounding modes.
32900 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32903 2012-12-09 Allan McRae <allan@archlinux.org>
32905 * sysdeps/i386/fpu/libm-test-ulps: Update
32907 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32909 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32910 (_G_int32_t): Likewise.
32911 (_G_uint16_t): Likewise.
32912 (_G_uint32_t): Likewise.
32913 (_G_HAVE_BOOL): Likewise.
32914 (_G_HAVE_ATEXIT): Likewise.
32915 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32916 (_G_HAVE_IO_FILE_OPEN): Likewise.
32917 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32918 (_G_int32_t): Likewise.
32919 (_G_uint16_t): Likewise.
32920 (_G_uint32_t): Likewise.
32921 (_G_HAVE_BOOL): Likewise.
32922 (_G_HAVE_ATEXIT): Likewise.
32923 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32924 (_G_HAVE_IO_FILE_OPEN): Likewise.
32925 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32926 (_G_int32_t): Likewise.
32927 (_G_uint16_t): Likewise.
32928 (_G_uint32_t): Likewise.
32929 (_G_HAVE_BOOL): Likewise.
32930 (_G_HAVE_ATEXIT): Likewise.
32931 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32932 (_G_HAVE_IO_FILE_OPEN): Likewise.
32934 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32936 * csu/libc-tls.c: Update copyright years.
32938 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32940 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32941 [!_G_USING_THUNKS]: Remove conditional code.
32942 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32943 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32945 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32946 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32947 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32948 (_G_VTABLE_LABEL_PREFIX): Likewise.
32949 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32950 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32951 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32952 (_G_VTABLE_LABEL_PREFIX): Likewise.
32953 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32954 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32955 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32956 (_G_VTABLE_LABEL_PREFIX): Likewise.
32957 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32959 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32961 * libio/Makefile: Include ../Makeconfig before tests.
32962 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32963 only if $(build-shared) is yes.
32965 * iconv/gconv_db.c: Update copyright years.
32967 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32969 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32970 unwind info if defined PIC. Fix special cases description.
32971 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32973 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32975 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32977 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32979 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32981 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32984 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32985 (LDLIBS-tst-chk4): This.
32986 (LDFLAGS-tst-chk5): Renamed to ...
32987 (LDLIBS-tst-chk5): This.
32988 (LDFLAGS-tst-chk6): Renamed to ...
32989 (LDLIBS-tst-chk6): This.
32990 (LDFLAGS-tst-lfschk4): Renamed to ...
32991 (LDLIBS-tst-lfschk4): This.
32992 (LDFLAGS-tst-lfschk5): Renamed to ...
32993 (LDLIBS-tst-lfschk5): This.
32994 (LDFLAGS-tst-lfschk6): Renamed to ...
32995 (LDLIBS-tst-lfschk6): This.
32997 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32998 on $(common-objpfx)soversions.mk.
33000 2012-09-07 Joseph Myers <joseph@codesourcery.com>
33003 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33006 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33008 * malloc/arena.c (arena_get_retry): New function that gets
33009 another arena for the caller to try its request on.
33010 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33011 current arena cannot fulfill the request.
33012 (__libc_memalign): Likewise.
33013 (__libc_memalign): Likewise.
33014 (__libc_pvalloc): Likewise.
33015 (__libc_calloc): Likewise.
33017 2012-09-05 John Tobey <john.tobey@gmail.com>
33020 * manual/arith.texi (Operations on Complex): Fix description
33021 of carg branch cut.
33023 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33026 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33030 * manual/memory.texi (Memory): Make order of menu items match
33033 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33035 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33036 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33037 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33039 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33041 * csu/libc-tls.c (static_dtv): Renamed to ...
33042 (_dl_static_dtv): This. Make it global.
33043 (_dl_initial_dtv): Removed.
33044 (__libc_setup_tls): Updated.
33045 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33046 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33049 2012-09-06 Petr Machata <pmachata@redhat.com>
33051 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33052 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33053 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33054 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33056 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33059 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33060 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33063 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33066 * Makeconfig (link-static-before-libc): Replace $(+prector)
33068 (link-static-after-libc): Replace $(+postctor) with
33070 (link-bounded): Replace $(+prector)/$(+postctor) with
33071 $(+prectorT)/$(+postctorT).
33072 (+prectorT): New macro.
33073 (+postctorT): Likewise.
33075 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33077 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33078 (round_str): Handle values above the maximum for IBM long double
33080 * stdlib/tst-strtod-round.c (tests): Regenerated.
33082 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33084 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33086 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33087 zarch_nohighgprs around the zarch optimized routines.
33088 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33089 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33090 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33093 2012-09-05 David S. Miller <davem@davemloft.net>
33095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33097 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33098 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33099 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33100 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33103 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33105 * malloc/arena.c: Fold copyright years.
33106 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33108 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33110 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33112 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33114 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33116 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33118 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33119 change internal state upon failure.
33121 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33123 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33124 * malloc/memusage.c (mmap): Likewise.
33125 (mmap64, mremap): Likewise. Adjust name in comment.
33127 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33129 * libio/fileops.c: Fix typos in comments.
33130 * libio/oldfileops.c: Likewise.
33131 * libio/wfileops.c: Likewise.
33133 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33136 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33137 (tst-malloc-usable-ENV): Set environment for test case.
33138 * malloc/hooks.c (malloc_check_get_size): New function to get
33140 * malloc/malloc.c (musable): Use malloc_check_get_size.
33141 * malloc/tst-malloc-usable.c: New test case.
33143 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33145 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33147 2012-09-05 Allan McRae <allan@archlinux.org>
33150 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33151 determine header location.
33152 * configure: Regenerated.
33154 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33156 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33158 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33159 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33161 (test): Regenerate.
33163 2012-09-04 David S. Miller <davem@davemloft.net>
33165 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33166 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33167 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33169 2012-09-04 Florian Weimer <fweimer@redhat.com>
33171 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33174 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33176 2012-09-04 Joseph Myers <joseph@codesourcery.com>
33179 * libio/iogetdelim.c: Include <limits.h>.
33180 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33181 + len + 1 would overflow.
33183 2012-09-03 Andreas Jaeger <aj@suse.de>
33185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33186 * sysdeps/i386/fpu/libm-test-ulps: Update.
33188 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33190 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33191 Add s_sinf-sse2, s_conf-sse2.
33193 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33194 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33195 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33196 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33198 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33199 for using routine as __sinf_ia32.
33200 Use macro for function declaration and weak_alias.
33201 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33202 for using routine as __cosf_ia32.
33203 Use macro for function declaration and weak_alias.
33205 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33206 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33208 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33209 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33212 * math/libm-test.inc (cos_test): Add more test cases.
33213 (sin_test): Likewise.
33214 (sincos_test): Likewise.
33216 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33218 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33219 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33221 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33223 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33226 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33227 first element of the GOT.
33228 (elf_machine_load_address): Return the difference between
33229 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33231 2012-09-01 Allan McRae <allan@archlinux.org>
33234 * configure.in (AWK): Require gawk version 3.0 or later.
33235 * configure: Regenerated.
33237 2012-09-01 Joseph Myers <joseph@codesourcery.com>
33239 * sysdeps/unix/sysv/linux/kernel-features.h
33240 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33241 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33242 [__NR_clock_getres]: Make code unconditional.
33243 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33244 (clock_getcpuclockid): Remove code left unreachable by removal of
33246 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33247 code unconditional.
33248 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33249 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33250 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33251 Make code unconditional.
33252 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33253 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33254 * sysdeps/unix/sysv/linux/clock_settime.c
33255 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33257 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33258 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33260 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33263 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33264 scripts/test-installation.pl.
33266 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33267 and $ld_so_version if it is set.
33269 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33272 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33273 failure if reading from procfs failed.
33274 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33276 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33278 * sysdeps/unix/sysv/linux/kernel-features.h
33279 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33280 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33281 Remove conditional code.
33282 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33283 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33284 Remove conditional code.
33285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33286 * sysdeps/unix/sysv/linux/i386/fxstat.c
33287 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33289 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33292 * sysdeps/unix/sysv/linux/i386/lxstat.c
33293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33295 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33296 Remove conditional code.
33297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33298 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33299 Remove conditional code.
33300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33301 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33302 <kernel-features.h>.
33303 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33305 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33306 Remove conditional code.
33307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33308 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33309 Remove conditional.
33311 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33314 * NEWS: Add fixed bug number.
33316 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33319 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33320 underflowing exponent in case of negative sign.
33321 * stdlib/tst-strtod-round-data: Add more tests.
33322 * stdlib/tst-strtod-round.c (tests): Regenerated.
33325 * stdlib/strtod_l.c (NDIG): Remove.
33326 (HEXNDIG): Likewise.
33327 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33328 smallest representable value.
33329 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33330 lie within an exact representation of 1/2 ulp of the result.
33331 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33333 (TENS_P9_IDX): Define unconditionally.
33334 (TENS_P9_SIZE): Likewise.
33335 (TENS_P10_IDX): Likewise.
33336 (TENS_P10_SIZE): Likewise.
33337 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33338 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33339 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33340 entries for 10^2^13 and 10^2^14.
33341 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33342 (TENS_P13_IDX): Define.
33343 (TENS_P13_SIZE): Likewise.
33344 (TENS_P14_IDX): Likewise.
33345 (TENS_P14_SIZE): Likewise.
33346 (_fpioconst_pow10): Change array size to
33347 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33349 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33350 1024]: Add entries for 10^2^13 and 10^2^14.
33351 [LAST_POW10 > _LAST_POW10]: Remove #error.
33352 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33353 (_fpioconst_pow10): Change array size to
33354 FPIOCONST_POW10_ARRAY_SIZE.
33355 * stdlib/gen-fpioconst.c: New file.
33356 * stdlib/gen-tst-strtod-round.c: Likewise.
33357 * stdlib/tst-strtod-round-data: Likewise.
33358 * stdlib/tst-strtod-round.c: Likewise.
33359 * stdlib/Makefile (tests): Add tst-strtod-round.
33362 * stdlib/strtod_l.c: Include <stdint.h>.
33363 (NDEBUG): Do not define.
33364 (round_and_return): Change EXPONENT parameter to type intmax_t.
33365 Rearrange calculations to avoid internal overflow possibilities.
33366 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33367 Rearrange calculations to avoid internal overflow possibilities.
33368 Assert that number fits inside MPNSIZE limbs.
33369 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33370 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33371 calculations and add assertions to avoid internal overflow
33372 possibilities. Add casts to avoid signed/unsigned operations.
33373 * stdlib/tst-strtod-overflow.c: New file.
33374 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33376 2012-08-25 Marek Polacek <polacek@redhat.com>
33378 * time/time.h: Fix some typos in comments.
33380 2012-08-23 Roland McGrath <roland@hack.frob.com>
33382 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33383 * posix/tst-rfc3484-2.c: Likewise.
33384 * posix/tst-rfc3484-3.c: Likewise.
33386 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33388 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33389 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33391 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33393 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33394 #include of fxstatat64.c.
33396 2012-08-22 Roland McGrath <roland@hack.frob.com>
33398 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33399 * shadow/getspent_r.c: Likewise.
33400 * shadow/getspnam.c: Likewise.
33401 * shadow/getspnam_r.c: Likewise.
33402 * gshadow/getsgent.c: Likewise.
33403 * gshadow/getsgent_r.c: Likewise.
33404 * gshadow/getsgnam.c: Likewise.
33405 * gshadow/getsgnam_r.c: Likewise.
33406 * inet/getnetbyad.c: Likewise.
33407 * inet/getnetbyad_r.c: Likewise.
33408 * inet/getnetbynm.c: Likewise.
33409 * inet/getnetbynm_r.c: Likewise.
33410 * inet/getnetent.c: Likewise.
33411 * inet/getnetent_r.c: Likewise.
33412 * inet/getproto.c: Likewise.
33413 * inet/getproto_r.c: Likewise.
33414 * inet/getprtent.c: Likewise.
33415 * inet/getprtent_r.c: Likewise.
33416 * inet/getprtname.c: Likewise.
33417 * inet/getprtname_r.c: Likewise.
33418 * inet/getrpcbyname.c: Likewise.
33419 * inet/getrpcbyname_r.c: Likewise.
33420 * inet/getrpcbynumber.c: Likewise.
33421 * inet/getrpcbynumber_r.c: Likewise.
33422 * inet/getrpcent.c: Likewise.
33423 * inet/getrpcent_r.c: Likewise.
33424 * inet/getaliasent.c: Likewise.
33425 * inet/getaliasent_r.c: Likewise.
33426 * inet/getaliasname.c: Likewise.
33427 * inet/getaliasname_r.c: Likewise.
33428 * nscd/getgrgid_r.c: Likewise.
33429 * nscd/getgrnam_r.c: Likewise.
33430 * nscd/gethstbyad_r.c: Likewise.
33431 * nscd/gethstbynm3_r.c: Likewise.
33432 * nscd/getpwnam_r.c: Likewise.
33433 * nscd/getpwuid_r.c: Likewise.
33434 * nscd/getsrvbynm_r.c: Likewise.
33435 * nscd/getsrvbypt_r.c: Likewise.
33436 * nscd/gai.c: Likewise.
33438 * configure.in (build_nscd): New substituted variable, set
33439 by --disable-build-nscd and defaults to $use_nscd.
33440 * configure: Regenerated.
33441 * config.make.in (build-nscd): New substituted variable.
33442 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33443 Change conditional to require [$(build-nscd) = yes] as well.
33444 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33447 * configure.in (use_nscd): New substituted variable, set by
33448 --disable-nscd. If enabled, define USE_NSCD.
33449 * configure: Regenerated.
33450 * config.h.in: Add USE_NSCD.
33451 * config.make.in (use-nscd): New substituted variable.
33452 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33453 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33454 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33455 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33456 (CFLAGS-getgrnam_r.c): Likewise.
33457 (CFLAGS-initgroups.c): Likewise.
33458 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33459 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33461 * inet/getnetgrent_r.c
33462 (nscd_setnetgrent): New function, broken out of ...
33463 (setnetgrent): ... here. Call it.
33464 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33465 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33466 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33467 * nscd/Makefile (routines, aux): Move definitions after include of
33468 Makeconfig. Conditionalize on [$(use-nscd) != no].
33469 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33470 Conditionalize on [USE_NSCD].
33471 (is_nscd, nscd_init_cb): Likewise.
33472 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33473 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33474 * nss/nss_db/db-init.c: Likewise.
33475 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33477 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33478 (make_request): Use it.
33479 (cache_valid_p): New function.
33480 (__check_pf): Use it.
33481 * NEWS: Add item for --disable-nscd.
33483 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33485 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33486 to support sed >= 4.2.1-20-ga9bf076.
33487 * configure: Regenerated.
33489 2012-08-22 Roland McGrath <roland@hack.frob.com>
33491 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33492 Conditionalize whole body on [IREL].
33494 2012-08-22 Jeff Law <law@redhat.com>
33497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33498 if the family is PF_UNSPEC.
33500 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33502 * Makerules (lib-version): Rename from V.
33503 (install-lib-nosubdir): Change V to lib-version.
33505 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33508 * powerpc32/power6/wcschr.c: New file.
33509 * powerpc32/power6/wcscpy.c: New file.
33510 * powerpc32/power6/wcsrchr.c: New file.
33511 * powerpc64/power6/wcschr.c: New file.
33512 * powerpc64/power6/wcscpy.c: New file.
33513 * powerpc64/power6/wcsrchr.c: New file.
33515 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33517 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33518 (two_way_short_needle): Use it.
33519 * string/strstr.c (AVAILABLE1_USES_J): Define.
33520 * string/strcasestr.c: Likewise.
33522 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33524 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33527 * NEWS: Add an entry.
33528 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33529 define their defaults.
33530 (two_way_short_needle): Detect end-of-string on-the-fly.
33531 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33532 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33533 * string/bug-strcasestr1.c: New test.
33534 * string/Makefile: Run it.
33536 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33539 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33540 the first character.
33542 2012-08-21 Roland McGrath <roland@hack.frob.com>
33544 * csu/elf-init.c (__libc_csu_irel): Function removed.
33545 * csu/libc-start.c (apply_irel): New function.
33546 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33548 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33550 * sysdeps/unix/sysv/linux/kernel-features.h
33551 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33552 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33553 <kernel-features.h>.
33554 [__NR_fadvise64_64]: Make code unconditional.
33555 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33556 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33557 !__NR_fadvise64_64)]: Likewise.
33558 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33559 !__NR_fadvise64_64))]: Likewise.
33560 [__NR_fadvise64]: Make code unconditional.
33561 [!__NR_fadvise64]: Remove conditional code.
33562 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33563 <kernel-features.h>.
33564 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33566 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33569 not include <kernel-features.h>.
33570 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33572 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33574 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33575 include <kernel-features.h>.
33576 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33578 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33581 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33583 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33584 slight instruction rearrangements per scrollpipe analysis.
33585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33587 2012-08-20 Roland McGrath <roland@hack.frob.com>
33589 * manual/syslog.texi (syslog; vsyslog, closelog):
33590 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33591 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33593 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33594 DSOCAPS to match condition on defining it.
33596 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33598 * sysdeps/unix/sysv/linux/kernel-features.h
33599 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33601 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33602 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33610 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33611 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33613 * sysdeps/unix/sysv/linux/kernel-features.h
33614 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33615 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33617 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33618 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33619 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33620 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33621 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33622 Make code unconditional.
33623 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33624 (__mmap64) [!__NR_mmap2]: Likewise.
33625 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33626 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33627 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33628 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33629 [__NR_mmap2]: Make code unconditional.
33630 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33631 (__mmap64) [!__NR_mmap2]: Likewise.
33633 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33635 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33637 2012-08-18 Andreas Jaeger <aj@suse.de>
33639 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33641 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33643 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33644 * include/unistd.h (__have_sock_cloexec): Likewise.
33645 (__have_pipe2): Likewise.
33646 (__have_dup3): Likewise.
33648 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33651 * include/unistd.h (__have_pipe2): Change define into an extern int.
33652 (__have_dup3): Likewise.
33653 * socket/have_sock_cloexec.c: Include fcntl.h.
33654 (__have_pipe2): New variable.
33655 (__have_dup3): Likewise.
33657 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33659 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33661 2012-08-17 Marek Polacek <polacek@redhat.com>
33663 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33664 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33666 2012-08-17 Roland McGrath <roland@hack.frob.com>
33668 * configure.in: Add AC_SUBST for sysheaders.
33669 * configure: Regenerated.
33670 * config.make.in (sysheaders): New substituted variable.
33672 * sysdeps/unix/mkfifo.c: Moved ...
33673 * sysdeps/posix/mkfifo.c: ... here.
33674 * sysdeps/unix/mkfifoat.c: Moved ...
33675 * sysdeps/posix/mkfifoat.c: ... here.
33677 * sysdeps/unix/utime.c: Moved ...
33678 * sysdeps/posix/utime.c: ... here.
33680 * sysdeps/unix/time.c: Moved ...
33681 * sysdeps/posix/time.c: ... here.
33682 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33683 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33685 * sysdeps/unix/nice.c: Moved ...
33686 * sysdeps/posix/nice.c: ... here.
33688 * sysdeps/unix/alarm.c: Moved ...
33689 * sysdeps/posix/alarm.c: ... here.
33691 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33693 2012-08-17 Jeff Law <law@redhat.com>
33695 * intl/Makefile (codeset_mo): New variable.
33696 ($(codeset_mo)): New target.
33697 (tst-codeset.out): Depend on that. Remove explicit rule.
33698 (tst-gettext3.out, tst-gettext5.out): Likewise.
33699 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33700 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33701 * intl/tst-codeset.sh: Remove.
33702 * intl/tst-gettext3.sh: Likewise.
33703 * intl/tst-gettext5.sh: Likewise.
33705 2012-08-17 Roland McGrath <roland@hack.frob.com>
33707 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33708 * sysdeps/unix/syscalls.list: ... here.
33710 * sysdeps/posix/getaddrinfo.c
33711 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33712 (gaiconf_init, gaiconf_reload): Use them.
33713 [!_STATBUF_ST_NSEC]
33714 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33715 Define using time_t rather than struct timespec.
33717 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33718 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33720 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33722 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33723 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33726 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33727 __libc_cleanup_push argument.
33729 * bits/param.h: New file.
33730 * misc/sys/param.h: New file.
33731 * include/sys/param.h: New file.
33732 * misc/Makefile (headers): Add bits/param.h.
33733 * sysdeps/generic/sys/param.h: File removed.
33734 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33735 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33736 * sysdeps/mach/hurd/bits/param.h: New file.
33737 * sysdeps/mach/hurd/sys/param.h: File removed.
33739 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33742 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33744 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33745 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33748 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33749 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33750 rather than -D_IO_MTSAFE_IO conditionally.
33751 * stdio-common/Makefile (CPPFLAGS): Likewise.
33752 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33753 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33754 Use $(libio-mtsafe).
33755 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33756 of -D_IO_MTSAFE_IO.
33757 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33758 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33759 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33760 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33761 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33762 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33763 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33764 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33765 (CFLAGS-fread_u_chk.c): Likewise.
33766 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33767 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33768 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33769 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33770 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33771 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33772 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33773 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33774 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33776 * libio/Makefile: Test [$(libc-reentrant) = yes]
33777 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33780 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33781 * sysdeps/pthread/configure: File removed.
33782 * sysdeps/pthread/Makeconfig: New file.
33783 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33784 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33786 2012-08-16 Gary Benson <gbenson@redhat.com>
33788 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33789 unmapping the first object in a namespace.
33791 2012-08-16 Roland McGrath <roland@hack.frob.com>
33793 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33794 (__internal_setnetgrent): ... this. Add internal_function to
33795 definition. Add libc_hidden_def.
33796 (setnetgrent): Update caller.
33797 (internal_endnetgrent): Renamed to ...
33798 (__internal_endnetgrent): ... this. Add internal_function to
33799 definition. Add libc_hidden_def.
33800 (endnetgrent): Update caller.
33801 (internal_getnetgrent_r): Renamed to ...
33802 (__internal_getnetgrent_r): ... this. Add internal_function to
33803 definition. Add libc_hidden_def.
33804 (__getnetgrent_r): Update caller.
33805 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33807 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33809 * stdlib/longlong.h: Update from GCC.
33811 2012-08-16 Roland McGrath <roland@hack.frob.com>
33813 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33814 on _QL, which is set by umul_ppmm but never used.
33815 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33816 variables, which are set by GMP macros but never used.
33817 * stdio-common/_itowa.c (_itowa): Likewise.
33818 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33819 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33821 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33823 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33824 struct La_sh_regs is not constant.
33825 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33826 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33827 and struct La_sparc64_regs are not constant.
33829 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33831 * sysdeps/unix/sysv/linux/kernel-features.h
33832 (__ASSUME_POSIX_TIMERS): Remove.
33833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33834 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33835 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33836 Make code unconditional.
33837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33838 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33839 Make code unconditional.
33840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33841 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33842 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33844 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33845 Make code unconditional.
33846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33847 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33848 (__libc_missing_posix_timers): Remove.
33850 2012-08-15 Roland McGrath <roland@hack.frob.com>
33852 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33853 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33855 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33857 * elf/dl-sym.c: Include <stdlib.h>.
33859 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33860 constants, which avoids warnings in 32-bit builds.
33862 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33863 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33865 * misc/lseek.c: File moved to ...
33866 * io/lseek.c: ... here.
33868 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33870 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33871 shifting LEN more than 31 bits at once.
33873 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33876 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33877 segmentation fault for a case of two empty input strings.
33878 * string/test-strncasecmp.c (check1): Renamed to...
33879 (bz12205): ...this.
33880 (bz14195): Add new testcase for two empty input strings and N > 0.
33881 (test_main): Call new testcase, adapt for renamed function.
33883 2012-08-15 Andreas Jaeger <aj@suse.de>
33886 * crypt/md5test2.c: New test, based on test supplied by Serge
33887 Belyshev <belyshev@depni.sinp.msu.ru>.
33888 * crypt/Makefile (xtests): Add md5test-giant..
33889 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33891 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33894 * crypt/md5.c (md5_process_block): Don't assume the buffer
33895 length is less than 2**32.
33896 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33897 length is less than 2**64.
33899 2012-08-15 Roland McGrath <roland@hack.frob.com>
33901 * string/str-two-way.h: Include <sys/param.h>.
33902 (MAX): Macro removed.
33904 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33905 Move #define and #undef of memmove to just before and after
33906 including <string.h>.
33908 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33909 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33910 and after including <string.h>. Move declarations of
33911 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33912 to before #include "string/memmove.c".
33914 * include/dirent.h: Declare __getdirentries.
33916 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33917 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33919 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33921 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33922 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33923 * sysdeps/i386/configure: Regenerated.
33924 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33925 STABS_CURRENT_FILE, and STABS_FUN.
33926 (END): Remove call to STABS_FUN_END.
33927 (STABS_CURRENT_FILE1): Delete.
33928 (STABS_CURRENT_FILE): Likewise.
33929 (STABS_FUN): Likewise.
33930 (STABS_FUN_END): Likewise.
33931 (STABS_FUN2): Likewise.
33932 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33933 * sysdeps/x86_64/configure: Regenerated.
33935 2012-08-14 Roland McGrath <roland@hack.frob.com>
33937 * elf/dl-open.c: Include <atomic.h>.
33938 * elf/dl-lookup.c: Likewise.
33940 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33942 * sysdeps/unix/sysv/linux/kernel-features.h
33943 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33944 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33946 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33948 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33949 condition on __ASSUME_CLONE_THREAD_FLAGS.
33951 2012-08-14 Andreas Jaeger <aj@suse.de>
33953 * sysdeps/i386/fpu/libm-test-ulps: Update.
33955 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33957 * include/atomic.h (atomic_exchange_and_add): Split into ...
33958 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33961 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33965 2012-08-13 Jeff Law <law@redhat.com>
33967 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33968 null byte in the output string.
33970 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33972 * sysdeps/unix/sysv/linux/kernel-features.h
33973 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33974 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33975 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33976 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33977 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33978 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33979 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33981 2012-08-09 Jeff Law <law@redhat.com>
33984 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33985 When avoid_arena is set, don't retry in the that arena. Pick the
33986 next one, whatever it might be.
33987 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33988 (arena_lock): Pass in new parameter to arena_get2.
33989 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33991 (__libc_malloc): Unify retrying after main arena failure with
33992 __libc_memalign version.
33993 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33995 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33998 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33999 to __redirect_strstr.
34000 (__strstr_sse42): Use typeof __redirect_strstr.
34001 (__strstr_ia32): Likewise.
34002 (__libc_strstr): New prototype.
34003 (strstr): Renamed to ...
34004 (__libc_strstr): This.
34005 (strstr): New strong alias of __libc_strstr.
34006 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34007 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34010 (__libc_time): New prototype.
34011 (time_ifunc): Replace time with __libc_time.
34012 (time): New strong alias and hidden definition of __libc_time.
34013 (__GI_time): Remove strong alias.
34014 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34015 Include <stddef.h>.
34016 (memmove): Redefined to __redirect_memmove.
34017 (__memmove_sse2): Use typeof __redirect_memmove.
34018 (__memmove_ssse3): Likewise.
34019 (__memmove_ssse3_back): Likewise.
34020 (__libc_memmove): New prototype.
34021 (memmove): Renamed to ...
34022 (__libc_memmove): This.
34023 (memmove): New strong alias of __libc_memmove.
34025 2012-08-08 Mark Salter <msalter@redhat.com>
34028 (R_MN10300_TLS_GD): Define.
34029 (R_MN10300_TLS_LD): Likewise.
34030 (R_MN10300_TLS_LDO): Likewise.
34031 (R_MN10300_TLS_GOTIE): Likewise.
34032 (R_MN10300_TLS_IE): Likewise.
34033 (R_MN10300_TLS_LE): Likewise.
34034 (R_MN10300_TLS_DTPMOD): Likewise.
34035 (R_MN10300_TLS_DTPOFF): Likewise.
34036 (R_MN10300_TLS_TPOFF): Likewise.
34037 (R_MN10300_SYM_DIFF): Likewise.
34038 (R_MN10300_ALIGN): Likewise.
34039 (R_MN10300_NUM): Update.
34041 2012-08-08 Joseph Myers <joseph@codesourcery.com>
34043 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34046 2012-08-08 Roland McGrath <roland@hack.frob.com>
34048 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34050 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34051 sysdeps/unix -> sysdeps/posix move.
34052 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34054 2012-08-07 Allan McRae <allan@archlinux.org>
34057 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34058 (SUNOS_CPP): Likewise.
34059 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34061 (open_input): Call CPP using execvp.
34063 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34065 * sysdeps/unix/sysv/linux/kernel-features.h
34066 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34067 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34068 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34069 (__ASSUME_WAITID_SYSCALL): Likewise.
34070 * sysdeps/unix/sysv/linux/dl-execstack.c
34071 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34072 code unconditional.
34073 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34075 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34076 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34077 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34079 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34081 [__ASSUME_WAITID_SYSCALL]: Likewise.
34082 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34084 2012-08-07 Roland McGrath <roland@hack.frob.com>
34086 * sysdeps/unix/closedir.c: Renamed to ...
34087 * sysdeps/posix/closedir.c: ... here.
34088 * sysdeps/unix/dirfd.c: Renamed to ...
34089 * sysdeps/posix/dirfd.c: ... here.
34090 * sysdeps/unix/dirstream.h: Renamed to ...
34091 * sysdeps/posix/dirstream.h: ... here.
34092 * sysdeps/unix/fdopendir.c: Renamed to ...
34093 * sysdeps/posix/fdopendir.c: ... here.
34094 * sysdeps/unix/opendir.c: Renamed to ...
34095 * sysdeps/posix/opendir.c: ... here.
34096 * sysdeps/unix/readdir.c: Renamed to ...
34097 * sysdeps/posix/readdir.c: ... here.
34098 * sysdeps/unix/readdir_r.c: Renamed to ...
34099 * sysdeps/posix/readdir_r.c: ... here.
34100 * sysdeps/unix/rewinddir.c: Renamed to ...
34101 * sysdeps/posix/rewinddir.c: ... here.
34102 * sysdeps/unix/seekdir.c: Renamed to ...
34103 * sysdeps/posix/seekdir.c: ... here.
34104 * sysdeps/unix/telldir.c: Renamed to ...
34105 * sysdeps/posix/telldir.c: ... here.
34106 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34107 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34108 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34109 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34111 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34112 * bits/fcntl.h: ... here.
34114 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34116 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34117 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34118 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34119 (struct flock): Move l_start, l_len to the beginning.
34120 Use __pid_t for l_pid.
34121 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34122 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34123 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34124 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34125 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34126 [__USE_LARGEFILE64] (struct flock64): New type.
34127 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34129 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34130 * bits/dirent.h: ... here.
34132 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34133 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34135 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34137 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34138 Change from 2.6.0 to 2.6.16.
34139 * sysdeps/unix/sysv/linux/configure: Regenerated.
34140 * sysdeps/unix/sysv/linux/kernel-features.h
34141 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34142 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34144 (__ASSUME_UTIMES): Likewise.
34145 (__ASSUME_CLONE_STOPPED): Remove.
34146 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34147 architectures, not kernel version.
34148 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34149 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34150 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34151 (__ASSUME_WAITID_SYSCALL): Likewise.
34152 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34153 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34154 * README: State 2.6.16 as minimum Linux kernel version. Do not
34155 refer to older versions.
34157 2012-08-06 Roland McGrath <roland@hack.frob.com>
34159 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34160 Define alphasort64 as an alias.
34161 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34162 Define versionsort64 as an alias.
34163 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34164 Define scandir64 as an alias.
34165 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34166 Define scandirat64 as an alias.
34167 * dirent/alphasort64.c (alphasort64):
34168 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34169 * dirent/versionsort64.c: Likewise.
34170 * dirent/scandir64.c: Likewise.
34171 * dirent/scandirat64.c: Likewise.
34172 * sysdeps/wordsize-64/alphasort.c: File removed.
34173 * sysdeps/wordsize-64/alphasort64.c: File removed.
34174 * sysdeps/wordsize-64/scandir.c: File removed.
34175 * sysdeps/wordsize-64/scandir64.c: File removed.
34176 * sysdeps/wordsize-64/scandirat.c: File removed.
34177 * sysdeps/wordsize-64/scandirat64.c: File removed.
34178 * sysdeps/wordsize-64/versionsort.c: File removed.
34179 * sysdeps/wordsize-64/versionsort64.c: File removed.
34180 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34181 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34182 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34183 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34184 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34185 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34186 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34187 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34189 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34191 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34193 [defined __arch64__ || defined __sparcv9]
34194 (__INO_T_MATCHES_INO64_T): New macro.
34195 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34196 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34197 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34198 * sysdeps/unix/sysv/linux/bits/dirent.h
34199 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34200 (_DIRENT_MATCHES_DIRENT64): New macro.
34202 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34203 Define lockf64 as an alias.
34204 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34205 Define fseeko64 as an alias.
34206 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34207 Define ftello64 as an alias.
34208 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34209 Define _IO_fgetpos64 and fgetpos64 as aliases.
34210 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34211 Define _IO_fsetpos64 and fsetpos64 as aliases.
34212 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34213 Conditionalize body on this.
34214 * libio/fseeko64.c: Likewise.
34215 * libio/ftello64.c: Likewise.
34216 * libio/iofgetpos64.c: Likewise.
34217 * libio/iofsetpos64.c: Likewise.
34218 * sysdeps/wordsize-64/lockf.c: File removed.
34219 * sysdeps/wordsize-64/lockf64.c: File removed.
34220 * sysdeps/wordsize-64/fseeko.c: File removed.
34221 * sysdeps/wordsize-64/fseeko64.c: File removed.
34222 * sysdeps/wordsize-64/ftello.c: File removed.
34223 * sysdeps/wordsize-64/ftello64.c: File removed.
34224 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34225 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34226 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34227 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34228 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34229 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34230 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34231 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34232 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34233 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34234 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34235 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34237 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34239 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34241 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34243 [defined __arch64__ || defined __sparcv9]
34244 (__OFF_T_MATCHES_OFF64_T): New macro.
34245 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34246 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34248 (__OFF_T_MATCHES_OFF64_T): New macro.
34250 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34252 * stdlib/secure-getenv.c (__secure_getenv): Replace
34253 GLIBC_2_16 with GLIBC_2_17.
34255 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34257 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34258 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34260 2012-08-03 David S. Miller <davem@davemloft.net>
34262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34264 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34266 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34268 (__ASSUME_CORRECT_SI_PID): Likewise.
34269 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34270 (__ASSUME_TMPFS_NAME): Likewise.
34271 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34272 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34273 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34274 (HAVE_AUX_SECURE): Make definition unconditional.
34275 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34276 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34278 2012-08-03 Roland McGrath <roland@hack.frob.com>
34280 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34281 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34282 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34283 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34284 __eloop_threshold instead of SYMLOOP_MAX.
34286 * sysdeps/generic/eloop-threshold.h: New file.
34287 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34289 * elf/chroot_canon.c (chroot_canon): Likewise.
34291 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34294 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34295 Change to 2.6.0 everywhere.
34296 * sysdeps/unix/sysv/linux/configure: Regenerated.
34297 * sysdeps/unix/sysv/linux/kernel-features.h
34298 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34299 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34301 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34302 (__ASSUME_FUTEX_REQUEUE): Remove.
34303 (__ASSUME_STATFS64): Define unconditionally.
34304 (__ASSUME_AT_SECURE): Likewise.
34305 (__ASSUME_CORRECT_SI_PID): Likewise.
34306 (__ASSUME_TGKILL): Define without depending on kernel version for
34308 (__ASSUME_UTIMES): Likewise.
34309 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34311 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34312 (__ASSUME_TMPFS_NAME): Likewise.
34313 * README: Update reference to Linux kernel versions.
34315 2012-08-02 Marek Polacek <polacek@redhat.com>
34318 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34319 libc_cv_asm_type_prefix with %.
34320 * configure: Regenerated.
34321 * include/libc-symbols.h: Remove comment about
34322 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34323 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34324 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34325 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34326 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34327 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34328 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34329 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34330 * elf/tst-unique2mod1.c: Likewise.
34331 * elf/tst-unique1mod2.c: Likewise.
34332 * elf/tst-unique1mod1.c: Likewise.
34333 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34334 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34335 Replace ASM_TYPE_DIRECTIVE with .type.
34336 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34337 * sysdeps/i386/sysdep.h: Likewise.
34338 * sysdeps/x86_64/sysdep.h: Likewise.
34339 * sysdeps/sh/sysdep.h: Likewise.
34340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34341 Do not define ASM_TYPE_DIRECTIVE.
34342 * sysdeps/powerpc/sysdep.h: Likewise.
34343 * sysdeps/powerpc/powerpc32/sysdep.h:
34344 Replace ASM_TYPE_DIRECTIVE with .type.
34345 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34346 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34347 * sysdeps/i386/fpu/e_powf.S: Likewise.
34348 * sysdeps/i386/fpu/e_expl.S: Likewise.
34349 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34350 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34351 * sysdeps/i386/fpu/e_pow.S: Likewise.
34352 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34353 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34354 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34355 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34356 * sysdeps/i386/fpu/e_log2.S: Likewise.
34357 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34358 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34359 * sysdeps/i386/fpu/e_powl.S: Likewise.
34360 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34361 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34362 * sysdeps/i386/fpu/e_logl.S: Likewise.
34363 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34364 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34365 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34366 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34367 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34368 * sysdeps/i386/fpu/e_log.S: Likewise.
34369 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34370 * sysdeps/i386/fpu/e_logf.S: Likewise.
34371 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34372 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34373 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34374 * sysdeps/i386/fpu/e_log10.S: Likewise.
34375 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34376 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34377 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34378 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34379 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34380 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34381 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34382 * sysdeps/i386/i686/strtok.S: Likewise.
34383 * sysdeps/i386/i386-mcount.S: Likewise.
34384 * sysdeps/i386/strtok.S: Likewise.
34385 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34386 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34387 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34388 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34389 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34390 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34391 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34392 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34393 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34394 * sysdeps/x86_64/_mcount.S: Likewise.
34395 * sysdeps/x86_64/strtok.S: Likewise.
34396 * sysdeps/sh/_mcount.S: Likewise.
34398 2012-08-01 Roland McGrath <roland@hack.frob.com>
34400 * libio/iofopen.c: Include <fcntl.h>.
34401 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34402 (_IO_fopen64, fopen64): Define as aliases.
34403 * libio/iofopen64.c: Include <fcntl.h>.
34404 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34405 Conditionalize body on this.
34406 * sysdeps/wordsize-64/iofopen.c: File removed.
34407 * sysdeps/wordsize-64/iofopen64.c: File removed.
34409 2012-08-01 Marek Polacek <polacek@redhat.com>
34411 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34412 Use dlfcn directly instead of a variable.
34413 (binfmt-subdir): Do not define.
34416 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34418 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34419 Remove all definitions.
34420 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34421 <kernel-features.h>.
34422 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34423 (miss_F_GETOWN_EX): Remove all definitions.
34424 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34426 [!__ASSUME_FCNTL64]: Remove conditional code.
34427 [__ASSUME_FCNTL64]: Make code unconditional.
34428 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34429 <kernel-features.h>.
34430 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34431 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34432 (lockf64) [__NR_fcntl64]: Make code unconditional.
34433 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34435 * sysdeps/unix/sysv/linux/kernel-features.h
34436 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34437 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34438 Make code unconditional.
34439 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34440 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34442 [__NR_vfork]: Make code unconditional.
34443 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34444 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34446 [__NR_vfork]: Make code unconditional.
34447 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34448 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34450 2012-08-01 Roland McGrath <roland@hack.frob.com>
34452 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34453 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34455 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34456 Define mkstemp64 as an alias.
34457 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34458 Define mkstemps64 as an alias.
34459 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34460 Define mkostemp64 as an alias.
34461 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34462 Define mkostemps64 as an alias.
34463 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34464 Conditionalize body on this.
34465 * misc/mkostemp64.c: Likewise.
34466 * misc/mkostemps64.c: Likewise.
34467 * misc/mkstemps64.c: Likewise.
34468 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34469 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34470 * sysdeps/wordsize-64/mkostemp.c: File removed.
34471 * sysdeps/wordsize-64/mkstemp.c: File removed.
34472 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34473 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34474 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34478 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34479 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34480 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34481 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34483 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34484 compat_symbol macros from <shlib-compat.h> rather than the underlying
34485 default_symbol_version and symbol_version macros, so that DEFAULT
34486 lines in shlib-versions are respected.
34487 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34489 2012-08-01 Florian Weimer <fweimer@redhat.com>
34491 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34492 Declare with warn_unused_result.
34493 (setgid, setregid, setegid, setresgid): Likewise.
34494 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34496 * WUR-REPORT: Remove set*id functions.
34498 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34500 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34502 2012-07-31 Roland McGrath <roland@hack.frob.com>
34505 * include/sys/socket.h (__libc_accept, __libc_accept4):
34506 Add attribute_hidden.
34507 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34509 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34511 * inet/getnetgrent_r.c (setup): Likewise.
34513 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34515 2012-07-31 David S. Miller <davem@davemloft.net>
34517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34519 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34522 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34523 value between 1.0 and 2.0 and smaller part has absolute value less
34525 * math/s_clog10.c (__clog10): Likewise.
34526 * math/s_clog10f.c (__clog10f): Likewise.
34527 * math/s_clog10l.c (__clog10l): Likewise.
34528 * math/s_clogf.c (__clogf): Likewise.
34529 * math/s_clogl.c (__clogl): Likewise.
34530 * math/libm-test.inc (clog_test): Add more tests.
34531 (clog10_test): Likewise.
34532 * sysdeps/i386/fpu/libm-test-ulps: Update.
34533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34535 2012-07-31 Florian Weimer <fweimer@redhat.com>
34537 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34538 Exit with zero in case no suitable GID is found, and write a
34539 message to standard error.
34541 2012-07-30 Roland McGrath <roland@hack.frob.com>
34543 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34545 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34546 (MAXPATHLEN): Removed.
34547 (NOGROUP, NODEV): New macros.
34548 (setbit, clrbit, isset, isclr): New macros.
34549 (howmany, roundup, powerof2): New macros.
34550 (DEV_BSIZE): New macro.
34552 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34553 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34555 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34556 definition on [!__NO_LONG_DOUBLE_MATH].
34558 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34559 PTR_MANGLE and PTR_DEMANGLE.
34561 * socket/accept4.c (accept4): Rename to __libc_accept4.
34562 Define accept4 as a weak alias.
34564 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34565 on [_DIRENT_HAVE_D_TYPE].
34566 * io/ftw.c (ftw_dir): Likewise.
34568 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34570 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34572 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34573 Use the BSD numbers rather than the arbitrary ones we had.
34574 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34575 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34576 (SIGXCPU, SIGXFSZ): New macros.
34579 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34580 initializer on [_LIBC_REENTRANT].
34582 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34583 definitions inside [_POSIX_MAPPED_FILES].
34585 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34587 * dirent/opendir.c: Include <fcntl.h>.
34589 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34590 (__libc_getspecific): Likewise.
34591 (__libc_key_create): Likewise.
34593 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34594 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34595 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34596 (tmpfile64): Define as alias.
34597 * sysdeps/wordsize-64/tmpfile.c: File removed.
34598 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34599 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34600 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34602 * stdio-common/vfscanf.c: Include <stdbool.h>.
34603 * nss/makedb.c: Likewise.
34604 * stdio-common/_i18n_number.h: Likewise.
34605 * argp/argp-help.c: Likewise.
34606 * posix/wordexp.c: Likewise.
34607 * sysdeps/posix/spawni.c: Likewise.
34608 * nss/nss_files/files-initgroups.c: Likewise.
34609 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34610 * nss/nss_files/files-initgroups.c: Likewise.
34611 * nss/nss_db/db-netgrp.c: Likewise.
34612 * nss/nss_db/db-initgroups.c: Likewise.
34613 * io/fchmodat.c: Include <sys/stat.h>.
34615 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34616 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34618 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34621 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34622 Add multiple inclusion protection.
34624 2012-07-27 David S. Miller <davem@davemloft.net>
34626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34628 2012-07-27 Gary Benson <gbenson@redhat.com>
34631 * elf/rtld.c: Include <stap-probe.h>.
34632 (dl_main): Added static probes "init_start" and "init_complete".
34633 * elf/dl-load.c: Include <stap-probe.h>.
34634 (lose): Take new parameter "nsid".
34635 Added static probe "map_failed".
34636 (_dl_map_object_from_fd): Pass namespace id to lose.
34637 Added static probe "map_start".
34638 (open_verify): Pass namespace id to lose.
34639 * elf/dl-open.c: Include <stap-probe.h>.
34640 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34641 and "reloc_complete".
34642 * elf/dl-close.c: Include <stap-probe.h>.
34643 (_dl_close_worker): Added static probes "unmap_start" and
34645 * elf/rtld-debugger-interface.txt: New file documenting the above.
34647 2012-07-26 Roland McGrath <roland@hack.frob.com>
34649 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34650 rather than a string variable.
34651 * sunrpc/rpc_main.c (h_output): Likewise.
34652 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34654 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34656 * inet/check_native.c: New file.
34658 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34661 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34662 if larger part has absolute value 1.0.
34663 * math/s_clog10.c (__clog10): Likewise.
34664 * math/s_clog10f.c (__clog10f): Likewise.
34665 * math/s_clog10l.c (__clog10l): Likewise.
34666 * math/s_clogf.c (__clogf): Likewise.
34667 * math/s_clogl.c (__clogl): Likewise.
34668 * math/libm-test.inc (clog_test): Add more tests.
34669 (clog10_test): Likewise.
34670 * sysdeps/i386/fpu/libm-test-ulps: Update.
34671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34673 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34674 (pltexit): Likewise.
34675 (La_regs): Likewise.
34676 (La_retval): Likewise.
34677 (int_retval): Likewise.
34678 Update #error for removed macros to refer only to definitions in
34680 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34682 (pltexit): Likewise.
34683 (La_regs): Likewise.
34684 (La_retval): Likewise.
34685 (int_retval): Likewise.
34686 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34688 (pltexit): Likewise.
34689 (La_regs): Likewise.
34690 (La_retval): Likewise.
34691 (int_retval): Likewise.
34692 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34694 (pltexit): Likewise.
34695 (La_regs): Likewise.
34696 (La_retval): Likewise.
34697 (int_retval): Likewise.
34698 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34700 (pltexit): Likewise.
34701 (La_regs): Likewise.
34702 (La_retval): Likewise.
34703 (int_retval): Likewise.
34704 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34706 (pltexit): Likewise.
34707 (La_regs): Likewise.
34708 (La_retval): Likewise.
34709 (int_retval): Likewise.
34710 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34712 (pltexit): Likewise.
34713 (La_regs): Likewise.
34714 (La_retval): Likewise.
34715 (int_retval): Likewise.
34716 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34717 macro definitions in tst-audit.h.
34718 * sysdeps/i386/tst-audit.h: New file.
34719 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34720 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34721 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34722 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34723 * sysdeps/sh/tst-audit.h: Likewise.
34724 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34725 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34726 * sysdeps/x86_64/tst-audit.h: Likewise.
34728 2012-07-26 Andreas Jaeger <aj@suse.de>
34730 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34733 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34734 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34735 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34737 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34738 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34739 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34741 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34744 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34746 (si_call_addr, si_syscall, si_arch): Define new macro.
34747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34749 (si_call_addr, si_syscall, si_arch): Define new marcro.
34750 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34752 (si_call_addr, si_syscall, si_arch): Define new macro.
34753 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34755 (si_call_addr, si_syscall, si_arch): Define new macro.
34757 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34761 Change to 2.4.21 where previously 2.4.1.
34762 * sysdeps/unix/sysv/linux/configure: Regenerated.
34763 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34764 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34765 Linux kernel version.
34766 (__ASSUME_STD_AUXV): Remove.
34767 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34769 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34770 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34771 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34772 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34773 (__ASSUME_NETLINK_SUPPORT): Likewise.
34774 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34775 (__no_netlink_support): Remove conditional definition.
34776 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34778 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34779 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34780 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34781 (if_nameindex_ioctl): Remove.
34782 (if_nameindex_netlink): Do not handle __no_netlink_support.
34783 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34785 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34786 Remove conditional code.
34787 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34789 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34791 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34792 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34793 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34795 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34796 [!__ASSUME_STD_AUXV]: Remove conditional code.
34797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34798 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34799 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34801 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34802 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34804 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34806 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34807 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34809 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34811 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34814 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34817 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34818 code unconditional.
34819 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34821 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34823 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34826 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34828 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34831 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34832 code unconditional.
34833 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34835 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34837 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34840 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34841 code unconditional.
34842 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34844 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34846 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34849 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34851 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34852 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34853 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34854 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34855 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34856 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34857 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34858 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34859 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34860 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34861 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34862 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34863 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34864 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34865 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34866 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34867 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34868 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34869 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34871 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34872 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34873 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34875 2012-07-25 Florian Weimer <fweimer@redhat.com>
34877 * Versions.def: Add GLIBC_2.17.
34878 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34879 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34880 Introduce __libc_secure_getenv.
34881 * stdlib/Versions (2.17): Add secure_getenv
34882 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34883 * stdlib/secure-getenv.c: Rename __secure_getenv to
34884 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34885 symbol __secure_getenv for GLIBC_2.0.
34886 * stdlib/tst-secure-getenv.c: New.
34887 * stdlib/Makefile (tests): Add testcase.
34888 * manual/startup.texi (Environment Access): Document
34890 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34891 __libc_secure_getenv.
34892 * inet/ruserpass.c (ruserpass): Likewise.
34893 * malloc/mtrace.c (mtrace): Likewise.
34894 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34895 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34896 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34897 * sysdeps/posix/tempname.c: Likewise. Evaluate
34898 HAVE_SECURE_GETENV.
34899 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34900 __secure_getenv to __libc_secure_getenv.
34901 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34908 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34914 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34916 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34917 (struct La_i86_retval): Likewise.
34918 (struct La_x86_64_regs): Likewise.
34919 (struct La_x86_64_retval): Likewise.
34920 (struct La_x32_regs): Likewise.
34921 (struct La_x32_retval): Likewise.
34922 (struct La_ppc32_regs): Likewise.
34923 (struct La_ppc32_retval): Likewise.
34924 (struct La_ppc64_regs): Likewise.
34925 (struct La_ppc64_retval): Likewise.
34926 (struct La_sh_regs): Likewise.
34927 (struct La_sh_retval): Likewise.
34928 (struct La_s390_32_regs): Likewise.
34929 (struct La_s390_32_retval): Likewise.
34930 (struct La_s390_64_regs): Likewise.
34931 (struct La_s390_64_retval): Likewise.
34932 (struct La_sparc32_regs): Likewise.
34933 (struct La_sparc32_retval): Likewise.
34934 (struct La_sparc64_regs): Likewise.
34935 (struct La_sparc64_retval): Likewise.
34936 (struct audit_ifaces): Remove architecture-specific pltenter and
34938 * sysdeps/i386/ldsodefs.h: New file.
34939 * sysdeps/powerpc/ldsodefs.h: Likewise.
34940 * sysdeps/s390/ldsodefs.h: Likewise.
34941 * sysdeps/sh/ldsodefs.h: Likewise.
34942 * sysdeps/sparc/ldsodefs.h: Likewise.
34943 * sysdeps/x86_64/ldsodefs.h: Likewise.
34945 2012-07-25 Marek Polacek <polacek@redhat.com>
34948 * math/libm-test.inc (yn_test): Add another test.
34949 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34950 to ERANGE when the result is +-Inf.
34951 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34952 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34953 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34954 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34956 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34958 * conform/data/time.h-data (NULL): Use macro-constant. Require
34960 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34962 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34964 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34966 * configure.in <sysdeps resolving>: Correct printing
34968 * configure: Regenerate.
34970 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34972 * math/w_ilogb.c: Include <limits.h>.
34973 * math/w_ilogbl.c: Likewise.
34975 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34977 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34978 va_copy. Document allowing for unavailable va_copy only as
34979 pre-C99 compatibility.
34980 * manual/string.texi (Copying and Concatenation): Use va_copy
34981 instead of __va_copy in concat example.
34983 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34985 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34986 (__sendto): Use create_address_port. Initialize APORT and deallocate
34989 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34990 with O_NOLINK passed to __file_name_lookup.
34992 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34993 with O_NOLINK passed to __file_name_lookup.
34995 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34996 negative N or less than NGIDS.
34998 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34999 type to string_t. Set ERANGE as errno and return it if NAME is not big
35000 enough. Use memcpy instead of strncpy.
35002 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35004 * elf/Makefile (check-data): Remove.
35005 (localplt.data): New vpath directive.
35006 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35007 instead of $(check-data).
35008 * scripts/data/localplt-generic.data: Move to ...
35009 * sysdeps/generic/localplt.data: ... here.
35010 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35011 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35012 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35015 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35018 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35021 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35024 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35027 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35031 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35033 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35034 PPC32 and PPC64 files.
35035 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35036 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35038 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35040 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35041 __makecontext_ret to ...
35042 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35043 ... here and call exit if uc_link is NULL. New file.
35044 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35045 __makecontext_ret.S.
35046 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35047 __makecontext_ret to ...
35048 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35049 ... here and call exit if uc_link is NULL. New file.
35050 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35051 __makecontext_ret.S.
35053 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35055 * elf/elf.h (R_390_IRELATIVE): New definition.
35056 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35057 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35058 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35059 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35060 (elf_machine_lazy_rel): Likewise.
35061 * sysdeps/s390/dl-irel.h: New file.
35062 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35063 * sysdeps/s390/s390-64/memset.S: New asm code.
35064 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35065 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35066 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35067 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35068 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35069 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35070 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35071 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35072 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35073 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35074 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35075 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35076 * sysdeps/s390/s390-32/memset.S: New asm code.
35077 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35079 2012-07-17 Marek Polacek <polacek@redhat.com>
35082 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35083 * sysdeps/s390/s390-64/configure.in: Likewise.
35084 * sysdeps/sparc/configure.in: Likewise.
35085 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35086 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35087 * sysdeps/i386/configure.in: Likewise.
35088 * sysdeps/x86_64/configure.in: Likewise.
35089 * sysdeps/sh/configure.in: Likewise.
35090 * sysdeps/s390/s390-32/configure: Regenerated.
35091 * sysdeps/s390/s390-64/configure: Likewise.
35092 * sysdeps/x86_64/configure: Likewise.
35093 * sysdeps/sh/configure: Likewise.
35094 * sysdeps/powerpc/powerpc64/configure: Likewise.
35095 * sysdeps/powerpc/powerpc32/configure: Likewise.
35096 * sysdeps/sparc/configure: Likwise.
35097 * sysdeps/i386/configure: Likewise.
35099 * elf/dl-open.c: Comment fixes.
35101 2012-07-17 Joseph Myers <joseph@codesourcery.com>
35103 * Makefile [CXX] (check-data): Remove.
35104 [CXX] (c++-types.data): New vpath directive.
35105 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35106 vpath. Do not allow for C++ type data being missing.
35107 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35108 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35109 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35110 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35111 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35112 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35113 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35116 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35119 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35122 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35125 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35128 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35131 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35134 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35137 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35138 definitions to architecture-specific files.
35139 (TLS_IE): Likewise.
35140 (TLS_LD): Likewise.
35141 (TLS_GD): Likewise.
35142 * sysdeps/i386/tls-macros.h: New file.
35143 * sysdeps/powerpc/tls-macros.h: Likewise.
35144 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35145 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35146 * sysdeps/sh/tls-macros.h: Likewise.
35147 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35148 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35149 * sysdeps/x86_64/tls-macros.h: Likewise.
35151 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35153 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35154 zero value for regular exit case.
35156 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35157 (__start_context): Preserve zero value for regular exit case.
35159 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35160 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35162 * manual/setjmp.texi (setcontext): Clarify normal process
35163 termination when uc_link is the null pointer.
35164 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35167 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35169 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35170 preprocessor. Test for each exception mask separately.
35172 2012-07-16 Andreas Jaeger <aj@suse.de>
35174 * po/ru.po: Update from translation team.
35176 2012-07-15 Joseph Myers <joseph@codesourcery.com>
35178 * conform/data/string.h-data (NULL): Use macro-constant. Require
35180 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35181 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35182 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35183 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35186 2012-07-13 Andreas Jaeger <aj@suse.de>
35188 * po/fr.po: Update from translation team.
35190 2012-07-12 Marek Polacek <polacek@redhat.com>
35193 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35194 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35197 2012-07-12 Joseph Myers <joseph@codesourcery.com>
35200 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35201 Change to 2.4.1 where previously 2.4.0.
35202 * sysdeps/unix/sysv/linux/configure: Regenerated.
35203 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35204 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35206 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35207 (__ASSUME_AT_CLKTCK): Remove.
35208 (__ASSUME_AT_PAGESIZE): Likewise.
35209 (__ASSUME_AT_XID): Likewise.
35210 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35211 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35212 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35214 (HAVE_AUX_PAGESIZE): Likewise.
35215 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35216 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35217 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35219 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35223 the temporary buffer used to invoke __gethostbyname2_r,
35224 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35225 host_data / struct gaih_addrtuple.
35226 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35227 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35228 header file nss/nsswitch.h.
35229 * nss/nsswitch.h (global scope): Add definition of implementation
35230 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35231 resolv/nss_dns/dns-host.c).
35233 2012-07-11 Andreas Jaeger <aj@suse.de>
35235 * po/fr.po: Update from translation team.
35237 * po/sv.po: Update from translation team
35238 * po/fr.po: Another update from translation team.
35240 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35242 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35243 for subnormals or multiply small sinh result by itself.
35244 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35247 2012-07-11 David S. Miller <davem@davemloft.net>
35249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35251 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35254 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35255 (INTERNAL_MARK): Shift it here.
35257 2012-07-10 Marek Polacek <polacek@redhat.com>
35260 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35261 libc_cv_asm_global_directive with .globl.
35262 * configure: Regenerated.
35263 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35265 * sysdeps/i386/configure: Regenerated.
35266 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35268 * sysdeps/x86_64/configure: Regenerated.
35269 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35270 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35271 * elf/tst-unique2mod2.c: Likewise.
35272 * elf/tst-unique2mod1.c: Likewise.
35273 * elf/tst-unique1mod2.c: Likewise.
35274 * elf/tst-unique1mod1.c: Likewise.
35275 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35276 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35277 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35278 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35279 * sysdeps/mach/sysdep.h: Likewise.
35280 * sysdeps/i386/sysdep.h: Likewise.
35281 * sysdeps/i386/i386-mcount.S: Likewise.
35282 * sysdeps/x86_64/_mcount.S: Likewise.
35283 * sysdeps/x86_64/sysdep.h: Likewise.
35284 * sysdeps/sh/_mcount.S: Likewise.
35285 * sysdeps/sh/sysdep.h: Likewise.
35286 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35287 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35288 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35289 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35290 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35291 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35292 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35293 * locale/localeinfo.h: Likewise.
35294 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35295 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35297 2012-07-09 Roland McGrath <roland@hack.frob.com>
35300 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35302 * manual/message.texi (The Uniforum approach): Likewise.
35303 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35304 (glibc iconv Implementation): Likewise.
35306 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35309 * math/s_clog.c (__clog): Avoid scaling a value down where that
35310 could result in underflow.
35311 * math/s_clog10.c (__clog10): Likewise.
35312 * math/s_clog10f.c (__clog10f): Likewise.
35313 * math/s_clog10l.c (__clog10l): Likewise.
35314 * math/s_clogf.c (__clogf): Likewise.
35315 * math/s_clogl.c (__clogl): Likewise.
35316 * math/libm-test.inc (clog_test): Add more tests.
35317 (clog10_test): Likewise.
35318 * sysdeps/i386/fpu/libm-test-ulps: Update.
35319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35321 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35324 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35325 by 7 not 8 to examine high bit of fractional part.
35328 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35329 for call to __mcount_internal.
35330 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35331 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35332 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35334 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35337 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35338 approximation for values within 0x1p-13f of an odd multiple of
35340 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35341 exception. Add more tests.
35342 * sysdeps/i386/fpu/libm-test-ulps: Update.
35345 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35346 inputs and return -1 for them. Do not check for +Inf in case not
35347 reachable for +Inf.
35348 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35349 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35350 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35351 and return -1 for them. Do not check for +Inf in case not
35352 reachable for +Inf.
35353 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35355 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35356 and return -1 for them. Do not check for +Inf in case not
35357 reachable for +Inf.
35358 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35359 spurious underflow.
35360 * sysdeps/i386/fpu/libm-test-ulps: Update.
35361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35363 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35365 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35367 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35371 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35372 could result in spurious underflow. Scale down values above
35373 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35374 * math/s_csqrtf.c (__csqrtf): Likewise.
35375 * math/s_csqrtl.c (__csqrtl): Likewise.
35376 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35377 spurious underflow.
35378 * sysdeps/i386/fpu/libm-test-ulps: Update.
35379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35381 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35383 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35385 * catgets/xopen-msg.awk: New file.
35386 * catgets/xopen-msg.sed: Removed.
35388 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35390 * intl/po2test.awk: New file.
35391 * intl/po2test.sed: Removed.
35393 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35396 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35397 or multiply small sinh result by itself.
35398 * math/s_ctanf.c (__ctanf): Likewise.
35399 * math/s_ctanh.c (__ctanh): Likewise.
35400 * math/s_ctanhf.c (__ctanhf): Likewise.
35401 * math/s_ctanhl.c (__ctanhl): Likewise.
35402 * math/s_ctanl.c (__ctanl): Likewise.
35403 * math/libm-test.inc (ctan_test_tonearest): New function.
35404 (ctan_test_towardzero): Likewise.
35405 (ctan_test_downward): Likewise.
35406 (ctan_test_upward): Likewise.
35407 (ctanh_test_tonearest): Likewise.
35408 (ctanh_test_towardzero): Likewise.
35409 (ctanh_test_downward): Likewise.
35410 (ctanh_test_upward): Likewise.
35411 (main): Call these new functions.
35412 * sysdeps/i386/fpu/libm-test-ulps: Update.
35413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35415 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35417 * .gitignore: Delete /ports entry.
35419 2012-07-03 Andreas Jaeger <aj@suse.de>
35421 * po/bg.po: Update from translation team.
35422 * po/cs.po: Likewise.
35423 * po/de.po: Likewise.
35424 * po/hr.po: Likewise.
35425 * po/nl.pl: Likewise.
35426 * po/pl.po: Likewise.
35427 * po/vi.po: Likewise.
35429 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35431 * Makeconfig [!+link] (+link-before-libc): New variable.
35432 [!+link] (+link-after-libc): Likewise.
35433 [!+link] (+link-tests): Likewise.
35434 [!+link] (+link): Define in terms of $(+link-before-libc) and
35435 $(+link-after-libc).
35436 [!+link-static] (+link-static-before-libc): New variable.
35437 [!+link-static] (+link-static-after-libc): Likewise.
35438 [!+link-static] (+link-static-tests): Likewise.
35439 [!+link-static] (+link-static): Define in terms of
35440 $(+link-static-before-libc) and $(+link-static-after-libc).
35441 [build-shared] (link-libc-before-gnulib): New variable.
35442 [build-shared] (link-libc-tests): Likewise.
35443 [build-shared] (link-libc): Define in terms of
35444 $(link-libc-before-gnulib).
35445 [!build-shared] (link-libc-tests): New variable.
35446 (link-libc-static-tests): New variable.
35447 [!gnulib] (gnulib-arch): New variable.
35448 [!gnulib] (gnulib-tests): Likewise.
35449 [!gnulib] (static-gnulib-arch): Likewise.
35450 [!gnulib] (static-gnulib-tests): Likewise.
35451 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35452 Define with "=" instead of ":=".
35453 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35454 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35455 * Rules (binaries-all-notests): New variable.
35456 (binaries-all-tests): Likewise.
35457 (binaries-static-notests): Likewise.
35458 (binaries-static-tests): Likewise.
35459 (binaries-all): Define using $(binaries-all-notests) and
35460 $(binaries-all-tests).
35461 (binaries-static): Define using $(binaries-static-notests) and
35462 $(binaries-static-tests).
35463 (binaries-shared-tests): New variable.
35464 (binaries-shared-notests): Likewise.
35465 (binaries-shared): Remove variable.
35466 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35467 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35468 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35469 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35470 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35471 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35472 * elf/Makefile (sln-modules): New variable.
35473 (extra-objs): Add $(sln-modules:=.o).
35474 (ldconfig-modules): Add static-stubs.
35475 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35476 * elf/static-stubs.c: New file.
35479 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35480 by 7 not 8 to examine high bit of fractional part. Use volatile
35481 variables when splitting into final array of floats if
35482 __FLT_EVAL_METHOD__ != 0.
35483 * math/libm-test.inc (cos_test): Add another test.
35484 (sin_test): Likewise.
35485 * sysdeps/i386/fpu/libm-test-ulps: Update.
35488 * math/libm-test.inc (cosh_test): Add more tests.
35490 * version.h (RELEASE): Set to "development".
35491 (VERSION): Set to "2.16.90".
35493 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35495 * NEWS: Update copyright. Remove last-updated date.
35496 Mention math library bug fixes and timezone data changes.
35497 * README: Mention GNU/Hurd, x32, and HPPA support status.
35499 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35501 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35503 2012-06-27 Andreas Jaeger <aj@suse.de>
35505 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35507 2012-06-25 Andreas Jaeger <aj@suse.de>
35509 * sysdeps/s390/fpu/libm-test-ulps: Update.
35511 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35512 Thomas Schwinge <thomas@codesourcery.com>
35514 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35515 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35519 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35521 * sysdeps/mach/start.c: Remove file.
35522 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35523 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35524 * sysdeps/sh/init-first.c: Likewise.
35526 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35527 registers for frame unwinding purposes, add CFI directives.
35528 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35529 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35530 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35533 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35534 __fortify_fail returning.
35535 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35537 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35538 sysdeps/sh/____longjmp_chk.S.
35539 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35540 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35541 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35542 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35544 * sysdeps/sh/abort-instr.h: New file.
35545 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35546 process in case exit returns.
35548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35549 initialize the GOT register before use.
35551 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35552 calculation of ARGC > 4.
35554 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35555 meaningful names to some local labels.
35557 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35558 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35560 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35561 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35562 (__arch_compare_and_exchange_val_16_acq): Likewise.
35563 (__arch_compare_and_exchange_val_32_acq): Likewise.
35564 (atomic_exchange_and_add): Fix gUSA sequence.
35565 (atomic_add): Likewise.
35566 (atomic_add_negative): Likewise.
35567 (atomic_add_zero): Likewise.
35568 (atomic_bit_test_set): Likewise.
35570 2012-06-22 Andreas Schwab <schwab@redhat.com>
35573 * include/link.h (struct link_map): Add l_free_initfini.
35574 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35576 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35577 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35578 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35581 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35583 * configure.in: Use AC_LANG_SOURCE.
35584 * configure: Regenerate.
35586 2012-06-22 Roland McGrath <roland@hack.frob.com>
35588 * configure.in (libc_cv_localstatedir): New substituted variable.
35589 * configure: Regenerated.
35590 * config.make.in (localstatedir): New variable, substituted from
35591 libc_cv_localstatedir.
35592 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35593 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35594 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35595 * sysdeps/gnu/configure: Regenerated.
35597 2012-06-21 Jeff Law <law@redhat.com>
35600 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35601 free. Simplify list management for _LIBC case.
35603 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35606 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35607 Clear sign bit of 64-bit integer value before comparing against
35610 * sysdeps/mach/configure: Regenerated.
35612 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35615 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35617 2012-06-21 Jeff Law <law@redhat.com>
35620 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35621 uint16_t for elements in the "seen" array to avoid char overflows.
35622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35623 * elf/dl-open.c (dl_open_worker): Likewise.
35625 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35627 * scripts/list-sources.sh: Scan PORTS for translations.
35628 * po/libc.pot: Regenerated.
35630 2012-06-21 Andreas Jaeger <aj@suse.de>
35633 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35635 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35636 * bits/byteswap-16.h (__bswap_16): Likewise.
35637 * bits/byteswap.h (__bswap_constant_16): Likewise.
35639 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35642 * sysdeps/i386/fpu_control.h: Removed.
35643 * sysdeps/x86_64/fpu_control.h: Moved to ...
35644 * sysdeps/x86/fpu_control.h: Here.
35646 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35647 (_FPU_SETCW): Likewise.
35649 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35652 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35653 * sysdeps/x86/fpu/bits/mathinline.h: This.
35654 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35658 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35659 functions if __x86_64__ is defined.
35661 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35663 * string/endian.h: Add !__ASSEMBLER__ condition for including
35664 conversion interfaces.
35666 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35669 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35670 of ABS(x) in calculating zero to negative powers other than odd
35672 * math/libm-test.inc (pow_test): Add more tests.
35674 2012-06-15 Andreas Jaeger <aj@suse.de>
35676 * manual/contrib.texi (Contributors): Update entry of Liubov
35677 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35680 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35682 * string/string.h: Add __wur to GNU version of strerror_r.
35684 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35687 * string/Makefile (tests): Add tst-strtok_r.
35688 * string/tst-strtok_r.c: New file.
35689 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35690 RAX_LP/RDX_LP on SAVE_PTR.
35692 2012-06-14 Roland McGrath <roland@hack.frob.com>
35694 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35696 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35698 * libm_test.inc (csqrt_test): Allow more spurious underflow
35700 (j0_test): Likewise.
35701 (j1_test): Likewise.
35702 (y0_test): Likewise.
35703 (y1_test): Likewise.
35705 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35707 * po/Makefile (libc.pot): Use UTF-8 charset.
35709 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35712 Suppress sign-conversion warning from FD_SET.
35713 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35714 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35715 not unsigned long int.
35716 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35718 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35722 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35723 __extern_always_inline instead of __extern_inline.
35724 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35725 (__signbit): Likewise.
35726 (__signbitl): Support C++ namespace.
35727 (lrintf): New inline function.
35729 (llrintf): Likewise.
35730 (llrint): Likewise.
35740 (floorf): Likewise.
35741 (nearbyint): Likewise.
35742 (nearbyintf): Likewise.
35744 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35746 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35747 non-default versions.
35749 2012-06-11 Roland McGrath <roland@hack.frob.com>
35752 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35754 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35756 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35757 (FE_UPWARD, FE_DOWNWARD): Don't define.
35758 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35759 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35761 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35763 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35764 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35766 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35768 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35769 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35770 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35771 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35773 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35776 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35777 * sysdeps/i386/fpu/Implies: New file.
35778 * sysdeps/x86_64/fpu/Implies: Likewise.
35779 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35780 * sysdeps/x86/fpu/bits/fenv.h: This.
35782 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35785 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35788 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35789 character 0xffff that matches the last element of the
35792 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35794 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35797 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35799 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35800 values higher than 25.6283.
35802 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35804 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35805 subnormal exponent extraction and add some __builtin_expect.
35806 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35807 Fix for subnormal mantissa calculation.
35809 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35811 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35812 cpu2 is -1 and errno is not ENOSYS.
35814 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35817 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35818 * sysdeps/x86/bits/string.h: This.
35819 * sysdeps/x86_64/bits/string.h: Removed.
35821 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35822 if not compiling for x86-64, but compiling for >= i486.
35824 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35825 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35828 New macro from Linux kernel 3.4.0.
35829 (FP_XSTATE_MAGIC2): Likewise.
35830 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35831 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35832 (struct _fpx_sw_bytes): New struct.
35833 (struct _xsave_hdr): Likewise.
35834 (struct _ymmh_state): Likewise.
35835 (struct _xstate): Likewise.
35837 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35838 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35839 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35840 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35841 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35842 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35844 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35845 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35846 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35847 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35848 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35849 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35851 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35854 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35855 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35856 (sysdep_headers): Include sys/platform/ppc.h.
35857 * sysdeps/powerpc/test-gettimebase.c: Test for
35858 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35859 * manual/Makefile (appendices): Include platform.texi.
35860 * manual/contrib.texi (Contributors): Update @node pointers.
35861 * manual/maint.texi (Maintenance): Likewise.
35862 (Platform): New node.
35863 * manual/platform.texi: New file. Document the new features.
35865 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35866 Jakub Jelinek <jakub@redhat.com>
35869 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35870 where __builtin_expect is unavailable.
35872 2012-06-03 David S. Miller <davem@davemloft.net>
35874 * stdlib/longlong.h: Updated from GCC.
35876 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35879 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35880 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35883 (GLIBC_2.16): Likewise.
35885 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35887 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35889 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35892 (default-abi): New variable.
35893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35894 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35896 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35898 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35900 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35903 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35904 definition. Document in comment.
35906 2012-06-01 David S. Miller <davem@davemloft.net>
35908 * stdlib/longlong.h: Updated from GCC.
35910 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35913 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35914 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35915 sys/debugreg.h sys/io.h here.
35916 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35917 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35919 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35920 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35921 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35922 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35923 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35924 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35926 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35927 Define only if __x86_64__ is defined.
35929 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35932 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35933 Use int64_t for variable i.
35934 * math/libm-test.inc (fmod_test): Add more tests.
35936 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35937 z computation is not scheduled after fetestexcept.
35938 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35939 Use math_force_eval instead of asm to ensure calculation scheduled
35940 before exception test.
35941 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35942 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35944 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35947 computation is not scheduled after fetestexcept.
35949 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35952 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35953 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35955 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35957 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35958 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35960 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35963 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35965 (__WCHAR_MIN): Support __WORDSIZE == 64.
35966 (__WCHAR_MAX): Likewise.
35968 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35969 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35972 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35973 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35976 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35977 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35979 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35980 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35982 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35983 Defined to 1 if __x86_64__ isn't defined.
35984 (_STAT_VER_LINUX_OLD): New.
35985 (st_atime): Remove duplicate.
35986 (st_mtime): Likewise.
35987 (st_ctime): Likewise.
35989 2012-05-31 David S. Miller <davem@davemloft.net>
35991 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35994 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35996 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36000 * elf/dl-reloc.c: Include <_itoa.h>.
36001 (_dl_reloc_bad_type): Remove use of INTUSE.
36002 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36003 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36004 * stdio-common/psiginfo.c (psiginfo): Likewise.
36005 * stdio-common/psignal.c (psignal): Likewise.
36006 * string/strsignal.c (strsignal): Likewise.
36007 * include/signal.h (_sys_siglist): Declare hidden proto.
36008 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36009 INTVARDEF with libc_hidden_data_def.
36010 * stdio-common/itoa-udigits.c: Likewise.
36011 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36012 (_itoa_lower_digits_internal): Remove declaration.
36013 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36014 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36015 (_sys_sigabbrev_internal): Remove aliases.
36016 (_sys_siglist): Define hidden alias.
36018 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36023 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36026 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36027 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36029 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36030 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36031 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36032 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36033 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36034 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36036 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36037 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36038 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36040 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36048 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36049 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36050 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36052 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36053 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36054 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36055 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36056 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36057 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36059 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36060 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36062 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36063 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36065 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36067 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36069 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36070 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36072 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36074 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36075 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36076 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36078 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36080 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36082 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36084 * math/math.h (M_El): Use two more decimal places.
36085 (M_LOG2El): Likewise.
36086 (M_LOG10El): Likewise.
36087 (M_LN2l): Likewise.
36088 (M_LN10l): Likewise.
36090 (M_PI_2l): Likewise.
36091 (M_PI_4l): Likewise.
36092 (M_1_PIl): Likewise.
36093 (M_2_PIl): Likewise.
36094 (M_2_SQRTPIl): Likewise.
36095 (M_SQRT2l): Likewise.
36096 (M_SQRT1_2l): Likewise.
36098 2012-05-31 David S. Miller <davem@davemloft.net>
36100 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36101 values between float registers.
36102 * sysdeps/sparc/sparc64/memset.S: Likewise.
36103 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36105 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36107 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36108 -D_FORTIFY_SOURCE=1.
36109 (CPPFLAGS-tst-longjmp_chk.c): Define.
36110 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36111 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36112 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36113 CFLAGS-tst-wchar-h.c.
36115 2012-05-31 Marek Polacek <polacek@redhat.com>
36118 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36119 __endmntent_internal): Remove declaration.
36120 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36121 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36122 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36124 2012-05-30 David S. Miller <davem@davemloft.net>
36126 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36127 (___Q_simulate_exceptions): Use real FP ops rather than writing
36129 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36132 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36135 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36136 * sysdeps/x86/bits/xtitypes.h: This.
36138 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36139 * sysdeps/x86/bits/wordsize.h: This.
36141 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36142 * sysdeps/x86/bits/huge_vall.h: This.
36144 * sysdeps/i386/bits/select.h: Removed.
36145 * sysdeps/x86_64/bits/select.h: Renamed to ...
36146 * sysdeps/x86/bits/select.h: This.
36148 * sysdeps/i386/bits/setjmp.h: Removed.
36149 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36150 * sysdeps/x86/bits/setjmp.h: This.
36152 * sysdeps/i386/bits/mathdef.h: Removed.
36153 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36154 * sysdeps/x86/bits/mathdef.h: This.
36156 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36159 * include/sys/socket.h (__connect_internal)
36160 (__libc_sa_len_internal): Remove declaration.
36161 (__connect, __libc_sa_len): Declare hidden_proto.
36162 (SA_LEN): Remove use of INTUSE.
36163 * socket/connect.c: Add libc_hidden_def.
36164 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36165 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36166 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36168 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36169 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36170 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36171 of adding _internal alias.
36173 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36176 * sysdeps/i386/bits/link.h: Removed.
36177 * sysdeps/i386/bits/linkmap.h: Likewise.
36178 * sysdeps/x86_64/bits/link.h: Renamed to ...
36179 * sysdeps/x86/bits/link.h: This.
36180 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36181 * sysdeps/x86/bits/linkmap.h: This.
36183 * sysdeps/i386/bits/endian.h: Removed.
36184 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36185 * sysdeps/x86/bits/endian.h: This.
36187 * sysdeps/i386/bits/byteswap.h: Removed.
36188 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36189 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36190 * sysdeps/x86/bits/byteswap.h: This.
36191 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36192 * sysdeps/x86/bits/byteswap-16.h: This.
36193 * sysdeps/i386/Implies: Add x86.
36194 * sysdeps/x86_64/Implies: Likewise.
36196 2012-05-30 David S. Miller <davem@davemloft.net>
36198 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36199 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36200 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36201 (FP_TRAPPING_EXCEPTIONS): Define.
36202 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36203 (FP_TRAPPING_EXCEPTIONS): Define.
36204 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36205 subnormals only when inexact has been signalled or underflow
36206 exceptions are enabled.
36207 (_FP_PACK_CANONICAL): Likewise.
36209 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36213 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36215 2012-05-30 Richard Henderson <rth@twiddle.net>
36217 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36218 with #ifndef NOT_IN_libc.
36220 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36221 marked to avoid plt entry.
36223 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36226 * Makeconfig (default-abi): New macro.
36227 (abi-includes): Likewise.
36228 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36229 $(abi-$(default-abi)-lib-soname) for soname if defined.
36230 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36232 * Makefile (installed-stubs): Likewise.
36233 * include/stubs-biarch.h: Removed.
36234 * scripts/lib-names.awk: Only handle one library at a time.
36235 * scripts/soversions.awk: Remove WORDSIZE support.
36236 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36238 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36240 (syscall-list-default-condition): Likewise.
36241 (syscall-list-default-condition): Likewise.
36242 (syscall-list-includes): Likewise.
36243 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36244 syscall-list-* with abi-*. Handle undefined abi-variants.
36245 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36246 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36247 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36248 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36249 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36250 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36252 (syscall-list-32-options): Likewise.
36253 (syscall-list-32-condition): Likewise.
36254 (syscall-list-64-options): Likewise.
36255 (syscall-list-64-condition): Likewise.
36256 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36258 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36261 (abi-64-ld-soname): New macro.
36262 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36263 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36266 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36267 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36269 2012-05-30 Joseph Myers <joseph@codesourcery.com>
36271 * sysdeps/unix/sysv/linux/kernel-features.h
36272 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36273 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36274 include <kernel-features.h>.
36275 [!__NR_ftruncate64]: Remove conditional code.
36276 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36277 [__NR_ftruncate64]: Make code unconditional.
36278 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36279 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36280 include <kernel-features.h>.
36281 [!__NR_ftruncate64]: Remove conditional code.
36282 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36283 [__NR_ftruncate64]: Make code unconditional.
36284 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36286 include <kernel-features.h>.
36287 [!__NR_ftruncate64]: Remove conditional code.
36288 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36289 [__NR_ftruncate64]: Make code unconditional.
36290 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36292 include <kernel-features.h>.
36293 [!__NR_ftruncate64]: Remove conditional code.
36294 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36295 [__NR_ftruncate64]: Make code unconditional.
36296 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36298 * configure.in (libc_cv_fpie): Weaken to a compile test using
36299 LIBC_TRY_CC_OPTION.
36300 * configure: Regenerated.
36302 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36317 2012-05-27 David S. Miller <davem@davemloft.net>
36319 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36321 (__Q_simulate_exceptions): Return void. Change to simulate
36322 exceptions by writing into the %fsr.
36323 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36324 (__Qp_handle_exceptions): Likewise.
36326 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36327 __Qp_handle_exceptions.
36328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36329 __Qp_handle_exceptions.
36330 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36331 as unused and give dummy FP_RND_NEAREST initializer.
36332 (FP_INHIBIT_RESULTS): Define.
36333 (___Q_simulate_exceptions): Update declaration.
36334 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36336 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36337 as unused and give dummy FP_RND_NEAREST initializer.
36338 (__Qp_handle_exceptions): Update declaration.
36339 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36342 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36344 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36345 the temporary FPU control word.
36346 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36347 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36348 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36349 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36350 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36351 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36352 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36353 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36354 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36355 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36356 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36358 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36360 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36363 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36365 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36366 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36367 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36368 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36370 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36371 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36374 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36376 * po/h.po: Update from translation team.
36378 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36380 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36382 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36383 handling of denormals.
36384 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36385 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36386 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36387 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36389 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36393 2012-05-26 Marek Polacek <polacek@redhat.com>
36396 * math/libm-test.inc (fma_test): Don't always expect underflow
36399 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36402 * elf/tst-execstack.c: Include stackinfo.h.
36403 (do_test): Adjust test case to ensure that pthread_getattr_np
36404 behaviour remains the same after marking stack executable.
36406 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36408 * sysdeps/unix/sysv/linux/kernel-features.h
36409 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36410 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36412 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36413 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36414 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36416 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36417 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36419 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36421 * configure.in: Define the default includes to being none.
36422 * configure: Regenerated.
36424 2012-05-25 Roland McGrath <roland@hack.frob.com>
36426 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36427 * sysdeps/x86_64/setjmp.S: Likewise.
36428 * sysdeps/i386/bsd-setjmp.S: Likewise.
36429 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36430 * sysdeps/i386/setjmp.S: Likewise.
36431 * sysdeps/i386/__longjmp.S: Likewise.
36432 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36433 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36435 * include/stap-probe.h: New file.
36436 * configure.in: Handle --enable-systemtap.
36437 * configure: Regenerated.
36438 * config.h.in (USE_STAP_PROBE): New #undef.
36439 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36440 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36441 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36443 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36446 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36447 to 2.4.0 where earlier.
36448 * sysdeps/unix/sysv/linux/configure: Regenerated.
36449 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36450 <kernel-features.h>.
36451 [__ASSUME_32BITUIDS]: Make code unconditional.
36452 [!__ASSUME_32BITUIDS]: Remove conditional code.
36453 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36454 <kernel-features.h>.
36455 [__ASSUME_32BITUIDS]: Make code unconditional.
36456 [!__ASSUME_32BITUIDS]: Remove conditional code.
36457 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36458 [__ASSUME_32BITUIDS]: Make code unconditional.
36459 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36460 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36461 <kernel-features.h>.
36462 [__ASSUME_32BITUIDS]: Make code unconditional.
36463 [!__ASSUME_32BITUIDS]: Remove conditional code.
36464 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36465 <kernel-features.h>.
36466 [__ASSUME_32BITUIDS]: Make code unconditional.
36467 [!__ASSUME_32BITUIDS]: Remove conditional code.
36468 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36469 <kernel-features.h>.
36470 [__ASSUME_32BITUIDS]: Make code unconditional.
36471 [!__ASSUME_32BITUIDS]: Remove conditional code.
36472 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36473 <kernel-features.h>.
36474 [__ASSUME_32BITUIDS]: Make code unconditional.
36475 [!__ASSUME_32BITUIDS]: Remove conditional code.
36476 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36477 <kernel-features.h>.
36478 [__ASSUME_32BITUIDS]: Make code unconditional.
36479 [!__ASSUME_32BITUIDS]: Remove conditional code.
36480 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36481 <kernel-features.h>.
36482 [__ASSUME_32BITUIDS]: Make code unconditional.
36483 [!__ASSUME_32BITUIDS]: Remove conditional code.
36484 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36485 <kernel-features.h>.
36486 [__ASSUME_32BITUIDS]: Make code unconditional.
36487 [!__ASSUME_32BITUIDS]: Remove conditional code.
36488 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36489 <kernel-features.h>.
36490 [__ASSUME_32BITUIDS]: Make code unconditional.
36491 [!__ASSUME_32BITUIDS]: Remove conditional code.
36492 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36493 <kernel-features.h>.
36494 [__ASSUME_32BITUIDS]: Make code unconditional.
36495 [!__ASSUME_32BITUIDS]: Remove conditional code.
36496 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36497 <kernel-features.h>.
36498 [__ASSUME_32BITUIDS]: Make code unconditional.
36499 [!__ASSUME_32BITUIDS]: Remove conditional code.
36500 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36501 <kernel-features.h>.
36502 [__NR_setresgid] (__setresgid): Do not declare.
36503 [__ASSUME_32BITUIDS]: Make code unconditional.
36504 [!__ASSUME_32BITUIDS]: Remove conditional code.
36505 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36506 <kernel-features.h>.
36507 [__NR_setresuid] (__setresuid): Do not declare.
36508 [__ASSUME_32BITUIDS]: Make code unconditional.
36509 [!__ASSUME_32BITUIDS]: Remove conditional code.
36510 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36511 <kernel-features.h>.
36512 [__ASSUME_32BITUIDS]: Make code unconditional.
36513 [!__ASSUME_32BITUIDS]: Remove conditional code.
36514 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36515 <kernel-features.h>.
36516 [__ASSUME_32BITUIDS]: Make code unconditional.
36517 [!__ASSUME_32BITUIDS]: Remove conditional code.
36518 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36519 <kernel-features.h>.
36520 [__ASSUME_32BITUIDS]: Make code unconditional.
36521 [!__ASSUME_32BITUIDS]: Remove conditional code.
36522 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36523 <kernel-features.h>.
36524 [__ASSUME_32BITUIDS]: Make code unconditional.
36525 [!__ASSUME_32BITUIDS]: Remove conditional code.
36526 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36527 <kernel-features.h>.
36528 [__ASSUME_32BITUIDS]: Make code unconditional.
36529 [!__ASSUME_32BITUIDS]: Remove conditional code.
36530 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36531 <kernel-features.h>.
36532 [__ASSUME_32BITUIDS]: Make code unconditional.
36533 [!__ASSUME_32BITUIDS]: Remove conditional code.
36534 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36535 <kernel-features.h>.
36536 [__ASSUME_32BITUIDS]: Make code unconditional.
36537 [!__ASSUME_32BITUIDS]: Remove conditional code.
36538 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36539 <kernel-features.h>.
36540 [__ASSUME_32BITUIDS]: Make code unconditional.
36541 [!__ASSUME_32BITUIDS]: Remove conditional code.
36542 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36543 <kernel-features.h>.
36544 [__ASSUME_32BITUIDS]: Make code unconditional.
36545 [!__ASSUME_32BITUIDS]: Remove conditional code.
36546 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36547 <kernel-features.h>.
36548 [__ASSUME_32BITUIDS]: Make code unconditional.
36549 [!__ASSUME_32BITUIDS]: Remove conditional code.
36550 * sysdeps/unix/sysv/linux/kernel-features.h
36551 (__ASSUME_SETRESUID_SYSCALL): Remove.
36552 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36553 (__ASSUME_32BITUIDS): Likewise.
36554 (__ASSUME_LDT_WORKS): Likewise.
36555 (__ASSUME_O_DIRECTORY): Likewise.
36556 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36557 architecture but not kernel version.
36558 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36559 (__ASSUME_MMAP2_SYSCALL): Likewise.
36560 (__ASSUME_STAT64_SYSCALL): Likewise.
36561 (__ASSUME_IPC64): Likewise.
36562 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36563 <kernel-features.h>.
36564 [__ASSUME_32BITUIDS]: Make code unconditional.
36565 [!__ASSUME_32BITUIDS]: Remove conditional code.
36566 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36567 <kernel-features.h>.
36568 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36569 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36570 132096]: Remove conditional code.
36571 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36572 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36573 <kernel-features.h>.
36574 [__ASSUME_32BITUIDS]: Make code unconditional.
36575 [!__ASSUME_32BITUIDS]: Remove conditional code.
36576 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36577 <kernel-features.h>.
36578 [__ASSUME_32BITUIDS]: Make code unconditional.
36579 [!__ASSUME_32BITUIDS]: Remove conditional code.
36580 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36581 <kernel-features.h>.
36582 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36584 (__setresgid): Do not declare.
36585 [__ASSUME_32BITUIDS]: Make code unconditional.
36586 [!__ASSUME_32BITUIDS]: Remove conditional code.
36587 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36588 <kernel-features.h>.
36589 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36591 (__setresuid): Do not declare.
36592 [__ASSUME_32BITUIDS]: Make code unconditional.
36593 [!__ASSUME_32BITUIDS]: Remove conditional code.
36594 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36595 <kernel-features.h>.
36596 [__ASSUME_32BITUIDS]: Make code unconditional.
36597 [!__ASSUME_32BITUIDS]: Remove conditional code.
36598 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36599 <kernel-features.h>.
36600 [__ASSUME_32BITUIDS]: Make code unconditional.
36601 [!__ASSUME_32BITUIDS]: Remove conditional code.
36603 2012-05-25 Richard Henderson <rth@twiddle.net>
36605 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36606 dl_hwcap to ifunc resolver.
36607 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36609 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36610 dl_hwcap to ifunc resolver.
36611 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36613 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36616 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36617 for |x| <= 2**-26, not 2**-57.
36618 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36621 2012-05-24 Jeff Law <law@redhat.com>
36623 * stdio-common/Makefile (tests): Add bug25.
36624 * stdio-common/bug25.c: New test.
36626 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36629 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36630 multiple of MALLOC_ALIGNMENT in size.
36631 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36633 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36635 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36637 (FILENAME_MAX): Use macro-int-constant.
36638 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36639 (_IOFBF): Use macro-int-constant.
36640 (_IOLBF): Likewise.
36641 (_IONBF): Likewise.
36642 (SEEK_CUR): Likewise.
36643 (SEEK_END): Likewise.
36644 (SEEK_SET): Likewise.
36645 (TMP_MAX): Likewise.
36646 (EOF): Use macro-int-constant. Require < 0.
36647 (NULL): Use macro-constant. Require == 0.
36648 (stdin): Require type to be FILE *.
36649 (stdout): Likewise.
36650 (stderr): Likewise.
36651 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36652 macro-int-constant.
36653 (EXIT_SUCCESS): Likewise.
36654 (NULL): Use macro-constant. Require == 0.
36655 (RAND_MAX): Use macro-int-constant.
36656 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36657 [C99-based standards] (strtof): Require function.
36658 [C99-based standards] (strtold): Likewise.
36659 [C99-based standards] (strtoll): Likewise.
36660 [C99-based standards] (strtoull): Likewise.
36661 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36662 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36663 [ISO || ISO99 || ISO11] (math.h): Likewise.
36664 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36665 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36668 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36671 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36672 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36673 * intl/dgettext.c (DCGETTEXT): Likewise.
36674 * intl/gettext.c (DCGETTEXT): Likewise.
36675 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36676 * posix/regex_internal.h (gettext): Likewise.
36677 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36678 Remove declaration.
36679 * include/argz.h (__argz_count_internal)
36680 (__argz_stringify_internal): Remove declaration.
36681 (__argz_count, __argz_stringify): Declare hidden proto.
36682 * intl/dcgettext.c: Remove use of INTDEF.
36683 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36684 * string/argz-stringify.c: Likewise.
36685 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36686 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36687 Declare hidden proto.
36688 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36689 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36690 Declare hidden proto.
36691 * include/stdio.h (__asprintf_internal): Don't declare.
36692 (__asprintf): Don't define as macro. Declare hidden proto.
36693 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36694 (__fsetlocking): Declare hidden proto.
36695 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36696 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36698 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36699 (_IO_setlinebuf): Remove use of INTUSE.
36700 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36701 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36702 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36703 Remove declaration.
36704 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36705 (_IO_do_flush): Remove use of INTUSE.
36706 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36707 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36708 (_IO_adjust_column, _IO_least_wmarker)
36709 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36710 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36711 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36712 (_IO_default_doallocate, _IO_wdefault_doallocate)
36713 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36714 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36715 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36716 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36717 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36718 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36719 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36720 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36721 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36722 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36723 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36724 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36725 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36727 (_IO_flush_all_internal, _IO_adjust_column_internal)
36728 (_IO_default_uflow_internal, _IO_default_finish_internal)
36729 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36730 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36731 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36732 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36733 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36734 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36735 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36736 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36737 (_IO_file_close_internal, _IO_file_close_it_internal)
36738 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36739 (_IO_file_init_internal, _IO_file_attach_internal)
36740 (_IO_file_fopen_internal, _IO_file_read_internal)
36741 (_IO_file_sync_internal, _IO_file_seek_internal)
36742 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36743 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36744 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36745 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36746 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36747 (_IO_list_all_internal, _IO_link_in_internal)
36748 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36749 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36750 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36751 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36752 (_IO_do_write_internal, _IO_padn_internal)
36753 (_IO_getline_info_internal, _IO_getline_internal)
36754 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36755 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36756 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36757 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36758 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36759 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36760 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36761 with libc_hidden_ver, remove use of INTUSE.
36762 * libio/genops.c: Likewise.
36763 * libio/freopen.c: Likewise.
36764 * libio/freopen64.c: Likewise.
36765 * libio/iofclose.c: Likewise.
36766 * libio/iofdopen.c: Likewise.
36767 * libio/iofflush.c: Likewise.
36768 * libio/iofflush_u.c: Likewise.
36769 * libio/iofgets.c: Likewise.
36770 * libio/iofgets_u.c: Likewise.
36771 * libio/iofopen.c: Likewise.
36772 * libio/iofopncook.c: Likewise.
36773 * libio/iofread.c: Likewise.
36774 * libio/iofread_u.c: Likewise.
36775 * libio/ioftell.c: Likewise.
36776 * libio/iofwrite.c: Likewise.
36777 * libio/iogetline.c: Likewise.
36778 * libio/iogets.c: Likewise.
36779 * libio/iogetwline.c: Likewise.
36780 * libio/iopadn.c: Likewise.
36781 * libio/iopopen.c: Likewise.
36782 * libio/ioseekoff.c: Likewise.
36783 * libio/ioseekpos.c: Likewise.
36784 * libio/iosetbuffer.c: Likewise.
36785 * libio/iosetvbuf.c: Likewise.
36786 * libio/ioungetc.c: Likewise.
36787 * libio/ioungetwc.c: Likewise.
36788 * libio/iovdprintf.c: Likewise.
36789 * libio/iovsprintf.c: Likewise.
36790 * libio/iovsscanf.c: Likewise.
36791 * libio/memstream.c: Likewise.
36792 * libio/obprintf.c: Likewise.
36793 * libio/oldfileops.c: Likewise.
36794 * libio/oldiofclose.c: Likewise.
36795 * libio/oldiofdopen.c: Likewise.
36796 * libio/oldiofopen.c: Likewise.
36797 * libio/oldiopopen.c: Likewise.
36798 * libio/oldstdfiles.c: Likewise.
36799 * libio/putc.c: Likewise.
36800 * libio/setbuf.c: Likewise.
36801 * libio/setlinebuf.c: Likewise.
36802 * libio/stdfiles.c: Likewise.
36803 * libio/strops.c: Likewise.
36804 * libio/vasprintf.c: Likewise.
36805 * libio/vscanf.c: Likewise.
36806 * libio/vsnprintf.c: Likewise.
36807 * libio/vswprintf.c: Likewise.
36808 * libio/wfiledoalloc.c: Likewise.
36809 * libio/wfileops.c: Likewise.
36810 * libio/wgenops.c: Likewise.
36811 * libio/wmemstream.c: Likewise.
36812 * libio/wstrops.c: Likewise.
36813 * libio/__fpurge.c: Likewise.
36814 * libio/__fsetlocking.c: Likewise.
36815 * assert/assert.c: Likewise.
36816 * debug/fgets_chk.c: Likewise.
36817 * debug/fgets_u_chk.c: Likewise.
36818 * debug/fread_chk.c: Likewise.
36819 * debug/fread_u_chk.c: Likewise.
36820 * debug/gets_chk.c: Likewise.
36821 * debug/obprintf_chk.c: Likewise.
36822 * debug/vasprintf_chk.c: Likewise.
36823 * debug/vdprintf_chk.c: Likewise.
36824 * debug/vsnprintf_chk.c: Likewise.
36825 * debug/vsprintf_chk.c: Likewise.
36826 * malloc/mtrace.c: Likewise.
36827 * misc/error.c: Likewise.
36828 * misc/syslog.c: Likewise.
36829 * stdio-common/asprintf.c: Likewise.
36830 * stdio-common/fxprintf.c: Likewise.
36831 * stdio-common/getw.c: Likewise.
36832 * stdio-common/isoc99_fscanf.c: Likewise.
36833 * stdio-common/isoc99_scanf.c: Likewise.
36834 * stdio-common/isoc99_vfscanf.c: Likewise.
36835 * stdio-common/isoc99_vscanf.c: Likewise.
36836 * stdio-common/isoc99_vsscanf.c: Likewise.
36837 * stdio-common/printf-prs.c: Likewise.
36838 * stdio-common/printf_fp.c: Likewise.
36839 * stdio-common/printf_fphex.c: Likewise.
36840 * stdio-common/printf_size.c: Likewise.
36841 * stdio-common/putw.c: Likewise.
36842 * stdio-common/scanf.c: Likewise.
36843 * stdio-common/sprintf.c: Likewise.
36844 * stdio-common/tmpfile.c: Likewise.
36845 * stdio-common/vfprintf.c: Likewise.
36846 * stdio-common/vfscanf.c: Likewise.
36847 * stdlib/strfmon_l.c: Likewise.
36848 * sunrpc/openchild.c: Likewise.
36849 * sunrpc/xdr_stdio.c: Likewise.
36850 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36851 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36853 2012-05-24 Roland McGrath <roland@hack.frob.com>
36855 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36857 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36858 in the third column, to generate for the shared library an IFUNC
36859 that uses _dl_vdso_vsym.
36860 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36861 * Makeconfig (object-suffixes-noshared): New variable.
36863 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36864 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36865 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36866 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36869 * include/sys/time.h (__gettimeofday): Remove macro.
36870 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36871 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36873 (__gettimeofday): Add libc_hidden_def.
36874 (gettimeofday): Add libc_hidden_weak.
36875 * sysdeps/mach/gettimeofday.c: Likewise.
36876 * sysdeps/posix/gettimeofday.c: Likewise.
36877 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36878 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36879 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36880 (__gettimeofday_internal): Remove strong_alias.
36881 (__gettimeofday): Add libc_hidden_def.
36882 (gettimeofday): Add libc_hidden_weak.
36883 * sysdeps/unix/syscalls.list (gettimeofday):
36884 Remove __gettimeofday_internal alias.
36886 2012-05-24 Daniel Jacobowitz <drow@false.org>
36887 H.J. Lu <hongjiu.lu@intel.com>
36890 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36891 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36892 (largebin_index_32_big): New.
36893 (largebin_index): Use it for 16-byte alignment.
36894 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36895 correction with front_misalign.
36897 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36925 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36926 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36928 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36932 * math/libm-test.inc (exp_test): Add test from bug 14036.
36933 (pow_test): Add test from bug 10846.
36935 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36937 (special_function): Do not include flags in test name.
36938 (parse_args): Likewise.
36939 * sysdeps/i386/fpu/libm-test-ulps: Update.
36940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36941 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36942 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36945 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36947 * math/libm-test.inc ("Philosophy"): Update comment about
36949 (UNDERFLOW_EXCEPTION): New macro.
36950 (UNDERFLOW_EXCEPTION_OK): Likewise.
36951 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36952 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36953 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36954 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36955 (INVALID_EXCEPTION_OK): Update value.
36956 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36957 (OVERFLOW_EXCEPTION_OK): Likewise.
36958 (IGNORE_ZERO_INF_SIGN): Likewise.
36959 (test_exceptions): Handle underflow exceptions.
36960 (acos_test): Update for underflow exception expectations.
36961 (cexp_test): Likewise.
36962 (clog_test): Likewise.
36963 (clog10_test): Likewise.
36964 (csqrt_test): Likewise.
36965 (ctan_test): Likewise.
36966 (ctanh_test): Likewise.
36967 (exp_test): Likewise.
36968 (exp10_test): Likewise.
36969 (exp2_test): Likewise.
36970 (expm1_test): Likewise.
36971 (fma_test): Likewise.
36972 (j0_test): Likewise.
36973 (jn_test): Likewise.
36974 (nexttoward_test): Likewise.
36975 (pow_test): Likewise.
36976 (scalbn_test): Likewise.
36977 (scalbln_test): Likewise.
36978 (tan_test): Likewise.
36979 (y1_test): Likewise.
36980 * sysdeps/i386/fpu/libm-test-ulps: Update.
36981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36983 2012-05-23 David S. Miller <davem@davemloft.net>
36985 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36986 (__libc_sigaction): Remove unused local variables.
36988 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36990 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36992 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36994 mktime: avoid signed integer overflow
36995 * time/mktime.c (__mktime_internal): Do not mishandle the case
36996 where diff == INT_MIN.
36998 mktime: simplify computation of average
36999 * time/mktime.c (ranged_convert): Use new time_t_avg function
37000 instead of rolling our own (probably-slower) code.
37002 mktime: do not assume signed right shift propagates sign bit
37003 * time/mktime.c (isdst_differ): New static function.
37004 (__mktime_internal): No need to normalize tm_isdst now.
37005 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37008 mktime: merge another wrapv change from gnulib
37009 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37010 from some compilers.
37012 mktime: remove incorrect attempt at unusual arithmetics
37013 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37014 The code didn't really work on such machines anyway.
37015 (TYPE_MINIMUM): Assume two's complement.
37016 (twos_complement_arithmetic): Verify that long_int and time_t
37017 are two's complement (or unsigned, in the latter case).
37019 mktime: check signed shifts on long_int and time_t, too
37020 * time/mktime.c (SHR): Check that shifts work as desired
37021 on the types long_int and time_t too, as SHR is used on
37024 mktime: do not assume 'long' is wide enough
37025 * time/mktime.c (verify): Move decl up.
37026 (long_int): New type.
37027 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37028 to remove assumption in the code that 'long' is wide enough to
37029 store year values. This assumption is not true on x32 and on
37030 some non-glibc platforms.
37032 mktime: merge wrapv change from gnulib
37033 * time/mktime.c (WRAPV): New macro.
37034 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37035 (guess_time_tm, __mktime_internal): Do not assume that signed
37036 integer overflow wraps around; modern compilers generate code
37037 where this assumption is no longer valid.
37039 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37041 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37042 Replace "jmp L(pseudo_end)" with "ret".
37043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37046 2012-05-23 Andreas Jaeger <aj@suse.de>
37048 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37049 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37051 2012-05-23 Andreas Jaeger <aj@suse.de>
37052 Maximilian Attems <max@stro.at>
37054 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37057 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37059 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37060 code so that pseudo_end is just ret and the stack pointer is
37061 correct also for static library in error case.
37063 2012-05-23 Joseph Myers <joseph@codesourcery.com>
37065 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37066 move to syscalls.list.
37067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37072 * manual/install.texi (Running make install): Do not mention Linux
37073 kernel version for which pt_chown is not needed.
37074 (Linux): Do not mention problems with nscd with 2.0 kernels.
37075 * INSTALL: Regenerated.
37077 2012-05-23 Andreas Jaeger <aj@suse.de>
37079 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37080 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37082 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37083 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37084 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37086 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37088 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37092 * sysdeps/unix/sysv/linux/bits/in.h
37093 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37095 2012-05-22 Roland McGrath <roland@hack.frob.com>
37097 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37098 (PREPARE_VERSION): Just use assert instead, it will be elided
37099 under [NDEBUG] anyway.
37101 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37103 * sysdeps/unix/sysv/linux/Makefile: Include
37104 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37105 (sysdep_routines): Remove sysctl.
37106 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37107 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37108 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37109 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37110 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37112 2012-05-22 Andreas Jaeger <aj@suse.de>
37114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37115 that pseudo_end is just ret and the stack pointer is correct also
37116 for static library in error case.
37118 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37121 * nss/nsswitch.c (defconfig_entries): New variable.
37122 (__nss_database_lookup): Don't leak defconfig entries.
37123 (nss_parse_service_list): Don't leak on error paths.
37124 (free_database_entries): New function.
37125 (free_defconfig): New function.
37126 (free_mem): Move common code to free_database_entries.
37128 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37130 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37132 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37134 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37135 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37138 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37139 (INTERNAL_SYSCALL_TYPES): Likewise.
37140 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37141 (LOAD_REGS_TYPES_[1-6]): Likewise.
37142 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37143 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37145 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37147 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37148 copysignl for GLIBC_2_0.
37149 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37150 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37152 logbl for GLIBC_2_0.
37153 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37154 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37156 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37159 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37161 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37164 * time/mktime.c: Update copyright years.
37166 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37168 mktime: merge comment-quoting-style change from gnulib
37169 * time/mktime.c: Quote 'like this' in comments.
37170 The GNU coding standards suggest that we no longer quote `like this',
37171 as "`" and "'" are typically rendered asymmetrically nowadays.
37172 The typical gnulib style is to quote 'like this' when quoting
37173 code, and "like this" when quoting English.
37175 * time/mktime.c (compile-command): Add "-I.".
37177 mktime: merge mktime-internal.h change from gnulib
37178 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37180 mktime: merge time_r change from gnulib
37181 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37183 mktime: merge DEBUG change from gnulib
37184 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37185 case system <time.h> has a #define.
37187 mktime: merge <sys/types.h> change from gnulib
37188 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37189 since <time.t> is now guaranteed to define time_t.
37191 mktime: merge HAVE_CONFIG_H change from gnulib
37192 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37194 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37199 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37201 (struct rusage): Use anonymous union to pad each field to
37204 2012-05-21 David S. Miller <davem@davemloft.net>
37206 * Makefules (o-iterator): Remove .s cases.
37207 (compile-command.s): Delete.
37208 (COMPILE.s): Delete.
37209 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37211 2012-05-21 Joseph Myers <joseph@codesourcery.com>
37213 * configure.in (libc_cv_predef_stack_protector): Only consider
37214 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37215 * configure: Regenerated.
37217 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37220 New macro. Use R*LP on int and pointer.
37221 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37222 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37223 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37224 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37226 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37227 [__WORDSIZE_TIME64_COMPAT32] instead of
37228 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37229 (struct utmp): Likewise.
37230 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37231 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37233 (__WORDSIZE_TIME64_COMPAT32): This.
37234 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37235 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37236 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37237 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37238 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37239 (__WORDSIZE_TIME64_COMPAT32): New macro.
37241 2012-05-21 Andreas Jaeger <aj@suse.de>
37243 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37244 only if [SHARED]. Add prototype for __wcschr_ia32.
37246 2012-05-21 Roland McGrath <roland@hack.frob.com>
37248 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37249 of %rbp unmolested in the jmp_buf while mangling the low bits.
37250 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37251 unmolested high bits of %rbp while demangling the low bits.
37252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37254 2012-05-21 Andreas Jaeger <aj@suse.de>
37256 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37257 * sunrpc/svc_simple.c: Use it for registerrpc.
37258 * sunrpc/xcrypt.c: Use it for passwd2des.
37260 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37262 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37264 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37265 Don't define if [__SYSCALL_WORDSIZE != 32].
37266 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37269 2012-05-21 Bruno Haible <bruno@clisp.org>
37270 Andreas Jaeger <aj@suse.de>
37272 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37273 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37274 inptr and inend for must_buffer_ch.
37275 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37276 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37277 * stdio-common/Makefile (tests): Remove bug15.
37278 (bug15-ENV): Remove macro.
37279 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37282 2012-05-19 Andreas Jaeger <aj@suse.de>
37283 Roland McGrath <roland@hack.frob.com>
37285 * manual/contrib.texi: Completely rewritten. It contains now an
37286 alphabetical list of contributors and their contributions.
37288 2012-05-21 Richard Henderson <rth@twiddle.net>
37290 * misc/getauxval.c (__getauxval): Use unsigned long int.
37291 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37292 (getauxval): Use unsigned long int.
37294 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37296 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37298 2012-05-21 Roland McGrath <roland@hack.frob.com>
37300 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37301 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37302 __alignof__ (long double).
37304 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37308 2012-05-20 Richard Henderson <rth@twiddle.net>
37310 * misc/getauxval.c: New file.
37311 * misc/sys/auxv.h: New file.
37312 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37313 (routines): Add getauxval.
37314 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37315 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37316 * elf/dl-sysdep.c (_dl_auxv): Remove.
37317 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37318 * elf/dl-support.c (_dl_auxv): New variable.
37319 (_dl_aux_init): Initialize it.
37320 * manual/startup.texi (Auxiliary Vector): New node.
37321 * sysdeps/generic/bits/hwcap.h: New file.
37322 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37323 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37324 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37325 * sysdeps/sparc/sysdep.h: ... here. Include it.
37326 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37327 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37339 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37343 2012-05-19 David S. Miller <davem@davemloft.net>
37345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37347 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37350 * math/s_ccosh.c: Include <float.h>
37351 (__ccosh): Avoid internal overflow calculating sinh and cosh
37352 values before multiplying by sin and cos values.
37353 * math/s_ccoshf.c: Likewise.
37354 * math/s_ccoshl.c: Likewise.
37355 * math/s_csin.c: Likewise.
37356 * math/s_csinf.c: Likewise.
37357 * math/s_csinl.c: Likewise.
37358 * math/s_csinh.c: Likewise.
37359 * math/s_csinhf.c: Likewise.
37360 * math/s_csinhl.c: Likewise.
37361 * math/libm-test.inc (ccos_test): Add more tests.
37362 (ccosh_test): Likewise.
37363 (csin_test): Likewise.
37364 (csinh_test): Likewise.
37365 * sysdeps/i386/fpu/libm-test-ulps: Update.
37366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37368 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37370 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37371 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37373 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37375 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37377 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37378 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37379 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37380 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37381 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37382 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37383 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37384 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37385 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37386 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37387 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37388 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37389 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37390 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37391 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37392 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37393 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37394 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37395 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37396 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37397 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37398 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37399 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37400 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37401 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37402 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37403 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37404 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37405 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37406 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37407 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37409 2012-05-18 Andreas Jaeger <aj@suse.de>
37411 * csu/.gitignore: Delete.
37413 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37415 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37416 (timex): Use __syscall_slong_t.
37418 2012-05-18 Andreas Jaeger <aj@suse.de>
37419 Carlos O'Donell <carlos_odonell@mentor.com>
37421 * manual/install.texi (Configuring and compiling): Update
37422 description about files modified in the source directory.
37423 * INSTALL: Regenerated.
37425 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37427 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37428 value. Use "or" to set return value to -1.
37429 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37430 negate return value.
37432 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37434 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37435 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37436 failure if the compiler has Graphite support disabled.
37437 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37439 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37440 (CFLAGS-memmove.c): Likewise.
37441 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37444 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37446 * sysdeps/x86_64/x32/_itoa.h: New file.
37448 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37449 getdents system call only if kernel and user dirents have the
37450 same d_ino and d_off.
37452 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37453 LLONG_MAX != LONG_MAX.
37454 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37455 (_fitoa_word): Likewise.
37457 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37459 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37460 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37461 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37463 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37464 include <bits/wordsize.h>. Check __x86_64__ instead of
37466 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37467 if __x86_64__ is defined. Use anonymous union on fpstate.
37469 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37472 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37474 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37475 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37476 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37477 Refer to _rtld_local_ro instead of _rtld_global_ro.
37478 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37480 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37482 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37484 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37485 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37486 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37488 * sysdeps/powerpc/powerpc32/dl-machine.c
37489 (__elf_machine_runtime_setup) [PROF]: Don't reference
37492 2012-05-18 Andreas Jaeger <aj@suse.de>
37494 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37495 function only available for GCCs before 3.4 since GCC 3.4
37496 introduced a builtin.
37498 (llrintf): Likewise.
37499 (llrint): Likewise.
37506 (nearbyint): Likewise.
37507 (nearbyintf): Likewise.
37511 (floorf): Likewise.
37513 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37515 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37516 on both fields and cast pointer to __syscall_ulong_t.
37518 * bits/types.h (__fsword_t): New type.
37519 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37520 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37522 (__FSWORD_T_TYPE): Likewise.
37523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37524 (__FSWORD_T_TYPE): Likewise.
37525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37526 (__FSWORD_T_TYPE): Likewise.
37527 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37528 (__FSWORD_T_TYPE): Likewise.
37529 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37530 __SWORD_TYPE with __fsword_t.
37531 (statfs64): Likewise.
37533 2012-05-17 David S. Miller <davem@davemloft.net>
37535 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37537 2012-05-17 Andreas Jaeger <aj@suse.de>
37539 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37542 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37544 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37546 2012-05-17 Andreas Jaeger <aj@suse.de>
37548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37551 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37553 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37555 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37557 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37558 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37560 2012-05-17 Andreas Jaeger <aj@suse.de>
37561 Carlos O'Donell <carlos_odonell@mentor.com>
37564 * sysdeps/x86_64/multiarch/init-arch.h
37565 (bit_YMM_Usable): Rename to...
37566 (bit_AVX_Usable): ... this.
37567 (bit_FMA4_Usable): New macro.
37568 (bit_XMM_state): New macro.
37569 (bit_YMM_state): New macro.
37570 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37571 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37572 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37573 (CPUID_OSXSAVE): New macro.
37574 (CPUID_AVX): New macro.
37575 (CPUID_FMA4): New macro.
37576 (index_YMM_Usable): Rename to...
37577 (index_AVX_Usable): ... this.
37578 (HAS_AVX): Use HAS_ARCH_FEATURE.
37579 (HAS_FMA4): Likewise.
37580 (HAS_YMM_USABLE): Remove.
37581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37582 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37584 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37585 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37586 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37587 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37588 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37590 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37592 * math/libm-test.c: Support platforms without multiple rounding modes.
37593 * math/bug-nextafter.c: Support platforms without FP exceptions.
37594 * math/bug-nexttoward.c: Likewise.
37595 * math/test-fenv.c: Likewise.
37596 * math/test-misc.c: Likewise.
37597 * stdlib/bug-getcontext.c: Likewise.
37599 2012-05-17 Andreas Jaeger <aj@suse.de>
37601 * manual/examples/search.c (critter_cmp): Change signature to
37603 * manual/string.texi (Collation Functions): Likewise.
37605 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37607 * bits/types.h: Fold copyright years.
37608 * bits/typesizes.h: Likewise.
37609 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37611 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37613 * time/time.h: Likewise.
37615 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37618 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37619 in instead of returning them. Return void.
37620 (__libc_mallinfo): Accumulate over all arenas.
37621 (__malloc_stats): Adjust for change in int_mallinfo interface.
37623 2012-05-16 Roland McGrath <roland@hack.frob.com>
37626 * configure.in (NM): Add AC_CHECK_TOOL for it.
37627 (libc_extra_cflags): New substituted variable.
37628 Check for -fstack-protector being used implicitly.
37629 * configure: Regenerated.
37630 * config.make.in (config-extra-cflags): New variable,
37631 gets @libc_extra_cflags@.
37632 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37635 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37636 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37637 * configure: Regenerated.
37638 * config.make.in (CPPUNDEFS): New substituted variable.
37639 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37640 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37641 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37643 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37645 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37646 (mq_attr): Use __syscall_slong_t.
37648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37650 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37651 Check __x86_64__ instead of __WORDSIZE.
37652 (_STAT_VER_LINUX): Likewise.
37653 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37654 __syscall_ulong_t and __syscall_slong_t.
37655 (stat64): Likewise.
37657 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37659 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37661 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37663 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37665 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37667 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37670 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37671 include <bits/wordsize.h>. Check __x86_64__ instead of
37673 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37675 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37677 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37678 include <bits/wordsize.h>. Check __x86_64__ instead of
37680 (user_regs_struct): Use "__extension__ unsigned long long"
37681 instead of "unsigned long" if __x86_64__ is defined.
37682 (user): Likewise. Pad after pointer field if __ILP32__ is
37685 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37687 * configure.in (makeinfo): Require version 4.5 or later. Allow
37689 * configure: Regenerated.
37690 * manual/install.texi (texinfo): Increase version requirement to
37692 * INSTALL: Regenerated.
37694 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37696 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37698 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37700 * sysdeps/x86_64/x32/ffs.c: New file.
37702 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37704 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37705 defined. Use __syscall_ulong_t.
37706 (shminfo): Use __syscall_ulong_t.
37707 (shm_info): Likewise.
37709 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37712 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37714 (msgqnum_t): Use __syscall_ulong_t.
37715 (msglen_t): Likewise.
37716 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37719 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37720 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37722 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37724 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37725 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37727 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37730 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37731 include <bits/wordsize.h>. Check __x86_64__ instead of
37734 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37735 "unsigned long long int" if __x86_64__ is defined.
37736 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37738 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37739 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37740 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37742 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37744 (GET_PC): Cast to uintptr_t first.
37745 (GET_FRAME): Likewise.
37746 (GET_STACK): Likewise.
37748 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37749 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37750 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37751 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37752 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37753 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37754 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37755 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37756 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37757 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37758 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37759 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37760 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37761 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37762 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37763 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37764 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37765 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37767 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37768 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37769 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37770 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37771 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37772 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37773 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37774 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37775 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37776 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37778 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37780 * Makerules (+depfiles): Also collect depfiles from .oS in
37782 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37783 .oS, $(libnldbl-routines)).
37785 * Makerules (native-compile-mkdep-flags): Define.
37786 * sunrpc/Makefile (extra-objs): Add $(addprefix
37787 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37788 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37789 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37790 calling $(make-target-directory).
37792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37794 * bits/types.h (__snseconds_t): Removed.
37795 * time/time.h (struct timespec): Replace __snseconds_t with
37797 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37798 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37801 (__SNSECONDS_T_TYPE): Likewise.
37802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37803 (__SNSECONDS_T_TYPE): Likewise.
37804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37805 (__SNSECONDS_T_TYPE): Likewise.
37807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37809 * sysdeps/mach/hurd/bits/typesizes.h
37810 (__SYSCALL_SLONG_TYPE): New macro.
37811 (__SYSCALL_ULONG_TYPE): Likewise.
37813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37815 * bits/types.h (__syscall_slong_t): New type.
37816 (__syscall_ulong_t): Likewise.
37818 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37819 (__SYSCALL_ULONG_TYPE): Likewise.
37820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37821 (__SYSCALL_SLONG_TYPE): Likewise.
37822 (__SYSCALL_ULONG_TYPE): Likewise.
37823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37824 (__SYSCALL_SLONG_TYPE): Likewise.
37825 (__SYSCALL_ULONG_TYPE): Likewise.
37826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37827 (__SYSCALL_SLONG_TYPE): Likewise.
37828 (__SYSCALL_ULONG_TYPE): Likewise.
37830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37832 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37833 Add sigaltstack-offsets.sym.
37834 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37835 <sigaltstack-offsets.h>.
37836 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37837 longjmp_msg pointer.
37838 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37839 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37841 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37843 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37845 * elf/stackguard-macros.h: Remove file.
37846 * sysdeps/generic/stackguard-macros.h: New file.
37847 * sysdeps/i386/stackguard-macros.h: Likewise.
37848 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37849 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37850 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37851 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37852 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37853 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37854 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37855 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37856 <elf/stackguard-macros.h>.
37859 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37860 __aligned__ in attribute.
37861 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37862 (gregset_t): Likewise.
37864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37866 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37867 * sysdeps/x86_64/64/Implies-after: Here. New file.
37868 * sysdeps/x86_64/x32/Implies-after: New file.
37870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37872 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37873 and access return value for _dl_profile_fixup. Use R10_LP to
37876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37878 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37882 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37883 * sysdeps/x86_64/x32/sysdep.h: New file.
37885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37887 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37888 * sysdeps/x86_64/setjmp.S: Likewise.
37890 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37892 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37893 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37894 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37895 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37896 remove unused global constant.
37898 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37900 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37901 include of <not-cancel.h>.
37903 2012-05-15 Roland McGrath <roland@hack.frob.com>
37905 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37907 2012-05-15 Jeff Law <law@redhat.com>
37908 Andreas Jaeger <aj@suse.de>
37911 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37913 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37914 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37915 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37916 code changing __hst_map_handle.map.
37918 2012-05-15 Roland McGrath <roland@hack.frob.com>
37920 * configure.in (sysnames): Look for Implies-before and Implies-after
37922 * configure: Regenerated.
37924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37926 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37927 8-byte data alignment with LP_SIZE alignment.
37929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37931 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37936 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37940 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37941 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37942 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37948 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37949 (stackinfo_sub_sp): Likewise.
37951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37956 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37963 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37968 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37972 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37973 into R11_LP and load __x86_64_shared_cache_size_half into
37976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37978 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37981 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37989 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37990 powerpc32/power7/fpu/s_logb.c via #include.
37991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37992 powerpc32/power7/fpu/s_logbf.c via #include.
37993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37994 powerpc32/power7/fpu/s_logbl.c via #include.
37996 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37998 * README.libm: Remove file.
38000 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38002 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38003 count for x32. Use R*_LP and omit operand-size suffix.
38005 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38007 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38008 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38009 * sysdeps/x86_64/x32/shlib-versions: New file.
38011 2012-05-14 Roland McGrath <roland@hack.frob.com>
38013 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38014 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38015 Use _dl_fatal_printf instead.
38017 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38019 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38020 set if not set by the user. Do not allow for being unset.
38021 * sysdeps/unix/sysv/linux/configure: Regenerated.
38023 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38025 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38026 the `q' suffix from lea and replace .quad with ASM_ADDR.
38028 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38031 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38033 (PTR_DEMANGLE): Likewise.
38035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38037 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38039 (ASM_ADDR): Likewise.
38040 (RAX_LP): Likewise.
38041 (RBP_LP): Likewise.
38042 (RBX_LP): Likewise.
38043 (RCX_LP): Likewise.
38044 (RDI_LP): Likewise.
38045 (RSI_LP): Likewise.
38046 (RSP_LP): Likewise.
38049 (R10_LP): Likewise.
38050 (R10_LP): Likewise.
38051 (R11_LP): Likewise.
38052 (R12_LP): Likewise.
38053 (R13_LP): Likewise.
38054 (R14_LP): Likewise.
38055 (R15_LP): Likewise.
38057 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38059 * sysdeps/x86_64/x32/dl-machine.h: New file.
38061 2012-05-14 Andreas Jaeger <aj@suse.de>
38063 * manual/Makefile (subdir): Remove export of subdir.
38064 (all): Remove target.
38065 (.PHONY): Remove all from list.
38066 (mkinstalldirs): Remove.
38067 (.PHONY): Remove installdirs from list.
38068 ($(inst_infodir)/libc.info): Use make-target-directory.
38069 (installdirs): Remove.
38070 (subdir_%): Remove.
38071 (glibc-targets): Remove.
38074 ($(objpfx)stubs ../po/manual.pot): Remove.
38075 ($(objpfx)stamp%): Remove.
38076 (make-target-directory): Remove.
38077 (subdir_install): Remove.
38078 (routines): Remove.
38085 * manual/.gitignore: Remove, it's not needed anymore.
38086 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38088 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38090 (texis): Renamed to $(objpfx)texis.
38091 (texis-path): New, contains path to generated files.
38092 (chapters.%): Use texis-path for complete path, add extra argument
38094 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38095 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38096 (summary,texi, stamp-summary): Use complete path of
38097 files. Generate files in build dir.
38098 (dir-add.texi): Build in build dir.
38099 (libm-err.texi,stamp-libm-err): Likewise.
38100 (version.texi, stamp-version): Likewise.
38101 (.%c.texi): Likewise.
38102 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38103 (mostlyclean): Remove target.
38104 (realclean): Remove target.
38105 (generated): Add new variable with contents from mostlyclean and
38106 realclean, remove entries duplicated in common-mostlyclean, add
38107 stamp-libm-err and stamp-version.
38108 (generated-dirs): Add libc directory.
38109 ($(inst_infodir)/libc.info): Install files from build dir.
38111 * manual/install.texi (Configuring and compiling): Adjust since
38112 the info files are not part of the tar ball anymore.
38114 2012-05-14 Andreas Jaeger <aj@suse.de>
38116 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38119 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38122 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38123 to 2.2.0 where earlier.
38124 * sysdeps/unix/sysv/linux/configure: Regenerated.
38125 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38126 Remove conditional code.
38127 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38128 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38129 Remove conditional code.
38130 [!__NR_lchown]: Likewise.
38131 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38132 [__NR_lchown]: Likewise.
38133 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38134 comment referencing __ASSUME_LCHOWN_SYSCALL.
38135 * sysdeps/unix/sysv/linux/i386/sigaction.c
38136 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38137 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38138 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38139 Remove conditional code.
38140 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38141 (__protocol_available): Remove #if 0 code.
38142 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38144 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38145 * sysdeps/unix/sysv/linux/kernel-features.h
38146 (__ASSUME_GETCWD_SYSCALL): Don't define.
38147 (__ASSUME_REALTIME_SIGNALS): Likewise.
38148 (__ASSUME_PREAD_SYSCALL): Likewise.
38149 (__ASSUME_PWRITE_SYSCALL): Likewise.
38150 (__ASSUME_POLL_SYSCALL): Likewise.
38151 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38152 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38154 (__ASSUME_SIOCGIFNAME): Don't define.
38155 (__ASSUME_MSG_NOSIGNAL): Likewise.
38156 (__ASSUME_SENDFILE): Define unconditionally.
38157 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38158 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38160 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38161 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38162 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38163 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38164 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38165 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38166 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38168 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38174 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38180 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38183 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38191 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38192 Remove conditional code.
38193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38194 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38195 Remove conditional code.
38196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38197 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38198 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38199 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38200 Remove conditional code.
38201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38202 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38203 Remove conditional code.
38204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38205 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38206 Remove conditional code.
38207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38208 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38209 Remove conditional code.
38210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38211 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38212 Remove conditional code.
38213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38214 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38215 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38217 * sysdeps/unix/sysv/linux/sigaction.c
38218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38220 * sysdeps/unix/sysv/linux/sigpending.c
38221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38223 * sysdeps/unix/sysv/linux/sigprocmask.c
38224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38226 * sysdeps/unix/sysv/linux/sigsuspend.c
38227 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38228 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38229 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38230 (__libc_missing_rt_sigs): Remove.
38231 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38232 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38233 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38234 Remove conditional code.
38235 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38236 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38238 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38239 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38240 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38241 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38243 2012-05-14 Andreas Jaeger <aj@suse.de>
38245 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38246 it's not used in glibc.
38247 (__coshm1): Likewise.
38248 (__acosh1p): Likewise.
38251 * manual/string.texi (Copying and Concatenation): Add missing
38252 variable in concat example.
38253 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38255 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38258 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38259 __builtin_clzl with __builtin_clzll.
38261 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38264 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38267 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38269 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38270 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38271 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38272 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38274 2012-05-14 Mike Frysinger <vapier@gentoo.org>
38276 * NEWS: Update ia64 info.
38278 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38280 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38283 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38285 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38286 * sysdeps/unix/syscalls.list (dup3): Likewise.
38287 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38288 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38290 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38292 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38293 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38295 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38297 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38299 (TLS_IE): Use mov/add instead of movq/addq to load thread
38301 (TLS_GD_PREFIX): New.
38304 2012-05-11 David S. Miller <davem@davemloft.net>
38306 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38307 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38308 (_FPU_SETCW): Likewise.
38310 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38312 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38313 is 32-byte aligned.
38315 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38318 * iconvdata/gb18030.c: Update tables.
38319 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38320 characters specially.
38321 (BODY for TO_LOOP): Add encoding of missing ranges.
38323 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38326 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38327 * sysdeps/mach/hurd/dup3.c: Likewise.
38328 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38329 * sysdeps/powerpc/memmove.c:: Likewise.
38331 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38333 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38334 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38336 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38338 * elf/elf.h (R_X86_64_RELATIVE64): New.
38339 (R_X86_64_NUM): Updated.
38340 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38341 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38342 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38343 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38344 tst-quad1pie tst-quad2pie
38345 (modules-names): Add tst-quadmod1 tst-quadmod2.
38346 ($(objpfx)tst-quad1): New dependency.
38347 ($(objpfx)tst-quad2): Likewise.
38348 ($(objpfx)tst-quad1pie): Likewise.
38349 ($(objpfx)tst-quad2pie): Likewise.
38350 * sysdeps/x86_64/tst-quad1.c: New file.
38351 * sysdeps/x86_64/tst-quad1pie.c: New file.
38352 * sysdeps/x86_64/tst-quad2.c: Likewise.
38353 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38354 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38355 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38356 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38357 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38359 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38361 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38362 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38363 * streams/stropts.h (t_scalar_t): Define type.
38365 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38366 (_PATH_PRESERVE): Set to "/var/lib".
38367 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38369 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38372 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38373 if __dir_mkfile succeeded.
38375 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38376 checking for _hurd_dtablesize. Unlock it right after having
38377 finished _hurd_dtable allocation.
38379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38381 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38382 * sysdeps/mach/hurd/configure: Regenerated.
38383 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38384 special-casing to...
38385 * sysdeps/gnu/configure.in: ... this new file.
38386 * sysdeps/unix/sysv/linux/configure: Regenerated.
38387 * sysdeps/gnu/configure: New generated file.
38389 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38390 for Linux: use nsec instead of usec, as well as:
38391 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38392 members of type struct timespec.
38393 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38395 (struct stat64): Likewise.
38396 (_STATBUF_ST_NSEC): New macro.
38397 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38399 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38400 __strtoul_internal rather than strtoul.
38402 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38404 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38409 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38410 which preserves existing values.
38411 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38413 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38415 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38416 TIMEOUT values. Return EINVAL for NFDS values either negative or
38417 greater than FD_SETSIZE.
38419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38421 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38422 allocated, call __vm_protect to finish enabling the existing space, and
38423 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38424 allocate the remainder.
38426 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38428 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38429 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38433 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38434 sysdeps/mach/hurd/readlink.c.
38436 * posix/tst-sysconf.c (posix_options): Only use
38437 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38438 _POSIX_SYNCHRONIZED_IO when they are defined
38439 * sysdeps/mach/hurd/bits/posix_opt.h:
38440 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38441 (_XOPEN_REALTIME): Undefine macro.
38442 (_XOPEN_REALTIME_THREADS): Undefine macro.
38443 (_XOPEN_SHM): Undefine macro.
38444 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38446 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38448 (_POSIX_ASYNC_IO): Undefine macro.
38449 (_POSIX_PRIORITIZED_IO): Undefine macro.
38450 (_POSIX_SPIN_LOCKS): Define macro to -1.
38452 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38453 SA_NODEFER, SA_RESETHAND.
38454 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38455 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38460 * elf/Makefile (pldd-modules): Define unconditionally.
38462 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38464 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38468 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38469 Return ENOENT when name is empty.
38470 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38474 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38476 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38480 Fix mlock in all cases except non-readable pages.
38481 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38482 instead of VM_PROT_ALL as parameter to __vm_wire function.
38484 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38485 (__mkdir): When path is `/', just fail with EEXIST.
38486 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38490 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38491 <sys/uio.h> (for writev).
38492 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38493 and <sys/param.h> (for MIN).
38495 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38497 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38498 REQUESTED_TIME. Properly set the remaining time and return EINTR
38501 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38503 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38504 Depend on against $(link-rpcuserlibs).
38506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38508 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38509 (__libc_stack_end): Do not use attribute_relro.
38510 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38511 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38512 to libthread-provided value.
38513 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38516 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38519 * bits/libc-lock.h (__libc_once_get): New macro.
38520 * sysdeps/mach/bits/libc-lock.h: Likewise.
38521 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38522 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38523 instead of using implementation details.
38525 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38526 * libio/freopen.c: Likewise.
38527 * libio/freopen64.c: Likewise.
38528 * misc/syslog.c: Likewise.
38529 * nscd/connections.c: Likewise.
38530 * nscd/netgroupcache.c: Likewise.
38531 * sysdeps/posix/getcwd.c: Likewise.
38533 2012-05-10 Roland McGrath <roland@hack.frob.com>
38535 * math/w_ilogbf.c: Add #include <limits.h>.
38537 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38539 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38540 path instead of returning without unlocking.
38542 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38543 immediate-write ioctls.
38544 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38548 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38549 __builtin_frame_address instead of making assumptions about the
38550 location of the return address relative to DATA. Force early load of
38551 the return address.
38552 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38553 __builtin_frame_address.
38556 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38557 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38558 implement dup3 and do some further code clean-ups.
38559 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38560 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38564 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38566 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38567 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38568 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38569 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38570 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38573 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38574 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38575 when handler == SIG_ERR, not when handler != SIG_ERR.
38577 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38579 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38580 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38583 accept4 for GNU Hurd.
38584 * include/sys/socket.h (__libc_accept4): New prototype.
38585 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38586 to implement __libc_accept4.
38587 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38589 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38591 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38592 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38593 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38594 signal-defines.sym.
38596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38598 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38600 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38602 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38603 assertion on O_CLOEXEC flag.
38604 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38605 * hurd/intern-fd.c: Likewise.
38606 * hurd/port2fd.c: Likewise.
38608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38611 * bits/in.h (IPV6_PKTINFO): Define new macro.
38612 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38614 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38619 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38621 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38622 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38623 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38624 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38625 * math/libm-test.inc (logb_test) : Additional logb tests.
38627 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38628 Andreas Jaeger <aj@suse.de>
38630 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38631 * configure: Regenerated.
38632 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38633 * config.make.in (link-obsolete-rpc): New substituted variable.
38634 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38635 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38636 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38637 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38638 so that libc.a contains the symbols.
38639 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38640 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38641 * sunrpc/auth_none.c: Likewise.
38642 * sunrpc/auth_unix.c: Likewise.
38643 * sunrpc/authdes_prot.c: Likewise.
38644 * sunrpc/authuxprot.c: Likewise.
38645 * sunrpc/clnt_gen.c: Likewise.
38646 * sunrpc/clnt_perr.c: Likewise.
38647 * sunrpc/clnt_raw.c: Likewise.
38648 * sunrpc/clnt_simp.c: Likewise.
38649 * sunrpc/clnt_tcp.c: Likewise.
38650 * sunrpc/clnt_udp.c: Likewise.
38651 * sunrpc/clnt_unix.c: Likewise.
38652 * sunrpc/des_crypt.c: Likewise.
38653 * sunrpc/des_soft.c: Likewise.
38654 * sunrpc/get_myaddr.c: Likewise.
38655 * sunrpc/key_call.c: Likewise.
38656 * sunrpc/key_prot.c: Likewise.
38657 * sunrpc/netname.c: Likewise.
38658 * sunrpc/pm_getmaps.c: Likewise.
38659 * sunrpc/pm_getport.c: Likewise.
38660 * sunrpc/pmap_clnt.c: Likewise.
38661 * sunrpc/pmap_prot.c: Likewise.
38662 * sunrpc/pmap_prot2.c: Likewise.
38663 * sunrpc/pmap_rmt.c: Likewise.
38664 * sunrpc/publickey.c: Likewise.
38665 * sunrpc/rpc_cmsg.c: Likewise.
38666 * sunrpc/rpc_common.c: Likewise.
38667 * sunrpc/rpc_dtable.c: Likewise.
38668 * sunrpc/rpc_prot.c: Likewise.
38669 * sunrpc/rpc_thread.c: Likewise.
38670 * sunrpc/rtime.c: Likewise.
38671 * sunrpc/svc.c: Likewise.
38672 * sunrpc/svc_auth.c: Likewise.
38673 * sunrpc/svc_raw.c: Likewise.
38674 * sunrpc/svc_run.c: Likewise.
38675 * sunrpc/svc_tcp.c: Likewise.
38676 * sunrpc/svc_udp.c: Likewise.
38677 * sunrpc/svc_unix.c: Likewise.
38678 * sunrpc/svcauth_des.c: Likewise.
38679 * sunrpc/xcrypt.c: Likewise.
38680 * sunrpc/xdr.c: Likewise.
38681 * sunrpc/xdr_array.c: Likewise.
38682 * sunrpc/xdr_float.c: Likewise.
38683 * sunrpc/xdr_intXX_t.c: Likewise.
38684 * sunrpc/xdr_mem.c: Likewise.
38685 * sunrpc/xdr_rec.c: Likewise.
38686 * sunrpc/xdr_ref.c: Likewise.
38687 * sunrpc/xdr_sizeof.c: Likewise.
38688 * sunrpc/xdr_stdio.c: Likewise.
38690 2012-05-10 Roland McGrath <roland@hack.frob.com>
38692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38693 change. Update copyright years.
38695 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38697 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38699 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38700 Joseph Myers <joseph@codesourcery.com>
38701 Paul Pluzhnikov <ppluzhnikov@google.com>
38704 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38706 [cross-compiling] (extra-libs): Likewise.
38707 [cross-compiling] (extra-libs-others): Likewise.
38708 [cross-compiling] (librpcsvc-routines): Likewise.
38709 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38710 [cross-compiling] (omit-deps): Likewise.
38711 (sunrpc-CPPFLAGS): New variable.
38712 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38713 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38714 (cross-rpcgen-objs): New variable.
38715 (extra-objs): Append $(cross-rpcgen-objs).
38716 ($(cross-rpcgen-objs)): New rule.
38717 ($(objpfx)cross-rpcgen): Likewise.
38718 (rpcgen-cmd): Define to use $(built-program-file). Expand
38720 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38721 ($(objpfx)x%.stmp): Likewise.
38722 * sunrpc/proto.h [IS_IN_build] (_): Define.
38723 [IS_IN_build] (_libc_intl_domainname): Likewise.
38725 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38728 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38729 and R_X86_64_TPOFF64.
38731 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38733 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38734 sysdeps/unix/sysv/syscalls.list.
38737 * sysdeps/unix/sysv/syscalls.list: Remove file.
38739 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38742 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38743 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38744 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38745 (__LC_IDENTIFICATION): Make these macros useful in #if
38746 expressions, as required by C99.
38748 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38750 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38751 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38754 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38756 * stdlib/longlong.h: Updated from GCC.
38758 2012-05-09 Andreas Jaeger <aj@suse.de>
38760 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38761 default is first entry.
38762 (run_mode): Set type.
38763 (main): Remove informal message about syslog.
38764 (options): Fix typo.
38767 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38770 (llrintf): Likewise.
38771 (llrint): Likewise.
38774 (nearbyint): Likewise.
38775 (nearbyintf): Likewise.
38777 2012-05-09 Andreas Jaeger <aj@suse.de>
38778 Pedro Alves <palves@redhat.com>
38780 * nscd/nscd.c (run_mode): Use enum.
38781 (main): Cleanup coding style issue.
38783 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38784 Andreas Jaeger <aj@suse.de>
38786 * nscd/nscd.c (go_background): Replaced with...
38787 (run_mode): ... this.
38788 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38789 (options): Add -F --foreground.
38790 (main): Implement it.
38791 (parse_opt): Parse it.
38793 2012-05-09 Andreas Jaeger <aj@suse.de>
38796 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38797 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38798 -Wconversion warning.
38799 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38802 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38804 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38806 (LC_ALL): Use macro-int-constant.
38807 (LC_COLLATE): Likewise.
38808 (LC_CTYPE): Likewise.
38809 (LC_MESSAGES): Likewise.
38810 (LC_MONETARY): Likewise.
38811 (LC_NUMERIC): Likewise.
38812 (LC_TIME): Likewise.
38813 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38814 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38816 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38818 [C99-based standards] (float_t): Expect type.
38819 [C99-based standards] (double_t): Expect type.
38820 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38822 [C99-based standards] (HUGE_VALL): Likewise.
38823 [C99-based standards] (INFINITY): Likewise.
38824 [C99-based standards] (NAN): Likewise.
38825 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38826 [C99-based standards] (FP_NAN): Likewise.
38827 [C99-based standards] (FP_NORMAL): Likewise.
38828 [C99-based standards] (FP_SUBNORMAL): Likewise.
38829 [C99-based standards] (FP_ZERO): Likewise.
38830 [C99-based standards] (FP_FAST_FMA): Use
38831 optional-macro-int-constant. Specify type. Require == 1.
38832 [C99-based standards] (FP_FAST_FMAF): Likewise.
38833 [C99-based standards] (FP_FAST_FMAL): Likewise.
38834 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38835 [C99-based standards] (FP_ILOGBNAN): Likewise.
38836 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38838 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38839 [C99-based standards] (math_errhandling): Specify type.
38840 [ISO99 || ISO11] (signgam): Do not allow.
38841 [non-C99-based standards] (copysignf): Do not allow.
38842 [non-C99-based standards] (exp2f): Likewise.
38843 [non-C99-based standards] (log2f): Likewise.
38844 [non-C99-based standards] (modff): Allow.
38845 [non-C99-based standards] (erff): Do not allow.
38846 [non-C99-based standards] (erfcf): Likewise.
38847 [non-C99-based standards] (gammaf): Likewise.
38848 [non-C99-based standards] (hypotf): Likewise.
38849 [non-C99-based standards] (j0f): Likewise.
38850 [non-C99-based standards] (j1f): Likewise.
38851 [non-C99-based standards] (jnf): Likewise.
38852 [non-C99-based standards] (lgammaf): Likewise.
38853 [non-C99-based standards] (tgammaf): Likewise.
38854 [non-C99-based standards] (y0f): Likewise.
38855 [non-C99-based standards] (y1f): Likewise.
38856 [non-C99-based standards] (ynf): Likewise.
38857 [non-C99-based standards] (isnanf): Likewise.
38858 [non-C99-based standards] (acoshf): Likewise.
38859 [non-C99-based standards] (asinhf): Likewise.
38860 [non-C99-based standards] (atanhf): Likewise.
38861 [non-C99-based standards] (cbrtf): Likewise.
38862 [non-C99-based standards] (expm1f): Likewise.
38863 [non-C99-based standards] (ilogbf): Likewise.
38864 [non-C99-based standards] (log1pf): Likewise.
38865 [non-C99-based standards] (logbf): Likewise.
38866 [non-C99-based standards] (nextafterf): Likewise.
38867 [non-C99-based standards] (remainderf): Likewise.
38868 [non-C99-based standards] (rintf): Likewise.
38869 [non-C99-based standards] (scalbf): Likewise.
38870 [non-C99-based standards] (copysignl): Likewise.
38871 [non-C99-based standards] (exp2l): Likewise.
38872 [non-C99-based standards] (log2l): Likewise.
38873 [non-C99-based standards] (modfl): Allow.
38874 [non-C99-based standards] (erfl): Do not allow.
38875 [non-C99-based standards] (erfcl): Likewise.
38876 [non-C99-based standards] (gammal): Likewise.
38877 [non-C99-based standards] (hypotl): Likewise.
38878 [non-C99-based standards] (j0l): Likewise.
38879 [non-C99-based standards] (j1l): Likewise.
38880 [non-C99-based standards] (jnl): Likewise.
38881 [non-C99-based standards] (lgammal): Likewise.
38882 [non-C99-based standards] (tgammal): Likewise.
38883 [non-C99-based standards] (y0l): Likewise.
38884 [non-C99-based standards] (y1l): Likewise.
38885 [non-C99-based standards] (ynl): Likewise.
38886 [non-C99-based standards] (isnanl): Likewise.
38887 [non-C99-based standards] (acoshl): Likewise.
38888 [non-C99-based standards] (asinhl): Likewise.
38889 [non-C99-based standards] (atanhl): Likewise.
38890 [non-C99-based standards] (cbrtl): Likewise.
38891 [non-C99-based standards] (expm1l): Likewise.
38892 [non-C99-based standards] (ilogbl): Likewise.
38893 [non-C99-based standards] (log1pl): Likewise.
38894 [non-C99-based standards] (logbl): Likewise.
38895 [non-C99-based standards] (nextafterl): Likewise.
38896 [non-C99-based standards] (remainderl): Likewise.
38897 [non-C99-based standards] (rintl): Likewise.
38898 [non-C99-based standards] (scalbl): Likewise.
38899 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38900 [non-C99-based standards] (FP_*): Do not allow.
38901 [C99-based standards] (FP_*): Change to
38902 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38903 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38905 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38906 (SIG_ERR): Likewise.
38907 [X/Open-based standards] (SIG_HOLD): Likewise.
38908 (SIG_IGN): Likewise.
38909 (SIGABRT): Use macro-int-constant. Specify type. Require
38911 (SIGFPE): Likewise.
38912 (SIGILL): Likewise.
38913 (SIGINT): Likewise.
38914 (SIGSEGV): Likewise.
38915 (SIGTER): Likewise.
38916 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38917 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38918 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38919 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38920 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38921 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38922 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38923 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38924 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38925 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38926 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38927 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38928 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38929 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38930 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38931 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38932 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38933 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38934 [X/Open-based standards] (SIGTRAP): Likewise.
38935 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38936 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38937 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38938 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38939 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38942 2012-05-08 Ian Wienand <ianw@vmware.com>
38945 * time/tzset.c (__tzset_parse_tz): Update default rules for
38946 daylight time changes in the Energy Policy Act of 2005.
38948 2012-05-09 Andreas Jaeger <aj@suse.de>
38951 * elf/ldconfig.c (parse_conf): Change string to make clear that
38952 ldconfig only issued a warning if ld.so.conf does not exist.
38954 2012-05-08 David S. Miller <davem@davemloft.net>
38956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38957 movxtod instead of popping the value on the stack.
38959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38961 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38963 * config.h.in: Add HAVE_ARM_PCS_VFP.
38965 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38968 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38969 checking but the checks are disabled for any reason.
38971 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38973 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38974 and ELF64_R_TYPE with ELFW(R_TYPE).
38976 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38978 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38979 (ulimit): Likewise.
38981 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38982 (settimeofday): Likewise.
38984 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38986 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38987 a struct th_u2 inside the union, and move tu_block/tu_code into
38988 a new th_u3 union of tu_block/tu_code inside of that. Move
38989 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38990 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38991 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38992 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38993 (th_stuff): Change to th_u1.tu_stuff.
38995 (th_msg): Change to th_u1.th_u2.tu_data.
38997 2012-05-07 David S. Miller <davem@davemloft.net>
38999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39002 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39003 (SETUP_PIC_REG): Use it.
39004 (SETUP_PIC_REG_LEAF): Use it.
39006 2012-05-07 Joseph Myers <joseph@codesourcery.com>
39010 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39012 (EXPL_FINITE): Likewise.
39013 (FLDLOG): Likewise.
39014 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39015 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39017 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39019 (EXPL_FINITE): Likewise.
39020 (FLDLOG): Likewise.
39021 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39022 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39024 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39025 test of -max_value argument for long double.
39026 * sysdeps/i386/fpu/libm-test-ulps: Update.
39027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39029 2012-05-06 David S. Miller <davem@davemloft.net>
39031 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39032 quad soft-float symbols whose references which are compiler
39034 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39036 2012-05-06 Joseph Myers <joseph@codesourcery.com>
39040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39042 (EXPL_FINITE): Likewise.
39043 (FLDLOG): Likewise.
39046 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39047 Adjust comments for base varying.
39048 (__expl_finite): Change alias to EXPL_FINITE.
39049 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39051 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39052 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39054 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39055 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39057 (EXPL_FINITE): Likewise.
39058 (FLDLOG): Likewise.
39061 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39062 Adjust comments for base varying.
39063 (__expl_finite): Change alias to EXPL_FINITE.
39064 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39069 * math/libm-test.inc (check_float_internal): Correct ulp
39070 calculation for subnormal expected results.
39072 2012-05-06 Andreas Jaeger <aj@suse.de>
39074 * Makeconfig (+math-flags): New, set to -frounding-math.
39075 (+cflags): Add +math-flags so that all of glibc gets compiled with
39078 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39080 2012-05-05 Joseph Myers <joseph@codesourcery.com>
39082 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39088 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39089 (__ieee754_expl): Allow for and saturate large arguments.
39090 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39091 (u_threshold): Likewise.
39092 (__exp): Call __ieee754_exp before checking for overflow and
39094 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39095 (u_threshold): Likewise.
39096 (__expf): Call __ieee754_expf before checking for overflow and
39098 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39099 (u_threshold): Likewise.
39100 (__expl): Call __ieee754_expl before checking for overflow and
39102 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39103 (__ieee754_expl): Allow for and saturate large arguments.
39104 * math/libm-test.inc (exp_test): Add another test. Do not allow
39105 missing overflow exception on overflow.
39106 (expm1_test): Do not allow missing overflow exception on overflow.
39108 * sysdeps/i386/fpu/e_expl.c: Move to ...
39109 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39110 rather than using inline asm.
39111 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39112 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39113 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39115 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39118 (signal): Likewise.
39122 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39124 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39125 sysdeps/unix/common/syscalls.list.
39126 (fchmod): Likewise.
39127 (fchown): Likewise.
39128 (ftruncate): Likewise.
39129 (getrusage): Likewise.
39130 (gettimeofday): Likewise.
39131 (setpgid): Likewise.
39132 (setregid): Likewise.
39133 (setreuid): Likewise.
39134 (sigaction): Likewise.
39135 (truncate): Likewise.
39136 (vhangup): Likewise.
39137 * sysdeps/unix/common/syscalls.list: Remove file.
39138 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39139 * sysdeps/unix/sysv/linux/Implies: Likewise.
39141 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39143 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39145 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39149 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39152 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39155 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39158 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39161 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39164 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39167 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39171 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39175 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39178 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39182 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39186 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39188 * sysdeps/unix/common/bits/dirent.h: Remove file.
39189 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39191 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39192 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39193 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39194 * sysdeps/unix/bsd/isatty.c: Likewise.
39195 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39196 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39197 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39199 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39203 long double comparison inaccuracies.
39204 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39207 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39209 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39210 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39212 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39216 nonzero digits before rounding a hex value.
39217 * stdlib/tst-strtod.c (tests): Add another test.
39219 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39221 * sysdeps/s390/fpu/libm-test-ulps: Update.
39223 2012-05-03 Andreas Jaeger <aj@suse.de>
39225 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39226 does not get optimized out.
39227 (malloc_opt_barrier): New.
39229 2012-05-03 Andreas Jaeger <aj@suse.de>
39230 Roland McGrath <roland@hack.frob.com>
39232 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39233 intermediate file deletion.
39234 (generated): Add .symlist files.
39236 2012-05-03 Joseph Myers <joseph@codesourcery.com>
39239 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39240 Redirect under this condition.
39241 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39242 [__USE_GNU] (__dprintf_chk): Not under this condition.
39243 [__USE_GNU] (__vdprintf_chk): Likewise.
39244 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39245 under this condition.
39246 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39247 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39248 [__USE_XOPEN2K8] (vdprintf): Likewise.
39249 [__USE_GNU] (__dprintf_chk): Not under this condition.
39250 [__USE_GNU] (__vdprintf_chk): Likewise.
39251 [__USE_GNU] (dprintf): Likewise.
39252 [__USE_GNU] (vdprintf): Likewise.
39254 2012-05-03 Roland McGrath <roland@hack.frob.com>
39256 * elf/Makefile (common-generated): Set this instead of generated for
39257 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39258 $(all-built-dso)-derived lists.
39260 2012-05-03 Andreas Jaeger <aj@suse.de>
39262 * sysdeps/i386/fpu/libm-test-ulps: Update.
39265 * FAQ.in: Likewise.
39266 * scripts/gen-FAQ.pl: Likewise.
39267 * manual/install.texi (Installation): Point to online location of
39269 * Makefile (files-for-dist): Remove FAQ.
39272 2012-05-02 Allan McRae <allan@archlinux.org>
39274 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39275 (LDFLAGS-reldepmod5.so): Likewise.
39276 (LDFLAGS-reldep6mod1.so): Likewise.
39277 (LDFLAGS-reldep6mod4.so): Likewise.
39278 (LDFLAGS-reldep8mod3.so): Likewise.
39279 (LDFLAGS-unload4mod1.so): Likewise.
39280 (LDFLAGS-unload4mod2.so): Likewise.
39281 (LDFLAGS-tst-initorder): Likewise.
39282 (LDFLAGS-tst-initordera2.so): Likewise.
39283 (LDFLAGS-tst-initordera3.so): Likewise.
39284 (LDFLAGS-tst-initordera4.so): Likewise.
39285 (LDFLAGS-tst-initorderb2.so): Likewise.
39286 (LDFLAGS-noload): Likewise.
39287 (LDFLAGS-next): Likewise.
39288 (LDFLAGS-order2mod1.so): Likewise.
39289 (LDFLAGS-order2mod2.so): Likewise.
39290 (LDFLAGS-tst-initorder2): Likewise.
39291 (LDFLAGS-tst-initorder2a.so): Likewise.
39292 (LDFLAGS-tst-initorder2b.so): Likewise.
39293 (LDFLAGS-tst-initorder2c.so): Likewise.
39294 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39296 2012-05-02 David S. Miller <davem@davemloft.net>
39298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39300 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39303 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39305 2012-05-02 Andreas Jaeger <aj@suse.de>
39307 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39308 since we manipulate rounding mode.
39309 (CPPFLAGS-test-idouble.c): Likewise.
39310 (CPPFLAGS-test-ifloat.c): Likewise.
39311 (CFLAGS-test-ldouble.c): Likewise.
39312 (CFLAGS-test-double.c): Likewise.
39313 (CFLAGS-test-float.c): Likewise.
39314 (CFLAGS-test-misc.c): Likewise.
39315 (CFLAGS-test-test-fenv.c): Likewise.
39317 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39321 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39322 comparisons to determine direction to adjust input.
39324 2012-05-01 Roland McGrath <roland@hack.frob.com>
39326 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39327 output to the target.
39329 * scripts/localplt.awk: New file.
39330 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39331 (check-localplt-CFLAGS): Variable removed.
39332 ($(all-built-dso:=.jmprel)): New static pattern rule.
39333 (generated): Add those targets.
39334 (localplt-built-dso): New variable.
39335 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39337 * elf/check-localplt.c: File removed.
39339 * scripts/check-execstack.awk: New file.
39340 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39341 (check-execstack-CFLAGS): Variable removed.
39342 ($(objpfx)check-execstack.h): Target removed.
39343 ($(objpfx)execstack-default): New target.
39344 (generated): Add that instead of check-execstack.h.
39345 ($(all-built-dso:=.phdr)): New static pattern rule.
39346 (generated): Add those targets.
39347 * elf/check-execstack.c: File removed.
39349 * scripts/check-textrel.awk: New file.
39350 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39351 (check-textrel-CFLAGS): Variable removed.
39352 (all-built-dso): Use := to define.o
39353 ($(all-built-dso:=.dyn)): New static pattern rule.
39354 (generated): Add those targets.
39355 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39356 * config.make.in (READELF): New substituted variable.
39357 * elf/check-textrel.c: File removed.
39359 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39361 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39363 * conform/data/ctype.h-data [C99-based standards] (isblank):
39365 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39366 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39368 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39369 Specify type. Require positive value.
39370 (EILSEQ): Likewise.
39371 (ERANGE): Likewise.
39372 [ISO || POSIX] (EILSEQ): Do not expect.
39373 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39374 Specify type. Require positive value.
39375 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39376 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39377 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39378 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39379 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39380 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39381 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39382 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39383 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39384 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39385 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39386 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39387 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39388 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39389 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39390 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39391 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39392 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39393 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39394 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39395 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39396 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39397 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39398 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39399 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39400 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39401 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39402 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39403 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39404 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39405 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39406 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39407 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39408 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39409 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39410 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39411 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39412 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39413 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39414 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39415 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39416 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39417 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39418 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39419 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39420 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39421 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39422 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39423 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39424 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39425 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39426 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39427 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39428 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39429 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39430 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39431 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39432 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39433 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39434 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39435 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39436 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39437 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39438 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39439 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39440 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39441 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39442 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39443 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39444 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39445 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39446 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39447 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39448 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39449 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39450 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39451 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39453 (FLT_ROUNDS): Expect as macro, not constant.
39454 (FLT_MANT_DIG): Use macro-int-constant.
39455 (DBL_MANT_DIG): Likewise.
39456 (LDBL_MANT_DIG): Likewise.
39457 (FLT_DIG): Likewise.
39458 (DBL_DIG): Likewise.
39459 (LDBL_DIG): Likewise.
39460 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39461 (DBL_MIN_EXP): Likewise.
39462 (LDBL_MIN_EXP): Likewise.
39463 (FLT_MAX_EXP): Use macro-int-constant.
39464 (DBL_MAX_EXP): Likewise.
39465 (LDBL_MAX_EXP): Likewise.
39466 (FLT_MAX_10_EXP): Likewise.
39467 (DBL_MAX_10_EXP): Likewise.
39468 (LDBL_MAX_10_EXP): Likewise.
39469 (FLT_MAX): Use macro-constant.
39470 (DBL_MAX): Likewise.
39471 (LDBL_MAX): Likewise.
39472 (FLT_EPSILON): Use macro-constant. Give upper bound.
39473 (DBL_EPSILON): Likewise.
39474 (LDBL_EPSILON): Likewise.
39475 (FLT_MIN): Likewise.
39476 (DBL_MIN): Likewise.
39477 (LDBL_MIN): Likewise.
39478 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39479 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39480 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39481 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39482 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39483 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39484 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39485 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39486 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39487 [ISO11] (FLT_TRUE_MIN): Likewise.
39488 [ISO11] (LDBL_TRUE_MIN): Likewise.
39489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39490 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39491 (SCHAR_MIN): Use macro-int-constant. Specify type.
39492 (SCHAR_MAX): Likewise.
39493 (UCHAR_MAX): Likewise.
39494 (CHAR_MIN): Likewise.
39495 (CHAR_MAX): Likewise.
39496 (MB_LEN_MAX): Use macro-int-constant.
39497 (SHRT_MIN): Use macro-int-constant. Specify type.
39498 (SHRT_MAX): Likewise.
39499 (USHRT_MAX): Likewise.
39500 (INT_MAX): Likewise.
39501 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39503 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39505 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39507 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39508 bound negative. Suffix upper bound with "L".
39509 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39511 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39513 [C99-based standards] (LLONG_MAX): Likewise.
39514 [C99-based standards] (ULLONG_MAX): Likewise.
39515 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39517 [ISO11] (max_align_t): Require type.
39518 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39520 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39521 from $CFLAGS, without defining away __attribute__ calls.
39522 (checknamespace): Use $CFLAGS_namespace.
39524 * conform/conformtest.pl (@keywords): Only include C99 keywords
39525 for standards based on C99 or C11.
39527 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39529 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39532 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39533 usability of symbols in #if.
39535 * conform/conformtest.pl: If macro or constant types start
39536 "promoted:", expect the symbol to be of the following type
39537 promoted by the integer promotions.
39539 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39540 in one place. Also handle "macro-constant".
39542 * conform/conformtest.pl: Only accept expected macro values with
39543 "==". Parse all "macro" lines in one place.
39544 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39546 * conform/conformtest.pl: Handle braced types on "constant" lines
39547 instead of handling "typed-constant".
39548 * conform/data/signal.h-data: Use "constant" instead of
39551 * conform/conformtest.pl: Handle "optional-" at start of lines in
39552 one place rather than duplicating several cases. Handle each
39553 format of "macro" line with initial "optional-".
39555 * conform/conformtest.pl: Only accept expected constant or
39556 optional-constant values with "==". Parse all "constant" lines in
39557 one place. Parse all "optional-constant" lines in one place.
39558 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39559 * conform/data/fmtmsg.h-data: Likewise.
39560 * conform/data/netinet/in.h-data: Likewise.
39561 * conform/data/tar.h-data: Likewise.
39562 * conform/data/limits.h-data: Use "==" form on "constant" and
39563 "optional-constant" lines.
39565 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39566 Use -std=c99 for XOPEN2K.
39567 (@knownproblems): Remove.
39568 (newtoken): Don't check %isknown.
39570 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39571 Do not expect macro.
39572 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39573 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39574 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39575 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39576 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39577 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39578 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39579 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39580 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39581 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39582 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39583 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39584 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39585 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39586 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39587 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39588 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39589 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39590 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39591 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39592 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39593 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39594 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39596 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39597 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39598 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39599 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39600 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39601 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39602 [XPG3] (acosh): Likewise.
39603 [XPG3] (asinh): Likewise.
39604 [XPG3] (atanh): Likewise.
39605 [XPG3] (cbrt): Likewise.
39606 [XPG3] (expm1): Likewise.
39607 [XPG3] (ilogb): Likewise.
39608 [XPG3] (log1p): Likewise.
39609 [XPG3] (logb): Likewise.
39610 [XPG3] (nextafter): Likewise.
39611 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39612 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39613 [XPG3] (remainder): Likewise.
39614 [XPG3] (rint): Likewise.
39615 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39616 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39617 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39618 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39619 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39620 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39621 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39622 [UNIX98 || XOPEN2K] (scalb): Expect.
39623 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39624 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39625 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39626 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39627 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39628 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39629 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39630 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39631 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39632 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39633 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39634 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39635 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39636 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39637 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39638 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39639 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39640 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39641 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39642 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39643 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39644 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39645 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39646 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39647 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39648 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39649 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39650 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39651 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39652 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39653 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39654 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39655 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39656 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39657 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39658 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39659 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39660 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39661 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39662 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39663 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39664 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39665 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39666 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39667 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39668 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39669 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39670 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39671 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39672 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39673 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39674 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39675 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39676 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39677 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39678 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39679 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39680 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39681 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39682 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39683 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39684 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39685 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39686 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39687 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39688 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39689 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39690 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39691 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39692 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39693 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39694 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39695 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39696 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39697 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39698 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39699 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39700 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39701 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39702 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39703 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39704 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39705 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39706 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39707 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39708 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39709 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39710 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39711 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39712 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39713 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39714 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39715 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39716 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39717 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39718 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39719 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39720 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39721 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39722 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39723 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39724 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39725 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39726 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39727 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39728 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39729 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39730 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39731 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39732 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39733 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39734 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39735 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39736 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39737 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39738 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39739 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39740 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39741 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39742 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39743 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39744 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39745 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39746 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39747 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39748 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39749 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39750 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39751 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39752 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39753 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39754 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39755 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39756 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39757 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39758 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39759 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39761 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39762 _XOPEN_SOURCE_EXTENDED for XPG4.
39764 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39766 * Makeconfig (localtime): Remove variable.
39767 (inst_localtime-file): Likewise.
39769 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39790 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39794 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39795 comparisons to determine direction to adjust input.
39796 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39797 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39798 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39800 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39802 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39804 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39805 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39807 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39809 * math/libm-test.inc (nexttoward_test): Add more tests.
39811 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39815 in version GLIBC_2.1, not GLIBC_2.0.
39816 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39819 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39822 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39824 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39825 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39826 * math/libm-test.inc (acos_test): Add more tests.
39827 (asin_test): Likewise.
39828 * sysdeps/i386/fpu/libm-test-ulps: Update.
39829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39832 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39834 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39835 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39836 * math/libm-test.inc (acos_test_tonearest): New function.
39837 (acos_test_towardzero): Likewise.
39838 (acos_test_downward): Likewise.
39839 (acos_test_upward): Likewise.
39840 (asin_test_tonearest): Likewise.
39841 (asin_test_towardzero): Likewise.
39842 (asin_test_downward): Likewise.
39843 (asin_test_upward): Likewise.
39844 (main): Call the new functions.
39845 * sysdeps/i386/fpu/libm-test-ulps: Update.
39846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39850 * math/e_exp10.c: Include <float.h>.
39851 (__ieee754_exp10): Handle underflow here rather than multiplying
39852 large negative argument by M_LN10.
39853 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39855 * math/e_exp10l.c: Include <float.h>.
39856 (__ieee754_exp10l): Handle underflow here rather than multiplying
39857 large negative argument by M_LN10l.
39858 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39859 spurious overflow exception on underflow.
39861 2012-04-29 Marek Polacek <polacek@redhat.com>
39863 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39864 (__fortify_function): New macro.
39865 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39866 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39867 __extern_always_inline.
39868 * libio/bits/stdio2.h: Likewise.
39869 * libio/bits/stdio.h: Likewise.
39870 * string/string.h: Likewise.
39871 * string/bits/string3.h: Likewise.
39872 * include/stdio.h: Likewise.
39873 * stdlib/bits/stdlib.h: Likewise.
39874 * stdlib/stdlib.h: Likewise.
39875 * rt/bits/mqueue2.h: Likewise.
39876 * rt/mqueue.h: Likewise.
39877 * posix/bits/unistd.h: Likewise.
39878 * posix/unistd.h: Likewise.
39879 * io/bits/poll2.h: Likewise.
39880 * io/bits/fcntl2.h: Likewise.
39881 * io/fcntl.h: Likewise.
39882 * io/sys/poll.h: Likewise.
39883 * misc/bits/syslog.h: Likewise.
39884 * misc/bits/syslog-ldbl.h: Likewise.
39885 * misc/sys/syslog.h: Likewise.
39886 * socket/bits/socket2.h: Likewise.
39887 * socket/sys/socket.h: Likewise.
39888 * debug/tst-chk1.c: Likewise.
39889 * wcsmbs/bits/wchar2.h: Likewise.
39890 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39891 * wcsmbs/wchar.h: Likewise.
39893 2012-04-29 Andreas Jaeger <aj@suse.de>
39895 * Makerules (tests): Remove enable-check-abi protection.
39896 (check-abi-warn): Remove.
39897 (check-abi-%): Remove check-abi-warn usage.
39899 * configure.in: Remove check-abi configure option.
39900 * configure: Regenerated.
39901 * config.make.in (enable-check-abi): Remove.
39903 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39906 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39907 double functions to double *_finite functions.
39910 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39911 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39913 * stdio-common/Makefile (tests): Add tst-sprintf3.
39914 * stdio-common/tst-sprintf3.c: New file.
39916 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39917 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39919 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39921 * conform/conformtest.pl: Remove duplicate typed-constant
39924 2012-04-28 David S. Miller <davem@davemloft.net>
39926 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39927 (check-abi-%): Remove AWK script prerequisite and explicit
39929 (check-abi): Rewrite to just diff the symlist with the abilist.
39930 (config-tls, config-abi-config): Delete, no longer used.
39931 (update-abi-%): Remove AWK script and explicit abilist directory.
39932 (update-abi): Rewrite to simply compare and conditionally copy the
39933 symlist and the sysdep abilist file. Remove update-abi-config
39935 * abilist/ld.abilist: Remove.
39936 * abilist/libBrokenLocale.abilist: Remove.
39937 * abilist/libanl.abilist: Remove.
39938 * abilist/libcrypt.abilist: Remove.
39939 * abilist/libdl.abilist: Remove.
39940 * abilist/librt.abilist: Remove.
39941 * abilist/libthread_db.abilist: Remove.
39942 * abilist/libutil.abilist: Remove.
39943 * scripts/extract-abilist.awk: Remove.
39944 * scripts/merge-abilist.awk: Remove.
39945 * sysdeps/generic/libcidn.abilist: New file.
39946 * sysdeps/generic/libnss_compat.abilist: New file.
39947 * sysdeps/generic/libnss_db.abilist: New file.
39948 * sysdeps/generic/libnss_dns.abilist: New file.
39949 * sysdeps/generic/libnss_files.abilist: New file.
39950 * sysdeps/generic/libnss_hesiod.abilist: New file.
39951 * sysdeps/generic/libnss_nis.abilist: New file.
39952 * sysdeps/generic/libnss_nisplus.abilist: New file.
39953 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39954 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39955 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39957 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39958 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39959 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39960 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39961 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39962 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39963 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39964 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39965 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39967 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39968 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39969 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39970 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39972 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39973 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39974 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39975 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39976 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39977 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39979 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39980 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39981 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39983 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40086 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40087 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40088 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40091 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40092 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40093 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40094 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40095 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40096 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40097 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40098 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40099 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40151 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40153 * conform/conformtest.pl: Fix typo in handling typed-constant from
40156 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40158 * README: Cut down references to pre-2.6 Linux kernels and
40159 Linuxthreads. Update lists of configurations in libc and ports
40160 and sort alphabetically. Say "or newer" with Linux kernel version
40163 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40165 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40168 * math/libm-test.inc (logb_test_downward): New test to expose
40169 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40172 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40175 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40177 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40178 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40180 2012-04-26 Joseph Myers <joseph@codesourcery.com>
40182 * sysdeps/unix/i386/brk.S: Remove file.
40183 * sysdeps/unix/i386/dl-brk.S: Likewise.
40184 * sysdeps/unix/i386/pipe.S: Likewise.
40185 * sysdeps/unix/i386/sigreturn.S: Likewise.
40186 * sysdeps/unix/i386/syscall.S: Likewise.
40187 * sysdeps/unix/i386/vfork.S: Likewise.
40188 * sysdeps/unix/i386/wait.S: Likewise.
40190 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40191 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40193 * configure.in (arm*-none*): Do not allow without
40194 --enable-hacker-mode.
40195 (netbsd*): Remove case setting base_os.
40196 (386bsd*): Likewise.
40197 (freebsd*): Likewise.
40200 (sunos*): Likewise.
40201 (ultrix*): Likewise.
40202 (newsos*): Likewise.
40203 (dynix*): Likewise.
40209 (minix*): Likewise.
40210 (irix4*): Likewise.
40211 (irix6*): Likewise.
40212 (solaris[2-9]*): Likewise.
40214 * configure: Regenerated.
40216 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40219 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40220 overflow or cancellation in calculating denominator.
40221 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40222 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40223 down expression to avoid unexpected rounding in newer GCCs.
40224 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40226 2012-04-26 David S. Miller <davem@davemloft.net>
40228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40229 long-double compat symbols.
40230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40244 2012-04-25 David S. Miller <davem@davemloft.net>
40246 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40247 HWCAP_* values only after the memory barriers have been defined.
40248 (atomic_full_barrier): Define.
40249 (atomic_read_barrier): Define.
40250 (atomic_write_barrier): Define.
40252 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40254 * shlib-versions: Add libgcc_s version information.
40255 * sysdeps/generic/libgcc_s.h: Remove.
40256 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40258 * sysdeps/gnu/unwind-resume.c: Likewise.
40259 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40261 2012-04-25 David S. Miller <davem@davemloft.net>
40263 * sysdeps/unix/sparc/brk.S: Delete.
40264 * sysdeps/unix/sparc/dl-brk.S: Delete.
40265 * sysdeps/unix/sparc/pipe.S: Delete.
40266 * sysdeps/unix/sparc/sysdep.S: Delete.
40267 * sysdeps/unix/sparc/sysdep.h: Delete.
40268 * sysdeps/unix/sparc/vfork.S: Delete.
40269 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40270 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40271 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40272 (ret_ERRVAL, r0, r1, MOVE): Define.
40273 (JUMPTARGET): Remove.
40274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40275 sysdeps/unix/sparc/sysdep.h
40276 (ENTRY, END): Remove.
40277 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40279 2012-04-25 Joseph Myers <joseph@codesourcery.com>
40281 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40282 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40285 * timezone/README: Update upstream location and email address for
40287 * timezone/zdump.c: Update from tzcode 2012b.
40288 * timezone/zic.c: Likewise.
40290 * configure.in (libc_cv_as_needed): Remove test.
40291 * configure: Regenerated.
40292 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40293 conditional definition.
40294 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40295 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40296 * config.make.in (have-as-needed): Remove variable.
40298 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40299 Paul Pluzhnikov <ppluzhnikov@google.com>
40301 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40304 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40306 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40307 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40308 * sysdeps/sh/strlen.S: Likewise.
40310 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40312 * sysdeps/unix/fork.S: Remove file.
40313 * sysdeps/unix/i386/fork.S: Likewise.
40314 * sysdeps/unix/sparc/fork.S: Likewise.
40316 * sysdeps/unix/system.c: Remove file.
40317 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40319 * sysdeps/unix/getegid.S: Remove file.
40320 * sysdeps/unix/geteuid.S: Likewise.
40322 2012-04-24 Roland McGrath <roland@hack.frob.com>
40324 * scripts/check-localplt.awk: New file.
40325 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40327 * scripts/data/localplt-generic.data: Add a comment.
40329 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40330 NODE when __dir_mkfile failed.
40331 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40332 Reported by Ludovic Courtès <ludo@gnu.org>.
40334 2012-04-24 Andreas Jaeger <aj@suse.de>
40336 * Makerules (common-clean): Also remove gen-as-const-headers
40339 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40341 * Makerules (native-compile): Do not change working directory for
40342 build. Use $(OUTPUT_OPTION) in command.
40343 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40345 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40348 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40349 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40350 * math/libm-test.inc (floor_test): Add more tests.
40351 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40353 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40355 * sysdeps/unix/getdents.c: Remove file.
40356 * sysdeps/unix/sysv/getdents.c: Likewise.
40357 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40359 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40360 sysdeps/unix/mman/syscalls.list.
40362 (mprotect): Likewise.
40364 (munmap): Likewise.
40365 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40366 * sysdeps/unix/mman/syscalls.list: Remove.
40367 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40369 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40370 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40371 * configure: Regenerated.
40372 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40373 $(libgcc_s_suffix).
40374 * config.make.in (libgcc_s_suffix): Remove variable.
40376 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40378 * sysdeps/unix/sysv/gethostname.c: Move to ...
40379 * sysdeps/posix/gethostname.c: ... here.
40381 * sysdeps/unix/execve.S: Remove file.
40383 * sysdeps/unix/_exit.S: Remove file.
40385 2012-04-23 Andreas Jaeger <aj@suse.de>
40388 * manual/Makefile: Remove make dist support, there's no
40389 need for a stand-alone documentation tar ball.
40390 (TEXI2DVI): Define always, it's not in Makeconfig.
40393 (edition): Removed.
40394 (glibc-doc-$(edition).tar): Removed
40398 (ETAGS): Remove, it's in Makeconfig.
40399 (move-if-change): Remove, it's in Makeconfig.
40401 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40404 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40405 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40406 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40407 (strtod_l, strtof_l, strtold_l): Remove __wur.
40408 It is not necessarily an error to ignore strtol's return value.
40409 One can reliably look at the stored endptr to decide whether
40410 the number had valid syntax.
40412 2012-04-21 Andreas Jaeger <aj@suse.de>
40415 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40417 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40419 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40420 * sysdeps/unix/sysv/Versions: Remove file.
40422 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40427 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40430 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40431 version from __vm86.
40433 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40435 * sysdeps/unix/common/lxstat.c: Remove file.
40436 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40438 * sysdeps/unix/sysv/Makefile: Remove file.
40440 * sysdeps/unix/sysv/direct.h: Remove file.
40442 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40443 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40444 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40445 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40446 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40447 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40448 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40450 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40452 * sysdeps/unix/xmknod.c: Remove file.
40453 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40455 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40457 * sysdeps/unix/sysv/i386/time.S: Remove file.
40459 * sysdeps/unix/fxstat.c: Remove file.
40460 * sysdeps/unix/xstat.c: Likewise.
40461 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40463 * sysdeps/unix/sysv/sigaction.c: Remove file.
40465 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40466 (sysdep_headers): Remove variable.
40467 [termio.h not in sysdep_headers] (generated): Likewise.
40468 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40469 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40470 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40471 * sysdeps/unix/sysv/tcflow.c: Likewise.
40472 * sysdeps/unix/sysv/tcflush.c: Likewise.
40473 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40474 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40475 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40476 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40477 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40479 * sysdeps/unix/siglist.c: Remove file.
40481 * sysdeps/unix/getppid.S: Remove file.
40483 * sysdeps/unix/mkdir.c: Remove file.
40484 * sysdeps/unix/rmdir.c: Likewise.
40486 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40488 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40490 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40491 errlist-compat value.
40493 2012-04-18 David S. Miller <davem@davemloft.net>
40495 * sysdeps/generic/memcopy.h (reg_char): Delete.
40496 * debug/strcat_chk.c: Use char, not reg_char.
40497 * debug/strcpy_chk.c: Likewise.
40498 * debug/strncat_chk.c: Likewise.
40499 * debug/strncpy_chk.c: Likewise.
40500 * string/memchr.c: Likewise.
40501 * string/memrchr.c: Likewise.
40502 * string/rawmemchr.c: Likewise.
40503 * string/strcat.c: Likewise.
40504 * string/strchr.c: Likewise.
40505 * string/strchrnul.c: Likewise.
40506 * string/strcmp.c: Likewise.
40507 * string/strcpy.c: Likewise.
40508 * string/strncat.c: Likewise.
40509 * string/strncmp.c: Likewise.
40510 * string/strncpy.c: Likewise.
40512 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40514 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40515 __builtin_memcopy is called when src and dest ranges are known to not
40518 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40520 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40521 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40522 fwd_align_merge macro call.
40523 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40524 bwd_align_merge macro call.
40525 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40527 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40529 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40530 bwd_align_merge macros.
40531 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40532 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40533 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40535 2012-04-18 David S. Miller <davem@davemloft.net>
40537 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40539 2012-04-18 Andreas Jaeger <aj@suse.de>
40542 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40543 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40544 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40546 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40547 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40548 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40550 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40551 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40552 Adjust for changed ldbl-128 files.
40554 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40555 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40556 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40558 2012-04-17 David S. Miller <davem@davemloft.net>
40560 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40562 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40564 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40565 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40566 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40567 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40568 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40569 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40571 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40574 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40575 * math/libm-test.inc: Add ilogb errno and exception tests.
40576 * math/w_ilogb.c: New file: ilogb wrapper.
40577 * math/w_ilogbf.c: New file: ilogbf wrapper.
40578 * math/w_ilogbl.c: New file: ilogbl wrapper.
40579 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40580 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40581 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40582 exception being thrown with 0.0 as argument.
40583 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40584 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40585 exception being thrown with 0.0 as argument.
40586 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40587 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40588 exception being thrown with 0.0 as argument.
40589 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40590 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40591 exception being thrown with 0.0 as argument.
40592 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40593 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40594 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40595 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40597 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40598 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40599 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40600 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40602 2012-04-17 Petr Baudis <pasky@ucw.cz>
40604 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40607 2012-04-16 Marek Polacek <polacek@redhat.com>
40609 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40611 2012-04-16 Marek Polacek <polacek@redhat.com>
40613 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40614 operands of fdivp instruction.
40616 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40618 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40619 * elf/tst-auditmod3b.c: Likewise.
40620 * elf/tst-auditmod4b.c: Likewise.
40621 * elf/tst-auditmod5b.c: Likewise.
40622 * elf/tst-auditmod6b.c: Likewise.
40623 * elf/tst-auditmod6c.c: Likewise.
40624 * elf/tst-auditmod7b.c: Likewise.
40625 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40626 * sysdeps/x86_64/preconfigure.in: Likewise.
40627 * sysdeps/x86_64/preconfigure: Regenerated.
40629 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40631 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40634 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40636 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40637 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40639 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40642 * locale/iso-639.def: Fix gl language name. Spotted by
40645 2012-04-12 Roland McGrath <roland@hack.frob.com>
40648 * libio/libio.h (__io_write_fn): Update comment.
40650 2012-04-12 Petr Baudis <pasky@ucw.cz>
40653 * stdio.texi (Hook Functions): The user provided writer function
40654 is not allowed to return -1.
40656 2012-04-11 David S. Miller <davem@davemloft.net>
40658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40660 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40662 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40663 Add a leading slash to rtkaio.
40665 2012-04-11 Jim Meyering <meyering@redhat.com>
40668 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40669 It is not necessarily an error to ignore fwrite's return
40670 value. One can reliably use ferror to test for errors after
40673 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40675 * bits/types.h (__snseconds_t): New type.
40676 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40678 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40680 (__SNSECONDS_T_TYPE): Likewise.
40681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40682 (__SNSECONDS_T_TYPE): Likewise.
40683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40684 (__SNSECONDS_T_TYPE): Likewise.
40686 2012-04-10 Andreas Jaeger <aj@suse.de>
40689 * manual/time.texi (Processor Time): Return type of times is
40690 elapsed real time since an arbitrary point in the past.
40691 (CPU Time): Move CLK_TCK from here...
40692 (Processor Time): ...to here. Correct description.
40693 * manual/conf.texi (Constants for Sysconf): Correct description of
40696 2012-04-10 David S. Miller <davem@davemloft.net>
40699 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40700 where the is a gap between DT_REL(A) and DT_JMPREL.
40702 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40704 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40705 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40706 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40708 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40710 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40711 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40712 (dl_main): Handle --inhibit-cache.
40713 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40715 * elf/dl-load.c (_dl_map_object): Use it.
40716 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40718 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40721 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40722 (__ieee754_powl): Saturate large exponents rather than testing for
40723 overflow of y*log2(x).
40724 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40725 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40729 * math/s_ctan.c: Include <float.h>.
40730 (__ctan): Avoid internal overflow or cancellation in calculating
40732 * math/s_ctanf.c: Likewise.
40733 * math/s_ctanl.c: Likewise.
40734 * math/s_ctanh.c: Likewise.
40735 * math/s_ctanhf.c: Likewise.
40736 * math/s_ctanhl.c: Likewise.
40737 * math/libm-test.inc (ctan_test): Add more tests.
40738 (ctanh_test): Likewise.
40739 * sysdeps/i386/fpu/libm-test-ulps: Update.
40740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40742 2012-04-09 Andreas Jaeger <aj@suse.de>
40745 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40746 is an optional BSD extension.
40749 * manual/stdio.texi (Opening Streams): Document additional fopen
40752 2012-04-09 Roland McGrath <roland@hack.frob.com>
40754 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40755 %eax without telling the compiler.
40757 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40760 * manual/install.texi: Use sourceware.org.
40762 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40765 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40766 (__ieee754_pow): Generate overflow and underflow using huge*huge
40767 and tiny*tiny rather than just returning constant infinity or zero
40768 for large exponents.
40769 * math/libm-test.inc (pow_test): Require overflow exceptions for
40770 applicable cases of large exponents.
40773 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40774 (__ieee754_pow): Use iterative multiplication algorithm only for
40775 integer exponents with absolute value below 1024. Check for odd
40776 integer exponents when using algorithm for real exponents.
40777 * math/libm-test.inc (pow_test): Add more tests.
40778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40780 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40783 * math/libm-test.inc (exp_test): Do not allow overflow exception
40786 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40789 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40790 instead of __kernel_standard_f.
40792 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40794 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40795 * sysdeps/x86_64/memset_chk.S: Likewise.
40797 2012-04-08 Andreas Jaeger <aj@suse.de>
40800 * manual/startup.texi (Environment Access): Describe return value
40801 for putenv and setenv.
40804 * manual/filesys.texi (Directory Entries): Add description for
40808 * manual/filesys.texi (Directory Entries): Clarify that it's file
40809 system not operating system in the description of DT_UNKNOWN.
40812 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40814 2012-04-08 Stephen Compall <s11@member.fsf.org>
40817 * manual/llio.texi (Opening and Closing Files): Add cross
40818 reference to explain mode argument.
40820 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40822 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40823 * sysdeps/x86_64/memset_chk.S: Likewise.
40825 2012-04-07 David S. Miller <davem@davemloft.net>
40827 * elf/elf.h (R_SPARC_WDISP10): Define.
40828 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40831 R_SPARC_SIZE64 and R_SPARC_H34.
40833 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40836 conditions and remove no longer applicable assertion.
40838 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40840 * bits/byteswap.h: Include <features.h>.
40841 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40842 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40844 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40846 * bits/byteswap.h (__bswap_16): Removed.
40847 Include <bits/byteswap-16.h> to get __bswap_16.
40848 * sysdeps/i386/bits/byteswap.h: Likewise.
40849 * sysdeps/s390/bits/byteswap.h: Likewise.
40850 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40851 * bits/byteswap-16.h: New file.
40852 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40853 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40854 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40855 * string/Makefile (headers): Add bits/byteswap-16.h.
40857 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40860 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40862 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40863 * nss/tst-nss-static.c: New.
40865 2012-04-06 Robert Millan <rmh@gnu.org>
40868 * manual/llio.texi (File Position Primitive): lseek
40869 refers to WHENCE when it really means OFFSET.
40871 2012-04-06 Andreas Jaeger <aj@suse.de>
40873 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40874 strncmp declarations.
40876 * abilist/libc.abilist: Add __poll and __ppoll.
40878 2012-04-05 David S. Miller <davem@davemloft.net>
40880 * scripts/check-local-headers.sh: Accept a host triplet in the
40881 path matched by the exclude regexp.
40883 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40885 * sysdeps/powerpc/powerpc32/dl-machine.h
40886 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40887 * sysdeps/s390/s390-32/dl-machine.h
40888 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40889 * sysdeps/sparc/sparc32/dl-machine.h
40890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40891 * sysdeps/sparc/sparc64/dl-machine.h
40892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40894 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40896 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40897 undefined symbol errors.
40899 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40902 2012-04-05 Michael Matz <matz@suse.de>
40905 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40907 2012-04-05 Andreas Jaeger <aj@suse.de>
40910 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40913 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40915 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40916 which ROUND is no valid rounding mode.
40918 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40920 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40922 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40924 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40926 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40927 an exception using FPU order intentionally.
40929 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40931 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40932 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40933 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40934 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40936 2012-04-05 Simon Josefsson <simon@josefsson.org>
40939 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40940 EINVAL when BUFLEN is too smal.
40942 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40945 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40946 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40948 2012-04-03 Andreas Jaeger <aj@suse.de>
40951 * manual/setjmp.texi (System V contexts): Fix sentence.
40954 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40955 New macro for this case.
40956 [!__GNUC__] (__bswap_64): New inline function for this case.
40957 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40958 * bits/byteswap.h: Likewise.
40959 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40960 ull, guard with __GLIBC_HAVE_LONG_LONG.
40962 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40963 __GLIBC_HAVE_LONG_LONG.
40965 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40966 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40968 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40971 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40972 inptr and inend, rather than using last_ch.
40974 2012-04-02 David S. Miller <davem@davemloft.net>
40976 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40977 * stdio-common/printf-parse.h (read_int): Change return type to
40978 'int', return -1 on INT_MAX overflow.
40979 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40980 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40981 overflows INT_MAX. Check for overflow of in-format-string precision
40982 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40983 SIZE_MAX not INT_MAX for integer overflow test.
40984 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40985 skip the construct in the format string but do not record anything.
40986 * stdio-common/bug22.c: Adjust to test both width/prevision
40987 INT_MAX overflow as well as total length INT_MAX overflow. Check
40988 explicitly for proper errno values.
40990 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40992 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40994 * string/test-strcmp.c [! WIDE]: Likewise.
40995 * time/tst-mktime2.c: Likewise for INT_MAX.
40996 * string/test-string.h: #include <sys/param.h> for MIN.
40998 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40999 * sysdeps/i386/init-first.c (init): Likewise.
41000 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41001 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41002 * sysdeps/sh/init-first.c (init): Likewise.
41004 2012-04-01 Ulrich Drepper <drepper@gmail.com>
41006 * po/ru.po: Update from translation team.
41007 * po/vi.po: Likewise.
41009 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41011 * resolv/nss_dns/dns-host.c: Merge copyright years.
41013 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41016 Optimize memcpy with prefetch if
41017 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41018 src, dst pointers have unequal 16 byte alignments.
41020 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41023 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41024 from a CNAME entry and return the minimum ttl for the query.
41025 (gaih_getanswer_slice): Likewise.
41027 2012-03-30 Jeff Law <law@redhat.com>
41029 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41031 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41032 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41034 * resolv/nss_dns/dns-host.c: Update copyright year.
41036 2012-03-30 Ulrich Drepper <drepper@gmail.com>
41038 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41039 requests to save a system call. Fix check that all bytes are sent.
41041 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41042 comments for sendmmsg.
41044 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41047 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41048 with only 1 character between 0x0041 and 0x01b0.
41049 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41050 * wcsmbs/tst-mbsnrtowcs.c: New file.
41052 2012-03-29 David S. Miller <davem@davemloft.net>
41054 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41055 small copies by hand.
41057 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41060 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41061 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41064 2012-03-28 David S. Miller <davem@davemloft.net>
41066 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41067 that branches into memcpy.
41068 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41070 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41071 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41074 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41075 implementation too.
41076 * sysdeps/sparc/mempcpy.S: New file.
41078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41079 the IFUNC routine in the libc case.
41080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41082 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41083 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41084 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41085 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41086 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41087 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41088 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41089 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41091 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41092 loop to 256 bytes instead of 64 bytes and fix test signedness.
41094 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41095 * sysdeps/sparc/sparc32/Makefile: rather than here...
41096 * sysdeps/sparc/sparc64/Makefile: and here.
41098 2012-03-28 Ulrich Drepper <drepper@gmail.com>
41100 * malloc/mallocbug.c: Avoid warnings about unused variables.
41102 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41105 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41106 in the right place. Discard and retry query if response is
41107 larger than input buffer size.
41109 2012-03-28 Joseph Myers <joseph@codesourcery.com>
41114 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41115 x for large integer exponent.
41116 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41117 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41118 sign of result as needed afterwards.
41119 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41120 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41121 result for underflowing pow the same as for overflow.
41122 (__kernel_standard_l): Handle powl overflow and underflow here
41123 rather than calling __kernel_standard.
41124 * math/libm-test.inc (pow_test): Add more tests.
41139 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41140 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41141 (__kernel_standard_l): New function.
41142 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41144 * math/w_acosl.c (__acosl): Likewise.
41145 * math/w_asinl.c (__asinl): Likewise.
41146 * math/w_atan2l.c (__atan2l): Likewise.
41147 * math/w_atanhl.c (__atanhl): Likewise.
41148 * math/w_coshl.c (__coshl): Likewise.
41149 * math/w_exp10l.c (__exp10l): Likewise.
41150 * math/w_exp2l.c (__exp2l): Likewise.
41151 * math/w_fmodl.c (__fmodl): Likewise.
41152 * math/w_hypotl.c (__hypotl): Likewise.
41153 * math/w_j0l.c (__j0l, __y0l): Likewise.
41154 * math/w_j1l.c (__j1l, __y1l): Likewise.
41155 * math/w_jnl.c (__jnl, __ynl): Likewise.
41156 * math/w_lgammal.c (__lgammal): Likewise.
41157 * math/w_log10l.c (__log10l): Likewise.
41158 * math/w_log2l.c (__log2l): Likewise.
41159 * math/w_logl.c (__logl): Likewise.
41160 * math/w_powl.c (__powl): Likewise.
41161 * math/w_remainderl.c (__remainderl): Likewise.
41162 * math/w_scalbl.c (sysv_scalbl): Likewise.
41163 * math/w_sinhl.c (__sinhl): Likewise.
41164 * math/w_sqrtl.c (__sqrtl): Likewise.
41165 * math/w_tgammal.c (__tgammal): Likewise.
41166 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41167 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41168 * math/libm-test.inc (acos_test): Add more tests.
41169 (acosh_test): Likewise.
41170 (asin_test): Likewise.
41171 (atanh_test): Likewise.
41172 (exp_test): Likewise.
41173 (exp10_test): Likewise.
41174 (exp2_test): Likewise.
41175 (expm1_test): Likewise.
41176 (lgamma_test): Likewise.
41177 (log_test): Likewise.
41178 (log10_test): Likewise.
41179 (log1p_test): Likewise.
41180 (log2_test): Likewise.
41181 (pow_test): Do not allow some spurious overflow exceptions.
41182 (sqrt_test): Add more tests.
41183 (tgamma_test): Likewise.
41184 (y0_test): Likewise.
41185 (y1_test): Likewise.
41186 (yn_test): Likewise.
41188 2012-03-27 Anton Blanchard <anton@samba.org>
41190 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41192 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41193 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41194 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41196 2012-03-27 David S. Miller <davem@davemloft.net>
41198 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41200 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41201 have-as-vis3 check.
41203 2012-03-27 Andreas Jaeger <aj@suse.de>
41205 * sysdeps/x86_64/elf/configure.in: Moved to ...
41206 * sysdeps/x86_64/configure.in: ... here.
41207 * sysdeps/x86_64/elf/start.S: Moved to ...
41208 * sysdeps/x86_64/start.S: ... here.
41209 * sysdeps/x86_64/elf/configure: Delete.
41211 * sysdeps/x86_64/configure.in: Merge contents from
41212 sysdeps/i386/configure.in (without i686 check).
41214 * sysdeps/i386/elf/Versions: Merge into ...
41215 * sysdeps/i386/Versions: ... this.
41216 * sysdeps/i386/elf/Versions: Delete file.
41217 * sysdeps/i386/elf/start.S: Moved to ...
41218 * sysdeps/i386/start.S: ...here.
41219 * sysdeps/i386/elf/configure.in: Merge into...
41220 * sysdeps/i386/configure.in: ...here.
41221 * sysdeps/i386/elf/configure.in: Delete file.
41222 * sysdeps/i386/elf/configure: Delete file.
41224 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41225 * debug/backtracesyms.c: ... here.
41226 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41227 * debug/backtracesymsfd.c: ... here.
41228 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41229 * sysdeps/generic/ifunc-sel.h: ... here.
41231 * sysdeps/unix/i386/start.c: Delete file.
41232 * sysdeps/unix/sparc/start.c: Delete file.
41233 * sysdeps/unix/start.c: Delete file.
41235 * sysdeps/sh/elf/configure.in: Moved to ...
41236 * sysdeps/sh/configure.in: ... here.
41237 * sysdeps/sh/elf/start.S: Moved to ...
41238 * sysdeps/sh/start.S: ... here.
41239 * sysdeps/sh/elf/configure: Delete file.
41241 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41242 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41243 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41244 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41245 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41246 * sysdeps/powerpc/powerpc64/start.S: here.
41247 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41248 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41249 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41250 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41251 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41253 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41254 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41255 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41256 * sysdeps/powerpc/powerpc32/start.S: ... here.
41257 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41258 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41259 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41261 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41262 * sysdeps/powerpc/ifunc-sel.h: ... here.
41263 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41264 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41266 * sysdeps/sparc/elf/configure.in: Moved to ...
41267 * sysdeps/sparc/configure.in: ... here.
41268 * sysdeps/sparc/elf/configure: Delete file.
41269 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41270 * sysdeps/sparc/sparc32/start.S: ... here.
41271 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41272 * sysdeps/sparc/sparc64/start.S: ... here.
41273 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41274 * sysdeps/sparc/sparc32/Makefile: ... this.
41275 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41276 * sysdeps/sparc/sparc64/Makefile: ... this.
41278 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41279 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41280 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41281 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41282 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41283 * sysdeps/s390/s390-32/setjmp.S: ... here.
41284 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41285 * sysdeps/s390/s390-32/configure.in: ... here.
41286 * sysdeps/s390/s390-32/elf/configure: Delete file.
41287 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41288 * sysdeps/s390/s390-32/start.S: ... here.
41290 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41291 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41292 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41293 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41294 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41295 * sysdeps/s390/s390-64/setjmp.S: ... here.
41296 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41297 * sysdeps/s390/s390-64/configure.in: ... here
41298 * sysdeps/s390/s390-64/elf/configure: Delete file.
41299 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41300 * sysdeps/s390/s390-64/start.S: ... here.
41301 * sysdeps/s390/s390-64/elf/configure: Delete.
41303 * configure.in: Remove support for elf directories in sysdeps.
41305 * configure: Regenerated.
41306 * sysdeps/i386/configure: Regenerated.
41307 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41308 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41309 * sysdeps/s390/s390-32/configure: Regenerated.
41310 * sysdeps/s390/s390-64/configure: Regenerated.
41311 * sysdeps/sh/configure: Regenerated.
41312 * sysdeps/sparc/configure: Regenerated.
41313 * sysdeps/x86_64/configure: Regenerated.
41315 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41320 denormal result into account.
41322 2012-03-25 Roland McGrath <roland@hack.frob.com>
41324 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41325 Reported by Allan McRae <allan@archlinux.org>.
41327 2012-03-23 Jeff Law <law@redhat.com>
41329 * nss/getnssent.c (__nss_getent): Fix typo.
41331 2012-03-23 David S. Miller <davem@davemloft.net>
41333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41335 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41337 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41338 to pad to uint64_t for each field.
41339 (dl_tls_index): Replace unsigned long with uint64_t.
41341 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41342 Paul Pluzhnikov <ppluzhnikov@google.com>
41345 * grp/Makefile (otherlibs): Don't set it.
41346 * inet/Makefile (otherlibs): Likewise.
41347 * login/Makefile (otherlibs): Likewise.
41348 * nscd/Makefile (otherlibs): Likewise.
41349 * posix/Makefile (otherlibs): Likewise.
41350 * pwd/Makefile (otherlibs): Likewise.
41351 * rt/Makefile (otherlibs): Likewise.
41352 * sunrpc/Makefile (otherlibs): Likewise.
41353 * nss/Makefile (otherlibs): Likewise.
41354 Add libnss_files to routines and static-only-routines.
41355 ($(objpfx)getent): Remove rule.
41356 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41357 static-only-routines.
41359 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41362 * math/s_cexp.c: Include <float.h>.
41363 (__cexp): Handle exp result overflowing not necessarily
41364 overflowing both real and imaginary parts of result.
41365 * math/s_cexpf.c: Likewise.
41366 * math/s_cexpl.c: Likewise.
41367 * math/libm-test.inc (cexp_test): Add more tests.
41368 * sysdeps/i386/fpu/libm-test-ulps: Update.
41369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41371 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41373 * include/link.h (ELFW): New macro.
41374 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41375 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41377 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41379 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41382 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41384 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41386 (struct La_x32_retval): Likewise.
41388 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41390 * sysdeps/x86_64/preconfigure.in: New file.
41391 * sysdeps/x86_64/preconfigure: New generated file.
41393 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41396 * math/e_exp2l.c: Include <float.h>.
41397 (__ieee754_exp2l): Handle overflow and underflow cases
41398 separately. Only pass fractional part of argument to
41400 * math/libm-test.inc (exp2_test): Add more tests.
41402 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41403 negating x to take absolute value.
41404 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41406 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41407 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41409 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41410 computing low part if x was negated.
41411 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41413 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41415 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41416 la_x32_gnu_pltexit.
41417 (pltexit): Cast int_retval to ptrdiff_t.
41418 * elf/tst-auditmod3b.c: Likewise.
41419 * elf/tst-auditmod4b.c: Likewise.
41420 * elf/tst-auditmod5b.c: Likewise.
41421 * elf/tst-auditmod6b.c: Likewise.
41422 * elf/tst-auditmod6c.c: Likewise.
41423 * elf/tst-auditmod7b.c: Likewise.
41425 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41426 and x32_gnu_pltexit.
41428 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41429 __ELF_NATIVE_CLASS.
41430 (La_x32_regs): New macro.
41431 (La_x32_retval): Likewise.
41432 (la_x32_gnu_pltenter): New function prototype.
41433 (la_x32_gnu_pltexit): Likewise.
41435 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41437 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41442 * configure.in (libc_cv_cc_nofma): Check for option to disable
41443 generation of FMA instructions.
41444 * configure: Regenerate.
41445 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41446 * sysdeps/ieee754/dbl-64/Makefile: New file.
41447 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41448 Remove brandred-fma4.
41449 (CFLAGS-brandred-fma4.c): Remove.
41450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41451 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41453 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41456 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41458 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41459 LLONG_MAX != LONG_MAX.
41460 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41461 (_fitoa_word): Likewise.
41462 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41463 LLONG_MAX != LONG_MAX.
41464 * stdio-common/_itowa.h: Include <_itoa.h>.
41465 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41466 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41467 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41468 only if not defined.
41469 (_ITOA_WORD_TYPE): Likewise.
41470 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41471 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41473 2012-03-21 David S. Miller <davem@davemloft.net>
41475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41477 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41479 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41480 of x86_64 when setting libc_cv_slibdir, libdir and
41482 * sysdeps/unix/sysv/linux/configure: Regenerated.
41484 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41486 * manual/lang.texi (Old Varargs): Remove section.
41487 (How Variadic): Update menu.
41488 (va_start): Do not mention varargs.h.
41490 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41491 Joseph Myers <joseph@codesourcery.com>
41493 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41495 * configure: Regenerated.
41497 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41499 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41500 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41503 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41506 * Makefile (files-for-dist): Remove NOTES.
41507 (NOTES): Remove rule.
41508 * README: Don't refer to NOTES.
41509 * manual/creature.texi: Don't include macros.texi.
41510 * manual/intro.texi (creature.texi): Remove comment referring to
41513 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41514 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41515 * configure: Regenerated.
41516 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41517 LIBC_TRY_CC_OPTION.
41518 (libc_cv_as_i686): Likewise.
41519 (libc_cv_cc_avx): Likewise.
41520 (libc_cv_cc_sse2avx): Likewise.
41521 (libc_cv_cc_fma4): Likewise.
41522 (libc_cv_cc_novzeroupper): Likewise.
41523 * sysdeps/i386/configure: Regenerated.
41526 * sysdeps/i386/fpu/s_cexp.S: Remove.
41527 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41528 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41529 * math/libm-test.inc (cexp_test): Add more tests.
41530 * sysdeps/i386/fpu/libm-test-ulps: Update.
41531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41533 2012-03-21 Allan McRae <allan@archlinux.org>
41535 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41537 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41540 * math/w_exp2.c: Do not include <float.h>.
41541 (o_threshold, u_threshold): Remove.
41542 (__exp2): Calculate result before checking finiteness and calling
41544 * math/w_exp2f.c: Likewise.
41545 * math/w_exp2l.c: Likewise.
41546 * math/libm-test.inc (exp2_test): Require overflow exception for
41550 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41551 range of signed 64-bit integers before using fistpll. Remove
41552 checks for whether integers fit in mantissa bits.
41553 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41554 the range of signed 32-bit integers before using fistpl. Remove
41555 checks for whether integers fit in mantissa bits.
41556 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41557 (__ieee754_powl): Test for y outside the range of signed 64-bit
41558 integers before using fistpll. Reduce 64-bit values to 63-bit
41560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41561 divide-by-zero is raised for zero to large negative powers.
41562 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41563 (__ieee754_powl): Test for y outside the range of signed 64-bit
41564 integers before using fistpll. Reduce 64-bit values to 63-bit
41566 * math/libm-test.inc (pow_test): Add more tests.
41568 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41570 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41571 <stdio-common/_itoa.h>.
41572 * debug/segfault.c: Likewise.
41573 * elf/dl-cache.c: Likewise.
41574 * elf/dl-minimal.c: Likewise.
41575 * elf/dl-misc.c: Likewise.
41576 * elf/dl-sysdep.c: Likewise.
41577 * elf/dl-version.c: Likewise.
41578 * elf/rtld.c: Likewise.
41579 * hurd/hurdsock.c: Likewise.
41580 * hurd/lookup-retry.c: Likewise.
41581 * malloc/malloc.c: Likewise.
41582 * malloc/mtrace.c: Likewise.
41583 * nscd/nscd_getgr_r.c: Likewise.
41584 * nscd/nscd_getpw_r.c: Likewise.
41585 * nscd/nscd_getserv_r.c: Likewise.
41586 * posix/getopt_init.c: Likewise.
41587 * posix/wordexp.c: Likewise.
41588 * stdio-common/_itoa.c: Likewise.
41589 * stdio-common/printf_fphex.c: Likewise.
41590 * stdio-common/vfprintf.c: Likewise.
41591 * string/_strerror.c: Likewise.
41592 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41593 * sysdeps/i386/i686/hp-timing.h: Likewise.
41594 * sysdeps/mach/_strerror.c: Likewise.
41595 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41596 * sysdeps/mach/hurd/sethostid.c: Likewise.
41597 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41598 * sysdeps/mach/xpg-strerror.c: Likewise.
41599 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41600 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41601 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41602 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41603 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41604 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41605 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41606 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41607 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41608 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41609 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41610 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41611 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41612 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41613 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41614 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41615 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41616 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41617 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41618 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41619 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41621 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41623 * stdio-common/_itoa.h: Moved to ...
41624 * sysdeps/generic/_itoa.h: Here.
41626 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41628 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41629 instead of "_itoa.h" and "_itowa.h".
41630 * stdio-common/vfprintf.: Likewise.
41632 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41634 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41636 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41637 (__signbit): Likwise.
41638 (llrintf): Likwise.
41641 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41643 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41646 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41648 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41649 OVERFLOW_EXCEPTION_OK.
41650 * math/libm-test.inc ("Philosophy"): Update comment about
41652 (OVERFLOW_EXCEPTION): Define.
41653 (OVERFLOW_EXCEPTION_OK): Likewise.
41654 (INVALID_EXCEPTION_OK): Renumber.
41655 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41656 (IGNORE_ZERO_INF_SIGN): Likewise.
41657 (test_exceptions): Handle FE_OVERFLOW.
41658 (exp10_test): Expect overflow exceptions.
41659 (exp2_test): Likewise.
41660 (expm1_test): Likewise.
41661 (nextafter_test): Likewise.
41662 (pow_test): Likewise.
41663 (scalbn_test): Likewise.
41664 (scalbln_test): Likewise.
41666 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41668 * sysdeps/x86_64/bits/atomic.h
41669 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41671 (atomic_exchange_acq): Likewise.
41672 (__arch_exchange_and_add_body): Likewise.
41673 (__arch_add_body): Likewise.
41674 (atomic_add_negative): Likewise.
41675 (atomic_add_zero): Likewise.
41677 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41679 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41680 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41682 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41684 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41685 Check __x86_64__ instead of __WORDSIZE.
41687 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41689 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41691 2012-03-19 David S. Miller <davem@davemloft.net>
41693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41695 * sysdeps/sparc/fpu/fenv_private.h: New file.
41696 * sysdeps/sparc/fpu/math_private.h: Use it.
41697 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41699 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41700 (libc_feholdexcept_setroundl): Remove.
41701 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41703 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41704 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41706 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41708 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41709 int64_t instead of long int.
41710 (INSERT_WORDS64): Likwise.
41712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41714 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41715 _Unwind_GetCFA return to _Unwind_Ptr first.
41717 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41720 * math/s_clog.c: Include <float.h>.
41721 (__clog): Scale large or subnormal inputs.
41722 * math/s_clogf.c: Likewise.
41723 * math/s_clogl.c: Likewise.
41724 * math/s_clog10.c: Include <float.h>.
41725 (M_LOG10_2): Define.
41726 (__clog10): Scale large or subnormal inputs.
41727 * math/s_clog10f.c: Likewise.
41728 * math/s_clog10l.c: Likewise.
41729 * math/libm-test.inc (clog_test): Add more tests.
41730 (clog10_test): Likewise.
41731 * sysdeps/i386/fpu/libm-test-ulps: Update.
41732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41735 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41737 * math/libm-test.inc (atan2_test): Add another test.
41739 * Makerules (common-objdir-compile): Remove.
41740 * sysdeps/unix/Makefile (config-generated): Do not add
41741 $(unix-generated) to variable.
41742 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41743 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41745 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41747 [generic bits/local_lim.h] (before-compile): Do not append to
41749 [generic bits/local_lim.h] (common-generated): Likewise.
41750 [generic sys/param.h] (before-compile): Do not append to variable.
41751 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41752 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41753 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41754 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41756 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41757 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41758 [generic sys/param.h] ($(addprefix
41759 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41760 [generic sys/param.h] (common-generated): Do not append to
41762 [generic sys/param.h] (sysdep_headers): Likewise.
41763 [generic bits/errno.h] (before-compile): Do not append to
41765 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41767 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41768 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41769 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41770 [generic bits/errno.h] (common-generated): Do not append to
41772 [generic bits/ioctls.h] (before-compile): Do not append to
41774 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41776 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41777 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41778 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41780 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41781 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41782 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41783 [generic bits/ioctls.h] (common-generated): Do not append to
41785 [generic sys/syscall.h] (syscall.h): Remove variable.
41786 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41788 [generic sys/syscall.h] (before-compile): Do not append to
41790 [generic sys/syscall.h] (common-generated): Likewise.
41791 * sysdeps/unix/errnos-tmpl.c: Remove file.
41792 * sysdeps/unix/errnos.awk: Likewise.
41793 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41794 * sysdeps/unix/ioctls.awk: Likewise.
41795 * sysdeps/unix/mk-local_lim.c: Likewise.
41796 * sysdeps/unix/snarf-ioctls: Likewise.
41798 2012-03-19 Richard Henderson <rth@twiddle.net>
41800 * sysdeps/i386/fpu/fenv_private.h: New file.
41801 * sysdeps/i386/fpu/math_private.h: Use it.
41802 (math_opt_barrier, math_force_eval): Remove.
41803 (libc_feholdexcept_setround_53bit): Remove.
41804 (libc_feupdateenv_53bit): Remove.
41805 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41806 (math_opt_barrier, math_force_eval): Remove.
41807 (libc_feholdexcept): Remove.
41808 (libc_feholdexcept_setround): Remove.
41809 (libc_fetestexcept, libc_fesetenv): Remove.
41810 (libc_feupdateenv_test): Remove.
41811 (libc_feupdateenv, libc_feholdsetround): Remove.
41812 (libc_feresetround): Remove.
41814 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41815 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41817 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41818 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41819 (libc_feupdateenv_testl): New.
41820 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41821 (libc_feupdateenv_testf): New.
41822 (libc_feupdateenv): Use libc_feupdateenv_test.
41823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41824 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41826 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41827 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41828 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41829 (libc_feresetround_noex): New.
41830 (libc_feresetround_noexf): New.
41831 (libc_feresetround_noexl): New.
41832 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41833 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41834 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41835 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41837 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41838 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41840 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41841 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41842 SET_RESTORE_ROUND_NOEX.
41843 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41844 SET_RESTORE_ROUND_NOEXF.
41845 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41846 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41847 (libc_feholdsetroundf): New.
41848 (libc_feresetround, libc_feresetroundf): New.
41850 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41851 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41852 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41854 * sysdeps/generic/math_private.h: Include <fenv.h>.
41855 (default_libc_feholdexcept): New.
41856 (default_libc_feholdexcept_setround): New.
41857 (default_libc_fesetenv, default_libc_feupdateenv): New.
41858 (libc_feholdexcept): Only define if undefined.
41859 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41860 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41861 (libc_feholdexcept_setroundl): Likewise.
41862 (libc_feholdexcept_setround_53bit): Likewise.
41863 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41864 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41865 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41866 (libc_feupdateenv_53bit): Likewise.
41867 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41868 (libc_feholdexcept): Convert from macro to inline function.
41869 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41870 (libc_fesetenv, libc_feupdateenv): Likewise.
41872 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41873 not previously defined.
41874 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41875 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41876 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41877 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41878 * sysdeps/ieee754/flt-32/math_private.h: New file.
41879 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41880 math_private.h below SET_FLOAT_WORD.
41881 (__isnan, __isinf_ns, __finite): Remove.
41882 (__isnanf, __isinf_nsf, __finitef): Remove.
41884 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41888 2012-03-17 David S. Miller <davem@davemloft.net>
41891 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41894 2012-03-16 David S. Miller <davem@davemloft.net>
41896 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41900 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41902 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41903 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41904 sysdep_routines when subdir is sysvipc.
41905 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41906 __getshmlba helper.
41908 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41910 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41912 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41917 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41918 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41919 (__lround): Renamed to ...
41920 (__llround): This. Replace long int with long long int.
41921 Define lround functions as aliases of llround functions.
41922 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41924 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41926 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41927 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41928 adresses to uintptr_t. Replace "long int" and "unsigned long
41929 int" with "greg_t" on va_arg.
41931 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41933 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41934 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41936 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41937 Move e_machine check before EI_CLASS check. Handle x32
41938 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41939 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41940 SKIP_EM_IA_64 and include
41941 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41943 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41944 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41945 (add_system_dir): New macro.
41947 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41948 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41950 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41961 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41963 * math/w_j0f.c (j0f): Likewise.
41965 * math/w_j0l.c (__j0l): Likewise.
41967 * math/w_j1.c (j1): Likewise.
41969 * math/w_j1f.c (j1f): Likewise.
41971 * math/w_j1l.c (__j1l): Likewise.
41973 * math/w_jn.c (jn): Likewise.
41975 * math/w_jnf.c (jnf): Likewise.
41977 * math/w_jnl.c (__jnl): Likewise.
41979 * math/libm-test.inc (j0_test): Add more tests.
41980 (j1_test): Likewise.
41981 (jn_test): Likewise. Add trailing semicolon to existing test.
41982 (y0_test): Likewise.
41983 (y1_test): Likewise.
41984 * sysdeps/i386/fpu/libm-test-ulps: Update.
41985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41989 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41990 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41991 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41992 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41993 (__tanl): Set errno for infinite argument.
41994 * sysdeps/i386/fpu/mptan.c: Remove.
41995 * sysdeps/i386/fpu/s_tan.S: Likewise.
41996 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41997 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41998 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41999 * math/libm-test.inc (tan_test): Add more tests and enable more
42000 tests for double and long double.
42001 * sysdeps/i386/fpu/libm-test-ulps: Update.
42002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42004 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42006 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42007 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42009 2012-03-16 Roland McGrath <roland@hack.frob.com>
42011 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42012 * configure.in: Use it for both main tree and add-ons.
42013 * configure: Regenerated.
42015 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42017 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42019 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42021 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42025 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42026 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42027 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42028 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42029 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42031 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42033 != 0 for prec == 2.
42034 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42035 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42036 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42037 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42038 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42039 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42040 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42041 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42042 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42043 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42044 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42045 * math/libm-test.inc (cos_test): Add more tests and enable more
42046 tests for long double.
42047 (sin_test): Likewise.
42048 (sincos_test): Likewise.
42049 * sysdeps/i386/fpu/libm-test-ulps: Update.
42050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42052 2012-03-16 David S. Miller <davem@davemloft.net>
42054 * sysdeps/sparc/fpu/math_private.h: New file.
42056 2012-03-15 David S. Miller <davem@davemloft.net>
42058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42068 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42072 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42073 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42075 * sysdeps/sparc/sparc-ifunc.h: New file.
42076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42102 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42103 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42115 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42118 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42119 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42121 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42123 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42127 2012-03-15 Andreas Jaeger <aj@suse.de>
42130 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42131 ieee754/flt-32 implementation for sin, cos and sincos.
42132 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42133 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42134 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42135 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42136 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42137 ieee754/flt-32 implementation for tan.
42139 * math/libm-test.inc (cos_test): Enable some large input tests for
42141 (sin_test): Likewise.
42142 (sincos_test): Likewise.
42143 (tan_test): Add tests for large input.
42145 * sysdeps/i386/fpu/libm-test-ulps: Update.
42147 2012-03-15 Andreas Jaeger <aj@suse.de>
42150 * math/libm-test.inc (cos_test): Add more test cases.
42151 (sin_test): Likewise.
42152 (sincos_test): Likewise.
42154 2012-03-15 Andreas Jaeger <aj@suse.de>
42157 * math/libm-test.inc (cos_test): Add a test case for large input
42159 (sin_test): Likewise.
42160 (sincos_test): Likewise.
42162 2012-03-15 Andreas Jaeger <aj@suse.de>
42163 Joseph Myers <joseph@codesourcery.com>
42166 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42167 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42168 * sysdeps/i386/fpu/branred.c: Likewise.
42169 * sysdeps/i386/fpu/dosincos.c: Likewise.
42170 * sysdeps/i386/fpu/mpa.c: Likewise.
42171 * sysdeps/i386/fpu/s_cos.S: Likewise.
42172 * sysdeps/i386/fpu/s_sin.S: Likewise.
42173 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42174 * sysdeps/i386/fpu/sincos32.c: Likewise.
42176 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42178 (libc_feupdateenv_53bit): Define.
42179 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42181 (libc_feupdateenv_53bit): Define.
42183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42184 53 bit (without extend i386 double precision).
42186 * math/libm-test.inc (sincos_test): Add tests for large input.
42190 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42192 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42196 2012-03-15 David S. Miller <davem@davemloft.net>
42198 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42199 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42200 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42201 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42226 fmin/fmax sysdep routines.
42227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42229 2012-03-14 David S. Miller <davem@davemloft.net>
42231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42236 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42252 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42303 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42308 * sysdeps/sparc/configure.in: New file.
42309 * sysdeps/sparc/configure: Generate.
42310 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42311 * configure: Regenerate.
42312 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42313 * config.make.in (have-as-vis3): New.
42314 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42315 available use -Av9d instead of -Av9a.
42316 * sysdeps/sparc/sparc64/Makefile: Likewise.
42317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42332 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42333 fzeros/fnegs to load 0x80000000 into a float register instead of
42335 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42337 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42341 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42342 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42343 ($(inst_includedir)/bits/syscall.h): Remove rule.
42344 ($(objpfx)bits/syscall.d): Include instead of
42345 $(objpfx)syscall-list.d.
42346 (generated): Change syscall-list.h and syscall-list.d to
42347 bits/syscall.h and bits/syscall.d.
42349 2012-03-14 Roland McGrath <roland@hack.frob.com>
42352 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42354 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42357 * math/s_csqrt.c: Include <float.h>.
42358 (__csqrt): Scale large or subnormal inputs.
42359 * math/s_csqrtf.c: Likewise.
42360 * math/s_csqrtl.c: Likewise.
42361 * math/libm-test.inc (csqrt_test): Add more tests.
42362 * sysdeps/i386/fpu/libm-test-ulps: Update.
42363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42366 * math/libm-test.inc (hypot_test): Add more tests.
42368 2012-03-13 David S. Miller <davem@davemloft.net>
42371 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42372 double-precision for the calculation instead of scaling.
42374 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42376 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42377 manipulate bits before adding and subtracting TWO52[sx].
42378 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42379 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42381 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42383 2012-03-13 David S. Miller <davem@davemloft.net>
42385 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42386 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42388 rtld-global-offsets.h
42389 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42391 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42394 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42396 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42397 'err' in the ifdef scope in which it is actually used.
42399 * nss/nss_db/db-init.c: Include string.h
42401 2012-03-12 David S. Miller <davem@davemloft.net>
42403 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42404 masking out of the most significant byte of random value used.
42405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42406 Fix coding style in previous change.
42408 * sysdeps/unix/sysv/linux/kernel-features.h
42409 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42410 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42412 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42415 2012-03-11 David S. Miller <davem@davemloft.net>
42417 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42418 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42419 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42420 for 'resultvar' otherwise things get truncated on 64-bit.
42422 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42423 Fix masking out of the most significant byte of random value used.
42425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42427 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42431 2012-03-09 David S. Miller <davem@davemloft.net>
42433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42434 variables with appropriate CPP guards.
42435 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42436 from the frame pointer, not the stack pointer. Correct layout
42437 comments. Fix test on resulting framesize and the management of
42438 the outregs buffer for pltexit. Preserve floating point return
42439 values across _dl_call_pltexit call.
42440 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42441 framesize and the management of the outregs buffer for pltexit.
42442 Preserve floating point return values across _dl_call_pltexit
42444 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42445 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42446 (la_sparc64_gnu_pltexit): New functions.
42447 (print_exit): Fix format string for return register value.
42449 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42451 * sunrpc/Makefile (others): Add rpcgen.
42452 ($(objpfx)rpcgen): Remove special build rule and dependency on
42454 * sunrpc/rpcgen.c: New file.
42456 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42459 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42460 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42461 * sysdeps/i386/crti.S: Likewise.
42462 * sysdeps/i386/crtn.S: Likewise.
42463 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42464 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42465 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42466 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42467 * sysdeps/sh/crti.S: Likewise.
42468 * sysdeps/sh/crtn.S: Likewise.
42469 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42472 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42474 * locale/programs/locfile-kw.gperf: Likewise.
42475 * locale/programs/charmap-kw.h: Regenerated.
42476 * locale/programs/locfile-kw.h: Likewise.
42479 * intl/plural.y: Replace FSF snail mail address with URL.
42480 * intl/plural.c: Regenerated.
42482 2012-03-09 Richard Henderson <rth@twiddle.net>
42484 * include/math_private.h: Remove file.
42485 * math/math_private.h: Move file ...
42486 * sysdeps/generic/math_private.h: ... here.
42488 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42489 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42490 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42492 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42493 and <math_private.h>.
42494 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42495 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42496 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42497 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42498 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42499 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42502 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42503 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42512 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42513 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42526 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42530 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42534 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42535 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42540 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42541 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42544 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42545 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42546 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42548 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42549 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42551 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42552 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42553 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42558 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42563 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42568 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42573 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42574 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42576 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42581 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42582 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42583 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42584 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42585 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42588 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42589 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42593 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42594 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42595 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42596 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42597 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42598 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42599 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42600 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42601 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42602 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42604 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42605 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42606 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42607 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42608 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42611 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42612 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42614 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42615 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42616 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42617 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42618 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42621 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42622 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42623 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42624 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42626 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42627 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42628 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42629 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42630 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42631 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42632 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42633 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42634 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42635 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42636 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42637 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42638 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42639 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42640 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42641 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42642 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42643 * sysdeps/ieee754/k_standard.c: Likewise.
42644 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42645 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42661 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42662 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42663 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42664 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42665 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42666 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42667 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42668 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42669 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42670 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42671 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42672 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42674 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42676 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42677 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42678 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42679 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42680 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42681 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42682 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42683 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42684 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42685 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42686 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42687 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42688 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42689 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42690 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42692 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42695 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42697 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42698 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42699 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42700 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42701 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42702 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42703 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42704 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42706 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42736 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42741 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42743 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42759 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42760 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42762 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42763 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42766 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42767 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42774 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42776 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42780 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42781 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42783 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42784 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42791 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42792 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42793 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42798 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42803 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42804 * sysdeps/ieee754/s_lib_version.c: Likewise.
42805 * sysdeps/ieee754/s_matherr.c: Likewise.
42806 * sysdeps/ieee754/s_signgam.c: Likewise.
42807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42809 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42810 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42811 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42812 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42813 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42814 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42815 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42816 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42817 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42818 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42821 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42822 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42823 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42824 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42825 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42829 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42831 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42832 * sunrpc/rpc_main.c: Likewise.
42833 * sunrpc/rpc_svcout.c: Likewise.
42835 2012-03-09 David S. Miller <davem@davemloft.net>
42837 * include/math_private.h: New file.
42839 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42841 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42842 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42843 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42844 from <bits/socket_type.h>.
42845 (enum __socket_type): Don't define here.
42846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42848 bits/socket_type.h.
42851 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42852 checking __USE_GNU.
42854 * Makerules ($(inst_includedir)/%.h): New rule.
42855 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42856 (install-others): Remove variable setting.
42857 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42859 2012-03-08 Richard Henderson <rth@twiddle.net>
42861 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42862 from macro to inline function; merge with the
42863 !__LIBC_INTERNAL_MATH_INLINES version.
42864 (__ieee754_sqrtf): Likewise.
42866 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42867 to inline function.
42868 (__rintf, __floor, __floorf): Likewise.
42870 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42871 macro to inline function.
42872 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42875 not <math/math_private.h>.
42877 2012-03-08 David S. Miller <davem@davemloft.net>
42879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42881 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42883 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42885 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42887 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42888 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42890 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42892 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42893 be defined individually, they must be defined as a block. Define
42894 S for printing a string instead of hidint the different by using a
42895 macro for adding the 'l'.
42896 * stdio-common/tst-fphex-wide.c: Adjust.
42898 2012-03-07 Marek Polacek <polacek@redhat.com>
42900 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42902 2012-03-08 Marek Polacek <polacek@redhat.com>
42905 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42906 * stdio-common/tst-fphex.c: Define a few macros to make the
42907 test reusable. Use them.
42908 * stdio-common/tst-fphex-wide.c: New file.
42910 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42913 * manual/macros.texi (gnusystems): New macro.
42914 (nongnusystems): Likewise.
42915 (gnulinuxhurdsystems): Likewise.
42916 (gnuhurdsystems): Likewise..
42917 (gnulinuxsystems): Likewise.
42918 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42919 variants of the GNU system, not "GNU system".
42920 * manual/conf.texi: Likewise.
42921 * manual/errno.texi: Likewise. Update example of errno macro
42923 * manual/filesys.texi: Likewise.
42924 (getumask): Document as specific to GNU/Hurd.
42925 * manual/install.texi: Likewise. Reword some references to
42927 * manual/intro.texi: Likewise.
42928 * manual/io.texi: Likewise.
42929 (File Name Portability): Detail which constraints are inapplicable
42930 to all GNU systems and which are only inapplicable to GNU/Hurd.
42931 * manual/job.texi: Likewise.
42932 * manual/llio.texi: Likewise.
42933 (O_NOCTTY): Document as present on GNU/Linux.
42934 * manual/maint.texi: Likewise.
42935 * manual/memory.texi: Likewise.
42936 * manual/pattern.texi: Likewise.
42937 * manual/pipe.texi: Likewise.
42938 * manual/process.texi: Likewise.
42939 * manual/resource.texi: Likewise.
42940 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42942 * manual/setjmp.texi: Likewise.
42943 * manual/signal.texi: Likewise.
42944 * manual/startup.texi: Likewise.
42945 * manual/stdio.texi: Likewise.
42946 * manual/terminal.texi: Likewise.
42947 (ONLCR): Document as POSIX.
42948 (OXTABS): Document availability on GNU/Linux as XTABS.
42949 (ONOEOT): Document availability separately from other bits.
42950 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42951 * manual/time.texi: Likewise.
42952 * manual/users.texi: Likewise.
42953 * INSTALL: Regenerated.
42954 * sysdeps/gnu/errlist.c: Regenerated.
42956 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42957 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42958 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42960 * configure: Regenerated.
42962 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42964 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42965 default includes instead of AC_HEADER_CHECK.
42966 * sysdeps/i386/configure: Regenerated.
42969 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42970 * math/s_cacoshf.c (__cacoshf): Likewise.
42971 * math/s_cacoshl.c (__cacoshl): Likewise.
42972 * math/s_casinh.c (__casinh): Set signs of result from argument.
42973 * math/s_casinhf.c (__casinhf): Likewise.
42974 * math/s_casinhl.c (__casinhl): Likewise.
42975 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42976 (casinh_test): Add more tests.
42977 * sysdeps/i386/fpu/libm-test-ulps: Update.
42978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42980 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42982 * po/zh_TW.po: Update from translation team.
42984 * login/Makefile (distribute): Remove variable.
42985 * catgets/Makefile: Likewise.
42986 * mach/Makefile: Likewise.
42987 * malloc/Makefile: Likewise.
42988 * misc/Makefile: Likewise.
42989 * iconv/Makefile: Likewise.
42990 * nscd/Makefile: Likewise.
42991 * hurd/Makefile: Likewise.
42992 * manual/Makefile: Likewise.
42993 * locale/Makefile: Likewise.
42994 * intl/Makefile: Likewise.
42995 * conform/Makefile: Likewise.
42996 * nss/Makefile: Likewise.
42997 * time/Makefile: Likewise.
42998 * soft-fp/Makefile: Likewise.
42999 * dirent/Makefile: Likewise.
43000 * gmon/Makefile: Likewise.
43001 * po/Makefile: Likewise.
43002 * rt/Makefile: Likewise.
43003 * socket/Makefile: Likewise.
43004 * math/Makefile: Likewise.
43005 * signal/Makefile: Likewise.
43006 * debug/Makefile: Likewise.
43007 * elf/Makefile: Likewise.
43008 * timezone/Makefile: Likewise.
43009 * stdlib/Makefile: Likewise.
43010 * iconvdata/Makefile: Likewise.
43011 * sunrpc/Makefile: Likewise.
43012 * io/Makefile: Likewise.
43013 * argp/Makefile: Likewise.
43014 * inet/Makefile: Likewise.
43015 * hesiod/Makefile: Likewise.
43016 * grp/Makefile: Likewise.
43017 * csu/Makefile: Likewise.
43018 * wctype/Makefile: Likewise.
43019 * crypt/Makefile: Likewise.
43020 * libio/Makefile: Likewise.
43021 * string/Makefile: Likewise.
43022 * nis/Makefile: Likewise.
43023 * resolv/Makefile: Likewise.
43024 * stdio-common/Makefile: Likewise.
43025 * wcsmbs/Makefile: Likewise.
43026 * dlfcn/Makefile: Likewise.
43027 * posix/Makefile: Likewise.
43030 * timezone/Makefile: Don't install timezone files, just the programs
43033 2012-03-06 Ulrich Drepper <drepper@gmail.com>
43035 * nss/databases.def: Add missing gshadow entry.
43037 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43039 2012-03-06 Marek Polacek <polacek@redhat.com>
43042 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43043 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43044 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43045 * stdio-common/tst-long-dbl-fphex.c: New file.
43047 2012-03-06 David S. Miller <davem@davemloft.net>
43049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43050 (set_obp_int): New function.
43051 (get_obp_int): New function.
43052 (__get_clockfreq_via_dev_openprom): Likewise.
43053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43054 Avoid unused variable warnings on 'val' and use builtin_expect.
43055 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43057 (INLINE_CLONE_SYSCALL): Likewise.
43059 2012-03-05 David S. Miller <davem@davemloft.net>
43061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43063 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43068 only for |x| >= 40.
43069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43071 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
43073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43074 Replace gettimeofday with __vdso_gettimeofday.
43076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43077 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43078 __vdso_clock_gettime and __vdso_getcpu.
43080 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43081 time with __vdso_time.
43083 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43085 * manual/lang.texi (size_t): Note types to which size_t may be
43086 equivalent with the GNU C Library, but do not describe when
43087 differences between them are significant.
43089 2012-03-05 Andreas Jaeger <aj@suse.de>
43091 * sysdeps/i386/fpu/libm-test-ulps: Update.
43093 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43096 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43097 (__ieee754_pow): Save and restore rounding mode and use
43098 round-to-nearest for main computations.
43099 * math/libm-test.inc (pow_test_tonearest): New function.
43100 (pow_test_towardzero): Likewise.
43101 (pow_test_downward): Likewise.
43102 (pow_test_upward): Likewise.
43103 (main): Call the new functions.
43104 * sysdeps/i386/fpu/libm-test-ulps: Update.
43105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43108 * math/libm-test.inc (cosh_test_tonearest): New function.
43109 (cosh_test_towardzero): Likewise.
43110 (cosh_test_downward): Likewise.
43111 (cosh_test_upward): Likewise.
43112 (sinh_test_tonearest): Likewise.
43113 (sinh_test_towardzero): Likewise.
43114 (sinh_test_downward): Likewise.
43115 (sinh_test_upward): Likewise.
43116 (main): Call the new functions.
43117 * sysdeps/i386/fpu/libm-test-ulps: Update.
43118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43120 2012-03-05 Tom de Vries <tom@codesourcery.com>
43122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43123 default stack guard is set in last bytes.
43124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43126 2012-03-05 Kees Cook <keescook@chromium.org>
43128 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43131 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43132 possibly allocate from heap instead of stack.
43133 * stdio-common/bug-vfprintf-nargs.c: New file.
43134 * stdio-common/Makefile (tests): Add nargs overflow test.
43136 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43140 2012-03-03 Marek Polacek <polacek@redhat.com>
43142 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43143 * math/math_private.h: Likewise.
43144 * stdlib/tst-strtod.c: Likewise.
43145 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43146 * sysdeps/x86_64/bits/atomic.h: Likewise.
43148 2012-03-02 David S. Miller <davem@davemloft.net>
43150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43154 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43155 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43156 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43157 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43159 2012-03-02 Roland McGrath <roland@hack.frob.com>
43162 * manual/examples/README: New file, says the example source files
43163 can be used under GPL>=2.
43164 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43165 line containing just "*/".
43166 * manual/examples/add.c: Add copyright header (GPL>=2).
43167 * manual/examples/argp-ex1.c: Likewise.
43168 * manual/examples/argp-ex2.c: Likewise.
43169 * manual/examples/argp-ex3.c: Likewise.
43170 * manual/examples/argp-ex4.c: Likewise.
43171 * manual/examples/atexit.c: Likewise.
43172 * manual/examples/db.c: Likewise.
43173 * manual/examples/dir.c: Likewise.
43174 * manual/examples/dir2.c: Likewise.
43175 * manual/examples/execinfo.c: Likewise.
43176 * manual/examples/filecli.c: Likewise.
43177 * manual/examples/filesrv.c: Likewise.
43178 * manual/examples/fmtmsgexpl.c: Likewise.
43179 * manual/examples/genpass.c: Likewise.
43180 * manual/examples/inetcli.c: Likewise.
43181 * manual/examples/inetsrv.c: Likewise.
43182 * manual/examples/isockad.c: Likewise.
43183 * manual/examples/longopt.c: Likewise.
43184 * manual/examples/memopen.c: Likewise.
43185 * manual/examples/memstrm.c: Likewise.
43186 * manual/examples/mkfsock.c: Likewise.
43187 * manual/examples/mkisock.c: Likewise.
43188 * manual/examples/mygetpass.c: Likewise.
43189 * manual/examples/pipe.c: Likewise.
43190 * manual/examples/popen.c: Likewise.
43191 * manual/examples/rprintf.c: Likewise.
43192 * manual/examples/search.c: Likewise.
43193 * manual/examples/select.c: Likewise.
43194 * manual/examples/setjmp.c: Likewise.
43195 * manual/examples/sigh1.c: Likewise.
43196 * manual/examples/sigusr.c: Likewise.
43197 * manual/examples/stpcpy.c: Likewise.
43198 * manual/examples/strdupa.c: Likewise.
43199 * manual/examples/strftim.c: Likewise.
43200 * manual/examples/strncat.c: Likewise.
43201 * manual/examples/subopt.c: Likewise.
43202 * manual/examples/swapcontext.c: Likewise.
43203 * manual/examples/termios.c: Likewise.
43204 * manual/examples/testopt.c: Likewise.
43205 * manual/examples/testpass.c: Likewise.
43206 * manual/examples/timeval_subtract.c: Likewise.
43209 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43211 * manual/timeval_subtract.c.texi: ... here, new file.
43213 2012-03-02 David S. Miller <davem@davemloft.net>
43215 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43217 2012-03-02 Joseph Myers <joseph@codesourcery.com>
43220 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43221 (__sin): Save and restore rounding mode and use round-to-nearest
43222 for all computations.
43223 (__cos): Save and restore rounding mode and use round-to-nearest
43224 for all computations.
43225 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43227 (tan): Save and restore rounding mode and use round-to-nearest for
43229 * math/libm-test.inc (cos_test_tonearest): New function.
43230 (cos_test_towardzero): Likewise.
43231 (cos_test_downward): Likewise.
43232 (cos_test_upward): Likewise.
43233 (sin_test_tonearest): Likewise.
43234 (sin_test_towardzero): Likewise.
43235 (sin_test_downward): Likewise.
43236 (sin_test_upward): Likewise.
43237 (tan_test_tonearest): Likewise.
43238 (tan_test_towardzero): Likewise.
43239 (tan_test_downward): Likewise.
43240 (tan_test_upward): Likewise.
43241 (main): Call the new functions.
43242 * sysdeps/i386/fpu/libm-test-ulps: Update.
43243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43246 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43247 small n, then large n, before computing and testing k+n.
43248 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43253 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43254 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43261 * math/libm-test.inc (scalbn_test): Add more tests.
43262 (scalbln_test): Likewise.
43264 * manual/filesys.texi (mode_t): Describe constraints on size and
43265 signedness, not exact equivalence to a particular type.
43267 (ino64_t): Likewise.
43269 (nlink_t): Likewise.
43270 (blkcnt_t): Likewise.
43271 (blkcnt64_t): Likewise.
43272 * manual/llio.texi (off_t): Likewise.
43275 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43276 (__ieee754_exp): Save and restore rounding mode and use
43277 round-to-nearest for all computations.
43278 * math/libm-test.inc (exp_test_tonearest): New function.
43279 (exp_test_towardzero): Likewise.
43280 (exp_test_downward): Likewise.
43281 (exp_test_upward): Likewise.
43282 (main): Call the new functions.
43283 * sysdeps/i386/fpu/libm-test-ulps: Update.
43284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43286 2012-03-01 Chris Demetriou <cgd@google.com>
43288 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43289 have predictable order.
43291 2012-03-01 David S. Miller <davem@davemloft.net>
43293 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43295 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43296 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43297 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43298 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43300 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43301 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43302 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43304 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43305 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43306 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43307 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43308 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43313 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43314 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43316 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43319 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43320 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43323 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43325 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43326 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43332 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43333 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43334 * sysdeps/sparc/elf/configure: Regenerated.
43336 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43338 * configure.in (AS, LD): Require binutils 2.20 or later.
43339 * configure: Regenerated.
43340 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43341 as required minimum version.
43342 * INSTALL: Regenerated.
43346 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43347 before squaring exponent.
43348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43349 bottom long double and 27 bits of top long double before squaring
43351 * math/libm-test.inc (erfc_test): Add more tests.
43352 * sysdeps/i386/fpu/libm-test-ulps: Update.
43353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43356 2012-03-01 Kai Tietz <ktietz@redhat.com>
43358 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43359 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43360 containing bit-fields.
43361 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43362 * soft-fp/single.h (_FP_UNION_S): Likewise.
43363 * soft-fp/double.h (_FP_UNION_D): Likewise.
43365 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43368 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43369 not include ../strcmp.S.
43370 [USE_AS_STRNCASECMP_L]: Likewise.
43371 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43372 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43373 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43374 (__strncasecmp_l_ia32): Define as alias to
43375 __strncasecmp_l_nonascii.
43378 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43379 * sysdeps/i386/fpu/libm-test-ulps: Update.
43380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43382 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43385 2012-02-29 Jeff Law <law@redhat.com>
43387 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43388 out of bounds read.
43390 2012-02-29 Marek Polacek <polacek@redhat.com>
43393 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43394 * elf/Makefile: Add rules to run tst-unused-dep.out.
43396 2012-02-28 David S. Miller <davem@davemloft.net>
43398 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43399 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43402 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43403 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43405 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43407 * math/libm-test.inc (llround_test): Move one test from
43408 lround_test. Use TEST_f_L in moved test.
43409 (lround_test): Move misplaced test to llround_test. Add testcase
43412 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43414 * sysdeps/x86_64/fpu/e_expf.S: New file.
43415 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43417 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43420 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43421 of remain_len that may cause incomplete multi-byte character and
43423 * posix/bug-regex33.c: New file.
43424 * posix/Makefile (tests): Add bug-regex33.
43426 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43428 * manual/macros.texi: New file.
43429 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43430 * manual/libc.texinfo: Include macros.texi.
43431 * manual/creatute.texi: Likewise.
43432 * manual/install.texi: Likewise.
43433 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43434 @glibcadj{} in references to the GNU C Library.
43435 * manual/charset.texi: Likewise.
43436 * manual/conf.texi: Likewise.
43437 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43438 when not using those macros.
43439 * manual/creature.texi: Likewise.
43440 * manual/crypt.texi: Likewise.
43441 * manual/errno.texi: Likewise.
43442 * manual/filesys.texi: Likewise.
43443 * manual/header.texi: Likewise.
43444 * manual/install.texi: Likewise.
43445 * manual/intro.texi: Likewise.
43446 * manual/io.texi: Likewise.
43447 * manual/job.texi: Likewise.
43448 * manual/lang.texi: Likewise.
43449 * manual/libc.texiinfo: Likewise.
43450 * manual/llio.texi: Likewise.
43451 * manual/locale.texi: Likewise.
43452 * manual/maint.texi: Likewise.
43453 * manual/math.texi: Likewise.
43454 * manual/memory.texi: Likewise.
43455 * manual/message.texi: Likewise.
43456 * manual/nss.texi: Likewise.
43457 * manual/pattern.texi: Likewise.
43458 * manual/process.texi: Likewise.
43459 * manual/resource.texi: Likewise.
43460 * manual/search.texi: Likewise.
43461 * manual/setjmp.texi: Likewise.
43462 * manual/signal.texi: Likewise.
43463 * manual/socket.texi: Likewise.
43464 * manual/startup.texi: Likewise.
43465 * manual/stdio.texi: Likewise.
43466 * manual/string.texi: Likewise.
43467 * manual/sysinfo.texi: Likewise.
43468 * manual/syslog.texi: Likewise.
43469 * manual/terminal.texi: Likewise.
43470 * manual/time.texi: Likewise.
43471 * manual/users.texi: Likewise.
43472 * INSTALL: Regenerated.
43473 * NOTES: Regenerated.
43474 * sysdeps/gnu/errlist.c: Regenerated.
43476 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43478 * include/dirent.h: Include <dirstream.h> before
43481 2012-02-28 David S. Miller <davem@davemloft.net>
43483 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43484 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43485 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43486 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43488 2012-02-27 David S. Miller <davem@davemloft.net>
43490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43492 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43493 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43496 frame pointer instead of stack pointer relative arg slot.
43497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43498 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43499 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43501 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43504 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43506 2012-02-27 David S. Miller <davem@davemloft.net>
43508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43512 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43513 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43514 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43515 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43517 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43519 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43520 later. Allow versions 5-9.
43521 * configure: Regenerated.
43522 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43523 required minimum version and 4.6 as recommended version. Do not
43524 mention bugs in GCC 2.7 and 2.8.
43525 * INSTALL: Regenerated.
43527 2012-02-27 David S. Miller <davem@davemloft.net>
43529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43533 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43534 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43535 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43536 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43539 manipulate bits before adding and subtracting TWO112[sx].
43540 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43542 2012-02-27 Roland McGrath <roland@hack.frob.com>
43545 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43546 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43547 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43548 being in POSIX, because they are in 1003.1-2008.
43550 * rt/tst-aio.c: Include <fcntl.h>.
43551 * rt/tst-aio7.c: Likewise.
43552 * rt/tst-aio64.c: Likewise.
43554 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43556 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43558 * manual/install.texi (--with-headers): Describe headers as
43559 interface headers, not private headers.
43560 (Specific advice for GNU/Linux systems): Describe use of headers
43561 from "make headers_install", not private headers from older
43563 * INSTALL: Regenerated.
43564 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43566 * sysdeps/unix/sysv/linux/configure: Regenerated.
43568 * manual/llio.texi (fclean): Remove documentation.
43570 * manual/Makefile (libc-texi-generated): New variable. Include
43572 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43573 $(libc-texi-generated), not duplicated list of files.
43574 (version.texi, stamp-version): New rules.
43575 (realclean): Remove $(libc-texi-generated), not individual files
43576 from that list. Do not remove dir-add.texinfo.
43577 * manual/libc.texinfo: Comment out uses of edition numbers and
43578 references to printed manual. Remove last-updated dates.
43579 (EDITION): Comment out.
43581 (VERSION, UPDATED): Remove.
43582 (version.texi): Include.
43584 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43586 * sysdeps/posix/spawni.c: Include <signal.h>.
43587 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43588 * sysdeps/pthread/aio_fsync.c: Likewise.
43590 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43592 * conform/Makefile (tests): Run only when not cross-compiling and
43593 when fast-check is not defined.
43595 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43596 * conform/data/limits.h-data: Fixes for POSIX2008.
43597 * conform/run-conformtest.sh: Run all tests.
43598 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43600 * include/bits/dlfcn.h: Likewise.
43601 * include/langinfo.h: Likewise.
43602 * include/monetary.h: Likewise.
43603 * include/sys/poll.h: Likewise.
43605 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43607 * posix/spawn.h: Define __need_sigset_t.
43608 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43609 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43610 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43611 to get sigevent_t only.
43612 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43613 only for __USE_GNU.
43614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43616 process_vm_writev only for __USE_GNU.
43617 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43619 * conform/Makefile: For now ignore errors from run-conformtest.
43620 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43621 POSIX to avoid namespace pollution. Don't prepend headers.
43622 * conform/data/aio.h-data: Fixes for POSIX testing.
43623 * conform/data/fcntl.h-data: Likewise.
43624 * conform/data/glob.h-data: Likewise.
43625 * conform/data/grp.h-data: Likewise.
43626 * conform/data/pthread.h-data: Likewise.
43627 * conform/data/pwd.h-data: Likewise.
43628 * conform/data/signal.h-data: Likewise.
43629 * conform/data/spawn.h-data: Likewise.
43630 * conform/data/stdio.h-data: Likewise.
43631 * conform/data/stdlib.h-data: Likewise.
43632 * conform/data/stropts.h-data: Likewise.
43633 * conform/data/sys/mman.h-data: Likewise.
43634 * conform/data/sys/stat.h-data: Likewise.
43635 * conform/data/sys/types.h-data: Likewise.
43636 * conform/data/sys/wait.h-data: Likewise.
43637 * conform/data/time.h-data: Likewise.
43638 * conform/data/unistd.h-data: Likewise.
43639 * conform/data/utime.h-data: Likewise.
43641 * io/sys/stat.h: fchmod was always in POSIX.
43642 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43643 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43644 * rt/aio.h: Define __need_timespec before including <time.h>.
43645 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43646 struct. Add forward declaration of pthread_attr_t and use it in
43648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43650 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43651 always remove CLK_TCK definition.
43653 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43655 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43657 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43659 * conform/run-conformtest.sh: New file.
43660 * conform/Makefile: Run run-conformtest for tests.
43661 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43664 * conform/data/uchar.h-data: New file.
43665 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43666 * conform/data/arpa/inet.h-data: Likewise.
43667 * conform/data/assert.h-data: Likewise.
43668 * conform/data/complex.h-data: Likewise.
43669 * conform/data/cpio.h-data: Likewise.
43670 * conform/data/ctype.h-data: Likewise.
43671 * conform/data/dirent.h-data: Likewise.
43672 * conform/data/dlfcn.h-data: Likewise.
43673 * conform/data/errno.h-data: Likewise.
43674 * conform/data/fcntl.h-data: Likewise.
43675 * conform/data/float.h-data: Likewise.
43676 * conform/data/fmtmsg.h-data: Likewise.
43677 * conform/data/fnmatch.h-data: Likewise.
43678 * conform/data/ftw.h-data: Likewise.
43679 * conform/data/glob.h-data: Likewise.
43680 * conform/data/grp.h-data: Likewise.
43681 * conform/data/iconv.h-data: Likewise.
43682 * conform/data/inttypes.h-data: Likewise.
43683 * conform/data/langinfo.h-data: Likewise.
43684 * conform/data/libgen.h-data: Likewise.
43685 * conform/data/limits.h-data: Likewise.
43686 * conform/data/locale.h-data: Likewise.
43687 * conform/data/math.h-data: Likewise.
43688 * conform/data/monetary.h-data: Likewise.
43689 * conform/data/mqueue.h-data: Likewise.
43690 * conform/data/ndbm.h-data: Likewise.
43691 * conform/data/net/if.h-data: Likewise.
43692 * conform/data/netdb.h-data: Likewise.
43693 * conform/data/netinet/in.h-data: Likewise.
43694 * conform/data/nl_types.h-data: Likewise.
43695 * conform/data/poll.h-data: Likewise.
43696 * conform/data/pthread.h-data: Likewise.
43697 * conform/data/pwd.h-data: Likewise.
43698 * conform/data/regex.h-data: Likewise.
43699 * conform/data/sched.h-data: Likewise.
43700 * conform/data/search.h-data: Likewise.
43701 * conform/data/semaphore.h-data: Likewise.
43702 * conform/data/setjmp.h-data: Likewise.
43703 * conform/data/signal.h-data: Likewise.
43704 * conform/data/spawn.h-data: Likewise.
43705 * conform/data/stdarg.h-data: Likewise.
43706 * conform/data/stdio.h-data: Likewise.
43707 * conform/data/stdlib.h-data: Likewise.
43708 * conform/data/string.h-data: Likewise.
43709 * conform/data/strings.h-data: Likewise.
43710 * conform/data/stropts.h-data: Likewise.
43711 * conform/data/sys/ipc.h-data: Likewise.
43712 * conform/data/sys/mman.h-data: Likewise.
43713 * conform/data/sys/msg.h-data: Likewise.
43714 * conform/data/sys/resource.h-data: Likewise.
43715 * conform/data/sys/select.h-data: Likewise.
43716 * conform/data/sys/sem.h-data: Likewise.
43717 * conform/data/sys/shm.h-data: Likewise.
43718 * conform/data/sys/socket.h-data: Likewise.
43719 * conform/data/sys/stat.h-data: Likewise.
43720 * conform/data/sys/statvfs.h-data: Likewise.
43721 * conform/data/sys/time.h-data: Likewise.
43722 * conform/data/sys/timeb.h-data: Likewise.
43723 * conform/data/sys/times.h-data: Likewise.
43724 * conform/data/sys/types.h-data: Likewise.
43725 * conform/data/sys/uio.h-data: Likewise.
43726 * conform/data/sys/un.h-data: Likewise.
43727 * conform/data/sys/utsname.h-data: Likewise.
43728 * conform/data/sys/wait.h-data: Likewise.
43729 * conform/data/syslog.h-data: Likewise.
43730 * conform/data/tar.h-data: Likewise.
43731 * conform/data/termios.h-data: Likewise.
43732 * conform/data/utime.h-data: Likewise.
43733 * conform/data/utmpx.h-data: Likewise.
43734 * conform/data/varargs.h-data: Likewise.
43735 * conform/data/wchar.h-data: Likewise.
43736 * conform/data/wctype.h-data: Likewise.
43737 * conform/data/wordexp.h-data: Likewise.
43739 * include/stropts.h: New file.
43740 * include/uchar.h: New file.
43741 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43742 * include/assert.h: Likewise.
43743 * include/ctype.h: Likewise.
43744 * include/dirent.h: Likewise.
43745 * include/dlfcn.h: Likewise.
43746 * include/fcntl.h: Likewise.
43747 * include/fnmatch.h: Likewise.
43748 * include/glob.h: Likewise.
43749 * include/grp.h: Likewise.
43750 * include/libio.h: Likewise.
43751 * include/locale.h: Likewise.
43752 * include/math.h: Likewise.
43753 * include/net/if.h: Likewise.
43754 * include/netdb.h: Likewise.
43755 * include/netinet/in.h: Likewise.
43756 * include/pthread.h: Likewise.
43757 * include/pwd.h: Likewise.
43758 * include/regex.h: Likewise.
43759 * include/sched.h: Likewise.
43760 * include/search.h: Likewise.
43761 * include/setjmp.h: Likewise.
43762 * include/signal.h: Likewise.
43763 * include/stdio.h: Likewise.
43764 * include/stdlib.h: Likewise.
43765 * include/string.h: Likewise.
43766 * include/sys/cdefs.h: Likewise.
43767 * include/sys/mman.h: Likewise.
43768 * include/sys/msg.h: Likewise.
43769 * include/sys/resource.h: Likewise.
43770 * include/sys/select.h: Likewise.
43771 * include/sys/socket.h: Likewise.
43772 * include/sys/stat.h: Likewise.
43773 * include/sys/statvfs.h: Likewise.
43774 * include/sys/time.h: Likewise.
43775 * include/sys/times.h: Likewise.
43776 * include/sys/uio.h: Likewise.
43777 * include/sys/utsname.h: Likewise.
43778 * include/sys/wait.h: Likewise.
43779 * include/termios.h: Likewise.
43780 * include/time.h: Likewise.
43781 * include/ulimit.h: Likewise.
43782 * include/unistd.h: Likewise.
43783 * include/utime.h: Likewise.
43784 * include/wchar.h: Likewise.
43785 * include/wctype.h: Likewise.
43786 * include/wordexp.h: Likewise.
43788 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43790 * time/time.h: TIME_UTC must be a macro.
43791 Make timespec_get available for ISO C11 only as well.
43793 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43795 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43796 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43798 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43800 * configure.in: Use -o not -a in test for unsupported multi-arch.
43802 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43804 * manual/texinfo.tex: Update to version 2012-01-19.16.
43806 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43808 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43810 2012-02-24 Roland McGrath <roland@hack.frob.com>
43813 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43814 * manual/fdl-1.3.texi: New file.
43815 * manual/fdl-1.1.texi: File removed.
43818 * manual/libc.texinfo (FDL_VERSION): New @set.
43819 Use it for mention of FDL in cover text.
43820 (Documentation License): Use it in @include file name.
43822 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43823 Roland McGrath <roland@hack.frob.com>
43826 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43827 (not LONG_LONG_MAX and LONG_LONG_MIN.
43828 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43829 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43831 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43837 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43838 manipulate bits before adding and subtracting TWO23[sx].
43839 * math/libm-test.inc (nearbyint_test): Add more tests.
43841 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43844 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43845 bits before adding and subtracting TWO23[sx].
43846 * math/libm-test.inc (rint_test): Add more tests.
43847 (rint_test_tonearest): Likewise.
43848 (rint_test_towardzero): Likewise.
43849 (rint_test_downward): Likewise.
43850 (rint_test_upward: Likewise.
43852 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43855 * include/stdc-predef.h: New file. Extracted from features.h.
43856 * include/features.h: Include stdc-predef.h.
43857 * Makefile (headers): Add stdc-predef.h.
43858 * CONFORMANCE (Compiler limitations): Update.
43860 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43862 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43864 2012-02-21 David S. Miller <davem@davemloft.net>
43866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43869 2012-02-20 David S. Miller <davem@davemloft.net>
43871 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43872 using a normal save/restore sequence, rather than allocating a
43873 dummy stack frame just to store a frame pointer and restore.
43874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43876 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43878 * manual/install.texi: Fix stray word in line-wrapped comment.
43880 2012-02-20 David S. Miller <davem@davemloft.net>
43882 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43883 both binutils and gcc support GOTDATA.
43885 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43886 "rd %pc" in the PIC register setup sequences.
43888 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43889 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43890 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43891 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43892 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43897 (SYSCALL_ERROR_HANDLER): Likewise.
43898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43899 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43901 (SYSCALL_ERROR_HANDLER): Likewise.
43903 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43904 (HAVE_GCC_GOTDATA): New.
43905 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43906 relocation support in both binutils and gcc.
43907 * sysdeps/sparc/elf/configure: Regenerate.
43909 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43910 * sysdeps/sparc/sparc32/elf/configure: Delete.
43911 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43912 * sysdeps/sparc/sparc64/elf/configure: Delete.
43913 * sysdeps/sparc/elf/configure.in: New file.
43914 * sysdeps/sparc/elf/configure: Generate.
43916 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43917 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43918 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43919 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43920 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43922 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43924 * manual/install.texi: Do not mention specific glibc version
43926 * manual/libc.texinfo (VERSION, UPDATED): Update.
43927 (@copying): Use @copyright{} and range of years.
43929 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43932 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43933 [crti.S not in sysdirs] (generated): Do not append.
43934 [crti.S not in sysdirs] (omit-deps): Likewise.
43935 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43936 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43937 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43938 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43939 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43941 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43942 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43943 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43944 * csu/defs.awk: Remove file.
43945 * sysdeps/generic/initfini.c: Likewise.
43946 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43948 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43951 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43953 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43954 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43955 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43958 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43960 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43961 (__EPOLL_PACKED): Define to empty if not defined by
43963 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43967 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43969 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43970 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43971 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43972 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43974 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43978 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43980 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43982 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43983 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43987 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43992 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43994 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43995 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43997 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43999 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44002 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44004 * math/w_acos.c: Use non-signaling floating-point comparisons.
44005 * math/w_acosf.c: Likewise.
44006 * math/w_acosh.c: Likewise.
44007 * math/w_acoshf.c: Likewise.
44008 * math/w_acoshl.c: Likewise.
44009 * math/w_acosl.c: Likewise.
44010 * math/w_asin.c: Likewise.
44011 * math/w_asinf.c: Likewise.
44012 * math/w_asinl.c: Likewise.
44013 * math/w_atanh.c: Likewise.
44014 * math/w_atanhf.c: Likewise.
44015 * math/w_atanhl.c: Likewise.
44016 * math/w_exp2.c: Likewise.
44017 * math/w_exp2f.c: Likewise.
44018 * math/w_exp2l.c: Likewise.
44019 * math/w_j0.c: Likewise.
44020 * math/w_j0f.c: Likewise.
44021 * math/w_j0l.c: Likewise.
44022 * math/w_j1.c: Likewise.
44023 * math/w_j1f.c: Likewise.
44024 * math/w_j1l.c: Likewise.
44025 * math/w_jn.c: Likewise.
44026 * math/w_jnf.c: Likewise.
44027 * math/w_log.c: Likewise.
44028 * math/w_log10.c: Likewise.
44029 * math/w_log10f.c: Likewise.
44030 * math/w_log10l.c: Likewise.
44031 * math/w_log2.c: Likewise.
44032 * math/w_log2f.c: Likewise.
44033 * math/w_log2l.c: Likewise.
44034 * math/w_logf.c: Likewise.
44035 * math/w_logl.c: Likewise.
44036 * math/w_sqrt.c: Likewise.
44037 * math/w_sqrtf.c: Likewise.
44038 * math/w_sqrtl.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44040 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44042 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44043 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44045 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44048 * manual/string.texi (strnlen): Use correct parameter name in
44049 equivalent expression.
44051 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44054 * manual/users.texi (seteuid): Consistently use neweuid for
44057 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44060 * manual/nss.texi (Services in the NSS configuration): Correct
44061 list of services in example configuration file.
44063 2012-02-19 Nick Bowler <nbowler@draconx.ca>
44066 * manual/arith.texi: Remove statements about negative zero
44067 behaving identically to zero.
44069 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44072 * manual/install.texi: Do not document upgrading from libc5.
44074 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44077 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44079 2012-02-18 David S. Miller <davem@davemloft.net>
44081 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44082 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44083 %o7 across the call.
44084 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44087 SETUP_PIC_REG_LEAF.
44088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44089 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44090 * sysdeps/sparc/crtn.S: Likewise.
44092 2012-02-17 Ulrich Drepper <drepper@gmail.com>
44094 * aout/Makefile: Remove.
44096 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44099 * manual/examples/argp-ex1.c (main): Format definition in GNU
44101 * manual/examples/argp-ex2.c (main): Likewise.
44102 * manual/examples/argp-ex3.c (main): Likewise.
44103 * manual/examples/argp-ex4.c (main): Likewise.
44104 * manual/examples/longopt.c (main): Use new-style prototype
44106 * manual/examples/strncat.c (main): Specify return type and use
44107 (void) for arguments.
44108 * manual/examples/subopt.c (main): Use char **argv argument.
44110 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44113 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44116 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44119 * manual/string.texi (strchr): Change when strchrnul is
44122 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44125 * manual/locale.texi (setlocale): Document LOCPATH.
44127 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44130 * manual/process.texi (execle): Move @dots{} before last argument.
44132 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
44135 * manual/charset.texi (Generic Charset Conversion): Fix typo
44136 (LC_TYPE -> LC_CTYPE).
44138 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44141 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44142 (scalbnf): Likewise.
44143 (scalbnl): Likewise.
44144 (scalbln): Likewise.
44145 (scalblnf): Likewise.
44146 (scalblnl): Likewise.
44147 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44148 (vwarnx): Likewise.
44151 * manual/filesys.texi (telldir): Use braces around return type.
44152 * manual/llio.texi (mmap): Add space after comma.
44153 (mmap64): Likewise.
44154 * manual/math.texi (jn): Use @var{} on parameter names.
44160 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44162 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44164 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44165 (sched_get_priority_max): Likewise.
44166 * manual/signal.texi (sigvec): Add space after comma.
44167 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44169 (if_indextoname): Likewise.
44170 (if_freenameindex): Likewise.
44171 (sendto): Use ',' instead of '.' in prototype.
44172 * manual/startup.texi (syscall): Use @dots{} instead of literal
44174 * manual/stdio.texi (__fpending): Separate initial words of
44175 paragraph from @deftypefun line.
44176 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44178 (vsyslog): Use @var{} on parameter names.
44179 * manual/terminal.texi (stty): Use @var{} on parameter names.
44180 * manual/users.texi (getutmp): Use @var{} on parameter names.
44181 (getutmpx): Likewise.
44183 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44186 * manual/stdio.texi (fopen): Fix typos in description of
44189 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44192 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44193 get clock_id definition.
44195 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
44198 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44199 (madvise): Cast every argument to void on its own.
44201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44204 * manual/startup.texi (Exit Status): Fix typo.
44206 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44209 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44210 * manual/examples/argp-ex2.c: Likewise.
44211 * manual/examples/argp-ex3.c: Likewise.
44213 2012-02-16 Richard Henderson <rth@redhat.com>
44215 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44216 * sysdeps/s390/s390-32/initfini.c: Remove.
44217 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44218 * sysdeps/s390/s390-64/initfini.c: Remove.
44220 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44222 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44223 compiler output for sysdeps/generic/initfini.c.
44224 * sysdeps/sh/elf/initfini.c: Remove file.
44226 2012-02-16 David S. Miller <davem@davemloft.net>
44229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44231 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44232 * sysdeps/sparc/crti.S: New file.
44233 * sysdeps/sparc/crtn.S: New file.
44234 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44235 * sysdeps/sparc/sparc64/Makefile: Likewise.
44237 2012-02-15 Mike Frysinger <vapier@gentoo.org>
44240 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44242 2012-02-15 Roland McGrath <roland@hack.frob.com>
44245 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44247 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44248 (write, read, close): Likewise.
44249 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44251 2012-02-15 Joseph Myers <joseph@codesourcery.com>
44253 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44254 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44255 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44256 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44258 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44262 2012-02-14 Marek Polacek <polacek@redhat.com>
44264 * sysdeps/x86_64/crti.S: New file.
44265 * sysdeps/x86_64/crtn.S: New file.
44266 * sysdeps/x86_64/elf/initfini.c: Remove file.
44268 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44270 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44271 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44272 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44273 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44275 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44279 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44281 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44282 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44283 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44284 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44286 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44290 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44292 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44293 __feraiseexcept instead of feraiseexcept.
44295 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44296 nanosleep invocations.
44297 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44298 strings, and add error checking for a nanosleep invocations.
44300 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44302 Replace FSF snail mail address with URLs, as per GNU coding standards.
44303 Most of the snail mail addresses were wrong anyway, and omitting
44304 them makes the source code easier to maintain. Almost all of the
44305 changes are to license notices and to locale LC_IDENTIFICATION
44306 addresses, except for this one:
44307 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44308 not its snail mail address.
44310 2012-02-09 Richard Henderson <rth@twiddle.net>
44312 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44313 of kernel-features.h.
44315 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44317 2012-02-08 Marek Polacek <polacek@redhat.com>
44319 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44320 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44321 * sysdeps/gnu/_G_config.h: Likewise.
44322 * sysdeps/generic/_G_config.h: Likewise.
44324 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44326 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44330 * sysdeps/powerpc/powerpc32/crti.S: New file.
44331 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44332 * sysdeps/powerpc/powerpc64/crti.S: New file.
44333 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44335 * Makeconfig (have-initfini): Don't set.
44336 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44337 * configure.in (nopic_initfini): Don't substitute.
44338 * config.h.in (HAVE_INITFINI): Don't #undef.
44339 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44340 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44342 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44344 Support crti.S and crtn.S provided directly by architectures.
44345 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44346 [crti.S in sysdirs] (omit-deps): Likewise.
44347 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44348 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44349 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44350 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44351 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44352 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44353 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44354 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44355 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44356 compiler output for sysdeps/generic/initfini.c.
44357 * sysdeps/i386/elf/Makefile: Remove file.
44358 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44360 2012-02-07 Marek Polacek <polacek@redhat.com>
44362 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44363 * sysdeps/gnu/_G_config.h: Likewise.
44364 * sysdeps/mach/hurd/_G_config.h: Likewise.
44366 2012-02-07 Marek Polacek <polacek@redhat.com>
44368 * math/Makefile (tests): Add tst-CMPLX2.
44369 * math/tst-CMPLX2.c: New file.
44371 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44373 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44375 * math/libm-test.inc (jn_test): Add missing L suffix.
44377 2012-02-06 Marek Polacek <polacek@redhat.com>
44379 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44380 * sysdeps/i386/fpu/e_powf.S: Likewise.
44381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44382 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44383 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44384 * sysdeps/i386/fpu/e_pow.S: Likewise.
44385 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44386 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44387 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44388 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44389 * sysdeps/i386/fpu/e_log2.S: Likewise.
44390 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44391 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44392 * sysdeps/i386/fpu/e_powl.S: Likewise.
44393 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44395 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44396 * sysdeps/i386/fpu/e_logl.S: Likewise.
44397 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44398 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44399 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44400 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44402 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44403 * sysdeps/i386/fpu/e_log.S: Likewise.
44404 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44405 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44406 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44407 * sysdeps/i386/fpu/e_logf.S: Likewise.
44408 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44410 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44411 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44412 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44413 * sysdeps/i386/fpu/e_log10.S: Likewise.
44414 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44416 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44417 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44418 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44419 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44420 * sysdeps/i386/asm-syntax.h: Likewise.
44421 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44422 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44423 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44424 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44425 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44426 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44427 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44428 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44429 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44430 * sysdeps/powerpc/sysdep.h: Likewise.
44431 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44434 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44437 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44439 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44441 * sysdeps/i386/sysdep.h: Include <features.h>.
44442 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44445 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44447 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44449 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44452 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44454 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44455 (SETUP_PIC_REG): Use GET_PC_THUNK.
44456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44459 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44461 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44462 for non-PIC compilation.
44463 (SETUP_PIC_REG): Add .p2align directive.
44464 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44465 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44468 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44470 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44471 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44472 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44473 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44474 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44475 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44476 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44477 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44478 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44479 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44480 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44486 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44487 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44492 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44493 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44494 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44499 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44500 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44501 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44502 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44503 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44504 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44506 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44508 * math/tst-CMPLX.c: Include <stdio.h>.
44510 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44512 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44514 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44515 * sysdeps/sparc/bits/mathdef.h: Likewise.
44517 2012-01-31 Marek Polacek <polacek@redhat.com>
44519 * libio/libio.h: Don't define _PARAMS.
44520 * locale/programs/config.h: Don't define PARAMS.
44521 * stdlib/strtol_l.c: Likewise.
44522 (__strtol_l): Remove PARAMS from the prototype.
44524 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44526 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44527 names. Just use the correct names. Remove unnecessary wrapper
44529 * malloc/arena.c: Likewise.
44530 * malloc/hooks.c: Likewise.
44532 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44533 ARENA_TEST says not to. Simplify test for creation of a new arena.
44534 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44536 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44538 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44540 (update_get_addr): New function.
44541 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44542 GET_ADDR_MODULE parameter.
44544 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44546 * crypt/cert.c: Remove __STDC__ conditionals.
44547 * crypt/crypt-entry.c: Likewise.
44548 * crypt/crypt_util.c: Likewise.
44549 * libio/filedoalloc.c: Likewise.
44550 * libio/fileops.c: Likewise.
44551 * libio/genops.c: Likewise.
44552 * libio/iofclose.c: Likewise.
44553 * libio/iofdopen.c: Likewise.
44554 * libio/iofopen.c: Likewise.
44555 * libio/iofopen64.c: Likewise.
44556 * libio/iogetdelim.c: Likewise.
44557 * libio/iopopen.c: Likewise.
44558 * libio/obprintf.c: Likewise.
44559 * libio/oldfileops.c: Likewise.
44560 * libio/oldiofclose.c: Likewise.
44561 * libio/oldiofdopen.c: Likewise.
44562 * libio/oldiofopen.c: Likewise.
44563 * libio/oldiopopen.c: Likewise.
44564 * libio/wfiledoalloc.c: Likewise.
44565 * libio/wgenops.c: Likewise.
44566 * locale/programs/xmalloc.c: Likewise.
44567 * misc/syslog.c: Likewise.
44568 * stdio-common/xbug.c: Likewise.
44569 * string/memchr.c: Likewise.
44570 * string/memcmp.c: Likewise.
44571 * string/memrchr.c: Likewise.
44572 * string/rawmemchr.c: Likewise.
44573 * sysdeps/posix/getcwd.c: Likewise.
44574 * time/strftime_l.c: Likewise.
44576 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44578 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44579 * config.make.in (config-cflags-sse2avx): Define.
44580 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44583 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44585 * scripts/config.guess: Update from upstream config git repository.
44586 * scripts/config.sub: Likewise.
44588 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44590 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44592 (R_TILEPRO_*, R_TILEGX_*): New macros.
44594 * scripts/firstversions.awk: Fix bug in version range handling.
44596 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44598 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44600 * include/sys/epoll.h: New file.
44601 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44604 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44606 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44607 Avoid unnecessary __WORDSIZE == 64 test.
44608 (fmaxf): Use VEX format if possible.
44613 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44614 * math/math_private.h: Remove libc_fegetround* and
44616 * sysdeps/i386/configure.in: Check for -msse2avx.
44617 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44618 also if SSE2AVX is defined.
44619 Remove libc_fegetround* and libc_fesetround*.
44620 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44621 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44630 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44632 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44634 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44638 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44641 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44643 * Makeconfig (libm): Define.
44644 * elf/Makefile: Add rules to build and run tst-relsort1.
44645 * elf/tst-relsort1.c: New file.
44646 * elf/tst-relsort1mod1.c: New file.
44647 * elf/tst-relsort1mod2.c: New file.
44649 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44651 * math/s_ldexp.c: Remove __STDC__ conditionals.
44652 * math/s_ldexpf.c: Likewise.
44653 * math/s_ldexpl.c: Likewise.
44654 * math/s_nextafter.c: Likewise.
44655 * math/s_nexttowardf.c: Likewise.
44656 * math/s_significand.c: Likewise.
44657 * math/s_significandf.c: Likewise.
44658 * math/s_significandl.c: Likewise.
44659 * math/w_jnl.c: Likewise.
44660 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44661 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44662 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44663 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44664 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44666 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44667 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44669 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44670 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44672 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44674 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44675 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44676 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44679 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44680 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44681 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44682 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44683 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44684 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44685 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44686 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44687 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44688 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44689 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44691 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44692 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44694 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44697 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44698 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44699 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44700 * sysdeps/ieee754/k_standard.c: Likewise.
44701 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44702 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44703 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44704 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44706 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44708 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44709 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44710 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44711 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44712 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44713 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44714 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44715 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44720 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44723 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44724 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44726 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44730 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44732 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44733 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44734 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44737 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44741 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44743 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44744 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44746 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44747 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44750 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44751 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44755 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44757 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44758 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44759 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44768 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44769 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44773 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44775 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44776 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44777 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44778 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44779 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44780 * sysdeps/ieee754/s_matherr.c: Likewise.
44781 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44782 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44786 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44788 * crypt/md5.h: Remove __STDC__ conditionals.
44789 * libio/libioP.h: Likewise.
44790 * locale/programs/config.h: Likewise.
44791 * sysdeps/generic/sysdep.h: Likewise.
44792 * sysdeps/i386/asm-syntax.h: Likewise.
44793 * sysdeps/s390/asm-syntax.h: Likewise.
44794 * sysdeps/unix/sysdep.h: Likewise.
44795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44798 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44800 * libio/libio.h: Remove __STDC__ conditionals.
44801 * malloc/obstack.h: Likewise.
44802 * math/complex.h: Likewise.
44803 * math/math.h: Likewise.
44804 * sysdeps/generic/_G_config.h: Likewise.
44805 * sysdeps/gnu/_G_config.h: Likewise.
44806 * sysdeps/mach/hurd/_G_config.h: Likewise.
44807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44809 * sysdeps/sparc/bits/mathdef.h: Likewise.
44811 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44814 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44815 Clean up HAS_* macros.
44816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44817 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44822 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44827 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44829 * elf/tst-unique3.cc (gets): Remove declaration.
44830 * elf/tst-unique3lib.cc (gets): Likewise.
44831 * elf/tst-unique3lib2.cc (gets): Likewise.
44832 * elf/tst-unique4.cc (gets): Likewise.
44834 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44836 * include/stdio.h: Add C++ protection. Add gets declarations and
44838 * debug/tst-chk1.c: Don't declare gets here.
44839 * stdio-common/tst-gets.c: Likewise.
44841 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44843 * posix/glob: Remove directory.
44845 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44847 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44849 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44851 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44852 of the non-standard EPFNOSUPPORT.
44854 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44856 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44857 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44858 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44860 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44862 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44864 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44866 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44868 * nscd/grpcache.c (cache_addgr): Likewise.
44869 * nscd/hstcache.c (cache_addhst): Likewise.
44870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44871 * nscd/pwdcache.c (cache_addpw): Likewise.
44872 * nscd/servicescache.c (cache_addserv): Likewise.
44874 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44876 * malloc/malloc.c: Various cleanups.
44877 * malloc/hooks.c: Likewise.
44879 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44880 * stdlib/bug-fmtmsg1.c: New file.
44882 * stdlib/fmtmsg.c (init): Add missing unlock.
44883 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44885 2012-01-12 Marek Polacek <polacek@redhat.com>
44887 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44890 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44892 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44893 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44894 macro to ensure uniqueness of label name.
44895 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44896 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44898 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44902 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44903 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44904 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44907 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44909 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44911 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44912 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44915 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44919 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44922 * math/bits/math-finite.h: Add ldexp support.
44924 2012-01-10 Marek Polacek <polacek@redhat.com>
44926 * locale/programs/localedef.h (show_archive_content): Add noreturn
44929 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44931 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44933 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44935 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44937 * io/Makefile (headers): Add bits/poll2.h.
44939 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44942 typo #include statement.
44944 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44946 * include/sys/cdefs.h: Define __attribute_alloc_size.
44947 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44948 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44949 * elf/pldd.c: Likewise.
44950 * iconv/iconv_charmap.c: Likewise.
44951 * iconv/iconvconfig.c: Likewise.
44952 * iconv/strtab.c: Likewise.
44953 * locale/programs/locale.c: Likewise.
44954 * locale/programs/localedef.h: Likewise.
44955 * locale/programs/simple-hash.c: Likewise.
44956 * nscd/nscd.h: Likewise.
44957 * nss/makedb.c: Likewise.
44958 * sysdeps/generic/ldconfig.h: Likewise.
44959 * locale/programs/localedef.c: Remove xmalloc prototype.
44960 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44962 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44964 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44967 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44969 * math/Makefile (tests): Add tst-CMPLX.
44970 * math/tst-CMPLX.c: New file.
44972 * math/complex.h (CMPLXL): Fix typo.
44974 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44975 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44977 * debug/tst-chk1.c: Add poll and ppoll tests.
44978 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44979 * include/sys/poll.h: Add hidden proto for ppoll.
44980 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44981 * sysdeps/mach/hurd/ppoll.c: Likewise.
44982 * io/ppoll.c: Likewise.
44983 * debug/poll_chk.c: New file.
44984 * debug/ppoll_chk.c: New file.
44985 * include/bits/poll2.h: New file.
44986 * io/bits/poll2.h: New file.
44989 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44991 * configure.in: static is always set to yes. Remove.
44992 * config.make.in: Don't set build-static.
44993 * Makeconfig: Remove use of build-static.
44994 * dlfcn/Makefile: Likewise.
44995 * elf/Makefile: Likewise.
44996 * math/Makefile: Likewise.
44997 * misc/Makefile: Likewise.
44998 * nptl/Makefile: Likewise.
44999 * sysdeps/mach/hurd/Makefile: Likewise.
45001 * configure.in: PWD_P is not used anymore.
45002 * config.make.in: Remove PWD_P entry.
45004 * configure.in: Remove last remnants of RANLIB.
45005 No need to check for signed size_t anymore.
45006 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45008 Remove __builtin_expect test because we require at least gcc 3.4.
45009 * aclocal.m4: Likewise.
45011 * wcsmbs/mbrtoc16.c: Implement using towc function.
45012 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45013 * wcsmbs/wcsmbsload.c: Likewise.
45014 * iconv/gconv_simple.c: Likewise.
45015 * iconv/gconv_int.h: Likewise.
45016 * iconv/gconv_builtin.h: Likewise.
45017 * iconv/iconv_prog.c: Remove CHAR16 handling.
45019 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45021 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45023 * configure.in: Remove --with-elf and --enable-bounded options.
45024 Dont set base_machine for ia64. More non-ELF conditions removed.
45025 Remove testing and setting of leading underscore information.
45026 * config.make.in (build-bounded): Set to no.
45027 * config.h.in: Remove NO_UNDERSCORES entry.
45028 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45030 * csu/start.c: Remove !NO_UNDERSCORE code.
45031 * locale/localeinfo.h: Likewise.
45032 * sysdeps/generic/machine-gmon.h: Likewise.
45033 * sysdeps/generic/sysdep.h: Likewise.
45034 * sysdeps/i386/sysdep.h: Likewise.
45035 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45036 * sysdeps/mach/sysdep.h: Likewise.
45037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45039 * sysdeps/sh/sysdep.h: Likewise.
45040 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45041 * sysdeps/unix/i386/sysdep.S: Likewise.
45042 * sysdeps/unix/sparc/start.c: Likewise.
45043 * sysdeps/unix/sparc/sysdep.S: Likewise.
45044 * sysdeps/unix/sparc/sysdep.h: Likewise.
45045 * sysdeps/unix/start.c: Likewise.
45046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45047 * sysdeps/x86_64/sysdep.h: Likewise.
45049 2012-01-07 Ulrich Drepper <drepper@gmail.com>
45052 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45054 * argp/argp-fmtstream.h: Use const instead __const.
45055 * argp/argp.h: Likewise.
45056 * assert/assert.h: Likewise.
45057 * bits/fenv.h: Likewise.
45058 * bits/sched.h: Likewise.
45059 * bits/sigset.h: Likewise.
45060 * bits/sigthread.h: Likewise.
45061 * catgets/nl_types.h: Likewise.
45062 * conform/data/pthread.h-data: Likewise.
45063 * crypt/crypt-private.h: Likewise.
45064 * crypt/crypt.h: Likewise.
45065 * crypt/crypt_util.c: Likewise.
45066 * ctype/ctype.h: Likewise.
45067 * debug/execinfo.h: Likewise.
45068 * debug/mbsnrtowcs_chk.c: Likewise.
45069 * debug/mbsrtowcs_chk.c: Likewise.
45070 * debug/wcsnrtombs_chk.c: Likewise.
45071 * debug/wcsrtombs_chk.c: Likewise.
45072 * debug/wcstombs_chk.c: Likewise.
45073 * dirent/dirent.h: Likewise.
45074 * dlfcn/dlfcn.h: Likewise.
45075 * elf/neededtest4.c: Likewise.
45076 * grp/grp.h: Likewise.
45077 * gshadow/gshadow.h: Likewise.
45078 * iconv/gconv.h: Likewise.
45079 * iconv/gconv_int.h: Likewise.
45080 * iconv/gconv_simple.c: Likewise.
45081 * iconv/iconv.h: Likewise.
45082 * iconv/loop.c: Likewise.
45083 * iconv/skeleton.c: Likewise.
45084 * include/aio.h: Likewise.
45085 * include/aliases.h: Likewise.
45086 * include/argz.h: Likewise.
45087 * include/arpa/inet.h: Likewise.
45088 * include/assert.h: Likewise.
45089 * include/dirent.h: Likewise.
45090 * include/dlfcn.h: Likewise.
45091 * include/execinfo.h: Likewise.
45092 * include/fcntl.h: Likewise.
45093 * include/fenv.h: Likewise.
45094 * include/glob.h: Likewise.
45095 * include/grp.h: Likewise.
45096 * include/libintl.h: Likewise.
45097 * include/mntent.h: Likewise.
45098 * include/netdb.h: Likewise.
45099 * include/pwd.h: Likewise.
45100 * include/rpc/netdb.h: Likewise.
45101 * include/sched.h: Likewise.
45102 * include/search.h: Likewise.
45103 * include/shadow.h: Likewise.
45104 * include/signal.h: Likewise.
45105 * include/stdio.h: Likewise.
45106 * include/stdlib.h: Likewise.
45107 * include/string.h: Likewise.
45108 * include/sys/socket.h: Likewise.
45109 * include/sys/stat.h: Likewise.
45110 * include/sys/statfs.h: Likewise.
45111 * include/sys/statvfs.h: Likewise.
45112 * include/sys/syslog.h: Likewise.
45113 * include/sys/time.h: Likewise.
45114 * include/sys/uio.h: Likewise.
45115 * include/time.h: Likewise.
45116 * include/unistd.h: Likewise.
45117 * include/utmp.h: Likewise.
45118 * include/wchar.h: Likewise.
45119 * include/wctype.h: Likewise.
45120 * inet/aliases.h: Likewise.
45121 * inet/arpa/inet.h: Likewise.
45122 * inet/netinet/ether.h: Likewise.
45123 * inet/netinet/in.h: Likewise.
45124 * intl/libintl.h: Likewise.
45125 * io/bits/fcntl2.h: Likewise.
45126 * io/fcntl.h: Likewise.
45127 * io/ftw.h: Likewise.
45128 * io/sys/poll.h: Likewise.
45129 * io/sys/stat.h: Likewise.
45130 * io/sys/statfs.h: Likewise.
45131 * io/sys/statvfs.h: Likewise.
45132 * io/utime.h: Likewise.
45133 * libio/bits/stdio.h: Likewise.
45134 * libio/bits/stdio2.h: Likewise.
45135 * libio/libio.h: Likewise.
45136 * libio/libioP.h: Likewise.
45137 * libio/stdio.h: Likewise.
45138 * locale/lc-ctype.c: Likewise.
45139 * locale/locale.h: Likewise.
45140 * login/utmp.h: Likewise.
45141 * malloc/arena.c: Likewise.
45142 * malloc/malloc.c: Likewise.
45143 * malloc/malloc.h: Likewise.
45144 * malloc/mcheck.c: Likewise.
45145 * malloc/mtrace.c: Likewise.
45146 * math/bits/mathcalls.h: Likewise.
45147 * math/fenv.h: Likewise.
45148 * math/math_private.h: Likewise.
45149 * misc/bits/error.h: Likewise.
45150 * misc/bits/syslog.h: Likewise.
45151 * misc/err.h: Likewise.
45152 * misc/error.h: Likewise.
45153 * misc/fstab.h: Likewise.
45154 * misc/mntent.h: Likewise.
45155 * misc/regexp.h: Likewise.
45156 * misc/search.h: Likewise.
45157 * misc/sgtty.h: Likewise.
45158 * misc/sys/mman.h: Likewise.
45159 * misc/sys/syslog.h: Likewise.
45160 * misc/sys/uio.h: Likewise.
45161 * misc/sys/xattr.h: Likewise.
45162 * misc/ttyent.h: Likewise.
45163 * nis/rpcsvc/ypclnt.h: Likewise.
45164 * nss/nss.h: Likewise.
45165 * posix/bits/unistd.h: Likewise.
45166 * posix/fnmatch.h: Likewise.
45167 * posix/glob.h: Likewise.
45168 * posix/sched.h: Likewise.
45169 * posix/spawn.h: Likewise.
45170 * posix/sys/wait.h: Likewise.
45171 * posix/unistd.h: Likewise.
45172 * posix/wordexp.h: Likewise.
45173 * pwd/pwd.h: Likewise.
45174 * resolv/netdb.h: Likewise.
45175 * resource/sys/resource.h: Likewise.
45176 * rt/aio.h: Likewise.
45177 * rt/bits/mqueue2.h: Likewise.
45178 * rt/mqueue.h: Likewise.
45179 * shadow/shadow.h: Likewise.
45180 * signal/signal.h: Likewise.
45181 * socket/send.c: Likewise.
45182 * socket/sendto.c: Likewise.
45183 * socket/sys/socket.h: Likewise.
45184 * stdio-common/printf.h: Likewise.
45185 * stdlib/bits/stdlib.h: Likewise.
45186 * stdlib/fmtmsg.h: Likewise.
45187 * stdlib/monetary.h: Likewise.
45188 * stdlib/stdlib.h: Likewise.
45189 * stdlib/ucontext.h: Likewise.
45190 * streams/stropts.h: Likewise.
45191 * string/argz.h: Likewise.
45192 * string/bits/string2.h: Likewise.
45193 * string/string.h: Likewise.
45194 * string/strings.h: Likewise.
45195 * sunrpc/rpc/auth.h: Likewise.
45196 * sunrpc/rpc/auth_des.h: Likewise.
45197 * sunrpc/rpc/clnt.h: Likewise.
45198 * sunrpc/rpc/netdb.h: Likewise.
45199 * sunrpc/rpc/pmap_clnt.h: Likewise.
45200 * sunrpc/rpc/xdr.h: Likewise.
45201 * sysdeps/generic/inttypes.h: Likewise.
45202 * sysdeps/generic/net/if.h: Likewise.
45203 * sysdeps/generic/sys/swap.h: Likewise.
45204 * sysdeps/gnu/net/if.h: Likewise.
45205 * sysdeps/gnu/utmpx.h: Likewise.
45206 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45207 * sysdeps/i386/i486/bits/string.h: Likewise.
45208 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45209 * sysdeps/s390/bits/string.h: Likewise.
45210 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45211 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45212 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45213 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45214 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45215 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45216 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45217 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45218 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45219 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45220 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45221 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45222 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45223 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45224 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45225 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45226 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45229 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45231 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45232 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45233 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45234 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45235 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45238 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45240 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45241 * sysvipc/sys/ipc.h: Likewise.
45242 * sysvipc/sys/msg.h: Likewise.
45243 * sysvipc/sys/sem.h: Likewise.
45244 * sysvipc/sys/shm.h: Likewise.
45245 * termios/termios.h: Likewise.
45246 * time/sys/time.h: Likewise.
45247 * time/time.h: Likewise.
45248 * wcsmbs/bits/wchar2.h: Likewise.
45249 * wcsmbs/uchar.h: Likewise.
45250 * wcsmbs/wchar.h: Likewise.
45251 * wctype/wctype.h: Likewise.
45254 * Makeconfig: Remove all but ELF support including AIX support.
45255 * Makerules: Likewise.
45256 * config.h.in: Likewise.
45257 * config.make.in: Likewise.
45258 * configure: Likewise.
45259 * configure.in: Likewise.
45260 * csu/Makefile: Likewise.
45261 * csu/version.c: Likewise.
45262 * debug/Makefile: Likewise.
45263 * dlfcn/Makefile: Likewise.
45264 * elf/Makefile: Likewise.
45265 * extra-lib.mk: Likewise.
45266 * iconv/Makefile: Likewise.
45267 * include/libc-symbols.h: Likewise.
45268 * include/shlib-compat.h: Likewise.
45269 * resolv/Makefile: Likewise.
45270 * resolv/res_libc.c: Likewise.
45271 * rt/Makefile: Likewise.
45272 * sysdeps/i386/asm-syntax.h: Likewise.
45273 * sysdeps/i386/sysdep.h: Likewise.
45274 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45275 * sysdeps/mach/sysdep.h: Likewise.
45276 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45277 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45278 * sysdeps/s390/asm-syntax.h: Likewise.
45279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45281 * sysdeps/sh/sysdep.h: Likewise.
45282 * sysdeps/unix/sparc/sysdep.h: Likewise.
45283 * sysdeps/wordsize-32/divdi3.c: Likewise.
45284 * sysdeps/x86_64/sysdep.h: Likewise.
45286 * argp/Versions: Remove _argp_unlock_xxx.
45289 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45290 * abilist/libBrokenLocale.abilist: Likewise.
45291 * abilist/libanl.abilist: Likewise.
45292 * abilist/libc.abilist: Likewise.
45293 * abilist/libcrypt.abilist: Likewise.
45294 * abilist/libdl.abilist: Likewise.
45295 * abilist/libm.abilist: Likewise.
45296 * abilist/libnsl.abilist: Likewise.
45297 * abilist/libpthread.abilist: Likewise.
45298 * abilist/libresolv.abilist: Likewise.
45299 * abilist/librt.abilist: Likewise.
45300 * abilist/libthread_db.abilist: Likewise.
45301 * abilist/libutil.abilist: Likewise.
45302 * abilist/libnss_db.abilist: New file.
45304 * scripts/abilist.awk: Add support for indirect functions.
45306 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45308 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45310 * shlib-versions: Remove entries for ports architectures.
45312 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45314 * elf/stackguard-macros.h: Remove support for IA-64.
45315 * elf/tst-auditmod1.c: Likewise.
45316 * sysdeps/generic/ldsodefs.h: Likewise.
45318 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45319 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45323 * configure.in: Remove --enable-omitfp support.
45325 * config.make.in: Likewise.
45326 * Makeconfig: Likewise.
45327 * manual/install.texi: Likewise.
45329 In case anyone cares, the IA-64 architecture could move to ports.
45330 * sysdeps/ia64/*: Removed.
45331 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45332 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45335 * configure.in: Remove entries for unsupported architectures.
45338 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45339 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45341 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45342 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45343 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45344 fall back to using wcrtomb.
45345 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45346 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45348 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45349 * wcsmbs/tst-c16c32-1.c: New file.
45351 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45354 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45356 * elf/tst-unique3.cc: Add explicit declaration of gets.
45357 * elf/tst-unique3lib.cc: Likewise.
45358 * elf/tst-unique3lib2.cc: Likewise.
45359 * elf/tst-unique4.cc: Likewise.
45361 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45363 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45366 * assert/assert.h (static_assert): Don't define for C++.
45367 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45368 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45370 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45372 * iconv/loop.c (single loop): Fix assertion in storing of
45375 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45377 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45379 * posix/getconf.c: Update copyright year.
45380 * nss/getent.c: Likewise.
45381 * nss/makedb.c: Likewise.
45382 * iconv/iconvconfig.c: Likewise.
45383 * iconv/iconv_prog.c: Likewise.
45384 * elf/ldconfig.c: Likewise.
45385 * elf/pldd.c: Likewise.
45386 * elf/sotruss.ksh: Likewise.
45387 * catgets/gencat.c: Likewise.
45388 * csu/version.c: Likewise.
45389 * elf/ldd.bash.in: Likewise.
45390 * elf/sprof.c (print_version): Likewise.
45391 * locale/programs/locale.c: Likewise.
45392 * locale/programs/localedef.c: Likewise.
45393 * login/programs/pt_chown.c: Likewise.
45394 * nscd/nscd.c (print_version): Likewise.
45395 * debug/xtrace.sh: Likewise.
45396 * malloc/memusage.sh: Likewise.
45397 * malloc/mtrace.pl: Likewise.
45398 * debug/catchsegv.sh: Likewise.
45400 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45402 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45405 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45408 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45409 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45411 * iconv/gconv_int.h: Likewise.
45412 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45413 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45414 from libc for GLIBC_2.16.
45415 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45416 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45417 * wcsmbs/uchar.h: Really define mbstate_t.
45418 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45419 * wcsmbs/c16rtomb.c: New file.
45420 * wcsmbs/mbrtoc16.c: New file.
45421 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45422 for C/POSIX locale.
45423 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45424 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45426 * wcsmbs/wchar.h: Add missing __restrict.
45428 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45431 * time/Makefile (routines): Add timespec_get.
45432 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45433 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45434 timespec for ISO C11.
45435 * time/timespec_get.c: New file.
45436 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45437 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45440 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45441 * stdlib/stdlib.h: Declare aligned_alloc.
45442 * Versions.def: Add GLIBC_2.16 for libc.
45443 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45446 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45449 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45453 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45456 * assert/assert.h (static_assert): Define.
45458 * version.h: Update for 2.16 development version.
45461 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45464 * version.h (RELEASE): Bump for 2.15 release.
45465 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45467 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45468 Patch by Marek Polacek <mpolacek@redhat.com>.
45470 * bits/byteswap.h: Protect long long constants with __extension__.
45471 * sysdeps/i386/bits/byteswap.h: Likewise.
45472 * sysdeps/ia64/bits/byteswap.h: Likewise.
45473 * sysdeps/s390/bits/byteswap.h: Likewise.
45474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45476 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45480 destination buffer.
45481 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45483 2011-12-23 Marek Polacek <polacek@redhat.com>
45485 * elf/dl-addr.c (determine_info): Add inline keyword.
45486 * elf/tst-auditmod4b.c (check_avx): Likewise.
45487 * elf/tst-auditmod6b.c (check_avx): Likewise.
45488 * elf/tst-auditmod6c.c (check_avx): Likewise.
45489 * elf/tst-auditmod7b.c (check_avx): Likewise.
45491 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45493 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45496 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45500 processing for last bytes.
45502 2011-08-06 Bruno Haible <bruno@clisp.org>
45505 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45506 U+0385, not to U+1FEE.
45509 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45510 entry for U+00A5 U+0301.
45512 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45515 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45516 buffer for the output is too small.
45518 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45522 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45523 SSE flags if possible.
45525 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45529 processing for last bytes.
45531 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45533 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45534 (syscall-list-default-options, syscall-list-default-condition)
45535 (syscall-list-includes): Define.
45536 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45537 list of ABIs and options and #if conditions for each ABI. Do not
45538 handle common syscalls between ABIs specially.
45539 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45541 (syscall-list-variants, syscall-list-32bit-options)
45542 (syscall-list-32bit-condition, syscall-list-64bit-options)
45543 (syscall-list-64bit-condition): Define.
45544 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45545 (syscall-list-variants, syscall-list-32bit-options)
45546 (syscall-list-32bit-condition, syscall-list-64bit-options)
45547 (syscall-list-64bit-condition): Define.
45548 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45550 (syscall-list-variants, syscall-list-32bit-options)
45551 (syscall-list-32bit-condition, syscall-list-64bit-options)
45552 (syscall-list-64bit-condition): Define.
45553 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45555 (syscall-list-variants, syscall-list-32bit-options)
45556 (syscall-list-32bit-condition, syscall-list-64bit-options)
45557 (syscall-list-64bit-condition): Define.
45559 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45561 * locale/iso-639.def: Add brx entry.
45564 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45565 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45567 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45568 __feraiseexcept_renamed.
45570 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45573 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45574 EPOLLET with unsigned values.
45575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45578 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45579 to large cancellation.
45580 * math/s_cacoshf.c: Likewise.
45581 * math/s_cacoshl.c: Likewise.
45583 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45587 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45588 * math/s_cacoshf.c: Likewise.
45589 * math/s_cacoshl.c: Likewise.
45591 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45594 * iconv/gconv.h: Define __GCONV_SWAP.
45595 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45596 * iconvdata/utf-16.c: Likewise.
45597 * iconvdata/utf-32.c: Likewise.
45599 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45603 numerator after shifting it by one limb.
45605 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45608 under [__USE_EXTERN_INLINES].
45610 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45613 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45615 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45617 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45618 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45620 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45621 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45622 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45623 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45624 for strncasecmp/strncasecmp_l compilation.
45625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45626 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45628 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45631 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45634 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45637 * time/tzfile.c (__tzfile_read): Check values from file header.
45639 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45641 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45642 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45643 * powerpc/powerpc32/dl-start.S: Likewise.
45644 * powerpc/powerpc32/elf/start.S: Likewise.
45645 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45646 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45647 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45648 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45649 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45650 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45651 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45652 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45653 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45654 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45655 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45656 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45657 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45658 * powerpc/powerpc32/memset.S: Likewise.
45659 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45660 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45661 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45662 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45663 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45664 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45665 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45666 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45667 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45668 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45669 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45670 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45671 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45673 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45675 * math/libm-test.inc: Added more nearbyint tests.
45676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45681 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45683 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45686 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45688 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45689 Add wcscpy-ssse3 wcscpy-c.
45690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45691 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45692 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45693 * sysdeps/x86_64/wcschr.S: New file.
45694 * sysdeps/x86_64/wcsrchr.S: New file.
45695 * string/test-strcmp.c: Remove checking of wcscmp function for
45697 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45698 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45699 wcsrchr-sse2 wcsrchr-c.
45700 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45701 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45702 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45703 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45704 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45705 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45706 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45707 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45709 * wcsmbc/wcschr.c (WCSCHR): New macro.
45711 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45713 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45714 * wcsmbs/test-wcsrchr.c: New file.
45715 * string/test-strrchr.c: Add wcsrchr support.
45717 * wcsmbs/test-wcscpy.c: New file.
45718 * string/test-strcpy.c: Add wcscpy support.
45721 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45726 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45729 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45731 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45734 Minor optimizations.
45736 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45737 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45738 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45740 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45742 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45743 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45744 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45745 for gcc to avoid warnings.
45746 * inet/Makefile (tests): Add tst-checks.
45747 * inet/tst-checks.c: New file.
45749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45752 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45755 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45756 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45758 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45760 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45765 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45767 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45769 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45770 conditional on GCC version.
45771 (__arch_compare_and_exchange_val_8_acq)
45772 (__arch_compare_and_exchange_val_16_acq)
45773 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45774 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45775 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45777 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45779 * sysdeps/sh/backtrace.c: New file.
45781 2011-12-02 Andreas Schwab <schwab@redhat.com>
45783 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45786 2011-12-01 Andreas Schwab <schwab@redhat.com>
45788 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45789 falling back to utime.
45791 2011-11-30 Andreas Schwab <schwab@redhat.com>
45793 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45794 expectations for float.
45796 2011-11-29 Andreas Schwab <schwab@redhat.com>
45798 * locale/weight.h (findidx): Add parameter len.
45799 * locale/weightwc.h (findidx): Likewise.
45800 * posix/fnmatch_loop.c (FCT): Adjust caller.
45801 * posix/regcomp.c (build_equiv_class): Likewise.
45802 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45803 * posix/regexec.c (check_node_accept_bytes): Likewise.
45804 * string/strcoll_l.c (STRCOLL): Likewise.
45805 * string/strxfrm_l.c (STRXFRM): Likewise.
45807 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45809 * Makefile.in: Remove CVSOPT handling.
45810 * configure.in: Remove use of AC_REVISION.
45811 * iconvdata/Makefile (distribute): No need to filter out CVS.
45812 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45815 2011-11-16 Andreas Schwab <schwab@redhat.com>
45817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45818 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45819 [USE_AS_STRNCASECMP_L]: Likewise.
45820 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45821 NO_TLS_DIRECT_SEG_REFS.
45822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45823 Fix argument offsets for non-PIC.
45824 [USE_AS_STRNCASECMP_L]: Likewise.
45825 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45826 NO_TLS_DIRECT_SEG_REFS.
45828 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45830 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45832 * locale/loadlocale.c (_nl_load_locale): Likewise.
45834 2011-11-15 Andreas Schwab <schwab@redhat.com>
45836 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45837 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45838 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45839 (SYSCALL_GETTIME): Set errno on error.
45841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45842 count references to noai6ai_cached.
45844 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45846 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45848 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45849 FD_CLOEXEC for /proc/self/maps.
45851 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45852 FD_CLOEXEC for /proc/meminfo.
45854 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45857 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45858 FD_CLOEXEC for given file.
45860 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45862 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45863 FD_CLOEXEC for /etc/hosts.
45864 (_gethtent): Likewise.
45866 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45868 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45869 cancellation and set FD_CLOEXEC for /etc/netgroup.
45871 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45872 reading /etc/publickey.
45874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45875 allow cancellation when reading /etc/group.
45877 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45879 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45881 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45882 when using data file.
45884 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45886 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45887 (write_nis_obj): Use "c" and "e" in fopen.
45889 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45891 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45893 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45895 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45897 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45900 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45902 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45904 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45906 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45907 file parsing and set FD_CLOEXEC.
45909 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45911 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45913 2011-11-14 Andreas Schwab <schwab@redhat.com>
45915 * malloc/arena.c (arena_get2): Don't call reused_arena when
45916 _int_new_arena failed.
45918 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45920 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45921 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45926 to compile strcasecmp and strncasecmp.
45927 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45928 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45932 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45934 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45935 locale-defines.sym to gen-as-const-headers.
45936 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45937 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45939 to compile strcasecmp and strncasecmp.
45940 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45941 strcasecmp_l and strncasecmp_l.
45942 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45943 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45944 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45945 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45946 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45947 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45948 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45949 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45950 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45951 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45952 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45954 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45956 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45957 result of SYSDEP_GETTIME_CPU to retval.
45958 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45959 parameter list to macro. Remove trailing semicolon. Adjust users.
45961 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45964 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45968 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45969 from unused variable.
45971 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45973 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45976 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45979 * sunrpc/rpc_prot.c (rejected): Fix case value.
45981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45982 unsigned long long int to avoid warnings in shift.
45984 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45986 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45990 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45991 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45993 * nis/nis_table.c (nis_list): Use variable of correct type for
45994 result of __follow_path call.
45996 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45998 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45999 of math functions ceil, trunc, floor, round, and sqrt, when
46000 avaliable on the platform.
46001 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46007 2011-10-30 Marek Polacek <mpolacek@redhat.com>
46009 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46012 2011-11-11 Roland McGrath <roland@hack.frob.com>
46014 * include/unistd.h: Fix __readlink return type.
46015 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46017 2011-11-11 Ulrich Drepper <drepper@gmail.com>
46019 * stdlib/ucontext.h: Undo last change for makecontext.
46021 2011-11-11 Andreas Schwab <schwab@redhat.com>
46023 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46025 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46026 * setjmp/setjmp.h: Mark functions as non-leaf.
46027 * setjmp/bits/setjmp2.h: Likewise.
46028 * stdlib/ucontext.h: Likewise.
46030 2011-11-10 Andreas Schwab <schwab@redhat.com>
46032 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46033 (reused_arena): Don't check arena limit.
46034 (arena_get2): Atomically check arena limit.
46036 2011-11-08 Ulrich Drepper <drepper@gmail.com>
46038 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46039 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46044 2011-11-07 Andreas Schwab <schwab@redhat.com>
46046 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46047 handler when locking.
46049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46050 Fix size of allocated buffer.
46052 2011-11-04 Andreas Schwab <schwab@redhat.com>
46055 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46056 declarations for long double functions.
46057 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46059 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46061 2011-11-03 Andreas Schwab <schwab@redhat.com>
46063 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46066 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46069 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46071 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46073 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46075 * include/alloca.h (stackinfo_alloca_round): Define.
46076 (extend_alloca): Use it.
46077 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46078 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46081 * scripts/check-local-headers.sh: Ignore libaudit.h.
46083 * nscd/Makefile (extra-objs): Make recursively expanded.
46085 2011-11-01 Ulrich Drepper <drepper@gmail.com>
46087 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46090 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46091 * posix/tst-rfc3484-2.c: Likewise.
46092 * posix/tst-rfc3484-3.c: Likewise.
46094 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46096 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46098 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46099 process_vm_writev from libc using GLIBC_2.15 version.
46101 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46103 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46105 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46108 2011-10-31 Ulrich Drepper <drepper@gmail.com>
46111 * nss/getent.c (initgroups_keys): Show error message in case no group
46114 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46115 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46116 __bump_nl_timestamp.
46117 * nscd/connections (nscd_init): When host database is served open
46118 netlink socket and request notification about configuration changes.
46119 (main_loop_poll): Track netlink file descriptor and bump timestamp
46120 in case data becomes available.
46121 (main_loop_epoll): Likewise.
46122 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46123 (database_pers_head): Add extra_data fileds.
46124 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46125 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46126 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46129 in6ai data, call __free_in6ai.
46130 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46131 Add -DHAVE_NETLINK.
46132 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46133 interface information. Reuse previous data if netlink timestamp
46135 (__bump_nl_timestamp): New function.
46136 (__free_in6ai): New function.
46138 2011-10-30 Ulrich Drepper <drepper@gmail.com>
46140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46141 close_not_cancel_no_status here.
46142 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46144 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46147 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46150 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46151 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46152 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46154 2011-07-03 Andreas Jaeger <aj@suse.de>
46157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46158 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46159 * math/libm-test.inc (sin_test): Add test case.
46161 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46164 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46167 * elf/chroot_canon.c (chroot_canon): Cleanups.
46169 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46172 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46173 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46175 * string/test-strchr.c: Make usable for strchrnul testing.
46176 * string/test-strchrnul.c: New file.
46177 * string/Makefile (strop-tests): Add strchrnul.
46179 * po/it.po: Update from translation team.
46180 * po/es.po: Likewise.
46182 2011-10-28 Ulrich Drepper <drepper@gmail.com>
46184 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46185 the three constants needed as parameters. Drop the others.
46186 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46187 __m128i_strloadu_tolower.
46188 Create and initialize variable zero and use it in all the places
46189 where _mm_setzero_si128 was used.
46191 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46192 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46193 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46197 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46198 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46199 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46200 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46201 __mpranred, __mptan.
46202 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46203 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46204 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46205 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46206 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46207 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46212 2011-10-28 Andreas Schwab <schwab@redhat.com>
46214 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46215 redefine if SHARED.
46216 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46219 wide char related routines to wcsmbs subdir.
46221 2011-10-27 Andreas Schwab <schwab@redhat.com>
46224 * misc/sys/cdefs.h (__THROWNL): Define.
46225 * posix/unistd.h: Use __THREADNL instead of __THREAD
46226 for memory synchronization functions.
46228 2011-10-26 Roland McGrath <roland@hack.frob.com>
46231 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46233 * manual/stdio.texi (Obstack Streams): Node removed.
46235 2011-10-26 Andreas Schwab <schwab@redhat.com>
46237 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46241 * math/math_private.h (math_force_eval): Allow non-addressable
46243 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46245 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46248 file is not needed.
46250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46257 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46259 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46260 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46261 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46262 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46263 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46264 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46265 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46267 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46268 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46269 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46270 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46271 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46272 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46274 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46275 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46276 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46277 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46279 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46280 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46283 place. Use VEX encoding when compiling for AVX.
46285 2011-10-25 Andreas Schwab <schwab@redhat.com>
46287 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46288 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46290 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46292 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46294 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46295 useless if() expression.
46296 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46297 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46298 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46300 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46308 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46309 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46310 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46311 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46314 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46316 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46318 2011-10-25 Andreas Schwab <schwab@redhat.com>
46320 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46324 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46326 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46327 .text section. Avoid duplicate constants.
46328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46337 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46338 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46339 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46340 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46341 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46348 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46349 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46350 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46357 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46359 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46361 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46362 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46363 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46364 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46366 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46367 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46368 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46370 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46371 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46372 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46374 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46376 * sysdeps/x86_64/dla.h: Move to ...
46377 * sysdeps/x86_64/fpu/dla.h: ...here.
46378 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46379 situations. Use __builtin_fma only for gcc 4.6 and up.
46381 * config.make.in: Add have-mfma4 entry.
46382 * configure.in: Substitute libc_cv_cc_fma4.
46383 * math/Makefile (dbl-only-routines): Add sincostab.
46384 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46385 Use __sincostab not sincos.
46386 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46393 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46394 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46395 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46396 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46399 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46401 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46402 define aliases when function name is a macro.
46403 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46404 sysdeps/ieee754/dbl-64/sincos.tbl.
46405 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46406 fma4-enabled routines.
46407 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46408 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46409 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46410 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46411 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46412 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46413 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46414 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46415 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46417 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46419 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46421 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46422 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46423 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46424 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46425 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46426 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46427 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46428 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46433 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46434 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46435 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46436 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46438 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46446 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46449 2011-10-24 Andreas Schwab <schwab@redhat.com>
46451 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46453 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46455 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46457 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46461 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46462 Remove unused variable magic_bits.
46463 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46465 * string/strnlen.c: Define and use STRNLEN macro.
46466 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46467 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46469 * wcsmbs/wcslen.c: Define and use WCSLEN.
46470 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46471 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46472 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46473 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46474 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46475 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46478 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46481 strnlen-sse2-no-bsf.
46482 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46484 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46485 Add strnlen support.
46486 (USE_AS_STRNLEN): New macro.
46487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46488 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46489 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46490 * sysdeps/x86_64/wcslen.S: New file.
46492 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46495 XMM-moves are used for copying on small sizes.
46497 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46499 * wcsmbs/Makefile (strop-tests): Add wcschr.
46500 * wcsmbs/test-wcschr.c: New file.
46501 * string/test-strchr.c: Update.
46502 Add wcschr support.
46505 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46507 * wcsmbs/Makefile (strop-tests): Add wcslen.
46508 * wcsmbs/test-wcslen.c: New file.
46509 * string/test-strlen.c: Update.
46510 Add wcslen support.
46513 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46515 * po/it.po: Update from translation team.
46517 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46519 * sysdeps/x86_64/wcscmp.S: Update.
46520 Fix wrong comparison semantics.
46521 wcscmp shall use signed comparison not unsigned.
46522 Don't use substraction to avoid overflow bug.
46523 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46524 * wcsmbc/wcscmp.c: Likewise.
46525 * string/test-strcmp.c: Likewise.
46526 Add new tests to check cases with negative values.
46528 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46530 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46531 * sysdeps/x86_64/dla.h: ...here. New file.
46532 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46542 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46545 __ynl_finite aliases.
46547 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46551 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46553 [DLA_FMA] (EMULV): Use DLA_FMA.
46554 [DLA_FMA] (MUL12): Use EMULV.
46555 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46556 that are not needed.
46557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46565 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46567 * math/s_nan.c: Undef __nan.
46568 * math/s_nanf.c: Undef __nanf.
46569 * math/s_nanl.c: Undef __nanl.
46570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46573 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46575 * math/s_catan.c: Add branch predictions.
46576 * math/s_catanf.c: Likewise.
46577 * math/s_catanh.c: Likewise.
46578 * math/s_catanhf.c: Likewise.
46579 * math/s_catanhl.c: Likewise.
46580 * math/s_catanl.c: Likewise.
46581 * math/s_cexp.c: Likewise.
46582 * math/s_cexpf.c: Likewise.
46583 * math/s_cexpl.c: Likewise.
46584 * math/s_clog.c: Likewise.
46585 * math/s_clog10.c: Likewise.
46586 * math/s_clog10f.c: Likewise.
46587 * math/s_clog10l.c: Likewise.
46588 * math/s_clogf.c: Likewise.
46589 * math/s_clogl.c: Likewise.
46590 * math/s_csqrt.c: Likewise.
46591 * math/s_csqrtf.c: Likewise.
46592 * math/s_csqrtl.c: Likewise.
46593 * math/s_ctanf.c: Likewise.
46594 * math/s_ctanh.c: Likewise.
46595 * math/s_ctanhf.c: Likewise.
46596 * math/s_ctanhl.c: Likewise.
46597 * math/s_ctanl.c: Likewise.
46599 * math/math_private.h: Define __nan, __nanf, __nanl.
46600 * math/s_cacosh.c: Include <math_private.h>.
46601 * math/s_cacoshl.c: Likewise.
46602 * math/s_casinh.c: Likewise.
46603 * math/s_casinhf.c: Likewise.
46604 * math/s_casinhl.c: Likewise.
46605 * math/s_ccos.c: Rely entire on ccosh.
46606 * math/s_ccosf.c: Rely entire on ccoshf.
46607 * math/s_ccosl.c: Rely entirely on ccoshl.
46608 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46609 Remove tests for FE_INVALID.
46610 * math/s_ccoshf.c: Likewise.
46611 * math/s_ccoshl.c: Likewise.
46612 * math/s_csin.c: Likewise.
46613 * math/s_csinf.c: Likewise.
46614 * math/s_csinh.c Likewise.
46615 * math/s_csinhf.c: Likewise.
46616 * math/s_csinhl.c: Likewise.
46617 * math/s_csinl.c: Likewise.
46618 * math/s_ctan.c: Likewise.
46619 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46620 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46623 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46626 compilation problems.
46628 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46631 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46633 * sysdeps/i386/configure.in: Test for -mfma4 option.
46634 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46635 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46636 COMMON_CPUID_INDEX_80000001.
46637 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46638 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46639 use it if FMA3 is not supported.
46640 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46642 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46643 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46645 2011-10-20 Andreas Schwab <schwab@redhat.com>
46648 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46649 it would create a cycle with a link time dependency.
46651 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46653 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46655 * string/Makefile (strop-tests): Add rawmemchr.
46656 * string/test-rawmemchr.c: New file.
46658 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46660 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46661 when compiling str{,n}casecmp and when AVX is available. Hook up
46662 new optimized code in initializers.
46664 2011-10-19 Andreas Schwab <schwab@redhat.com>
46666 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46667 __feraiseexcept instead of feraiseexcept.
46669 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46671 * math/math_private.h: Define defaults for libc_fetestexcept and
46673 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46674 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46675 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46676 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46678 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46679 libc_fetestexcept and libc_feupdateenv.
46681 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46682 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46683 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46684 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46685 libc_feholdexcept_setround.
46687 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46688 Add s_nearbyint-c and s_nearbyintf-c.
46689 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46690 nearbyintf inlines.
46691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46693 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46696 * math/math_private.h: Define defaults for libc_fegetround,
46697 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46698 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46699 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46701 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46702 standard functions.
46703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46704 Remove comments and hacks for old compiler versions.
46705 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46706 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46707 libc_feholdexceptl.
46709 2011-10-18 Andreas Schwab <schwab@redhat.com>
46711 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46712 (__feraiseexcept_renamed): Add __NTH.
46713 (feraiseexcept): Add __NTH. Rename local variables to fix
46714 namespace violations.
46716 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46720 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46722 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46723 recently added interfaces.
46724 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46726 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46727 about macro parameter expansion.
46729 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46730 __NO_MATH_INLINES is defined. Cleanups.
46732 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46733 and __floorf is target has SSE4.1.
46734 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46736 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46737 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46739 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46741 (floorf): Likewise.
46743 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46745 2011-10-17 Andreas Schwab <schwab@redhat.com>
46747 * misc/sys/cdefs.h: Fix last change.
46749 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46752 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46754 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46756 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46763 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46764 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46765 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46766 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46767 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46768 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46769 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46770 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46771 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46772 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46773 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46775 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46777 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46780 ceil, ceilf, floor, floorf.
46782 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46783 Perform IRELATIVE relocations last.
46785 * elf/do-rel.h: Add another parameter nrelative, replacing the
46786 local variable with the same name. Change name of the function
46787 to end in Rel or Rela (uppercase).
46788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46789 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46790 elf_dynamic_do_##reloc function.
46792 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46794 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46795 is sufficient, at least on modern CPUs.
46797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46799 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46802 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46804 * math/bits/math-finite.h: Add entries for exp.
46805 * math/e_expl.c: Add __*_finite alias.
46806 * sysdeps/i386/fpu/e_exp.S: Likewise.
46807 * sysdeps/i386/fpu/e_expf.S: Likewise.
46808 * sysdeps/i386/fpu/e_expl.c: Likewise.
46809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46810 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46814 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46815 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46817 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46818 is sufficient, at least on modern CPUs.
46820 * ctype/ctype-info.c (__ctype_init): Define.
46821 * include/ctype.h (__ctype_init): Declare.
46822 (__ctype_b_loc): The variable is always initialized.
46823 (__ctype_toupper_loc): Likewise.
46824 (__ctype_tolower_loc): Likewise.
46825 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46826 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46828 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46830 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46832 * configure.in: Also look in $cxxmachine/include for C++ system
46835 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46837 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46838 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46839 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46840 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46842 (USE_AS_WMEMCMP): New macro.
46844 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46845 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46846 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46847 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46849 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46850 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46851 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46852 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46853 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46854 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46855 (USE_AS_WMEMCMP): New macro.
46856 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46857 * sysdeps/string/test-memcmp.c: Update.
46858 Fix simple_wmemcmp.
46860 * wcsmbs/wmemcmp.c: Update.
46861 (WMEMCMP): New macro.
46864 2011-10-12 Andreas Jaeger <aj@suse.de>
46867 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46869 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46871 * libio/iofwide.c (do_length): Avoid warning.
46873 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46875 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46877 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46879 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46880 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46881 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46882 * sysdeps/i386/i686/fpu/e_log.S: New file.
46883 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46884 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46886 * ctype/ctype.h: Add support for inlined isXXX functions when
46887 compiling C++ code.
46889 2011-10-14 Andreas Schwab <schwab@redhat.com>
46891 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46895 2011-10-13 Roland McGrath <roland@hack.frob.com>
46898 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46900 2011-10-13 Andreas Schwab <schwab@redhat.com>
46902 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46903 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46906 * sysdeps/x86_64/memrchr.S: Check for zero size.
46908 * string/stratcliff.c: Add memrchr tests.
46910 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46913 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46914 rawmemchr-sse2 rawmemchr-sse2-bsf.
46915 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46916 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46917 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46918 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46919 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46920 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46921 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46922 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46923 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46924 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46925 * string/memrchr.c (MEMRCHR): New macro.
46927 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46929 Add integration with gcc's -ffinite-math-only and optimize wrapper
46931 * Versions.def: Define GLIBC_2.15 version for libm.
46932 * math/Makefile (headers): Add bits/math-finite.h.
46933 * math/bits/math-finite.h: New file.
46934 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46935 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46936 * math/e_acoshl.c: Add __*_finite alias.
46937 * math/e_acosl.c: Likewise.
46938 * math/e_asinl.c: Likewise.
46939 * math/e_atan2l.c: Likewise.
46940 * math/e_atanhl.c: Likewise.
46941 * math/e_coshl.c: Likewise.
46942 * math/e_exp10.c: Likewise.
46943 * math/e_exp10f.c: Likewise.
46944 * math/e_exp10l.c: Likewise.
46945 * math/e_exp2l.c: Likewise.
46946 * math/e_fmodl.c: Likewise.
46947 * math/e_gammal_r.c: Likewise.
46948 * math/e_hypotl.c: Likewise.
46949 * math/e_j0l.c: Likewise.
46950 * math/e_j1l.c: Likewise.
46951 * math/e_jnl.c: Likewise.
46952 * math/e_lgammal_r.c: Likewise.
46953 * math/e_log10l.c: Likewise.
46954 * math/e_log2l.c: Likewise.
46955 * math/e_logl.c: Likewise.
46956 * math/e_powl.c: Likewise.
46957 * math/e_sinhl.c: Likewise.
46958 * math/e_sqrtl.c: Likewise.
46959 * math/e_scalb.c: Completely rewritten and optimized.
46960 * math/e_scalbf.c: Likewise.
46961 * math/e_scalbl.c: Likewise.
46962 * math/w_acos.c: Likewise.
46963 * math/w_acosf.c: Likewise.
46964 * math/w_acosl.c: Likewise.
46965 * math/w_acosh.c: Likewise.
46966 * math/w_acoshf.c: Likewise.
46967 * math/w_acoshl.c: Likewise.
46968 * math/w_asin.c: Likewise.
46969 * math/w_asinf.c: Likewise.
46970 * math/w_asinl.c: Likewise.
46971 * math/w_atan2.c: Likewise.
46972 * math/w_atan2f.c: Likewise.
46973 * math/w_atan2l.c: Likewise.
46974 * math/w_atanh.c: Likewise.
46975 * math/w_atanhf.c: Likewise.
46976 * math/w_atanhl.c: Likewise.
46977 * math/w_exp10.c: Likewise.
46978 * math/w_exp10f.c: Likewise.
46979 * math/w_exp10l.c: Likewise.
46980 * math/w_fmod.c: Likewise.
46981 * math/w_fmodf.c: Likewise.
46982 * math/w_fmodl.c: Likewise.
46983 * math/w_j0.c: Likewise.
46984 * math/w_j0f.c: Likewise.
46985 * math/w_j0l.c: Likewise.
46986 * math/w_j1.c: Likewise.
46987 * math/w_j1f.c: Likewise.
46988 * math/w_j1l.c: Likewise.
46989 * math/w_jn.c: Likewise.
46990 * math/w_jnf.c: Likewise.
46991 * math/w_log.c: Likewise.
46992 * math/w_logf.c: Likewise.
46993 * math/w_logl.c: Likewise.
46994 * math/w_log10.c: Likewise.
46995 * math/w_log10f.c: Likewise.
46996 * math/w_log10l.c: Likewise.
46997 * math/w_log2.c: Likewise.
46998 * math/w_log2f.c: Likewise.
46999 * math/w_log2l.c: Likewise.
47000 * math/w_pow.c: Likewise.
47001 * math/w_powf.c: Likewise.
47002 * math/w_powl.c: Likewise.
47003 * math/w_remainder.c: Likewise.
47004 * math/w_remainderf.c: Likewise.
47005 * math/w_remainderl.c: Likewise.
47006 * math/w_scalb.c: Likewise.
47007 * math/w_scalbf.c: Likewise.
47008 * math/w_scalbl.c: Likewise.
47009 * math/w_sqrt.c: Likewise.
47010 * math/w_sqrtf.c: Likewise.
47011 * math/w_sqrtl.c: Likewise.
47012 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47013 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47015 * math/math_private.h: Declare __kernel_standard_f.
47016 * math/w_cosh.c: Remove cruft and optimize a bit.
47017 * math/w_coshf.c: Likewise.
47018 * math/w_coshl.c: Likewise.
47019 * math/w_exp2.c: Likewise.
47020 * math/w_exp2f.c: Likewise.
47021 * math/w_exp2l.c: Likewise.
47022 * math/w_hypot.c: Likewise.
47023 * math/w_hypotf.c: Likewise.
47024 * math/w_hypotl.c: Likewise.
47025 * math/w_lgamma.c: Likewise.
47026 * math/w_lgamma_r.c: Likewise.
47027 * math/w_lgammaf.c: Likewise.
47028 * math/w_lgammaf_r.c: Likewise.
47029 * math/w_lgammal.c: Likewise.
47030 * math/w_lgammal_r.c: Likewise.
47031 * math/w_sinh.c: Likewise.
47032 * math/w_sinhf.c: Likewise.
47033 * math/w_sinhl.c: Likewise.
47034 * math/w_tgamma.c: Likewise.
47035 * math/w_tgammaf.c: Likewise.
47036 * math/w_tgammal.c: Likewise.
47037 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47038 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47039 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47040 Minor optimizations. Pretty printing. Remove cruft.
47041 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47042 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47043 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47044 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47045 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47046 * sysdeps/i386/fpu/e_asin.S: Likewise.
47047 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47048 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47049 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47050 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47051 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47054 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47055 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47056 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47057 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47058 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47059 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47060 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47061 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47062 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47063 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47064 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47065 * sysdeps/i386/fpu/e_log.S: Likewise.
47066 * sysdeps/i386/fpu/e_log10.S: Likewise.
47067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47069 * sysdeps/i386/fpu/e_log2.S: Likewise.
47070 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47071 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47072 * sysdeps/i386/fpu/e_logf.S: Likewise.
47073 * sysdeps/i386/fpu/e_logl.S: Likewise.
47074 * sysdeps/i386/fpu/e_pow.S: Likewise.
47075 * sysdeps/i386/fpu/e_powf.S: Likewise.
47076 * sysdeps/i386/fpu/e_powl.S: Likewise.
47077 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47078 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47079 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47080 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47081 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47082 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47083 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47084 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47085 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47089 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47091 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47092 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47093 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47097 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47099 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47100 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47107 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47110 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47111 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47113 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47114 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47124 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47125 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47126 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47128 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47129 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47131 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47132 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47133 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47134 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47136 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47137 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47139 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47140 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47141 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47142 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47143 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47144 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47145 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47146 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47169 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47171 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47174 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47175 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47176 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47181 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47182 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47183 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47184 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47185 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47186 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47187 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47188 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47189 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47192 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47193 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47194 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47196 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47197 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47198 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47199 (__isnanf): Likewise.
47200 (__isinf_ns): Likewise.
47201 (__isinf_nsf): Likewise.
47202 (__finite): Likewise.
47203 (__finitef): Likewise.
47204 (__ieee754_sqrt): Define as macro.
47205 (__ieee754_sqrtf): Define as macro.
47206 (__ieee754_sqrtl): Define as macro.
47207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47209 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47210 __FINITE_MATH_ONLY__ consistent.
47211 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47213 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47215 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47220 2011-10-09 Ulrich Drepper <drepper@gmail.com>
47222 * po/ja.po: Update from translation team.
47224 2011-10-08 Roland McGrath <roland@hack.frob.com>
47226 * locale/programs/locarchive.c (prepare_address_space): New function.
47227 (create_archive, enlarge_archive, open_archive): Use it.
47229 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47230 inside [SHARED], where it is used.
47232 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47234 * nss/getent.c (netgroup_keys): Remove unused variable.
47235 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47237 2011-10-08 Ulrich Drepper <drepper@gmail.com>
47239 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47243 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47245 * math/Makefile (libm-calls): Add s_isinf_ns.
47246 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47247 * math/multc3.c: Likewise.
47248 * math/s_casin.c: Likewise.
47249 * math/s_casinf.c: Likewise.
47250 * math/s_casinl.c: Likewise.
47251 * math/s_ccos.c: Likewise.
47252 * math/s_ccosf.c: Likewise.
47253 * math/s_ccosl.c: Likewise.
47254 * math/s_ctan.c: Likewise.
47255 * math/s_ctanf.c: Likewise.
47256 * math/s_ctanh.c: Likewise.
47257 * math/s_ctanhf.c: Likewise.
47258 * math/s_ctanhl.c: Likewise.
47259 * math/s_ctanl.c: Likewise.
47260 * math/w_fmod.c: Likewise.
47261 * math/w_fmodf.c: Likewise.
47262 * math/w_fmodl.c: Likewise.
47263 * math/w_remainder.c: Likewise.
47264 * math/w_remainderf.c: Likewise.
47265 * math/w_remainderl.c: Likewise.
47266 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47267 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47268 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47270 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47271 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47272 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47273 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47275 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47277 * stdio-common/printf_fphex.c: Likewise.
47278 * stdio-common/printf_size.c: Likewise.
47280 * math/e_exp10.c: Include math_private.h using <...> not "...".
47281 * math/e_exp10f.c: Likewise.
47282 * math/e_exp10l.c: Likewise.
47283 * math/e_exp2l.c: Likewise.
47284 * math/e_j0l.c: Likewise.
47285 * math/e_j1l.c: Likewise.
47286 * math/e_jnl.c: Likewise.
47287 * math/e_lgammal_r.c: Likewise.
47288 * math/e_rem_pio2l.c: Likewise.
47289 * math/e_scalb.c: Likewise.
47290 * math/e_scalbf.c: Likewise.
47291 * math/e_scalbl.c: Likewise.
47292 * math/k_cosl.c: Likewise.
47293 * math/k_sinl.c: Likewise.
47294 * math/k_tanl.c: Likewise.
47295 * math/s_cacoshf.c: Likewise.
47296 * math/s_catan.c: Likewise.
47297 * math/s_catanf.c: Likewise.
47298 * math/s_catanh.c: Likewise.
47299 * math/s_catanhf.c: Likewise.
47300 * math/s_catanhl.c: Likewise.
47301 * math/s_catanl.c: Likewise.
47302 * math/s_ccosh.c: Likewise.
47303 * math/s_ccoshf.c: Likewise.
47304 * math/s_ccoshl.c: Likewise.
47305 * math/s_cexp.c: Likewise.
47306 * math/s_cexpf.c: Likewise.
47307 * math/s_cexpl.c: Likewise.
47308 * math/s_clog.c: Likewise.
47309 * math/s_clog10.c: Likewise.
47310 * math/s_clog10f.c: Likewise.
47311 * math/s_clog10l.c: Likewise.
47312 * math/s_clogf.c: Likewise.
47313 * math/s_clogl.c: Likewise.
47314 * math/s_csin.c: Likewise.
47315 * math/s_csinf.c: Likewise.
47316 * math/s_csinh.c: Likewise.
47317 * math/s_csinhf.c: Likewise.
47318 * math/s_csinhl.c: Likewise.
47319 * math/s_csinl.c: Likewise.
47320 * math/s_csqrt.c: Likewise.
47321 * math/s_csqrtf.c: Likewise.
47322 * math/s_csqrtl.c: Likewise.
47323 * math/s_ctan.c: Likewise.
47324 * math/s_ctanf.c: Likewise.
47325 * math/s_ctanh.c: Likewise.
47326 * math/s_ctanhf.c: Likewise.
47327 * math/s_ctanhl.c: Likewise.
47328 * math/s_ctanl.c: Likewise.
47329 * math/s_ldexp.c: Likewise.
47330 * math/s_ldexpf.c: Likewise.
47331 * math/s_ldexpl.c: Likewise.
47332 * math/s_significand.c: Likewise.
47333 * math/s_significandf.c: Likewise.
47334 * math/s_significandl.c: Likewise.
47335 * math/w_acos.c: Likewise.
47336 * math/w_acosf.c: Likewise.
47337 * math/w_acosh.c: Likewise.
47338 * math/w_acoshf.c: Likewise.
47339 * math/w_acoshl.c: Likewise.
47340 * math/w_acosl.c: Likewise.
47341 * math/w_asin.c: Likewise.
47342 * math/w_asinf.c: Likewise.
47343 * math/w_asinl.c: Likewise.
47344 * math/w_atan2.c: Likewise.
47345 * math/w_atan2f.c: Likewise.
47346 * math/w_atan2l.c: Likewise.
47347 * math/w_atanh.c: Likewise.
47348 * math/w_atanhf.c: Likewise.
47349 * math/w_atanhl.c: Likewise.
47350 * math/w_cosh.c: Likewise.
47351 * math/w_coshf.c: Likewise.
47352 * math/w_coshl.c: Likewise.
47353 * math/w_dremf.c: Likewise.
47354 * math/w_exp10.c: Likewise.
47355 * math/w_exp10f.c: Likewise.
47356 * math/w_exp10l.c: Likewise.
47357 * math/w_exp2.c: Likewise.
47358 * math/w_exp2f.c: Likewise.
47359 * math/w_fmod.c: Likewise.
47360 * math/w_fmodf.c: Likewise.
47361 * math/w_fmodl.c: Likewise.
47362 * math/w_hypot.c: Likewise.
47363 * math/w_hypotf.c: Likewise.
47364 * math/w_hypotl.c: Likewise.
47365 * math/w_j0.c: Likewise.
47366 * math/w_j0f.c: Likewise.
47367 * math/w_j0l.c: Likewise.
47368 * math/w_j1.c: Likewise.
47369 * math/w_j1f.c: Likewise.
47370 * math/w_j1l.c: Likewise.
47371 * math/w_jn.c: Likewise.
47372 * math/w_jnf.c: Likewise.
47373 * math/w_jnl.c: Likewise.
47374 * math/w_lgamma.c: Likewise.
47375 * math/w_lgamma_r.c: Likewise.
47376 * math/w_lgammaf.c: Likewise.
47377 * math/w_lgammaf_r.c: Likewise.
47378 * math/w_lgammal.c: Likewise.
47379 * math/w_lgammal_r.c: Likewise.
47380 * math/w_log.c: Likewise.
47381 * math/w_log10.c: Likewise.
47382 * math/w_log10f.c: Likewise.
47383 * math/w_log10l.c: Likewise.
47384 * math/w_log2.c: Likewise.
47385 * math/w_log2f.c: Likewise.
47386 * math/w_log2l.c: Likewise.
47387 * math/w_logf.c: Likewise.
47388 * math/w_logl.c: Likewise.
47389 * math/w_pow.c: Likewise.
47390 * math/w_powf.c: Likewise.
47391 * math/w_powl.c: Likewise.
47392 * math/w_remainder.c: Likewise.
47393 * math/w_remainderf.c: Likewise.
47394 * math/w_remainderl.c: Likewise.
47395 * math/w_scalb.c: Likewise.
47396 * math/w_scalbf.c: Likewise.
47397 * math/w_scalbl.c: Likewise.
47398 * math/w_sinh.c: Likewise.
47399 * math/w_sinhf.c: Likewise.
47400 * math/w_sinhl.c: Likewise.
47401 * math/w_sqrt.c: Likewise.
47402 * math/w_sqrtf.c: Likewise.
47403 * math/w_sqrtl.c: Likewise.
47404 * math/w_tgamma.c: Likewise.
47405 * math/w_tgammaf.c: Likewise.
47406 * math/w_tgammal.c: Likewise.
47408 * po/ja.po: Update from translation team.
47410 2011-09-29 Andreas Jaeger <aj@suse.de>
47413 * sunrpc/netname.c (netname2host): Fix logic.
47417 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47419 * math/w_remainder.c (__remainder): Likewise.
47420 * math/w_remainderf.c (__remainderf): Likewise.
47421 * math/libm-test.inc (remainder_test): Add test cases.
47423 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47425 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47428 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47430 * string/test-memcmp.c: Avoid unncessary #defines.
47431 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47433 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47435 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47436 Use new sse2 version for core i3 - i7 as it's faster
47437 than sse42 version.
47438 (bit_Prefer_PMINUB_for_stringop): New.
47439 * sysdeps/x86_64/rawmemchr.S: Update.
47440 Replace with faster SSE2 version.
47441 * sysdeps/x86_64/memrchr.S: New file.
47442 * sysdeps/x86_64/memchr.S: Update.
47443 Replace with faster SSE2 version.
47445 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47447 * elf/dl-load.c (lose): Add cast to avoid warning.
47449 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47451 * po/ca.po: Update from translation team.
47453 * inet/getnetgrent_r.c: Hook up nscd.
47454 * nscd/Makefile (routines): Add nscd_netgroup.
47455 (nscd-modules): Add netgroupcache.
47456 (CFLAGS-netgroupcache.c): Define.
47457 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47458 (cache_search): Add const to second parameter.
47459 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47461 (dbs): Add netgrdb entry.
47462 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47463 (verify_persistent_db): Handle netgrdb.
47464 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47465 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47467 (netgroup_response_header): Define.
47468 (innetgroup_response_header): Define.
47469 (datahead): Add netgroup_response_header and innetgroup_response_header
47471 * nscd/nscd.conf: Add entries for netgroup cache.
47472 * nscd/nscd.h (dbtype): Add netgrdb.
47473 (_PATH_NSCD_NETGROUP_DB): Define.
47474 (netgroup_iov_disabled): Declare.
47475 (xmalloc, xcalloc, xrealloc): Move declarations here.
47476 (cache_search): Adjust prototype.
47477 Add netgroup-related prototypes.
47478 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47479 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47480 (__nscd_innetgr): Declare.
47481 * nscd/selinux.c (perms): Use access_vector_t as element type and
47482 add netgroup-related initializers.
47483 * nscd/netgroupcache.c: New file.
47484 * nscd/nscd_netgroup.c: New file.
47485 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47486 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47487 For four parameters use innetgr.
47488 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47489 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47490 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47491 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47493 * nscd/connections.c (register_traced_file): Don't register file
47494 for disabled databases.
47496 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47498 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47500 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47501 from tree and freeing node.
47503 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47505 * nss/nsswitch.c (__nss_database_lookup): Handle
47506 nss_parse_service_list out of memory case.
47508 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47510 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47511 out of memory case.
47513 2011-10-04 Andreas Schwab <schwab@redhat.com>
47515 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47516 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47518 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47519 elf_machine_rela, elf_machine_lazy_rel.
47520 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47521 (ELF_DYNAMIC_DO_REL): Likewise.
47522 (ELF_DYNAMIC_DO_RELA): Likewise.
47523 (ELF_DYNAMIC_RELOCATE): Likewise.
47524 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47525 to ELF_DYNAMIC_DO_REL.
47526 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47527 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47528 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47531 skip_ifunc, don't call ifunc function if non-zero.
47532 (elf_machine_rela): Likewise.
47533 (elf_machine_lazy_rel): Likewise.
47534 (elf_machine_lazy_rela): Likewise.
47535 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47536 (elf_machine_lazy_rel): Likewise.
47537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47539 (elf_machine_lazy_rel): Likewise.
47540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47542 (elf_machine_lazy_rel): Likewise.
47543 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47544 (elf_machine_lazy_rel): Likewise.
47545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47546 (elf_machine_lazy_rel): Likewise.
47547 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47548 (elf_machine_lazy_rel): Likewise.
47549 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47550 (elf_machine_lazy_rel): Likewise.
47551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47552 (elf_machine_lazy_rel): Likewise.
47553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47554 (elf_machine_lazy_rel): Likewise.
47556 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47558 * nss/nss_files/files-init.c (_nss_files_init): Use static
47559 initialization for all the *_traced_file variables.
47561 2011-09-28 Andreas Schwab <schwab@redhat.com>
47563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47565 2011-09-27 Roland McGrath <roland@hack.frob.com>
47568 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47570 2011-09-27 Andreas Schwab <schwab@redhat.com>
47572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47573 Reread the line before reparsing it.
47575 2011-09-26 Andreas Schwab <schwab@redhat.com>
47577 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47579 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47580 Maxim Kuvyrkov <maxim@codesourcery.com>
47581 Joseph Myers <joseph@codesourcery.com>
47583 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47584 if needed for __stack_chk_guard.
47586 2011-09-19 Roland McGrath <roland@hack.frob.com>
47588 * sysdeps/posix/spawni.c (script_execute): Always define it.
47589 It will be optimized away if unused.
47590 (maybe_script_execute): New function.
47591 (__spawni): Call it.
47593 * Makerules: Don't include tls.make.
47594 (config-tls): Always set to thread.
47595 * tls.make.c: File removed.
47597 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47599 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47600 * config.make.in (CPPFLAGS-config): New substituted variable.
47602 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47607 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47608 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47610 2011-09-15 Roland McGrath <roland@hack.frob.com>
47612 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47613 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47615 (CALL_FAIL): Likewise.
47616 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47617 (CALL_FAIL): Macro removed.
47618 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47620 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47623 for __FINITE_MATH_ONLY__ == 1.
47625 2011-09-15 Andreas Schwab <schwab@redhat.com>
47627 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47628 __ieee754_sqrt instead of sqrt.
47629 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47630 __ieee754_sqrtf instead of sqrtf.
47631 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47632 __floorf instead of floorf.
47633 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47634 __floorf, __truncf instead of floorf, truncf.
47636 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47638 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47640 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47641 __extern_always_inline.
47642 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47645 2011-09-14 Andreas Schwab <schwab@redhat.com>
47647 * elf/rtld.c (dl_main): Also relocate in dependency order when
47648 doing symbol dependency testing.
47650 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47653 Always define `refsym'.
47655 2011-09-13 Andreas Schwab <schwab@redhat.com>
47657 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47658 (__FD_ELT): Renamed from __FDELT.
47659 * misc/bits/select2.h (__FD_ELT): Likewise.
47660 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47661 __FD_MASK instead of __FDELT, __FDMASK.
47662 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47664 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47667 * elf/Makefile (gen-ldd): Fix pattern.
47669 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47670 (init_tls): Likewise.
47672 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47676 2011-09-12 Andreas Schwab <schwab@redhat.com>
47678 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47679 `struct cmsghdr *' instead of `void *'.
47680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47683 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47685 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47687 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47688 ldd_rewrite_script.
47690 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47692 * configure.in: Remove --with-tls option.
47693 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47694 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47695 out in case it is missing.
47696 * sysdeps/ia64/elf/configure.in: Likewise.
47697 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47698 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47699 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47700 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47701 * sysdeps/sh/elf/configure.in: Likewise.
47702 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47703 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47704 * sysdeps/x86_64/elf/configure.in: Likewise.
47705 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47706 * sysdeps/mach/hurd/tls.h: Likewise.
47709 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47712 * configure.in: Fix use of AC_INIT.
47714 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47716 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47718 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47720 * malloc/hooks.c: Likewise.
47723 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47724 variables statically.
47725 (narenas): Initialize.
47726 (list_lock): Initialize.
47727 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47728 initializtion of main_arena and list_lock. Small cleanups.
47729 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47730 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47731 Add initializers to main_arena and mp_.
47732 (malloc_state): Remove pagesize member. Change all users to use
47735 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47736 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47737 is always initialized.
47739 * malloc/malloc.c: Removed unused configurations and dead code.
47740 * malloc/arena.c: Likewise.
47741 * malloc/hooks.c: Likewise.
47742 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47744 * include/tls.h: Removed. USE___THREAD must always be defined.
47745 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47746 * elf/dl-libc.c: Likewise.
47747 * elf/dl-tsd.c: Likewise.
47748 * include/errno.h: Likewise.
47749 * include/netdb.h: Likewise.
47750 * include/resolv.h: Likewise.
47751 * inet/herrno-loc.c: Likewise.
47752 * inet/herrno.c: Likewise.
47753 * malloc/arena.c: Likewise.
47754 * malloc/hooks.c: Likewise.
47755 * malloc/malloc.c: Likewise.
47756 * resolv/res-state.c: Likewise.
47757 * resolv/res_libc.c: Likewise.
47758 * sysdeps/i386/dl-machine.h: Likewise.
47759 * sysdeps/ia64/dl-machine.h: Likewise.
47760 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47761 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47762 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47763 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47764 * sysdeps/sh/dl-machine.h: Likewise.
47765 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47766 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47767 * sysdeps/unix/i386/sysdep.S: Likewise.
47768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47769 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47774 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47779 * sysdeps/x86_64/dl-machine.h: Likewise.
47780 * tls.make.c: Likewise.
47782 * configure.in: Remove --with-__thread option. Make tests for
47783 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47784 tls_model attribute fail if no support is available. Remove
47786 * Makeconfig: Adjust for dropped configure option. All features are
47788 * Makerules: Likewise.
47789 * Versions.def: Likewise.
47790 * argp/argp-fmtstream.c: Likewise.
47791 * argp/argp-fmtstream.h: Likewise.
47792 * argp/argp-help.c: Likewise.
47793 * assert/assert.c: Likewise.
47794 * config.h.in: Likewise.
47795 * config.make.in: Likewise.
47796 * configure: Likewise.
47797 * configure.in: Likewise.
47798 * csu/Versions: Likewise.
47799 * csu/init.c: Likewise.
47800 * elf/tst-audit2.c: Likewise.
47801 * elf/tst-tls10.c: Likewise.
47802 * elf/tst-tls10.h: Likewise.
47803 * elf/tst-tls11.c: Likewise.
47804 * elf/tst-tls12.c: Likewise.
47805 * elf/tst-tls14.c: Likewise.
47806 * elf/tst-tlsmod11.c: Likewise.
47807 * elf/tst-tlsmod12.c: Likewise.
47808 * elf/tst-tlsmod13.c: Likewise.
47809 * elf/tst-tlsmod13a.c: Likewise.
47810 * elf/tst-tlsmod14a.c: Likewise.
47811 * elf/tst-tlsmod15b.c: Likewise.
47812 * elf/tst-tlsmod16a.c: Likewise.
47813 * elf/tst-tlsmod16b.c: Likewise.
47814 * elf/tst-tlsmod7.c: Likewise.
47815 * elf/tst-tlsmod8.c: Likewise.
47816 * elf/tst-tlsmod9.c: Likewise.
47817 * gmon/gmon.c: Likewise.
47818 * grp/fgetgrent_r.c: Likewise.
47819 * grp/putgrent.c: Likewise.
47820 * hurd/fopenport.c: Likewise.
47821 * include/libc-symbols.h: Likewise.
47822 * include/tls.h: Likewise.
47823 * intl/gettextP.h: Likewise.
47824 * intl/loadinfo.h: Likewise.
47825 * locale/global-locale.c: Likewise.
47826 * locale/localeinfo.h: Likewise.
47827 * mach/devstream.c: Likewise.
47828 * malloc/arena.c: Likewise.
47829 * malloc/set-freeres.c: Likewise.
47830 * misc/err.c: Likewise.
47831 * misc/getttyent.c: Likewise.
47832 * misc/mntent_r.c: Likewise.
47833 * posix/getopt.c: Likewise.
47834 * posix/wordexp.c: Likewise.
47835 * pwd/fgetpwent_r.c: Likewise.
47836 * resolv/Versions: Likewise.
47837 * resolv/res_hconf.c: Likewise.
47838 * shadow/fgetspent_r.c: Likewise.
47839 * shadow/putspent.c: Likewise.
47840 * stdio-common/printf_fphex.c: Likewise.
47841 * stdio-common/tmpfile.c: Likewise.
47842 * stdlib/abort.c: Likewise.
47843 * stdlib/fmtmsg.c: Likewise.
47844 * sunrpc/auth_unix.c: Likewise.
47845 * sunrpc/clnt_perr.c: Likewise.
47846 * sunrpc/clnt_tcp.c: Likewise.
47847 * sunrpc/clnt_udp.c: Likewise.
47848 * sunrpc/clnt_unix.c: Likewise.
47849 * sunrpc/openchild.c: Likewise.
47850 * sunrpc/svc_simple.c: Likewise.
47851 * sunrpc/svc_tcp.c: Likewise.
47852 * sunrpc/svc_udp.c: Likewise.
47853 * sunrpc/svc_unix.c: Likewise.
47854 * sunrpc/xdr.c: Likewise.
47855 * sunrpc/xdr_array.c: Likewise.
47856 * sunrpc/xdr_rec.c: Likewise.
47857 * sunrpc/xdr_ref.c: Likewise.
47858 * sunrpc/xdr_stdio.c: Likewise.
47860 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47862 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47864 2011-07-03 Andreas Jaeger <aj@suse.de>
47866 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47867 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47868 regenerate with gen-libm-tests.pl.
47870 2010-05-12 Petr Baudis <pasky@suse.cz>
47873 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47874 around j0() zero points by switching to j1().
47875 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47880 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47882 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47884 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47887 Patch in part by Pavel Roskin <proski@gnu.org>.
47890 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47892 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47893 Free memory block if necessary.
47896 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47897 be NULL. Don't lock in this case.
47899 2011-09-09 Roland McGrath <roland@hack.frob.com>
47901 * elf/elf.h (ELFOSABI_GNU): New macro.
47902 (ELFOSABI_LINUX): Define to that.
47904 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47906 * string/strncat.c (strncat): Undef the symbol in case it has been
47907 defined in bits/string.h.
47909 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47911 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47913 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47916 2011-08-17 Andreas Jaeger <aj@suse.de>
47918 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47920 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47921 Ian Lance Taylor <iant@google.com>
47923 * math/libm-test.inc (lround_test): New testcase.
47924 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47926 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47928 * Makefile: Remove support for automatic cvs check-ins.
47929 * Makerules: Likewise.
47930 * config.make.in: Likewise.
47931 * configure.in: Likewise.
47932 * intl/Makefile: Likewise.
47933 * locale/Makefile: Likewise.
47934 * po/Makefile: Likewise.
47935 * posix/Makefile: Likewise.
47936 * sysdeps/gnu/Makefile: Likewise.
47937 * sysdeps/mach/hurd/Makefile: Likewise.
47938 * sysdeps/sparc/sparc32/Makefile: Likewise.
47941 * posix/Makefile (bug-regex32-ENV): Define.
47942 Patch by John Stanley <jpsinthemix@verizon.net>.
47944 * misc/Makefile (headers): Add bits/select2.h.
47945 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47946 * misc/bits/select2.h: New file.
47947 * include/bits/select2.h: New file.
47948 * debug/Makefile (routines): Add fdelt_chk.
47949 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47950 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47952 * debug/fdelt_chk.c: New file.
47954 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47955 * wcsmbs/test-wmemcmp.c: Likewise.
47956 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47957 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47959 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47961 * string/Makefile (strop-tests): Add memcmp.
47962 * string/test-wmemcmp.c: New file.
47963 * string/test-memcmp.c: Add wmemcmp support.
47965 2011-09-08 Roland McGrath <roland@hack.frob.com>
47968 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47971 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47972 garbage value in a __mach_port_mod_refs call in the cases of the
47973 task-self and thread-self ports.
47975 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47977 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47979 2011-09-08 Andreas Schwab <schwab@redhat.com>
47981 * elf/dl-load.c (lose): Check for non-null L.
47983 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47985 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47987 * elf/dl-libc.c (dlerror_run): Pass back error code from
47991 * elf/dl-load.c (lose): Free l_origin if it is valid.
47993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47996 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47999 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48000 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48002 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48004 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48005 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48006 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48007 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48008 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48009 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48010 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48011 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48012 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48013 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48015 2011-08-15 Alan Modra <amodra@gmail.com>
48018 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48019 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48020 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48021 ppc_mcount to static-only-routines.
48022 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48024 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48025 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48027 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48029 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48030 for finite and infinity parameters.
48032 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48035 and add nop instructions for throughput optimization.
48036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48038 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48041 aligned copy for power7 with vector-scalar instructions.
48042 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48044 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48049 2011-09-07 Andreas Schwab <schwab@redhat.com>
48052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48055 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48058 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48059 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48063 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48066 Forgot to demangle the pointer.
48068 * sysdeps/i386/sysdep.h: Define atom_text_section.
48069 * sysdeps/x86_64/sysdep.h: Likewise.
48070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48071 section with atom_text_section.
48072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48073 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48074 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48076 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48079 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48080 already be defined. Change to take two parameters and don't assign
48081 result to variable. Adjust all users.
48082 Define INTERNAL_GETTIME if not already defined.
48083 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48086 HAVE_CLOCK_GETTIME_VSYSCALL.
48087 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48090 gettimeofday vsyscall, just use time.
48092 2011-09-06 Andreas Schwab <schwab@redhat.com>
48094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48097 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48099 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48103 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48105 syscall if possible.
48107 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48109 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48110 e_ident. Don't pass to find_mapsXX.
48111 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48113 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48116 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48117 * sysdeps/x86_64/multiarch/strchr.S: Update.
48118 Check bit_slow_BSF bit.
48119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48120 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48123 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48126 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48128 (tryshell): Define.
48129 (__spawni): Change last parameter to be flag. Test
48130 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48131 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48132 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48133 * posix/spawni.c: Likewise.
48134 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48135 * posix/spawnp.c: Likewise. Change normal version to use
48136 SPAWN_XFLAGS_USE_PATH.
48137 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48138 SPAWN_XFLAGS_TRY_SHELL.
48141 * posix/glob.h: Remove gcc 1.x support.
48144 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48146 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48149 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48151 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48152 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48153 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48154 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48158 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48160 * sysdeps/x86_64/wcscmp.S: New file.
48162 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48163 wcscmp-c wcscmp-sse2
48164 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48165 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48166 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48167 * wcsmbs/wcscmp.c: Allow renaming.
48169 2011-09-05 David S. Miller <davem@davemloft.net>
48171 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48172 stack slot, rather than the struct return pointer slot.
48173 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48174 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48176 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48178 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48180 * po/ja.po: Update from translation team.
48183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48184 kernel in 64-bit binaries.
48186 2011-09-01 David S. Miller <davem@davemloft.net>
48188 * elf/elf.h (HWCAP_SPARC_*): Move to..
48189 * sysdeps/sparc/sysdep.h: this new file and add new values.
48190 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48191 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48192 _DL_HWCAP_COUNT to 24.
48193 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48195 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48196 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48197 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48199 instead of magic constants.
48200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48202 2011-08-31 David S. Miller <davem@davemloft.net>
48204 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48206 Reimplement to do errno handling inline.
48207 (SYSCALL_ERROR_HANDLER): New macro.
48208 (__SYSCALL_STRING): Do not do errno handling in asm.
48209 (__CLONE_SYSCALL_STRING): Delete.
48210 (__INTERNAL_SYSCALL_STRING): Delete.
48211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48212 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48213 (PSEUDO): Reimplement to do errno handling inline.
48214 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48215 (SYSCALL_ERROR_HANDLER): New macro.
48216 (__SYSCALL_STRING): Do not do errno handling in asm.
48217 (__CLONE_SYSCALL_STRING): Delete.
48218 (__INTERNAL_SYSCALL_STRING): Delete.
48219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48220 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48222 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48223 (inline_syscall*): Add 'err' argument.
48224 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48225 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48226 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48227 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48229 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48230 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48232 2011-08-30 Andreas Schwab <schwab@redhat.com>
48234 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48236 2011-08-29 Jiri Olsa <jolsa@redhat.com>
48238 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48241 2011-08-24 David S. Miller <davem@davemloft.net>
48243 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48245 2011-08-24 Andreas Schwab <schwab@redhat.com>
48247 * elf/Makefile: Add rules to build and run unload8 test.
48248 * elf/unload8.c: New file.
48249 * elf/unload8mod1.c: New file.
48250 * elf/unload8mod1x.c: New file.
48251 * elf/unload8mod2.c: New file.
48252 * elf/unload8mod3.c: New file.
48254 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48257 2011-08-23 David S. Miller <davem@davemloft.net>
48259 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48260 subtract stack bias.
48261 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48262 %sp not %fp in calculations.
48263 (_JMPBUF_UNWINDS_ADJ): Likewise.
48265 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48266 (aio_suspend): Call it to force an exception region around the
48267 AIO_MISC_WAIT() invocation.
48269 2011-08-23 Andreas Schwab <schwab@redhat.com>
48271 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48274 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48276 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48278 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48279 and <dl-machine.h>.
48280 (Elf64_FuncDesc): Remove.
48282 2011-08-22 David S. Miller <davem@davemloft.net>
48284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48285 sigaltstack check, add missing cfi directives.
48286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48287 missing cfi directives, and sigaltstack handling.
48289 2011-08-16 Andreas Schwab <schwab@redhat.com>
48292 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48293 object is seen twice.
48294 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48296 * elf/Makefile (distribute): Add tst-initorder2.c.
48297 (tests): Add tst-initorder2.
48298 (modules-names): Add tst-initorder2a tst-initorder2b
48299 tst-initorder2c tst-initorder2d. Add rules to build them.
48300 ($(objpfx)tst-initorder2.out): New rule.
48301 * elf/tst-initorder2.c: New file.
48302 * elf/tst-initorder2.exp: New file.
48304 2011-08-22 Andreas Schwab <schwab@redhat.com>
48306 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48308 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48309 dependencies back to end of function.
48311 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48312 $(elfobjdir)/ld.so.
48314 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48317 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48319 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48320 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48321 of __vdso_gettimeofday.
48322 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48323 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48325 (_libc_vdso_platform_setup): Remove initialization of
48326 __vdso_gettimeofday and __vdso_time.
48328 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48330 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48331 and fgetc_unlocked.
48332 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48335 * elf/dl-open.c (add_to_global): Report additions to the global scope
48336 for LD_DEBUG=scopes.
48337 (dl_open_worker): Also print scope of newly loaded dependencies.
48338 (_dl_show_scope): Indicate if there is no scope.
48341 * stdio-common/Makefile (tests): Add bug24.
48342 * stdio-common/bug24.c: New file.
48344 2011-08-19 Andreas Jaeger <aj@suse.de>
48347 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48348 non-existant file when using close-on-exec mode.
48350 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48353 the very first instruction.
48355 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48356 the CFI state in the end.
48357 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48358 inclusion of dl-trampoline.h.
48359 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48361 2011-08-19 Andreas Schwab <schwab@redhat.com>
48363 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48364 expectations for long double.
48366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48367 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48369 2011-08-14 David S. Miller <davem@davemloft.net>
48371 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48372 artificual limit depends upon the system page size.
48374 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48376 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48377 * resolv/Makefile: Define CFLAGS-libresolv.
48379 2011-08-17 Andreas Schwab <schwab@redhat.com>
48381 * nss/makedb.c (compute_tables): Make variables used in nested
48384 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48386 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48387 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48388 if buffer was too small.
48390 * elf/pldd.c (main): Attach to all threads in the process.
48391 Rewrite /proc handling to use *at functions.
48393 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48395 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48396 specifies first scope to show.
48397 (dl_open_worker): Update callers. Move printing scope of new
48398 object to before the relocation.
48399 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48400 * sysdeps/generic/ldsodefs.h: Update declaration.
48402 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48403 string for the scope number.
48405 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48407 * nscd/servicescache.c (cache_addserv): Make sure written is always
48410 2011-08-14 Roland McGrath <roland@hack.frob.com>
48412 * sysdeps/i386/i486/bits/atomic.h
48413 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48414 statement expression, so as to suppress "set but not used" warning.
48415 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48417 * string/strncat.c (STRNCAT): Use prototype definition.
48419 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48420 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48422 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48423 (localedef-modules): Add localedef.
48424 (locale-modules): Add locale.
48426 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48427 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48428 to avoid a warning.
48430 2011-08-14 David S. Miller <davem@davemloft.net>
48432 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48433 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48435 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48437 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48438 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48439 * elf/rtld.c (dl_main): Set l_name of vDSO.
48440 Call _dl_show_scope when DL_DEBUG_SCOPES.
48441 (process_dl_debug): Recognize scopes flag and also set it for all.
48442 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48443 Declare _dl_show_scope.
48445 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48446 (do_dlopen): Pass caller_dlopen to dl_open.
48447 (__libc_dlopen_mode): Initialize caller_dlopen.
48449 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48450 of libc. Make tolower call locale-independent. Optimize a bit by
48451 using isdigit instead of isalnum.
48452 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48454 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48456 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48457 was a dependency or dynamically loaded.
48459 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48461 * intl/l10nflist.c: Allow architecture-specific pop function.
48462 * sysdeps/x86_64/l10nflist.c: New file.
48464 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48467 2011-08-10 Andreas Schwab <schwab@redhat.com>
48469 * include/dirent.h: Add libc_hidden_proto for scandirat and
48470 scandirat64. Don't declare __scandirat64.
48471 * dirent/scandirat.c: Add libc_hidden_def.
48472 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48473 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48475 2011-08-10 David S. Miller <davem@davemloft.net>
48477 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48483 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48485 * Versions.def [libc]: Add GLIBC_2.15.
48486 * dirent/Makefile (routines): Add scandirat and scandirat64.
48487 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48489 * dirent/dirent.h: Declare scandirat and scandirat64.
48490 * dirent/scandirat.c: New file.
48491 * dirent/scandirat64.c: New file.
48492 * sysdeps/wordsize-64/scandirat.c: New file.
48493 * sysdeps/wordsize-64/scandirat64.c: New file.
48494 * dirent/opendir.c: Define opendirat.
48495 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48497 * dirent/scandir64.c: Adjust for scandir.c change.
48498 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48499 __scandirat64, and __scandir_cancel_handler.
48500 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48501 additional parameter and use openat instead of open (outside of ld.so).
48502 Add new __opendir as wrapper around __opendirat.
48503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48504 here without requiring old scandirat implementation.
48506 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48508 * dirent/scandir.c (cancel_handler): Renamed to
48509 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48510 defined. Adjust users.
48511 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48514 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48516 * string/test-string.h (IMPL): Use __STRING to expand name and then
48519 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48522 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48524 * string/Makefile: Update.
48525 (strop-tests): Append strncat.
48526 * string/test-wcscmp.c: New file.
48527 New comprehensive test for wcscmp.
48528 * string/test-strcmp.c: Update.
48529 (WIDE): New define.
48531 2011-07-22 Andreas Schwab <schwab@redhat.com>
48533 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48536 2011-07-26 Andreas Schwab <schwab@redhat.com>
48538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48539 encoding to ACE if AI_IDN.
48541 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48544 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48546 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48549 Fix overflow bug in strncat.
48550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48552 * string/test-strncat.c: Update.
48553 Add new tests for checking overflow bugs.
48555 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48558 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48559 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48560 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48561 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48562 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48563 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48564 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48565 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48568 (USE_AS_STRCAT): Define.
48569 Add strcat and strncat support.
48570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48572 2011-07-25 Andreas Schwab <schwab@redhat.com>
48574 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48575 __n bigger than INT_MAX+1.
48576 (__strncmp_g): Likewise.
48578 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48580 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48581 * libio/stido.h: Likewise.
48583 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48588 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48595 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48600 (_dl_x86_64_save_sse): Likewise.
48602 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48606 (_dl_x86_64_save_sse): Likewise.
48608 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48610 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48612 2011-07-21 Andreas Schwab <schwab@redhat.com>
48614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48616 (_dl_x86_64_save_sse): Use correct AVX check.
48618 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48621 bug in strncpy/strncat.
48622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48624 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48626 * string/tester.c (test_strcat): Add tests for different alignments
48627 of source and destination.
48628 (test_strncat): Likewise.
48630 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48633 * posix/glob.c (glob): Check passed in values before using them in
48634 expressions to avoid some overflows.
48635 (glob_in_dir): Likewise.
48638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48639 check for AVX enablement so that we don't crash with old kernels and
48641 * elf/tst-audit4.c: Add same checks here.
48642 * elf/tst-audit6.c: Likewise.
48644 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48646 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48648 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48650 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48652 * po/cs.po: Update from translation team.
48653 * po/bg.po: Likewise.
48655 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48657 * misc/sys/cdefs.h: Add support for const attribute.
48658 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48659 to gnu_dev_{major,minor,makedev} functions.
48661 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48663 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48665 2011-07-20 Andreas Schwab <schwab@redhat.com>
48667 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48670 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48673 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48674 register in order to avoid conflicts with the soft frame pointer
48675 being held in r11 when necessary.
48676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48677 (INTERNAL_VSYSCALL_NCS): Likewise.
48679 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48681 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48682 * elf/dl-fini.c (_dl_fini): Adjust caller.
48683 * elf/dl-close.c (_dl_close_worker): Likewise.
48684 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48686 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48688 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48689 "aux_cache->nlibs < 0".
48691 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48692 in the reload-count case.
48694 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48697 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48698 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48699 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48700 * sysdeps/x86_64/multiarch/strcat.S: New file.
48701 * sysdeps/x86_64/multiarch/strncat.S: New file.
48702 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48703 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48704 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48705 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48707 (USE_AS_STRCAT): Define.
48708 Add strcat and strncat support.
48709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48710 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48711 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48712 * string/strncat.c: Update.
48713 (USE_AS_STRNCAT): Define.
48714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48715 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48717 * sysdeps/x86_64/multiarch/init-arch.h
48718 (bit_Prefer_PMINUB_for_stringop): New.
48719 (index_Prefer_PMINUB_for_stringop): Likewise.
48720 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48721 bit_Prefer_PMINUB_for_stringop.
48723 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48725 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48727 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48728 of casting of buffer.
48729 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48730 buffer32 and buffer64.
48731 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48732 writes instead of casting of buffer.
48733 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48735 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48738 2011-07-19 Andreas Schwab <schwab@redhat.com>
48740 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48742 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48744 * nscd/nscd.c (termination_handler): Don't do anything for a database
48745 if it has not yet been initialized.
48747 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48749 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48751 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48753 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48755 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48757 * po/nl.po: Update from translation team.
48758 * po/sv.po: Likewise.
48760 2011-07-16 Roland McGrath <roland@hack.frob.com>
48762 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48763 now disallowed by GCC.
48765 * configure.in (use-default-link): Default to yes if a test -shared
48766 link meets our qualifications.
48767 * configure: Regenerated.
48769 * config.make.in (output-format): New variable.
48770 * configure.in: Check for ld --print-output-format support.
48771 * configure: Regenerated.
48772 * Makerules ($(common-objpfx)format.lds)
48773 [$(output-format) != unknown]: Just use $(output-format),
48774 instead of the linker-script munging.
48776 2011-07-14 Roland McGrath <roland@hack.frob.com>
48778 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48779 of $(common-objpfx)shlib.lds.
48780 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48782 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48783 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48785 * configure.in (-z relro check): Adjust test code to add a large
48786 writable data section after it.
48787 * configure: Regenerated.
48789 2011-07-11 Roland McGrath <roland@hack.frob.com>
48791 * configure.in (-z relro check): Fix test code to make the variable
48793 * configure: Regenerated.
48795 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48797 * nscd/nscd.h (struct traced_file): Define.
48798 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48799 elements. Add traced_files.
48800 (inotify_fd): Declare.
48801 (register_traced_file): Declare.
48802 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48803 (inotify_fd): Export.
48804 (resolv_conf_descr): Remove.
48805 (nscd_init): Move inotify descriptor creation to main.
48806 Don't register files for notification here.
48807 (register_traced_file): New function.
48808 (invalidate_cache): Don't use reset_res to determine whether to call
48809 res_init, go through the list of registered files.
48810 (main_loop_poll): The inotify descriptors are now stored in the
48811 structures for the traced files.
48812 (main_loop_epoll): Likewise
48813 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48814 to __nss_disable_nscd.
48815 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48816 for a database anymore. Check the records for all the registered
48818 * nss/Makefile (libnss_files-routines): Add files-init.
48819 (libnss_db-routines): Add db-init.
48820 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48821 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48822 * nss/nss_db/db-init.c: New file.
48823 * nss/nss_files/files-init.c: New file.
48824 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48825 __nss_lookup_function.
48826 (__nss_lookup_function): Call nss_load_library.
48827 (nss_load_all_libraries): New function.
48828 (__nss_disable_nscd): Take parameter with callback function for files
48829 to register. Set is_nscd. Load all the DSOs for the NSS modules
48830 used for the cached services.
48831 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48832 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48833 options for features to all the files in nscd.
48835 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48837 2011-07-10 Roland McGrath <roland@hack.frob.com>
48839 * csu/elf-init.c (__libc_csu_init): Comment typo.
48841 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48843 * po/pl.po: Update from translation team.
48844 * po/ja.po: Likewise.
48845 * po/ru.po: Likewise.
48846 * po/ko.po: Likewise.
48847 * po/fr.po: Likewise.
48849 2011-07-09 Roland McGrath <roland@hack.frob.com>
48851 * configure.in (.ctors/.dtors header and trailer check):
48852 Use an empirical test on a built program.
48853 * configure: Regenerated.
48855 * configure.in (-z relro check): Use an empirical test on a built DSO.
48856 Detect, but do not require, on ia64.
48857 * configure: Regenerated.
48859 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48860 Update tests that use readelf to use $READELF instead.
48861 * configure: Regenerated.
48863 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48865 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48866 if the result is not used.
48868 2011-07-05 Andreas Jaeger <aj@suse.de>
48871 * stdlib/tst-strtod.c: Add testcase.
48873 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48875 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48876 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48877 The latter has a higher limit. Take additional parameter to pass to
48879 (__pathconf): Pass file to __statfs_link_max.
48880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48882 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48886 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48890 (__statfs_filesize_max): Likewise.
48891 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48893 2011-07-05 Andreas Jaeger <aj@suse.de>
48895 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48897 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48899 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48901 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48904 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48906 * Makefile (strop-tests): Add strncat.
48907 * string/test-strncat.c: New file.
48909 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48911 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48913 2011-06-21 Andreas Jaeger <aj@suse.de>
48915 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48916 Copy rule from iconvdata/Makefile.
48918 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48921 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48922 but no long options are defined, just return 'W'.
48924 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48927 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48929 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48931 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48933 (innetgr): Likewise.
48935 2011-07-05 Roland McGrath <roland@hack.frob.com>
48937 * config.make.in (install_root): Default to $(DESTDIR).
48939 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48943 2011-07-02 Roland McGrath <roland@hack.frob.com>
48945 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48947 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48948 containing directory rather than embedding absolute directory names.
48950 * scripts/check-local-headers.sh: Rewritten using awk.
48951 Match by word, not by line. Print error messages for matches.
48952 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48954 * Makerules [shlib-lds-flags empty]:
48955 ($(common-objpfx)libc_pic.opts): New target.
48956 ($(common-objpfx)libc_pic.os.clean): New target.
48957 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48959 * config.make.in (OBJCOPY): New variable.
48960 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48961 * configure: Regenerated.
48963 * config.make.in (use-default-link): New variable.
48964 * configure.in (use_default_link): Grok --with-default-link to set it.
48965 * configure: Regenerated.
48966 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48967 (shlib-lds, shlib-lds-flags): Define to empty.
48969 * Makerules (shlib-lds): New variable.
48970 (shlib-lds-flags): New variable.
48971 (build-shlib, build-moduile, build-module-asneeded): Use it.
48972 ($(common-objpfx)libc.so): Use $(shlib-lds).
48973 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48974 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48976 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48977 DT_FLAGS/DT_FLAGS_1 with zero flags.
48979 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48980 linker script munging.
48982 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48984 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48986 * crypt/sha512.c (sha512_process_block): Perform total addition using
48987 128-bit if possible.
48988 (__sha512_finish_ctx): Likewise.
48989 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48991 * crypt/sha256.c (SWAP64): Define.
48992 (sha256_process_block): Perform total addition using 64-bit if
48994 (__sha256_finish_ctx): Likewise.
48996 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48998 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49000 * nscd/hstcache.c (cache_addhst): Likewise.
49001 * nscd/grpcache.c (cache_addgr): Likewise.
49002 * nscd/aicache.c (addhstaiX): Likewise
49003 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49005 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
49007 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49009 * nscd/hstcache.c (cache_addhst): Likewise.
49010 * nscd/grpcache.c (cache_addgr): Likewise.
49011 * nscd/aicache.c (addhstaiX): Likewise
49013 2011-07-01 Andreas Schwab <schwab@redhat.com>
49015 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49016 domain only when needed.
49018 2011-06-30 Andreas Schwab <schwab@redhat.com>
49020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49021 is always restored.
49023 2011-06-29 Ulrich Drepper <drepper@gmail.com>
49025 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49026 are re-adding the entry.
49027 * nscd/servicescache.c (cache_addserv): Likewise.
49029 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49031 * sysdeps/generic/dl-irel.h: fix protection against multiple
49033 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49035 2011-06-28 Ulrich Drepper <drepper@gmail.com>
49038 * malloc/memusage.sh: Fix quoting in message.
49039 * debug/xtrace.sh: Likewise.
49041 * configure.in: Remove support for --experimental-malloc option, make
49043 * config.make.in: Likewise.
49044 * malloc/Makefile: Likewise.
49046 2011-06-27 Andreas Schwab <schwab@redhat.com>
49048 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49049 two-byte characters.
49051 2011-06-27 Roland McGrath <roland@hack.frob.com>
49053 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49054 AC_CACHE_CHECK invocation.
49055 * configure: Regenerated.
49057 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49059 2011-06-27 Ulrich Drepper <drepper@gmail.com>
49062 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49063 bit from old_res_options.
49065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49067 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49068 value type for setfct.
49070 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49073 __gettimeofday instead of gettimeofday.
49075 2011-06-26 Ulrich Drepper <drepper@gmail.com>
49077 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49079 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49081 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49086 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49089 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49090 strcpy-sse2-unaligned strncpy-sse2-unaligned
49091 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49092 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49093 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49094 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49095 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49098 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49099 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49100 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49101 (STRCPY): Support SSE2 and SSSE3 versions.
49103 2011-06-24 Ulrich Drepper <drepper@gmail.com>
49106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49107 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49108 kernels which artificially limit size of requests.
49110 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49113 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49114 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49115 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49116 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49117 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49118 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49119 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49122 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49123 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49124 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49125 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49126 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49128 Enable unaligned load optimization for Intel Core i3, i5 and i7
49130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49132 (index_Fast_Unaligned_Load): Define.
49133 (HAS_FAST_UNALIGNED_LOAD): Define.
49135 2011-06-23 Marek Polacek <mpolacek@redhat.com>
49137 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49139 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49143 until it is clear that the information is realy needed.
49144 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49146 2011-06-22 Andreas Schwab <schwab@redhat.com>
49148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49150 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49152 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49153 /sys/devices/system/cpu/online if it is usable.
49155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49156 reading the information from the /proc filesystem to once a second.
49158 2011-06-21 Andreas Jaeger <aj@suse.de>
49160 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49161 NULL after inclusion of kernel headers.
49163 2011-06-21 Ulrich Drepper <drepper@gmail.com>
49165 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49166 calls to internal_setent.
49169 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49170 addresses using gethostbyname4_r ignore IPv4 addresses.
49172 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49173 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49175 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49177 2011-06-20 David S. Miller <davem@davemloft.net>
49179 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49181 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49183 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49184 (elf_irel): Use it.
49185 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49186 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49187 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49188 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49189 * sysdeps/x86_64/dl-irel.h: Likewise.
49191 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49192 * elf/dl-sym.c: Likewise.
49194 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49196 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49197 need to dereference resplen2.
49199 2011-06-14 Andreas Schwab <schwab@redhat.com>
49201 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49203 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49205 * Makeconfig: Define vardbdir and inst_vardbdir.
49206 * nss/Makefile: Add rules to install db-Makefile.
49208 * nss/nss_db/db-XXX.c: Cleanup.
49210 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49211 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49213 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49214 * nss/makedb.c: Implement -g option to specify that value strings
49215 are generated and should not be added to table iterated over for
49217 * nss/nss_db/db-initgroups.c: New file.
49219 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49222 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49223 (internal_getgrouplist): Adjust to name change.
49224 Update use_initgroups_entry if this is not the first call.
49225 * nss/databases.def: Add initgroups entry.
49227 * nss/makedb.c (compute_tables): Check result of multiple hash table
49228 sizes to minimize maximum chain length.
49230 2011-06-14 Ulrich Drepper <drepper@gmail.com>
49232 * Versions.def: Add entry for libnss_db.
49233 * shlib-versions: Likewise.
49234 * nss/Makefile: Add rules to build libnss_db.
49235 * nss/Versions: Add libnss_db information. Organize libnss_files
49237 * nss/db-Makefile: Add gshadow support. Change rules for the new
49238 makedb progra. Some minor improvements to generate smaller files.
49239 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49241 * nss/makedb.c: ...here.
49242 Improve database format to be smaller and require less memory at
49244 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49246 * nss/nss_db/db-netgrp.c: Likewise.
49247 * nss/nss_db/db-open.c: Likewise.
49248 * nss/nss_files/flies-XXX.x: Adjust comments.
49249 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49250 * nss/nss_files/files-grp.c: Likewise.
49251 * nss/nss_files/files-hosts.c: Likewise.
49252 * nss/nss_files/files-network.c: Likewise.
49253 * nss/nss_files/files-proto.c: Likewise.
49254 * nss/nss_files/files-pwd.c: Likewise.
49255 * nss/nss_files/files-rpc.c: Likewise.
49256 * nss/nss_files/files-service.c: Likewise.
49257 * nss/nss_files/files-sgrp.c: Likewise.
49258 * nss/nss_files/files-spwd.c: Likewise.
49259 * nss/nss_db/db-alias.c: Removed.
49260 * nss/nss_db/dummy-db.h: Removed.
49262 2011-06-02 Ulrich Drepper <drepper@gmail.com>
49264 * nss/makedb.c: Rewritten to not use database library.
49265 * nss/Makefile: Update to build new makedb program.
49267 2011-06-14 Andreas Jaeger <aj@suse.de>
49269 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49270 memset declaration.
49272 2011-06-10 Andreas Schwab <schwab@redhat.com>
49274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49277 2011-06-10 Roland McGrath <roland@hack.frob.com>
49279 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49280 * elf/Makefile ($(objpfx)ld.so): Likewise.
49282 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49283 Don't list ld.so twice in dependencies.
49285 * posix/bug-regex31.c: Include <stdlib.h>.
49287 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49289 * nis/nss_compat/compat-spwd.c
49290 (getspent_next_nss_netgr): Remove unused variable.
49291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49293 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49294 nonmembers" output to use the right array.
49296 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49298 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49300 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49301 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49302 * catgets/gencat.c (read_input_file): Likewise.
49303 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49305 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49306 variable definition inside #if's controlling its use.
49308 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49310 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49312 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49314 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49317 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49319 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49320 * configure: Regenerated.
49322 * Makerules: Revert last change.
49323 * elf/Makefile: Likewise.
49325 2011-06-09 Roland McGrath <roland@hack.frob.com>
49327 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49328 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49329 (reloc-link): Likewise.
49331 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49333 * elf/Makefile: Add rules to build pldd.
49334 * elf/pldd.c: New file.
49335 * elf/pldd-xx.c: New file.
49337 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49339 * version.h: Update for 2.15 development version.
49341 2011-06-07 David S. Miller <davem@davemloft.net>
49343 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49346 elf_machine_lazy_rel): Likewise.
49347 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49349 elf_machine_lazy_rel): Likewise.
49350 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49351 dl_hwcap via passed in argument.
49352 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49355 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49357 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49359 2011-06-06 Roland McGrath <roland@hack.frob.com>
49362 * manual/fdl-1.1.texi: New file, verbatim from:
49363 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49364 * manual/lgpl-2.1.texi: New file, verbatim from:
49365 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49366 * manual/Makefile (licenses): New variable, list those new file names.
49368 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49370 * manual/fdl.texi: File removed.
49371 * manual/lesser.texi: File removed.
49372 * manual/libc.texinfo (Copying, Documentation License):
49373 Use new @include file names, put @appendix directive before @include.
49375 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49378 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49379 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49380 (mq_open): Add __NTH.
49382 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49385 Assume Intel Core i3/i5/i7 processor if AVX is available.
49387 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49392 2011-05-31 Andreas Schwab <schwab@redhat.com>
49394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49395 memory. Use alloca_account. Fix memory leak when retrying.
49397 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49399 * version.h (RELEASE): Bump for 2.14 release.
49400 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49402 * config.make.in (RANLIB): Remove entry.
49404 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49406 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49407 (libc.pot): Work around missing support for .ksh extension in xgettext.
49410 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49411 if both request failed.
49412 (send_dg): In case of server errors clear resplen or *resplen2.
49415 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49416 when there are multiple maps.
49417 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49418 (_dl_fini): Remove test here.
49420 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49422 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49425 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49426 bit from old_res_options.
49427 (gaih_inet): Likewise.
49430 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49433 * resolv/res_init.c (res_setoptions): Make the code more compact.
49436 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49440 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49442 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49445 * malloc/malloc.h: Declare malloc hook variables as volatile.
49447 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49451 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49452 raise in the comment.
49453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49454 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49455 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49457 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49460 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49461 grow the buffers more if it already has to be sufficient.
49462 (build_wcs_upper_buffer): Likewise.
49463 * posix/regexec.c (check_matching): Likewise.
49464 (clean_state_log_if_needed): Likewise.
49465 (extend_buffers): Don't enlarge buffers beyond size of the input
49467 Patches mostly by Emil Wojak <emil@wojak.eu>.
49468 * posix/bug-regex32.c: New file.
49469 * posix/Makefile (tests): Add bug-regex32.
49471 * locale/findlocale.c (_nl_find_locale): Return right away if
49472 _nl_explode_name failed.
49473 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49475 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49477 * debug/xtrace.sh: Unify messages.
49478 * malloc/memusage.sh: Likewise.
49481 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49482 time symbol from vDSO. Substitute with vsyscall if not available.
49483 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49486 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49487 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49488 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49489 Add sendmmsg and internal_sendmmsg.
49490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49491 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49494 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49495 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49498 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49502 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49508 * iconvdata/Makefile (tests): Add bug-iconv9.
49509 * iconvdata/bug-iconv9.c: New file.
49511 2011-05-27 Andreas Schwab <schwab@redhat.com>
49514 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49516 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49519 (struct user_regs_struct): Change intcs field back to cs.
49521 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49523 * po/ja.po: Update from translation team.
49525 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49528 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49531 2011-05-20 Andreas Schwab <schwab@redhat.com>
49533 * stdlib/longlong.h: Update from GCC.
49535 2011-05-23 Andreas Schwab <schwab@redhat.com>
49537 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49539 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49540 Add parameter name.
49541 (__sysconf): Pass it down.
49543 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49546 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49549 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49550 add in in __libc_use_alloca calls. Adjust callers.
49551 (glob): Use malloc in some situations.
49553 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49554 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49557 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49559 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49560 and CLOCK_BOOTTIME_ALARM.
49563 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49566 * string/_strerror.c (__strerror_r): Print negative errors as signed
49570 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49571 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49572 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49574 * configure.in: Fix typo in redirection and correct removal of test
49575 files in two cases.
49578 * locale/setlocale.c (new_composite_name): Fix test to check for
49579 identical name of all categories.
49582 * libio/filedoalloc.c (local_isatty): New function.
49583 (_IO_file_doallocate): Use local_isatty.
49584 * stdio-common/perror.c (perror): In case a new stream is used
49585 forward the stream error.
49586 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49589 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49594 * include/alloca.h (extend_alloca_account): Define.
49597 * posix/regex.h: Fix comments with documentation of user-accessible
49598 fields after compilation and describe correct free'ing of pattern
49599 after re_compile_pattern.
49600 Patch by Reuben Thomas <rrt@sc3d.org>.
49602 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49604 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49605 and -mno-altivec to prevent the compiler from using Altivec and/or
49606 VSX instructions when the corresponding registers are not available.
49608 2011-05-19 Andreas Schwab <schwab@redhat.com>
49610 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49612 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49614 * libio/freopen.c (freopen): Use __dup2, not dup2.
49615 * libio/freopen64.c (freopen64): Likewise.
49617 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49620 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49621 * math/Makefile (tests): Add test-powl.
49622 (CFLAGS-test-powl.c): Define.
49623 * math/test-powl.c: New file.
49625 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49627 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49629 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49632 * iconvdata/gb18030.c: Update to GB18020-2005.
49634 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49636 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49637 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49638 Patch by Aharon Robbins <arnold@skeeve.com>.
49641 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49645 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49646 through underflows.
49649 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49650 point to strings before performing equality test for error_one_per_line
49654 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49658 (struct user_fpregs_struct): Avoid __uint*_t types.
49661 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49662 symbol info. Use it instead of calling _dl_addr locally.
49663 (lock_and_info): New function.
49664 (tr_freehook): Call lock_and_info and pass symbol info as additional
49665 parameter to tr_where.
49666 (tr_mallochook): Likewise.
49667 (tr_reallochook): Likewise.
49668 (tr_memalignhook): Likewise.
49670 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49671 used and couldn't be at all thread-safe.
49673 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49675 * libio/freopen.c (freopen): Don't close old file descriptor
49676 before the new one is opened. Instead dup the new file descriptor
49677 to the old one after the new stream is created.
49678 * libio/freopen64.c (freopen64): Likewise.
49679 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49680 * libio/fileops.c (_IO_new_file_close_it): Handle new
49681 _IO_FLAGS2_NOCLOSE flag.
49682 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49683 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49684 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49685 _IO_FLAGS2_NOCLOSE flag.
49686 * include/unistd.h: Add hidden_proto for dup3.
49687 Define __have_dup3.
49688 * io/dup3.c: Define hidden symbol.
49689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49692 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49693 when an incomplete long option is used.
49694 * posix/tst-getopt_long1.c: New file.
49695 * posix/Makefile (tests): Add tst-getopt_long1.
49698 * scripts/config.guess: Update from autoconf-2.68.
49699 * scripts/config.sub: Likewise.
49702 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49704 (has_cpuclock): ...this. New function.
49705 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49706 macro here based on has_cpuclock code.
49709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49710 First byte (not low byte) is now always NUL.
49711 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49714 Use non-cancelable interfaces.
49717 * locale/iso-639.def: Add entry for Sorani.
49720 * include/stdlib.h: Move include protection to the right place.
49721 Define abort_msg_s. Declare __abort_msg with it.
49722 * stdlib/abort.c (__abort_msg): Adjust type.
49723 * assert/assert.c (__assert_fail_base): New function. Majority
49724 of code from __assert_fail. Allocate memory for __abort_msg with
49726 (__assert_fail): Now call __assert_fail_base.
49727 * assert/assert-perr.c: Remove bulk of implementation. Use
49728 __assert_fail_base.
49729 * include/assert.hL Declare __assert_fail_base.
49730 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49732 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49734 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49738 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49739 until all modules are registered in the DTV.
49740 * elf/Makefile: Add rules to build and run tst-tls19.
49741 * elf/tst-tls19.c: New file.
49742 * elf/tst-tls19mod1.c: New file.
49743 * elf/tst-tls19mod2.c: New file.
49744 * elf/tst-tls19mod3.c: New file.
49745 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49748 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49752 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49753 two-byte sequence errors.
49754 * iconvdata/Makefile (tests): Add bug-iconv8.
49755 * iconvdata/bug-iconv8.c: New file.
49758 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49761 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49764 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49765 (dummy_getcfa): New function.
49766 (init): Get _Unwind_GetCFA address, use dummy if not found.
49767 (backtrace_helper): In recursion check, also check whether CFA changes.
49768 (__backtrace): Completely initialize arg.
49770 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49771 storing incomplete byte sequence in state object. Avoid testing for
49772 guaranteed too small input if we know there is enough data available.
49774 2011-05-11 Andreas Schwab <schwab@redhat.com>
49776 * Makeconfig (+link-pie): Indent.
49777 * Rules (binaries-pie): Define if $(have-fpie) and
49779 (binaries-shared): Also filter out $(binaries-pie).
49780 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49781 * nscd/Makefile (others-pie): Add nscd.
49782 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49783 ($(objpfx)nscd): Remove command override.
49784 * login/Makefile (others-pie): Add pt_chown.
49785 ($(objpfx)pt_chown): Remove command override.
49786 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49787 remove command overrides.
49789 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49791 * libio/tst_putwc.c: Fix error messages.
49794 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49795 currently writing and seek to current position when not.
49796 * libio/Makefile (tests): Add bug-fclose1.
49797 * libio/bug-fclose1.c: New file.
49799 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49802 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49803 don't set DF_1_NODELETE here.
49804 (do_lookup_x): When entering new entry test for copy relocation
49805 and if necessary set DF_1_NODELETE flag.
49806 * elf/tst-unique4.cc: New file.
49807 * elf/tst-unique4.h: New file.
49808 * elf/tst-unique4lib.cc: New file.
49809 * elf/Makefile: Add rules to build and run tst-unique4.
49810 Patch by Piotr Bury <pbury@goahead.com>.
49812 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49815 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49818 * misc/mntent_r.c (addmntent): Flush the stream after the output
49821 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49822 (is_trusted_path_normalize): Skip initial colon. Append slash
49823 to empty buffer. Duplicate is_trusted_path code but allow
49824 constructed patch to be prefix.
49825 (is_dst): Allow $ORIGIN followed by /.
49826 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49827 Correct testing of result of is_trusted_path_normalize
49828 (decompose_rpath): Fix warning.
49830 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49833 * grp/initgroups.c (internal_getgrouplist): When we found the service
49834 list through the initgroups entry in nsswitch.conf do not always
49835 continue on a successful lookup. Don't always use the
49836 __nss_group_database value if it is set.
49837 * nss/nsswitch.conf (initgroups): Change action for successful db
49838 lookup to continue for compatibility.
49840 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49843 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49845 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49847 * iconvdata/tst-tables.sh: Likewise.
49848 * iconvdata/cp770.c: New file.
49849 * iconvdata/cp771.c: New file.
49850 * iconvdata/cp772.c: New file.
49851 * iconvdata/cp773.c: New file.
49852 * iconvdata/cp774.c: New file.
49853 * iconvdata/testdata/CP770: New file.
49854 * iconvdata/testdata/CP770..UTF8: New file.
49855 * iconvdata/testdata/CP771: New file.
49856 * iconvdata/testdata/CP771..UTF8: New file.
49857 * iconvdata/testdata/CP772: New file.
49858 * iconvdata/testdata/CP772..UTF8: New file.
49859 * iconvdata/testdata/CP773: New file.
49860 * iconvdata/testdata/CP773..UTF8: New file.
49861 * iconvdata/testdata/CP774: New file.
49862 * iconvdata/testdata/CP774..UTF8: New file.
49864 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49866 * iconvdata/gen-8bit-gap.sh: Likewise.
49867 * iconvdata/gen-8bit.sh: Likewise.
49869 * locale/iso-639.def: Add ary entry.
49872 * locale/C-translit.h.in: Add U20A1 transliteration.
49875 * locale/iso-639.def: Add wae entry.
49876 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49879 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49883 * locale/C-translit.h.in: Add entry for U20B9.
49884 Patch by pravin.d.s@gmail.com.
49886 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49889 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49890 ENAMETOOLONG use generic getcwd.
49891 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49892 in rtld. Use *stat64.
49893 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49894 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49895 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49896 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49897 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49898 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49899 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49900 __fstatat64 macros.
49901 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49902 * dirent/rewinddir.c: Add libc_hidden_def.
49903 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49904 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49906 * include/dirent.h (__alloc_dir): Add flags parameter.
49907 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49908 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49910 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49911 from fdopendir if O_CLOEXEC is already set.
49913 2011-03-15 Alan Modra <amodra@gmail.com>
49915 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49916 l_tls_firstbyte_offset non-zero. Save padding offset in
49917 l_tls_firstbyte_offset for later use.
49918 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49919 freeing static tls block.
49921 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49923 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49924 where #ifdef was intended. The intent is to prevent ARG_MAX from
49925 being defined by the kernel headers.
49927 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49930 * resolv/resolv.h: Define RES_NOTLDQUERY.
49931 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49932 no-tld-query and set RES_NOTLDQUERY.
49933 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49934 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49935 modern BIND to search name as TLD unless forbidden.
49937 2011-05-07 Petr Baudis <pasky@suse.cz>
49938 Ulrich Drepper <drepper@gmail.com>
49941 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49942 (is_trusted_path): ...to here.
49943 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49944 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49945 using is_trusted_path_normalize() in setuid scripts.
49947 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49949 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49950 __BEGIN/__END_DECLS.
49952 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49955 NSS_STATUS_NOTFOUND if no record was found.
49957 2011-05-05 Andreas Schwab <schwab@redhat.com>
49959 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49960 (headers-not-in-tirpc): Remove rpc/netdb.h
49961 * resolv/netdb.h: Revert last change.
49963 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49965 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49966 circular dependency between libgcc.a and libc.a.
49968 2011-05-05 Andreas Schwab <schwab@redhat.com>
49970 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49971 * nis/Makefile: Don't install rpcsvc/*.
49972 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49973 instead of <rpc/types.h>.
49974 (MAXHOSTNAMELEN): Define.
49976 2011-05-03 Andreas Schwab <schwab@redhat.com>
49978 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49980 2011-04-28 Maciej Babinski <mbabinski@google.com>
49983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49984 gethostbyname4_r when IPv6 results are possible.
49986 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49989 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49990 _PC_PIPE_BUF handling.
49992 2011-04-30 Bruno Haible <bruno@clisp.org>
49995 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49996 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49998 * inet/getnameinfo.c (getnameinfo): Likewise.
50000 2011-04-29 Ulrich Drepper <drepper@gmail.com>
50002 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50003 to groups setting in database lookup.
50004 * nss/nsswitch.conf: Add initgroups entry.
50006 2011-04-22 Ulrich Drepper <drepper@gmail.com>
50009 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50011 Patch by Eric Blake <eblake@redhat.com>.
50013 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50015 * sunrpc/Makefile (need-export-routines): Add svc_run.
50016 (routines): Remove svc_run.
50017 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50018 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50019 * sunrpc/svc_run.c (svc_run): Likewise.
50020 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50022 2011-04-21 Ulrich Drepper <drepper@gmail.com>
50024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50025 problem in reallocation in last patch.
50027 2011-04-20 Ulrich Drepper <drepper@gmail.com>
50029 * sunrpc/Makefile: Move inclusion of Rules.
50031 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50033 * nss/nss_files/files-initgroups.c: New file.
50034 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50035 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50036 _nss_files_initgroups_dyn.
50038 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50040 * elf/elf.h (R_ARM_IRELATIVE): Define.
50042 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50044 * po/ru.po: Update from translation team.
50046 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50048 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50051 2011-02-06 Mike Frysinger <vapier@gentoo.org>
50054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50055 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50060 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50062 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50064 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50068 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50071 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50073 * stdlib/bug-getcontext.c: New file.
50074 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50076 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50078 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50079 instructions into .machine "z9-109".
50080 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50081 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50083 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50085 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50086 between environment variables and auxiliary vector.
50088 2011-04-16 Ulrich Drepper <drepper@gmail.com>
50090 * Makefile: Add rules to build linkobj/libc.so.
50091 * include/libc-symbols.h: Define libc_hidden_nolink.
50092 * include/rpc/auth.h: Mark functions which are to be hidden.
50093 * include/rpc/auth_des.h: Likewise.
50094 * include/rpc/auth_unix.h: Likewise.
50095 * include/rpc/clnt.h: Likewise.
50096 * include/rpc/des_crypt.h: Likewise.
50097 * include/rpc/key_prot.h: Likewise.
50098 * include/rpc/pmap_clnt.h: Likewise.
50099 * include/rpc/pmap_prot.h: Likewise.
50100 * include/rpc/pmap_rmt.h: Likewise.
50101 * include/rpc/rpc_msg.h: Likewise.
50102 * include/rpc/svc.h: Likewise.
50103 * include/rpc/svc_auth.h: Likewise.
50104 * include/rpc/xdr.h: Likewise.
50105 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50106 * nss/Makefile: Likewise.
50107 * sunrpc/Makefile: Don't install headers. Build library with normal
50108 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50109 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50110 for the compat linking library. Remove use of INTDEF/INTUSE.
50111 * sunrpc/auth_none.c: Likewise.
50112 * sunrpc/auth_unix.c: Likewise.
50113 * sunrpc/authdes_prot.c: Likewise.
50114 * sunrpc/authuxprot.c: Likewise.
50115 * sunrpc/clnt_gen.c: Likewise.
50116 * sunrpc/clnt_perr.c: Likewise.
50117 * sunrpc/clnt_raw.c: Likewise.
50118 * sunrpc/clnt_simp.c: Likewise.
50119 * sunrpc/clnt_tcp.c: Likewise.
50120 * sunrpc/clnt_udp.c: Likewise.
50121 * sunrpc/clnt_unix.c: Likewise.
50122 * sunrpc/des_crypt.c: Likewise.
50123 * sunrpc/des_soft.c: Likewise.
50124 * sunrpc/get_myaddr.c: Likewise.
50125 * sunrpc/key_call.c: Likewise.
50126 * sunrpc/key_prot.c: Likewise.
50127 * sunrpc/netname.c: Likewise.
50128 * sunrpc/pm_getmaps.c: Likewise.
50129 * sunrpc/pm_getport.c: Likewise.
50130 * sunrpc/pmap_clnt.c: Likewise.
50131 * sunrpc/pmap_prot.c: Likewise.
50132 * sunrpc/pmap_prot2.c: Likewise.
50133 * sunrpc/pmap_rmt.c: Likewise.
50134 * sunrpc/publickey.c: Likewise.
50135 * sunrpc/rpc_cmsg.c: Likewise.
50136 * sunrpc/rpc_common.c: Likewise.
50137 * sunrpc/rpc_dtable.c: Likewise.
50138 * sunrpc/rpc_prot.c: Likewise.
50139 * sunrpc/rpc_thread.c: Likewise.
50140 * sunrpc/rtime.c: Likewise.
50141 * sunrpc/svc.c: Likewise.
50142 * sunrpc/svc_auth.c: Likewise.
50143 * sunrpc/svc_authux.c: Likewise.
50144 * sunrpc/svc_raw.c: Likewise.
50145 * sunrpc/svc_run.c: Likewise.
50146 * sunrpc/svc_simple.c: Likewise.
50147 * sunrpc/svc_tcp.c: Likewise.
50148 * sunrpc/svc_udp.c: Likewise.
50149 * sunrpc/svc_unix.c: Likewise.
50150 * sunrpc/svcauth_des.c: Likewise.
50151 * sunrpc/xcrypt.c: Likewise.
50152 * sunrpc/xdr.c: Likewise.
50153 * sunrpc/xdr_array.c: Likewise.
50154 * sunrpc/xdr_float.c: Likewise.
50155 * sunrpc/xdr_intXX_t.c: Likewise.
50156 * sunrpc/xdr_mem.c: Likewise.
50157 * sunrpc/xdr_rec.c: Likewise.
50158 * sunrpc/xdr_ref.c: Likewise.
50159 * sunrpc/xdr_sizeof.c: Likewise.
50160 * sunrpc/xdr_stdio.c: Likewise.
50162 2011-04-10 Ulrich Drepper <drepper@gmail.com>
50165 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50166 * sysdeps/ia64/dl-tls.h: Likewise.
50167 * sysdeps/powerpc/dl-tls.h: Likewise.
50168 * sysdeps/s390/dl-tls.h: Likewise.
50169 * sysdeps/sh/dl-tls.h: Likewise.
50170 * sysdeps/sparc/dl-tls.h: Likewise.
50171 * sysdeps/x86_64/dl-tls.h: Likewise.
50172 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50174 2011-03-14 Andreas Schwab <schwab@redhat.com>
50176 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50177 rpath element also skip the following colon.
50178 (expand_dynamic_string_token): Add is_path parameter and pass
50179 down to DL_DST_REQUIRED and _dl_dst_substitute.
50180 (decompose_rpath): Call expand_dynamic_string_token with
50181 non-zero is_path. Ignore empty rpaths.
50182 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50185 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50190 2011-04-09 Ulrich Drepper <drepper@gmail.com>
50193 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50194 Patch by Filipe David Manana <fdmanana@apache.org>.
50196 2011-04-07 Andreas Schwab <schwab@redhat.com>
50198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50199 Maintain aligned stack.
50200 (CHECK_RSP): Remove unused macro.
50202 2011-04-03 Ulrich Drepper <drepper@gmail.com>
50204 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50205 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50207 2011-04-02 Ulrich Drepper <drepper@gmail.com>
50209 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50211 * include/features.h: Mention __USE_XOPEN2K8 in comment.
50213 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50216 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50217 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50218 * sysdeps/x86_64/memmove.c: New file.
50219 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50220 (memcpy): Renamed to ...
50221 (__new_memcpy): This.
50222 (memcpy): Provide GLIBC_2_14 memcpy.
50223 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50224 (memcpy): Provide GLIBC_2_2_5 memcpy.
50226 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50229 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50231 2011-03-30 Andreas Schwab <schwab@redhat.com>
50233 * misc/syncfs.c: New file.
50234 * misc/Makefile (routines): Add syncfs.
50235 * posix/unistd.h: Declare syncfs.
50236 * sysdeps/unix/syscalls.list: Add syncfs.
50238 2011-04-01 Andreas Schwab <schwab@redhat.com>
50240 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50247 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50250 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50260 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50261 sync_file_range.c with -fexceptions.
50262 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50263 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50264 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50265 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50266 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50267 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50269 sync_file_range as cancellation point
50270 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50271 now a wrapper around __call_sync_file_range with cancellation handling.
50272 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50273 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50274 function name to __call_sync_file_range.
50275 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50276 Add call_sync_file_range.
50278 2011-04-01 Andreas Schwab <schwab@redhat.com>
50280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50283 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50285 * iconv/iconv.h: Fix typo in comment.
50286 * io/fcntl.h: Likewise.
50287 * libio/stdio.h: Likewise.
50288 * posix/spawn.h: Likewise.
50289 * posix/unistd.h: Likewise.
50290 * stdlib/stdlib.h: Likewise.
50291 * time/time.h: Likewise.
50292 * wcsmbs/wchar.h: Likewise.
50294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50295 open_by_handle): Add.
50296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50297 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50298 Augment a few comments.
50299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50304 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50307 * io/fcntl.h (AT_EMPTY_PATH): Define.
50309 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50311 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50312 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50313 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50315 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50316 * Versions.def: Add GLIBC_2.14.
50317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50320 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50322 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50324 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50326 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50329 * string/test-strncmp.c (do_page_test): New function.
50330 (check2): Likewise.
50331 (test_main): Call check2.
50332 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50334 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50337 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50338 Handle cache information in CPU leaf 4.
50339 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50341 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50344 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50345 character representation.
50346 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50348 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50350 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50351 END(__isnan) to END(__isnanf) to match function entry point/label
50352 EALIGN(__isnanf,...).
50354 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50356 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50358 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50361 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50362 copy from the symbol referenced in the relocation to initialize the
50364 Patch by Piotr Bury <pbury@goahead.com>.
50365 * elf/Makefile: Add rules to build and tst-unique3.
50366 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50367 * elf/tst-unique3.cc: New file.
50368 * elf/tst-unique3.h: New file.
50369 * elf/tst-unique3lib.cc: New file.
50370 * elf/tst-unique3lib2.cc: New file.
50372 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50374 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50376 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50377 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50380 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50382 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50383 to-be-loaded object along a path to loader is ld.so.
50385 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50386 Ulrich Drepper <drepper@gmail.com>
50388 * sysdeps/x86_64/memset.S: After aligning destination, code
50389 branches to different locations depending on the value of
50390 misalignment, when multiarch is enabled. Fix this.
50392 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50394 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50395 Set _x86_64_preferred_memory_instruction for AMD processsors.
50396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50397 Set bit_Prefer_SSE_for_memop for AMD processors.
50399 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50401 * libio/fmemopen.c (fmemopen): Optimize a bit.
50403 2011-03-03 Andreas Schwab <schwab@redhat.com>
50405 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50407 2011-03-03 Roland McGrath <roland@redhat.com>
50409 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50411 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50413 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50414 __bzero_ultra1 instead of __memset_ultra1.
50416 2011-02-23 Andreas Schwab <schwab@redhat.com>
50417 Ulrich Drepper <drepper@gmail.com>
50420 * include/link.h (struct link_map): Add l_orig_initfini.
50421 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50422 returning unsuccessfully.
50423 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50424 close of a file loaded at startup, restore the original l_initfini
50426 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50427 list, store the pointer.
50428 * elf/Makefile ($(objpfx)noload-mem): New rule.
50429 (noload-ENV): Define.
50430 (tests): Add $(objpfx)noload-mem.
50431 * elf/noload.c: Include <memcheck.h>.
50432 (main): Call mtrace. Close all opened handles.
50434 2011-02-17 Andreas Schwab <schwab@redhat.com>
50437 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50438 dependencies are missing.
50440 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50442 Fix __if_freereq crash: Unlike the generic version which uses free,
50444 * sysdeps/mach/hurd/ifreq.h: New file.
50446 2011-01-27 Petr Baudis <pasky@suse.cz>
50447 Ulrich Drepper <drepper@gmail.com>
50450 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50451 to extend_alloca().
50452 * stdio-common/bug23.c: New file.
50453 * stdio-common/Makefile (tests): Add bug23.
50455 2010-09-28 Andreas Schwab <schwab@redhat.com>
50456 Ulrich Drepper <drepper@gmail.com>
50459 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50460 before performing relro protection. At old place add assertion
50461 to make sure nothing changed.
50463 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50464 Glauber de Oliveira Costa <glommer@gmail.com>
50466 * elf/elf.h: Add new ARM TLS relocs.
50468 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50471 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50473 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50475 * sysdeps/wordsize-64/tst-writev.c: New file.
50477 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50479 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50480 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50481 insns in _dl_start to prevent a TOC reference before relocs are
50484 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50487 * Makeconfig: Remove RANLIB definition.
50488 * Makerules: Don't use RANLIB.
50489 * aclocal.m4: Remove ranlib test.
50490 * configure.in: No need to check for ranlib.
50491 * elf/rtld-Rules: Don't use RANLIB.
50493 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50495 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50497 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50498 inclusion protection macro.
50500 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50501 SIGRTMIN and SIGRTMAX and print information in that case only when
50502 SIGRTMIN is defined.
50504 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50506 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50507 arginfo fn returning -1.
50509 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50510 and thousands string is zero terminated.
50512 2011-02-03 Andreas Schwab <schwab@redhat.com>
50514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50515 sysdeps/unix/sysv/linux/bits/socket.h.
50517 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50519 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50520 (__CPU_COUNT): Remove old macros.
50521 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50522 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50523 (__CPU_ALLOC, __CPU_FREE): Add macros.
50524 (__sched_cpualloc, __sched_cpufree): Add declarations.
50526 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50528 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50529 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50530 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50531 (readdhstai): Return value of addhstaiX call.
50532 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50533 (addgrbyX): Return value returned by cache_addgr.
50534 (readdgrbyname): Return value returned by addgrbyX.
50535 (readdgrbygid): Likewise.
50536 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50537 (addpwbyX): Return value returned by cache_addpw.
50538 (readdpwbyname): Return value returned by addhstbyX.
50539 (readdpwbyuid): Likewise.
50540 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50541 (addservbyX): Return value returned by cache_addserv.
50542 (readdservbyname): Return value returned by addservbyX:
50543 (readdservbyport): Likewise.
50544 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50545 (addhstbyX): Return value returned by cache_addhst.
50546 (readdhstbyname): Return value returned by addhstbyX.
50547 (readdhstbyaddr): Likewise.
50548 (readdhstbynamev6): Likewise.
50549 (readdhstbyaddrv6): Likewise.
50550 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50551 (readdinitgroups): Return value returned by addinitgroupsX.
50552 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50553 (prune_cache): Keep track of timeout value of re-added entries.
50554 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50555 * nscd/nscd.h: Adjust prototypes of readd* functions.
50557 2011-02-04 Roland McGrath <roland@redhat.com>
50559 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50560 (nis_stats): Likewise.
50561 * nis/nis_modify.c (nis_modify): Likewise.
50562 * nis/nis_remove.c (nis_remove): Likewise.
50563 * nis/nis_add.c (nis_add): Likewise.
50565 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50567 * posix/fnmatch_loop.c: Add some consts.
50569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50571 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50574 * config.make.in (config-cflags-novzeroupper): Define.
50575 * configure.in: Substitute libc_cv_cc_novzeroupper.
50576 * elf/Makefile (AVX-CFLAGS): Define.
50577 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50578 (CFLAGS-tst-auditmod4a.c): Likewise.
50579 (CFLAGS-tst-auditmod4b.c): Likewise.
50580 (CFLAGS-tst-auditmod6b.c): Likewise.
50581 (CFLAGS-tst-auditmod6c.c): Likewise.
50582 (CFLAGS-tst-auditmod7b.c): Likewise.
50583 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50585 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50587 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50588 function to the callback.
50589 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50591 2011-02-02 Andreas Schwab <schwab@redhat.com>
50593 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50596 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50599 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50601 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50603 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50606 * elf/Makefile: Add rules to build and run new test.
50607 * elf/tst-initorder.c: New file.
50608 * elf/tst-initorder.exp: New file.
50609 * elf/tst-initordera1.c: New file.
50610 * elf/tst-initordera2.c: New file.
50611 * elf/tst-initordera3.c: New file.
50612 * elf/tst-initordera4.c: New file.
50613 * elf/tst-initorderb1.c: New file.
50614 * elf/tst-initorderb2.c: New file.
50615 * elf/tst-order-a1.c: New file.
50616 * elf/tst-order-a2.c: New file.
50617 * elf/tst-order-a3.c: New file.
50618 * elf/tst-order-a4.c: New file.
50619 * elf/tst-order-b1.c: New file.
50620 * elf/tst-order-b2.c: New file.
50621 * elf/tst-order-main.c: New file.
50622 New test case by George Gensure <werkt0@gmail.com>.
50624 2010-10-01 Andreas Schwab <schwab@redhat.com>
50626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50627 decoding ACE if AI_CANONIDN.
50629 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50631 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50633 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50635 * version.h (RELEASE): Bump for 2.13 release.
50636 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50638 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50642 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50649 * posix/getconf.c: Update copyright year.
50650 * catgets/gencat.c: Likewise.
50651 * csu/version.c: Likewise.
50652 * debug/catchsegv.sh: Likewise.
50653 * debug/xtrace.sh: Likewise.
50654 * elf/ldconfig.c: Likewise.
50655 * elf/ldd.bash.in: Likewise.
50656 * elf/sprof.c (print_version): Likewise.
50657 * iconv/iconv_prog.c: Likewise.
50658 * iconv/iconvconfig.c: Likewise.
50659 * locale/programs/locale.c: Likewise.
50660 * locale/programs/localedef.c: Likewise.
50661 * malloc/memusage.sh: Likewise.
50662 * malloc/mtrace.pl: Likewise.
50663 * nscd/nscd.c (print_version): Likewise.
50664 * nss/getent.c: Likewise.
50666 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50667 PF_CAIF, and PF_ALG.
50668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50670 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50672 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50673 (modules-names): Use them.
50674 (ifunc-test-modules, ifunc-pie-tests): Define.
50675 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50676 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50677 (test-extras): Likewise.
50678 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50679 $(compile-command.c).
50680 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50681 (all-built-dso): Define.
50682 (check-textrel.out, check-execstack.out): Depend on it.
50684 * configure.in: Don't override --enable-multi-arch.
50686 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50689 * nscd/hstcache.c (tryagain): Define.
50690 (cache_addhst): Return tryagain not notfound for temporary errors.
50691 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50694 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50697 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50698 to make the syscall.
50699 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50702 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50703 and fall back to matching as normal character if the string ends before
50704 the matching ']' is found. This is what POSIX requires.
50705 * posix/testfnm.c: Adjust test result.
50706 * posix/globtest.sh: Adjust test result. Add new test.
50707 * posix/tst-fnmatch.input: Likewise.
50708 * posix/tst-fnmatch2.c: Add new test.
50710 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50712 * elf/Makefile (check-execstack): Revert last change. Depend on
50714 (check-execstack.h): New target.
50715 (generated): Add check-execstack.h.
50716 * elf/check-execstack.c: Include "check-execstack.h".
50717 (main): Revert last change.
50718 (handle_file): Return zero if GNU_STACK is absent and
50719 DEFAULT_STACK_PERMS doesn't include PF_X.
50721 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50723 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50724 in child fails because the descriptor is already closed.
50725 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50726 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50730 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50734 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50735 temporary buffer used to handle multi lookups locally.
50736 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50738 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50740 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50743 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50745 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50746 alignment for SSE2.
50748 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50751 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50752 characters. When rounding increased number of integer digits recompute
50754 * stdio-common/tst-grouping.c: New file.
50755 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50757 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50759 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50760 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50762 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50764 * bits/select.h: Likewise.
50766 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50768 * po/ja.po: Update from translation team.
50770 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50773 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50774 implementation just like for lxstat, fxstatat, et al.
50776 2010-12-27 Jim Meyering <meyering@redhat.com>
50779 * posix/regexec.c (build_trtable): Return failure indication upon
50780 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50782 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50785 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50786 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50791 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50794 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50795 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50797 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50799 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50800 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50801 script has SORT_BY_INIT_PRIORITY.
50802 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50803 NO_CTORS_DTORS_SECTIONS is defined.
50804 * elf/soinit.c: Likewise.
50805 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50806 NO_CTORS_DTORS_SECTIONS is defined.
50807 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50808 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50809 * sysdeps/sh/init-first.c: Likewise.
50810 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50812 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50814 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50815 always use the slow path.
50817 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50819 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50820 similar rule which adds the sysdep directories to the header search in
50821 order to pick up the correct platform stackinfo.h.
50822 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50823 perform test if it is, otherwise return successfully without testing.
50824 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50825 DEFAULT_STACK_PERMS define in stackinfo.h.
50826 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50827 defined in stackinfo.h.
50828 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50829 DEFAULT_STACK_PERMS defined in stackinfo.h.
50830 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50831 * sysdeps/ia64/stackinfo.h: Likewise.
50832 * sysdeps/s390/stackinfo.h: Likewise.
50833 * sysdeps/sh/stackinfo.h: Likewise.
50834 * sysdeps/sparc/stackinfo.h: Likewise.
50835 * sysdeps/x86_64/stackinfo.h: Likewise.
50836 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50837 PF_X for powerpc64. Retain PF_X for powerpc32.
50839 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50841 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50843 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50844 GETDENTS_64BIT_ALIGNED.
50846 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50848 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50850 2010-12-10 Andreas Schwab <schwab@redhat.com>
50852 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50856 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50858 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50859 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50861 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50864 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50867 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50869 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50871 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50873 * po/it.po: Update from translation team.
50875 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50880 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50882 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50884 2010-11-24 Andreas Schwab <schwab@redhat.com>
50886 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50888 (gaih_getanswer_slice): Likewise.
50890 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50894 2010-05-31 Petr Baudis <pasky@suse.cz>
50897 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50898 silently even in the chroot mode.
50900 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50903 last patch a bit. Pretty printing
50905 2010-05-31 Petr Baudis <pasky@suse.cz>
50908 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50909 initialization of skip_initgroups_dyn.
50911 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50913 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50914 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50916 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50918 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50920 2010-11-11 Andreas Schwab <schwab@redhat.com>
50922 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50923 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50924 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50925 ($(objpfx)tst-fnmatch-mem): New rule.
50926 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50927 * posix/tst-fnmatch.c (main): Call mtrace.
50929 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50932 Support Intel processor model 6 and model 0x2c.
50934 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50936 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50939 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50942 * string/test-strncasecmp.c (check_result): New function.
50943 (do_one_test): Use it.
50944 (check1): New function.
50945 (test_main): Use it.
50946 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50947 Support strcasecmp and strncasecmp.
50949 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50952 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50955 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50957 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50961 * sysdeps/x86_64/multiarch/bzero.S: New file.
50962 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50963 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50964 * sysdeps/x86_64/multiarch/memset.S: New file.
50965 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50967 Set bit_Prefer_SSE_for_memop for Intel processors.
50968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50970 (index_Prefer_SSE_for_memop): Define.
50971 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50973 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50976 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50978 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50981 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50982 (__x86_64_raw_data_cache_size_half): Likewise.
50983 (__x86_64_raw_shared_cache_size): Likewise.
50984 (__x86_64_raw_shared_cache_size_half): Likewise.
50986 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50987 (__x86_64_raw_data_cache_size_half): Likewise.
50988 (__x86_64_raw_shared_cache_size): Likewise.
50989 (__x86_64_raw_shared_cache_size_half): Likewise.
50990 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50991 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50992 and __x86_64_raw_shared_cache_size_half. Round
50993 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50994 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50995 to multiple of 256 bytes.
50997 2010-11-03 Ulrich Drepper <drepper@gmail.com>
51000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51001 of inacessible symlinks. Verify result of symlink before returning it.
51002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51003 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51005 2010-10-28 Erich Ritz <erichritz@gmail.com>
51007 * math/math.h (isinf): Fix typo in comment.
51009 2010-11-01 Ulrich Drepper <drepper@gmail.com>
51011 * po/da.po: Update from translation team.
51013 2010-10-26 Ulrich Drepper <drepper@gmail.com>
51015 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51016 is added to the list.
51018 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51019 Ulrich Drepper <drepper@gmail.com>
51021 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51022 the global list here. Move code to...
51023 (_dl_add_to_namespace_list): ...here. New function.
51024 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51025 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51026 * elf/dl-load.c (lose): Don't remove the element from the list.
51027 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51028 (_dl_map_object): Likewise.
51030 2010-10-25 Ulrich Drepper <drepper@gmail.com>
51033 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51034 into all bytes of SSE register.
51035 Patch by Richard Li <richardpku@gmail.com>.
51037 2010-10-24 Ulrich Drepper <drepper@gmail.com>
51040 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51043 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51045 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51046 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51047 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51048 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51053 2010-10-22 Andreas Schwab <schwab@redhat.com>
51055 * include/dlfcn.h (__RTLD_SECURE): Define.
51056 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51057 mode & __RTLD_SECURE instead.
51058 (open_path): Rename preloaded parameter to secure.
51059 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51060 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51061 * elf/dl-deps.c (openaux): Likewise.
51062 * elf/rtld.c (struct map_args): Remove is_preloaded.
51063 (map_doit): Don't use it.
51064 (dl_main): Likewise.
51065 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51066 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51068 2010-09-09 Andreas Schwab <schwab@redhat.com>
51070 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51071 (sysd-rules-targets): Remove duplicates.
51072 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51073 rtld-%.$o dependency.
51075 2010-10-18 Andreas Schwab <schwab@redhat.com>
51077 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51078 _dl_map_object do it.
51080 2010-10-19 Ulrich Drepper <drepper@gmail.com>
51082 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51083 fast fma builtins, define the macros in the C99 standard.
51084 (FP_FAST_FMAF): Likewise.
51085 (FP_FAST_FMAL): Likewise.
51086 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51088 * bits/mathdef.h: Update copyright year.
51089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51091 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51093 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51094 builtins, define the macros in the C99 standard.
51095 (FP_FAST_FMAF): Likewise.
51096 (FP_FAST_FMAL): Likewise.
51097 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51099 (FP_FAST_FMAF): Likewise.
51101 2010-10-15 Jakub Jelinek <jakub@redhat.com>
51104 * math/libm-test.inc (fma_test): Some new testcases.
51105 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51106 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51107 y and infinite z. Do multiplication by C already in long double.
51108 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51110 y and infinite z. Do bitwise or of inexact bit into u.d.
51111 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51112 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51113 * sysdeps/i386/fpu/s_fma.S: Removed.
51114 * sysdeps/i386/fpu/s_fmal.S: Removed.
51116 2010-10-16 Jakub Jelinek <jakub@redhat.com>
51119 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51121 computation is not scheduled after fetestexcept. Fix value
51122 of minimum denormal long double.
51124 2010-10-14 Jakub Jelinek <jakub@redhat.com>
51127 * math/libm-test.inc (fma_test): Add some more tests.
51128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51131 2010-10-15 Andreas Schwab <schwab@redhat.com>
51133 * scripts/data/localplt-s390-linux-gnu.data: New file.
51134 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51136 2010-10-13 Jakub Jelinek <jakub@redhat.com>
51139 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51140 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51142 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51144 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51146 if one of x and y is very large and the other is subnormal.
51147 * sysdeps/s390/fpu/s_fmaf.c: New file.
51148 * sysdeps/s390/fpu/s_fma.c: New file.
51149 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51150 * sysdeps/powerpc/fpu/s_fma.S: New file.
51151 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51152 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51153 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51155 2010-10-12 Jakub Jelinek <jakub@redhat.com>
51158 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51161 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51162 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51163 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51164 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51165 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51166 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51168 2010-10-12 Ulrich Drepper <drepper@redhat.com>
51171 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51172 * posix/bug-regex31.input: Add test case.
51174 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51176 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51177 * posix/bug-regex31.input: New file.
51180 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51181 (parse_sub_exp): Fix last change, use postorder.
51183 * posix/bug-regex31.c: New file.
51184 * posix/Makefile: Add rules to build and run bug-regex31.
51186 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51189 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51192 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51193 to have entries in sys_siglist.
51196 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51199 2010-10-07 Jakub Jelinek <jakub@redhat.com>
51202 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51203 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51204 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51205 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51206 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51207 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51208 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51209 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51210 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51211 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51212 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51213 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51214 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51215 * math/ftestexcept.c (fetestexcept): Likewise.
51216 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51217 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51218 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51219 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51220 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51221 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51224 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51227 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51230 2010-10-06 Ulrich Drepper <drepper@gmail.com>
51232 * string/bug-strstr1.c: New file.
51233 * string/Makefile: Add rules to build and run bug-strstr1.
51235 2010-10-05 Eric Blake <eblake@redhat.com>
51238 * string/str-two-way.h (two_way_long_needle): Always clear memory
51239 when skipping input due to the shift table.
51241 2010-10-03 Ulrich Drepper <drepper@gmail.com>
51244 * malloc/mcheck.c: Handle large requests.
51247 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51248 for strncmp and strncasecmp.
51249 * string/stratcliff.c: Add tests for strcmp and strncmp.
51250 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51252 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51254 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51257 2010-09-30 Andreas Jaeger <aj@suse.de>
51259 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51260 (CGROUP_SUPER_MAGIC): Define.
51261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51262 Handle btrfs and cgroup file systems.
51263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51266 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
51268 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51269 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51271 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51274 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51275 trying to locate the ELF header.
51277 2010-09-27 Andreas Schwab <schwab@redhat.com>
51280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51281 Mask out sign-bit copies when constructing f_fsid.
51283 2010-09-24 Petr Baudis <pasky@suse.cz>
51285 * debug/stack_chk_fail_local.c: Add missing licence exception.
51286 * debug/warning-nop.c: Likewise.
51288 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51290 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51291 implementing getdents64 using getdents syscall, set d_type if
51292 __ASSUME_GETDENTS32_D_TYPE.
51294 2010-09-16 Andreas Schwab <schwab@redhat.com>
51296 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51297 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51299 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51302 * posix/unistd.h: Undo change of feature selection for ftruncate from
51305 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51307 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51310 2010-09-20 Andreas Schwab <schwab@redhat.com>
51312 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51316 2010-09-14 Andreas Schwab <schwab@redhat.com>
51318 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51319 variables after CHECK_SP call.
51320 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51322 2010-09-13 Andreas Schwab <schwab@redhat.com>
51323 Ulrich Drepper <drepper@redhat.com>
51325 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51326 re-relocationg ld.so.
51327 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51328 _dl_init_paths call.
51329 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51332 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51334 * resolv/res_init.c (__res_vinit): Count the default server we added.
51336 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51337 Ulrich Drepper <drepper@redhat.com>
51340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51341 (____longjmp_chk): Use %ebx for saving value across system call.
51344 2010-09-06 Andreas Schwab <schwab@redhat.com>
51346 * manual/Makefile: Don't mix pattern rules with normal rules.
51348 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51350 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51352 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51353 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51354 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51355 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51359 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51362 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51363 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51365 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51367 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51368 * sysdeps/x86_64/addmul_1.S: Likewise.
51369 * sysdeps/x86_64/lshift.S: Likewise.
51370 * sysdeps/x86_64/mul_1.S: Likewise.
51371 * sysdeps/x86_64/rshift.S: Likewise.
51372 * sysdeps/x86_64/sub_n.S: Likewise.
51373 * sysdeps/x86_64/submul_1.S: Likewise.
51375 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51377 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51378 Define __sched_param instead of SCHED_* and sched_param when
51379 <bits/sched.h> is included with __need_schedparam defined.
51380 * bits/sched.h [__need_schedparam]
51381 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51382 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51383 (__defined_schedparam): Define to 1.
51384 (__sched_param): New structure, identical to sched_param.
51385 (__need_schedparam): Undefine.
51387 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51389 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51390 (epoll_create1): Declare.
51392 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51394 2010-08-31 Andreas Schwab <schwab@redhat.com>
51397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51398 shifting retval into place.
51400 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51402 * nis/rpcsvc/nis.h: Update copyright notice.
51403 * nis/rpcsvc/nis.x: Likewise.
51404 * nis/rpcsvc/nis_callback.h: Likewise.
51405 * nis/rpcsvc/nis_callback.x: Likewise.
51406 * nis/rpcsvc/nis_object.x: Likewise.
51407 * nis/rpcsvc/nis_tags.h: Likewise.
51408 * nis/rpcsvc/yp.h: Likewise.
51409 * nis/rpcsvc/yp.x: Likewise.
51410 * nis/rpcsvc/ypupd.h: Likewise.
51411 * nis/yp_xdr.c: Likewise.
51412 * nis/ypupdate_xdr.c: Likewise.
51414 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51415 mainly the body of pmap_getport. Add parameters to specify timeouts.
51416 (pmap_getport): Use __libc_rpc_getport.
51417 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51418 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51419 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51421 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51426 2010-08-27 Roland McGrath <roland@redhat.com>
51428 * sysdeps/i386/i686/multiarch/Makefile
51429 (CFLAGS-varshift.c): New variable.
51431 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51433 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51434 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51438 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51440 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51442 * sysdeps/x86_64/strlen.S: Unroll the loop.
51443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51444 strlen-sse2 strlen-sse2-bsf.
51445 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51446 __strlen_no_bsf if bit_Slow_BSF is set.
51447 (__strlen_sse42): Removed.
51448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51449 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51451 2010-08-25 Roland McGrath <roland@redhat.com>
51453 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51454 * sysdeps/x86_64/multiarch/varshift.c: New file.
51455 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51456 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51457 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51458 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51460 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51463 strlen-sse2 strlen-sse2-bsf.
51464 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51465 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51466 (__strlen_sse2): Removed.
51467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51470 bit_Slow_BSF for Atom.
51471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51472 (index_Slow_BSF): Define.
51473 (HAS_SLOW_BSF): Define.
51475 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51478 * resolv/res_init.c (__res_vinit): When no server address at all
51479 is given default to loopback.
51481 2010-08-24 Roland McGrath <roland@redhat.com>
51483 * configure.in: Remove config-name.h generation.
51484 * configure: Regenerated.
51485 * config-name.in: File removed.
51486 * scripts/config-uname.sh: New file.
51487 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51488 ($(objdir)config-name.h): New target.
51490 * sunrpc/rpc_parse.h: Avoid nested comment.
51492 2010-08-24 Richard Henderson <rth@redhat.com>
51493 Ulrich Drepper <drepper@redhat.com>
51494 H.J. Lu <hongjiu.lu@intel.com>
51496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51498 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51499 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51500 _mm_alignr_epi8 with _mm_loadu_si128.
51501 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51502 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51503 (__m128i_shift_right): Removed.
51504 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51505 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51506 * sysdeps/x86_64/multiarch/varshift.h: New file.
51507 * sysdeps/x86_64/multiarch/varshift.S: New file.
51509 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51511 * configure.in: Move assembler checks to before sysdep dir checking.
51513 2010-08-20 Petr Baudis <pasky@suse.cz>
51515 * LICENSES: Sync the sunrpc license.
51517 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51519 * sunrpc/auth_des.c: Update copyright notice once again.
51520 * sunrpc/auth_none.c: Likewise.
51521 * sunrpc/auth_unix.c: Likewise.
51522 * sunrpc/authdes_prot.c: Likewise.
51523 * sunrpc/authuxprot.c: Likewise.
51524 * sunrpc/bindrsvprt.c: Likewise.
51525 * sunrpc/clnt_gen.c: Likewise.
51526 * sunrpc/clnt_perr.c: Likewise.
51527 * sunrpc/clnt_raw.c: Likewise.
51528 * sunrpc/clnt_simp.c: Likewise.
51529 * sunrpc/clnt_tcp.c: Likewise.
51530 * sunrpc/clnt_udp.c: Likewise.
51531 * sunrpc/clnt_unix.c: Likewise.
51532 * sunrpc/des_crypt.c: Likewise.
51533 * sunrpc/des_soft.c: Likewise.
51534 * sunrpc/get_myaddr.c: Likewise.
51535 * sunrpc/getrpcport.c: Likewise.
51536 * sunrpc/key_call.c: Likewise.
51537 * sunrpc/key_prot.c: Likewise.
51538 * sunrpc/openchild.c: Likewise.
51539 * sunrpc/pm_getmaps.c: Likewise.
51540 * sunrpc/pm_getport.c: Likewise.
51541 * sunrpc/pmap_clnt.c: Likewise.
51542 * sunrpc/pmap_prot.c: Likewise.
51543 * sunrpc/pmap_prot2.c: Likewise.
51544 * sunrpc/pmap_rmt.c: Likewise.
51545 * sunrpc/rpc/auth.h: Likewise.
51546 * sunrpc/rpc/auth_unix.h: Likewise.
51547 * sunrpc/rpc/clnt.h: Likewise.
51548 * sunrpc/rpc/des_crypt.h: Likewise.
51549 * sunrpc/rpc/key_prot.h: Likewise.
51550 * sunrpc/rpc/netdb.h: Likewise.
51551 * sunrpc/rpc/pmap_clnt.h: Likewise.
51552 * sunrpc/rpc/pmap_prot.h: Likewise.
51553 * sunrpc/rpc/pmap_rmt.h: Likewise.
51554 * sunrpc/rpc/rpc.h: Likewise.
51555 * sunrpc/rpc/rpc_des.h: Likewise.
51556 * sunrpc/rpc/rpc_msg.h: Likewise.
51557 * sunrpc/rpc/svc.h: Likewise.
51558 * sunrpc/rpc/svc_auth.h: Likewise.
51559 * sunrpc/rpc/types.h: Likewise.
51560 * sunrpc/rpc/xdr.h: Likewise.
51561 * sunrpc/rpc_clntout.c: Likewise.
51562 * sunrpc/rpc_cmsg.c: Likewise.
51563 * sunrpc/rpc_common.c: Likewise.
51564 * sunrpc/rpc_cout.c: Likewise.
51565 * sunrpc/rpc_dtable.c: Likewise.
51566 * sunrpc/rpc_hout.c: Likewise.
51567 * sunrpc/rpc_main.c: Likewise.
51568 * sunrpc/rpc_parse.c: Likewise.
51569 * sunrpc/rpc_parse.h: Likewise.
51570 * sunrpc/rpc_prot.c: Likewise.
51571 * sunrpc/rpc_sample.c: Likewise.
51572 * sunrpc/rpc_scan.c: Likewise.
51573 * sunrpc/rpc_scan.h: Likewise.
51574 * sunrpc/rpc_svcout.c: Likewise.
51575 * sunrpc/rpc_tblout.c: Likewise.
51576 * sunrpc/rpc_util.c: Likewise.
51577 * sunrpc/rpc_util.h: Likewise.
51578 * sunrpc/rpcinfo.c: Likewise.
51579 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51580 * sunrpc/rpcsvc/key_prot.x: Likewise.
51581 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51582 * sunrpc/rpcsvc/mount.x: Likewise.
51583 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51584 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51585 * sunrpc/rpcsvc/rex.x: Likewise.
51586 * sunrpc/rpcsvc/rstat.x: Likewise.
51587 * sunrpc/rpcsvc/rusers.x: Likewise.
51588 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51589 * sunrpc/rpcsvc/spray.x: Likewise.
51590 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51591 * sunrpc/rtime.c: Likewise.
51592 * sunrpc/svc.c: Likewise.
51593 * sunrpc/svc_auth.c: Likewise.
51594 * sunrpc/svc_authux.c: Likewise.
51595 * sunrpc/svc_raw.c: Likewise.
51596 * sunrpc/svc_run.c: Likewise.
51597 * sunrpc/svc_simple.c: Likewise.
51598 * sunrpc/svc_tcp.c: Likewise.
51599 * sunrpc/svc_udp.c: Likewise.
51600 * sunrpc/svc_unix.c: Likewise.
51601 * sunrpc/svcauth_des.c: Likewise.
51602 * sunrpc/xcrypt.c: Likewise.
51603 * sunrpc/xdr.c: Likewise.
51604 * sunrpc/xdr_array.c: Likewise.
51605 * sunrpc/xdr_float.c: Likewise.
51606 * sunrpc/xdr_mem.c: Likewise.
51607 * sunrpc/xdr_rec.c: Likewise.
51608 * sunrpc/xdr_ref.c: Likewise.
51609 * sunrpc/xdr_sizeof.c: Likewise.
51610 * sunrpc/xdr_stdio.c: Likewise.
51612 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51615 2010-08-19 Andreas Schwab <schwab@redhat.com>
51617 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51619 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51621 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51622 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51624 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51626 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51627 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51628 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51630 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51631 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51632 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51633 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51636 2010-07-26 Anton Blanchard <anton@samba.org>
51638 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51639 * malloc/arena.c (heap_trim): Likewise.
51641 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51643 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51646 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51648 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51650 * sysdeps/i386/elf/Makefile: New file.
51652 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51654 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51655 from fanotify_init.
51656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51659 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51661 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51663 * sysdeps/multiarch/strcmp.S: Likewise.
51665 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51668 strncase_l-nonascii.
51669 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51670 Add strncase_l-ssse3.
51671 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51672 * sysdeps/x86_64/strcmp.S: Likewise.
51673 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51674 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51675 * sysdeps/x86_64/strncase.S: New file.
51676 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51677 * sysdeps/x86_64/strncase_l.S: New file.
51678 * string/Makefile (strop-tests): Add strncasecmp.
51679 * string/test-strncasecmp.c: New file.
51681 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51684 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51687 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51689 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51691 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51693 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51695 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51697 2010-05-01 Alan Modra <amodra@gmail.com>
51699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51700 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51701 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51702 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51703 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51704 tidying. Don't tail-call __sigjmp_save for static lib.
51705 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51707 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51708 (CALL_MCOUNT): Add eh info, and nop after bl.
51709 (TAIL_CALL_SYSCALL_ERROR): New macro.
51710 (PSEUDO_RET): Use it.
51711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51712 Correct save location of integer regs and cr.
51713 (_dl_profile_resolve): Correct cr save location. Delete nops
51714 after bl when SHARED. Reduce cfi size a little by better
51715 placement of cfi directives.
51716 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51717 make a stack frame. Instead use parm save area as a temp.
51718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51719 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51721 Don't make a stack frame for parent, use parm save area.
51722 Increase child stack frame to 112 bytes. Don't save unused reg,
51723 and adjust reg usage. Set up cfi on error recovery and
51724 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51726 (__makecontext): Add dummy nop after jump to exit.
51727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51728 Use correct parm save area and cr save, reduce stack frame.
51729 Correct cfi for possible PSEUDO_RET frame setup.
51730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51731 Branch to local label emitted by PSEUDO_RET rather than
51734 2010-08-12 Andreas Schwab <schwab@redhat.com>
51737 * locale/programs/locale.c (print_assignment): New function.
51738 (show_locale_vars): Use it.
51740 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51742 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51744 (struct statfs64): Likewise.
51745 (_STATFS_F_FLAGS): Define.
51746 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51748 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51749 (ST_VALID): Define locally.
51750 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51751 __statvfs_getflags, use the provided value.
51752 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51753 __ASSUME_STATFS_F_FLAGS.
51755 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51758 Add sys/fanotify.h.
51759 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51760 fanotify_mask for GLIBC_2.13.
51761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51762 fanotify_init and fanotify_mark.
51763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51764 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51766 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51768 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51769 prlimit64 for GLIBC_2.13.
51770 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51775 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51776 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51777 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51780 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51783 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51784 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51786 * nss/Makefile: Add rules to build and run tst-nss-test1.
51787 * shlib-versions: Add entry for libnss_test1.
51788 * nss/nss_test1.c: New file.
51789 * nss/tst-nss-test1.c: New file.
51791 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51792 (__nss_configure_lookup): Set appropriate entry in
51793 __nss_configure_lookup to true.
51794 * nss/nsswitch.h: Define enum with indeces of databases in
51795 databases and __nss_database_custom arrays. Declare
51796 __nss_database_custom.
51797 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51798 to avoid using nscd when custom rules are installed.
51799 * nss/getXXbyYY_r.c: Likewise.
51800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51802 * nss/nss_files/files-parse.c: Whitespace fixes.
51804 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51807 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51808 * posix/fnmatch_loop.c: Likewise.
51810 2010-07-17 Andi Kleen <ak@linux.intel.com>
51812 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51813 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51814 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51815 * Versions.def [GLIBC_2.13]: Add.
51817 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51820 Also fail if tpwd after pwuid call is NULL.
51822 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51824 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51825 when converting to ms.
51827 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51829 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51830 EOPNOTSUPP errors with ENOTTY.
51831 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51832 EOPNOTSUPP errors with ENOTTY.
51834 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51836 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51837 Add strcasecmp_l-ssse3.
51838 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51840 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51841 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51844 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51846 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51848 * string/Makefile (strop-tests): Add strcasecmp.
51849 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51850 strcasecmp_l-nonascii.
51851 (gen-as-const-headers): Add locale-defines.sym.
51852 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51853 * sysdeps/x86_64/strcasecmp.S: New file.
51854 * sysdeps/x86_64/strcasecmp_l.S: New file.
51855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51856 * sysdeps/x86_64/locale-defines.sym: New file.
51857 * string/test-strcasecmp.c: New file.
51859 * string/test-strcasestr.c: Test both ends of the range of characters.
51860 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51862 2010-07-29 Roland McGrath <roland@redhat.com>
51865 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51867 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51869 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51872 2010-07-27 Andreas Schwab <schwab@redhat.com>
51874 * manual/memory.texi (Malloc Tunable Parameters): Document
51877 2010-07-26 Roland McGrath <roland@redhat.com>
51880 * configure.in (-fgnu89-inline check): Set and substitute
51881 gnu89_inline, not libc_cv_gnu89_inline.
51882 * configure: Regenerated.
51883 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51885 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51887 * string/test-strnlen.c: New file.
51888 * string/Makefile (strop-tests): Add strnlen.
51889 * string/tester.c (test_strnlen): Add a few more test cases.
51890 * string/tst-strlen.c: Better error reporting.
51892 * sysdeps/x86_64/strnlen.S: New file.
51894 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51896 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51897 lower-latency instructions.
51899 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51901 * string/test-strcasestr.c: New file.
51902 * string/test-strstr.c: New file.
51903 * string/Makefile (strop-tests): Add strstr and strcasestr.
51904 * string/str-two-way.h: Don't undefine MAX.
51905 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51907 2010-07-21 Andreas Schwab <schwab@redhat.com>
51909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51910 strcasestr-nonascii.
51911 (CFLAGS-strcasestr-nonascii.c): Define.
51912 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51914 Remove unused attribute.
51916 2010-07-20 Roland McGrath <roland@redhat.com>
51918 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51919 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51920 ld.so.cache was broken. With it, there is no way to disable dsocaps
51921 like LD_HWCAP_MASK can disable hwcaps.
51923 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51925 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51927 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51929 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51930 call in strcasestr.
51931 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51932 __strcasestr_sse42_nonascii.
51933 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51934 strcasestr-nonascii.c.
51935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51937 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51939 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51940 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51942 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51944 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51949 2010-07-06 Andreas Schwab <schwab@redhat.com>
51952 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51955 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51958 _PC_PIPE_BUF using F_GETPIPE_SZ.
51960 2010-07-05 Roland McGrath <roland@redhat.com>
51962 * manual/arith.texi (Rounding Functions): Fix rint description
51963 implicit in round description.
51965 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51967 * elf/Makefile: Fix linking for a few tests to make recent linker
51970 2010-06-30 Andreas Schwab <schwab@redhat.com>
51972 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51973 $(common-objpfx)libc_nonshared.a.
51975 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51977 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51978 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51979 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51980 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51981 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51983 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51984 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51999 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52000 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52001 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52002 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52003 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52004 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52005 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52006 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52007 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52008 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52009 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52010 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52026 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52028 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52029 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52030 * string/memmove.c (memmove): Renamed to ...
52031 (MEMMOVE): ...this. Default to memmove.
52032 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52033 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52036 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52037 mempcpy-ssse3-back memmove-ssse3-back.
52038 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52041 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52042 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52043 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52044 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52045 * sysdeps/x86_64/multiarch/memmove.c: New file.
52046 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52047 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52048 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52049 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52053 (index_Fast_Copy_Backward): Define.
52054 (HAS_ARCH_FEATURE): Define.
52055 (HAS_FAST_REP_STRING): Define.
52056 (HAS_FAST_COPY_BACKWARD): Define.
52058 2010-06-21 Andreas Schwab <schwab@redhat.com>
52060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52061 Restore proper fallback handling.
52063 2010-06-19 Ulrich Drepper <drepper@redhat.com>
52066 * posix/group_member.c (__group_member): Correct checking loop.
52068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52069 OOM in getpwuid_r correctly. Return error number when the caller
52070 should return, otherwise -1.
52071 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52072 call returning > 0 value.
52073 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52075 2010-06-07 Andreas Schwab <schwab@redhat.com>
52077 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52078 libc_nonshared.a from targets in modules-names.
52080 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52082 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52085 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
52087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52088 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52092 2010-06-02 Andreas Schwab <schwab@redhat.com>
52094 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52096 2010-06-14 Ulrich Drepper <drepper@redhat.com>
52098 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52107 2010-06-14 Roland McGrath <roland@redhat.com>
52109 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52111 2010-06-07 Jakub Jelinek <jakub@redhat.com>
52113 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52114 __REDIRECT followed by __THROW.
52115 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52116 * posix/getopt.h (getopt): Likewise.
52118 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52120 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52121 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52122 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52124 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52125 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52127 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
52129 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52131 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52135 Properly check family and model.
52137 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52141 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
52143 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52145 2010-05-21 Ulrich Drepper <drepper@redhat.com>
52147 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52150 2010-05-19 Andreas Schwab <schwab@redhat.com>
52152 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52155 2010-05-21 Andreas Schwab <schwab@redhat.com>
52157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52158 and internal_recvmmsg.
52159 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52160 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52162 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52164 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52165 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52166 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52168 2010-05-20 Andreas Schwab <schwab@redhat.com>
52170 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52172 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
52174 POWER7 optimizations.
52175 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52176 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52178 2010-05-19 Ulrich Drepper <drepper@redhat.com>
52180 * version.h: Update for 2.13 development version.
52182 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
52184 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52185 exceptions. Return 0.
52187 2010-05-07 Roland McGrath <roland@redhat.com>
52189 * elf/ldconfig.c (main): Add a const.
52191 2010-05-06 Ulrich Drepper <drepper@redhat.com>
52193 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52194 (args_options): Add no-idn option.
52195 (ahosts_keys_int): Add idn_flags to ai_flags.
52196 (parse_option): Handle 'i' option to clear idn_flags.
52198 * malloc/malloc.c (_int_free): Possible race in the most recently
52199 added check. Only act on the data if no current modification
52202 See ChangeLog.17 for earlier changes.